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

:root {
  --cz-sidebar-width: 248px;
  --cz-sidebar-accent: #FFCC00;
  --cz-sidebar-active: rgba(7, 26, 31, 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);
  font-family: Montserrat, sans-serif;
}

.faq-container > h2,
.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: right;
  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;
}

.updated-date {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px auto;
  max-width: 100%;
  height: auto;
  padding: 18px 30px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ref-text);
  background-color: var(--ref-page-bg);
  background-image:
    linear-gradient(
      rgba(10, 26, 51, 0.62),
      rgba(10, 26, 51, 0.62)
    ),
    radial-gradient(
      ellipse 85% 110% at 50% 50%,
      var(--ref-elevated) 0%,
      var(--ref-elevated) 18%,
      var(--ref-table-zebra-dark) 42%,
      var(--ref-page-bg) 72%,
      var(--ref-page-bg) 100%
    ),
    url('updated-date-bg.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -10px 24px rgba(0, 0, 0, 0.28);
    text-align: center;
}

.updated-date span {
  color: inherit;
}

.updated-date img {
  flex-shrink: 0;
}

.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: mismo aspecto elevado sin depender solo de variables planas ref-theme */
.entry-content .main-text .faq-container {
  box-sizing: border-box;
  background-color: #122844;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-top: 2px solid var(--ref-accent);
  border-radius: 12px;
  padding: 1.5rem 1.35rem;
  margin-top: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  color: #d1d1d1;
}

.entry-content .main-text .faq-container > h2 {
  margin: 0 0 1.15rem 0;
  padding: 0 0 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.entry-content .main-text .faq-item {
  padding: 0;
  margin: 0 0 0.75rem 0;
  background-color: var(--ref-elevated);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  box-shadow: none;
}

.entry-content .main-text .faq-item:last-of-type {
  margin-bottom: 0;
}

.entry-content .main-text .faq-item h3,
.entry-content .main-text .faq-question {
  color: var(--ref-text);
}

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

.entry-content .main-text .faq-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  line-height: 1.55;
}

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

  #secondary hr {
    background: rgba(0, 191, 255, 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;
  }

  .main-text .table-container > table {
    min-width: 0;
    width: 100%;
  }

  #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;
  }
}

/* 404 */
.error-404 {
  padding: 2rem 0 3rem;
  max-width: 42rem;
}

.error-404__title {
  margin: 0 0 1rem;
  color: var(--ref-accent, #FFCC00);
  font-family: Montserrat, sans-serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
}

.error-404__text {
  margin: 0 0 1.5rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.error-404__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.error-404__search-label {
  margin: 0;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.error-404 .search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.error-404 .search-form label {
  flex: 1 1 12rem;
  min-width: 0;
}

.error-404 .search-form input[type="search"] {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(57, 255, 20, 0.35);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
}

.error-404 .search-form input[type="submit"] {
  padding: 0.5rem 1rem;
  border: 1px solid var(--ref-accent, #FFCC00);
  border-radius: 6px;
  background: transparent;
  color: var(--ref-accent, #FFCC00);
  font-weight: 600;
  cursor: pointer;
}

.error-404__home-wrap {
  margin: 0.5rem 0 0;
}

.error-404__home {
  display: inline-block;
  font-weight: 600;
  color: var(--ref-accent, #FFCC00);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.error-404__home:hover,
.error-404__home:focus-visible {
  color: #fff;
}
