/* =============================================
   TopCasinoList.online - Content / legal pages
   Shared layout for responsible gambling, contact,
   privacy, terms, cookie policy, affiliate disclosure
   Uses the Paua tokens from main.css
   ============================================= */

/* ===== Hero ===== */
.stage-guide { padding-bottom: 46px; }
.stage.stage-guide::before {
  background:
    linear-gradient(180deg, rgba(8,10,16,0.80) 0%, rgba(8,10,16,0.92) 70%, var(--bg) 100%);
}
.gu-trail {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted); margin-bottom: 20px;
}
.gu-trail a { color: var(--muted); }
.gu-trail a:hover { color: var(--teal); }
.gu-h1 {
  font-size: clamp(2rem, 4.6vw, 2.8rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.gu-h1 .highlight { background: var(--iri); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gu-lead { font-size: 15.5px; color: var(--text-2); max-width: 720px; line-height: 1.6; }
.gu-updated {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--muted); margin-top: 22px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  padding: 7px 13px; border-radius: 50px;
}
.gu-updated img { width: 14px; height: 14px; filter: invert(72%); }

/* ===== Body ===== */
.gu-wrap { max-width: var(--max-w); margin: 0 auto; padding: 52px 20px 72px; }
.gu-body h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; color: var(--text); margin: 40px 0 14px; }
.gu-body > h2:first-child, .gu-body > *:first-child h2 { margin-top: 0; }
.gu-body h3 { font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; color: var(--text); margin: 26px 0 10px; }
.gu-body p { font-size: 15.5px; color: var(--text-2); line-height: 1.75; margin-bottom: 16px; }
.gu-body ul, .gu-body ol { margin: 0 0 18px 22px; }
.gu-body li { font-size: 15.5px; color: var(--text-2); line-height: 1.7; margin-bottom: 8px; }
.gu-body a { color: var(--teal); }
.gu-body a:hover { text-decoration: underline; }
.gu-body strong { color: var(--text); }
.gu-body small { color: var(--muted); font-size: 13px; }

/* ===== Callout ===== */
.gu-callout {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface-2); border: 1px solid var(--border-hi);
  border-radius: var(--radius-sm); padding: 18px 20px; margin: 24px 0;
}
.gu-callout img { width: 22px; height: 22px; filter: invert(72%); flex-shrink: 0; margin-top: 1px; }
.gu-callout p { margin: 0; font-size: 14px; line-height: 1.65; }
.gu-callout.is-warn { background: var(--gold-dim); border-color: rgba(246,196,83,0.3); }
.gu-callout.is-danger { background: rgba(240,113,106,0.10); border-color: rgba(240,113,106,0.32); }

/* ===== Helpline banner (responsible gambling) ===== */
.gu-helpbar {
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
  background:
    radial-gradient(420px 170px at 18% -50px, rgba(45,212,191,0.13), transparent 70%),
    var(--surface);
  border: 1px solid var(--border-hi); border-radius: var(--radius);
  padding: 24px 26px; margin: 28px 0;
}
.gu-helpbar-ic { width: 34px; height: 34px; filter: invert(72%); flex-shrink: 0; }
.gu-helpbar-txt { min-width: 200px; flex: 1; }
.gu-helpbar-num { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--teal); line-height: 1.1; }
.gu-helpbar-lbl { font-size: 13.5px; color: var(--text-2); margin-top: 2px; }

/* ===== Card grid ===== */
.gu-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 24px 0; }
@media (min-width: 640px) {
  .gu-grid.cols-2 { grid-template-columns: 1fr 1fr; }
  .gu-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
}
.gu-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.gu-card .gu-ic { width: 26px; height: 26px; filter: invert(72%); margin-bottom: 12px; }
.gu-card h3 { font-family: var(--font-display); font-size: 15px; font-weight: 800; color: var(--text); margin: 0 0 6px; }
.gu-card p { font-size: 13.5px; color: var(--text-2); line-height: 1.6; margin: 0 0 10px; }
.gu-card .gu-cardlink { font-size: 13.5px; font-weight: 700; color: var(--teal); }
.gu-card .gu-cardlink:hover { text-decoration: underline; }

