/* Casino Admiral Bet: tokens --ref-* (carga después de style.css vía wp_enqueue) */

:root {
  /* Admiral Bet: navy, yellow register, green hero CTA, cyan accents */
  --ref-cta: #FFCC00;
  --ref-hero-cta: #00FF66;
  --ref-promo: #FFCC00;
  --ref-promo-strong: #FFEC60;
  --ref-header-bg: #002454;
  --ref-sidebar-bg: #0a1a33;
  --ref-sidebar-hover: #122844;
  --ref-accent: #00BFFF;
  --ref-accent-strong: #00BFFF;
  --ref-login-bg: transparent;
  --ref-login-accent: #FFFFFF;
  --ref-text: #ffffff;
  --ref-text-muted: rgba(255, 255, 255, 0.72);
  --ref-page-bg: #000B1D;
  --ref-elevated: #0a1a33;
  --ref-table-header-bg: #ffffff;
  --ref-table-header-text: #000B1D;
  --ref-table-zebra-dark: #0a1a33;
  --ref-table-zebra-light: #ffffff;
  --ref-table-text-on-dark: #ffffff;
  --ref-table-text-on-light: #000B1D;
  --ref-table-link: #00BFFF;
  /* Tarjeta tipo referencia (div.table-container > table) */
  --ref-table-card-radius: 10px;
  --ref-table-card-shadow: 0 4px 24px rgba(0, 0, 0, 0.32);
  --ref-table-card-header-bg: linear-gradient(180deg, #123a6b 0%, #002454 100%);
  --ref-table-card-header-text: #ffffff;
  --ref-table-card-body-bg: #ffffff;
  --ref-table-card-row-border: rgba(0, 36, 84, 0.12);
  --ref-table-toggle-bg: var(--ref-cta);
  --ref-table-toggle-border: var(--ref-cta);
  --ref-table-toggle-text: #000000;
  --ref-table-toggle-hover-bg: var(--ref-promo-strong);
  /* Tipografía (Inter — Google Fonts, handle inter-font en functions.php) */
  --ref-font-inter: 'Inter', sans-serif;
  --ref-font-montserrat: 'Montserrat', sans-serif;
}

/* --- Contenido principal --- */

p {
  display: inline-block;
}

/* Contenido del artículo (.main-content / .main-text): los <p> deben ser block para que el texto rodee .img-left / .img-right (float). El inline-block global de arriba rompe el flujo. */
.entry-content .main-content p,
.main-content p,
.entry-content .main-text p,
.main-text p,
.acf-free-content .main-text p {
  display: block;
}

.main-content,
.main-text {
  display: flow-root;
  min-width: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.entry-content .main-text > h1,
.entry-content .main-text > h2,
.entry-content .main-text > h3,
.entry-content .main-text > h4,
.entry-content .main-text > h5,
.entry-content .main-text > h6,
.main-text > h1,
.main-text > h2,
.main-text > h3,
.main-text > h4,
.main-text > h5,
.main-text > h6 {
  margin-bottom: 20px;
}

@media (min-width: 994px) {
  .main-content .img-right,
  .main-content img.img-right,
  .main-text .img-right,
  .main-text img.img-right {
    float: right;
    margin-left: 3rem;
    margin-bottom: 1.5rem;
    max-width: min(600px, 50%);
    width: auto;
    height: auto;
  }

  .main-content .img-left,
  .main-content img.img-left,
  .main-text .img-left,
  .main-text img.img-left {
    float: left;
    margin-right: 3rem;
    margin-bottom: 1.5rem;
    max-width: min(600px, 50%);
    width: auto;
    height: auto;
  }

  .main-content p:has(img.img-right:only-child),
  .main-content p:has(img.img-left:only-child),
  .main-text p:has(img.img-right:only-child),
  .main-text p:has(img.img-left:only-child) {
    margin-bottom: 0;
  }
}
@media (max-width: 1380px) {
  .main-content {
    max-width: 70vw;
  }
}
@media (max-width: 993px) {
  .main-content .img-right,
  .main-content .img-left,
  .main-content img.img-right,
  .main-content img.img-left,
  .main-text .img-right,
  .main-text .img-left,
  .main-text img.img-right,
  .main-text img.img-left {
    float: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
    max-width: 100%;
  }
}

/* --- Shell de página --- */

#content.site-content {
  padding-top: 30px;
  box-sizing: border-box;
  background: var(--ref-page-bg);
  background-color: var(--ref-page-bg);
}
@media (max-width: 921px) {

  .main-content h1, .main-content h2, .main-content h3, .main-content h4, .main-content h5, .main-content h6 {
    margin-bottom: 20px;
  }

  .main-content {
    max-width: 100vw;
  }

  #content.site-content {
    padding: 30px 0 0;
  }
}
body,
.cdl-primary-header-bar,
#page {
  background: var(--ref-page-bg);
  background-color: var(--ref-page-bg);
  background-image: none;
}

