/* Non Gamstop UK Casinos EU — Broadsheet Mono preset */

:root {
  --page: #FBFAF7;
  --panel: #FFFFFF;
  --ink: #111111;
  --rule: #CFCBC2;
  --masthead: #A4121C;
  --masthead-dim: #F6E3E4;
  --body-text: #2A2A28;
  --muted: #6B6862;

  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-body: "Spectral", Georgia, "Times New Roman", serif;
  --font-mono: "Space Mono", "Courier New", monospace;

  --radius: 0px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--body-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--masthead); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0;
  font-weight: 400;
  line-height: 1.12;
}
h1 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin-bottom: 0.9rem; }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1rem; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: 1.5rem; }

/* Header */
.site-header { background: var(--panel); border-bottom: 3px double var(--ink); padding-block: 0.9rem; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; position: relative; }
.brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 36px; height: 36px; object-fit: contain; flex-shrink: 0; }
.avatar-mark { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 1px solid var(--rule); }
.brand-word-1 { color: var(--ink); }
.brand-word-2 { color: var(--masthead); }

.nav-toggle { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nav-btn { display: none; border: 1px solid var(--ink); background: var(--panel); padding: 0.5rem 0.8rem; cursor: pointer; min-height: 44px; min-width: 44px; align-items: center; justify-content: center; }
.nav-toggle:focus-visible + .nav-btn { outline: 2px solid var(--masthead); outline-offset: 2px; }
.bars { position: relative; width: 20px; height: 14px; display: inline-block; }
.bars span, .bars span::before, .bars span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); }
.bars span { top: 6px; } .bars span::before { top: -6px; } .bars span::after { top: 6px; }
.btn-label-open { display: inline; } .btn-label-close { display: none; }
.nav-toggle:checked ~ .nav-btn .btn-label-open { display: none; }
.nav-toggle:checked ~ .nav-btn .btn-label-close { display: inline; }
.site-nav { display: flex; gap: 1.6rem; }
.site-nav a { color: var(--ink); font-weight: 600; font-size: 0.95rem; }

@media (max-width: 900px) {
  .nav-btn { display: flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--panel); border-bottom: 1px solid var(--ink); flex-direction: column; gap: 0; padding: 0.5rem 1.5rem 1rem; }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .site-nav a { padding: 0.7rem 0; min-height: 44px; display: flex; align-items: center; border-top: 1px solid var(--rule); }
  .site-nav a:first-child { border-top: none; }
}

/* Hero */
.hero { padding-block: 1.3rem 0.9rem; }
@media (min-width: 901px) { .hero { padding-block: 1.6rem 1.1rem; } }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: stretch; }
@media (min-width: 901px) { .hero-grid { grid-template-columns: 1.4fr 1fr; } }
.hero-copy { text-align: left; }
.hero-copy p.lead { font-size: 1.08rem; color: var(--body-text); max-width: 640px; }

.hero-more { margin-bottom: 0.5rem; }
.hero-more summary { list-style: none; cursor: pointer; display: inline-block; color: var(--masthead); font-weight: 600; font-size: 0.9rem; }
.hero-more summary::-webkit-details-marker { display: none; }
.hero-more summary::after { content: " \2192"; }
.hero-more[open] summary::after { content: " \2193"; }
.hero-more p { margin: 0.6rem 0 0; max-width: 640px; }

.byline-box { margin-top: 0.7rem; display: flex; align-items: center; gap: 0.8rem; border: 1px solid var(--ink); padding: 0.5rem 0.8rem; max-width: 640px; }
.byline-text { line-height: 1.25; }
.byline-name { font-weight: 700; color: var(--ink); white-space: nowrap; }
.byline-role-long { display: inline; } .byline-role-short { display: none; }
.byline-role { font-size: 0.84rem; color: var(--muted); }
.hero-stats { margin-left: auto; display: flex; gap: 1rem; padding-left: 1rem; border-left: 1px solid var(--rule); }
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 1.05rem; color: var(--masthead); font-family: var(--font-mono); }
.hero-stat span { font-size: 0.7rem; color: var(--muted); }

