/* swnv-frontend */
/* 
 * Smart Widgets NV - Frontend Styles
 * Base styles for unified widget suite
 */

:root {
    --swnv-primary: #002B5B;
    --swnv-accent: #2EB086;
    --swnv-bg-light: #F9F9F9;
    --swnv-text-dark: #1A1A1A;
    --swnv-error: #E74C3C;
    --swnv-shadow: 0 4px 6px rgba(0,0,0,0.1);
    --swnv-radius: 12px;
    --swnv-transition: all 0.3s ease;
}

.swnv-widget-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: var(--swnv-text-dark);
    line-height: 1.6;
    box-sizing: border-box;
    width: 100%;
}

.swnv-widget-container * {
    box-sizing: border-box;
}

.swnv-widget-card {
    background: #fff;
    border-radius: var(--swnv-radius);
    padding: 20px;
    box-shadow: var(--swnv-shadow);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--swnv-transition);
}

.swnv-widget-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.12);
}

.swnv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--swnv-transition);
    cursor: pointer;
    border: none;
}

.swnv-btn-primary {
    background-color: var(--swnv-primary);
    color: #fff;
}

.swnv-btn-primary:hover {
    filter: brightness(1.2);
}

.swnv-btn-accent {
    background-color: var(--swnv-accent);
    color: #fff;
}

/* Placeholder para estados de carga */
.swnv-loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: swnv-skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes swnv-skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Lazy load de widgets */
.swnv-widget-lazy {
    min-height: 80px;
    position: relative;
}

.swnv-lazy-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 28px 20px;
    background: var(--swnv-bg-light, #f8f9fa);
    border: 1px dashed rgba(0, 43, 91, 0.15);
    border-radius: var(--swnv-radius, 12px);
    color: #64748b;
    min-height: 80px;
}

.swnv-lazy-icon.dashicons {
    font-size: 22px;
    width: 22px;
    height: 22px;
    color: var(--swnv-primary, #002b5b);
}

.swnv-lazy-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #e2e8f0;
    border-top-color: var(--swnv-accent, #2eb086);
    border-radius: 50%;
    animation: swnv-spin 0.8s linear infinite;
}

@keyframes swnv-spin {
    to { transform: rotate(360deg); }
}

body.swnv-dark-mode .swnv-lazy-placeholder {
    background: #2d2d2d;
    color: #aaa;
    border-color: rgba(255, 255, 255, 0.12);
}

/* Estilos visuales predefinidos */
.swnv-widget-styled.swnv-style-minimalist,
.swnv-style-minimalist.swnv-contact-form-container,
.swnv-style-minimalist.swnv-faq-container,
.swnv-style-minimalist.swnv-pricing-table,
.swnv-style-minimalist.swnv-testimonials {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.swnv-widget-styled.swnv-style-dark,
.swnv-style-dark.swnv-contact-form-container,
.swnv-style-dark.swnv-faq-container,
.swnv-style-dark.swnv-pricing-table,
.swnv-style-dark.swnv-testimonials,
.swnv-style-dark.swnv-team-showcase {
    background: #1a1a1a !important;
    color: #e8e8e8 !important;
    border-color: #333 !important;
}

.swnv-widget-styled.swnv-style-modern,
.swnv-style-modern.swnv-contact-form-container,
.swnv-style-modern.swnv-faq-container,
.swnv-style-modern.swnv-pricing-table,
.swnv-style-modern.swnv-testimonials {
    border-radius: 16px !important;
    box-shadow: 0 12px 40px rgba(0, 43, 91, 0.12) !important;
    border: 1px solid rgba(0, 43, 91, 0.06) !important;
}
/* opnv-legal-document */
/*
 * Legal documents. On the page they take the site's own colours and fonts, so they read like the rest of
 * the site on a dark theme and on a light one. Colours chosen in the Privacy Suite («custom» mode) come
 * as inline CSS from PrivacySuiteLegal::document_inline_css(). The popup dialog is white: it keeps dark text.
 */

.rgpd-document {
    max-width: 48rem;
    margin: 0 auto;
    padding-bottom: 2.5rem;
    font-size: var(--opnv-legal-fs, 16px) !important;
    line-height: 1.65;
}

/* Keep breathing room before the next theme/builder module */
.rgpd-document > :last-child {
    margin-bottom: 0;
}

.opnv-legal-modal-body .rgpd-document,
.opnv-legal-modal-body .rgpd-document p,
.opnv-legal-modal-body .rgpd-document li,
.opnv-legal-modal-body .rgpd-document label,
.opnv-legal-modal-body .rgpd-document h1,
.opnv-legal-modal-body .rgpd-document h2,
.opnv-legal-modal-body .rgpd-document h3,
.opnv-legal-modal-body .rgpd-document h4,
.opnv-legal-modal-body .rgpd-document strong,
.opnv-legal-modal-body .rgpd-document em,
.opnv-legal-modal-body .rgpd-document td,
.opnv-legal-modal-body .rgpd-document th {
    color: var(--opnv-legal-fg, #1e293b) !important;
}

body.opnv-legal-page #main-content .rgpd-document,
body.opnv-legal-page #main-content .rgpd-document p,
body.opnv-legal-page #main-content .rgpd-document li,
body.opnv-legal-page #main-content .rgpd-document label,
body.opnv-legal-page #left-area .rgpd-document p,
body.opnv-legal-page #left-area .rgpd-document li,
.opnv-legal-modal-dialog,
.opnv-legal-modal-body .rgpd-document,
.opnv-legal-modal-body .rgpd-document p,
.opnv-legal-modal-body .rgpd-document li,
.opnv-legal-modal-body .rgpd-document label {
    font-size: var(--opnv-legal-fs, 16px) !important;
    line-height: 1.65;
}

.rgpd-document a,
.rgpd-document a:visited {
    text-decoration: underline;
}

.opnv-legal-modal-body .rgpd-document a,
.opnv-legal-modal-body .rgpd-document a:visited {
    color: var(--opnv-legal-link, #1d4ed8) !important;
}

.rgpd-document a:hover,
.rgpd-document a:focus {
    filter: brightness(0.85);
}

.rgpd-document h2 {
    font-size: 1.45em;
    margin: 0 0 1rem;
}

.rgpd-document h3 {
    font-size: 1.12em;
    margin: 1.5rem 0 0.6rem;
}

.rgpd-document ul {
    margin: 0.5rem 0 1rem 1.25rem;
}

body.opnv-legal-page #sidebar,
body.opnv-legal-page #main-sidebar,
body.opnv-legal-page .et_pb_widget_area_right,
body.opnv-legal-page .et_pb_widget_area_left,
body.opnv-legal-page #main-content .et_pb_widget,
body.opnv-legal-page aside.widget-area,
body.opnv-legal-page .sidebar,
body.opnv-legal-page #secondary {
    display: none !important;
}

/* The theme's container keeps its width and margins (the page title stays aligned with the header);
   only the sidebar's share of it is given back to the content. */
body.opnv-legal-page #left-area,
body.opnv-legal-page .et-l--body,
body.opnv-legal-page .et_pb_post {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
    padding-right: 0 !important;
}

body.opnv-legal-page #main-content .container:before {
    display: none !important;
}

html.opnv-legal-modal-open,
body.opnv-legal-modal-open {
    overflow: hidden;
}

.opnv-legal-modal {
    display: none;
    position: fixed;
    inset: 0;
    /* Above the cookie banner / CMP wall (2147483001) and preferences modal (2147483002): opened from «Más información». */
    z-index: 2147483600;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.opnv-legal-modal.is-open,
.opnv-legal-modal:not([hidden]) {
    display: flex;
}

.opnv-legal-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
}

.opnv-legal-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    max-height: min(86vh, 900px);
    overflow: auto;
    background: #fff;
    color: var(--opnv-legal-fg, #1e293b);
    border-radius: 14px;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.35);
    padding: 28px 28px 32px;
}

.opnv-legal-modal-title {
    margin: 0 36px 12px 0;
    font-size: 1.35em;
    color: var(--opnv-legal-fg, #1e293b);
}

.opnv-legal-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #64748b;
}

.opnv-legal-modal-close:hover {
    color: #0f172a;
}

.opnv-legal-modal-body .rgpd-document {
    max-width: none;
    margin: 0;
}

.opnv-legal-modal-body .rgpd-document h1:first-of-type,
.opnv-legal-modal-body .rgpd-document h2:first-of-type {
    display: none;
}

.opnv-prefs-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1.25rem;
}

