/* ============================================================
   VEXODECOR — Editorial Blog Theme
   Design system + page styles (WordPress build)
   Color & font tokens are emitted by the Customizer via
   :root overrides in wp_head; the fallbacks below match the
   original design (teal brand / red CTA / white background).
   ============================================================ */

:root {
  /* Palette — Customizer-overridable */
  --cream:        #FFFFFF;   /* page background */
  --cream-deep:   #F3F7F8;   /* subtle alternating sections */
  --cream-tint:   #F7FAFB;
  --paper:        #FFFFFF;   /* cards */
  --camel:        #18A8C5;   /* PRIMARY brand (teal) */
  --camel-deep:   #11788C;   /* hover / emphasis text */
  --camel-soft:   #B6E2EB;   /* tints, fills */
  --camel-wash:   #E7F5F8;   /* faint background wash */
  --cta:          #981F1F;   /* CTA red */
  --cta-deep:     #7C1818;   /* CTA hover */
  --ink:          #16282E;   /* headlines / near-black */
  --ink-2:        #3C4C52;   /* body text */
  --ink-soft:     #7B898E;   /* meta / muted */
  --line:         #DDE7E9;   /* hairlines */
  --line-2:       #E8EFF1;
  --charcoal:     #122A30;   /* footer */
  --charcoal-2:   #18373F;

  /* Type — Customizer-overridable */
  --font: 'Poppins', system-ui, sans-serif;
  --font-head: 'Poppins', system-ui, sans-serif;

  /* Geometry — --wrap and --sidebar-w are Customizer-overridable */
  --wrap: 1320px;
  --sidebar-w: 340px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(18,42,48,.04), 0 4px 14px rgba(18,42,48,.06);
  --shadow-md: 0 6px 18px rgba(18,42,48,.08), 0 18px 50px rgba(18,42,48,.10);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--ink-2);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; font-weight: 600; letter-spacing: -.01em; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--camel); outline-offset: 2px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 0; z-index: 200; }
.skip-link:focus { left: 0; }

/* ---------- Utilities ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 40px; }
.kicker {
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--camel-deep); display: inline-flex; align-items: center; gap: 10px;
}
.kicker::before { content: ""; width: 26px; height: 1.5px; background: var(--camel); display: inline-block; }
.kicker.center::after { content: ""; width: 26px; height: 1.5px; background: var(--camel); display: inline-block; }
.eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--camel-deep); }
.muted { color: var(--ink-soft); }
.section { padding: 88px 0; }
.section-sm { padding: 60px 0; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Category pill */
.tag {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--camel-deep);
  background: var(--camel-wash); border: 1px solid var(--camel-soft);
  padding: 5px 11px; border-radius: 999px; transition: all .2s var(--ease);
}
a.tag:hover { background: var(--camel); color: #fff; border-color: var(--camel); }
.tag.solid { background: var(--camel); color: #fff; border-color: var(--camel); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 500; font-size: 15px;
  padding: 13px 26px; border-radius: 999px; transition: all .22s var(--ease);
  letter-spacing: .01em; cursor: pointer; white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--cta); color: #fff; }
.btn-primary:hover { background: var(--cta-deep); transform: translateY(-1px); }
.btn-camel { background: var(--cta); color: #fff; }
.btn-camel:hover { background: var(--cta-deep); transform: translateY(-1px); }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { color: var(--ink); padding-inline: 4px; }
.btn-ghost:hover { color: var(--camel-deep); gap: 14px; }

/* Arrow link */
.arrow-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px;
  color: var(--ink); transition: gap .2s var(--ease), color .2s; }
.arrow-link svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.arrow-link:hover { color: var(--camel-deep); }
.arrow-link:hover svg { transform: translateX(4px); }

/* Shared media frame (replaces <image-slot> in WP) */
.media { background: var(--camel-wash); display: block; position: relative; overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media.is-empty::after {
  content: ""; position: absolute; inset: 0;
  background: var(--camel-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24' fill='none' stroke='%2311788C' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='m21 15-5-5L5 21'/%3E%3C/svg%3E") center / 40px no-repeat;
  opacity: .5;
}

/* ============================================================ HEADER ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85); backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; height: 84px; }
.brand { display: flex; align-items: center; gap: 0; margin-right: 6px; }
.brand img, .brand .custom-logo { height: var(--logo-h, 52px); width: auto; }
.brand .custom-logo-link { display: inline-flex; align-items: center; }
.brand .brand-text { font-size: 22px; font-weight: 700; color: var(--ink); letter-spacing: .01em; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; list-style: none; padding: 0; }
.nav-links a {
  font-size: 15px; font-weight: 500; color: var(--ink-2); padding: 9px 15px; border-radius: 8px;
  position: relative; transition: color .2s; display: block;
}
.nav-links a:hover { color: var(--ink); }
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a,
.nav-links a.active { color: var(--ink); }
.nav-links .current-menu-item > a::after,
.nav-links .current_page_item > a::after,
.nav-links a.active::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 2px; height: 2px;
  background: var(--camel); border-radius: 2px;
}
.nav-links .sub-menu { display: none; } /* hide deep submenus in inline bar; drawer handles mobile */
.nav-links li { list-style: none; position: relative; }
.nav-spacer { flex: 1; }
.nav-tools { display: flex; align-items: center; gap: 10px; }

/* Search */
.search {
  display: flex; align-items: center; gap: 9px; background: var(--paper);
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px;
  width: 210px; transition: all .25s var(--ease);
}
.search:focus-within { border-color: var(--camel); width: 250px; box-shadow: 0 0 0 4px var(--camel-wash); }
.search svg { width: 17px; height: 17px; color: var(--ink-soft); flex: none; }
.search input { border: none; outline: none; background: none; font-size: 14px; width: 100%; color: var(--ink); }
.search input::placeholder { color: var(--ink-soft); }

.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink); transition: all .2s var(--ease);
}
.icon-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }
.menu-toggle { display: none; }

