/* ============================================================
   HelloSanta.shop Blog — Premium Editorial CSS
   Aesthetic: Refined Financial Editorial (WSJ meets modern fintech)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,600;1,8..60,300;1,8..60,400&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --ink:        #0f0d0a;
  --ink-soft:   #3a3530;
  --ink-muted:  #6b6560;
  --rule:       #d8d0c8;
  --rule-light: #ede8e2;
  --cream:      #faf7f2;
  --white:      #ffffff;
  --accent:     #c0392b;
  --accent-2:   #1a4a7a;
  --gold:       #b8962e;
  --gold-light: #f5eedc;
  --tag-bg:     #eef2f8;
  --tag-color:  #1a4a7a;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:  0 6px 24px rgba(0,0,0,0.10);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.14);
  --radius:     4px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Source Serif 4', Georgia, serif;
  --font-ui:      'DM Sans', sans-serif;
  --max-w:      1200px;
  --col-main:   740px;
  --col-side:   320px;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 17px; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ── Typography Scale ───────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

p { margin-bottom: 1.4rem; }
p:last-child { margin-bottom: 0; }

/* ── Top Bar ────────────────────────────────────────────────── */
.top-bar {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 0;
}
.top-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.top-bar a { color: rgba(255,255,255,0.7); transition: color .2s; }
.top-bar a:hover { color: #fff; }
.top-bar-date { opacity: .6; }
.top-bar-cats { display: flex; gap: 20px; }

/* ── Site Header ────────────────────────────────────────────── */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--ink);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 32px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon {
  width: 42px; height: 42px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -1px;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.logo-text span { color: var(--accent); }
.logo-tagline {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 2px;
}

/* ── Navigation ─────────────────────────────────────────────── */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 6px 14px;
  border-radius: var(--radius);
  transition: all .2s;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--accent);
  background: rgba(192,57,43,0.06);
}
.main-nav a.active { font-weight: 600; }

.header-search {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--cream);
  border: 1.5px solid var(--rule);
  border-radius: 50px;
  overflow: hidden;
  flex-shrink: 0;
}
.header-search input {
  border: none;
  background: transparent;
  padding: 7px 14px;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--ink);
  outline: none;
  width: 180px;
}
.header-search button {
  background: var(--accent);
  border: none;
  color: #fff;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background .2s;
}
.header-search button:hover { background: #a93226; }

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--ink);
  padding: 4px;
}

/* ── Header Ad Banner ───────────────────────────────────────── */
.header-ad-wrap {
  background: var(--white);
  border-bottom: 1px solid var(--rule-light);
  padding: 10px 0;
  text-align: center;
}
.header-ad-wrap .ad-label {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: block;
  margin-bottom: 6px;
}

/* ── Category Ribbon ────────────────────────────────────────── */
.cat-ribbon {
  background: var(--ink);
  padding: 0;
  overflow: hidden;
}
.cat-ribbon-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-ribbon-inner::-webkit-scrollbar { display: none; }
.cat-ribbon a {
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  padding: 10px 16px;
  white-space: nowrap;
  transition: all .2s;
  border-bottom: 3px solid transparent;
}
.cat-ribbon a:hover, .cat-ribbon a.active {
  color: #fff;
  border-bottom-color: var(--gold);
}

/* ── Layout ─────────────────────────────────────────────────── */
.site-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 24px;
}
.content-grid {
  display: grid;
  grid-template-columns: 1fr var(--col-side);
  gap: 48px;
  align-items: start;
}
.main-content { min-width: 0; }

/* ── Hero Section ───────────────────────────────────────────── */
.hero-section {
  margin-bottom: 48px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: auto auto;
  gap: 3px;
  background: var(--rule);
  border: 1px solid var(--rule);
  overflow: hidden;
  border-radius: var(--radius);
}
.hero-lead {
  grid-row: 1 / 3;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.hero-lead img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
  transition: transform .5s ease;
}
.hero-lead:hover img { transform: scale(1.03); }
.hero-lead-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,8,5,.92) 35%, rgba(10,8,5,.1) 70%, transparent);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-secondary {
  background: var(--white);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
}
.hero-secondary:hover { background: var(--cream); }

.post-cat-tag {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 10px;
}
.post-cat-tag.loans { background: var(--accent-2); }
.post-cat-tag.dark { color: var(--white); }
.post-cat-tag.light {
  color: var(--accent);
  background: rgba(192,57,43,0.1);
}
.post-cat-tag.loans.light {
  color: var(--accent-2);
  background: var(--tag-bg);
}

.hero-lead h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 10px;
}
.hero-lead h2 a { color: inherit; }
.hero-lead h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }

.hero-secondary h3 {
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--ink);
}
.hero-secondary h3 a:hover { color: var(--accent); }

.post-meta {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.post-meta.dark-bg { color: rgba(255,255,255,0.6); }
.post-meta.light-bg { color: var(--ink-muted); }
.post-meta-dot { opacity: .5; }
.post-meta .read-time { display: flex; align-items: center; gap: 4px; }

/* ── Section Heading ────────────────────────────────────────── */
.section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
}
.section-heading h2 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.section-heading-line {
  flex: 1;
  height: 1px;
  background: var(--rule);
}
.section-heading-more {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 1px;
  transition: opacity .2s;
  white-space: nowrap;
}
.section-heading-more:hover { opacity: .7; }

/* ── Post Cards ─────────────────────────────────────────────── */
.post-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule-light);
  transition: background .2s;
}
.post-card:last-child { border-bottom: none; }

.post-card-img {
  width: 140px; height: 100px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
  transition: transform .3s;
}
.post-card:hover .post-card-img { transform: scale(1.02); }
.post-card-img-wrap { overflow: hidden; border-radius: var(--radius); }

.post-card-body {}
.post-card-body h3 {
  font-size: 1.02rem;
  line-height: 1.3;
  margin-bottom: 7px;
  color: var(--ink);
}
.post-card-body h3 a:hover { color: var(--accent); }
.post-card-excerpt {
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
  font-family: var(--font-ui);
}
.post-card .post-meta { color: var(--ink-muted); }
.post-card .post-meta span { color: var(--ink-muted); }

/* Large card variant */
.post-card-lg {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin-bottom: 28px;
  border-bottom: none;
}
.post-card-lg .post-card-img-wrap {
  width: 100%; height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
}
.post-card-lg .post-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.post-card-lg:hover .post-card-img { transform: scale(1.04); }
.post-card-lg h3 { font-size: 1.25rem; }

/* Grid posts */
.posts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
.posts-grid .post-card-lg .post-card-img-wrap { height: 180px; }

/* ── Sidebar ────────────────────────────────────────────────── */
.sidebar { position: sticky; top: 90px; }

.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 28px;
  border: 1px solid var(--rule-light);
  box-shadow: var(--shadow-sm);
}
.sidebar-widget-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
}

/* Sidebar trending */
.sidebar-post {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule-light);
  align-items: flex-start;
}
.sidebar-post:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-post-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--rule);
  line-height: 1;
  min-width: 28px;
  margin-top: 2px;
}
.sidebar-post h4 {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 5px;
  color: var(--ink);
}
.sidebar-post h4 a:hover { color: var(--accent); }
.sidebar-post .post-meta { color: var(--ink-muted); font-size: 0.68rem; }

/* Sidebar ad */
.sidebar-ad {
  text-align: center;
  margin-bottom: 28px;
}
.sidebar-ad .ad-label {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: block;
  margin-bottom: 6px;
}

/* Newsletter widget */
.newsletter-widget {
  background: linear-gradient(135deg, var(--ink) 0%, #2c2520 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 28px;
}
.newsletter-widget h3 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.newsletter-widget p {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
}
.newsletter-form { display: flex; flex-direction: column; gap: 8px; }
.newsletter-form input {
  padding: 10px 14px;
  border: 1.5px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-size: 0.82rem;
  outline: none;
  transition: border-color .2s;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-form button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background .2s;
}
.newsletter-form button:hover { background: #a93226; }

/* Tags cloud */
.tags-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-btn {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--tag-color);
  background: var(--tag-bg);
  padding: 5px 12px;
  border-radius: 50px;
  transition: all .2s;
  cursor: pointer;
  border: none;
}
.tag-btn:hover {
  background: var(--accent-2);
  color: #fff;
}

/* ── Inline Ad ───────────────────────────────────────────────── */
.inline-ad {
  background: var(--gold-light);
  border: 1px solid #e2d5a0;
  border-radius: var(--radius);
  padding: 16px;
  margin: 32px 0;
  text-align: center;
}
.inline-ad .ad-label {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a7a3a;
  display: block;
  margin-bottom: 8px;
}

/* ── Post Page ───────────────────────────────────────────────── */
.post-hero {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  margin-bottom: 0;
}
.post-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.post-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,8,5,.85) 30%, transparent 75%);
}
.post-hero-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 36px 48px;
}

.post-article-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr var(--col-side);
  gap: 48px;
  margin-top: 40px;
}