/* --- Cabecera --- */

.cdl-container {
  background: transparent;
}

header {
  background-color: var(--ref-header-bg);
  box-shadow: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-menu a,
.switcher-title,
.switcher-left-title,
.missions-button .missions-title {
  color: var(--ref-text);
}
.switcher-container {
  background-color: rgba(255, 255, 255, 0.08);
}
.register-button,
.register-button:hover,
.missions-button,
.missions-button:hover {
  background: var(--ref-cta);
  border-color: var(--ref-cta);
  color: #000000;
  box-shadow: none;
}
.register-bonus,
.bonus {
  background-color: var(--ref-promo);
  color: #000000;
}
.login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 2px solid var(--ref-login-accent);
  border-radius: 999px;
  background: var(--ref-login-bg);
  color: var(--ref-login-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 10px 26px;
  font-family: Montserrat, sans-serif;
  text-decoration: none;
}
.login-button:hover {
  background: rgba(0, 191, 255, 0.14);
  color: #7fe8ff;
  border-color: #66d9ff;
}
.offcanvas {
  background: var(--ref-header-bg);
}
.offcanvas .header-menu a,
.offcanvas .switcher-title,
.offcanvas .switcher-left-title {
  color: var(--ref-text);
}
.offcanvas-close {
  color: var(--ref-text);
}

/* --- Sidebar --- */

.cdl-left-sidebar #secondary,
#secondary,
.widget-area.secondary {
  background-color: var(--ref-sidebar-bg);
  background: var(--ref-sidebar-bg);
}
@media screen and (min-width: 922px) {
  #secondary aside.widget_media_image:not(#block-9) {
    border-left: 3px solid transparent;
    box-sizing: border-box;
  }
  #secondary aside.widget_media_image:not(#block-9):hover {
    border-left-color: var(--ref-accent);
    background-color: rgba(0, 0, 0, 0.2);
  }
}
.first-btn,
.first-btn:hover {
  background: var(--ref-cta);
  border-color: var(--ref-cta);
  color: #000000;
}
.lang-switch-container,
.lang-switch-container:hover,
.lang-dropdown {
  background: var(--ref-accent);
  color: #000000;
}
.header-left-buttons {
  background: rgba(255, 255, 255, 0.06);
}
.header-left-buttons div:first-child {
  background: rgba(0, 191, 255, 0.18);
}
.header-bg-bottom {
  background: var(--ref-elevated);
  background-image: none;
  border: none;
  max-width: 1400px;
  margin: 0 auto;
}
.header-bg-bottom-content .small-content {
  color: var(--ref-text-muted);
}
.header-bg-bottom-content .big-content {
  color: var(--ref-text);
}
.app-banner {
  background: var(--ref-elevated);
  border: none;
  box-shadow: none;
}
.app-banner-label {
  background: var(--ref-cta);
  border-color: #000;
  color: #000;
}
.app-banner .app-banner-label-title,
.app-banner .app-banner-label-verify {
  color: #000;
}
.block-support {
  background: var(--ref-elevated);
  border: none;
  box-shadow: none;
}
.block-support,
.title-support-text,
.support-description {
  color: var(--ref-text);
}
.section-support .support-description {
  color: var(--ref-text-muted);
  font-weight: 400;
  font-size: 0.92rem;
  line-height: 1.55;
}
.social-icon-button {
  background: var(--ref-cta);
}
.section-support .title-support {
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}
.section-support .block-support {
  text-align: left;
}
.cdl-mobile-popup-drawer.active .cdl-mobile-popup-inner {
  background: var(--ref-header-bg);
}
.cdl-mobile-popup-inner a.menu-link {
  color: var(--ref-text);
}
.cdl-mobile-popup-inner .current-menu-item .menu-link {
  color: var(--ref-accent);
}

