/* =========================================================
   Royal X Casino  - page.css
   Subpage patterns ported from y888: legal pages, the
   register/download layout, tabbed payment-method guides,
   data tables and the highlight callout  - recolored to this
   site's gold/wine palette.
   ========================================================= */

/* ── Legal / info pages ─────────────────────────────── */
.privacy-section,
.terms-section,
.about-section {
  background-color: #ffffff;
  padding: 36px 20px 70px;
  min-height: 50vh;
}

.privacy-container,
.terms-container,
.about-container {
  max-width: 1200px;
  margin: 0 auto;
}

.privacy-container h1,
.terms-container h1,
.about-container h1 {
  font-size: 30px;
  font-weight: 800;
  background: linear-gradient(115deg, var(--gold-dark) 15%, var(--gold) 45%, var(--wine) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold-dark);
  margin-bottom: 16px;
}

.privacy-container h2,
.terms-container h2,
.about-container h2 {
  display: inline-block;
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.25;
  margin-top: 26px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  position: relative;
  background: linear-gradient(110deg, var(--gold-dark) 10%, var(--gold) 50%, var(--wine) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold-dark);
}

.privacy-container h2::after,
.terms-container h2::after,
.about-container h2::after {
  content: "";
  position: absolute;
  left: 1px;
  bottom: 0;
  width: 40px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), var(--wine));
}

.privacy-container p,
.terms-container p,
.about-container p {
  font-size: 15px;
  line-height: 1.75;
  color: #333333;
  margin-bottom: 12px;
}

.privacy-container ul,
.terms-container ul,
.about-container ul {
  margin: 0 0 16px 20px;
}

.privacy-container ul li,
.terms-container ul li,
.about-container ul li {
  font-size: 15px;
  line-height: 1.75;
  color: #333333;
  margin-bottom: 6px;
}

.privacy-container a,
.terms-container a,
.about-container a {
  color: var(--gold-dark);
  text-decoration: none;
  font-weight: 600;
}

.privacy-container a:hover,
.terms-container a:hover,
.about-container a:hover {
  text-decoration: underline;
}

/* ── Register / Deposit / Withdraw / Download pages ──── */
.register-section,
.download-page-section {
  background-color: #ffffff;
  padding: 36px 20px 70px;
  min-height: 50vh;
}

.register-container,
.download-container {
  max-width: 1200px;
  margin: 0 auto;
}

.register-intro {
  font-size: 16px;
  line-height: 1.75;
  color: #333333;
  margin-bottom: 26px;
}

.register-intro a {
  color: var(--gold-dark);
  text-decoration: none;
  font-weight: 600;
}

.cta-wrapper {
  text-align: center;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.secondary-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 380px;
  background: #ffffff;
  color: var(--gold-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 32px;
  border-radius: 8px;
  border: 2px solid var(--gold);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.secondary-cta-btn:hover {
  background: var(--gold-tint);
}

.cta-wrapper .register-cta-btn,
.cta-wrapper .download-cta-btn {
  width: 100%;
  max-width: 380px;
}

.logo-box {
  text-align: center;
  margin: 26px 0;
}

.logo-box img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.screenshot-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 24px 0;
}

.screenshot-box img {
  max-width: 260px;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.how-to-title {
  display: inline-block;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.6px;
  line-height: 1.25;
  margin: 26px 0 18px;
  padding-bottom: 11px;
  position: relative;
  background: linear-gradient(110deg, var(--gold-dark) 10%, var(--gold) 50%, var(--wine) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold-dark);
}

.how-to-title::after {
  content: "";
  position: absolute;
  left: 1px;
  bottom: 0;
  width: 44px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gold), var(--wine));
}

.process-list {
  background-color: var(--gold-tint);
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 24px;
}

.process-list p {
  font-size: 15px;
  line-height: 1.7;
  color: #333333;
  margin-bottom: 10px;
}

.process-list p:last-child {
  margin-bottom: 0;
}

.process-list a {
  color: var(--gold-dark);
}

.app-details-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 20px 0 30px;
}

