/*
 * Base styles for the theme's own components: icons and widgets.
 * Loaded before style.css, so the main stylesheet can still override anything here.
 */

/* Icons (inline SVG from assets/icons) */
.ryanne-icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  flex-shrink: 0; }

/* The product search form is wrapped in <search>; older browsers do not know it. */
search {
  display: block; }

/* Call to action widget: optional image between the text and the buttons */
.ryanne-cta-image {
  margin: 1.5em 0; }

.ryanne-cta-image img {
  display: inline-block;
  max-width: min(100%, 420px);
  height: auto; }

/* Social links widget */
.widget .social-networks {
  list-style: none;
  margin: 0;
  padding: 0; }

.widget .social-networks li {
  display: inline-block;
  vertical-align: middle;
  padding: 0;
  border-bottom: none;
  margin-bottom: 5px;
  line-height: 1; }

.widget .social-networks li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px; }

.widget .social-networks .ryanne-social-icon-link {
  display: inline-flex;
  font-size: 1.25em; }

/* Client logos widget */
.widget_ryanne_client_logos .image-holder.is-grayscale {
  filter: grayscale(1); }

/* FAQ widget (accordion) */
ul.accordion {
  list-style: none;
  margin: 0;
  padding: 0; }

ul.accordion li {
  margin: 0.5em 0; }

ul.accordion .inner {
  display: none;
  word-break: break-word; }

ul.accordion li.show .inner {
  display: block; }

ul.accordion .toggle,
ul.accordion .expand-faq {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer; }

ul.accordion .toggle {
  display: block;
  position: relative;
  width: 100%;
  word-break: break-word;
  padding-right: 20px; }

ul.accordion .toggle::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 0;
  width: 15px;
  height: 20px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334449' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6 -6'/%3E%3C/svg%3E");
  transition: transform 0.35s ease; }

ul.accordion li.show .toggle::after {
  transform: rotate(180deg); }
