/* ============================================================
   KNOTICAL NEWS — Design System
   Inherits the full KNOTICAL dark-naval-luxury aesthetic.
   ============================================================ */

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  --navy-deep:    #07091a;
  --navy-mid:     #0d1528;
  --navy-light:   #132040;
  --gold:         #c9a84c;
  --gold-light:   #e8d17a;
  --gold-dim:     rgba(201, 168, 76, 0.5);
  --white:        #f0f4ff;
  --white-muted:  #8892a4;
  --border:       rgba(201, 168, 76, 0.12);
  --border-solid: rgba(201, 168, 76, 0.28);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-ui:      'Barlow', system-ui, -apple-system, sans-serif;
  --nav-h:        72px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-ui);
  background: var(--navy-deep);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; }
a { color: inherit; -webkit-tap-highlight-color: transparent; }
button {
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
ul { list-style: none; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--nav-h);
  padding: 0 5vw;
  display: flex;
  align-items: center;
  transition: background 0.45s ease, border-bottom 0.45s ease, backdrop-filter 0.45s ease;
}

.site-header.scrolled {
  background: rgba(7, 9, 26, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  flex-shrink: 0;
}

.logo-diamond {
  width: 22px;
  height: 22px;
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 2rem;
  margin-left: auto;
  align-items: stretch;
}

.nav-links a {
  text-decoration: none;
  color: var(--white-muted);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
  display: flex;
  align-items: center;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  margin-left: 1.5rem;
  padding: 0.5rem 1.4rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.22s, color 0.22s;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--navy-deep);
}

/* ============================================================
   SHARED PATTERNS
   ============================================================ */
section {
  padding: 7rem 5vw;
  position: relative;
}

.section-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}

.section-head {
  margin-bottom: 4.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 700;
  line-height: 1.06;
  color: var(--white);
  margin-bottom: 1.6rem;
}

.gold-rule {
  width: 56px;
  height: 1px;
  background: var(--gold);
  opacity: 0.55;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201, 168, 76, 0.25);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(240, 244, 255, 0.25);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.72rem;
}

/* ============================================================
   HERO (shared between listing and single post)
   ============================================================ */
#news-hero,
#post-hero {
  min-height: 65vh;
  min-height: 65dvh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  background: var(--navy-deep);
  overflow: hidden;
  position: relative;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.hero-bg-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, var(--navy-deep) 100%);
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw;
  height: 80vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.055) 0%, transparent 65%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 960px;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.2rem;
}

.hero-diamond {
  width: 38px;
  height: 38px;
  color: var(--gold);
  flex-shrink: 0;
}

.hero-brand-line {
  width: 34px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
  opacity: 0.8;
}

.hero-brand-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

/* "Stories" tag next to the logo */
.nav-sub {
  font-family: var(--font-ui);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border-solid);
  border-radius: 999px;
  padding: 0.16rem 0.5rem;
  margin-left: 0.2rem;
}

/* ============================================================
   MOBILE HAMBURGER MENU
   ============================================================ */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  z-index: 320;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-burger:focus { outline: none; }
.nav-burger:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  justify-content: flex-end;
  background: rgba(7, 9, 26, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu-inner {
  position: relative;
  width: min(82vw, 340px);
  height: 100%;
  padding: calc(var(--nav-h) + 1.5rem) 2rem 2.5rem;
  background: rgba(7, 9, 26, 0.98);
  border-left: 1px solid var(--border);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.mobile-menu.open .mobile-menu-inner { transform: translateX(0); }
.mobile-menu .m-close {
  position: absolute;
  top: 1.1rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.mobile-menu .m-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}
.mobile-menu .m-close span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.mobile-menu .m-close span:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }
.mobile-menu .m-close:hover span { background: var(--gold); }
.mobile-menu .m-link {
  display: block;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--white-muted);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-menu .m-link:hover,
.mobile-menu .m-link.active { color: var(--gold); }
.mobile-menu .m-cta {
  margin-top: 1.5rem;
  padding: 0.85rem 1.2rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  transition: background 0.22s, color 0.22s;
}
.mobile-menu .m-cta:hover { background: var(--gold); color: var(--navy-deep); }
body.menu-open { overflow: hidden; }

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 7rem);
  font-weight: 700;
  line-height: 0.94;
  color: var(--white);
  margin-bottom: 2rem;
}

