/*
 * noaccountcasinos.io
 *
 * The live site's design, rebuilt. The first version of this stylesheet was
 * invented from scratch and looked nothing like the site it replaces, which is
 * the wrong thing to hand anyone who has to recognise their own site in it.
 *
 * Everything here has a source. The palette, the type, the two-band header, the
 * dark footer and the button shapes are read off the `casinoace` theme:
 *
 *     body      #2d2d2c on #f8f8f8, Open Sans
 *     menu bar  white, 52px links in #242a37, a 0 2px 5px shadow under it
 *     header    a photograph under rgba(21, 31, 40, .85)
 *     buttons   #2d739b, bold, 5px radius
 *     rating    #108af9, a circle with a soft blue shadow
 *
 * Two of those are read off the theme but not used as read: the theme's link
 * blue and its small-print grey both fail WCAG AA on their own backgrounds, so
 * they are carried at a darker step of the same hue. See --link and --faint.
 *     footer    #142434, white, 80px of air above it
 *
 * What is deliberately not copied: the 1,100 lines of Bootstrap grid, the icon
 * font, and the empty decorative header band, which on the live site is a
 * whole screen of nothing on a phone. Here that band carries the page's
 * heading and its breadcrumb trail.
 *
 * No framework and no build step. At this size a stylesheet is cheaper to read
 * than a toolchain.
 */

:root {
  --ink: #242a37;
  --body: #2d2d2c;
  /* Darkened for the same reason as --link and --faint below, and by the same
     method: it is the text on the rank circle and on a pending button, both of
     which sit on --surface-2, where #6c706f measured 4.29. 4.61 now, and the
     change is a step of grey nobody will see. */
  --muted: #676b6a;
  --faint: #636b73;
  --line: #e6e6e6;
  --surface: #f6f6f6;
  --surface-2: #eeedeb;
  --page: #f8f8f8;

  --accent: #2d739b;        /* the theme's button blue */
  --accent-dark: #235c7c;

  /*
   * The link and rating blue, and the grey for dates and small print.
   *
   * Both came over from the live theme and both were below WCAG AA on this
   * site's own backgrounds: #108af9 measured 3.28 against --page and 2.98
   * against --surface-2, where 4.5 is the floor for normal text, and #9aa1a8
   * measured 2.46 and 2.23. --faint carries the offer terms at 11.5px, which
   * is the text least able to afford it.
   *
   * Darkened along the same hue -- the colour is recognisably the theme's, it
   * is only readable now. Chosen against --surface-2, the darkest background
   * either of them sits on, so they pass everywhere rather than only on the
   * page background: 4.62 on --surface-2, 5.09 on --page.
   *
   * Neither is used over --shell. That was checked before darkening, because
   * darkening would have taken them the wrong way there -- the old --faint
   * scored 6.04 on the dark footer. Links and text in the footer and the hero
   * are set to white explicitly, which is why this is safe.
   */
  --link: #056ac6;
  --good: #559f3d;
  --bad: #d02d21;

  --shell: #142434;         /* the footer */
  --header-veil: rgba(21, 31, 40, .85);

  --radius: 5px;            /* the theme's, everywhere */
  --radius-lg: 8px;
  --shadow: 0 1px 2px rgba(20, 36, 52, .04), 0 6px 20px rgba(20, 36, 52, .07);

  --font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

/* The menu's anchors jump to headings that would otherwise land under the bar. */
:target { scroll-margin-top: 80px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--page);
}

.container { max-width: 1170px; margin: 0 auto; padding: 0 20px; }

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

/*
 * A link inside prose is underlined, not merely coloured.
 *
 * Colour alone is not a distinguishing feature: about one man in twelve cannot
 * separate this blue from the body grey, and neither can anyone reading in
 * sunlight. The theme underlined nothing and Lighthouse counted 13 links on
 * the home page relying on colour to be seen.
 *
 * `:not([class])` is what keeps this to the prose. Everything else inside
 * `.content` -- the listing cards, the widget's buttons, the rail -- carries a
 * class and is already shaped like something clickable; underlining those would
 * put a line under every button on the page.
 */
.content a:not([class]) { text-decoration: underline; text-underline-offset: 2px; }

img { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.3; font-weight: 600; }
h1 { font-size: 36px; margin: 0 0 14px; }
h2 { font-size: 30px; margin: 40px 0 14px; }
h3 { font-size: 22px; margin: 30px 0 10px; }
h4 { font-size: 18px; margin: 24px 0 8px; }
p { margin: 0 0 16px; }