.app-details-table td {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.app-details-table td:first-child {
  font-weight: 600;
  color: #555555;
}

.app-details-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: #111111;
}

.comparison-table td {
  text-align: center;
  padding: 10px 8px;
}

.comparison-table td:first-child {
  text-align: left;
}

.comparison-table tr:first-child td {
  font-weight: 700;
  color: #111111;
  border-bottom: 2px solid #e0e0e0;
}

@media (max-width: 600px) {
  .privacy-container h1,
  .terms-container h1,
  .about-container h1 {
    font-size: 24px;
  }
}

/* ── Tabbed step-by-step guide (per payment method) ──── */
.guide-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 2px solid var(--border-light);
  margin-bottom: 28px;
}

.guide-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #777777;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.guide-tab-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.guide-tab-dot.ep {
  background: #00b900;
}

.guide-tab-dot.jc {
  background: #e53935;
}

.guide-tab-dot.bt {
  background: #1565c0;
}

.guide-tab.active {
  color: var(--gold-dark);
  border-bottom-color: var(--gold);
}

.guide-tab:hover {
  color: var(--gold-dark);
}

.guide-panel {
  display: none;
}

.guide-panel.active {
  display: block;
}

.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.guide-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid #f0f0f0;
}

.guide-step:last-child {
  border-bottom: none;
}

.gs-num {
  width: 36px;
  height: 36px;
  background: var(--gold);
  color: #1a1400;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}

.gs-body {
  flex: 1;
  min-width: 0;
}

.gs-body h3,
.gs-body .gs-title {
  font-size: 15px;
  font-weight: 700;
  color: #111111;
  margin-bottom: 6px;
}

.gs-body p {
  font-size: 14.5px;
  color: #333333;
  line-height: 1.7;
}

.gs-body p + p {
  margin-top: 6px;
}

.gs-tip {
  background: var(--gold-tint);
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 9px 14px;
  font-size: 13.5px;
  color: var(--wine);
  margin-top: 10px;
}

.gs-tip strong {
  color: var(--wine);
}

@media (max-width: 600px) {
  .guide-tab {
    padding: 10px 14px;
    font-size: 13px;
  }
}

/* ── Data tables (bonus / games / limits / comparison) ─ */
.data-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 20px 0 30px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
}

.data-table {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.data-table thead th {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #ffffff;
  text-align: left;
  font-weight: 700;
  padding: 12px 16px;
  white-space: nowrap;
}

.data-table thead th:first-child {
  border-top-left-radius: 9px;
}

.data-table thead th:last-child {
  border-top-right-radius: 9px;
}

.data-table tbody td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border-light);
  color: #333333;
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr:nth-child(even) {
  background-color: var(--gold-tint);
}

.data-table tbody td:first-child {
  font-weight: 600;
  color: #111111;
}

.data-table-note {
  font-size: 13px;
  color: #888888;
  margin-top: -16px;
  margin-bottom: 26px;
}

/* ── Highlight callout ──────────────────────────────── */
.highlight-callout {
  background: linear-gradient(135deg, var(--gold-tint), #fff3d6);
  border: 1px solid var(--gold-border);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 20px 0;
}

.highlight-callout h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--gold-dark);
  margin-bottom: 6px;
}

.highlight-callout p {
  font-size: 14.5px;
  color: var(--wine);
  line-height: 1.7;
  margin: 0;
}

/* =========================================================
   "Banded" template  - used by about-us, deposit, withdraw,
   royal-x-casino-for-pc/ios, blog, and the legal pages.
   Full-bleed alternating light/dark section bands instead of
   the single white entry-content card the other pages use.
   ========================================================= */

#scrollProgressBar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--wine));
  z-index: 200;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Utility bar ─────────────────────────────────────── */
.utility-bar {
  background-color: var(--ink-soft);
  border-bottom: 1px solid var(--border-dark);
}

.utility-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: center;
}

.utility-bar-inner span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-on-dark-dim);
  white-space: nowrap;
}

.utility-bar-inner svg {
  width: 14px;
  height: 14px;
  fill: var(--gold);
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .utility-bar-inner {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
  }
}

