/* 22Bet: capa final (tras ref-theme.css). Variables --ref-* y --cz-* */

:root {
  --cz-sidebar-width: 248px;
  --cz-sidebar-accent: #33b35a;
  --cz-sidebar-active: rgba(1, 46, 46, 0.96);
}

.site-footer.cz-footer .cz-footer__grid-4.cz-footer__grid--3cols {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-footer.cz-footer .cz-footer__grid-4.cz-footer__grid--2cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#page > header {
  z-index: 10001;
}

a.logo-container {
  text-decoration: none;
  color: inherit;
}

.main-text h1,
.entry-content .main-text h1 {
  color: var(--ref-accent);
}

.faq-container > h2 {
  color: #012e2e;
  padding: 1.05rem 2.75rem 1.05rem 1.25rem;
}

.faq-question {
  color: var(--ref-accent);
}

.site-page__seo-note {
  margin: 1.25rem 0;
  padding: 0.75rem 1rem;
  border-left: 4px solid var(--ref-accent);
  background: rgba(255, 255, 255, 0.05);
  max-width: 100%;
}

.site-page__seo-note a {
  font-weight: 600;
}

.header-bg-bottom {
  border-radius: 0 0 8px 8px;
}

.header-bg-bottom .big-content {
  color: var(--ref-accent);
}

.header-bg-bottom .small-content {
  color: #d1d1d1;
  opacity: 0.9;
}

.big-content {
  font-weight: 700;
  text-transform: uppercase;
}

.small-content {
  font-weight: 600;
}

.entry-content .main-text .section-support,
.main-text .section-support {
  margin: 1.5rem 0;
  margin-left: 0;
  margin-right: 0;
  justify-content: flex-start;
  align-items: stretch;
  gap: 16px;
  max-width: none;
  flex-wrap: wrap;
}

.entry-content .main-text .section-support .block-support,
.main-text .section-support .block-support {
  flex: 1 1 0;
  min-width: min(240px, 100%);
}

.entry-content .main-text .section-support .support-description,
.main-text .section-support .support-description {
  display: block;
  text-align: left;
  margin: 0;
}

.entry-content .main-text .section-support .title-support,
.main-text .section-support .title-support {
  margin: 0 0 10px;
}

.entry-content .main-text .section-support .title-support img,
.main-text .section-support .title-support img {
  flex-shrink: 0;
}

/* Bloque «Aktualisiert» — pill en colores 22Bet (--ref-accent / teal) */
.updated-date {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: min(359px, 100%);
  margin-left: auto;
  margin-right: auto;
  min-height: 69px;
  margin-top: 30px;
  margin-bottom: 30px;
  padding: 14px 28px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--ref-font-montserrat, Montserrat, sans-serif);
  font-weight: 700;
  font-size: clamp(0.875rem, 2.5vw, 1.25rem);
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ref-text, #ffffff);
  background: linear-gradient(
    90deg,
    var(--ref-accent, #33b35a) 0%,
    var(--ref-accent-strong, #24a159) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 4px 20px rgba(51, 179, 90, 0.32);
}

.updated-date br {
  display: none;
}

.updated-date span {
  color: var(--ref-text, #ffffff);
  text-shadow: 0 1px 2px rgba(0, 26, 26, 0.35);
}

.updated-date img {
  flex-shrink: 0;
  display: block;
  width: 15px;
  height: 15px;
  margin: 0;
  object-fit: none;
}

.site-page__cta {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 2rem 0;
}

.site-page__cta .register-button {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
}

#secondary #block-11:active,
#secondary #block-12:active,
#secondary #block-14:active,
#secondary #block-15:active,
#secondary #block-17:active,
.sidebar-middle-container aside:active {
  background-color: var(--cz-sidebar-active);
  box-shadow: inset 3px 0 0 var(--cz-sidebar-accent);
}

/* FAQ: tarjeta clara tipo referencia, acento 22Bet en ítem abierto */
.entry-content .main-text .faq-container {
  background-color: #f4f6f6;
  border: 1px solid rgba(1, 46, 46, 0.14);
  border-top: 3px solid var(--ref-accent);
  color: #1a1a1a;
}

.entry-content .main-text .faq-container > h2 {
  color: #012e2e;
}

.entry-content .main-text .faq-item h3,
.entry-content .main-text .faq-question {
  color: #1a1a1a;
}

.entry-content .main-text .faq-item.is-open h3 {
  color: #ffffff;
}

.entry-content .main-text .faq-question:hover {
  text-decoration: none;
}

.entry-content .main-text .faq-item p {
  color: #333333;
  font-size: 0.95rem;
}

@media screen and (min-width: 922px) {
  .sidebar-main {
    position: sticky;
    top: 50px;
    max-height: calc(100vh - 50px);
  }

  #secondary hr {
    background: rgba(51, 179, 90, 0.22);
    height: 1px;
    border: none;
    width: auto;
    max-width: none;
    margin: 10px 0;
  }
}

@media (max-width: 921px) {
  .payment-methods img {
    max-width: 100%;
    height: auto;
  }

  #secondary #block-17 figcaption {
    color: rgba(255, 255, 255, 0.65);
  }
}

/*
 * #primary + footer offset con sidebar: functions.php →
 * builder_theme_sidebar_layout_inline_css cuando enable_sidebar está activo en la página.
 */
@media screen and (min-width: 922px) {
  body.cdl-left-sidebar {
    overflow-x: hidden;
  }
}