.opnv-cookie-prefs .opnv-prefs-toggle,
.opnv-cookie-prefs label:has(.opnv-prefs-analytics),
.opnv-cookie-prefs label:has(.opnv-prefs-social) {
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin: 0;
    cursor: pointer;
    font-weight: 500;
    line-height: 1.3;
}

.opnv-cookie-prefs .opnv-prefs-toggle input[type="checkbox"],
.opnv-cookie-prefs .opnv-prefs-analytics,
.opnv-cookie-prefs .opnv-prefs-social {
    appearance: auto;
    -webkit-appearance: checkbox;
    position: static !important;
    float: none !important;
    display: inline-block !important;
    width: 1.1em !important;
    height: 1.1em !important;
    min-width: 1.1em;
    min-height: 1.1em;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: middle;
    flex: 0 0 auto;
    align-self: center;
}

body.et-fb .opnv-legal-modal,
html.et-fb-preview .opnv-legal-modal,
body.elementor-editor-active .opnv-legal-modal {
    display: none !important;
    pointer-events: none !important;
}
/* opnv-language-switcher */
/* Multilingual Studio — language switcher (3 axes: placement / style / open) */

.opnv-lang-bar {
  width: 100%;
  background: var(--opnv-lang-btn-bg, #fff);
  color: var(--opnv-lang-menu-text, #0f172a);
  z-index: 100050;
  font-size: var(--opnv-lang-font, 1.15rem);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: none;
}
.opnv-lang-bar--blend {
  /* Sits visually with the site header/menu instead of a foreign dark strip */
  background: var(--opnv-lang-btn-bg, transparent);
}
.opnv-lang-bar--top { position: relative; }
.opnv-lang-bar--sticky {
  position: sticky;
  top: 0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}
.opnv-lang-bar--bottom {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  border-bottom: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.08);
}
.opnv-lang-bar .opnv-lang-switcher {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  font-size: var(--opnv-lang-font, 1.15rem);
}
.opnv-lang-bar .opnv-lang-list {
  justify-content: flex-end;
  min-height: calc(2.75rem * var(--opnv-lang-scale, 1.2));
  gap: 0.4rem;
  padding: 0 1rem;
}
.opnv-lang-bar .opnv-lang-item {
  display: flex;
  align-items: stretch;
  height: 100%;
}
.opnv-lang-bar .opnv-lang-item a {
  color: var(--opnv-lang-menu-text, #0f172a);
  border-radius: 0;
  height: 100%;
  min-height: calc(2.75rem * var(--opnv-lang-scale, 1.2));
  padding: var(--opnv-lang-pad, 0.65rem 1rem);
  box-sizing: border-box;
}
.opnv-lang-bar .opnv-lang-item.is-current a {
  background: rgba(15, 23, 42, 0.06);
  box-shadow: inset 0 -3px 0 #3b82f6;
}
.opnv-lang-bar .opnv-lang-switcher--tabs .opnv-lang-list {
  border-bottom: 0;
}
.opnv-lang-bar .opnv-lang-mega-toggle {
  background: var(--opnv-lang-btn-bg, #fff);
  color: var(--opnv-lang-btn-text, #0f172a);
  border-color: rgba(15, 23, 42, 0.15);
}

.opnv-lang-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100080;
}

.opnv-lang-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.opnv-lang-item a,
.opnv-lang-mega-item a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: inherit;
  padding: var(--opnv-lang-pad, 0.65rem 1rem);
  font-size: var(--opnv-lang-font, 1.15rem);
  line-height: 1.25;
  border-radius: 8px;
  box-sizing: border-box;
  white-space: nowrap;
}
.opnv-lang-item a:hover,
.opnv-lang-mega-item a:hover {
  background: rgba(15, 23, 42, 0.06);
}
.opnv-lang-flag {
  font-size: var(--opnv-lang-flag, 1.5em);
  line-height: 1;
}
.opnv-lang-code {
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.85em;
}
.opnv-lang-native {
  font-weight: 500;
  min-width: 0;
  overflow-wrap: anywhere;
}
.opnv-lang-mega-toggle {
  max-width: 100%;
  min-width: 0;
}
.opnv-lang-mega-toggle .opnv-lang-native {
  display: inline-block;
  max-width: 14em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

/* Language items as sibling top-level menu links — one row with the rest of the nav */
.opnv-lang-menu-li {
  display: inline-block !important;
  float: left;
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: middle;
}
.opnv-lang-menu-li > a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35em !important;
  white-space: nowrap !important;
  font-size: var(--opnv-lang-font, 1.15rem) !important;
  line-height: 1.2 !important;
  box-sizing: border-box;
}
.opnv-lang-menu-li .opnv-lang-flag {
  font-size: var(--opnv-lang-flag, 1.5em);
  line-height: 1;
}
.opnv-lang-menu-li.is-current > a,
.opnv-lang-menu-li.current-menu-item > a {
  font-weight: 700;
}
.opnv-lang-menu-li--tabs.is-current > a,
.opnv-lang-menu-li--tabs.current-menu-item > a {
  box-shadow: inset 0 -3px 0 currentColor;
}

/* Force the parent nav to stay on a single line when langs are injected */
#top-menu:has(> .opnv-lang-menu-li),
.et-menu:has(> .opnv-lang-menu-li),
.nav:has(> .opnv-lang-menu-li),
ul.menu:has(> .opnv-lang-menu-li) {
  flex-wrap: nowrap !important;
  white-space: nowrap;
}
#top-menu:has(> .opnv-lang-menu-li) > li,
.et-menu:has(> .opnv-lang-menu-li) > li,
.nav:has(> .opnv-lang-menu-li) > li,
ul.menu:has(> .opnv-lang-menu-li) > li {
  white-space: nowrap;
  float: left;
}

/* Legacy nested inline wrapper (if any cached HTML) */
.opnv-lang-menu-item--inline {
  display: inline-flex !important;
  align-items: center !important;
  float: left !important;
  margin: 0 !important;
  height: auto !important;
  white-space: nowrap !important;
}
.opnv-lang-menu-item--inline .opnv-lang-switcher {
  display: inline-flex;
  align-items: center;
  height: auto;
}
.opnv-lang-menu-item--inline .opnv-lang-list {
  display: inline-flex !important;
  align-items: center;
  flex-wrap: nowrap !important;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  height: auto;
  white-space: nowrap;
}
.opnv-lang-menu-item--inline .opnv-lang-item {
  list-style: none;
  margin: 0;
  display: inline-flex;
  align-items: center;
  float: none !important;
}
.opnv-lang-menu-item--inline .opnv-lang-item a {
  font-size: var(--opnv-lang-font, 1.15rem) !important;
  padding: var(--opnv-lang-pad, 0.65rem 1rem) !important;
  color: var(--opnv-lang-menu-text, inherit) !important;
  line-height: 1.2 !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none;
  display: inline-flex !important;
  align-items: center;
  white-space: nowrap !important;
}
.opnv-lang-menu-item--inline .opnv-lang-flag {
  font-size: var(--opnv-lang-flag, 1.5em);
}
.opnv-lang-menu-item--inline .opnv-lang-item.is-current a,
.opnv-lang-menu-item--inline .opnv-lang-item a:hover {
  background: rgba(15, 23, 42, 0.05) !important;
  box-shadow: inset 0 -3px 0 currentColor;
  font-weight: 700;
}

#top-menu .opnv-lang-menu-li > a,
.et-menu .opnv-lang-menu-li > a,
#et-top-navigation .opnv-lang-menu-li > a,
.nav .opnv-lang-menu-li > a {
  font-size: var(--opnv-lang-font, 1.15rem) !important;
}
.opnv-lang-menu-item--inline .opnv-lang-switcher--tabs .opnv-lang-list,
.opnv-lang-bar--blend .opnv-lang-switcher--tabs .opnv-lang-list {
  border-bottom: 0;
}

/* —— Styles: inline —— */
.opnv-lang-switcher--flags_grid .opnv-lang-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(48px, 1fr));
  gap: 0.65rem;
  justify-items: center;
}
.opnv-lang-switcher--flags .opnv-lang-native,
.opnv-lang-switcher--flags_grid .opnv-lang-native { display: none; }
/* Three columns of cards: the switcher's box fits its content, so «auto-fill» ended in one long column. */
.opnv-lang-switcher--cards .opnv-lang-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(6.5rem, 1fr));
  gap: 8px;
}
@media (max-width: 480px) {
  .opnv-lang-switcher--cards .opnv-lang-list { grid-template-columns: repeat(2, minmax(6.5rem, 1fr)); }
}
.opnv-lang-switcher--cards .opnv-lang-item { min-width: 0; }
.opnv-lang-switcher--cards .opnv-lang-item a {
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
.opnv-lang-switcher--cards .opnv-lang-native {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.opnv-lang-switcher--native .opnv-lang-item a {
  align-items: flex-start;
}
.opnv-lang-names {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.opnv-lang-localized {
  font-size: 0.82em;
  font-weight: 500;
  opacity: 0.72;
  overflow-wrap: anywhere;
}
.opnv-lang-explorer {
  display: grid;
  gap: 8px;
  min-width: 0;
  max-width: 28rem;
  position: relative;
  overflow: visible;
}
.opnv-lang-explorer__keys {
  position: relative;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.opnv-lang-explorer__keys span {
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 2px 6px;
  background: #fff;
  font-size: 0.75rem;
}
.opnv-lang-explorer__svg { position: relative; z-index: 1; }
.opnv-preview-site:has(.opnv-lang-explorer),
.opnv-lang-preview-wrap:has(.opnv-lang-explorer) {
  overflow: visible;
}
@media (max-width: 640px) {
  .opnv-lang-explorer { max-width: 100%; }
}
.opnv-lang-explorer__search {
  width: 100%;
  box-sizing: border-box;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
}
/* The world (WorldMap): land in grey, the countries of the offered languages in the accent colour. */
.opnv-lang-explorer__svg { display: block; width: 100%; height: auto; margin: 8px 0; }
.opnv-lang-explorer__svg--map { max-height: 24em; }
.opnv-lang-explorer__svg--globe { max-width: 22em; margin-inline: auto; touch-action: none; cursor: grab; }
.opnv-lang-explorer__svg--globe:active { cursor: grabbing; }
.opnv-lang-explorer__ocean { fill: #e0f2fe; stroke: #93c5fd; stroke-width: 1; }
/* Countries where no language of the site is spoken: amber, still there. */
.opnv-land { fill: #f6d28b; stroke: #fff; stroke-width: 0.4; stroke-linejoin: round; }
.opnv-region { fill: color-mix(in srgb, var(--opnv-lang-accent, #3b82f6) 60%, #fff); stroke: #fff; stroke-width: 0.5; stroke-linejoin: round; cursor: pointer; transition: fill 0.15s, opacity 0.15s; }
.opnv-region.is-match,
.opnv-region.is-lit-home,
.opnv-region:hover,
.opnv-region:focus-visible { fill: #10b981; outline: none; }
/* The other countries of the language, each with its own variant: blue (its own country is green). */
.opnv-region.is-lit { fill: #2563eb; }
.opnv-lang-explorer.is-filtering .opnv-region:not(.is-match),
.opnv-lang-explorer.is-lighting .opnv-region:not(.is-lit):not(.is-lit-home) { opacity: 0.35; }
.opnv-lang-explorer__item.is-lit a { background: rgba(16, 185, 129, 0.12); }
/* The list, grouped by continent. */
.opnv-lang-explorer__groups { display: grid; gap: 12px; }
.opnv-lang-explorer__groups[hidden] { display: none; }
.opnv-lang-explorer__group[hidden] { display: none; }
.opnv-explorer-group-title { margin: 0 0 4px; font-size: 0.78em; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.6; }
.opnv-explorer-variants { margin-top: 2px; font-size: 0.72em; opacity: 0.7; line-height: 1.3; }
/* Globe / map switch above the world. */
.opnv-explorer-views { display: inline-flex; align-self: center; border: 1px solid #cbd5e1; border-radius: 999px; padding: 2px; background: #fff; gap: 2px; }
.opnv-explorer-views[hidden] { display: none; }
/* Zoom: buttons over the world (top right); outlines keep their width at any zoom. */
.opnv-lang-explorer__stage { position: relative; }
.opnv-explorer-zoom { position: absolute; top: 8px; inset-inline-end: 8px; z-index: 2; display: flex; flex-direction: column; gap: 4px; }
.opnv-explorer-zoom[hidden] { display: none; }
.opnv-explorer-zoom button { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #cbd5e1; border-radius: 8px; background: rgba(255, 255, 255, 0.95); color: #0f172a; font: inherit; font-size: 18px; line-height: 1; cursor: pointer; box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12); }
.opnv-explorer-zoom button:hover:not(:disabled) { border-color: #1d4ed8; color: #1d4ed8; }
.opnv-explorer-zoom button:focus-visible { outline: 2px solid #111827; outline-offset: 1px; }
.opnv-explorer-zoom button:disabled { opacity: 0.45; cursor: default; }
.opnv-lang-explorer__svg { touch-action: none; }
.opnv-lang-explorer__svg path { vector-effect: non-scaling-stroke; }
.opnv-lang-explorer.is-zoomed .opnv-lang-explorer__svg--map { cursor: grab; }
.opnv-pin { fill: none; stroke: #10b981; stroke-width: 3; vector-effect: non-scaling-stroke; pointer-events: none; animation: opnv-pin-pulse 1.6s ease-in-out infinite; }
@keyframes opnv-pin-pulse { 50% { stroke-opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .opnv-pin { animation: none; } }
.opnv-lang-explorer__item .opnv-lang-code { margin-inline-start: 6px; font-size: 0.72em; font-weight: 700; letter-spacing: 0.02em; padding: 1px 5px; border-radius: 4px; background: #e2e8f0; color: #334155; }
.opnv-explorer-views button { border: 0; background: transparent; padding: 4px 14px; border-radius: 999px; font: inherit; font-size: 0.85em; cursor: pointer; color: inherit; }
.opnv-explorer-views button[aria-pressed="true"] { background: #1d4ed8; color: #fff; }
.opnv-explorer-views button:focus-visible { outline: 2px solid #111827; outline-offset: 1px; }
/* Phones only (see the block «Phones» below): the button that unfolds the world, «ⓘ», the card's close. */
.opnv-explorer-world-toggle,
.opnv-explorer-info,
.opnv-explorer-card-close { display: none; }
/* «Por idioma / Por país», and the country path (continent → country → card). */
.opnv-explorer-modes { display: inline-flex; justify-self: start; align-self: flex-start; border: 1px solid #cbd5e1; border-radius: 999px; padding: 2px; gap: 2px; background: #fff; }
.opnv-explorer-modes button { border: 0; background: transparent; padding: 5px 14px; border-radius: 999px; font: inherit; font-size: 0.88em; color: inherit; cursor: pointer; }
.opnv-explorer-modes button[aria-pressed="true"] { background: #1d4ed8; color: #fff; } /* 4.5:1 with white text (the default accent gave 3.7:1) */
.opnv-explorer-bycountry[hidden], .opnv-explorer-countries[hidden], .opnv-explorer-continents[hidden] { display: none !important; }
.opnv-explorer-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 0.85em; margin: 2px 0 8px; }
.opnv-explorer-crumbs button { border: 0; background: none; padding: 2px 0; font: inherit; color: var(--opnv-lang-accent, #2563eb); text-decoration: underline; cursor: pointer; }
.opnv-explorer-crumbs > :not([hidden]) + :not([hidden])::before { content: "›"; margin-right: 6px; color: #94a3b8; text-decoration: none; display: inline-block; }
.opnv-explorer-crumb-country { font-weight: 700; }
.opnv-explorer-continents { display: grid; grid-template-columns: repeat(auto-fill, minmax(11em, 1fr)); gap: 8px; }
.opnv-explorer-continents button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; border: 1px solid #e2e8f0; border-radius: 10px; background: #f8fafc; font: inherit; color: inherit; text-align: start; cursor: pointer; }
.opnv-explorer-continents button:hover, .opnv-explorer-continents button:focus-visible { border-color: var(--opnv-lang-accent, #3b82f6); background: #fff; }
.opnv-explorer-continents span { font-size: 0.78em; opacity: 0.7; }
.opnv-explorer-countries { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(11em, 1fr)); gap: 2px 10px; }
.opnv-explorer-countries li[hidden] { display: none; }
.opnv-explorer-countries button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border: 0; border-radius: 8px; background: none; font: inherit; color: inherit; text-align: start; cursor: pointer; min-height: 40px; }
.opnv-explorer-countries button:hover, .opnv-explorer-countries button:focus-visible { background: rgba(59, 130, 246, 0.08); }
.opnv-explorer-countries button.is-chosen { background: rgba(16, 185, 129, 0.14); font-weight: 700; }
.opnv-explorer-country-count { min-width: 1.6em; text-align: center; font-size: 0.75em; font-weight: 700; padding: 1px 6px; border-radius: 999px; background: #1d4ed8; color: #fff; }
.opnv-explorer-countries button.is-none .opnv-explorer-country-count { background: #f6d28b; color: transparent; width: 10px; min-width: 10px; height: 10px; padding: 0; }
.opnv-explorer-countries button.is-none .opnv-explorer-country-name { opacity: 0.7; }
@media (max-width: 640px) {
  .opnv-explorer-continents, .opnv-explorer-countries { grid-template-columns: 1fr; }
}
/* The country card. */
.opnv-lang-explorer__country { border: 1px solid #e2e8f0; border-radius: 10px; padding: 10px 12px; background: #f8fafc; }
.opnv-lang-explorer__country[hidden] { display: none; }
.opnv-lang-explorer__country-name { margin: 0 0 6px; font-size: 1em; }
.opnv-lang-explorer__country-label { margin: 6px 0 2px; font-size: 0.78em; opacity: 0.7; }
.opnv-lang-explorer__country-langs { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.opnv-lang-explorer__country-langs a { font-weight: 600; }
.opnv-lang-explorer__country-note { font-size: 0.78em; opacity: 0.75; }
.opnv-lang-explorer__country-also { margin: 0; }
/* A grid that fits the width: 46 languages are rows of names, not one long column. */
.opnv-lang-explorer__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(11em, 1fr)); gap: 4px 12px; max-height: 22em; overflow-y: auto; overscroll-behavior: contain; }
.opnv-lang-explorer__item a { display: flex; flex-direction: row; align-items: flex-start; gap: 8px; padding: 6px 8px; border-radius: 8px; text-decoration: none; }
/* Flag of the country or region, then the names: variants of one language are told apart before choosing. */
.opnv-lang-explorer__flag { flex: 0 0 24px; width: 24px; height: 18px; margin-top: 2px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.14); }
.opnv-lang-explorer__flag--emoji { box-shadow: none; font-size: 18px; line-height: 18px; text-align: center; }
.opnv-lang-explorer__text { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; min-width: 0; }
.opnv-lang-explorer__item a:hover, .opnv-lang-explorer__item a:focus-visible { background: rgba(59, 130, 246, 0.08); }
.opnv-lang-explorer__item.is-current a { box-shadow: inset 3px 0 0 var(--opnv-lang-accent, #3b82f6); }
.opnv-lang-explorer__item .opnv-lang-native { font-weight: 600; }
.opnv-lang-explorer__item .opnv-lang-localized { margin: 0; font-size: 0.8em; opacity: 0.75; text-align: start; }
.opnv-lang-explorer__item.is-hidden { display: none; }
.opnv-lang-explorer__item a.is-pick { outline: 2px solid #facc15; outline-offset: 2px; }
.opnv-lang-explorer__source { margin: 0 0 6px; font-size: 0.8rem; }

.opnv-lang-switcher--circles .opnv-lang-item a {
  width: calc(2.4rem * var(--opnv-lang-scale, 1));
  height: calc(2.4rem * var(--opnv-lang-scale, 1));
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.45);
  padding: 0;
  background: var(--opnv-lang-btn-bg, #fff);
  overflow: hidden;
}
.opnv-lang-switcher--circles .opnv-lang-native { display: none; }

.opnv-lang-switcher--chips .opnv-lang-item a {
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: var(--opnv-lang-pad, 0.65rem 1rem);
  background: var(--opnv-lang-btn-bg, #fff);
  color: var(--opnv-lang-btn-text, #0f172a);
  font-size: var(--opnv-lang-font, 1.15rem);
}
.opnv-lang-switcher--chips .opnv-lang-item.is-current a {
  border-color: #3b82f6;
  background: #eff6ff;
}

.opnv-lang-switcher--tabs .opnv-lang-list { gap: 0; border-bottom: 1px solid #e2e8f0; }
.opnv-lang-switcher--tabs .opnv-lang-item a {
  border-radius: 0;
  border-bottom: 3px solid transparent;
  padding: var(--opnv-lang-pad, 0.65rem 1rem);
  font-size: var(--opnv-lang-font, 1.15rem);
}
.opnv-lang-switcher--tabs .opnv-lang-item.is-current a {
  border-bottom-color: #3b82f6;
  background: transparent;
  font-weight: 700;
}
/* Tabs in menu / blended bar: no underline strip under the whole row */
.opnv-lang-menu-item--inline .opnv-lang-switcher--tabs .opnv-lang-list,
.opnv-lang-bar--blend .opnv-lang-switcher--tabs .opnv-lang-list {
  border-bottom: 0;
}

.opnv-lang-switcher--code .opnv-lang-item a {
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* —— Real 2-language switch (track + knob) — matches the admin preview —— */
.opnv-lang-switcher--toggle .opnv-lang-toggle-switch {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.opnv-lang-switcher--toggle .opnv-lang-toggle-endpoint {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
  text-decoration: none;
  color: #475569;
  font-size: var(--opnv-lang-font, inherit);
  font-weight: 600;
  line-height: 1.1;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.opnv-lang-switcher--toggle .opnv-lang-toggle-endpoint .opnv-lang-flag { font-size: var(--opnv-lang-flag, 1.2em); }
.opnv-lang-switcher--toggle .opnv-lang-toggle-label { white-space: nowrap; }
.opnv-lang-switcher--toggle .opnv-lang-toggle-endpoint:not(.is-active):hover { color: #0f172a; }
.opnv-lang-switcher--toggle .opnv-lang-toggle-endpoint.is-active {
  background: var(--opnv-lang-btn-bg, #0f172a);
  color: var(--opnv-lang-btn-text, #fff);
  box-shadow: 0 1px 3px rgba(15, 23, 42, .22);
}
/* Keep the knob legible on dark brand colours. */
.opnv-lang-switcher--toggle .opnv-lang-toggle-endpoint.is-active .opnv-lang-flag { filter: drop-shadow(0 0 1px rgba(0,0,0,.30)); }
/* Custom flag images: 3:2 box + object-fit:fill so ALL horizontal stripes show
   (cover + square thumbs cropped Spain to the yellow band only). */
.opnv-lang-flag--img {
  display: inline-block;
  width: 1.65em;
  height: 1.1em; /* ~3:2 */
  overflow: hidden;
  border-radius: 2px;
  vertical-align: middle;
  flex-shrink: 0;
  line-height: 0;
  box-sizing: border-box;
  background: rgba(148, 163, 184, 0.25);
}
.opnv-lang-flag--img img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
  display: block;
  border-radius: inherit;
}
.opnv-lang-switcher--circles .opnv-lang-flag--img {
  width: 78%;
  height: 78%;
  border-radius: 50%;
}
.opnv-lang-switcher--circles .opnv-lang-flag--img img {
  /* Circles still need cover; prefer full-aspect source URLs (not 150×150 thumbs). */
  object-fit: cover;
}
.opnv-lang-switcher--circles .opnv-lang-flag:not(.opnv-lang-flag--img) {
  font-size: 1.15em;
}
/* Menu embed: keep the flag inside the nav item box (no overflow / clipped stripes). */
.opnv-lang-menu-item--embed .opnv-lang-flag--img,
.opnv-lang-menu-item--panel .opnv-lang-flag--img,
.opnv-lang-menu-li .opnv-lang-flag--img {
  width: calc(var(--opnv-lang-px, 40) * 1px * 0.72);
  height: calc(var(--opnv-lang-px, 40) * 1px * 0.48);
  max-width: 2.2em;
  max-height: 1.45em;
  overflow: hidden;
  vertical-align: middle;
}
.opnv-lang-menu-item--embed > a.opnv-lang-menu-trigger,
.opnv-lang-menu-li > a {
  overflow: visible;
}

/* —— Panel trigger —— */
.opnv-lang-switcher--panel { position: relative; display: inline-block; }

.opnv-lang-mega-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: var(--opnv-lang-btn-bg, #fff);
  color: var(--opnv-lang-btn-text, #0f172a);
  border-radius: 999px;
  padding: var(--opnv-lang-pad, 0.4rem 0.85rem);
  cursor: pointer;
  font: inherit;
  font-size: var(--opnv-lang-font, 0.95rem);
}
.opnv-lang-switcher--globe .opnv-lang-mega-toggle {
  width: calc(2.75rem * var(--opnv-lang-scale, 1));
  height: calc(2.75rem * var(--opnv-lang-scale, 1));
  justify-content: center;
  padding: 0;
  font-size: calc(1.35rem * var(--opnv-lang-scale, 1));
}
.opnv-lang-float .opnv-lang-mega-toggle,
.opnv-lang-float .opnv-lang-switcher--globe .opnv-lang-mega-toggle {
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.28);
}
.opnv-lang-select {
  font: inherit;
  font-size: var(--opnv-lang-font, 1.15rem);
  padding: var(--opnv-lang-pad, 0.65rem 1rem);
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: var(--opnv-lang-btn-bg, #fff);
  color: var(--opnv-lang-btn-text, #0f172a);
  min-width: 10rem;
}

/* —— Panels —— */
.opnv-lang-mega-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: min(420px, 92vw);
  max-width: 560px;
  background: #fff;
  color: var(--opnv-lang-menu-text, #0f172a);
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.22);
  padding: 0.9rem;
  z-index: 100060;
}
.opnv-lang-mega-panel--dropdown {
  min-width: 220px;
  max-width: 280px;
  width: 220px;
}
.opnv-lang-mega-panel--dropdown .opnv-lang-mega-list {
  display: flex;
  flex-direction: column;
}
.opnv-open-left .opnv-lang-mega-panel { right: auto; left: 0; }
.opnv-open-right .opnv-lang-mega-panel { left: auto; right: 0; }
/* «Automático»: the script picks the side with room. */
.opnv-lang-switcher.is-open-left .opnv-lang-mega-panel { right: auto; left: 0; }
.opnv-lang-switcher.is-open-right .opnv-lang-mega-panel { left: auto; right: 0; }
.opnv-lang-switcher.is-flip-up .opnv-lang-mega-panel {
  top: auto;
  bottom: calc(100% + 8px);
}

.opnv-lang-mega-grid {
  display: grid;
  grid-template-columns: repeat(var(--opnv-lang-cols, 3), minmax(0, 1fr));
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.opnv-lang-mega-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.opnv-lang-mega-item { min-width: 0; }
.opnv-lang-mega-item a {
  width: 100%;
  min-width: 0;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  box-sizing: border-box;
}
.opnv-lang-mega-item .opnv-lang-native {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.opnv-lang-mega-item a:hover,
.opnv-lang-mega-item.is-current a {
  border-color: #3b82f6;
  background: #eff6ff;
}
.opnv-lang-mega-item .opnv-lang-native { flex: 1; }
/* Un nombre largo («Deutsch (Österreich)») no debe salirse de la casilla:
   se parte en dos líneas y el código del idioma queda siempre a la derecha. */
.opnv-lang-mega-item a { min-width: 0; }
.opnv-lang-mega-item .opnv-lang-native { min-width: 0; overflow-wrap: anywhere; line-height: 1.25; }
.opnv-lang-mega-item .opnv-lang-code { flex-shrink: 0; }

/* Modal / center overlay */
.opnv-lang-mega-panel--modal {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  min-width: 0 !important;
  max-width: none !important;
  width: 100vw;
  height: 100vh;
  margin: 0;
  border-radius: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(var(--opnv-lang-blur, 16px));
  -webkit-backdrop-filter: blur(var(--opnv-lang-blur, 16px));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  z-index: 100090;
  box-shadow: none;
}
.opnv-lang-mega-panel--modal[hidden] { display: none !important; }
.opnv-lang-mega-panel--center {
  background: rgba(248, 250, 252, 0.72);
}
.opnv-lang-mega-panel--modal .opnv-lang-mega-grid,
.opnv-lang-mega-panel--modal .opnv-lang-mega-list {
  width: min(720px, 94vw);
  max-height: min(70vh, 640px);
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28);
}
.opnv-lang-mega-panel--modal .opnv-lang-mega-grid {
  grid-template-columns: repeat(var(--opnv-lang-cols, 3), minmax(0, 1fr));
  gap: 0.75rem;
}
/* Side (search, list) and stage (world, country card). Outside the full-screen panel they melt into the
   explorer's own column, in the old order: search, world, list. */
.opnv-lang-explorer__side,
.opnv-lang-explorer__stage { display: contents; }
.opnv-lang-explorer__stage > * { order: 4; }
.opnv-lang-explorer__groups { order: 5; }

/* Map and sphere, opened full screen from the globe button: a large card, the list on the left and the
   world always in sight on the right, so a language lighting its countries can be seen. */
.opnv-lang-mega-panel--explorer .opnv-lang-explorer {
  width: min(1500px, 96vw);
  height: calc(100vh - 5.5rem);
  max-width: none;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.4fr);
  gap: 1.25rem;
  overflow: hidden;
  background: #fff;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28);
  box-sizing: border-box;
}
.opnv-lang-mega-panel--explorer .opnv-lang-explorer__side {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 6px;
}
.opnv-lang-mega-panel--explorer .opnv-lang-explorer__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-height: 0;
  overflow-y: auto;
}
.opnv-lang-mega-panel--explorer .opnv-lang-explorer__stage > * { order: 0; }
.opnv-lang-mega-panel--explorer .opnv-lang-explorer__svg { flex: 0 0 auto; margin: 0; }
.opnv-lang-mega-panel--explorer .opnv-lang-explorer__svg--map { width: 100%; height: auto; max-height: calc(100vh - 16rem); }
.opnv-lang-mega-panel--explorer .opnv-lang-explorer__svg--globe { width: auto; height: min(calc(100vh - 16rem), 760px); max-width: 100%; }
.opnv-lang-mega-panel--explorer .opnv-lang-explorer__country { align-self: stretch; }
.opnv-lang-mega-panel--explorer .opnv-lang-explorer__list {
  grid-template-columns: repeat(auto-fill, minmax(11em, 1fr));
  max-height: none;
  overflow: visible;
}
/* Narrow screens: one column again, the world above the list, the whole card scrolls. */
@media (max-width: 900px) {
  .opnv-lang-mega-panel--explorer .opnv-lang-explorer { grid-template-columns: 1fr; height: auto; max-height: calc(100vh - 5.5rem); overflow-y: auto; }
  .opnv-lang-mega-panel--explorer .opnv-lang-explorer__side,
  .opnv-lang-mega-panel--explorer .opnv-lang-explorer__stage { display: contents; }
  .opnv-lang-mega-panel--explorer .opnv-lang-explorer__stage > * { order: 4; }
  .opnv-lang-mega-panel--explorer .opnv-lang-explorer__svg--map { height: min(42vh, 380px); }
  .opnv-lang-mega-panel--explorer .opnv-lang-explorer__svg--globe { height: min(42vh, 380px); width: 100%; }
}
.opnv-lang-mega-panel--explorer .opnv-lang-modal-title { color: #fff; }
.opnv-lang-modal-title {
  margin: 0 0 1rem;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
}
.opnv-lang-mega-panel--center .opnv-lang-modal-title { color: #0f172a; }
.opnv-lang-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  border: 0;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.opnv-lang-mega-panel--center .opnv-lang-modal-close {
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
}
body.opnv-lang-modal-open { overflow: hidden; }

/* Nav submenu (mega/dropdown in menu — hover submenu) */
/* SR-only: themes like Divi often omit WP core .screen-reader-text rules */
.opnv-lang-switcher .screen-reader-text,
.opnv-lang-menu-item--embed .screen-reader-text,
.opnv-lang-menu-aside .screen-reader-text {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
  white-space: nowrap !important;
}

.opnv-lang-menu-item--embed {
  position: relative;
  list-style: none;
}
.opnv-lang-menu-item--embed > a.opnv-lang-menu-trigger.opnv-lang-mega-toggle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  width: auto !important;
  height: auto !important;
  min-height: 0;
  padding: 0 0 0 0.25rem;
  margin: 0;
  border-radius: 0 !important;
  font: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  vertical-align: middle;
  gap: 0;
}
.opnv-lang-menu-item--embed .opnv-lang-globe {
  display: inline-block;
  line-height: 1;
  vertical-align: middle;
  font-size: calc(var(--opnv-lang-px, 40) * 1px * 0.55);
}
/* Let the «Tamaño» control drive the menu glyph/flag (was em*scale, insensitive to the box). */
.opnv-lang-menu-item--embed .opnv-lang-flag,
.opnv-lang-menu-item--panel .opnv-lang-flag {
  font-size: calc(var(--opnv-lang-px, 40) * 1px * 0.6);
  line-height: 1;
  vertical-align: middle;
}

#mainmenu > li.opnv-lang-menu-item--embed,
#top-menu > li.opnv-lang-menu-item--embed,
.et-menu > li.opnv-lang-menu-item--embed,
#mainmenu > li.opnv-lang-menu-item--panel.opnv-lang-menu-item,
#top-menu > li.opnv-lang-menu-item--panel.opnv-lang-menu-item,
.et-menu > li.opnv-lang-menu-item--panel.opnv-lang-menu-item {
  float: left !important;
  display: inline !important;
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
}
/* Blessing / float-nav themes: match sibling link box (padding drives vertical align) */
#mainmenu > li.opnv-lang-menu-item--embed > a.opnv-lang-menu-trigger,
#top-menu > li.opnv-lang-menu-item--embed > a.opnv-lang-menu-trigger,
.et-menu > li.opnv-lang-menu-item--embed > a.opnv-lang-menu-trigger,
#mainmenu > li.opnv-lang-menu-item--panel > a.opnv-lang-menu-trigger,
#top-menu > li.opnv-lang-menu-item--panel > a.opnv-lang-menu-trigger,
.et-menu > li.opnv-lang-menu-item--panel > a.opnv-lang-menu-trigger {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box;
  padding: 20px 0 17px 14px !important;
  line-height: normal !important;
  min-height: 0;
  height: auto !important;
}
#mainmenu > li.opnv-lang-menu-item--embed .opnv-lang-globe,
#top-menu > li.opnv-lang-menu-item--embed .opnv-lang-globe,
.et-menu > li.opnv-lang-menu-item--embed .opnv-lang-globe,
#mainmenu > li.opnv-lang-menu-item--panel .opnv-lang-globe,
#top-menu > li.opnv-lang-menu-item--panel .opnv-lang-globe,
.et-menu > li.opnv-lang-menu-item--panel .opnv-lang-globe {
  line-height: 1;
  vertical-align: middle;
}

.opnv-lang-menu-item--panel > .opnv-lang-submenu--mega,
.opnv-lang-menu-item--panel > .opnv-lang-submenu--dropdown,
.menu-item.opnv-lang-menu-item--panel > .sub-menu.opnv-lang-submenu--mega,
.menu-item.opnv-lang-menu-item--panel > .sub-menu.opnv-lang-submenu--dropdown {
  display: none;
  position: absolute;
  left: auto;
  right: 0;
  min-width: min(480px, 92vw);
  padding: 0.9rem !important;
  background: #fff !important;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.22);
  border-radius: 12px;
  z-index: 100060;
  gap: 0.55rem;
}
.opnv-lang-menu-item--mega > .opnv-lang-submenu--mega,
.menu-item.opnv-lang-menu-item--mega > .sub-menu.opnv-lang-submenu--mega {
  grid-template-columns: repeat(var(--opnv-lang-cols, 3), minmax(0, 1fr));
}
.opnv-lang-menu-item--dropdown > .opnv-lang-submenu--dropdown {
  min-width: 220px;
  display: none;
  flex-direction: column;
}
.opnv-open-left.opnv-lang-menu-item--panel > .sub-menu { right: auto; left: 0; }
.opnv-open-right.opnv-lang-menu-item--panel > .sub-menu { left: auto; right: 0; }

.opnv-lang-menu-item--panel:hover > .opnv-lang-submenu--mega,
.opnv-lang-menu-item--panel:focus-within > .opnv-lang-submenu--mega,
.opnv-lang-menu-item--panel.is-open > .opnv-lang-submenu--mega,
.opnv-lang-menu-item--mega:hover > .opnv-lang-submenu--mega,
.opnv-lang-menu-item--mega:focus-within > .opnv-lang-submenu--mega,
.opnv-lang-menu-item--mega.is-open > .opnv-lang-submenu--mega {
  display: grid !important;
}
.opnv-lang-menu-item--dropdown:hover > .opnv-lang-submenu--dropdown,
.opnv-lang-menu-item--dropdown:focus-within > .opnv-lang-submenu--dropdown,
.opnv-lang-menu-item--dropdown.is-open > .opnv-lang-submenu--dropdown {
  display: flex !important;
}

.opnv-lang-menu-item--panel > .sub-menu > li {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}
.opnv-lang-menu-item--panel > .sub-menu > li > a {
  white-space: normal;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.55rem 0.7rem !important;
  color: #0f172a !important;
}

.opnv-lang-caret { font-size: 0.75em; opacity: 0.7; }
.opnv-lang-menu-trigger { color: var(--opnv-lang-btn-text, inherit); }
.opnv-lang-menu-item--panel > a.opnv-lang-menu-trigger {
  background: var(--opnv-lang-btn-bg, transparent);
}
.opnv-lang-submenu--mega,
.opnv-lang-mega-panel .opnv-lang-native,
.opnv-lang-mega-panel .opnv-lang-code {
  color: var(--opnv-lang-menu-text, inherit);
}

/* Beside-menu: sibling of #mainmenu, never inside <ul.menu> */
#opnv-lang-menu-aside:not([data-opnv-mounted="1"]) {
  /* Keep in DOM for mount; do not push off-screen (icon vanished if JS late/fails). */
  visibility: hidden;
  pointer-events: none;
  height: 0;
  overflow: hidden;
}
#opnv-lang-menu-aside[data-opnv-mounted="1"] {
  visibility: visible;
  pointer-events: auto;
  height: auto;
  overflow: visible;
}
.opnv-lang-menu-aside-host {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  line-height: 1;
}
.opnv-lang-menu-aside {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.opnv-lang-aside-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 0;
  background: transparent;
  color: var(--opnv-lang-menu-text, inherit);
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  font: inherit;
  line-height: 1;
}
.opnv-lang-aside-trigger .opnv-lang-globe {
  font-size: calc(var(--opnv-lang-px, 40) * 1px * 0.6);
  line-height: 1;
}

/* Desktop: absolute after menu row — does not shrink theme floats */
/* The menu's container (whatever the theme) anchors the floating switcher. */
.opnv-has-lang-aside {
  position: relative;
}

/* Ajuste fino del panel (Mover ← → / ↑ ↓). «translate» se suma a los transform que ya
   haya (centrado, despliegue) sin pisarlos; los paneles modales van en <body> y no se mueven. */
.opnv-lang-switcher,
.opnv-lang-tab {
  translate: var(--opnv-lang-dx, 0px) var(--opnv-lang-dy, 0px);
}
.opnv-lang-switcher .opnv-lang-switcher {
  translate: none;
}
#mainmenu-container.opnv-has-lang-aside #mainmenu {
  /* keep theme float layout intact */
}
.opnv-lang-menu-aside-host--desktop {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 20;
  height: auto;
  margin: 0;
  max-width: calc(100% - 8px);
}

/* Beside the menu the trigger is a menu control, not a floating bubble. */
.opnv-lang-menu-aside-host .opnv-lang-mega-toggle,
.opnv-lang-menu-aside-host .opnv-lang-aside-trigger {
  box-sizing: border-box;
  border: 0;
  box-shadow: none;
  background: transparent;
  color: var(--opnv-aside-color, var(--opnv-lang-menu-text, inherit));
  line-height: 1;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.opnv-lang-menu-aside-host--desktop .opnv-lang-mega-toggle,
.opnv-lang-menu-aside-host--desktop .opnv-lang-aside-trigger {
  height: 36px;
  min-width: 36px;
  padding: 0 0.4rem;
  border-radius: 6px;
  font-size: var(--opnv-aside-font, 15px);
}
.opnv-lang-menu-aside-host--desktop .opnv-lang-switcher--globe .opnv-lang-mega-toggle {
  width: 36px;
  padding: 0;
}
/* px, not rem: some themes set a tiny root font-size; WP emoji CSS forces img.emoji to 1em. */
.opnv-lang-menu-aside-host .opnv-lang-globe,
.opnv-lang-menu-aside-host .opnv-lang-globe img.emoji {
    width: 1em !important;
  height: 1em !important;
  font-size: calc(var(--opnv-lang-px, 34) * 1px * 0.6);
  line-height: 1;
  margin: 0 !important;
}
.opnv-lang-menu-aside-host--desktop .opnv-lang-mega-toggle:hover,
.opnv-lang-menu-aside-host--desktop .opnv-lang-mega-toggle[aria-expanded="true"],
.opnv-lang-menu-aside-host--desktop .opnv-lang-aside-trigger:hover {
  background: rgba(127, 127, 127, 0.14);
}
.opnv-lang-menu-aside-host .opnv-lang-mega-toggle:focus-visible,
.opnv-lang-menu-aside-host .opnv-lang-aside-trigger:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* Menu item «#opnv_language_switcher»: the theme's <li> wraps it, so inherit the link look. */
.opnv-lang-menu-item--placeholder {
  position: relative;
  display: flex;
  align-items: center;
  list-style: none;
}
.opnv-lang-menu-item--placeholder .opnv-lang-mega-toggle {
  border: 0;
  box-shadow: none;
  background: transparent;
  color: inherit;
  font: inherit;
  padding: 0.35rem 0.5rem;
  width: auto;
  height: auto;
  border-radius: 6px;
}
.opnv-lang-menu-item--placeholder .opnv-lang-mega-toggle:hover {
  background: rgba(127, 127, 127, 0.14);
}
.opnv-lang-menu-item--placeholder .opnv-lang-switcher--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

/* Mobile: left of #menu-btn, same size/offset/colours as the hamburger (set by JS). */
.opnv-lang-menu-aside-host--mobile {
  float: right;
  margin-right: 8px;
  height: var(--opnv-aside-size, 36px);
  position: relative;
  z-index: 1001;
}
/* «Botón del menú» with a flag or a name: the button grows to fit it (the globe alone is a 36 px square). */
.opnv-lang-mega-toggle:has(.opnv-lang-current-flag, .opnv-lang-current-name),
.opnv-lang-aside-trigger:has(.opnv-lang-current-flag, .opnv-lang-current-name) {
  width: auto !important;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}
.opnv-lang-current-flag { display: inline-flex; align-items: center; line-height: 1; }
/* The flag of the menu button has its own size: in the switcher beside the menu the button's text is large
   (it is sized for the globe icon) and a flag measured in «em» came out 50 px wide over the logo. */
.opnv-lang-current-flag .opnv-lang-flag--img { width: 24px; height: 16px; max-width: none; max-height: none; }
.opnv-lang-current-flag img { width: 100%; height: 100%; border-radius: 2px; }
.opnv-lang-current-flag .opnv-lang-flag:not(.opnv-lang-flag--img) { font-size: 18px; }
.opnv-lang-menu-aside-host .opnv-lang-current-code,
.opnv-lang-menu-aside-host .opnv-lang-current-name { font-size: 15px; }
.opnv-lang-current-name { font-weight: 600; }
/* On phones the flag is enough; a name alone stays (else the button would be empty). */
.opnv-lang-menu-aside-host--mobile :has(> .opnv-lang-current-flag) > .opnv-lang-current-name { display: none; }
.opnv-lang-menu-aside-host--mobile .opnv-lang-mega-toggle,
.opnv-lang-menu-aside-host--mobile .opnv-lang-aside-trigger {
  width: var(--opnv-aside-size, 36px);
  height: var(--opnv-aside-size, 36px);
  min-width: 0;
  min-height: 0;
  padding: 0;
  justify-content: center;
  background: var(--opnv-aside-bg, transparent);
  border-radius: var(--opnv-aside-radius, 4px);
}
.opnv-lang-menu-aside-host--mobile .opnv-lang-switcher--panel:not(.opnv-lang-switcher--globe) .opnv-lang-mega-toggle {
  width: auto;
  padding: 0 0.5rem;
}
.opnv-lang-menu-aside-host--mobile .opnv-lang-mega-toggle .opnv-lang-native,
.opnv-lang-menu-aside-host--mobile .opnv-lang-mega-toggle .opnv-lang-caret,
.opnv-lang-menu-aside-host--mobile .opnv-lang-aside-trigger .opnv-lang-native {
  display: none;
}

/* Mobile with any theme: placed by JS beside the menu button (inside its positioned box). */
.opnv-lang-menu-aside-host--beside {
  position: absolute;
  float: none;
  margin: 0;
  transform: translateY(-50%);
  z-index: 100000;
}
/* No menu button found or no room beside it: small fixed button, top right. */
.opnv-lang-menu-aside-host--beside.opnv-lang-menu-aside-host--floating {
  position: fixed;
  top: 12px;
  right: 12px;
  transform: none;
  background: var(--opnv-lang-btn-bg, #fff);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

@media (max-width: 1260px) {
  .opnv-lang-menu-aside-host--desktop {
    right: 0.15rem;
  }
}

@media (max-width: 640px) {
  .opnv-lang-mega-grid,
  .opnv-lang-menu-item--mega > .opnv-lang-submenu--mega {
    grid-template-columns: repeat(var(--opnv-lang-cols, 3), minmax(0, 1fr));
    min-width: min(320px, 94vw);
  }
}

/* ── 1.0.306: alineación, color del idioma actual, móvil y pestaña ─────────────────────────── */

/* Alineación de las barras (izquierda / centro / derecha). */
.opnv-lang-bar .opnv-lang-list {
  justify-content: var(--opnv-lang-justify, flex-end);
}

/* Idioma actual con el color elegido («Idioma actual»). */
.opnv-lang-bar .opnv-lang-item.is-current a {
  box-shadow: inset 0 -3px 0 var(--opnv-lang-accent, #3b82f6);
}
.opnv-lang-switcher--chips .opnv-lang-item.is-current a {
  border-color: var(--opnv-lang-accent, #3b82f6);
  background: color-mix(in srgb, var(--opnv-lang-accent, #3b82f6) 12%, #fff);
}
.opnv-lang-switcher--tabs .opnv-lang-item.is-current a {
  border-bottom-color: var(--opnv-lang-accent, #3b82f6);
}
.opnv-lang-menu-li.is-current > a,
.opnv-lang-mega-item.is-current a {
  color: var(--opnv-lang-accent, #3b82f6);
}

/* Globo con código (como Xara): «🌐 ES». */
.opnv-lang-current-code {
  margin-left: 0.3em;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.opnv-lang-current {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
}

/* Pestaña fija abajo (como el selector flotante de Rank Math). */
.opnv-lang-tab {
  position: fixed;
  bottom: 0;
  z-index: 100085;
  font-size: var(--opnv-lang-font, 1rem);
}
.opnv-lang-tab--right { right: 24px; }
.opnv-lang-tab--left { left: 24px; }
.opnv-lang-tab__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  min-width: 180px;
  padding: 0.6em 1em;
  border: 0;
  border-radius: 10px 10px 0 0;
  background: var(--opnv-lang-btn-bg, #1f2937);
  color: var(--opnv-lang-btn-text, #fff);
  box-shadow: 0 -2px 14px rgba(15, 23, 42, 0.18);
  font: inherit;
  cursor: pointer;
}
.opnv-lang-tab__toggle .opnv-lang-caret { margin-left: auto; transition: transform 0.2s; }
.opnv-lang-tab__list {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  margin: 0;
  padding: 0.35em 0;
  list-style: none;
  max-height: 60vh;
  overflow-y: auto;
  background: var(--opnv-lang-btn-bg, #1f2937);
  border-radius: 10px 10px 0 0;
  box-shadow: 0 -6px 18px rgba(15, 23, 42, 0.18);
}
.opnv-lang-tab:hover .opnv-lang-tab__list,
.opnv-lang-tab:focus-within .opnv-lang-tab__list,
.opnv-lang-tab.is-open .opnv-lang-tab__list { display: block; }
.opnv-lang-tab:hover .opnv-lang-tab__toggle,
.opnv-lang-tab.is-open .opnv-lang-tab__toggle { border-radius: 0; }
.opnv-lang-tab.is-open .opnv-lang-caret { transform: rotate(180deg); }
.opnv-lang-tab__list a {
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.45em 1em;
  color: var(--opnv-lang-menu-text, #fff);
  text-decoration: none;
}
.opnv-lang-tab__list a:hover,
.opnv-lang-tab__list a:focus { background: rgba(127, 127, 127, 0.15); }
.opnv-lang-tab__list .is-current a { font-weight: 700; box-shadow: inset 3px 0 0 var(--opnv-lang-accent, #3b82f6); }
.opnv-lang-tab--mobile-only { display: none; }

/* Móvil */
@media (max-width: 640px) {
  /* Una sola fila que se desliza con el dedo, en vez de varias filas de botones. */
  .opnv-lang-bar--mobile-scroll .opnv-lang-list {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.35rem 0.75rem;
    min-height: 0;
  }
  .opnv-lang-bar--mobile-scroll .opnv-lang-list::-webkit-scrollbar { display: none; }
  .opnv-lang-bar--mobile-scroll .opnv-lang-item { flex: 0 0 auto; }
  /* La barra se cambia por la pestaña de abajo. */
  .opnv-lang-bar--mobile-tab { display: none !important; }
  .opnv-lang-tab--mobile-only { display: block; }
  .opnv-lang-tab--right { right: 12px; }
  .opnv-lang-tab--left { left: 12px; }
  .opnv-lang-tab__toggle { min-width: 150px; }
}

.opnv-lang-switcher--card-small .opnv-lang-item a { font-size: 0.85em; }
.opnv-lang-switcher--card-large .opnv-lang-item a { font-size: 1.15em; padding: 0.8rem; }

.opnv-focus-ring{fill:none;stroke:#111827;stroke-width:2;stroke-dasharray:4 3;display:none;pointer-events:none;}
.opnv-lang-explorer__tooltip{position:fixed;background:#111827;color:#fff;padding:6px 10px;border-radius:8px;z-index:20;}
@media (prefers-reduced-motion: reduce){.opnv-region{animation:none !important;transition:none !important;}}

.opnv-lang-explorer__culture{display:none}
.opnv-lang-explorer.is-culture .opnv-lang-explorer__culture{display:block}
.opnv-lang-explorer__culture-toggle:focus-visible,.opnv-region:focus-visible{outline:3px solid #facc15;outline-offset:2px}

/* ── Phones: the language explorer (search and list first, the world on demand) ─────────────── */
@media (hover: none) and (pointer: coarse) {
  /* Keyboard shortcuts mean nothing on a touch screen. */
  .opnv-lang-explorer__keys { display: none; }
}
@media (max-width: 640px) {
  .opnv-lang-menu-aside-host--mobile .opnv-lang-current-flag .opnv-lang-flag--img { width: 22px; height: 15px; }
  .opnv-lang-menu-aside-host--mobile .opnv-lang-current-code { font-size: 13px; }
  .opnv-lang-mega-panel--explorer { padding: 0.75rem 0.5rem; }
  .opnv-lang-mega-panel--explorer .opnv-lang-modal-title { margin-bottom: 0.5rem; font-size: 1.1rem; }
  .opnv-lang-mega-panel--explorer .opnv-lang-explorer { padding: 0.75rem; max-height: calc(100vh - 4.5rem); border-radius: 12px; gap: 6px; }
  /* The search stays at the top while the list scrolls. */
  .opnv-lang-explorer .opnv-lang-explorer__search { position: sticky; top: -0.75rem; z-index: 5; background: #fff; box-shadow: 0 6px 8px -6px rgba(15, 23, 42, 0.18); }
  /* Cultural notes: a small link, and per language («ⓘ»), not all of them open. */
  .opnv-lang-explorer__culture-toggle { justify-self: start; border: 0; background: none; padding: 0; font-size: 0.85em; text-decoration: underline; color: inherit; opacity: 0.8; }
  .opnv-lang-explorer.is-culture .opnv-lang-explorer__culture { display: none; }
  .opnv-lang-explorer.is-culture .opnv-lang-explorer__item.is-info-open .opnv-lang-explorer__culture { display: block; grid-column: 1 / -1; font-size: 0.85em; padding: 4px 8px 8px; }
  .opnv-lang-explorer.is-culture .opnv-explorer-info { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin: 0 8px; border: 1.5px solid currentColor; border-radius: 50%; background: none; font: italic 700 13px/1 Georgia, serif; color: inherit; opacity: 0.55; cursor: pointer; }
  .opnv-lang-explorer.is-culture .opnv-explorer-info[aria-expanded="true"] { opacity: 1; background: var(--opnv-lang-accent, #3b82f6); border-color: var(--opnv-lang-accent, #3b82f6); color: #fff; }
  /* The world folded behind «Ver en el mapa»; smaller when open. */
  .opnv-explorer-world-toggle { display: inline-flex; justify-self: start; align-items: center; gap: 6px; border: 1px solid #cbd5e1; border-radius: 999px; background: #fff; padding: 6px 14px; font: inherit; font-size: 0.9em; color: inherit; cursor: pointer; }
  .opnv-explorer-world-toggle::before { content: "🌐"; }
  .opnv-lang-explorer:not(.is-world-open) .opnv-lang-explorer__stage > :not(.opnv-explorer-world-toggle):not(.opnv-lang-explorer__country) { display: none !important; }
  .opnv-lang-explorer .opnv-lang-explorer__svg--map,
  .opnv-lang-explorer .opnv-lang-explorer__svg--globe,
  .opnv-lang-mega-panel--explorer .opnv-lang-explorer__svg--map,
  .opnv-lang-mega-panel--explorer .opnv-lang-explorer__svg--globe { height: min(34vh, 240px); width: 100%; max-width: none; }
  /* One column of compact rows: own name and translated name on one line, the variants on one short line. */
  .opnv-lang-explorer .opnv-lang-explorer__list,
  .opnv-lang-mega-panel--explorer .opnv-lang-explorer__list { grid-template-columns: 1fr; gap: 0; max-height: none; }
  .opnv-lang-explorer__item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; border-bottom: 1px solid #f1f5f9; }
  .opnv-lang-explorer__item > a { flex-direction: row; align-items: center; gap: 10px; padding: 10px 6px; min-height: 44px; box-sizing: border-box; }
  .opnv-lang-explorer__item .opnv-lang-explorer__text { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 8px; row-gap: 0; }
  .opnv-lang-explorer__item .opnv-lang-localized { font-size: 0.85em; }
  .opnv-explorer-variants { flex-basis: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .opnv-lang-explorer__groups { gap: 8px; }
  /* The country card: a sheet over the list, with its own close. */
  .opnv-lang-explorer__country { position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 100095; max-height: 50vh; overflow-y: auto; background: #fff; box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.25); padding: 12px 14px 14px; }
  .opnv-explorer-card-close { display: inline-flex; position: absolute; top: 6px; right: 6px; width: 36px; height: 36px; align-items: center; justify-content: center; border: 0; background: none; font-size: 22px; color: inherit; cursor: pointer; }
}