/* ===== Table ===== */
.gu-matrix-wrap { border: 1px solid var(--border); border-radius: var(--radius); overflow-x: auto; margin: 22px 0; }
.gu-matrix { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.gu-matrix th { background: var(--bg-2); text-align: left; padding: 12px 15px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 700; border-bottom: 1px solid var(--border); }
.gu-matrix td { padding: 12px 15px; color: var(--text-2); border-bottom: 1px solid var(--border); vertical-align: top; line-height: 1.55; }
.gu-matrix tr:last-child td { border-bottom: none; }
.gu-matrix td:first-child { color: var(--text); font-weight: 600; white-space: nowrap; }

/* ===== Contact form (mailto) ===== */
.gu-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; margin: 24px 0; max-width: 720px; }
.gu-field { margin-bottom: 16px; }
.gu-field label { display: block; font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 7px; }
.gu-field input, .gu-field select, .gu-field textarea {
  width: 100%; background: var(--bg-2); border: 1px solid var(--border-hi);
  border-radius: var(--radius-sm); padding: 11px 14px; color: var(--text);
  font-family: var(--font-body); font-size: 14px;
}
.gu-field input:focus, .gu-field select:focus, .gu-field textarea:focus { outline: none; border-color: var(--teal); }
.gu-field textarea { resize: vertical; min-height: 130px; }
.gu-form .tap { width: 100%; border: none; cursor: pointer; }

/* ===== Author byline (hero strip on guide/law pages) ===== */
.gu-byline {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px 14px;
  margin-top: 22px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 10px 16px;
  width: fit-content; max-width: 100%;
}
.gu-byline-face { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-hi); object-fit: cover; }
.gu-byline-meta { display: flex; flex-direction: column; }
.gu-byline-name { font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--text); }
.gu-byline-name:hover { color: var(--teal); }
.gu-byline-role { font-size: 11.5px; color: var(--muted); }
.gu-byline-divider { width: 1px; align-self: stretch; background: var(--border-hi); }
.gu-byline-pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--muted);
}
.gu-byline-pill img { width: 14px; height: 14px; filter: invert(72%); }
@media (max-width: 560px) { .gu-byline-divider { display: none; } }

/* ===== Key facts tile row (guide/law pages) ===== */
.gu-keyfacts {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  margin: 26px 0;
}
@media (min-width: 760px) { .gu-keyfacts { grid-template-columns: repeat(4, 1fr); } }
.gu-kf {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 16px 16px;
  text-align: center; position: relative; overflow: hidden;
}
.gu-kf::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 44px; height: 3px; border-radius: 0 0 3px 3px; background: var(--iri);
}
.gu-kf strong {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: 1.55rem; line-height: 1.15; margin-bottom: 4px;
  background: var(--iri); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.gu-kf span { font-size: 12.5px; color: var(--text-2); line-height: 1.45; display: block; }

/* ===== Feature list (strong-led bullet lists on guide/law pages) ===== */
.gu-body ul.gu-featlist { list-style: none; margin: 22px 0; display: grid; gap: 10px; }
.gu-body ul.gu-featlist li {
  position: relative; margin: 0;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 15px 18px 15px 48px;
  font-size: 14.5px; line-height: 1.65;
}
.gu-body ul.gu-featlist li::before {
  content: ''; position: absolute; left: 18px; top: 19px;
  width: 16px; height: 16px;
  background: url('/icons/check-circle-fill.svg') no-repeat center / contain;
  filter: invert(70%) sepia(40%) saturate(500%) hue-rotate(120deg);
}

/* ===== Author box (bottom of guide/law pages) ===== */
.gu-scribe-box {
  display: flex; gap: 0; align-items: stretch;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; margin: 34px 0 8px;
}
.gu-ab-photo { width: 132px; min-height: 100%; object-fit: cover; object-position: center top; flex-shrink: 0; }
.gu-ab-body { padding: 20px 22px; }
.gu-ab-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); margin: 0 0 4px; }
.gu-ab-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; color: var(--text); margin: 0 0 2px; }
.gu-ab-role { font-size: 12px; color: var(--muted); margin: 0 0 10px; }
.gu-ab-bio { font-size: 13.5px; color: var(--text-2); line-height: 1.6; margin: 0 0 10px; }
.gu-ab-links { display: flex; flex-wrap: wrap; gap: 16px; }
.gu-ab-links a { font-size: 13px; font-weight: 700; color: var(--teal); }
.gu-ab-links a:hover { text-decoration: underline; }
@media (max-width: 560px) {
  .gu-scribe-box { flex-direction: column; }
  .gu-ab-photo { width: 100%; height: 210px; }
}

/* ===== FAQ (details/summary) ===== */
.gu-qa-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 10px; overflow: hidden; }
.gu-qa-item summary { cursor: pointer; list-style: none; padding: 16px 20px; font-family: var(--font-display); font-weight: 700; font-size: 14.5px; color: var(--text); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.gu-qa-item summary::-webkit-details-marker { display: none; }
.gu-qa-item summary img { transition: transform 0.2s var(--ease); filter: invert(72%); flex-shrink: 0; }
.gu-qa-item[open] summary img { transform: rotate(180deg); }
.gu-qa-item .gu-qa-a { padding: 0 20px 18px; font-size: 14px; color: var(--text-2); line-height: 1.65; }
.gu-qa-item .gu-qa-a a { color: var(--teal); }
.gu-qa-item .gu-qa-a a:hover { text-decoration: underline; }