.hero-headline .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(70px);
}

.hero-headline .accent-word {
  color: var(--gold);
  font-style: italic;
}

.hero-tagline {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  line-height: 1.75;
  color: var(--white-muted);
  max-width: 560px;
  opacity: 0;
  transform: translateY(20px);
}

/* ============================================================
   CATEGORY FILTER TABS
   ============================================================ */
#news-filter {
  padding: 0 5vw 1rem;
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.category-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar { display: none; }

.cat-tab {
  flex-shrink: 0;
  padding: 1.1rem 1.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white-muted);
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.cat-tab:hover {
  color: var(--white);
  border-bottom-color: rgba(201, 168, 76, 0.4);
}

.cat-tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ============================================================
   NEWS LISTING GRID
   ============================================================ */
#news-grid {
  background: var(--navy-deep);
  border-top: 1px solid var(--border);
}

.news-listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.news-listing-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

/* ── Card ──────────────────────────────────────────────────── */
.news-card {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(44px);
  transition:
    opacity 0.65s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.65s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.news-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.news-card.in-view:hover {
  transform: translateY(-8px);
  box-shadow:
    0 24px 56px rgba(201, 168, 76, 0.14),
    0 0 0 1px rgba(201, 168, 76, 0.22);
  border-color: rgba(201, 168, 76, 0.35);
  transition:
    transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.news-card-link-wrap {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Card image area */
.news-card-img {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, var(--accent, #0d1528) 0%, var(--accent-b, #132040) 100%);
  flex-shrink: 0;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.news-card.in-view:hover .news-card-img img {
  transform: scale(1.04);
}

/* dot-grid overlay */
.news-card-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 18px 18px;
  z-index: 1;
}

/* gold bottom rule */
.news-card-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.5), transparent);
  z-index: 2;
}

/* ghost bg icon */
.news-card-bg-icon {
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 90px;
  height: 90px;
  color: rgba(255, 255, 255, 0.1);
  stroke-width: 0.8;
  z-index: 1;
}

/* category pill */
.news-card-cat {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  z-index: 3;
}

/* Card body */
.news-card-body {
  padding: 1.5rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.news-card-date {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.75;
}

.news-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-excerpt {
  font-size: 0.84rem;
  color: var(--white-muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.news-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.news-card.in-view:hover .news-card-cta,
.news-card.in-view .news-card-cta {
  opacity: 1;
  transform: translateX(0);
}

/* ── Pagination ────────────────────────────────────────────── */
.news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--border-solid);
  color: var(--white-muted);
  transition: all 0.2s;
}

.page-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.page-numbers {
  display: flex;
  gap: 0.25rem;
}

.page-num {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--white-muted);
  border: 1px solid transparent;
  transition: all 0.2s;
}

.page-num:hover {
  border-color: var(--border-solid);
  color: var(--white);
}

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

.page-ellipsis {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-muted);
  font-size: 1rem;
}

/* ── Empty state ───────────────────────────────────────────── */
.news-empty {
  text-align: center;
  padding: 6rem 2rem;
  color: var(--white-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.news-empty svg {
  color: var(--gold);
  opacity: 0.35;
}

.news-empty p {
  font-size: 1.05rem;
  color: var(--white-muted);
}

/* ── Footer row ────────────────────────────────────────────── */
.news-footer-row {
  display: flex;
  justify-content: center;
  padding-top: 3.5rem;
}

/* ============================================================
   SINGLE POST — HERO (full-width image + overlay title)
   ============================================================ */
.post-hero {
  position: relative;
  width: 100%;
  min-height: 70vh;
  min-height: 70dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: var(--nav-h);
  overflow: hidden;
  background: var(--navy-deep);
}

.post-hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.post-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-hero-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(140deg, var(--navy-mid), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-hero-placeholder svg {
  width: 120px;
  height: 120px;
  color: rgba(201, 168, 76, 0.15);
}

.post-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(7, 9, 26, 0.35) 0%,
    rgba(7, 9, 26, 0.6)  40%,
    rgba(7, 9, 26, 0.92) 100%
  );
}

.post-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2.5rem 3.5rem;
  width: 100%;
}