.skip { position: absolute; left: -9999px; background: var(--accent);
        color: #fff; padding: 10px 16px; }
.skip:focus { left: 0; top: 0; z-index: 2000; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ------------------------------------------------------------ menu bar -- */

.head-menu {
  position: sticky; top: 0; z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .06);
}

.head-menu-inner { display: flex; align-items: center; gap: 20px; min-height: 64px; }

.site-logo { display: block; flex: 0 0 auto; width: 180px; }
.site-logo img { display: block; width: 180px; height: auto; }
.site-logo .brand-name { font-weight: 700; color: var(--ink); font-size: 18px; }

.drawer { display: flex; align-items: center; gap: 16px; margin-left: auto; }

.primary .menu { display: flex; align-items: center; gap: 4px;
                 margin: 0; padding: 0; list-style: none; }
.primary .menu > li { position: relative; }

.primary .menu > li > a {
  display: block; padding: 0 10px; line-height: 64px;
  color: var(--ink); font-size: 15px; font-weight: 700; letter-spacing: .3px;
  white-space: nowrap;
}
.primary .menu > li > a:hover { color: var(--accent); text-decoration: none; }
.primary .menu > li > a[aria-current="page"] { color: var(--accent);
                                               box-shadow: inset 0 -3px 0 var(--accent); }

/* The dropdown the live menu has, without the script the live menu uses. */
.primary .has-children > a::after {
  content: ""; display: inline-block; margin-left: 7px; vertical-align: 2px;
  border: 4px solid transparent; border-top-color: currentColor; border-bottom: 0;
}
.primary .sub-menu {
  position: absolute; left: 0; top: 100%; min-width: 210px;
  margin: 0; padding: 6px 0; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.primary .has-children:hover .sub-menu,
.primary .has-children:focus-within .sub-menu {
  opacity: 1; visibility: visible; transform: none;
}
.primary .sub-menu a { display: block; padding: 8px 18px;
                       color: var(--body); font-size: 14.5px; font-weight: 600; }
.primary .sub-menu a:hover { background: var(--surface); color: var(--accent);
                             text-decoration: none; }

/* --- the language picker --- */

.langpick { position: relative; flex: 0 0 auto; }
.langpick summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 7px;
  padding: 7px 12px; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 14px; font-weight: 600; color: var(--ink); background: #fff;
}
.langpick summary::-webkit-details-marker { display: none; }
.langpick summary:hover { border-color: var(--accent); color: var(--accent); }
.langpick ul {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 20;
  min-width: 160px; margin: 0; padding: 6px 0; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.langpick li a { display: block; padding: 8px 16px; color: var(--body); font-size: 14.5px; }
.langpick li a:hover { background: var(--surface); text-decoration: none; }
.langpick li a[aria-current="true"] { font-weight: 700; color: var(--accent); }

/* Hidden until the layout narrows; the rules are in the phone section. */
.nav-open, .trigger-mmenu, .scrim { display: none; }

/* -------------------------------------------------------- header band -- */

/*
 * The live site's photographic band, under the same dark veil. On the live site
 * it holds nothing at all; here it carries the trail and the page's heading,
 * which is a screenful of height doing a job instead of none.
 */
.section-header {
  position: relative;
  padding: 34px 0 38px;
  background: var(--shell) url("/assets/img/site/header.webp") center / cover no-repeat;
  color: #fff;
}
.section-header::after { content: ""; position: absolute; inset: 0;
                         background: var(--header-veil); }
.section-header .container { position: relative; z-index: 1; }

.page-title { margin: 0; color: #fff; font-size: clamp(26px, 4.2vw, 36px); }

.breadcrumbs { margin-bottom: 10px; font-size: 12.5px; color: rgba(255, 255, 255, .72); }
.breadcrumbs a { color: #6fc0ff; }
.breadcrumbs .sep { margin: 0 8px; opacity: .6; }

/* ---------------------------------------------------------------- main -- */

main { padding: 34px 0 70px; }

/*
 * The home page's hero is inside <main>, unlike every other page's header band,
 * which sits above it. So main's top padding was putting 34px of white page
 * between the menu bar and the dark band. The band starts at the menu bar; the
 * air belongs underneath it instead.
 */
body.is-home main { padding-top: 0; }

/* Long-form prose reads better narrow; panels, tables and grids do not. */
.content > h2, .content > h3, .content > h4,
.content > p, .content > ul, .content > ol,
.content > blockquote { max-width: 800px; }

.content > h2:first-child, .content > h3:first-child { margin-top: 0; }

.content ul, .content ol { padding-left: 22px; }
.content li { margin-bottom: 7px; }
.content img { border-radius: var(--radius); }
.content figure { margin: 24px 0; }

.content table {
  width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.content th, .content td { padding: 12px 14px; text-align: left; vertical-align: top;
                           border-bottom: 1px solid var(--line); }
.content thead th { color: #fff; background: var(--accent); font-weight: 700; border-bottom: 0; }
.content tbody tr:nth-child(even) { background: var(--surface); }
.content tbody tr:last-child td { border-bottom: 0; }

/* The offer tables are wide; on a phone they scroll rather than squeeze. */
.content figure.wp-block-table { overflow-x: auto; }

/* ------------------------------------------------------------- widget -- */

/*
 * The affiliate listing is rendered in the browser by a third-party script and
 * geo-targeted by the visitor's country, so it brings its own markup and only
 * needs somewhere to sit. The reserved height stops the page jumping when it
 * arrives, and the striped placeholder makes an empty slot look intentional
 * rather than broken while it loads.
 */
.widget-slot { margin: 34px 0; }
.widget-slot h2 { margin-top: 0; }
.widget-card { min-height: 220px; margin: 26px 0; }
.widget-card:empty::after {
  content: ""; display: block; height: 220px; border-radius: var(--radius-lg);
  background: repeating-linear-gradient(135deg, var(--surface) 0 12px, var(--surface-2) 12px 24px);
}

/* ------------------------------------------------------------- footer -- */

.section-footer { background: var(--shell); color: rgba(255, 255, 255, .72); margin-top: 60px; }
.section-footer a { color: rgba(255, 255, 255, .72); }
.section-footer a:hover { color: #fff; }

/* Four columns, as the live footer has: the site's own words, the countries,
   the best casinos, and its pages. A fifth for the guides was one this
   rebuild invented. */
.footer-top {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 34px; padding-top: 60px; padding-bottom: 40px;
}
.widget-title { margin: 0 0 14px; font-size: 16px; font-weight: 700; color: #fff; }
.section-footer .widget ul { list-style: none; margin: 0; padding: 0; }
.section-footer .widget li { margin-bottom: 9px; }
.section-footer .widget a { font-size: 14.5px; }

.footer-logo { display: block; width: 180px; height: auto; margin-bottom: 16px; }
.about-text { font-size: 14px; line-height: 1.7; }
.about-text p { margin: 0 0 10px; }
.about-text a { text-decoration: underline; }
.responsible { margin: 14px 0 0; font-size: 13px; color: rgba(255, 255, 255, .55); }


/* --------------------------------------------------------------- home -- */

/*
 * The one page with its own layout: 7.3k words and 21 geo-targeted listings
 * against a median of 808 words elsewhere. Its hero is the same band as every
 * other page's header, with room for what the site claims about itself.
 */
.hero {
  position: relative;
  padding: 80px 0;                      /* the theme's, exactly */
  background: var(--shell) url("/assets/img/site/header.webp") center / cover no-repeat;
  color: #fff;
  text-align: center;
}
.hero::after { content: ""; position: absolute; inset: 0; background: var(--header-veil); }
.hero .container { position: relative; z-index: 1; }

/* Centred, as the theme centres it: `.head-main .entry-content { text-align: center }`. */
.hero-inner { max-width: 820px; margin: 0 auto; }
.hero h1 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(30px, 5vw, 50px);    /* 50px on the live site, 34px on a phone */
  font-weight: 300;
  line-height: 1.16;
}
.hero-sub {
  margin: 0 auto;
  max-width: 680px;                     /* the theme's measure for this line */
  font-size: clamp(17px, 2.4vw, 22px);
  font-weight: 400;
  color: rgba(255, 255, 255, .86);
}

/*
 * Air between the header band and the first heading of the prose. The hero used
 * to end on a row of stat boxes, which was doing this job by accident; with
 * those gone the page opened with "Best No Account Casinos" jammed against the
 * band.
 */
.home-body { padding-top: 44px; padding-bottom: 8px; }
.home-body > .content > :first-child { margin-top: 0; }

/* --- the guides ----------------------------------------------------------- */

.guide-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px; margin: 22px 0 0; padding: 0; list-style: none;
}
.guide { padding: 20px; background: #fff;
         border: 1px solid var(--line); border-radius: var(--radius-lg); }
.guide h3 { margin: 0 0 6px; font-size: 17px; line-height: 1.35; }
.guide h3 a { color: var(--ink); }
.guide h3 a:hover { color: var(--accent); }
.guide p {
  margin: 0; font-size: 14.5px; color: var(--muted);
  /* Three lines, so a card with a long description does not stretch its row. */
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* --------------------------------------------------------------- phone -- */

@media (max-width: 1100px) {
  .primary .menu > li > a { padding: 0 7px; font-size: 14px; }
}

@media (max-width: 991px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; gap: 28px; padding-top: 44px; }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  /*
   * The menu becomes a drawer. A checkbox opens it, so the whole site still
   * runs without a line of JavaScript of its own.
   */
  .trigger-mmenu {
    display: flex; align-items: center; gap: 9px; margin-left: auto;
    cursor: pointer; font-size: 13px; font-weight: 700; color: var(--ink);
    text-transform: uppercase; letter-spacing: .06em;
  }
  .trigger-mmenu .icon { display: grid; gap: 4px; }
  .trigger-mmenu .icon span { display: block; width: 22px; height: 2px; background: var(--ink); }

  .drawer {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 1200;
    width: min(330px, 88vw); margin: 0;
    display: block; overflow-y: auto;
    padding: 74px 22px 30px;
    background: #fff; box-shadow: -8px 0 30px rgba(20, 36, 52, .18);
    transform: translateX(105%); transition: transform .25s ease;
  }
  .nav-open:checked ~ .drawer { transform: none; }

  .scrim {
    display: block; position: fixed; inset: 0; z-index: 1100;
    background: rgba(20, 36, 52, .45);
    opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s;
  }
  .nav-open:checked ~ .scrim { opacity: 1; visibility: visible; }
  body:has(.nav-open:checked) { overflow: hidden; }

  .primary .menu { display: block; }
  .primary .menu > li > a { line-height: 1.5; padding: 13px 0; font-size: 16px;
                            border-bottom: 1px solid var(--line); }
  .primary .menu > li > a[aria-current="page"] { box-shadow: none; }
  .primary .has-children > a::after { float: right; margin-top: 9px; }

  /* Open on a phone: a dropdown that needs a hover is a dropdown nobody opens. */
  .primary .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    border: 0; box-shadow: none; padding: 4px 0 10px 14px; background: transparent;
  }
  .primary .sub-menu a { padding: 7px 0; font-weight: 400; }

  .langpick { margin-top: 20px; }
  .langpick summary { justify-content: space-between; }
  .langpick ul { position: static; border: 0; box-shadow: none; padding: 6px 0 0; }
}

@media (max-width: 767px) {
  body { font-size: 15.5px; }
  h1 { font-size: 28px; }
  h2 { font-size: 24px; margin-top: 32px; }
  h3 { font-size: 19px; }

  main { padding: 24px 0 50px; }
  .section-header { padding: 24px 0 26px; }

  .hero { padding: 40px 0; }
  .home-body { padding-top: 30px; }

  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 460px) {
  .site-logo, .site-logo img { width: 140px; }
  .trigger-mmenu .trigger-label { display: none; }
  .footer-top { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------ archives -- */

/*
 * The list pages. Their own prose is empty today, so the grid is usually the
 * whole page; the intro is styled anyway because that is where the generator's
 * paragraph will land.
 */
.archive-intro { margin-bottom: 32px; }
.archive-empty { color: var(--muted); }

.guide-thumb { display: block; margin: -20px -20px 14px; }
.guide-thumb img {
  display: block; width: 100%; height: 168px; object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.guide { overflow: hidden; }

/* The date and cluster above a guide, in place of the theme's row of spans. */
.byline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  margin: 0 0 22px; font-size: 13.5px; color: var(--muted);
}
.byline a {
  padding: 3px 10px; border-radius: 999px;
  background: var(--surface-2); color: var(--ink); font-weight: 600;
}
.byline a:hover { background: var(--accent); color: #fff; text-decoration: none; }

/* --------------------------------------------------- WordPress blocks -- */

/*
 * The class names the block editor writes into the stored content. They are
 * kept because the content is kept, and they need the handful of rules that
 * make them mean what they say.
 */
.content .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.content .alignright { float: right; margin: 6px 0 16px 22px; }
.content .alignleft { float: left; margin: 6px 22px 16px 0; }
.content .has-text-align-center { text-align: center; }
.content .has-text-align-right { text-align: right; }
.content .wp-block-image { margin: 26px 0; }
.content .wp-block-image img { border-radius: var(--radius); }
.content .wp-block-image figcaption,
.content figcaption { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.content .wp-block-list { padding-left: 22px; }
.content .wp-block-columns { display: flex; flex-wrap: wrap; gap: 24px; }
.content .wp-block-column { flex: 1 1 260px; }
.content .wp-block-quote, .content blockquote {
  margin: 24px 0; padding: 4px 0 4px 20px;
  border-left: 3px solid var(--accent); color: var(--ink);
}
.content .wp-block-embed, .content iframe { max-width: 100%; }
.content .wp-block-separator, .content hr {
  margin: 34px 0; border: 0; border-top: 1px solid var(--line);
}

/* The theme's own stripes, which several tables were written to expect. */
.content .is-style-stripes tbody tr:nth-child(odd) { background: var(--surface); }
.content .is-style-stripes tbody tr:nth-child(even) { background: #fff; }

@media (max-width: 767px) {
  .content .alignright, .content .alignleft { float: none; margin: 16px auto; }
  .guide-thumb img { height: 150px; }
}

/* -------------------------------------------------- blocks in the prose -- */

/*
 * Two blocks the editors use inside articles, which came across with class
 * names and no rules. They are content, not furniture, so they are styled
 * rather than stripped.
 */

/* A numbered step. The number is in data-icon, which is where the theme put it. */
.content .box-text {
  position: relative;
  margin: 14px 0;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
}
.content .box-text--icon { padding-left: 62px; }
.content .box-text--icon::before {
  content: attr(data-icon);
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: 15px; font-weight: 700;
}

/* The article's own lead image. */
.content .single-post-thumb { margin: 0 0 26px; }
.content .single-post-thumb img { width: 100%; border-radius: var(--radius-lg); }

/* Related guides, at the foot of an article. */
.related { margin: 56px 0 0; padding-top: 36px; border-top: 1px solid var(--line); }
.related > h2 { margin: 0 0 4px; }

/* ------------------------------------------------- the hero's own parts -- */

/*
 * The live site's `head-main`: headline, a subtitle saying what the site is
 * for, and two outline buttons into the page's own sections. The buttons were
 * missing from the rebuild entirely.
 */
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center;
                gap: 12px; margin: 30px 0 0; }
.hero-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 22px;
  border: 1px solid rgba(255, 255, 255, .55); border-radius: var(--radius);
  color: #fff; font-size: 15px; font-weight: 700;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.hero-btn:hover { background: #fff; border-color: #fff; color: var(--ink);
                  text-decoration: none; }
.hero-btn svg { width: 16px; height: 16px; fill: currentColor; flex: 0 0 auto; }

/* ----------------------------------------------------------- countries -- */

/*
 * "Find Top No-Account Casinos by Your Country". The theme writes this as a
 * bare Bootstrap row of `box-link`s — class names this site does not have — so
 * it arrived as a column of 512-pixel flags. `rewriteCountryBlocks()` in
 * pages.js turns it into this grid.
 */
.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 14px;
  margin: 26px 0 34px;
  padding: 0;
  list-style: none;
}
.country {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 20px 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  color: var(--ink); font-weight: 700; font-size: 15px; text-align: center;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.country:hover {
  border-color: var(--accent); text-decoration: none;
  transform: translateY(-2px); box-shadow: var(--shadow);
}
.country img {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 1px var(--line);
}

@media (max-width: 767px) {
  .hero-actions { gap: 10px; }
  .hero-btn { flex: 1 1 100%; justify-content: center; padding: 12px 16px; font-size: 14.5px; }
  .country-grid { grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 10px; }
  .country { padding: 14px 8px; font-size: 13.5px; }
  .country img { width: 44px; height: 44px; }
}

/* The flag beside each language, as the live switcher shows it. */
.langpick summary img, .langpick li a img {
  width: 18px; height: 12px; border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
}
.langpick li a { display: flex; align-items: center; gap: 9px; }

/* ------------------------------------------------------- the guide rail -- */

/*
 * The guide block in the middle of the home page.
 *
 * It replaces five cards that were frozen into the page's stored HTML in 2024.
 * The new one reads the collection, so it picks up a guide the day one is
 * written — which means it has to cope with any number of them without turning
 * into a sheet of cards down the middle of a 7,000-word page.
 *
 * So: one row, always one row. The cards scroll sideways with CSS scroll-snap,
 * which needs no JavaScript, keeps the keyboard and trackpad working, and is
 * the gesture people already use for a row of cards on a phone. A fade on the
 * right edge says there is more; it is drawn on the section, not the track, so
 * it cannot scroll away with the cards.
 */
.rail { margin: 44px 0; }

.rail-head {
  display: flex; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap; gap: 8px 20px; margin-bottom: 18px;
}
.rail-head h2 { margin: 0; }
.rail-all { font-weight: 700; font-size: 15px; white-space: nowrap; }

.rail-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(268px, 1fr);
  gap: 18px;
  margin: 0;
  padding: 4px 4px 18px;          /* room for the focus ring and the shadow */
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--faint) transparent;
}
.rail-track:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* A slim scrollbar rather than none: a rail with no visible affordance is a
   rail people do not know they can move. */
.rail-track::-webkit-scrollbar { height: 8px; }
.rail-track::-webkit-scrollbar-track { background: var(--surface-2); border-radius: 99px; }
.rail-track::-webkit-scrollbar-thumb { background: var(--faint); border-radius: 99px; }
.rail-track::-webkit-scrollbar-thumb:hover { background: var(--muted); }

.rail-card { scroll-snap-align: start; }
.rail-card > a {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; color: var(--ink);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.rail-card > a:hover {
  text-decoration: none; border-color: var(--accent);
  transform: translateY(-3px); box-shadow: var(--shadow);
}

.rail-thumb { display: block; background: var(--surface-2); }
.rail-thumb img { display: block; width: 100%; height: 150px; object-fit: cover; }
.rail-thumb--none { display: block; height: 150px;
  background: repeating-linear-gradient(135deg, var(--surface) 0 12px, var(--surface-2) 12px 24px); }

.rail-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.rail-date { font-size: 12px; letter-spacing: .04em; color: var(--faint); }
.rail-title {
  font-size: 16.5px; font-weight: 700; line-height: 1.35;
  /* Two lines, so one long headline cannot make every card in the row taller. */
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rail-card > a:hover .rail-title { color: var(--accent); }
.rail-summary {
  font-size: 14px; line-height: 1.55; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

@media (max-width: 767px) {
  .rail { margin: 34px 0; }
  .rail-track { grid-auto-columns: minmax(230px, 78vw); gap: 14px; }
  .rail-thumb img, .rail-thumb--none { height: 130px; }
}

/* =========================================================================
   The brand list
   =========================================================================

   Every listing this site renders itself: the home page's picks, the reviews
   hub, and the 233 country and payment-method lists.

   It was a grid of identical cards, which is the worst of both shapes - too
   big to compare at a glance, too small to say anything, and by the fourth one
   a reader has stopped looking. A list of casinos is a ranking, and a ranking
   is read down a column, so the columns are fixed: rank, brand, offer, score,
   buttons, in the same place on every row. On a phone it folds into a card,
   because six columns do not fit and pretending they do is how these tables end
   up set in 9px.
   ------------------------------------------------------------------------- */

.brand-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }

.brand {
  display: grid;
  grid-template-columns: 34px minmax(160px, 1.1fr) minmax(170px, 1.5fr) 120px 160px;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.brand:hover { border-color: #bcd3e8; box-shadow: var(--shadow); transform: translateY(-1px); }

/* The top three carry a tinted edge. Rank matters on a page like this, and a
   number alone is easy to miss when every row is the same colour. */
.brand--top { border-left: 3px solid var(--accent); }
.brand-rank {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--surface-2); color: var(--muted);
  font-size: 14px; font-weight: 700;
}
.brand--top .brand-rank { background: var(--accent); color: #fff; }

.brand-id { display: flex; align-items: center; gap: 14px; min-width: 0; color: var(--ink); }
.brand-id:hover { text-decoration: none; color: var(--accent); }
.brand-logo {
  flex: 0 0 auto; display: grid; place-items: center;
  width: 92px; height: 48px; padding: 4px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.brand-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.brand-logo--none { font-size: 20px; font-weight: 700; color: var(--accent); }
.brand-name { font-size: 16.5px; font-weight: 700; line-height: 1.25; }

.brand-offer { display: grid; gap: 5px; min-width: 0; }

/* One offer, as a label and a value rather than a pill full of words.
   "300% Up To 1000 (3000) + 300 Free Spins" does not fit in a pill. */
.offer { display: block; min-width: 0; }
.offer-label {
  display: block; font-size: 10.5px; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; color: var(--faint);
}
.offer strong { display: block; font-size: 14.5px; line-height: 1.35; color: var(--ink); }
.offer--spins strong { color: #2f6f1f; }
.offer--none { font-size: 13.5px; color: var(--faint); }

.brand-score { display: grid; justify-items: center; gap: 3px; }
.score-value { font-size: 26px; font-weight: 700; line-height: 1; color: var(--link); }
.score-scale { font-size: 12px; color: var(--muted); margin-top: -2px; }
.score-bar {
  display: block; width: 76px; height: 5px; border-radius: 99px;
  background: var(--surface-2); overflow: hidden;
}
.score-bar > span { display: block; height: 100%; border-radius: 99px; background: var(--link); }
.score-label {
  font-size: 9.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--faint);
}

.brand-actions { display: grid; gap: 7px; }
.btn-play {
  display: block; padding: 11px 14px; text-align: center;
  background: var(--accent); color: #fff;
  border-radius: var(--radius); font-size: 15px; font-weight: 700;
  transition: opacity .25s ease;
}
.btn-play:hover { opacity: .8; color: #fff; text-decoration: none; }
.btn-play--pending {
  background: var(--surface-2); color: var(--muted);
  border: 1px dashed var(--line); cursor: default;
}
.btn-play--pending:hover { opacity: 1; }
.btn-read {
  display: block; padding: 7px 14px; text-align: center;
  color: var(--muted); font-size: 13.5px; font-weight: 600;
}
.btn-read:hover { color: var(--accent); }

/* --- the heading above a list --------------------------------------------- */

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 10px 24px; margin-bottom: 22px;
}
.section-head h2 { margin: 0; }
.section-lead { margin: 6px 0 0; max-width: 62ch; color: var(--muted); }
.section-all { font-weight: 700; font-size: 15px; white-space: nowrap; }

.picks { margin: 56px 0 0; padding-top: 40px; border-top: 1px solid var(--line); }

.archive-count { margin: 0 0 22px; color: var(--muted); }
.archive-count strong { color: var(--ink); font-size: 18px; }

/* =========================================================================
   A brand review
   ========================================================================= */

/* --- the operator card ----------------------------------------------------- */

.op {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(200px, 1.2fr) 220px;
  align-items: center;
  gap: 24px 30px;
  padding: 24px 28px;
  margin-bottom: 28px;
  background: linear-gradient(180deg, #fff, #fbfcfd);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.op-id { display: flex; align-items: center; gap: 16px; min-width: 0; }
.op-logo {
  flex: 0 0 auto; width: 120px; height: 62px; object-fit: contain;
  padding: 6px 8px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.op-logo--none {
  display: grid; place-items: center;
  font: 700 28px/1 var(--font); color: var(--accent);
  background: var(--surface-2); border-style: dashed;
}
.op-name { margin: 0; font-size: 22px; font-weight: 700; color: var(--ink); }

.op-score { display: grid; justify-items: center; gap: 4px; }
.op-score-num { font-size: 40px; font-weight: 300; line-height: 1; color: var(--link); }
.op-score-scale { font-size: 16px; color: var(--muted); }
.op-score-label {
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint);
}

/*
 * Five stars as one element: a grey row of glyphs with a coloured copy clipped
 * to the score's width on top. No icon font, no five images, and a half star
 * costs nothing.
 */
.op-stars { position: relative; display: block; width: 92px; height: 16px; overflow: hidden; }
.op-stars::before, .op-stars-on::before {
  content: "\2605\2605\2605\2605\2605";
  position: absolute; left: 0; top: 0;
  font-size: 16px; line-height: 1; letter-spacing: 2px; white-space: nowrap;
}
.op-stars::before { color: var(--surface-2); }
.op-stars-on { position: absolute; left: 0; top: 0; height: 100%; overflow: hidden; }
.op-stars-on::before { color: #f5a623; }

.op-offers { display: grid; gap: 8px; min-width: 0; }
.op-offers .offer strong { font-size: 16px; }

.op-go { display: grid; gap: 8px; justify-items: stretch; }
.op-terms { margin: 0; font-size: 11.5px; line-height: 1.45; color: var(--faint); text-align: center; }

.cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; min-height: 50px;
  background: var(--accent); color: #fff;
  border-radius: var(--radius); font-size: 16px; font-weight: 700;
  transition: opacity .25s ease;
}
.cta:hover { opacity: .8; color: #fff; text-decoration: none; }
.cta--pending {
  background: var(--surface-2); color: var(--muted);
  border: 1px dashed var(--line); cursor: default;
}
.cta--pending:hover { opacity: 1; }

/* --- the two columns ------------------------------------------------------- */

.review-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 34px; }
.review-main { min-width: 0; display: grid; gap: 28px; align-content: start; }

/*
 * The alternatives follow the reader down the page instead of waiting at the
 * bottom of it, where the listing used to sit and where most people never got.
 */
.review-aside { min-width: 0; }
.review-aside .widget-slot { position: sticky; top: 84px; margin: 0; }
.review-aside .widget-slot h2 { margin: 0 0 14px; font-size: 17px; }

/* --- what we like, what to keep in mind ------------------------------------ */

.verdict { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.verdict-col {
  padding: 20px 22px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.verdict-col h2 {
  margin: 0 0 12px; font-size: 13px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted);
}
.verdict-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.verdict-col li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.5; }

/* A tick and a cross drawn in CSS: two shapes, no icon font. */
.verdict-col li::before {
  position: absolute; left: 0; top: 2px;
  display: grid; place-items: center;
  width: 18px; height: 18px; border-radius: 50%;
  font-size: 11px; font-weight: 700; color: #fff;
}
.verdict-col--good { border-top: 3px solid var(--good); }
.verdict-col--good li::before { content: "\2713"; background: var(--good); }
.verdict-col--bad { border-top: 3px solid var(--bad); }
.verdict-col--bad li::before { content: "\2715"; background: var(--bad); }

/* --- the facts table -------------------------------------------------------- */

.facts { background: #fff; border: 1px solid var(--line);
         border-radius: var(--radius-lg); overflow: hidden; }
.facts h2 { margin: 0; padding: 15px 22px; font-size: 17px;
            background: var(--surface); border-bottom: 1px solid var(--line); }
.facts table { width: 100%; border-collapse: collapse; }
.facts tr + tr th, .facts tr + tr td { border-top: 1px solid var(--line); }
.facts th, .facts td { padding: 13px 22px; text-align: left; vertical-align: top; font-size: 15px; }
.facts th { width: 30%; color: var(--muted); font-weight: 600; background: #fcfcfd; }
.facts td { color: var(--ink); }

/* --- the screenshots -------------------------------------------------------- */

/*
 * In the review, not in a "Screenshots" section of their own at the foot of the
 * page under the listing, which is where they were and where nobody reached
 * them. No heading: they are pictures of the thing being reviewed.
 */
.shots {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px; margin: 0;
}
.shot { display: block; border-radius: var(--radius-lg); overflow: hidden;
        border: 1px solid var(--line); background: #fff; }
.shot img { display: block; width: 100%; height: 170px; object-fit: cover; }
.shot-caption {
  display: block; padding: 9px 14px; font-size: 12.5px; color: var(--muted);
  border-top: 1px solid var(--line); background: #fcfcfd;
}

.review-body > h2:first-child, .review-body > h3:first-child { margin-top: 0; }

/* --- the button on a phone --------------------------------------------------- */

/*
 * Pinned to the bottom of the screen once the operator card has scrolled away.
 * Getting a reader to the casino is this page's one job on a phone, and it
 * should never be more than a thumb away. Desktop hides it: the card is still
 * on screen there, and a bar over the content would be in the way.
 */
.sticky-cta { display: none; }

@media (max-width: 1040px) {
  .review-grid { grid-template-columns: 1fr; gap: 28px; }
  .review-aside .widget-slot { position: static; }
  .op { grid-template-columns: minmax(160px, 1fr) auto minmax(180px, 1fr); }
  .op-go { grid-column: 1 / -1; justify-items: center; }
  .op-go .cta { width: 100%; max-width: 340px; }
}

@media (max-width: 900px) {
  /*
   * The brand row becomes a card.
   *
   * The first attempt kept the desktop grid and moved cells into it, which put
   * the score into a 40px column with a 90px bar inside it: the row came apart
   * and the bar spilled over the buttons. A phone is not a narrow desktop. The
   * card is built from scratch here, in the order somebody reads it — who it
   * is, what it scores, what it is offering, and how to get there.
   */
  .brand {
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "rank id score"
      "offer offer offer"
      "actions actions actions";
    align-items: center;
    gap: 14px 12px;
    padding: 16px;
  }
  .brand--top { border-left-width: 4px; }

  .brand-rank { grid-area: rank; width: 26px; height: 26px; font-size: 13px; }
  .brand-id { grid-area: id; gap: 11px; }
  .brand-logo { width: 74px; height: 40px; }
  .brand-name { font-size: 15.5px; }

  /* The score sits at the end of the name row, as a number. The bar is what
     the rows were compared with down a column; there is no column here. */
  .brand-score { grid-area: score; justify-items: end; gap: 0; }
  .score-value { font-size: 21px; }
  .score-scale { font-size: 11px; }
  .score-bar { display: none; }
  .score-label { font-size: 9px; }

  /* Full width and flush with the card, not indented to line up with a column
     that no longer exists. */
  .brand-offer {
    grid-area: offer;
    padding: 12px 14px;
    background: var(--surface);
    border-radius: var(--radius);
  }
  .offer strong { font-size: 15px; }

  /*
   * The button takes the width; the review link sits beside it rather than
   * under it, so the card does not grow a fourth row for one line of text.
   */
  .brand-actions { grid-area: actions; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
  .btn-play { padding: 13px 16px; font-size: 15.5px; }
  .btn-read { padding: 13px 4px; white-space: nowrap; }
}

@media (max-width: 420px) {
  /* At this width the logo and the score cannot share a line with the name. */
  .brand {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "rank id"
      "score score"
      "offer offer"
      "actions actions";
  }
  /* The score reads as one line here rather than a stacked block. */
  .brand-score {
    display: flex; align-items: baseline; gap: 6px;
    justify-content: flex-start;
  }
  .score-label { align-self: center; }
  .brand-actions { grid-template-columns: 1fr; }
  .btn-read { padding: 8px 4px; }
}

@media (max-width: 767px) {
  .op { grid-template-columns: 1fr auto; gap: 16px; padding: 18px; }
  .op-logo { width: 96px; height: 50px; }
  .op-name { font-size: 19px; }
  .op-score-num { font-size: 32px; }
  .op-offers { grid-column: 1 / -1; }
  .verdict { grid-template-columns: 1fr; }
  .facts th, .facts td { padding: 11px 15px; }
  .facts th { width: 40%; }
  .shot img { height: 150px; }

  .picks { margin-top: 40px; padding-top: 28px; }

  .sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
    display: flex; align-items: center; gap: 12px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 18px rgba(20, 36, 52, .1);
  }
  .sticky-cta-brand { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
  .sticky-cta-brand img { width: 60px; height: 26px; object-fit: contain; flex: 0 0 auto; }
  .sticky-cta-brand strong {
    font-size: 12.5px; line-height: 1.3; color: var(--ink);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .sticky-cta .cta { flex: 0 0 auto; min-height: 44px; padding: 11px 20px; font-size: 15px; }

  /* Room for the bar, so it never covers the last line of the page. */
  body:has(.sticky-cta) .section-footer { padding-bottom: 68px; }
}

/* --- the marks and the copyright line ------------------------------------- */

/*
 * Centred, as the live footer centres them. They are the compliance marks a
 * reader deciding where to put money looks for, so they get a row of their own
 * rather than a corner of one shared with the copyright.
 */
.footer-bottom {
  display: block;
  padding-top: 26px;
  padding-bottom: 26px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.badges {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 22px;
}
.badges a { display: inline-flex; align-items: center; }
.badges img {
  height: 30px; width: auto; opacity: .8;
  transition: opacity .2s ease;
}
.badges a:hover img, .badges img:hover { opacity: 1; }

.footer-copyright {
  padding: 16px 0;
  background: rgba(0, 0, 0, .25);
}
.footer-copyright p {
  margin: 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
}

@media (max-width: 767px) {
  .badges { gap: 16px; }
  .badges img { height: 26px; }
}

/* =========================================================================
   The guide index
   =========================================================================

   /all-articles/, the category archives and the author archives.

   It was a flat grid of thumbnails with a title under each and nothing else:
   thirteen identical tiles, no date, no summary, no way in. The facts exist
   now, so the layout can do its job — the newest guide takes the full width and
   the rest read as a grid.
   ------------------------------------------------------------------------- */

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.post > a {
  display: flex; flex-direction: column; height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--ink);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.post > a:hover {
  text-decoration: none; border-color: var(--accent);
  transform: translateY(-3px); box-shadow: var(--shadow);
}

.post-thumb { display: block; background: var(--surface-2); }
.post-thumb img { display: block; width: 100%; height: 168px; object-fit: cover; }
.post-thumb--none {
  display: block; height: 168px;
  background: repeating-linear-gradient(135deg, var(--surface) 0 12px, var(--surface-2) 12px 24px);
}

.post-body { display: flex; flex-direction: column; gap: 9px; padding: 18px 20px 20px; flex: 1; }

/* Above the title on screen, after it in the markup -- see article-cards.njk. */
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; order: -1; }
.post-meta time { color: var(--faint); letter-spacing: .03em; }
.post-tag {
  padding: 2px 9px; border-radius: 999px;
  background: var(--surface-2); color: var(--muted);
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
}

.post-title { font-size: 17px; font-weight: 700; line-height: 1.35; }
.post > a:hover .post-title { color: var(--accent); }

.post-summary {
  font-size: 14px; line-height: 1.6; color: var(--muted);
  /* Three lines, so one long description cannot stretch its whole row. */
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.post-more {
  margin-top: auto; padding-top: 6px;
  font-size: 13.5px; font-weight: 700; color: var(--accent);
}

/*
 * The newest guide across the full width, picture beside the words. An index
 * where every item weighs the same gives a reader nowhere to start.
 */
.post--lead { grid-column: 1 / -1; }
.post--lead > a { flex-direction: row; align-items: stretch; }
.post--lead .post-thumb { flex: 0 0 46%; }
.post--lead .post-thumb img, .post--lead .post-thumb--none { height: 100%; min-height: 260px; }
.post--lead .post-body { justify-content: center; gap: 12px; padding: 30px 34px; }
.post--lead .post-title { font-size: clamp(21px, 2.6vw, 27px); line-height: 1.25; }
.post--lead .post-summary { font-size: 15.5px; -webkit-line-clamp: 4; }

@media (max-width: 767px) {
  .post-grid { grid-template-columns: 1fr; gap: 16px; }
  .post-thumb img, .post-thumb--none { height: 180px; }

  /* The lead card stops being special: at this width nothing is beside it. */
  .post--lead > a { flex-direction: column; }
  .post--lead .post-thumb { flex: 0 0 auto; }
  .post--lead .post-thumb img, .post--lead .post-thumb--none { height: 190px; min-height: 0; }
  .post--lead .post-body { padding: 18px 20px 20px; }
  .post--lead .post-title { font-size: 20px; }
  .post--lead .post-summary { font-size: 14px; -webkit-line-clamp: 3; }
}

/* ------------------------------------------------------- hub and spokes -- */

/*
 * A pillar page and the pages around it. The link up sits above the prose, the
 * list down below it — so a reader arriving in the middle of a subject can see
 * both where they are and what else there is.
 */
.part-of {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--muted);
}
.part-of a {
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink);
}
.part-of a:hover { background: var(--accent); color: #fff; text-decoration: none; }

.spokes { margin: 56px 0 0; padding-top: 36px; border-top: 1px solid var(--line); }
.spokes > h2 { margin: 0 0 20px; }