/* Editor's choice, ruled box + small caps kicker */
.editors-choice { display: none; flex-direction: column; justify-content: center; border: 1px solid var(--ink); background: var(--panel); }
@media (min-width: 901px) { .editors-choice { display: flex; } }
.ec-banner { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.5rem 1.1rem; border-bottom: 1px solid var(--ink); color: var(--masthead); }
.ec-body { padding: 0.8rem 1.1rem 0.9rem; }
.ec-head { display: flex; align-items: center; gap: 0.6rem; }
.ec-head img { width: 36px; height: 36px; object-fit: contain; }
.ec-head-text strong { display: block; font-family: var(--font-display); font-size: 1rem; color: var(--ink); }
.ec-head-text span { font-size: 0.78rem; color: var(--muted); }
.ec-stars { margin: 0.45rem 0 0.2rem; color: var(--masthead); font-size: 0.88rem; }
.ec-stars b { color: var(--ink); font-family: var(--font-mono); margin-left: 0.35rem; }
.ec-offer { font-family: var(--font-display); font-size: 1.2rem; color: var(--masthead); margin: 0.25rem 0 0.05rem; }
.ec-offer-note { font-size: 0.76rem; color: var(--muted); margin-bottom: 0.55rem; }
.ec-chips { display: flex; gap: 0.5rem; margin-bottom: 0.6rem; }
.ec-chip { flex: 1; border: 1px solid var(--rule); padding: 0.32rem 0.3rem; text-align: center; }
.ec-chip strong { display: block; font-family: var(--font-mono); font-size: 0.82rem; color: var(--ink); }
.ec-chip span { font-size: 0.62rem; color: var(--muted); }
.ec-compliance { font-size: 0.66rem; color: var(--muted); margin-top: 0.35rem; text-align: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; background: var(--masthead); color: #fff; font-family: var(--font-body); font-weight: 700; padding: 0.72rem 1.2rem; border: none; cursor: pointer; font-size: 0.92rem; letter-spacing: 0.02em; }
.btn:hover { background: #7d0e15; text-decoration: none; }
.btn-block { width: 100%; }

/* Ranked list: TABLE mode */
.ranked-section { padding-block: 0.6rem 2rem; }
.table-scroll-ranked { margin-top: 1rem; }
.rank-table { border-collapse: collapse; width: 100%; table-layout: fixed; background: var(--panel); }
.rank-table th, .rank-table td { border: 1px solid var(--rule); padding: 0.7rem 0.8rem; text-align: left; font-size: 0.92rem; vertical-align: middle; }
.rank-table thead th { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; border-bottom: 3px double var(--ink); background: var(--panel); }
.rank-table col.col-op { width: 30%; }
.rank-table col.col-offer { width: 34%; }
.rank-table col.col-wager { width: 14%; }
.rank-table col.col-action { width: 22%; }
.rt-op { display: flex; align-items: center; gap: 0.6rem; }
.rt-op img { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }
.rt-op-name { font-weight: 700; }
.top-pick-tag { display: inline-block; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--masthead); border: 1px solid var(--masthead); padding: 0.1rem 0.4rem; margin-bottom: 0.25rem; }
.offer-pill { display: inline-block; background: var(--masthead-dim); border: 1px solid var(--masthead); color: var(--body-text); padding: 0.3rem 0.6rem; font-size: 0.88rem; }
.offer-pill strong { color: var(--masthead); font-family: var(--font-mono); }
.compliance-note { font-size: 0.8rem; color: var(--muted); margin-top: 1rem; }

/* Hard rule: mobile ranked-list card layout (badge, logo+name+tagline, rating,
   min-deposit / welcome-bonus split panel, full-width CTA). Desktop keeps the
   table; .mrc-row / .mrc only render below 700px. */
.mrc-row, .mrc { display: none; }
@media (max-width: 700px) {
  .rank-table thead { position: absolute; left: -9999px; top: -9999px; }
  .rank-table tbody tr:not(.mrc-row) { display: none; }
  .rank-table, .rank-table tbody { display: block; width: 100%; }
  .mrc-row { display: block; width: 100%; }
  .mrc-row td { display: block; width: 100%; padding: 0; border: none; }
  .mrc {
    display: block;
    background: var(--panel);
    border: 1px solid var(--ink);
    padding: 1rem;
    margin-bottom: 1rem;
  }
  .mrc-head { display: flex; align-items: flex-start; gap: 0.6rem; }
  .mrc-badge {
    width: 26px; height: 26px;
    background: var(--masthead);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.78rem;
    flex-shrink: 0;
  }
  .mrc-logo {
    width: 34px; height: 34px;
    border: 1px solid var(--rule);
    display: flex; align-items: center; justify-content: center;
    background: #fff;
    flex-shrink: 0;
  }
  .mrc-logo img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
  .mrc-name-block { flex: 1; min-width: 0; }
  .mrc-name-block strong { display: block; font-family: var(--font-display); font-size: 0.98rem; color: var(--ink); }
  .mrc-tagline { display: block; font-size: 0.72rem; color: var(--muted); }
  .mrc-rating { text-align: right; flex-shrink: 0; }
  .mrc-rating strong { display: block; color: var(--masthead); font-family: var(--font-mono); font-size: 0.95rem; }
  .mrc-rating span { font-size: 0.6rem; color: var(--muted); letter-spacing: 0.04em; }
  .mrc-info { display: flex; margin-top: 0.8rem; border-top: 1px solid var(--rule); }
  .mrc-info-col { flex: 1; padding: 0.7rem 0.6rem 0; }
  .mrc-info-col + .mrc-info-col { border-left: 1px solid var(--rule); }
  .mrc-info-label { display: block; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 0.2rem; }
  .mrc-info-value { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); }
  .mrc-info-bonus .mrc-info-value { color: var(--masthead); }
  .mrc-info-sub { display: block; font-size: 0.72rem; color: var(--muted); margin-top: 0.15rem; }
  .mrc-cta {
    display: flex; align-items: center; justify-content: center; gap: 0.4rem;
    width: 100%; margin-top: 0.9rem;
    background: var(--masthead); color: #fff;
    padding: 0.75rem;
    font-weight: 700; text-decoration: none;
  }
}

