/* =========================================================================
   ZONEX GROUP — BLOG PAGE STYLES
   Brand: navy / white / gold. Self-contained (no framework dependency).
   ========================================================================= */

:root {
  /* Brand palette */
  --navy: #0a141d;
  --navy-800: #0f1e2b;
  --navy-700: #16293a;
  --gold: #d4af37;
  --gold-light: #f0c75e;
  --gold-dark: #a9822a;
  --ivory: #f8f6f0;
  --bg-soft: #f4f5f3;
  --white: #ffffff;
  --ink: #14212b;
  --muted: #5c6b76;
  --border: #e6e8e4;

  /* Type */
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --maxw: 1280px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* Shadow */
  --shadow-sm: 0 4px 16px rgba(10, 20, 29, .07);
  --shadow-md: 0 14px 34px rgba(10, 20, 29, .12);
  --shadow-lg: 0 26px 60px rgba(10, 20, 29, .2);

  /* Motion */
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ===== Reset ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg-soft);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--navy);
}

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

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 14px 26px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  white-space: nowrap;
}

.btn svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); box-shadow: 0 10px 26px rgba(212,175,55,.4); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.4);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 20, 29, .18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212,175,55,0);
  transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}

.site-header.is-scrolled {
  background: var(--navy);
  border-bottom-color: rgba(212,175,55,.16);
  box-shadow: 0 6px 24px rgba(0,0,0,.3);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 20px;
}

/* Text-based logo lockup — swap for {{ asset('images/logo.png') }} <img> once brand artwork is supplied */
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  transition: opacity .25s;
}
.logo:hover { opacity: .88; }

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--serif);
  font-weight: 900;
  font-size: 1.3rem;
  border-radius: 6px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.logo-text b {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: .02em;
}
.logo-text span {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .28em;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.nav-links a {
  font-weight: 600;
  font-size: .84rem;
  color: rgba(248,246,240,.86);
  padding: 8px 0;
  position: relative;
  transition: color .3s var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .35s var(--ease);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--gold); }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { width: 100%; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 700;
  font-size: .86rem;
  white-space: nowrap;
  transition: color .25s;
}
.nav-phone:hover { color: var(--gold); }
.nav-phone svg { width: 17px; height: 17px; color: var(--gold); }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}
.burger span {
  width: 22px; height: 2px;
  background: var(--gold);
  transition: transform .3s var(--ease), opacity .25s, width .25s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; width: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-links {
    position: fixed;
    top: 84px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy);
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s var(--ease);
    border-bottom: 1px solid rgba(212,175,55,.15);
  }
  .nav-links.is-open { max-height: 480px; }
  .nav-links a {
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }
  .nav-links a::after { display: none; }
  .nav-phone { display: none; }
  .burger { display: flex; }
}

/* =========================================================================
   BREADCRUMB + HERO
   ========================================================================= */
.blog-hero {
  position: relative;
  margin-top: 0;
  padding: 168px 0 92px;
  background: url('../img/blog_page_header.jpg') center/cover no-repeat, var(--navy);
  overflow: hidden;
}

.blog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,11,18,.72) 0%, rgba(5,11,18,.86) 100%);
}

.blog-hero .container { position: relative; z-index: 2; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(248,246,240,.6);
  margin-bottom: 26px;
}
.breadcrumb a { transition: color .25s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: rgba(212,175,55,.5); }
.breadcrumb .current { color: var(--gold); }

.blog-hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  color: var(--white);
  margin-bottom: 20px;
  max-width: 720px;
}

.blog-hero p {
  font-size: 1.05rem;
  color: rgba(248,246,240,.78);
  max-width: 620px;
  line-height: 1.75;
}

.blog-hero .gold-rule {
  width: 64px;
  height: 3px;
  background: var(--gold);
  margin: 22px 0 0;
}

/* =========================================================================
   LAYOUT — main content + sidebar
   ========================================================================= */
.blog-section {
  padding: 72px 0 96px;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 56px;
  align-items: start;
}