.post-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.4rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-muted);
  flex-wrap: wrap;
}

.post-breadcrumb a { text-decoration: none; color: var(--white-muted); transition: color 0.2s; }
.post-breadcrumb a:hover { color: var(--gold); }
.post-breadcrumb span { opacity: 0.55; }
.post-breadcrumb svg { color: var(--gold); opacity: 0.5; flex-shrink: 0; }

.post-cats {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.post-cat-pill {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  padding: 0.28rem 0.8rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.post-cat-pill:hover {
  background: var(--gold);
  color: var(--navy-deep);
}

.post-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.6rem;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--white-muted);
}

.post-meta-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.post-author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.post-meta-dot { color: var(--border-solid); }

/* ============================================================
   SINGLE POST — BODY + SIDEBAR
   ============================================================ */
.post-body-section {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  padding: 5rem 0 6rem;
}

.post-body-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 4rem;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2.5rem;
  width: 100%;
}

/* ── Prose ─────────────────────────────────────────────────── */
.post-lead {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  line-height: 1.75;
  color: var(--white);
  font-style: italic;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.prose { font-size: 1.02rem; line-height: 1.9; color: var(--white-muted); }

.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  margin: 3.5rem 0 1.2rem;
  line-height: 1.2;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.prose h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 600;
  color: var(--white);
  margin: 2.8rem 0 1rem;
  line-height: 1.3;
}

.prose h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 2.2rem 0 0.8rem;
}

.prose p { margin-bottom: 1.5rem; }

.prose a { color: var(--gold); text-decoration: underline; text-decoration-color: var(--gold-dim); text-underline-offset: 3px; transition: text-decoration-color 0.2s; }
.prose a:hover { text-decoration-color: var(--gold); }
.prose strong { color: var(--white); font-weight: 600; }
.prose em { font-style: italic; }

.prose ul, .prose ol { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 1.4rem; margin-bottom: 0.6rem; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: 0.7em; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
.prose ol { list-style: decimal; }
.prose ol li { margin-bottom: 0.6rem; line-height: 1.75; }

/* Callout / pull quote box */
.prose blockquote {
  margin: 2.5rem 0;
  padding: 1.8rem 2rem;
  border-left: 3px solid var(--gold);
  background: rgba(201, 168, 76, 0.06);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--white);
  border-radius: 0 4px 4px 0;
}

.prose blockquote p { margin-bottom: 0; }

/* Callout box (use <div class="callout"> in body HTML) */
.prose .callout {
  margin: 2.5rem 0;
  padding: 1.8rem 2rem;
  background: rgba(201, 168, 76, 0.07);
  border: 1px solid var(--border-solid);
  border-top: 3px solid var(--gold);
}

.prose .callout-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.prose img { width: 100%; height: auto; margin: 2.5rem 0; border: 1px solid var(--border); display: block; }

.prose hr { border: none; height: 1px; background: var(--border); margin: 3rem 0; }

.prose code {
  font-family: 'Menlo', 'Monaco', monospace;
  font-size: 0.85em;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid var(--border);
  padding: 0.15em 0.4em;
  border-radius: 3px;
  color: var(--gold-light);
}

/* ── Tags + Share ──────────────────────────────────────────── */
.post-tags {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.post-tags-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-muted);
}

.post-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.post-tag:hover { background: var(--gold); color: var(--navy-deep); }

.post-share-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.post-share-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-muted);
  flex-shrink: 0;
}

.post-share-btns { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.share-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--border-solid);
  color: var(--white-muted);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 999px;
}