/* Detailed reviews */
.reviews-section { padding-block: 1rem 2.4rem; }
.review-card { background: var(--panel); border: 1px solid var(--ink); padding: 1.4rem 1.5rem; margin-top: 1.4rem; }
.review-head { display: flex; align-items: center; gap: 0.8rem; justify-content: space-between; flex-wrap: wrap; }
.review-head-left { display: flex; align-items: center; gap: 0.8rem; }
.review-head-left img { width: 42px; height: 42px; }
.review-tagline { font-size: 0.85rem; color: var(--muted); }
.review-score { font-family: var(--font-mono); font-size: 1.05rem; color: var(--masthead); }
.review-callout { border-left: 3px solid var(--masthead); background: var(--masthead-dim); padding: 0.8rem 1rem; margin: 1rem 0; font-style: italic; color: var(--ink); }
.review-stats { display: flex; gap: 1.4rem; margin: 1rem 0; flex-wrap: wrap; }
.review-stats div strong { display: block; font-family: var(--font-mono); color: var(--ink); }
.review-stats div span { font-size: 0.75rem; color: var(--muted); }
.score-bar-row { margin: 0.5rem 0; }
.score-bar-label { display: flex; justify-content: space-between; font-size: 0.82rem; margin-bottom: 0.25rem; }
.score-bar-track { height: 6px; background: var(--rule); overflow: hidden; }
.score-bar-fill { height: 100%; background: var(--masthead); }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin: 1.2rem 0; }
.pros-cons ul { margin: 0.4rem 0 0; padding-left: 1.1rem; }
.pros-cons h4 { margin: 0; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); font-family: var(--font-mono); }
@media (max-width: 560px) { .pros-cons { grid-template-columns: 1fr; } }
.review-cta { margin-top: 0.6rem; }

/* Comparison table */
.compare-section { padding-block: 1rem 2.4rem; }
.table-scroll { overflow-x: auto; margin-top: 1.2rem; }
.compare-table { border-collapse: collapse; width: 100%; min-width: 720px; background: var(--panel); }
.compare-table th, .compare-table td { border: 1px solid var(--rule); padding: 0.7rem 0.9rem; text-align: left; font-size: 0.92rem; }
.compare-table th { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; border-bottom: 3px double var(--ink); }