/* ── Banded navbar (nav-inner / brand / nav-links) ──── */
.navbar .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  height: 64px;
  padding: 0 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  height: 34px;
  width: 34px;
  border-radius: 7px;
  object-fit: cover;
}

.brand-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: #ffffff;
}

.btn-sm.nav-cta {
  flex-shrink: 0;
  font-size: 14px;
  padding: 9px 18px;
}

@media (max-width: 1180px) {
  .nav-links {
    display: none;
  }
  .navbar.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--ink-soft);
    border-top: 1px solid rgba(201, 162, 39, 0.25);
    padding: 6px 0;
  }
  .navbar.nav-open .nav-links a {
    width: 100%;
    padding: 12px 20px;
  }
  .navbar {
    position: sticky;
  }
  .navbar .nav-inner {
    position: relative;
  }
}

@media (min-width: 1181px) {
  .navbar #hamburger {
    display: none;
  }
}

/* ── Breadcrumb (banded variant) ─────────────────────── */
.breadcrumb {
  background-color: var(--gold-tint);
  padding: 12px 20px;
}

.breadcrumb-list {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 14px;
  color: var(--text-muted);
}

.breadcrumb-list a {
  color: var(--gold-dark);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb-list .sep {
  margin: 0 8px;
  color: #999999;
}

/* ── Page head (hero band for subpages) ──────────────── */
.page-head {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-soft) 100%);
  padding: 44px 20px 40px;
  text-align: center;
}

.page-head-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--gold-tint-strong);
  margin: 0 auto 16px;
}

.page-head-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--gold-dark);
}

.page-head .kicker {
  color: var(--gold-light);
}

.page-head h1 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.25;
  color: #ffffff;
  max-width: 760px;
  margin: 6px auto 14px;
}

.page-head > .container > p {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text-on-dark-dim);
  max-width: 640px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .page-head h1 {
    font-size: 26px;
  }
}

/* ── Kicker (eyebrow label) ───────────────────────────── */
.kicker {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 8px;
}

/* ── Section bands ────────────────────────────────────── */
.section {
  background-color: #ffffff;
  padding: 44px 0;
}

.section-dark {
  background-color: var(--ink);
  padding: 44px 0;
}

.section-dark .kicker {
  color: var(--gold-light);
}

.section h2,
.section-dark h2 {
  display: inline-block;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.25;
  margin-bottom: 14px;
  padding-bottom: 10px;
  position: relative;
}

.section h2 {
  background: linear-gradient(110deg, var(--gold-dark) 10%, var(--gold) 50%, var(--wine) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold-dark);
}

.section-dark h2 {
  color: #ffffff;
}

.section h2::after,
.section-dark h2::after {
  content: "";
  position: absolute;
  left: 1px;
  bottom: 0;
  width: 40px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), var(--wine));
}

.section h3,
.section-dark h3 {
  font-size: 16px;
  font-weight: 700;
  color: #111111;
  margin-bottom: 6px;
}

.section-dark h3 {
  color: #ffffff;
}

.section p,
.section-dark p {
  font-size: 15px;
  line-height: 1.75;
  color: #333333;
  margin-bottom: 12px;
}

.section-dark p {
  color: var(--text-on-dark-dim);
}

.section a,
.section-dark a {
  color: var(--gold-dark);
  font-weight: 600;
  text-decoration: none;
}

.section-dark a {
  color: var(--gold-light);
}

.section a:hover,
.section-dark a:hover {
  text-decoration: underline;
}

.section-lede {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.section-lede:empty {
  display: none;
}

.section-panel {
  margin-top: 4px;
}

/* ── Method tabs (deposit / withdraw method switcher) ── */
.method-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 22px;
}

.method-tab {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background-color: var(--gold-tint);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #555555;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.method-tab:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

.method-tab.is-active {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border-color: transparent;
  color: #1a1400;
}

.method-panel {
  display: none;
}

.method-panel.is-active {
  display: block;
}

/* ── Step list (banded step-by-step guide) ───────────── */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid #f0f0f0;
}

