/* === SELECTOR D'IDIOMES POLYLANG === */

.lang-switcher {

  position: relative;

  list-style: none;

}

.lang-switcher__toggle {

  display: flex;

  align-items: center;

  gap: 0.35rem;

  padding: 0.45rem 0.75rem;

  background-color: rgba(28, 56, 24, 0.06);

  border: 1px solid rgba(28, 56, 24, 0.1);

  border-radius: 50px;

  cursor: pointer;

  font-size: 0.85rem;

  font-weight: 600;

  color: #1c3818;

  transition: all 200ms ease;

  white-space: nowrap;

}

.lang-switcher__toggle:hover {

  background-color: rgba(28, 56, 24, 0.1);

  border-color: rgba(28, 56, 24, 0.2);

}

.lang-switcher__icon { color: #a37b4c; flex-shrink: 0; }

.lang-switcher__chevron { transition: transform 200ms ease; opacity: 0.6; }

.lang-switcher.is-open .lang-switcher__chevron { transform: rotate(180deg); }

.lang-switcher__dropdown {

  position: absolute;

  top: calc(100% + 0.5rem);

  right: 0;

  min-width: 200px;

  list-style: none;

  background-color: rgba(255,255,255,0.95);

  backdrop-filter: blur(20px);

  border: 1px solid rgba(28,56,24,0.08);

  border-radius: 12px;

  box-shadow: 0 12px 40px rgba(0,0,0,0.1);

  padding: 0.5rem;

  opacity: 0;

  visibility: hidden;

  transform: translateY(-8px) scale(0.97);

  transition: all 250ms cubic-bezier(0.16,1,0.3,1);

  z-index: 9999;

}

.lang-switcher.is-open .lang-switcher__dropdown {

  opacity: 1;

  visibility: visible;

  transform: translateY(0) scale(1);

}

.lang-switcher__option {

  display: flex;

  align-items: center;

  gap: 0.65rem;

  padding: 0.65rem 0.85rem;

  border-radius: 8px;

  font-size: 0.9rem;

  color: #2d2d2d;

  font-weight: 500;

  text-decoration: none;

  transition: all 200ms ease;

}

.lang-switcher__option:hover { background-color: rgba(28,56,24,0.06); color: #1c3818; }

.lang-switcher__option--active { background-color: rgba(28,56,24,0.08); color: #1c3818; font-weight: 600; }

.lang-switcher__flag { font-size: 1.15rem; flex-shrink: 0; }

.lang-switcher__name { flex-grow: 1; }

.lang-switcher__code { font-size: 0.75rem; font-weight: 700; opacity: 0.5; }

.entry-content .wp-block-html,

.entry-content figure {

  margin: 0 !important;

  padding: 0 !important;

  max-width: 100% !important;

}

.ast-container,

.site-content,

.content-area,

.ast-article-single {

  padding: 0 !important;

  margin: 0 !important;

  max-width: 100% !important;

}