@media (max-width: 980px) {
  .blog-layout { grid-template-columns: 1fr; gap: 48px; }
}

/* ===== Toolbar (mobile search shortcut + result count) ===== */
.blog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.blog-toolbar h2 {
  font-size: 1.3rem;
  color: var(--navy);
}

.result-count {
  font-size: .84rem;
  font-weight: 600;
  color: var(--muted);
}
.result-count b { color: var(--navy); }

.active-filter-pill {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  font-size: .76rem;
  font-weight: 700;
  padding: 7px 12px 7px 14px;
  border-radius: 30px;
}
.active-filter-pill.is-visible { display: inline-flex; }
.active-filter-pill button {
  background: none; border: none; color: var(--gold);
  cursor: pointer; font-size: 1rem; line-height: 1; padding: 0;
}

/* =========================================================================
   BLOG CARDS
   ========================================================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

@media (max-width: 700px) {
  .blog-grid { grid-template-columns: 1fr; }
}

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  opacity: 0;
  transform: translateY(22px);
}

.blog-card.is-visible {
  animation: cardIn .6s var(--ease) forwards;
}

@keyframes cardIn {
  to { opacity: 1; transform: translateY(0); }
}

.blog-card[hidden] { display: none !important; }

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md), 0 22px 46px rgba(212,175,55,.15);
  border-color: rgba(212,175,55,.35);
}

.card-media {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy);
}

.card-media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.blog-card:hover .card-media img { transform: scale(1.08); }

.card-media-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,12,19,0) 30%, rgba(6,12,19,.55) 65%, rgba(5,10,16,.92) 100%);
}

.card-media-overlay {
  position: relative;
  z-index: 2;
  padding: 20px 22px;
  color: var(--white);
}
.card-media-overlay .card-category { color: var(--gold); }
.card-media-overlay .card-readtime { color: rgba(248,246,240,.7); }
.card-media-overlay .card-readtime::before { background: rgba(248,246,240,.5); }
.card-media-overlay h3 {
  font-size: 1.18rem;
  color: var(--white);
  margin-bottom: 0;
  line-height: 1.35;
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 26px 26px;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.card-category {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.card-readtime {
  font-size: .72rem;
  font-weight: 600;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.card-readtime::before {
  content: "";
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--muted);
}

.card-body p {
  font-size: .89rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
  transition: gap .25s, color .25s;
}
.card-link svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.card-link:hover { color: var(--gold-dark); gap: 12px; }

/* ===== No results ===== */
.no-results {
  text-align: center;
  padding: 70px 24px;
  background: var(--white);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  color: var(--muted);
}
.no-results svg { width: 42px; height: 42px; color: var(--gold); margin: 0 auto 16px; }
.no-results h3 { color: var(--navy); font-size: 1.15rem; margin-bottom: 8px; }
.no-results[hidden] { display: none; }

/* =========================================================================
   PAGINATION
   ========================================================================= */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 6px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--navy);
  font-weight: 700;
  font-size: .85rem;
  cursor: pointer;
  transition: background .25s, border-color .25s, color .25s, transform .25s;
}
.page-btn svg { width: 16px; height: 16px; }

.page-btn:hover:not(:disabled):not(.is-disabled) {
  border-color: var(--gold);
  color: var(--gold-dark);
  transform: translateY(-2px);
}

.page-btn.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--gold);
}

.page-btn:disabled,
.page-btn.is-disabled {
  opacity: .35;
  cursor: not-allowed;
  pointer-events: none;
}

.page-btn.nav-arrow { border-radius: var(--radius-sm); width: auto; padding: 0 16px; gap: 6px; }

/* =========================================================================
   SIDEBAR
   ========================================================================= */
.sidebar { display: flex; flex-direction: column; gap: 28px; }

@media (min-width: 981px) {
  .sidebar { position: sticky; top: 108px; }
}

.widget {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 26px;
}