/* How we rank */
.rank-method-section { padding-block: 1rem 2.4rem; }
.method-grid { display: grid; gap: 1.1rem; margin-top: 1.2rem; justify-content: center; grid-template-columns: repeat(1, minmax(0, 280px)); }
@media (min-width: 561px) { .method-grid { grid-template-columns: repeat(2, minmax(0, 280px)); } }
@media (min-width: 981px) { .method-grid { grid-template-columns: repeat(4, minmax(0, 260px)); } }
.method-card { background: var(--panel); border: 1px solid var(--rule); padding: 1.1rem 1.2rem; }
.method-card h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.method-card p { font-size: 0.88rem; color: var(--muted); margin: 0; }
.method-link { display: inline-block; margin-top: 1rem; }

/* Article */
.article-section { padding-block: 1.2rem 2rem; }
.article-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 1100px) { .article-grid { grid-template-columns: minmax(0, 1fr) 260px; } }
.article-body { max-width: 720px; }
.article-body h3 { margin-top: 1.6rem; }
.article-meta { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.2rem; font-family: var(--font-mono); }
.toc { align-self: start; border: 1px solid var(--ink); background: var(--panel); padding: 1.1rem 1.2rem; }
@media (min-width: 1100px) { .toc { position: sticky; top: 1.5rem; } }
.toc ol { margin: 0.6rem 0 0; padding-left: 1.2rem; }
.toc li { margin-bottom: 0.45rem; font-size: 0.88rem; }
.toc a { color: var(--body-text); }
@media (max-width: 1099px) { .toc { display: none; } }

/* FAQ */
.faq-section { padding-block: 1.2rem 2.4rem; }
.faq-item { border: 1px solid var(--rule); background: var(--panel); padding: 0.9rem 1.1rem; margin-top: 0.7rem; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "\002B"; font-family: var(--font-mono); color: var(--masthead); font-size: 1.2rem; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin: 0.7rem 0 0; color: var(--body-text); }

/* Generic content sections */
.page-section { padding-block: 2.4rem; }
.page-section.alt { background: var(--panel); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.page-hero { padding-block: 2.2rem 1rem; }

/* Footer */
.site-footer { background: var(--ink); color: #ddd9d2; padding-block: 2.4rem; margin-top: 2rem; }
.footer-grid { display: grid; gap: 1.6rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.2fr 1fr; } }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; }
.footer-nav a { color: #ddd9d2; font-size: 0.92rem; }
.footer-legal { font-size: 0.82rem; color: #a8a49c; margin-top: 1.2rem; line-height: 1.7; }
.footer-legal a { color: #e8b3b6; }
.footer-copy { font-size: 0.78rem; color: #8c887f; margin-top: 1rem; }

/* Back to top */
.to-top { position: fixed; right: 16px; bottom: 16px; width: 42px; height: 42px; background: var(--ink); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 1; }
.to-top .arrow { width: 10px; height: 10px; border-left: 2px solid #fff; border-top: 2px solid #fff; transform: rotate(45deg); margin-top: 4px; }
@supports (animation-timeline: scroll()) {
  .to-top { opacity: 0; animation: reveal-top linear; animation-timeline: scroll(root); animation-range: 300px 700px; }
}
@keyframes reveal-top { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .to-top { opacity: 1; animation: none; } }

.plain-list { padding-left: 1.2rem; }
.plain-list li { margin-bottom: 0.5rem; }

@media (max-width: 700px) {
  .byline-role-long { display: none; }
  .byline-role-short { display: inline; }
  .site-header { padding-block: 0.5rem; }
  .hero { padding-block: 0.8rem 0.5rem; }
  .hero h1 { font-size: 1.4rem; line-height: 1.2; }
  .hero-copy p.lead { font-size: 0.94rem; margin-bottom: 0.4rem; }
  .hero-more { margin-bottom: 0.4rem; }
  .byline-box { margin-top: 0.5rem; padding: 0.4rem 0.65rem; gap: 0.55rem; }
  .avatar-mark { width: 36px; height: 36px; }
  .hero-stats { gap: 0.6rem; padding-left: 0.6rem; }
  .hero-stat strong { font-size: 0.9rem; }
  .ranked-section { padding-block: 0.4rem 1.4rem; }
  #ranked-list h2 { font-size: 1.15rem; margin-bottom: 0.3rem; }
  #ranked-list > .container > p { font-size: 0.85rem; margin-bottom: 0.4rem; }
}

@media (max-width: 360px) {
  .byline-name { font-size: 0.9rem; }
  .hero-stat strong { font-size: 0.9rem; }
  .hero-stats { gap: 0.6rem; }
}