.share-pill svg { width: 14px; height: 14px; flex-shrink: 0; }
.share-pill--li:hover { border-color: #0a66c2; color: #0a66c2; }
.share-pill--tw:hover { border-color: var(--white); color: var(--white); }
.share-pill--copy:hover { border-color: var(--gold); color: var(--gold); }

/* ── Prev / Next nav ───────────────────────────────────────── */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  margin-top: 3rem;
}

.post-nav-item {
  background: var(--navy-deep);
  padding: 1.8rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: background 0.2s;
}

.post-nav-item:hover { background: rgba(201, 168, 76, 0.04); }

.post-nav-item--next { text-align: right; }

.post-nav-dir {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.post-nav-item--next .post-nav-dir { justify-content: flex-end; }

.post-nav-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
}

/* ── Sidebar ───────────────────────────────────────────────── */
.post-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.sb-block {
  background: var(--navy-deep);
  border: 1px solid var(--border);
  padding: 1.6rem;
}

.sb-block--cta {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.08), rgba(7, 9, 26, 0.5));
  border-color: var(--border-solid);
}

.sb-knotical-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.sb-knotical-logo .logo-diamond { color: var(--gold); }

.sb-block--cta p {
  font-size: 0.84rem;
  line-height: 1.7;
  color: var(--white-muted);
  margin-bottom: 1.2rem;
}

.btn--full { width: 100%; justify-content: center; }

.sb-title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.sb-recent-posts { display: flex; flex-direction: column; gap: 1rem; }

.sb-recent-post {
  display: flex;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.sb-recent-post:hover { opacity: 0.75; }

.sb-recent-thumb {
  width: 68px;
  height: 50px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--navy-light);
  border: 1px solid var(--border);
}

.sb-recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sb-recent-thumb-placeholder { width: 100%; height: 100%; background: var(--navy-light); }

.sb-recent-info { display: flex; flex-direction: column; gap: 0.25rem; }

.sb-recent-info time {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.75;
}

.sb-recent-info h5 {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
}

.sb-categories {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.sb-categories a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--white-muted);
  text-decoration: none;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.sb-categories a:last-child { border-bottom: none; }
.sb-categories a:hover { color: var(--gold); }

.sb-categories a::after {
  content: '→';
  font-size: 0.7rem;
  opacity: 0.4;
  transition: opacity 0.2s, transform 0.2s;
}

.sb-categories a:hover::after { opacity: 1; transform: translateX(3px); }

.sb-block--newsletter p {
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--white-muted);
  margin-bottom: 1rem;
}

.sb-newsletter-form { display: flex; flex-direction: column; gap: 0.6rem; }

.sb-newsletter-form input {
  background: rgba(240, 244, 255, 0.04);
  border: 1px solid var(--border);
  padding: 0.7rem 0.9rem;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--white);
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
}

.sb-newsletter-form input::placeholder { color: rgba(136, 146, 164, 0.5); }
.sb-newsletter-form input:focus { border-color: var(--gold); }

/* ── More articles section ─────────────────────────────────── */
.more-articles {
  background: var(--navy-deep);
  border-top: 1px solid var(--border);
  padding: 7rem 5vw;
}

/* ============================================================
   RESPONSIVE — post layout
   ============================================================ */
@media (max-width: 768px) {
  .post-body-wrap { grid-template-columns: 1fr; gap: 3rem; }
  .post-sidebar { position: static; }
  .post-nav { grid-template-columns: 1fr; gap: 1px; }
  .post-nav-item--next { text-align: left; }
  .post-nav-item--next .post-nav-dir { justify-content: flex-start; }
}

@media (max-width: 768px) {
  .post-hero { min-height: 60vh; }
  .post-hero-content { padding: 2rem 5vw 2.5rem; }
  .post-title { font-size: clamp(1.75rem, 8vw, 2.6rem); }
  .post-body-section { padding: 3rem 5vw 4rem; }
  .post-share-row { flex-direction: column; align-items: flex-start; }
  .more-articles { padding: 4.5rem 5vw; }
}