.widget h3 {
  font-size: 1.02rem;
  color: var(--navy);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

/* ----- Search widget ----- */
.search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-radius: 30px;
  padding: 6px 6px 6px 18px;
  transition: border-color .25s, box-shadow .25s;
}
.search-form:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212,175,55,.14);
}
.search-form input {
  flex: 1;
  border: none;
  background: none;
  outline: none;
  font: inherit;
  font-size: .88rem;
  color: var(--ink);
  padding: 8px 0;
}
.search-form input::placeholder { color: #93a0a8; }
.search-form button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: none;
  background: var(--navy);
  color: var(--gold);
  cursor: pointer;
  flex-shrink: 0;
  transition: background .25s;
}
.search-form button:hover { background: var(--gold-dark); color: var(--navy); }
.search-form button svg { width: 16px; height: 16px; }

/* ----- Categories widget ----- */
.category-list li { border-bottom: 1px solid var(--border); }
.category-list li:last-child { border-bottom: none; }

.category-list a {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: none;
  border: none;
  text-align: left;
  padding: 12px 4px;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .87rem;
  color: var(--ink);
  transition: color .25s, padding-left .25s;
}

.category-list a .cat-name {
  display: flex;
  align-items: center;
  gap: 10px;
}
.category-list a .cat-name svg {
  width: 14px; height: 14px;
  color: var(--gold);
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .25s, transform .25s;
}

.category-list a .count {
  font-size: .74rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--bg-soft);
  border-radius: 30px;
  padding: 2px 10px;
  transition: background .25s, color .25s;
}

.category-list a:hover,
.category-list li.is-active a {
  color: var(--gold-dark);
  padding-left: 8px;
}
.category-list a:hover .cat-name svg,
.category-list li.is-active a .cat-name svg {
  opacity: 1;
  transform: translateX(0);
}
.category-list li.is-active a .count {
  background: var(--navy);
  color: var(--gold);
}

/* ----- Popular posts widget ----- */
.popular-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.popular-list li:first-child { padding-top: 0; }
.popular-list li:last-child { border-bottom: none; padding-bottom: 0; }

.popular-thumb {
  flex-shrink: 0;
  width: 68px; height: 68px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--navy);
}
.popular-thumb img { width: 100%; height: 100%; object-fit: cover; }

.popular-info h4 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: .86rem;
  line-height: 1.4;
  color: var(--navy);
  margin-bottom: 6px;
  transition: color .25s;
}
.popular-info a:hover h4 { color: var(--gold-dark); }
.popular-info time {
  font-size: .72rem;
  font-weight: 600;
  color: var(--muted);
}

/* ----- CTA widget ----- */
.cta-widget {
  background: linear-gradient(160deg, var(--navy) 0%, #050c13 100%);
  border: 1px solid rgba(212,175,55,.3);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-widget::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(212,175,55,.25), transparent 70%);
}
.cta-icon {
  width: 52px; height: 52px;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(212,175,55,.12);
  border: 1px solid rgba(212,175,55,.4);
}
.cta-icon svg { width: 24px; height: 24px; color: var(--gold); }
.cta-widget h3 { color: var(--white); border: none; padding: 0; margin-bottom: 10px; font-size: 1.12rem; }
.cta-widget p { font-size: .85rem; color: rgba(248,246,240,.72); margin-bottom: 22px; line-height: 1.6; }
.cta-widget .btn { width: 100%; justify-content: center; position: relative; z-index: 1; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
  background: var(--navy);
  color: rgba(248,246,240,.75);
  padding-top: 24px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding: 50px 0 44px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.foot-brand p { font-size: .86rem; line-height: 1.7; margin: 16px 0 20px; }

.foot-brand .logo-text b { color: var(--white); }

.socials { display: flex; gap: 12px; }
.socials a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(212,175,55,.25);
  transition: background .25s, transform .25s;
}
.socials a:hover { background: var(--gold); transform: translateY(-3px); }
.socials svg { width: 17px; height: 17px; fill: var(--white); }
.socials a:hover svg { fill: var(--navy); }

