/*
Theme Name: Afropari Review
Theme URI: https://example.com/afropari-review
Author: Afropari Review
Author URI: https://example.com
Description: Dark, single-brand bookmaker review theme. Built for the Classic Editor: page content renders through the_content(), with styles for tables (stacked cards on mobile), FAQ accordions, pros/cons blocks, callout buttons and figures. Ships a 404 template with a Home button, a burger menu with a sticky mobile CTA bar, three footer widget areas and editor styles.
Version: 3.3.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: afropari
Tags: one-column, custom-logo, custom-menu, featured-images, editor-style, translation-ready, threaded-comments, footer-widgets
*/

:root{
  --void:#100D16;
  --brass:#C8A46A;
  --gold:#FFCC14;
  --text:#EFEAF3;
  --mute:#9B93A8;
  --line:rgba(239,234,243,.1);

  --display:'Figtree',system-ui,sans-serif;
  --body:'Figtree',system-ui,sans-serif;
  --mono:'Noto Sans Mono',ui-monospace,monospace;
  --ui:'Figtree',system-ui,sans-serif;   /* header typeface */
}

*{box-sizing:border-box}
body{
  margin:0;
  background:var(--void);
  color:var(--text);
  font-family:var(--body);
  font-size:17px;
  font-weight:400;
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit}
:focus-visible{outline:2px solid var(--brass);outline-offset:3px}

.wrap{max-width:1200px;margin:0 auto;padding:0 28px}
.num{font-family:var(--mono);font-variant-numeric:tabular-nums}

/* ---------- top bar ---------- */
.bar{border-bottom:1px solid var(--line);position:relative;z-index:2}
.bar__in{display:flex;align-items:center;gap:28px;height:64px}
/* reserved slot for the brand logo */
.brand{display:flex;align-items:center;flex:0 0 auto;min-height:36px;text-decoration:none}
.brand img{max-width:190px;max-height:40px;width:auto;height:auto;object-fit:contain}

.bar__in > nav{display:flex;gap:30px;margin-left:96px;font-family:var(--ui);font-size:15px;font-weight:700;letter-spacing:-.01em}
.bar__in > nav a{color:#FFFFFF;text-decoration:none;opacity:1;transition:opacity .16s ease}
.bar__in > nav a:hover{opacity:.62}

/* right-hand controls */
.bar__side{display:flex;align-items:center;gap:12px;margin-left:auto}

/* burger toggle — hidden on desktop, shown below the nav breakpoint */
.bar__burger{
  display:none;flex:0 0 auto;width:40px;height:40px;margin-left:auto;
  position:relative;background:transparent;border:0;padding:0;cursor:pointer;
}
.bar__burger span{
  position:absolute;left:9px;right:9px;height:2px;border-radius:2px;background:#FFFFFF;
  transition:transform .2s ease,opacity .2s ease;
}
.bar__burger span:nth-child(1){top:14px}
.bar__burger span:nth-child(2){top:19px}
.bar__burger span:nth-child(3){top:24px}
.bar__burger[aria-expanded="true"] span:nth-child(1){transform:translateY(5px) rotate(45deg)}
.bar__burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.bar__burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-5px) rotate(-45deg)}

/* mobile dropdown panel */
.mobile-menu{display:none;position:absolute;top:100%;left:0;right:0;z-index:5;background:var(--void);border-bottom:1px solid var(--line)}
.mobile-menu.is-open{display:block}
.mobile-menu .wrap{padding-top:8px;padding-bottom:22px}
.mobile-menu nav{display:flex;flex-direction:column}
.mobile-menu nav a{
  display:block;color:#FFFFFF;text-decoration:none;
  font-family:var(--ui);font-size:16px;font-weight:700;letter-spacing:-.01em;
  padding:15px 2px;border-bottom:1px solid var(--line);
}
.mobile-menu nav a:hover{opacity:.72}
.mobile-menu__actions{display:flex;flex-direction:column;gap:10px;padding-top:18px}
.mobile-menu__actions .nav-btn{width:100%}