/* ============================================================
   OLD SINGLE POST STYLES (kept for compatibility)
   ============================================================ */
#post-hero { display: none; } /* replaced by .post-hero */
#post-body { display: none; } /* replaced by .post-body-section */

/* ============================================================
   SINGLE POST — HERO (old, hidden)
   ============================================================ */
#post-hero {
  min-height: 72vh;
  min-height: 72dvh;
  align-items: flex-end;
  padding-bottom: 5rem;
}

#post-hero.has-image { min-height: 80vh; min-height: 80dvh; }

.post-hero-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.post-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(7, 9, 26, 0.5) 0%,
    rgba(7, 9, 26, 0.85) 100%
  );
}

.post-hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.post-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.8rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-muted);
  flex-wrap: wrap;
}

.post-breadcrumb a {
  text-decoration: none;
  color: var(--white-muted);
  transition: color 0.2s;
}

.post-breadcrumb a:hover { color: var(--gold); }
.post-breadcrumb span { color: var(--white-muted); opacity: 0.6; }
.post-breadcrumb svg { color: var(--gold); opacity: 0.5; flex-shrink: 0; }

.post-category-pill {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}

.post-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  font-weight: 700;
  line-height: 1.06;
  color: var(--white);
  margin-bottom: 1.8rem;
}

.post-meta-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}

.post-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--white-muted);
}

.post-meta-item svg { color: var(--gold); opacity: 0.6; }

.post-meta-sep {
  color: var(--border-solid);
}

.post-lead {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.75;
  color: var(--white-muted);
  max-width: 700px;
  font-style: italic;
}

/* ============================================================
   SINGLE POST — BODY LAYOUT
   ============================================================ */
#post-body {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  padding: 5rem 5vw 6rem;
}

.post-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 5rem;
  align-items: start;
  max-width: 1200px;
}

/* ── Prose / rich text ─────────────────────────────────────── */
.prose {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--white-muted);
}

.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  margin: 3.5rem 0 1.2rem;
  line-height: 1.2;
}

.prose h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 600;
  color: var(--white);
  margin: 2.8rem 0 1rem;
  line-height: 1.25;
}

.prose h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 2.2rem 0 0.8rem;
}

.prose p { margin-bottom: 1.4rem; }

.prose a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(201, 168, 76, 0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}

.prose a:hover { text-decoration-color: var(--gold); }

.prose strong { color: var(--white); font-weight: 600; }

.prose em { font-style: italic; }

.prose ul,
.prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1.4rem;
}

.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }

.prose li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.prose blockquote {
  margin: 2.5rem 0;
  padding: 1.5rem 2rem;
  border-left: 3px solid var(--gold);
  background: rgba(201, 168, 76, 0.05);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--white);
}

.prose img {
  width: 100%;
  height: auto;
  margin: 2.5rem 0;
  border: 1px solid var(--border);
}

.prose code {
  font-family: 'Menlo', 'Monaco', 'Consolas', monospace;
  font-size: 0.88em;
  background: rgba(201, 168, 76, 0.07);
  border: 1px solid var(--border);
  padding: 0.15em 0.4em;
  border-radius: 3px;
  color: var(--gold-light);
}

.prose pre {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  padding: 1.5rem;
  overflow-x: auto;
  margin: 2rem 0;
}

.prose pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.88rem;
}

.prose hr {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 3rem 0;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.9rem;
}

.prose th,
.prose td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  text-align: left;
}

.prose th {
  background: rgba(201, 168, 76, 0.07);
  color: var(--gold);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.prose td { color: var(--white-muted); }

/* ── Sidebar ───────────────────────────────────────────────── */
.post-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-block {
  background: var(--navy-deep);
  border: 1px solid var(--border);
  padding: 1.75rem;
}

.sidebar-block--knotical {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.07), rgba(7, 9, 26, 0.6));
  border-color: var(--border-solid);
}