/* --- Pie de página --- */

.site-footer {
  background: var(--ref-header-bg);
  background-image: none;
}
.site-footer > div {
  background: transparent;
}
.footer-menu li a {
  color: var(--ref-text-muted);
}
.site-footer.cz-footer .footer-menu li a {
  color: var(--ref-accent);
}
.footer-menu li a:hover {
  color: var(--ref-accent);
  text-decoration: none;
}
.site-footer.cz-footer .footer-menu li a:hover {
  color: var(--ref-cta);
}
.contact-title,
.contact-description,
.footer-contact a,
.footer-contact a span,
.social-container .copyright,
.bootom-left .copyright,
.bottom-right .copyright,
.footer-language span,
.social-top-text,
.social-bottom-text {
  color: var(--ref-text);
}
.social-container span:not(.copyright) {
  color: rgba(255, 255, 255, 0.75);
}
.license {
  color: rgba(255, 255, 255, 0.85);
}
.footer-contact a:hover {
  color: var(--ref-text);
}
.main-text a:not(.login-button):not(.register-button):not(.missions-button),
.entry-content a:not(.login-button):not(.register-button):not(.missions-button) {
  color: var(--ref-accent);
}
.main-text a:not(.login-button):not(.register-button):not(.missions-button):hover,
.entry-content a:not(.login-button):not(.register-button):not(.missions-button):hover {
  color: var(--ref-text);
}

/* --- Botones CTA --- */

.register .second-btn,
.register .second-btn:hover {
  background: var(--ref-hero-cta);
  background-image: none;
  border-color: var(--ref-hero-cta);
  color: #000000;
}

