/* ============================================================
   Casino Compass — page-specific styles (part 3)
   Review · Article · Responsible Gambling
   ============================================================ */

/* ---------- REVIEW PAGE ---------- */
.review-hero { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.review-hero-id { display: flex; align-items: flex-start; gap: 20px; }
.review-verdict { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-lg); position: relative; }
.review-verdict::before { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); padding: 1.5px; background: linear-gradient(160deg, var(--gold), transparent 60%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.review-verdict-score { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }

.quickfacts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.quickfact { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-sm); }
.quickfact svg { color: var(--accent); flex-shrink: 0; }
.quickfact small { display: block; font-size: 12px; color: var(--ink-3); font-weight: 600; }
.quickfact strong { font-family: var(--font-head); font-size: 17px; }

.review-body { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 40px; align-items: start; }
.review-content { min-width: 0; }

.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pc-col { border-radius: var(--radius); padding: 22px 24px; }
.pc-pros { background: var(--good-soft); }
.pc-cons { background: var(--bad-soft); }
.pc-col h3 { display: flex; align-items: center; gap: 9px; font-size: 17px; margin-bottom: 14px; font-family: var(--font-body); font-weight: 700; }
.pc-pros h3 { color: var(--good); }
.pc-cons h3 { color: var(--bad); }
.pc-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.pc-col li { display: flex; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--ink); }
.pc-pros li svg { color: var(--good); flex-shrink: 0; margin-top: 3px; }
.pc-cons li svg { color: var(--bad); flex-shrink: 0; margin-top: 3px; }

.ratings-breakdown { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; margin-top: 36px; box-shadow: var(--shadow-sm); }
.ratings-breakdown h3 { font-size: 20px; margin-bottom: 20px; }
.rating-row { display: grid; grid-template-columns: 180px 1fr 44px; gap: 16px; align-items: center; margin-bottom: 14px; }
.rating-label { font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.rating-bar { height: 9px; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.rating-bar div { height: 100%; background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 55%, var(--gold))); border-radius: 99px; }
.rating-num { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--accent); text-align: right; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .15s; }
.faq-item.is-open { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; background: none; border: none; cursor: pointer; font-family: var(--font-body); font-weight: 600; font-size: 16.5px; color: var(--ink); text-align: left; }
.faq-q svg { color: var(--accent); flex-shrink: 0; }
.faq-a { padding: 0 22px 20px; font-size: 15.5px; color: var(--ink-2); line-height: 1.7; }

.review-toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-top: 18px; box-shadow: var(--shadow-sm); }
.review-toc h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin-bottom: 12px; font-family: var(--font-body); font-weight: 700; }
.review-toc ol { list-style: none; counter-reset: rt; padding: 0; margin: 0; }
.review-toc li { counter-increment: rt; margin-bottom: 9px; }
.review-toc a { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-2); font-weight: 500; }
.review-toc a::before { content: counter(rt, decimal-leading-zero); color: var(--accent); font-weight: 700; }
.review-toc a:hover { color: var(--accent); }

/* ---------- AUTHOR CARD (E-E-A-T) ---------- */
.author-card { display: flex; gap: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; margin-top: 40px; box-shadow: var(--shadow-sm); }
.author-card-avatar { width: 76px; height: 76px; border-radius: 50%; background: linear-gradient(145deg, var(--accent), var(--accent-strong)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 28px; flex-shrink: 0; }
.author-card-name { font-family: var(--font-head); font-weight: 700; font-size: 21px; }
.author-card-role { font-size: 14px; color: var(--accent); font-weight: 600; margin: 3px 0 12px; }
.author-card-bio { font-size: 15px; color: var(--ink-2); line-height: 1.65; margin: 0 0 14px; }
.author-card-expertise { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.author-card-stats { display: flex; gap: 24px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line-2); font-size: 13.5px; color: var(--ink-3); }
.author-card-stats strong { color: var(--ink); font-family: var(--font-head); }

/* ---------- BYLINE ---------- */
.byline { display: inline-flex; align-items: center; gap: 10px; }
.byline[role="link"] { cursor: pointer; }
.byline-avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(145deg, var(--accent), var(--accent-strong)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0; font-family: var(--font-head); }
.byline-md .byline-avatar { width: 46px; height: 46px; font-size: 17px; }
.byline-text { display: flex; flex-direction: column; line-height: 1.3; }
.byline-name { font-weight: 700; font-size: 14.5px; color: var(--ink); }
.byline-md .byline-name { font-size: 16px; }
.byline-meta { font-size: 12.5px; color: var(--ink-3); }
.byline[role="link"]:hover .byline-name { color: var(--accent); }

/* ---------- GUIDE ARTICLE ---------- */
.article-head { text-align: center; max-width: 820px; margin: 0 auto; }
.article-head-meta { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.article-body { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 48px; justify-content: center; align-items: start; }
.article-aside { position: sticky; top: 124px; }
.related { margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--line); }
.related h3 { font-size: 22px; margin-bottom: 20px; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.related-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); transition: all .15s; cursor: pointer; }
.related-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.related-card h4 { font-size: 18px; margin: 12px 0 10px; line-height: 1.25; }

/* ---------- RESPONSIBLE GAMBLING ---------- */
.rg-hero { background: radial-gradient(120% 100% at 80% 0%, color-mix(in srgb, var(--gold) 30%, transparent), transparent 50%), linear-gradient(150deg, var(--hero-a), var(--hero-b)); color: #fff; padding: 30px 0 64px; }
.rg-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.rg-helpline-card { background: rgba(255,255,255,.1); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-lg); padding: 30px; }
.rg-helpline-label { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); }
.rg-helpline-number { font-family: var(--font-head); font-weight: 700; font-size: clamp(30px, 4vw, 42px); color: #fff; margin: 8px 0 12px; }
.rg-helpline-card p { color: rgba(255,255,255,.82); font-size: 14.5px; margin: 0 0 18px; }
.rg-helpline-chips { display: flex; gap: 16px; flex-wrap: wrap; }
.rg-helpline-chips span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255,255,255,.9); font-weight: 600; }
.rg-helpline-chips svg { color: var(--gold); }

.rg-tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rg-tool { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); transition: all .18s; }
.rg-tool:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.rg-tool-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); margin-bottom: 16px; }
.rg-tool h3 { font-size: 18px; margin-bottom: 8px; }
.rg-tool p { font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.6; }

.rg-signs-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.rg-signs-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rg-signs-list li { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; font-size: 14.5px; font-weight: 500; box-shadow: var(--shadow-sm); }
.rg-signs-list svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }

.rg-help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rg-help-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; text-align: center; box-shadow: var(--shadow-sm); }
.rg-help-card h3 { font-size: 17px; margin: 14px 0 10px; }
.rg-help-line { font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--accent); margin-bottom: 10px; }
.rg-help-card p { font-size: 14px; color: var(--ink-2); margin: 0; }

/* method grid responsive */
@media (max-width: 900px) {
  .review-hero, .review-body, .article-body, .rg-hero-grid, .rg-signs-grid, .method-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  .article-aside { position: static; }
  .quickfacts { grid-template-columns: repeat(2, 1fr); }
  .rg-tools { grid-template-columns: 1fr 1fr; }
  .rg-help-grid { grid-template-columns: 1fr; }
  .rg-signs-list { grid-template-columns: 1fr; }
  .proscons { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .quickfacts { grid-template-columns: 1fr; }
  .rg-tools { grid-template-columns: 1fr; }
  .rating-row { grid-template-columns: 120px 1fr 38px; }
  .review-hero-id { flex-direction: column; }
}