.sidebar-block--knotical .sidebar-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.sidebar-block--knotical .logo-diamond { color: var(--gold); }

.sidebar-block--knotical p {
  font-size: 0.84rem;
  line-height: 1.7;
  color: var(--white-muted);
  margin-bottom: 1.2rem;
}

.sidebar-title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.share-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  background: rgba(240, 244, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--white-muted);
  transition: all 0.2s;
  cursor: pointer;
}

.share-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.share-btn--linkedin:hover { border-color: #0a66c2; color: #0a66c2; background: rgba(10, 102, 194, 0.08); }
.share-btn--twitter:hover  { border-color: var(--white); color: var(--white); background: rgba(240, 244, 255, 0.06); }
.share-btn--copy:hover     { border-color: var(--gold); color: var(--gold); background: rgba(201, 168, 76, 0.06); }

/* Related posts */
.related-posts {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.related-post {
  display: flex;
  gap: 0.8rem;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.related-post:hover { opacity: 0.8; }

.related-post-img {
  width: 70px;
  height: 50px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--navy-light);
  border: 1px solid var(--border);
}

.related-post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-post-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.related-post-info time {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.75;
}

.related-post-info h5 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
}

/* ============================================================
   MORE ARTICLES (on single post page)
   ============================================================ */
#more-articles {
  background: var(--navy-deep);
  border-top: 1px solid var(--border);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-deep);
  border-top: 1px solid var(--border);
  padding: 5rem 5vw 2.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.footer-diamond { width: 20px; height: 20px; color: var(--gold); }

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
}

.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--white-muted);
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.footer-links a {
  display: block;
  font-size: 0.88rem;
  color: var(--white-muted);
  text-decoration: none;
  padding: 0.3rem 0;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold); }

.footer-contact p {
  font-size: 0.88rem;
  color: var(--white-muted);
  line-height: 1.9;
}

.footer-contact a {
  text-decoration: none;
  color: var(--white-muted);
  transition: color 0.2s;
}

.footer-contact a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  color: var(--white-muted);
  opacity: 0.55;
  gap: 1rem;
}

/* ============================================================
   RESPONSIVE — TABLET (≤1100px)
   ============================================================ */
@media (max-width: 1100px) {
  .news-listing-grid { grid-template-columns: repeat(2, 1fr); }
  .news-listing-grid--3 { grid-template-columns: repeat(2, 1fr); }

  .post-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .post-sidebar { position: static; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  section { padding: 4.5rem 5vw; }

  #news-hero,
  #post-hero { min-height: 55vh; min-height: 55dvh; }

  .nav-links { display: none; }
  .nav-inner > .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-sub { display: none; }

  .hero-headline {
    font-size: clamp(2.4rem, 11vw, 4rem);
    line-height: 1.0;
  }

  .section-head { margin-bottom: 3rem; }
  .section-title { font-size: clamp(2rem, 8vw, 3rem); }

  .news-listing-grid,
  .news-listing-grid--3 { grid-template-columns: 1fr; }

  .cat-tab { padding: 0.9rem 1rem; }

  .post-title { font-size: clamp(2rem, 9vw, 3rem); }

  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.4rem; }

  .share-links { flex-direction: row; flex-wrap: wrap; }
  .share-btn { flex: 1; min-width: 0; justify-content: center; }
}

/* ============================================================
   RESPONSIVE — SMALL (≤480px)
   ============================================================ */
@media (max-width: 480px) {
  section { padding: 4rem 5vw; }
  .hero-headline { font-size: clamp(2rem, 10vw, 3rem); }
  .post-breadcrumb { gap: 0.3rem; font-size: 0.62rem; }
  .news-pagination { gap: 0.4rem; }
  .page-btn { padding: 0.5rem 0.9rem; font-size: 0.68rem; }
}

/* ============================================================
   PAGE BUILDER BLOCKS
   ============================================================ */
.page-builder-blocks { display: flex; flex-direction: column; gap: 0; }

/* Shared block wrapper */
.block {
  width: 100%;
}