.step:last-child {
  border-bottom: none;
}

.step-num {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #1a1400;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}

.step-body {
  flex: 1;
  min-width: 0;
}

.step-body h3 {
  margin-bottom: 4px;
}

.step-body p {
  margin-bottom: 0;
}

/* ── Callout ──────────────────────────────────────────── */
.callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: linear-gradient(135deg, var(--gold-tint), #fff3d6);
  border: 1px solid var(--gold-border);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 8px 0 20px;
}

.callout svg {
  width: 20px;
  height: 20px;
  fill: var(--gold-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.callout p {
  margin: 0;
  color: var(--wine);
  font-size: 14.5px;
  line-height: 1.7;
}

.callout.warn {
  background: linear-gradient(135deg, rgba(122, 19, 48, 0.08), rgba(122, 19, 48, 0.04));
  border-color: var(--wine-border);
}

.callout.warn svg {
  fill: var(--wine);
}

.callout.warn p {
  color: var(--wine);
}

/* ── Table wrap (banded data-table container) ────────── */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  background-color: #ffffff;
}

/* ── Trouble box (troubleshooting Q&A) ───────────────── */
.trouble-box {
  background-color: var(--card-bg-alt);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 22px 24px;
}

.trouble-box h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--gold-dark);
  margin-bottom: 14px;
}

.trouble-item {
  padding: 12px 0;
  border-top: 1px solid var(--border-light);
}

.trouble-item:first-of-type {
  border-top: none;
  padding-top: 0;
}

.trouble-item b {
  display: block;
  font-size: 14.5px;
  color: #111111;
  margin-bottom: 4px;
}

.trouble-item p {
  font-size: 14px;
  color: #444444;
  margin: 0;
}

/* ── Value grid (about-us) ───────────────────────────── */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 6px;
}

@media (max-width: 900px) {
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .value-grid {
    grid-template-columns: 1fr;
  }
}

.value-card {
  background-color: var(--ink-panel);
  border: 1px solid var(--border-dark);
  border-radius: 10px;
  padding: 20px 18px;
}

.value-card h3 {
  color: #ffffff;
  margin-bottom: 6px;
}

.value-card p {
  font-size: 14px;
  color: var(--text-on-dark-dim);
  margin: 0;
}

/* ── Byline (about-us team) ──────────────────────────── */
.byline {
  display: flex;
  align-items: center;
  gap: 14px;
}

.byline-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--wine));
  color: #ffffff;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.byline b {
  display: block;
  font-size: 15px;
  color: #111111;
}

.byline span {
  display: block;
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ── FAQ list (banded accordion) ─────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: 10px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  background-color: var(--card-bg-alt);
  border: none;
  padding: 16px 20px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: #111111;
  cursor: pointer;
  position: relative;
  padding-right: 40px;
}

.faq-q::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-dark);
}

.faq-q[aria-expanded="true"]::after {
  content: "\2212";
}

.faq-a {
  display: none;
  background-color: #ffffff;
}

.faq-item.open .faq-a {
  display: block;
}

.faq-a-inner {
  padding: 4px 20px 18px;
  font-size: 14.5px;
  line-height: 1.7;
  color: #444444;
}

/* ── CTA band ─────────────────────────────────────────── */
.cta-band {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 36px 0;
}

/* ── Generic buttons ──────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 30px;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.btn-gold {
  background-color: var(--gold);
  color: #1a1400;
}

.btn-gold:hover {
  background-color: var(--gold-dark);
  color: #ffffff;
}

.btn-outline {
  background-color: transparent;
  border-color: var(--gold);
  color: var(--gold-dark);
}

.btn-outline:hover {
  background-color: var(--gold-tint);
}

.section-dark .btn-outline {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.section-dark .btn-outline:hover {
  background-color: rgba(232, 200, 74, 0.1);
}

/* ── Banded footer ────────────────────────────────────── */
.footer {
  background-color: var(--ink);
  border-top: 2px solid var(--gold);
  padding: 44px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 30px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-grid > div > .brand {
  margin-bottom: 12px;
}

.footer-grid p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-on-dark-dim);
  max-width: 320px;
  margin-bottom: 12px;
}