/* ============================================================ CARDS ============================================================ */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  display: flex; flex-direction: column; height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--camel-soft); }
.card .thumb { width: 100%; aspect-ratio: 3 / 2; position: relative; overflow: hidden; display: block; }
.card .thumb-link { display: block; width: 100%; height: 100%; }
.card .thumb .media { width: 100%; height: 100%; }
.card .card-tag { position: absolute; top: 14px; left: 14px; z-index: 2; }
.card .card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.card h3 { font-size: 21px; font-weight: 600; line-height: 1.25; }
.card:hover h3 { color: var(--camel-deep); }
.card .excerpt { font-size: 15px; color: var(--ink-2); line-height: 1.6; }
.card .meta { margin-top: auto; padding-top: 8px; display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--ink-soft); }
.card .meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--camel); }

.avatar { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; border: 1.5px solid var(--line); flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.byline { display: flex; align-items: center; gap: 9px; }
.byline .name { font-weight: 600; color: var(--ink); font-size: 13px; }

/* ============================================================ FOOTER ============================================================ */
.site-footer { background: var(--charcoal); color: #A9C2C8; padding: 0; position: relative; }
.site-footer::before { content: ""; display: block; height: 3px;
  background: linear-gradient(90deg, var(--camel) 0%, var(--camel-deep) 50%, var(--cta) 100%); opacity: .9; }
.site-footer > .wrap { padding-top: 76px; }
.footer-top { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.5fr; gap: 56px; padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .fb-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.footer-brand .fb-chip { width: 52px; height: 52px; border-radius: 14px; background: #fff; display: grid; place-items: center; flex: none;
  box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.footer-brand .fb-chip img { width: 38px; height: 38px; object-fit: contain; }
.footer-brand .fb-word { font-size: 23px; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.footer-brand p { font-size: 14.5px; color: #93AAB0; max-width: 340px; line-height: 1.75; }
.footer-col h4 { color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 22px;
  display: flex; align-items: center; gap: 10px; }
.footer-col h4::before { content: ""; width: 16px; height: 2px; background: var(--camel); display: inline-block; flex: none; }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.footer-col a { font-size: 14.5px; color: #9DB4BA; transition: color .2s, transform .2s; display: inline-flex; align-items: center; }
.footer-col a:hover { color: var(--camel); transform: translateX(4px); }
.footer-news p { font-size: 14.5px; color: #93AAB0; margin-bottom: 18px; line-height: 1.7; }
.footer-news form { display: flex; gap: 9px; }
.footer-news input { flex: 1; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px; padding: 13px 18px; color: #fff; font-size: 14px; font-family: inherit; outline: none; min-width: 0; transition: border-color .2s, background .2s; }
.footer-news input::placeholder { color: #7E969C; }
.footer-news input:focus { border-color: var(--camel); background: rgba(255,255,255,.08); }
.footer-news button { background: var(--cta); color: #fff; border-radius: 50%; width: 48px; height: 48px;
  display: grid; place-items: center; flex: none; transition: background .2s, transform .2s; }
.footer-news button:hover { background: var(--cta-deep); transform: translateY(-2px); }
.footer-news button svg { width: 18px; height: 18px; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16);
  display: grid; place-items: center; color: #A9C2C8; transition: all .2s var(--ease); }
.socials a:hover { background: var(--camel); border-color: var(--camel); color: #fff; transform: translateY(-3px); }
.socials a svg { width: 17px; height: 17px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px 24px; padding: 26px 0; font-size: 13px; color: #80979D; flex-wrap: wrap; }
.footer-bottom .fb-links { display: flex; gap: 24px; }
.footer-bottom a { transition: color .2s; }
.footer-bottom a:hover { color: var(--camel); }
.footer-credit { margin-left: auto; color: #80979D; letter-spacing: .01em; }
.footer-credit a { color: #C2D2D7; font-weight: 600; position: relative; }
.footer-credit a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--camel); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.footer-credit a:hover { color: var(--camel); }
.footer-credit a:hover::after { transform: scaleX(1); }

/* ============================================================ PAGE HERO (interior pages) ============================================================ */
.page-hero { background: var(--cream-deep); border-bottom: 1px solid var(--line); padding: 56px 0; }
.page-hero .crumbs { font-size: 13px; color: var(--ink-soft); display: flex; gap: 8px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.page-hero .crumbs a:hover { color: var(--camel-deep); }
.page-hero .crumbs span { color: var(--camel); }
.page-hero h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 600; }
.page-hero p { margin-top: 14px; font-size: 18px; color: var(--ink-2); max-width: 620px; }

/* ============================================================ SIDEBAR (widgets) ============================================================ */
.widget { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 28px; margin-bottom: 26px; }
.widget h4, .widget .widget-title { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.widget .wh { display: flex; align-items: center; gap: 11px; margin-bottom: 22px; }
.widget .wh::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.widget ul { list-style: none; padding: 0; margin: 0; }
.pop-list { display: flex; flex-direction: column; gap: 18px; }
.pop-item { display: flex; gap: 15px; align-items: flex-start; }
.pop-item .pop-thumb { width: 78px; height: 64px; border-radius: 10px; overflow: hidden; flex: none; }
.pop-item .pop-thumb .media { width: 100%; height: 100%; }
.pop-item .pop-num { font-size: 22px; font-weight: 700; color: var(--camel-soft); line-height: 1; width: 26px; flex: none; }
.pop-item h5 { font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.35; transition: color .2s; }
.pop-item:hover h5 { color: var(--camel-deep); }
.pop-item .pop-meta { font-size: 12px; color: var(--ink-soft); margin-top: 6px; }
.cat-list { display: flex; flex-direction: column; gap: 2px; }
.cat-list a, .widget_categories li a, .widget_archive li a, .widget_nav_menu li a, .widget_pages li a, .widget_meta li a, .widget_recent_entries li a {
  display: flex; justify-content: space-between; align-items: center; padding: 11px 4px;
  border-bottom: 1px solid var(--line-2); font-size: 15px; font-weight: 500; color: var(--ink-2); transition: all .2s; }
.cat-list a:last-child, .widget li:last-child a { border-bottom: none; }
.cat-list a:hover, .widget li a:hover { color: var(--camel-deep); padding-left: 8px; }
.cat-list a .count, .widget_categories li .count, .widget li .count { font-size: 12px; color: var(--ink-soft); background: var(--cream-deep); padding: 2px 9px; border-radius: 999px; }
.widget_categories li, .widget_archive li, .widget_pages li, .widget_meta li, .widget_recent_entries li, .widget_nav_menu li { list-style: none; }
.tag-cloud, .tagcloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tagcloud a { display: inline-block; font-size: 11px !important; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--camel-deep); background: var(--camel-wash); border: 1px solid var(--camel-soft);
  padding: 5px 11px; border-radius: 999px; transition: all .2s var(--ease); }
.tagcloud a:hover { background: var(--camel); color: #fff; border-color: var(--camel); }
.widget-cta { background: var(--charcoal); border-color: var(--charcoal); }
.widget-cta h4 { color: #fff; }
.widget-cta p { color: #9DB4BA; font-size: 14.5px; margin: 10px 0 18px; }
.widget-cta form { display: flex; flex-direction: column; gap: 10px; }
.widget-cta input { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 999px;
  padding: 12px 18px; color: #fff; font-family: inherit; font-size: 14px; outline: none; }
.widget-cta .btn { justify-content: center; }

/* ---- Author box ---- */
.author-box-widget { padding: 0; overflow: hidden; text-align: center; }
.author-box-widget .ab-card { display: flex; flex-direction: column; align-items: center; }
.author-box-widget .ab-cover { width: 100%; height: 76px; background: linear-gradient(120deg, var(--camel) 0%, var(--camel-deep) 100%); }
.author-box-widget .ab-avatar { width: 88px; height: 88px; border-radius: 50%; overflow: hidden; margin-top: -44px;
  border: 4px solid var(--paper); box-shadow: var(--shadow-sm); background: var(--paper); }
.author-box-widget .ab-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.author-box-widget .ab-name { font-size: 18px; font-weight: 600; margin-top: 14px; }
.author-box-widget .ab-name a:hover { color: var(--camel-deep); }
.author-box-widget .ab-role { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--camel-deep); margin-top: 4px; }
.author-box-widget .ab-bio { font-size: 14px; color: var(--ink-2); line-height: 1.65; padding: 0 26px; margin: 12px 0 16px; }
.author-box-widget .ab-socials { justify-content: center; margin: 0 0 18px; gap: 9px; }
.author-box-widget .ab-socials a { width: 38px; height: 38px; border: 1px solid var(--line); color: var(--ink-2); }
.author-box-widget .ab-socials a:hover { background: var(--camel); border-color: var(--camel); color: #fff; }
.author-box-widget .ab-link { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600;
  color: var(--ink); padding: 12px 0 26px; transition: gap .2s var(--ease), color .2s; }
.author-box-widget .ab-link svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.author-box-widget .ab-link:hover { color: var(--camel-deep); gap: 11px; }
.author-box-widget .ab-link:hover svg { transform: translateX(3px); }

/* ============================================================ POST CONTENT (shared rich text) ============================================================ */
.entry-content { font-size: 18px; line-height: 1.78; color: var(--ink-2); }
.entry-content > * + * { margin-top: 24px; }
.entry-content h2 { font-size: 30px; font-weight: 600; margin-top: 46px; margin-bottom: 4px; color: var(--ink); }
.entry-content h3 { font-size: 22px; font-weight: 600; margin-top: 34px; color: var(--ink); }
.entry-content h4 { font-size: 18px; font-weight: 600; margin-top: 28px; color: var(--ink); }
.entry-content p { color: var(--ink-2); }
.entry-content a { color: var(--camel-deep); font-weight: 500; border-bottom: 1.5px solid var(--camel-soft); }
.entry-content a:hover { border-color: var(--camel-deep); }
.entry-content strong { color: var(--ink); font-weight: 600; }
.entry-content ul, .entry-content ol { padding-left: 24px; display: flex; flex-direction: column; gap: 12px; }
.entry-content li::marker { color: var(--camel); }
.entry-content blockquote { border-left: 3px solid var(--camel); padding: 6px 0 6px 28px; margin: 38px 0;
  font-size: 24px; line-height: 1.45; color: var(--ink); font-weight: 500; font-style: italic; }
.entry-content figure { margin: 38px 0; }
.entry-content img { border-radius: var(--radius); }
.entry-content figcaption { font-size: 14px; color: var(--ink-soft); text-align: center; margin-top: 12px; }
.entry-content .wp-block-pullquote, .entry-content blockquote.wp-block-quote cite { font-style: normal; }
.entry-content code { background: var(--cream-deep); padding: 2px 7px; border-radius: 6px; font-size: .9em; }
.entry-content pre { background: var(--charcoal); color: #e7eef0; padding: 20px; border-radius: var(--radius); overflow-x: auto; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }

/* ============================================================ COMMENTS ============================================================ */
.comments-area { max-width: 100%; margin-top: 50px; }
.comments-area h3, .comments-title { font-size: 22px; margin-bottom: 22px; }
.comment-list { list-style: none; padding: 0; margin: 0; }
.comment-list ul.children { list-style: none; padding-left: 36px; }
.comment-body { display: flex; gap: 14px; padding: 20px 0; border-top: 1px solid var(--line); }
.comment-body .avatar { width: 44px; height: 44px; flex: none; }
.comment .c-name, .comment-author .fn { font-weight: 600; color: var(--ink); font-size: 14.5px; font-style: normal; }
.comment .c-time, .comment-meta { font-size: 12.5px; color: var(--ink-soft); }
.comment p { font-size: 15px; margin-top: 6px; }
.comment .reply a, .comment .c-reply { font-size: 13px; color: var(--camel-deep); font-weight: 500; margin-top: 8px; display: inline-block; }
.comment-respond { margin-top: 30px; }
.comment-form { display: flex; flex-direction: column; gap: 14px; }
.comment-form p { margin: 0; }
.comment-form label { font-size: 13.5px; font-weight: 600; color: var(--ink); display: block; margin-bottom: 6px; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 13px 15px; font-family: inherit; font-size: 15px;
  background: var(--cream); outline: none; transition: all .2s var(--ease); }
.comment-form textarea { resize: vertical; min-height: 110px; }
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--camel); box-shadow: 0 0 0 4px var(--camel-wash); }
.comment-form .submit, .form-submit input[type=submit] { background: var(--cta); color: #fff; border-radius: 999px; padding: 13px 26px; font-weight: 500; font-size: 15px; width: max-content; }
.form-submit input[type=submit]:hover { background: var(--cta-deep); }

/* ============================================================ PAGINATION ============================================================ */
.pagination, .nav-links.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; flex-wrap: wrap; }
.pagination a, .pagination .page-numbers { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; border: 1px solid var(--line);
  background: var(--paper); font-weight: 500; font-size: 15px; color: var(--ink-2); transition: all .2s var(--ease); }
.pagination a:hover, .pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination .page-numbers.dots { border: none; background: none; }
.pagination a.nav-pg, .pagination .prev, .pagination .next { width: auto; padding: 0 18px; gap: 7px; }
.pagination a.nav-pg svg { width: 16px; height: 16px; }

/* ============================================================ RESPONSIVE ============================================================ */
@media (max-width: 980px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-news { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .wrap { padding-inline: 24px; }
  .nav-links, .search { display: none; }
  .menu-toggle { display: grid; }
  .section { padding: 60px 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .footer-credit { margin-left: 0; }
}

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer .scrim { position: absolute; inset: 0; background: rgba(18,42,48,.4); opacity: 0; transition: opacity .3s; }
.drawer.open .scrim { opacity: 1; }
.drawer .panel { position: absolute; top: 0; right: 0; bottom: 0; width: 280px; background: var(--cream);
  padding: 28px; transform: translateX(100%); transition: transform .32s var(--ease); display: flex; flex-direction: column; gap: 6px; overflow-y: auto; }
.drawer.open .panel { transform: translateX(0); }
.drawer .panel a { padding: 13px 6px; font-size: 17px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line); display: block; }
.drawer .panel a:hover { color: var(--camel-deep); }
.drawer .panel .dc-close { align-self: flex-end; margin-bottom: 10px; }
.drawer .panel ul { list-style: none; padding: 0; margin: 0; }

/* ============================================================ HOME PAGE ============================================================ */
.hero { padding: 60px 0 70px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 54px; align-items: center; }
.hero-media { position: relative; }
.hero-media .media { width: 100%; aspect-ratio: 4/3.2; border-radius: 20px; box-shadow: var(--shadow-md); }
.hero-media .float-tag { position: absolute; top: 20px; left: 20px; z-index: 2; }
.hero-media .stat-card { position: absolute; bottom: -22px; right: -18px; background: var(--paper); border: 1px solid var(--line);
  box-shadow: var(--shadow-md); border-radius: 16px; padding: 16px 22px; display: flex; align-items: center; gap: 14px; }
.hero-media .stat-card .n { font-size: 26px; font-weight: 700; color: var(--ink); line-height: 1; }
.hero-media .stat-card .l { font-size: 12.5px; color: var(--ink-soft); line-height: 1.3; }
.hero-media .stat-card .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--camel-wash); display: grid; place-items: center; color: var(--camel-deep); }
.hero-media .stat-card .ic svg { width: 21px; height: 21px; }
.hero-copy h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 600; line-height: 1.08; margin: 20px 0 22px; }
.hero-copy h1 em { font-style: italic; color: var(--camel-deep); font-weight: 500; }
.hero-copy p.lead { font-size: 18.5px; color: var(--ink-2); margin-bottom: 30px; max-width: 480px; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-byline { display: flex; align-items: center; gap: 12px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-byline .av { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; border: 2px solid var(--paper); box-shadow: var(--shadow-sm); }
.hero-byline .av .media { width: 100%; height: 100%; }
.hero-byline .txt b { color: var(--ink); font-weight: 600; font-size: 14px; }
.hero-byline .txt div { font-size: 13px; color: var(--ink-soft); }

.cat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-tile { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/3.4;
  display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.cat-tile .media { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.cat-tile::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(18,42,48,0) 35%, rgba(18,42,48,.82) 100%); }
.cat-tile .ct-body { padding: 22px; width: 100%; }
.cat-tile .ct-body h3 { color: #fff; font-size: 19px; font-weight: 600; }
.cat-tile .ct-body span { font-size: 12.5px; color: rgba(255,255,255,.78); }
.cat-tile { transition: transform .35s var(--ease); }
.cat-tile:hover { transform: translateY(-4px); }
.cat-tile:hover .media img { transform: scale(1.05); transition: transform .6s var(--ease); }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.sec-head .sh-left h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 600; margin-top: 14px; }
.sec-head .sh-left p { color: var(--ink-soft); margin-top: 8px; max-width: 460px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.feature-break { background: var(--charcoal); color: #EFE7DA; border-radius: 22px; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.feature-break .fb-media .media { width: 100%; height: 100%; min-height: 360px; border-radius: 0; }
.feature-break .fb-text { padding: 56px 54px; display: flex; flex-direction: column; justify-content: center; }
.feature-break .fb-text .kicker { color: var(--camel); }
.feature-break .fb-text h2 { color: #fff; font-size: 34px; font-weight: 600; margin: 18px 0 16px; line-height: 1.18; }
.feature-break .fb-text h2 em { font-style: italic; color: var(--camel); font-weight: 500; }
.feature-break .fb-text p { color: #9DB4BA; font-size: 16px; margin-bottom: 28px; }

.news-band { background: var(--cream-deep); }
.news-inner { background: var(--camel); border-radius: 24px; padding: 60px; display: grid;
  grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.news-inner::before { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px;
  border-radius: 50%; background: rgba(255,255,255,.08); }
.news-inner::after { content: ""; position: absolute; left: -40px; bottom: -80px; width: 200px; height: 200px;
  border-radius: 50%; background: rgba(255,255,255,.07); }
.news-inner .ni-text { position: relative; }
.news-inner .ni-text .eyebrow { color: rgba(255,255,255,.8); }
.news-inner .ni-text h2 { color: #fff; font-size: 33px; font-weight: 600; margin: 12px 0 10px; }
.news-inner .ni-text p { color: rgba(255,255,255,.86); font-size: 16px; }
.news-form { position: relative; display: flex; gap: 10px; background: #fff; padding: 8px; border-radius: 999px; box-shadow: var(--shadow-md); }
.news-form input { flex: 1; border: none; outline: none; background: none; padding: 0 18px; font-size: 15px; font-family: inherit; min-width: 0; }
.news-form button { background: var(--cta); color: #fff; border-radius: 999px; padding: 13px 24px; font-weight: 500; font-size: 14.5px; white-space: nowrap; transition: background .2s; }
.news-form button:hover { background: var(--cta-deep); }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .cat-tiles { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .feature-break { grid-template-columns: 1fr; }
  .feature-break .fb-media .media { min-height: 280px; }
  .news-inner { grid-template-columns: 1fr; padding: 44px 34px; }
}
@media (max-width: 600px) {
  .cat-tiles, .grid-3 { grid-template-columns: 1fr; }
  .hero-media .stat-card { right: 12px; }
}

/* ============================================================ BLOG / ARCHIVE ============================================================ */
.filter-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.chip { font-size: 14px; font-weight: 500; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink-2); transition: all .2s var(--ease); display: inline-block; }
.chip:hover { border-color: var(--camel); color: var(--camel-deep); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip-spacer { flex: 1; }
.result-count { font-size: 13.5px; color: var(--ink-soft); }

/* Category tabs (AJAX) */
.cat-tabs-section .filter-bar { margin-bottom: 32px; }
.cat-tabs-grid { transition: opacity .2s var(--ease); min-height: 120px; }
.cat-tabs-grid.is-loading { opacity: .45; pointer-events: none; }

.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) var(--sidebar-w); gap: 56px; align-items: start; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.feat-post { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s var(--ease), border-color .3s; }
.feat-post:hover { box-shadow: var(--shadow-md); border-color: var(--camel-soft); }
.feat-post .fp-media { position: relative; min-height: 320px; }
.feat-post .fp-media-link { position: absolute; inset: 0; display: block; z-index: 1; }
.feat-post .fp-media .media { position: absolute; inset: 0; width: 100%; height: 100%; }
.feat-post .fp-media .card-tag { position: absolute; top: 16px; left: 16px; z-index: 2; }
.feat-post .fp-body { padding: 40px 42px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.feat-post .fp-body .eyebrow { color: var(--camel-deep); }
.feat-post .fp-body h2 { font-size: 30px; font-weight: 600; line-height: 1.2; }
.feat-post:hover .fp-body h2 { color: var(--camel-deep); }
.feat-post .fp-body p { font-size: 16px; color: var(--ink-2); }
.feat-post .fp-body .meta { margin-top: 6px; display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-soft); flex-wrap: wrap; }
.feat-post .fp-body .meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--camel); }

@media (max-width: 980px) {
  .blog-layout { grid-template-columns: 1fr; gap: 48px; }
  .feat-post { grid-template-columns: 1fr; }
  .feat-post .fp-media { min-height: 240px; }
}
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }

/* ============================================================ SINGLE POST ============================================================ */
.article-head { padding: 50px 0 30px; text-align: center; }
.article-head .tag { margin-bottom: 20px; }
.article-head h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 600; max-width: 880px; margin: 0 auto 22px; line-height: 1.1; }
.article-head .standfirst { font-size: 19px; color: var(--ink-2); max-width: 640px; margin: 0 auto 30px; }
.article-meta { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--ink-soft); }
.article-meta .am-author { display: flex; align-items: center; gap: 10px; }
.article-meta .am-author .avatar { width: 38px; height: 38px; }
.article-meta .am-author b { color: var(--ink); font-weight: 600; }
.article-meta .am-author a { color: var(--ink); }
.article-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--camel); }

.article-hero { width: 100%; max-width: 1140px; margin: 36px auto 0; padding-inline: 40px; }
.article-hero .media { width: 100%; aspect-ratio: 16/8.5; border-radius: 20px; box-shadow: var(--shadow-md); }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) var(--sidebar-w); gap: 64px; align-items: start; padding-top: 60px; }
.article-body { max-width: 100%; }

.article-foot { max-width: 100%; margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--line); }
.tags-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tags-row .lbl { font-weight: 600; color: var(--ink); font-size: 14px; margin-right: 4px; }
.share-row { display: flex; align-items: center; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.share-row .lbl { font-weight: 600; color: var(--ink); font-size: 14px; }
.share-row a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink-2); transition: all .2s var(--ease); }
.share-row a:hover { background: var(--camel); color: #fff; border-color: var(--camel); }
.share-row a svg { width: 17px; height: 17px; }

.author-bio { max-width: 100%; margin-top: 44px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display: flex; gap: 22px; align-items: center; }
.author-bio .ab-av { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; flex: none; border: 2px solid var(--camel-soft); }
.author-bio .ab-av img, .author-bio .ab-av .media { width: 100%; height: 100%; object-fit: cover; }
.author-bio .ab-name { font-size: 19px; font-weight: 600; color: var(--ink); }
.author-bio .ab-role { font-size: 13px; color: var(--camel-deep); font-weight: 500; margin-bottom: 8px; }
.author-bio p { font-size: 15px; color: var(--ink-2); }

.article-sidebar { position: sticky; top: 104px; }

.related { background: var(--cream-deep); border-top: 1px solid var(--line); }
.related .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.callout { background: var(--camel-wash); border: 1px solid var(--camel-soft); border-radius: var(--radius); padding: 24px 28px; }
.callout .ct { font-weight: 600; color: var(--camel-deep); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.callout p { font-size: 16px; margin: 0; }

@media (max-width: 980px) {
  .article-layout { grid-template-columns: 1fr; gap: 40px; }
  .article-sidebar { position: static; }
  .related .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .article-hero { padding-inline: 24px; }
  .author-bio { flex-direction: column; text-align: center; }
  .related .grid-3 { grid-template-columns: 1fr; }
}

/* ============================================================ ABOUT ============================================================ */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 80px 0; }
.about-intro .ai-text .kicker { margin-bottom: 18px; }
.about-intro .ai-text h1 { font-size: clamp(34px, 4.5vw, 52px); font-weight: 600; line-height: 1.12; margin-bottom: 22px; }
.about-intro .ai-text h1 em { font-style: italic; color: var(--camel-deep); font-weight: 500; }
.about-intro .ai-text p { font-size: 17.5px; color: var(--ink-2); margin-bottom: 18px; }
.about-intro .ai-media { position: relative; }
.about-intro .ai-media .media { width: 100%; aspect-ratio: 4/4.4; border-radius: 20px; box-shadow: var(--shadow-md); }
.about-intro .ai-media .badge { position: absolute; bottom: -20px; left: -20px; background: var(--camel); color: #fff;
  border-radius: 16px; padding: 20px 24px; box-shadow: var(--shadow-md); }
.about-intro .ai-media .badge .n { font-size: 30px; font-weight: 700; line-height: 1; }
.about-intro .ai-media .badge .l { font-size: 13px; opacity: .9; margin-top: 6px; }

.stats-band { background: var(--charcoal); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stats-grid .stat .n { font-size: 44px; font-weight: 700; color: #fff; line-height: 1; }
.stats-grid .stat .n span { color: var(--camel); }
.stats-grid .stat .l { font-size: 14px; color: #9DB4BA; margin-top: 12px; letter-spacing: .04em; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.value-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; transition: transform .3s var(--ease), box-shadow .3s; }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-card .vc-ic { width: 54px; height: 54px; border-radius: 14px; background: var(--camel-wash); color: var(--camel-deep); display: grid; place-items: center; margin-bottom: 20px; }
.value-card .vc-ic svg { width: 26px; height: 26px; }
.value-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.value-card p { font-size: 15px; color: var(--ink-2); }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-card { text-align: center; }
.team-card .tc-photo { width: 100%; aspect-ratio: 1/1.05; border-radius: var(--radius); overflow: hidden; margin-bottom: 18px; }
.team-card .tc-photo .media { width: 100%; height: 100%; }
.team-card h3 { font-size: 19px; font-weight: 600; }
.team-card .role { color: var(--camel-deep); font-size: 13.5px; font-weight: 500; margin-top: 4px; }
.team-card p { font-size: 14px; color: var(--ink-soft); margin-top: 10px; max-width: 280px; margin-inline: auto; }

.cta-band { background: var(--cream-deep); }
.cta-inner { text-align: center; max-width: 620px; margin-inline: auto; }
.cta-inner h2 { font-size: 36px; font-weight: 600; margin-bottom: 14px; }
.cta-inner h2 em { font-style: italic; color: var(--camel-deep); font-weight: 500; }
.cta-inner p { font-size: 17px; color: var(--ink-2); margin-bottom: 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 980px) {
  .about-intro { grid-template-columns: 1fr; gap: 48px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .values-grid, .team-grid { grid-template-columns: 1fr; }
}

/* ============================================================ CONTACT ============================================================ */
.contact-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.contact-info .ci-block { display: flex; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.contact-info .ci-block:first-child { padding-top: 0; }
.contact-info .ci-ic { width: 50px; height: 50px; border-radius: 13px; background: var(--camel-wash); color: var(--camel-deep); display: grid; place-items: center; flex: none; }
.contact-info .ci-ic svg { width: 23px; height: 23px; }
.contact-info h3 { font-size: 17px; font-weight: 600; margin-bottom: 5px; }
.contact-info p { font-size: 15px; color: var(--ink-2); }
.contact-info a { color: var(--camel-deep); font-weight: 500; }
.contact-info a:hover { text-decoration: underline; }
.ci-socials { margin-top: 30px; }
.ci-socials .lbl { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 14px; }
.ci-socials .socials a { border-color: var(--line); color: var(--ink-2); }
.ci-socials .socials a:hover { background: var(--camel); border-color: var(--camel); color: #fff; }

.contact-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-sm); }
.contact-form h2 { font-size: 26px; font-weight: 600; margin-bottom: 6px; }
.contact-form .cf-sub { font-size: 15px; color: var(--ink-soft); margin-bottom: 28px; }
.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 13px 15px;
  font-family: inherit; font-size: 15px; color: var(--ink); background: var(--cream); outline: none; transition: all .2s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--camel); background: #fff; box-shadow: 0 0 0 4px var(--camel-wash); }
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-soft); }
.form-submit { display: flex; align-items: center; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
.form-note { font-size: 13px; color: var(--ink-soft); }

.map-wrap { margin-top: 64px; }
.map-wrap .media, .map-wrap iframe { width: 100%; height: 360px; border-radius: var(--radius); border: 0; }

.faq-band { background: var(--cream-deep); }
.faq-list { max-width: 760px; margin-inline: auto; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; cursor: pointer; font-weight: 600; font-size: 17px; color: var(--ink); width: 100%; text-align: left; }
.faq-q .fic { width: 28px; height: 28px; border-radius: 50%; background: var(--camel-wash); color: var(--camel-deep); display: grid; place-items: center; flex: none; transition: transform .25s var(--ease); }
.faq-q .fic svg { width: 16px; height: 16px; }
.faq-item.open .faq-q .fic { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq-a p { padding: 0 26px 24px; font-size: 15.5px; color: var(--ink-2); margin: 0; }
.faq-item.open .faq-a { max-height: 400px; }

@media (max-width: 980px) { .contact-layout { grid-template-columns: 1fr; gap: 44px; } }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } .contact-form { padding: 28px 22px; } }

/* ============================================================ AD SLOTS ============================================================ */
.ad-slot { margin: 30px 0; text-align: center; max-width: 100%; overflow: hidden; }
.ad-slot img { display: inline-block; margin-inline: auto; }
.ad-slot .ad-label { display: block; font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.ad-wrap { padding-block: 18px; }
.ad-before_content { margin-top: 0; }
.widget-ad { padding: 18px; text-align: center; }
.ad-archive-row { margin: 4px 0; padding: 18px 0; }

/* ============================================================ AFFILIATE BUTTONS / BOXES ============================================================ */
.aff-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.aff-btn {
  display: inline-flex; align-items: center; gap: 10px; background: var(--aff, var(--cta)); color: #fff;
  font-family: var(--font); font-weight: 600; font-size: 15px; line-height: 1; padding: 14px 22px;
  border-radius: 11px; box-shadow: var(--shadow-sm); transition: filter .2s var(--ease), transform .2s var(--ease);
}
.aff-btn:hover { filter: brightness(.93); transform: translateY(-2px); color: #fff; }
.aff-btn svg { width: 20px; height: 20px; flex: none; }
/* Neutralize the in-content link underline/colour for affiliate buttons. */
.entry-content a.aff-btn { color: #fff; border-bottom: 0; font-weight: 600; }
.entry-content a.aff-btn:hover { border-bottom: 0; }

.aff-box {
  display: grid; grid-template-columns: 190px 1fr; gap: 26px; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; margin: 36px 0; box-shadow: var(--shadow-sm);
}
.aff-box .aff-media { border-radius: 12px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--cream-deep); }
.aff-box .aff-media img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 12px; }
.aff-box .aff-badge {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--camel-deep); background: var(--camel-wash); border: 1px solid var(--camel-soft);
  padding: 4px 11px; border-radius: 999px; margin-bottom: 12px;
}
.aff-box h4 { font-size: 21px; font-weight: 600; margin: 0 0 8px; }
.aff-box p { font-size: 15px; color: var(--ink-2); line-height: 1.6; margin: 0 0 16px; }
.aff-box .aff-buttons { margin: 0; }
@media (max-width: 600px) { .aff-box { grid-template-columns: 1fr; gap: 18px; } }

/* Generic page */
.page-body { max-width: 820px; margin-inline: auto; }
.page-body .entry-content > *:first-child { margin-top: 0; }