/* ── Text Block ────────────────────────────────────────────── */
.block--text {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}

.block--text:last-child { border-bottom: none; }

/* ── Two Column Block ──────────────────────────────────────── */
.block--two-col {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.two-col-left,
.two-col-right { min-width: 0; }

/* ── Image + Text Block ────────────────────────────────────── */
.block--image-text {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.image-text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.block--image-text.image-right .image-text-grid {
  direction: rtl;
}

.block--image-text.image-right .image-text-grid > * {
  direction: ltr;
}

.image-text-img {
  overflow: hidden;
  border: 1px solid var(--border);
}

.image-text-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.image-text-img:hover img { transform: scale(1.03); }

.image-text-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--navy-light);
}

/* ── Hero Banner Block ─────────────────────────────────────── */
.block--hero-banner {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
  margin: 2.5rem -5vw;
  width: calc(100% + 10vw);
  background: var(--navy-light);
}

.banner-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(7, 9, 26, 0.85) 0%,
    rgba(7, 9, 26, 0.55) 60%,
    rgba(7, 9, 26, 0.3) 100%
  );
}

.banner-content {
  position: relative;
  z-index: 1;
  padding: 4rem 5vw;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.banner-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}

.banner-subtext {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--white-muted);
}

/* ── Image Only Block ──────────────────────────────────────── */
.block--image-only {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.block--image-only.is-full-width {
  margin: 0 -5vw;
  width: calc(100% + 10vw);
  padding: 0;
  border-bottom: none;
}

.image-only-figure { margin: 0; }

.image-only-figure img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--border);
}

.block--image-only.is-full-width .image-only-figure img {
  border-left: none;
  border-right: none;
}

.image-only-caption {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--white-muted);
  font-style: italic;
  text-align: center;
  padding: 0 1rem;
}

/* ── Pull Quote Block ──────────────────────────────────────── */
.block--pull-quote {
  padding: 2rem 0;
}

.pull-quote {
  position: relative;
  padding: 2.5rem 2.5rem 2.5rem 3.5rem;
  border-left: 3px solid var(--gold);
  background: rgba(201, 168, 76, 0.05);
  margin: 0;
}

.pull-quote-mark {
  position: absolute;
  top: -0.5rem;
  left: 1rem;
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--gold);
  opacity: 0.25;
  line-height: 1;
  user-select: none;
}

.pull-quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-style: italic;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.pull-quote-attribution {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── Callout Box Block ─────────────────────────────────────── */
.block--callout {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.callout-box {
  padding: 2rem 2.2rem;
  background: rgba(201, 168, 76, 0.06);
  border: 1px solid var(--border-solid);
  border-top: 3px solid var(--gold);
}

.callout-box-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.callout-box-content.prose { font-size: 0.95rem; }
.callout-box-content.prose p:last-child { margin-bottom: 0; }

/* ── CTA Banner Block ──────────────────────────────────────── */
.block--cta-banner {
  position: relative;
  overflow: hidden;
  margin: 2.5rem -5vw;
  width: calc(100% + 10vw);
  background: var(--navy-deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  min-height: 400px;
  display: flex;
  align-items: center;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.cta-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(7, 9, 26, 0.4) 0%,
    rgba(7, 9, 26, 0.7) 100%
  );
}

.cta-banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 5rem;
  width: 100%;
  padding: 5rem 5vw;
}

.cta-banner-img {
  flex-shrink: 0;
  width: 380px;
  height: 320px;
  overflow: hidden;
  border: 1px solid var(--border-solid);
}

.cta-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Content sits directly on the dark bg — no white card */
.cta-banner-card {
  flex: 1;
  max-width: 660px;
}

.cta-card-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.cta-card-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--white-muted);
  margin-bottom: 2.2rem;
  max-width: 520px;
}

.cta-card-text a { color: var(--gold); }

.cta-card-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.cta-card-btns .btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
  padding: 0.9rem 2.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
}

.cta-card-btns .btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201, 168, 76, 0.3);
}