.app-banner-button,
.app-banner-button:hover {
  background: linear-gradient(180deg, #FFEC60 0%, #FFE100 100%);
  background-image: linear-gradient(180deg, #FFEC60 0%, #FFE100 100%);
  border-color: #FFE100;
  color: #000000;
}

.app-banner-button:hover {
  background: linear-gradient(180deg, #FFE100 0%, #FFEC60 100%);
  background-image: linear-gradient(180deg, #FFE100 0%, #FFEC60 100%);
}
.primary-button,
.primary-button:hover {
  background: var(--ref-cta);
  background-image: none;
  border-color: var(--ref-cta);
  color: #000000;
}
table thead th {
  border-bottom-color: transparent;
}
.main-text h2,
.entry-content .main-text h2 {
  color: var(--ref-text);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
}

.payment-methods br {
  display: none;
}
/* Tablas: cabecera gris suave, zebra claro, sin marcos (estilo 888) */
.entry-content .table-container,
.main-text .table-container {
  overflow-x: auto;
  max-width: 100%;
  min-width: 0;
  margin: 1.5rem 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  outline: none;
}
.entry-content .table-container .responsive-table-component,
.main-text .table-container .responsive-table-component {
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}
.entry-content .table-container .responsive-table-component table.grey-white,
.main-text .table-container .responsive-table-component table.grey-white {
  width: auto;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  border: 0;
  outline: 0;
  border-spacing: 0;
  border-collapse: collapse;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
.entry-content .table-container .responsive-table-component table.grey-white thead,
.entry-content .table-container .responsive-table-component table.grey-white tbody,
.main-text .table-container .responsive-table-component table.grey-white thead,
.main-text .table-container .responsive-table-component table.grey-white tbody {
  background: transparent;
  border: none;
}
.entry-content .table-container .responsive-table-component table.grey-white thead tr,
.entry-content .table-container .responsive-table-component table.grey-white tbody tr,
.main-text .table-container .responsive-table-component table.grey-white thead tr,
.main-text .table-container .responsive-table-component table.grey-white tbody tr {
  border: none;
}
.entry-content .table-container .responsive-table-component table.grey-white thead th,
.main-text .table-container .responsive-table-component table.grey-white thead th {
  background-color: var(--ref-table-zebra-light);
  color: var(--ref-table-text-on-light);
  border: none;
  box-shadow: none;
  font-weight: 700;
}
.entry-content .table-container .responsive-table-component table.grey-white tbody tr:nth-child(odd) th,
.entry-content .table-container .responsive-table-component table.grey-white tbody tr:nth-child(odd) td,
.main-text .table-container .responsive-table-component table.grey-white tbody tr:nth-child(odd) th,
.main-text .table-container .responsive-table-component table.grey-white tbody tr:nth-child(odd) td {
  background-color: var(--ref-table-zebra-dark);
  color: var(--ref-table-text-on-dark);
  border: none;
  box-shadow: none;
}
.entry-content .table-container .responsive-table-component table.grey-white tbody tr:nth-child(even) th,
.entry-content .table-container .responsive-table-component table.grey-white tbody tr:nth-child(even) td,
.main-text .table-container .responsive-table-component table.grey-white tbody tr:nth-child(even) th,
.main-text .table-container .responsive-table-component table.grey-white tbody tr:nth-child(even) td {
  background-color: var(--ref-table-zebra-light);
  color: var(--ref-table-text-on-light);
  border: none;
  box-shadow: none;
}
.entry-content .table-container .responsive-table-component table.grey-white tbody tr:nth-child(odd) b,
.entry-content .table-container .responsive-table-component table.grey-white tbody tr:nth-child(odd) span,
.entry-content .table-container .responsive-table-component table.grey-white tbody tr:nth-child(odd) strong,
.main-text .table-container .responsive-table-component table.grey-white tbody tr:nth-child(odd) b,
.main-text .table-container .responsive-table-component table.grey-white tbody tr:nth-child(odd) span,
.main-text .table-container .responsive-table-component table.grey-white tbody tr:nth-child(odd) strong {
  color: var(--ref-table-text-on-dark);
}
.entry-content .table-container .responsive-table-component table.grey-white tbody tr:nth-child(even) b,
.entry-content .table-container .responsive-table-component table.grey-white tbody tr:nth-child(even) span,
.entry-content .table-container .responsive-table-component table.grey-white tbody tr:nth-child(even) strong,
.main-text .table-container .responsive-table-component table.grey-white tbody tr:nth-child(even) b,
.main-text .table-container .responsive-table-component table.grey-white tbody tr:nth-child(even) span,
.main-text .table-container .responsive-table-component table.grey-white tbody tr:nth-child(even) strong {
  color: var(--ref-table-text-on-light);
}
.entry-content .table-container .responsive-table-component table.grey-white th,
.entry-content .table-container .responsive-table-component table.grey-white td,
.main-text .table-container .responsive-table-component table.grey-white th,
.main-text .table-container .responsive-table-component table.grey-white td {
  padding: 1rem 1.35rem;
  vertical-align: middle;
  font-size: 14px;
  line-height: 1.45;
  white-space: normal;
}
.entry-content .table-container .responsive-table-component table.grey-white thead th,
.main-text .table-container .responsive-table-component table.grey-white thead th {
  border-bottom: none;
}
.entry-content .table-container .responsive-table-component table.grey-white tbody tr td,
.entry-content .table-container .responsive-table-component table.grey-white tbody tr th,
.main-text .table-container .responsive-table-component table.grey-white tbody tr td,
.main-text .table-container .responsive-table-component table.grey-white tbody tr th {
  border-bottom: none;
}
.entry-content .table-container .responsive-table-component table.grey-white tr.w-50-50 td:first-child,
.entry-content .table-container .responsive-table-component table.grey-white tr.w-50-50 th:first-child,
.main-text .table-container .responsive-table-component table.grey-white tr.w-50-50 td:first-child,
.main-text .table-container .responsive-table-component table.grey-white tr.w-50-50 th:first-child {
  width: 50%;
}
.entry-content .table-container .responsive-table-component table.grey-white tr.w-50-50 td:nth-child(2),
.entry-content .table-container .responsive-table-component table.grey-white tr.w-50-50 th:nth-child(2),
.main-text .table-container .responsive-table-component table.grey-white tr.w-50-50 td:nth-child(2),
.main-text .table-container .responsive-table-component table.grey-white tr.w-50-50 th:nth-child(2) {
  width: 50%;
}
.entry-content .table-container .responsive-table-component table.grey-white tbody tr:nth-child(odd) a,
.main-text .table-container .responsive-table-component table.grey-white tbody tr:nth-child(odd) a,
.entry-content .table-container .responsive-table-component table.grey-white tbody tr:nth-child(even) a,
.main-text .table-container .responsive-table-component table.grey-white tbody tr:nth-child(even) a {
  color: var(--ref-table-link);
}
.entry-content .table-container .responsive-table-component table.grey-white tbody tr:nth-child(odd):hover th,
.entry-content .table-container .responsive-table-component table.grey-white tbody tr:nth-child(odd):hover td,
.main-text .table-container .responsive-table-component table.grey-white tbody tr:nth-child(odd):hover th,
.main-text .table-container .responsive-table-component table.grey-white tbody tr:nth-child(odd):hover td {
  filter: brightness(0.96);
}
.entry-content .table-container .responsive-table-component table.grey-white tbody tr:nth-child(even):hover th,
.entry-content .table-container .responsive-table-component table.grey-white tbody tr:nth-child(even):hover td,
.main-text .table-container .responsive-table-component table.grey-white tbody tr:nth-child(even):hover th,
.main-text .table-container .responsive-table-component table.grey-white tbody tr:nth-child(even):hover td {
  filter: brightness(0.96);
}
.entry-content .table-container .responsive-table-component table.grey-white tbody tr:hover {
  background-color: transparent;
}

/* Tablas dentro del ancho del artículo: scroll horizontal si hace falta + celdas que parten líneas */
.entry-content .table-2,
.main-text .table-2,
.main-content .table-2 {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.entry-content .table-2 .table-container,
.main-text .table-2 .table-container,
.main-content .table-2 .table-container {
  max-width: 100%;
  min-width: 0;
}

.entry-content .table-container th,
.entry-content .table-container td,
.main-text .table-container th,
.main-text .table-container td {
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.main-content .table-container .responsive-table-component table.grey-white {
  width: 100%;
  max-width: 100%;
}

/* Tablas directas: div.table-container > table — tarjeta, cabecera estilo sitio, cuerpo claro */
.entry-content .table-container > table,
.main-text .table-container > table,
.main-content .table-container > table {
  width: 100%;
  max-width: 100%;
  margin: 0;
  border: 0;
  outline: 0;
  border-spacing: 0;
  border-collapse: separate;
  background: var(--ref-table-card-body-bg);
  box-shadow: var(--ref-table-card-shadow);
  border-radius: var(--ref-table-card-radius);
  overflow: hidden;
  font-family: Montserrat, sans-serif;
}
.entry-content .table-container > table thead th,
.main-text .table-container > table thead th,
.main-content .table-container > table thead th {
  background: var(--ref-table-card-header-bg);
  color: var(--ref-table-card-header-text);
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 800;
  padding: 1rem 1rem;
  vertical-align: middle;
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.entry-content .table-container > table thead tr,
.main-text .table-container > table thead tr,
.main-content .table-container > table thead tr,
.entry-content .table-container > table tbody tr,
.main-text .table-container > table tbody tr,
.main-content .table-container > table tbody tr {
  border: none;
}
.entry-content .table-container > table tbody tr:nth-child(odd) th,
.entry-content .table-container > table tbody tr:nth-child(odd) td,
.main-text .table-container > table tbody tr:nth-child(odd) th,
.main-text .table-container > table tbody tr:nth-child(odd) td,
.main-content .table-container > table tbody tr:nth-child(odd) th,
.main-content .table-container > table tbody tr:nth-child(odd) td {
  background-color: var(--ref-table-card-body-bg);
  color: var(--ref-table-text-on-light);
  border: none;
  border-bottom: 1px solid var(--ref-table-card-row-border);
  padding: 1rem 1rem;
  vertical-align: middle;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}
.entry-content .table-container > table tbody tr:nth-child(even) th,
.entry-content .table-container > table tbody tr:nth-child(even) td,
.main-text .table-container > table tbody tr:nth-child(even) th,
.main-text .table-container > table tbody tr:nth-child(even) td,
.main-content .table-container > table tbody tr:nth-child(even) th,
.main-content .table-container > table tbody tr:nth-child(even) td {
  background-color: var(--ref-table-card-body-bg);
  color: var(--ref-table-text-on-light);
  border: none;
  border-bottom: 1px solid var(--ref-table-card-row-border);
  padding: 1rem 1rem;
  vertical-align: middle;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}
.entry-content .table-container > table tbody tr:last-child th,
.entry-content .table-container > table tbody tr:last-child td,
.main-text .table-container > table tbody tr:last-child th,
.main-text .table-container > table tbody tr:last-child td,
.main-content .table-container > table tbody tr:last-child th,
.main-content .table-container > table tbody tr:last-child td {
  border-bottom: none;
}

.entry-content .table-container > table thead th:first-child,
.main-text .table-container > table thead th:first-child,
.main-content .table-container > table thead th:first-child {
  border-top-left-radius: var(--ref-table-card-radius);
}

.entry-content .table-container > table thead th:last-child,
.main-text .table-container > table thead th:last-child,
.main-content .table-container > table thead th:last-child {
  border-top-right-radius: var(--ref-table-card-radius);
}

.entry-content .table-container > table tbody tr:last-child td:first-child,
.entry-content .table-container > table tbody tr:last-child th:first-child,
.main-text .table-container > table tbody tr:last-child td:first-child,
.main-text .table-container > table tbody tr:last-child th:first-child,
.main-content .table-container > table tbody tr:last-child td:first-child,
.main-content .table-container > table tbody tr:last-child th:first-child {
  border-bottom-left-radius: var(--ref-table-card-radius);
}

.entry-content .table-container > table tbody tr:last-child td:last-child,
.entry-content .table-container > table tbody tr:last-child th:last-child,
.main-text .table-container > table tbody tr:last-child td:last-child,
.main-text .table-container > table tbody tr:last-child th:last-child,
.main-content .table-container > table tbody tr:last-child td:last-child,
.main-content .table-container > table tbody tr:last-child th:last-child {
  border-bottom-right-radius: var(--ref-table-card-radius);
}
.entry-content .table-container > table tbody tr:nth-child(odd) b,
.entry-content .table-container > table tbody tr:nth-child(odd) span,
.entry-content .table-container > table tbody tr:nth-child(odd) strong,
.main-text .table-container > table tbody tr:nth-child(odd) b,
.main-text .table-container > table tbody tr:nth-child(odd) span,
.main-text .table-container > table tbody tr:nth-child(odd) strong,
.main-content .table-container > table tbody tr:nth-child(odd) b,
.main-content .table-container > table tbody tr:nth-child(odd) span,
.main-content .table-container > table tbody tr:nth-child(odd) strong {
  color: var(--ref-table-text-on-light);
}
.entry-content .table-container > table tbody tr:nth-child(even) b,
.entry-content .table-container > table tbody tr:nth-child(even) span,
.entry-content .table-container > table tbody tr:nth-child(even) strong,
.main-text .table-container > table tbody tr:nth-child(even) b,
.main-text .table-container > table tbody tr:nth-child(even) span,
.main-text .table-container > table tbody tr:nth-child(even) strong,
.main-content .table-container > table tbody tr:nth-child(even) b,
.main-content .table-container > table tbody tr:nth-child(even) span,
.main-content .table-container > table tbody tr:nth-child(even) strong {
  color: var(--ref-table-text-on-light);
}
.entry-content .table-container > table tbody tr:nth-child(odd) a,
.main-text .table-container > table tbody tr:nth-child(odd) a,
.main-content .table-container > table tbody tr:nth-child(odd) a,
.entry-content .table-container > table tbody tr:nth-child(even) a,
.main-text .table-container > table tbody tr:nth-child(even) a,
.main-content .table-container > table tbody tr:nth-child(even) a {
  color: var(--ref-table-link);
}

.entry-content .table-container:has(> table),
.main-text .table-container:has(> table),
.main-content .table-container:has(> table) {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.entry-content .table-container:has(> table) > table,
.main-text .table-container:has(> table) > table,
.main-content .table-container:has(> table) > table {
  width: 100%;
  align-self: stretch;
}

.entry-content .table-container > .table-container__toggle,
.main-text .table-container > .table-container__toggle,
.main-content .table-container > .table-container__toggle {
  display: none;
  box-sizing: border-box;
  margin: 1rem 0 0;
  padding: 10px 28px;
  min-width: 140px;
  border: 1px solid var(--ref-table-toggle-border);
  border-radius: 1000px;
  background: var(--ref-table-toggle-bg);
  color: var(--ref-table-toggle-text);
  font-family: Montserrat, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
}

.entry-content .table-container > .table-container__toggle:hover,
.main-text .table-container > .table-container__toggle:hover,
.main-content .table-container > .table-container__toggle:hover {
  background: var(--ref-table-toggle-hover-bg);
  border-color: var(--ref-table-toggle-hover-bg);
  color: var(--ref-table-toggle-text);
  filter: brightness(1.05);
}

.entry-content .table-container > .table-container__toggle:focus-visible,
.main-text .table-container > .table-container__toggle:focus-visible,
.main-content .table-container > .table-container__toggle:focus-visible {
  outline: 2px solid var(--ref-promo);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .entry-content .table-container:not(.table-container--is-expanded) > table tbody tr:nth-child(n + 4),
  .main-text .table-container:not(.table-container--is-expanded) > table tbody tr:nth-child(n + 4),
  .main-content .table-container:not(.table-container--is-expanded) > table tbody tr:nth-child(n + 4) {
    display: none;
  }

  .entry-content .table-container:not(.table-container--is-expanded) > table tbody tr:last-child td:first-child,
  .entry-content .table-container:not(.table-container--is-expanded) > table tbody tr:last-child th:first-child,
  .entry-content .table-container:not(.table-container--is-expanded) > table tbody tr:last-child td:last-child,
  .entry-content .table-container:not(.table-container--is-expanded) > table tbody tr:last-child th:last-child,
  .main-text .table-container:not(.table-container--is-expanded) > table tbody tr:last-child td:first-child,
  .main-text .table-container:not(.table-container--is-expanded) > table tbody tr:last-child th:first-child,
  .main-text .table-container:not(.table-container--is-expanded) > table tbody tr:last-child td:last-child,
  .main-text .table-container:not(.table-container--is-expanded) > table tbody tr:last-child th:last-child,
  .main-content .table-container:not(.table-container--is-expanded) > table tbody tr:last-child td:first-child,
  .main-content .table-container:not(.table-container--is-expanded) > table tbody tr:last-child th:first-child,
  .main-content .table-container:not(.table-container--is-expanded) > table tbody tr:last-child td:last-child,
  .main-content .table-container:not(.table-container--is-expanded) > table tbody tr:last-child th:last-child {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .entry-content .table-container:not(.table-container--is-expanded) > table tbody tr:nth-child(3) td:first-child,
  .entry-content .table-container:not(.table-container--is-expanded) > table tbody tr:nth-child(3) th:first-child,
  .main-text .table-container:not(.table-container--is-expanded) > table tbody tr:nth-child(3) td:first-child,
  .main-text .table-container:not(.table-container--is-expanded) > table tbody tr:nth-child(3) th:first-child,
  .main-content .table-container:not(.table-container--is-expanded) > table tbody tr:nth-child(3) td:first-child,
  .main-content .table-container:not(.table-container--is-expanded) > table tbody tr:nth-child(3) th:first-child {
    border-bottom-left-radius: var(--ref-table-card-radius);
  }

  .entry-content .table-container:not(.table-container--is-expanded) > table tbody tr:nth-child(3) td:last-child,
  .entry-content .table-container:not(.table-container--is-expanded) > table tbody tr:nth-child(3) th:last-child,
  .main-text .table-container:not(.table-container--is-expanded) > table tbody tr:nth-child(3) td:last-child,
  .main-text .table-container:not(.table-container--is-expanded) > table tbody tr:nth-child(3) th:last-child,
  .main-content .table-container:not(.table-container--is-expanded) > table tbody tr:nth-child(3) td:last-child,
  .main-content .table-container:not(.table-container--is-expanded) > table tbody tr:nth-child(3) th:last-child {
    border-bottom-right-radius: var(--ref-table-card-radius);
  }

  .entry-content .table-container:not(.table-container--is-expanded) > table tbody tr:nth-child(3) td,
  .entry-content .table-container:not(.table-container--is-expanded) > table tbody tr:nth-child(3) th,
  .main-text .table-container:not(.table-container--is-expanded) > table tbody tr:nth-child(3) td,
  .main-text .table-container:not(.table-container--is-expanded) > table tbody tr:nth-child(3) th,
  .main-content .table-container:not(.table-container--is-expanded) > table tbody tr:nth-child(3) td,
  .main-content .table-container:not(.table-container--is-expanded) > table tbody tr:nth-child(3) th {
    border-bottom: none;
  }

  .entry-content .table-container > .table-container__toggle.is-visible,
  .main-text .table-container > .table-container__toggle.is-visible,
  .main-content .table-container > .table-container__toggle.is-visible {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (min-width: 769px) {
  .entry-content .table-container > .table-container__toggle,
  .main-text .table-container > .table-container__toggle,
  .main-content .table-container > .table-container__toggle {
    display: none;
  }
}

/* --- Hero --- */

.header-bg-title {
  color: var(--ref-text);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}
.header-bg-bonus {
  color: var(--ref-promo);
}

.header-bg-button {
  background: var(--ref-hero-cta);
  background-image: none;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-color: var(--ref-hero-cta);
  color: #0a0a0a;
  animation: banner-button-pulse 1.6s ease-in-out infinite;
  transform-origin: center center;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
  will-change: transform;
}

.header-bg-button:hover {
  background: var(--ref-hero-cta);
  background-image: none;
  border-color: var(--ref-hero-cta);
  animation: none;
  color: #000;
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28), 0 0 20px rgba(0, 255, 102, 0.35);
}
.header-bg-button-main,
.header-bg-button-description {
  color: #0a0a0a;
  text-shadow: none;
}
@media (max-width: 768px) {
  .faq-container {
    padding: 0;
  }
  .login-button {
    padding: 10px 7px;
  }
  .header-bg-bottom {
    background: var(--ref-elevated);
    border: none;
  }
}

/* --- FAQ y texto --- */

.main-text p,
.main-text li,
.main-text ul,
.entry-content .main-text p,
.entry-content .main-text li {
  color: rgba(255, 255, 255, 0.92);
}
#primary,
.site-main,
.entry-content.clear {
  background-color: transparent;
  background-image: none;
}
.faq-container {
  background-color: transparent;
  color: var(--ref-text);
  border: none;
  box-shadow: none;
}
.faq-container h2 {
  color: var(--ref-text);
}
.faq-item {
  background-color: var(--ref-elevated);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}
.faq-item h3 {
  color: var(--ref-text);
}
.faq-item p,
.faq-item li,
.faq-item span {
  color: rgba(255, 255, 255, 0.88);
}
.app-banner-title,
.app-banner-description {
  color: var(--ref-text);
}
.footer-contact a:hover {
  color: var(--ref-accent);
}
.burger-button img {
  filter: brightness(0) invert(1);
}

.features-container .feature-card {
  border: none;
  box-shadow: none;
}
#block-18 {
  background-color: var(--ref-sidebar-bg);
}