/* bottom CTA bar — mobile only, fixed while scrolling */
.mobile-cta-bar{display:none}

.nav-btn{
  display:inline-flex;align-items:center;justify-content:center;
  font-family:var(--ui);font-weight:700;font-size:14px;line-height:1.2;letter-spacing:-.01em;
  padding:11px 34px;border-radius:6px;border:1px solid transparent;
  text-decoration:none;white-space:nowrap;
  transition:background .16s ease,border-color .16s ease,color .16s ease;
}
.nav-btn--wire{border-color:var(--gold);color:#FFFFFF}
.nav-btn--wire:hover{background:rgba(255,204,20,.1);color:var(--gold)}
.nav-btn--solid{background:var(--gold);color:#141014}
.nav-btn--solid:hover{background:#FFD947}

/* ---------- hero ---------- */
.hero{
  position:relative;overflow:hidden;
  min-height:56vh;
  display:flex;align-items:center;
  padding:80px 0;
}
.hero__in{position:relative;width:100%}

/* hero with a background image set in the editor */
.hero--image{background-position:center;background-size:cover;background-repeat:no-repeat}
.hero--image::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:rgba(16,13,22,.7);
}

.hero__toolbar{display:flex;align-items:center;gap:14px;margin-bottom:48px}
.hero__search{
  flex:1 1 auto;display:flex;align-items:center;gap:14px;
  background:#171223;border:1px solid var(--line);border-radius:10px;
  padding:16px 22px;
}
.hero__search svg{flex:0 0 auto;color:var(--mute)}
.hero__search input{
  flex:1 1 auto;min-width:0;background:transparent;border:0;outline:0;
  color:var(--text);font-family:var(--body);font-size:16px;
}
.hero__search input::placeholder{color:var(--mute)}
.hero__filter{
  flex:0 0 auto;display:inline-flex;align-items:center;gap:10px;
  background:#171223;border:1px solid var(--line);border-radius:10px;
  padding:16px 26px;color:var(--gold);font-family:var(--ui);font-weight:700;font-size:15px;
  cursor:pointer;white-space:nowrap;
  transition:border-color .16s ease,background .16s ease;
}
.hero__filter:hover{border-color:var(--gold);background:rgba(255,204,20,.08)}
.hero__title{
  font-family:var(--display);font-size:clamp(32px,5vw,56px);font-weight:800;
  letter-spacing:-.02em;line-height:1.1;color:var(--gold);margin:0 0 26px;
}
.hero__lead{font-size:18px;line-height:1.75;color:#FFFFFF;margin:0}
.hero__lead p{margin:0 0 18px;color:#FFFFFF}
.hero__lead p:last-child{margin-bottom:0}
@media (max-width:640px){
  .hero__toolbar{flex-direction:column;align-items:stretch}
}


/* ---------- article ---------- */
.prose{padding:76px 0 96px;border-top:1px solid var(--line)}
/* Текстовая колонка идёт по тому же контейнеру, что и hero:
   .wrap задаёт ширину, .prose__in ничего не сужает. */
.prose__in{max-width:none}
.prose h2{
  font-size:clamp(24px,2.4vw,30px);font-weight:700;letter-spacing:-.02em;line-height:1.25;
  margin:0 0 20px;color:#FFFFFF;
}
.prose h3{
  font-size:22px;font-weight:700;letter-spacing:-.015em;color:#FFFFFF;
  margin:44px 0 16px;
}
.prose p{margin:0 0 22px;color:#FFFFFF;line-height:1.75}
.prose p.lead{color:var(--text)}
.prose a{color:var(--gold);text-decoration:underline;text-underline-offset:3px}
.prose ul{margin:0 0 24px;padding:0;list-style:none;display:grid;gap:10px}
.prose li{position:relative;padding-left:24px;color:#FFFFFF;line-height:1.7}
.prose li::before{content:"—";position:absolute;left:0;color:var(--gold)}
.prose h2:not(:first-child){margin-top:56px}
.prose h3{margin-top:38px}

.prose ol{margin:0 0 24px;padding:0;list-style:none;counter-reset:step;display:grid;gap:12px}
.prose ol li{position:relative;padding-left:40px;color:#FFFFFF;line-height:1.7;counter-increment:step}
.prose ol li::before{
  content:counter(step);position:absolute;left:0;top:1px;
  width:26px;height:26px;border-radius:50%;
  border:1px solid rgba(255,204,20,.4);color:var(--gold);
  font-size:13px;font-weight:700;display:grid;place-items:center;
}

.prose dl{margin:0 0 26px;display:grid;gap:10px}
.prose dt{
  font-weight:700;color:#FFFFFF;font-size:16px;
  padding:18px 22px 0;background:#171223;border-radius:10px 10px 0 0;
}
.prose dd{
  margin:0;padding:10px 22px 18px;color:#FFFFFF;
  background:#171223;border-radius:0 0 10px 10px;line-height:1.7;
}

.pros-cons{margin:30px 0 34px;display:grid;grid-template-columns:1fr 1fr;gap:24px}
.pros-cons__col{padding:28px 26px;border-radius:12px;border:1px solid rgba(239,234,243,.14);background:#140F1E}
.pros-cons__col h3{margin:0 0 18px;font-size:18px}
.pros-cons__col ul{margin:0}
.pros-cons__col--pros h3{color:#6FD98C}
.pros-cons__col--pros li::before{content:"\2713";color:#6FD98C}
.pros-cons__col--cons h3{color:#FF7A7A}
.pros-cons__col--cons li::before{content:"\2715";color:#FF7A7A}
@media (max-width:640px){
  .pros-cons{grid-template-columns:1fr}
}

.prose-figure{margin:38px 0 34px}
.prose-figure img{
  width:100%;height:auto;display:block;
  border-radius:12px;border:1px solid rgba(239,234,243,.12);
}
.prose-figure figcaption{margin-top:12px;font-size:13px;color:#77707F}

.faq{margin:30px 0 34px;display:grid;gap:12px}
.faq__item{
  border:1px solid rgba(239,234,243,.16);border-radius:12px;
  background:#140F1E;overflow:hidden;
  transition:border-color .18s ease,background .18s ease;
}
.faq__item:hover{border-color:rgba(255,204,20,.45)}
.faq__item[open]{border-color:rgba(255,204,20,.5);background:#171223}
.faq__item summary{
  list-style:none;cursor:pointer;
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  padding:22px 26px;
  font-size:17px;font-weight:700;color:#FFFFFF;line-height:1.4;
}
.faq__item summary::-webkit-details-marker{display:none}
.faq__item[open] summary{border-bottom:1px solid rgba(239,234,243,.14)}
.faq__icon{position:relative;flex:0 0 auto;width:18px;height:18px}
.faq__icon::before,.faq__icon::after{
  content:"";position:absolute;left:50%;top:50%;
  width:16px;height:2px;margin:-1px 0 0 -8px;border-radius:2px;
  background:var(--gold);transition:transform .2s ease,opacity .2s ease;
}
.faq__icon::after{transform:rotate(90deg)}
.faq__item[open] .faq__icon::after{transform:rotate(90deg) scaleX(0);opacity:0}
.faq__body{padding:22px 26px 6px}
.faq__body > *:last-child{margin-bottom:20px}
.faq__body p{margin:0 0 18px}
.faq__body ul{margin:0 0 20px}

.prose blockquote{
  margin:32px 0;padding:22px 26px;
  border-left:2px solid var(--gold);background:rgba(255,204,20,.05);border-radius:0 8px 8px 0;
  color:var(--text);font-size:17px;line-height:1.7;
}
.prose blockquote cite{display:block;margin-top:10px;font-style:normal;font-size:12px;color:var(--mute)}
.prose hr{border:0;border-top:1px solid var(--line);margin:44px 0}

.prose-cta{margin:38px 0 34px;text-align:center}
.btn-gold{
  display:inline-flex;align-items:center;justify-content:center;
  font-family:var(--ui);font-weight:700;font-size:16px;line-height:1.2;letter-spacing:-.01em;
  background:var(--gold);color:#000000;text-decoration:none;text-align:center;
  padding:17px 40px;border-radius:8px;
  transition:background .16s ease,transform .16s ease;
}
.btn-gold:hover{background:#FFD947;transform:translateY(-2px)}
.prose a.btn-gold{color:#000000;text-decoration:none}
.prose a.btn-gold:hover{color:#000000}

/* ---------- data table ----------
   Selectors key off thead/tbody, which assets/js/main.js guarantees for
   every table — one built in the editor or one pasted as raw rows. */
.table-wrap{margin:36px 0 34px;overflow-x:auto;-webkit-overflow-scrolling:touch}
.prose table{width:100%;border-collapse:separate;border-spacing:0 8px;font-family:var(--body);font-size:15px;min-width:520px;margin:0}
.prose th,.prose td{text-align:left;padding:16px 22px;vertical-align:middle}

.prose thead th{
  background:#2a2928;color:#FFFFFF;
  font-family:var(--body);font-size:17px;font-weight:700;letter-spacing:-.01em;
  padding-top:15px;padding-bottom:15px;
}
.prose thead th:first-child{border-radius:10px 0 0 10px}
.prose thead th:last-child{border-radius:0 10px 10px 0}

.prose tbody tr{background:#2a2928;transition:background .16s ease}
.prose tbody tr:hover{background:#1D1730}
.prose tbody td,.prose tbody th{
  color:#FFFFFF;background:inherit;
  border-top:1px solid rgba(239,234,243,.07);border-bottom:1px solid rgba(239,234,243,.07);
}
.prose tbody tr > *:first-child{
  border-left:2px solid transparent;border-radius:10px 0 0 10px;
  font-weight:700;color:#FFFFFF;
}
.prose tbody tr:hover > *:first-child{border-left-color:var(--gold)}
.prose tbody tr > *:last-child{border-right:1px solid rgba(239,234,243,.07);border-radius:0 10px 10px 0}

/* ---------- footer ---------- */
.footer{border-top:1px solid var(--line);background:#0C0912;padding:64px 0 32px}
/* Columns come from menus, so there may be fewer than three of them:
   auto-fit keeps the row tidy whatever the count. */
.footer__top{
  display:grid;grid-template-columns:1.5fr repeat(auto-fit,minmax(170px,1fr));gap:44px;
  padding-bottom:44px;border-bottom:1px solid var(--line);
}
.footer__top:has(.footer__col:only-of-type){grid-template-columns:1.5fr 1fr}
.footer__brand{display:flex;align-items:center;min-height:36px;margin-bottom:20px;text-decoration:none}
.footer__brand img{max-width:190px;max-height:40px;width:auto;height:auto;object-fit:contain}
.footer__about p{margin:0 0 18px;font-size:14px;line-height:1.7;color:var(--mute);max-width:38ch}
.footer h4{
  font-family:var(--mono);font-size:11px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;
  color:#FFFFFF;margin:0 0 16px;
}
.footer ul{list-style:none;margin:0;padding:0;display:grid;gap:11px}
.footer .footer__list li{margin:0}
.footer a{color:var(--mute);text-decoration:none;font-size:14px}
.footer a:hover{color:#FFFFFF}

.badges{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:22px}
.badge{
  display:inline-flex;align-items:center;justify-content:center;
  font-family:var(--mono);font-size:11px;font-weight:600;letter-spacing:.06em;
  color:#CFD4DE;border:1px solid rgba(239,234,243,.22);border-radius:6px;
  padding:8px 12px;text-decoration:none;white-space:nowrap;
}
.badge--age{
  width:42px;height:42px;padding:0;border-radius:50%;
  border-color:var(--gold);color:var(--gold);font-size:13px;font-weight:700;letter-spacing:0;
}

/* specificity has to beat `.footer ul`, which stacks widget lists in a column */
.footer ul.footer__links,.footer .footer__links{display:flex;flex-wrap:wrap;gap:10px 26px;margin-top:30px}
.footer__links li{margin:0}
.footer__links a{font-size:13px;color:#8F8899}
.footer__links a:hover{color:#FFFFFF}

@media (max-width:940px){
  .footer__top{grid-template-columns:1fr 1fr;gap:36px}
}

@media (max-width:680px){
  .btn-gold{width:100%;padding:16px 24px}
  .footer{padding:48px 0 28px}
  .footer__top{grid-template-columns:1fr;gap:30px}
  .prose{padding:52px 0 64px}
  .prose h3{font-size:19px}
  .faq__item summary{padding:18px 18px;font-size:15.5px}
  .faq__body{padding:18px 18px 2px}
  .prose blockquote{font-size:15px;padding:18px 20px}
}

@media (max-width:1040px){
  .bar__in > nav{gap:20px;font-size:14px}
  .bar__in{gap:18px}
}
@media (max-width:680px){
  .bar__in{gap:12px}
  .hero{min-height:38vh;padding:48px 0}
  .bar__in > nav,.bar__side{display:none}
  .bar__burger{display:block}

  body{padding-bottom:calc(66px + env(safe-area-inset-bottom))}
  .mobile-cta-bar{
    display:flex;align-items:center;gap:10px;
    position:fixed;left:0;right:0;bottom:0;z-index:5;
    padding:12px 20px calc(12px + env(safe-area-inset-bottom));
    background:var(--void);border-top:1px solid var(--line);
  }
  .mobile-cta-bar .nav-btn{flex:1 1 0}
  #mobile-menu.is-open ~ .mobile-cta-bar{display:none}
}
@media (prefers-reduced-motion:reduce){
  *{transition:none!important}
}

/* ---------- tables on phones ----------
   Each row becomes a card: column title on the left, value on the right,
   every value starting on the same vertical line. The header row is hidden
   because its words are repeated inside every card. */
@media (max-width:680px){
  .table-wrap{overflow-x:visible;margin:28px 0 30px}

  .prose table{display:block;min-width:0;width:100%;border-spacing:0;font-size:15px}
  .prose thead{
    position:absolute;width:1px;height:1px;padding:0;margin:-1px;
    overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
  }
  .prose tbody{display:block;width:100%}

  .prose tbody tr{
    display:block;width:100%;
    background:#2a2928;border-radius:12px;
    padding:2px 18px;margin:0 0 12px;
  }
  .prose tbody tr:last-child{margin-bottom:0}
  .prose tbody tr:hover{background:#2a2928}

  .prose tbody tr > th,.prose tbody tr > td{
    display:grid;grid-template-columns:minmax(0,38%) minmax(0,1fr);
    align-items:baseline;gap:14px;
    width:auto;padding:14px 0;
    border:0 !important;border-radius:0 !important;
    background:none;
    color:#FFFFFF;font-weight:400;text-align:left;
  }
  .prose tbody tr > *:not(:last-child){border-bottom:1px solid rgba(239,234,243,.08) !important}

  .prose tbody tr > th::before,.prose tbody tr > td::before{
    content:attr(data-label);
    color:var(--gold);
    font-family:var(--ui);font-size:11px;font-weight:700;line-height:1.55;
    text-transform:uppercase;letter-spacing:.07em;
    word-break:break-word;
  }
  /* a cell with no column title spans the whole card */
  .prose tbody tr > *:not([data-label]){display:block}
  .prose tbody tr > *:not([data-label])::before{content:none}
}


/* =========================================================
   WordPress-specific: accessibility, media, lists, comments
   ========================================================= */
img{max-width:100%;height:auto}

.screen-reader-text{
  border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);
  height:1px;width:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;word-wrap:normal!important;
}
.screen-reader-text:focus{
  background:var(--gold);color:#000;clip:auto!important;clip-path:none;
  display:block;height:auto;width:auto;left:16px;top:16px;
  padding:14px 22px;border-radius:6px;font-weight:700;text-decoration:none;z-index:100000;
}

/* brand slot falls back to the site title when no logo is set */
.brand,.footer__brand{display:flex;align-items:center;text-decoration:none}
.brand__text{font-family:var(--ui);font-weight:800;font-size:17px;letter-spacing:-.01em;color:#FFFFFF;white-space:nowrap}
.footer__brand .brand__text{font-size:16px}
/* Space held for a logo that has not been uploaded yet. */
.brand__slot{display:block;width:150px;height:36px}

/* menus produced by wp_nav_menu */
.bar__in > nav ul,.mobile-menu nav ul{list-style:none;margin:0;padding:0}
.bar__in > nav ul{display:flex;gap:30px}
.bar__in > nav li::before{content:none}
.bar__in > nav .sub-menu{display:none}
.mobile-menu nav ul{display:flex;flex-direction:column}
.mobile-menu nav li::before{content:none}
.mobile-menu nav .sub-menu{display:none}
.footer .footer__links{list-style:none;padding:0}
.footer li::before{content:none}

/* headings and media the Classic Editor can output */
.prose h1{font-size:clamp(28px,3.4vw,40px);font-weight:800;letter-spacing:-.03em;line-height:1.15;margin:0 0 24px;color:#FFFFFF}
.prose h4{font-size:18px;font-weight:700;color:#FFFFFF;margin:32px 0 14px}
.prose h5,.prose h6{font-size:16px;font-weight:700;color:#FFFFFF;margin:28px 0 12px}
.prose strong{color:#FFFFFF;font-weight:700}
.prose a:hover{color:#FFD947}

/* Filter is a link in WordPress (it points somewhere), not a bare button */
.hero__filter{text-decoration:none}
.hero__filter:hover{color:var(--gold)}
.prose li > ul,.prose li > ol{margin:10px 0 0}
.prose blockquote p:last-child{margin-bottom:0}
.prose code,.prose kbd{font-family:var(--mono);font-size:14px;background:#171223;padding:2px 6px;border-radius:4px}
.prose pre{background:#171223;padding:20px 22px;border-radius:10px;overflow-x:auto;margin:0 0 24px}
.prose pre code{background:none;padding:0}

.prose figure{margin:38px 0 34px}
.prose figure img,.prose .wp-caption img{width:100%;height:auto;display:block;border-radius:12px;border:1px solid rgba(239,234,243,.12)}
.prose figcaption,.prose .wp-caption-text{margin-top:12px;font-size:13px;color:#77707F;text-align:left}
.prose .wp-caption{max-width:100%}
.prose img.alignleft,.prose .alignleft{float:left;margin:6px 28px 20px 0;max-width:50%}
.prose img.alignright,.prose .alignright{float:right;margin:6px 0 20px 28px;max-width:50%}
.prose img.aligncenter,.prose .aligncenter{margin-left:auto;margin-right:auto;display:block;clear:both}
.prose .alignnone{margin:24px 0}
.prose .alignwide{max-width:none;margin-left:0;margin-right:0}
.prose .alignfull{max-width:none}
.prose .gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px;margin:30px 0}
.prose .gallery-item img{border-radius:10px;border:1px solid rgba(239,234,243,.12)}
.prose embed,.prose iframe,.prose object,.prose video{max-width:100%;border-radius:12px}
.prose:after{content:"";display:table;clear:both}
.table-note{margin:-18px 0 34px;font-size:13px;color:#77707F}

/* post lists */
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:22px;margin:0 0 44px}
.card{background:#140F1E;border:1px solid var(--line);border-radius:14px;overflow:hidden;display:flex;flex-direction:column;transition:border-color .18s ease}
.card:hover{border-color:rgba(255,204,20,.4)}
.card__thumb img{width:100%;height:auto;display:block}
.card__body{padding:24px}
.card__title{font-size:20px;font-weight:700;line-height:1.3;margin:0 0 10px;letter-spacing:-.015em}
.card__title a{text-decoration:none;color:#FFFFFF}
.card__title a:hover{color:var(--gold)}
.card__meta{font-family:var(--mono);font-size:11.5px;color:var(--mute);margin:0 0 12px}
.card__excerpt{margin:0;font-size:15px;color:#FFFFFF;line-height:1.65}

.pagination{margin:40px 0 0}
.pagination .nav-links{display:flex;flex-wrap:wrap;gap:8px}
.pagination .page-numbers{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:44px;height:44px;padding:0 14px;border-radius:8px;
  border:1px solid var(--line);text-decoration:none;font-weight:700;font-size:15px;
}
.pagination .page-numbers:hover{border-color:var(--gold);color:var(--gold)}
.pagination .page-numbers.current{background:var(--gold);border-color:var(--gold);color:#000}

.post-nav{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;margin:56px 0 0;padding-top:28px;border-top:1px solid var(--line)}
.post-nav a{font-weight:700;text-decoration:none;color:#FFFFFF}
.post-nav a:hover{color:var(--gold)}

/* comments and forms */
.comments{max-width:none;margin:64px 0 0;padding-top:36px;border-top:1px solid var(--line)}
.comments h2{font-size:22px;font-weight:700;color:#FFFFFF;margin:0 0 22px}
.comment-list{list-style:none;margin:0 0 36px;padding:0;display:grid;gap:16px}
.comment-list li::before{content:none}
.comment-list ul.children{list-style:none;margin:16px 0 0 24px;padding:0;display:grid;gap:16px}
.comment-body{background:#140F1E;border:1px solid var(--line);border-radius:12px;padding:20px 22px}
.comment-meta{font-family:var(--mono);font-size:11.5px;color:var(--mute);margin-bottom:10px}
.comment-content p{margin:0 0 12px;color:#FFFFFF}
.comment-respond label{display:block;font-size:13px;color:var(--mute);margin-bottom:6px}
.comment-respond input[type=text],.comment-respond input[type=email],.comment-respond input[type=url],
.comment-respond textarea,.search-form input[type=search]{
  width:100%;background:#140F1E;border:1px solid var(--line);border-radius:8px;
  color:var(--text);font-family:var(--body);font-size:15px;padding:12px 14px;
}
.comment-respond p{margin:0 0 16px}
.comment-respond input[type=submit],.search-form button{
  background:var(--gold);color:#000;border:0;border-radius:8px;cursor:pointer;
  font-family:var(--ui);font-weight:700;font-size:15px;padding:13px 28px;
}
.search-form{display:flex;gap:10px;max-width:520px;margin:0 0 34px}
.search-form button{white-space:nowrap}
.no-results p{color:#FFFFFF}

/* 404 */
.error404-main{min-height:60vh;display:flex;align-items:center;justify-content:center;text-align:center;padding:90px 0}
.error404__code{font-family:var(--ui);font-weight:800;font-size:clamp(78px,15vw,180px);line-height:.9;letter-spacing:-.06em;color:var(--gold);margin:0}
.error404__title{font-size:clamp(22px,2.6vw,30px);font-weight:700;color:#FFFFFF;margin:22px 0 12px;letter-spacing:-.02em}
.error404__text{margin:0 auto 34px;max-width:46ch;color:#FFFFFF}

/* footer widgets */
.footer .widget{margin:0 0 28px}
.footer .widget:last-child{margin-bottom:0}
.footer .widget-title{
  font-family:var(--mono);font-size:11px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;
  color:#FFFFFF;margin:0 0 16px;
}
.footer p{font-size:14px;color:var(--mute)}

@media (max-width:680px){
  .prose img.alignleft,.prose img.alignright,.prose .alignleft,.prose .alignright{float:none;margin:24px 0;max-width:100%}
  .admin-bar .mobile-cta-bar{bottom:0}
}

/* admin bar must not cover the sticky header */
.admin-bar .mobile-menu{top:100%}