.cta-card-btns .btn-ghost {
  border: 1px solid rgba(240, 244, 255, 0.3);
  color: var(--white);
  padding: 0.9rem 2.4rem;
}

.cta-card-btns .btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ── Logo Grid Block ───────────────────────────────────────── */
.block--logo-grid {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.logo-grid-head {
  margin-bottom: 2.5rem;
}

.logo-grid-heading {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin-top: 0.6rem;
  line-height: 1.2;
}

.logo-grid-track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.logo-grid-item {
  background: rgba(240, 244, 255, 0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.2rem;
  aspect-ratio: 2/1;
  transition: background 0.2s, border-color 0.2s;
}

.logo-grid-item:hover {
  background: rgba(201, 168, 76, 0.07);
  border-color: var(--border-solid);
}

.logo-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.6;
  transition: opacity 0.2s;
}

.logo-grid-item:hover img { opacity: 0.9; }

/* ── Entry Cards Grid Block ────────────────────────────────── */
.block--entry-cards {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.entry-cards-head {
  margin-bottom: 2.5rem;
}

.entry-cards-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.entry-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.entry-card {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.entry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(201, 168, 76, 0.12);
  border-color: var(--border-solid);
}

.entry-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.entry-card-pill {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  margin: 1rem 0 0 1rem;
  align-self: flex-start;
}

.entry-card-img {
  width: 100%;
  aspect-ratio: 17/10;
  overflow: hidden;
  background: linear-gradient(140deg, var(--accent, #0d1528), var(--accent-b, #132040));
}

.entry-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.entry-card:hover .entry-card-img img { transform: scale(1.04); }

.entry-card-img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--navy-light);
}

.entry-card-body {
  padding: 1.4rem 1.5rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.entry-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: var(--white-muted);
  opacity: 0.7;
}

.entry-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.entry-card-excerpt {
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--white-muted);
}

/* ── Centered Section Block ────────────────────────────────── */
.block--centered-section {
  position: relative;
  overflow: hidden;
  margin: 2.5rem -5vw;
  width: calc(100% + 10vw);
  background: var(--navy-deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 7rem 5vw;
  text-align: center;
}

.block--centered-section .hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.block--centered-section .hero-bg-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, var(--navy-deep) 80%);
}

.cs-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  max-width: 860px;
  margin: 0 auto;
}

.cs-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.cs-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}

.cs-body {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.8;
  color: var(--white-muted);
  max-width: 560px;
}

.cs-btn {
  margin-top: 0.8rem;
  padding: 0.9rem 2.6rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
}

/* ── Responsive blocks ─────────────────────────────────────── */
@media (max-width: 1400px) {
  .post-body-wrap {
    grid-template-columns: 1fr 320px;
    gap: 4rem;
  }
}

@media (max-width: 1100px) {
  .post-body-wrap {
    grid-template-columns: 1fr 280px;
    gap: 3rem;
  }
}

@media (max-width: 900px) {
  /* Stack the article + sidebar (must live here so it wins over the
     1100px rule above, which also matches on phones) */
  .post-body-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .post-sidebar { position: static; }

  .two-col-grid { grid-template-columns: 1fr; gap: 2rem; }

  .image-text-grid { grid-template-columns: 1fr; gap: 2rem; }
  .block--image-text.image-right .image-text-grid { direction: ltr; }

  .block--hero-banner { min-height: 320px; }
  .banner-content { padding: 3rem 5vw; }

  /* CTA Banner */
  .cta-banner-inner { flex-direction: column; gap: 2.5rem; padding: 3rem 5vw; }
  .cta-banner-img { width: 100%; height: 260px; }
  .cta-banner-card { max-width: 100%; }

  /* Logo Grid */
  .logo-grid-track { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 0.75rem; }

  /* Entry Cards */
  .entry-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .entry-cards-grid { grid-template-columns: 1fr; }
  .cta-card-btns { flex-direction: column; }
  .cta-card-btns .btn { text-align: center; justify-content: center; }
}

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  55% { transform: translateY(7px); }
}