.foot-col h4 {
  color: var(--white);
  font-size: .92rem;
  margin-bottom: 18px;
  letter-spacing: .02em;
}
.foot-col ul li { margin-bottom: 11px; }
.foot-col a {
  font-size: .85rem;
  color: rgba(248,246,240,.72);
  transition: color .25s, padding-left .25s;
}
.foot-col a:hover { color: var(--gold); padding-left: 3px; }

.foot-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .85rem;
  color: rgba(248,246,240,.72);
}
.foot-contact svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }

.foot-hours { margin-top: 18px; }
.foot-hours h5 {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gold);
  margin-bottom: 8px;
}
.foot-hours p { font-size: .82rem; color: rgba(248,246,240,.65); line-height: 1.6; }

.foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 22px 0;
  font-size: .78rem;
  color: rgba(248,246,240,.5);
}
.foot-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-legal a { color: rgba(248,246,240,.55); transition: color .25s; }
.foot-legal a:hover { color: var(--gold); }
.foot-meta { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 1100px) {
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 700px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .foot-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   SINGLE POST PAGE
   ========================================================================= */
.post-hero {
  padding: 116px 0 40px;
}

.post-hero-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow-lg);
}

.post-hero-media {
  position: absolute;
  inset: 0;
}
.post-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,11,18,.35) 0%, rgba(5,11,18,.92) 100%);
}

.post-hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 44px;
  color: var(--white);
  width: 100%;
}

.post-hero .breadcrumb { color: rgba(248,246,240,.65); }
.post-hero .breadcrumb a:hover { color: var(--gold); }

.post-category-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 3px;
  margin-bottom: 18px;
}

.post-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  max-width: 800px;
  margin-bottom: 22px;
}

.post-meta-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  color: rgba(248,246,240,.78);
  font-size: .85rem;
  font-weight: 600;
}
.post-meta-row span { display: flex; align-items: center; gap: 7px; }
.post-meta-row svg { width: 15px; height: 15px; color: var(--gold); flex-shrink: 0; }

.post-body {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 44px;
}

.post-body h2, .post-body h3 { color: var(--navy); margin: 34px 0 14px; }
.post-body h2 { font-size: 1.5rem; }
.post-body h3 { font-size: 1.2rem; }
.post-body p { margin-bottom: 18px; color: var(--ink); line-height: 1.8; font-size: 1rem; }
.post-body ul, .post-body ol { margin: 0 0 18px 22px; }
.post-body li { margin-bottom: 8px; line-height: 1.7; }
.post-body img { border-radius: var(--radius-md); margin: 22px 0; max-width: 100%; }
.post-body a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 3px; }
.post-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 14px 22px;
  margin: 26px 0;
  background: var(--bg-soft);
  color: var(--muted);
  font-style: italic;
  border-radius: 0 8px 8px 0;
}
.post-body > *:first-child { margin-top: 0; }
.post-body > *:last-child { margin-bottom: 0; }

.post-tags {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.post-tags a {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: var(--bg-soft);
  color: var(--navy);
  padding: 7px 14px;
  border-radius: 30px;
  transition: background .25s, color .25s;
}
.post-tags a:hover { background: var(--navy); color: var(--gold); }

.related-section { padding: 72px 0 96px; }
.related-section .blog-toolbar { margin-bottom: 30px; }
.blog-grid--related { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 980px) {
  .blog-grid--related { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .blog-grid--related { grid-template-columns: 1fr; }
  .post-body { padding: 28px 24px; }
}

/* =========================================================================
   MISC / RESPONSIVE
   ========================================================================= */
@media (max-width: 640px) {
  .blog-hero { padding: 148px 0 76px; }
  .blog-section { padding: 56px 0 72px; }
  .widget { padding: 22px; }
  .post-hero { padding: 96px 0 28px; }
  .post-hero-card { min-height: 300px; }
  .post-hero-content { padding: 28px 24px; }
}