.footer-badge {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold-light);
}

.footer-grid h4 {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-grid ul {
  list-style: none;
}

.footer-grid ul li {
  margin-bottom: 10px;
}

.footer-grid ul a {
  color: var(--text-on-dark-dim);
  text-decoration: none;
  font-size: 14px;
}

.footer-grid ul a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding: 18px 20px 0;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-on-dark-dim);
}

/* ── Blog cards (banded blog index reuses .blog-grid/.blog-card) */
.blog-card-body {
  display: flex;
  flex-direction: column;
}

.blog-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.blog-card-body h3 {
  font-size: 18px;
  color: #111111;
  margin-bottom: 8px;
}

.blog-card-body p {
  font-size: 14px;
  color: #555555;
  margin-bottom: 12px;
}

.blog-meta {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 600;
}

/* ── Article body (blog posts + PC/iOS long-form pages) */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-on-dark-dim);
}

.article-meta span:not(:last-child)::after {
  content: "\2022";
  margin-left: 14px;
  color: var(--muted-gold);
}

.prose h2 {
  margin-top: 30px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose ul,
.prose ol {
  margin: 0 0 16px 20px;
}

.prose ul li,
.prose ol li {
  font-size: 15px;
  line-height: 1.75;
  color: inherit;
  margin-bottom: 8px;
}

.section-dark .prose ul li,
.section-dark .prose ol li {
  color: var(--text-on-dark-dim);
}

.section-dark .prose table {
  color: var(--text-on-dark-dim);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 6px;
}

@media (max-width: 900px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
}

.related-card {
  display: block;
  background-color: var(--ink-panel);
  border: 1px solid var(--border-dark);
  border-radius: 10px;
  padding: 18px;
  text-decoration: none;
}

.related-card span {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.related-card h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
}

/* ── Contact page ─────────────────────────────────────── */
.contact-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  overflow: hidden;
}

.section-dark .contact-card {
  background-color: var(--ink-panel);
  border-color: var(--border-dark);
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--border-light);
}

.section-dark .contact-row {
  border-bottom-color: var(--border-dark);
}

.contact-row:last-child {
  border-bottom: none;
}

.contact-row svg {
  width: 22px;
  height: 22px;
  fill: var(--gold-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.section-dark .contact-row svg {
  fill: var(--gold-light);
}

.contact-row h4 {
  font-size: 15px;
  font-weight: 700;
  color: #111111;
  margin-bottom: 4px;
}

.section-dark .contact-row h4 {
  color: #ffffff;
}

.contact-row p {
  font-size: 14px;
  margin: 0;
}

/* ── Legal pages (banded privacy/terms/disclaimer) ───── */
.legal-updated {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}

.legal-body h2 {
  display: inline-block;
  font-size: 21px;
  font-weight: 900;
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--gold-dark);
}

.legal-body p {
  font-size: 15px;
  line-height: 1.75;
  color: #333333;
  margin-bottom: 12px;
}

.legal-body ul {
  margin: 0 0 16px 20px;
}

.legal-body ul li {
  font-size: 15px;
  line-height: 1.75;
  color: #333333;
  margin-bottom: 6px;
}

.legal-body a {
  color: var(--gold-dark);
  font-weight: 600;
}

/* ── TOC card (banded variant of .toc-header/.toc-content) */
.toc-card {
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
}

.toc-card .toc-header {
  border: none;
  border-radius: 0;
  width: 100%;
}

.toc-card .toc-header h3 {
  font-size: 15px;
  font-weight: 700;
  color: #111111;
}

.toc-card .toc-content {
  display: none;
  padding: 16px 10px 6px 24px;
}

.toc-card .toc-content.open {
  display: block;
}

/* ── Inline link (generic prose link used across banded pages) */
.inline-link {
  color: var(--gold-dark);
  font-weight: 600;
  text-decoration: none;
}

.section-dark .inline-link {
  color: var(--gold-light);
}

.inline-link:hover {
  text-decoration: underline;
}