.post-body {
  font-size: 1.05rem;
  line-height: 1.82;
  color: var(--ink-soft);
}
.post-body h2 {
  font-size: 1.45rem;
  margin: 2.2rem 0 1rem;
  color: var(--ink);
}
.post-body h3 {
  font-size: 1.2rem;
  margin: 1.8rem 0 0.8rem;
  color: var(--ink);
}
.post-body p { margin-bottom: 1.5rem; }
.post-body ul, .post-body ol {
  margin: 0 0 1.5rem 1.5rem;
  list-style: disc;
}
.post-body ol { list-style: decimal; }
.post-body li { margin-bottom: .5rem; }
.post-body blockquote {
  border-left: 4px solid var(--accent);
  padding: 14px 22px;
  background: var(--cream);
  margin: 2rem 0;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink);
}
.post-body strong { font-weight: 600; color: var(--ink); }
.post-body a { color: var(--accent-2); border-bottom: 1px solid; }
.post-body a:hover { color: var(--accent); }

.post-title-main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 36px 48px 0;
}
.post-title-main h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.18;
  margin-bottom: 16px;
}
.post-title-main .post-meta { color: var(--ink-muted); margin-bottom: 20px; }

/* ── Related Posts ───────────────────────────────────────────── */
.related-posts {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid var(--ink);
}
.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.related-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--rule-light);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s, transform .3s;
}
.related-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.related-card-img {
  width: 100%; height: 150px;
  object-fit: cover;
  transition: transform .4s;
}
.related-card:hover .related-card-img { transform: scale(1.04); }
.related-card-img-wrap { overflow: hidden; }
.related-card-body { padding: 16px; }
.related-card-body h4 {
  font-size: 0.92rem;
  line-height: 1.35;
  margin-bottom: 8px;
  color: var(--ink);
}
.related-card-body h4 a:hover { color: var(--accent); }
.related-card-body .post-meta { color: var(--ink-muted); font-size: 0.68rem; }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.6);
  margin-top: 60px;
}
.footer-top {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .logo-text { color: #fff; margin-bottom: 12px; }
.footer-brand .logo-text span { color: var(--gold); }
.footer-brand p {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0;
}
.footer-col h4 {
  color: rgba(255,255,255,0.9);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  transition: color .2s;
}
.footer-col ul li a:hover { color: rgba(255,255,255,.9); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-ui);
  font-size: 0.72rem;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a {
  color: rgba(255,255,255,0.4);
  transition: color .2s;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.8); }

/* ── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--ink-muted);
  background: var(--cream);
  border-bottom: 1px solid var(--rule-light);
}
.breadcrumb a { color: var(--accent-2); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { opacity: .4; }

/* ── Author Box ─────────────────────────────────────────────── */
.author-box {
  background: var(--cream);
  border: 1px solid var(--rule-light);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin: 36px 0;
}
.author-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
}
.author-info h4 {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 3px;
  color: var(--ink);
}
.author-role {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.author-bio {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.55;
  margin-bottom: 0;
}

/* ── Pagination ─────────────────────────────────────────────── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 40px 0 20px;
}
.page-btn {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 8px 14px;
  border: 1.5px solid var(--rule);
  background: var(--white);
  color: var(--ink-soft);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}
.page-btn:hover, .page-btn.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ── Utility ─────────────────────────────────────────────────── */
.text-accent { color: var(--accent); }
.text-muted { color: var(--ink-muted); }
.font-ui { font-family: var(--font-ui); }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-8 { gap: 8px; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --col-side: 280px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .post-title-main { padding: 28px 24px 0; }
  .post-article-wrap { padding: 0 24px; gap: 32px; }
  .breadcrumb { padding: 14px 24px; }
  .related-posts-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .content-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .hero-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .hero-lead { grid-row: auto; }
  .hero-lead img { min-height: 280px; }
  .hero-secondary { padding: 16px; }
  .posts-grid { grid-template-columns: 1fr; }
  .main-nav, .header-search { display: none; }
  .mobile-menu-btn { display: block; }
  .related-posts-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .post-hero { height: 280px; }
  .post-hero-content { padding: 20px 20px; }
  .post-article-wrap { grid-template-columns: 1fr; margin-top: 20px; }
  .top-bar-cats { display: none; }
}

@media (max-width: 480px) {
  html { font-size: 15px; }
  .post-card { grid-template-columns: 100px 1fr; }
  .post-card-img { width: 100px; height: 80px; }
  .site-wrap { padding: 24px 16px; }
  .header-inner { padding: 0 16px; height: 60px; }
}

/* ── Animations ─────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .5s ease both; }
.fade-up-1 { animation-delay: .05s; }
.fade-up-2 { animation-delay: .12s; }
.fade-up-3 { animation-delay: .19s; }
.fade-up-4 { animation-delay: .26s; }

/* ── Reading Progress Bar ────────────────────────────────────── */
#reading-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--accent);
  width: 0%;
  z-index: 9999;
  transition: width .1s linear;
}