/*!
Theme Name: Art of Living Insights
Theme URI: https://github.com/artoflivinginsights/aol-insights
Author: Art of Living Foundation
Author URI: https://artofliving.org
Description: A calm, credible, research-led knowledge hub for meditation, breathwork, mental wellness, and spiritual wisdom. Built for readability, topic authority, and AI/LLM discoverability.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aol-insights
Tags: blog, custom-logo, custom-menu, editor-style, featured-images, full-width-template, right-sidebar, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks, accessibility-ready
*/

/* =============================================================================
   DESIGN TOKENS — all values sourced from design.md (artofliving.org live CSS)
   ============================================================================= */
:root {
  /* Surfaces */
  --bg-canvas:   #FFFFFF;
  --bg-latte:    #FEF9E8;
  --bg-almond:   #FFF0CD;
  --bg-banana:   #FBE5B1;
  --bg-apricot:  #F6D2AD;
  --bg-babypink: #F1C4BA;

  /* Text */
  --ink-900: #333333;
  --ink-500: #808080;
  --line:    #DDDDDD;

  /* Brand */
  --apricot:      #ECA55A;
  --yellow:       #F6CB62;
  --darkyellow:   #F1B75E;
  --apricot-text: #A85D14; /* AA-safe on white */
  --error:        #EB5757;

  /* Button (yellow → apricot gradient, dark text) */
  --btn-bg:   linear-gradient(180deg, var(--yellow) 0%, var(--apricot) 100%);
  --btn-text: #333333;

  /* Typography */
  --font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
  --lh-head: 1.4;
  --lh-text: 1.6;

  /* Type scale */
  --fs-display: clamp(2.75rem, 5vw, 4.5rem); /* 44–72px hero */
  --fs-h1:      2.5rem;    /* 40px */
  --fs-h2:      2rem;      /* 32px */
  --fs-h3:      1.75rem;   /* 28px */
  --fs-body-lg: 1.25rem;   /* 20px article lede */
  --fs-body:    1.0625rem; /* 17px — comfortable for long-form */
  --fs-small:   0.8125rem; /* 13px metadata */

  /* Spacing scale (rem) */
  --sp-xs:  0.44rem;
  --sp-sm:  0.67rem;
  --sp-md:  1rem;
  --sp-lg:  1.5rem;
  --sp-xl:  2.25rem;
  --sp-2xl: 3.38rem;
  --sp-3xl: 5.06rem;

  /* Layout */
  --container: 1180px;
  --reading:   720px;

  /* Shape */
  --radius-card: 16px;
  --radius-pill: 999px;

  /* Depth */
  --shadow:       0 8px 30px rgba(51, 51, 51, 0.08);
  --shadow-hover: 0 16px 48px rgba(51, 51, 51, 0.14);

  /* Motion */
  --dur:  300ms;
  --ease: ease-out;
}

/* =============================================================================
   SELF-HOSTED FONTS — Source Sans 3 (successor to Source Sans Pro)
   Place .woff2 files in /assets/fonts/source-sans-3/
   Download from: https://fonts.google.com/specimen/Source+Sans+3
   Required weights: 300, 400, 700 (normal + italic)
   ============================================================================= */
@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/source-sans-3/SourceSans3-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/source-sans-3/SourceSans3-LightItalic.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/source-sans-3/SourceSans3-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/source-sans-3/SourceSans3-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/source-sans-3/SourceSans3-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/source-sans-3/SourceSans3-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* =============================================================================
   RESET & BASE
   ============================================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: var(--fs-body);
  line-height: var(--lh-text);
  color: var(--ink-900);
  background-color: var(--bg-canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

ul,
ol {
  list-style: none;
}

a {
  color: var(--apricot-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur) var(--ease);
}

a:hover {
  color: var(--apricot);
  text-decoration: none;
}

/* =============================================================================
   ACCESSIBILITY — skip link
   ============================================================================= */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-md);
  padding: var(--sp-sm) var(--sp-md);
  background: var(--btn-bg);
  color: var(--btn-text);
  font-weight: 700;
  border-radius: var(--radius-pill);
  text-decoration: none;
  z-index: 9999;
  transition: top var(--dur) var(--ease);
}

.skip-link:focus {
  top: var(--sp-md);
}

/* Focus ring — visible on all interactive elements */
:focus-visible {
  outline: 2px solid var(--apricot);
  outline-offset: 3px;
  border-radius: 3px;
}

/* =============================================================================
   LAYOUT — containers & section rhythm
   ============================================================================= */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-xl);
}

.container--narrow {
  max-width: var(--reading);
  margin-inline: auto;
  padding-inline: var(--sp-xl);
}

.section {
  padding-block: var(--sp-3xl);
}

.section--sm {
  padding-block: var(--sp-2xl);
}

/* Band backgrounds — cycle through warm pastel alternates */
.band-canvas  { background-color: var(--bg-canvas); }
.band-latte   { background-color: var(--bg-latte); }
.band-almond  { background-color: var(--bg-almond); }
.band-banana  { background-color: var(--bg-banana); }
.band-apricot { background-color: var(--bg-apricot); }
.band-babypink{ background-color: var(--bg-babypink); }

/* Section header — the light-vs-bold signature from design.md */
.section-eyebrow {
  display: inline-block;
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--apricot-text);
  margin-bottom: var(--sp-sm);
}

.section-title {
  font-size: var(--fs-h2);
  font-weight: 300; /* light — design.md signature */
  line-height: var(--lh-head);
  color: var(--ink-900);
  margin-bottom: var(--sp-md);
}

.section-desc {
  font-size: var(--fs-body-lg);
  color: var(--ink-500);
  max-width: 56ch;
  line-height: var(--lh-text);
  margin-bottom: var(--sp-2xl);
}

/* =============================================================================
   TYPOGRAPHY — headings, body, lists, code
   ============================================================================= */
h1, .h1 {
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink-900);
}

h2, .h2 {
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: var(--lh-head);
  color: var(--ink-900);
}

h3, .h3 {
  font-size: var(--fs-h3);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink-900);
}

h4, .h4 {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: var(--lh-head);
  color: var(--ink-900);
}

h5, h6 {
  font-size: var(--fs-body);
  font-weight: 700;
  line-height: var(--lh-head);
  color: var(--ink-900);
}

.entry-content h2 { margin-top: var(--sp-2xl); margin-bottom: var(--sp-md); }
.entry-content h3 { margin-top: var(--sp-xl); margin-bottom: var(--sp-sm); }
.entry-content h4 { margin-top: var(--sp-lg); margin-bottom: var(--sp-sm); }

.entry-content p  { margin-bottom: var(--sp-lg); }

.entry-content ul,
.entry-content ol {
  margin-bottom: var(--sp-lg);
  padding-left: var(--sp-xl);
  list-style: revert;
}

.entry-content li { margin-bottom: var(--sp-xs); }

.entry-content blockquote {
  border-left: 4px solid var(--apricot);
  margin: var(--sp-2xl) 0;
  padding: var(--sp-lg) var(--sp-xl);
  background: var(--bg-latte);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  font-size: var(--fs-body-lg);
  font-style: italic;
  color: var(--ink-900);
}

.entry-content code {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.9em;
  background: var(--bg-almond);
  padding: 0.1em 0.4em;
  border-radius: 4px;
}

.entry-content pre {
  background: var(--ink-900);
  color: var(--bg-latte);
  padding: var(--sp-lg);
  border-radius: var(--radius-card);
  overflow-x: auto;
  margin-bottom: var(--sp-lg);
}

.entry-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}

.entry-content hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--sp-2xl) 0;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--sp-lg);
}

.entry-content th,
.entry-content td {
  padding: var(--sp-sm) var(--sp-md);
  border: 1px solid var(--line);
  text-align: left;
}

.entry-content th {
  background: var(--bg-almond);
  font-weight: 700;
}

/* =============================================================================
   BUTTONS
   ============================================================================= */
.btn,
button.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 0.75em 1.75em;
  border-radius: var(--radius-pill);
  font-family: var(--font-family);
  font-size: var(--fs-body);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.btn--primary {
  background: var(--btn-bg);
  color: var(--btn-text);
}

.btn--primary:hover {
  color: var(--btn-text);
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  text-decoration: none;
}

.btn--secondary {
  background: var(--bg-canvas);
  color: var(--ink-900);
  border: 2px solid var(--line);
}

.btn--secondary:hover {
  border-color: var(--apricot);
  color: var(--apricot-text);
  text-decoration: none;
}

.btn--ghost {
  background: none;
  color: var(--apricot-text);
  padding-inline: 0;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn--ghost:hover {
  color: var(--apricot);
}

/* =============================================================================
   IMAGES
   ============================================================================= */
.wp-post-image,
.entry-thumbnail img,
img.rounded {
  border-radius: var(--radius-card);
  width: 100%;
  height: auto;
  object-fit: cover;
}

.wp-caption {
  font-size: var(--fs-small);
  color: var(--ink-500);
  text-align: center;
  margin-top: var(--sp-xs);
}

/* =============================================================================
   SITE HEADER & NAVIGATION
   ============================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-canvas);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 2px 16px rgba(51, 51, 51, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-lg);
  padding-block: var(--sp-md);
}

/* Logo */
.site-branding a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-branding .custom-logo {
  height: 40px;
  width: auto;
  border-radius: 0;
}

.site-branding .site-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink-900);
  text-decoration: none;
  line-height: 1;
}

.site-branding .site-title:hover {
  color: var(--apricot-text);
}

/* Primary nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
}

.primary-nav__menu {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  list-style: none;
}

.primary-nav__menu a {
  display: block;
  padding: var(--sp-sm) var(--sp-md);
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--ink-900);
  text-decoration: none;
  border-radius: var(--radius-pill);
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.primary-nav__menu a:hover,
.primary-nav__menu .current-menu-item > a,
.primary-nav__menu .current-page-ancestor > a {
  color: var(--apricot-text);
  background-color: var(--bg-latte);
}

/* CTA button in nav */
.nav-cta {
  margin-left: var(--sp-sm);
}

/* Dropdown sub-menus */
.primary-nav__menu .menu-item-has-children {
  position: relative;
}

.primary-nav__menu .sub-menu {
  position: absolute;
  top: calc(100% + var(--sp-xs));
  left: 0;
  background: var(--bg-canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  min-width: 220px;
  padding: var(--sp-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease), transform var(--dur) var(--ease);
  z-index: 200;
}

.primary-nav__menu .menu-item-has-children:hover > .sub-menu,
.primary-nav__menu .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.primary-nav__menu .sub-menu a {
  padding: var(--sp-sm) var(--sp-md);
  border-radius: 8px;
  font-weight: 400;
}

/* Mobile hamburger button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-sm);
  color: var(--ink-900);
}

.mobile-menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg-canvas);
  z-index: 200;
  overflow-y: auto;
  padding: var(--sp-xl);
  transform: translateX(100%);
  transition: transform var(--dur) var(--ease);
}

.mobile-nav.is-open {
  transform: translateX(0);
}

.mobile-nav__close {
  display: flex;
  justify-content: flex-end;
  margin-bottom: var(--sp-xl);
}

.mobile-nav__close button {
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-sm);
  color: var(--ink-900);
}

.mobile-nav__menu {
  list-style: none;
}

.mobile-nav__menu li {
  border-bottom: 1px solid var(--line);
}

.mobile-nav__menu a {
  display: block;
  padding: var(--sp-md) 0;
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--ink-900);
  text-decoration: none;
}

.mobile-nav__menu .sub-menu {
  padding-left: var(--sp-lg);
  border-top: 1px solid var(--line);
}

.mobile-nav__menu .sub-menu a {
  font-size: var(--fs-body-lg);
  font-weight: 400;
}

/* =============================================================================
   HERO SECTION
   ============================================================================= */
.hero {
  background-color: var(--bg-latte);
  padding-block: var(--sp-3xl);
  position: relative;
  overflow: hidden;
}

/* Decorative warm gradient orb — non-interactive */
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(246, 203, 98, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3xl);
  align-items: center;
  position: relative;
}

.hero__content {
  max-width: 56ch;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--apricot-text);
  margin-bottom: var(--sp-lg);
}

.hero__eyebrow svg {
  color: var(--yellow);
  width: 16px;
  height: 16px;
}

.hero__headline {
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink-900);
  margin-bottom: var(--sp-lg);
}

.hero__sub {
  font-size: var(--fs-body-lg);
  color: var(--ink-500);
  line-height: var(--lh-text);
  margin-bottom: var(--sp-2xl);
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-md);
}

.hero__media {
  position: relative;
}

.hero__media img {
  border-radius: var(--radius-card);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow);
}

/* Hero stat pills */
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  margin-top: var(--sp-2xl);
}

.hero__stat {
  background: var(--bg-canvas);
  border-radius: var(--radius-pill);
  padding: var(--sp-sm) var(--sp-lg);
  box-shadow: var(--shadow);
  font-size: var(--fs-small);
  color: var(--ink-900);
  font-weight: 600;
}

.hero__stat strong {
  color: var(--apricot-text);
  font-weight: 700;
}

/* =============================================================================
   PILLARS SECTION — 6 category cards
   ============================================================================= */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}

.pillar-card {
  background: var(--bg-canvas);
  border-radius: var(--radius-card);
  padding: var(--sp-xl);
  box-shadow: var(--shadow);
  text-decoration: none;
  display: block;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  text-decoration: none;
}

.pillar-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--bg-almond);
  border-radius: var(--radius-card);
  margin-bottom: var(--sp-lg);
  color: var(--yellow);
  transition: background-color var(--dur) var(--ease);
}

.pillar-card:hover .pillar-card__icon {
  background: var(--bg-banana);
}

.pillar-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--apricot-text);
}

.pillar-card__title {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: var(--sp-sm);
  line-height: 1.2;
}

.pillar-card__desc {
  font-size: var(--fs-body);
  color: var(--ink-500);
  line-height: var(--lh-text);
  margin-bottom: var(--sp-md);
}

.pillar-card__link {
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--apricot-text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
}

.pillar-card:hover .pillar-card__link {
  color: var(--apricot);
}

/* =============================================================================
   ARTICLE GRID & CARDS
   ============================================================================= */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
}

.article-card {
  background: var(--bg-canvas);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.article-card__thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.article-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur) var(--ease);
  border-radius: 0;
}

.article-card:hover .article-card__thumb img {
  transform: scale(1.03);
}

.article-card__body {
  padding: var(--sp-xl);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card__cat {
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--apricot-text);
  text-decoration: none;
  margin-bottom: var(--sp-sm);
  display: inline-block;
}

.article-card__cat:hover { color: var(--apricot); }

.article-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.3;
  margin-bottom: var(--sp-sm);
  text-decoration: none;
  display: block;
}

.article-card__title:hover { color: var(--apricot-text); text-decoration: none; }

.article-card__excerpt {
  font-size: var(--fs-body);
  color: var(--ink-500);
  line-height: var(--lh-text);
  margin-bottom: var(--sp-md);
  flex: 1;

  /* Clamp to 3 lines */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card__meta {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: var(--fs-small);
  color: var(--ink-500);
  flex-wrap: wrap;
}

.article-card__meta span { display: flex; align-items: center; gap: var(--sp-xs); }
.article-card__meta svg { width: 14px; height: 14px; }

/* =============================================================================
   RESEARCH HIGHLIGHT STRIP
   ============================================================================= */
.research-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
}

.research-item {
  background: var(--bg-canvas);
  border-radius: var(--radius-card);
  padding: var(--sp-xl);
  border-top: 4px solid var(--yellow);
  box-shadow: var(--shadow);
}

.research-item__finding {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.2;
  margin-bottom: var(--sp-sm);
}

.research-item__finding strong {
  color: var(--apricot-text);
}

.research-item__study {
  font-size: var(--fs-small);
  color: var(--ink-500);
  font-style: italic;
  margin-bottom: var(--sp-xs);
}

.research-item__source {
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--apricot-text);
  text-decoration: none;
}

.research-item__source:hover { color: var(--apricot); }

/* =============================================================================
   TOPIC CHIPS
   ============================================================================= */
.topic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
}

.topic-chip {
  display: inline-flex;
  align-items: center;
  padding: var(--sp-sm) var(--sp-lg);
  background: var(--bg-almond);
  border-radius: var(--radius-pill);
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--ink-900);
  text-decoration: none;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.topic-chip:hover {
  background: var(--bg-banana);
  color: var(--apricot-text);
  text-decoration: none;
}

/* =============================================================================
   FAQ ACCORDION
   ============================================================================= */
.faq-list {
  max-width: 760px;
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-item__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
  width: 100%;
  padding: var(--sp-lg) 0;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-family);
  font-size: var(--fs-body-lg);
  font-weight: 700;
  color: var(--ink-900);
  transition: color var(--dur) var(--ease);
}

.faq-item__trigger:hover {
  color: var(--apricot-text);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--bg-almond);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.faq-item__icon svg {
  width: 14px;
  height: 14px;
  color: var(--apricot-text);
  transition: transform var(--dur) var(--ease);
}

.faq-item.is-open .faq-item__icon {
  background: var(--bg-banana);
  transform: none;
}

.faq-item.is-open .faq-item__icon svg {
  transform: rotate(45deg);
}

.faq-item__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur) var(--ease);
}

.faq-item.is-open .faq-item__body {
  grid-template-rows: 1fr;
}

.faq-item__inner {
  overflow: hidden;
}

.faq-item__answer {
  padding-bottom: var(--sp-lg);
  font-size: var(--fs-body);
  color: var(--ink-500);
  line-height: var(--lh-text);
}

.faq-item__answer p { margin-bottom: var(--sp-sm); }
.faq-item__answer p:last-child { margin-bottom: 0; }

/* =============================================================================
   NEWSLETTER SECTION
   ============================================================================= */
.newsletter-section {
  text-align: center;
}

.newsletter-form-wrap {
  max-width: 480px;
  margin-inline: auto;
}

/* MailPoet / plugin shortcode slot */
.newsletter-shortcode-area {
  margin-top: var(--sp-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Basic inline email form fallback (used when no shortcode is set) */
.newsletter-form-fallback {
  display: flex;
  gap: var(--sp-sm);
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form-fallback input[type="email"] {
  flex: 1;
  min-width: 240px;
  padding: 0.75em 1.25em;
  border: 2px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: var(--fs-body);
  color: var(--ink-900);
  background: var(--bg-canvas);
  outline: none;
  transition: border-color var(--dur) var(--ease);
}

.newsletter-form-fallback input[type="email"]:focus {
  border-color: var(--apricot);
}

.newsletter-privacy {
  margin-top: var(--sp-sm);
  font-size: var(--fs-small);
  color: var(--ink-500);
}

.newsletter-privacy a {
  color: var(--apricot-text);
}

/* =============================================================================
   BREADCRUMBS
   ============================================================================= */
.breadcrumbs {
  font-size: var(--fs-small);
  color: var(--ink-500);
  margin-bottom: var(--sp-xl);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-xs);
}

.breadcrumbs a {
  color: var(--apricot-text);
  text-decoration: none;
}

.breadcrumbs a:hover { color: var(--apricot); }

.breadcrumbs__sep {
  color: var(--line);
}

.breadcrumbs__current {
  color: var(--ink-500);
}

/* =============================================================================
   SINGLE POST — layout
   ============================================================================= */
.single-post-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--sp-2xl);
  align-items: start;
}

.single-post-main {
  min-width: 0;
}

.single-post-header {
  margin-bottom: var(--sp-2xl);
}

.post-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-md);
}

.post-cat-link {
  display: inline-flex;
  align-items: center;
  padding: var(--sp-xs) var(--sp-md);
  background: var(--bg-almond);
  border-radius: var(--radius-pill);
  font-size: var(--fs-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--apricot-text);
  text-decoration: none;
  transition: background-color var(--dur) var(--ease);
}

.post-cat-link:hover {
  background: var(--bg-banana);
  text-decoration: none;
}

.post-title {
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink-900);
  margin-bottom: var(--sp-lg);
}

.post-lede {
  font-size: var(--fs-body-lg);
  color: var(--ink-500);
  line-height: var(--lh-text);
  margin-bottom: var(--sp-xl);
  max-width: 68ch;
}

.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-lg);
  font-size: var(--fs-small);
  color: var(--ink-500);
  padding-bottom: var(--sp-xl);
  border-bottom: 1px solid var(--line);
}

.post-meta a {
  color: var(--ink-900);
  font-weight: 700;
  text-decoration: none;
}

.post-meta a:hover { color: var(--apricot-text); }

.post-meta__item {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
}

.post-meta__item svg {
  width: 16px;
  height: 16px;
}

.post-featured-image {
  margin-bottom: var(--sp-2xl);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.post-featured-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

/* Reading column */
.entry-content {
  max-width: 68ch;
  font-size: var(--fs-body);
  line-height: var(--lh-text);
}

/* =============================================================================
   TABLE OF CONTENTS
   ============================================================================= */
.toc {
  background: var(--bg-latte);
  border-radius: var(--radius-card);
  padding: var(--sp-xl);
  margin-bottom: var(--sp-2xl);
  border-left: 4px solid var(--yellow);
}

.toc__title {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: var(--sp-md);
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.toc__title svg {
  width: 18px;
  height: 18px;
  color: var(--apricot-text);
}

.toc__list {
  list-style: none;
  counter-reset: toc-counter;
}

.toc__list li {
  counter-increment: toc-counter;
  padding: var(--sp-xs) 0;
}

.toc__list a {
  font-size: var(--fs-body);
  color: var(--ink-900);
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: var(--sp-sm);
  transition: color var(--dur) var(--ease);
}

.toc__list a::before {
  content: counter(toc-counter) ".";
  color: var(--apricot-text);
  font-weight: 700;
  font-size: var(--fs-small);
  flex-shrink: 0;
}

.toc__list a:hover {
  color: var(--apricot-text);
}

.toc__list a.is-active {
  color: var(--apricot-text);
  font-weight: 700;
}

.toc__list .toc__sub {
  padding-left: var(--sp-lg);
  margin-top: var(--sp-xs);
}

.toc__list .toc__sub li a::before {
  content: "›";
  font-weight: 400;
}

/* =============================================================================
   KEY TAKEAWAYS BOX
   ============================================================================= */
.key-takeaways {
  background: var(--bg-almond);
  border-radius: var(--radius-card);
  padding: var(--sp-xl);
  margin: var(--sp-2xl) 0;
  border-left: 4px solid var(--apricot);
}

.key-takeaways__header {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-md);
}

.key-takeaways__header svg {
  width: 22px;
  height: 22px;
  color: var(--apricot-text);
  flex-shrink: 0;
}

.key-takeaways__title {
  font-size: var(--fs-body-lg);
  font-weight: 700;
  color: var(--ink-900);
}

.key-takeaways__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.key-takeaways__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
  font-size: var(--fs-body);
  color: var(--ink-900);
  line-height: var(--lh-text);
}

.key-takeaways__list li::before {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: var(--apricot);
  border-radius: 50%;
  margin-top: 0.5em;
}

/* =============================================================================
   FAQ BLOCK (single post — with FAQPage schema)
   ============================================================================= */
.post-faq {
  margin: var(--sp-2xl) 0;
  background: var(--bg-latte);
  border-radius: var(--radius-card);
  padding: var(--sp-2xl);
}

.post-faq__title {
  font-size: var(--fs-h2);
  font-weight: 300;
  color: var(--ink-900);
  margin-bottom: var(--sp-xl);
}

/* Inherits .faq-item styles from FAQ accordion above */

/* =============================================================================
   AUTHOR BIO CARD
   ============================================================================= */
.author-bio {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-xl);
  background: var(--bg-latte);
  border-radius: var(--radius-card);
  padding: var(--sp-xl);
  margin: var(--sp-2xl) 0;
}

.author-bio__avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--bg-almond);
}

.author-bio__name {
  font-size: var(--fs-body-lg);
  font-weight: 700;
  color: var(--ink-900);
  text-decoration: none;
  display: block;
  margin-bottom: var(--sp-xs);
}

.author-bio__name:hover { color: var(--apricot-text); }

.author-bio__role {
  font-size: var(--fs-small);
  color: var(--apricot-text);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-sm);
}

.author-bio__desc {
  font-size: var(--fs-body);
  color: var(--ink-500);
  line-height: var(--lh-text);
  margin-bottom: var(--sp-sm);
}

.author-bio__link {
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--apricot-text);
  text-decoration: none;
}

.author-bio__link:hover { color: var(--apricot); }

/* =============================================================================
   RELATED POSTS
   ============================================================================= */
.related-posts {
  margin: var(--sp-2xl) 0;
}

.related-posts__title {
  font-size: var(--fs-h2);
  font-weight: 300;
  color: var(--ink-900);
  margin-bottom: var(--sp-xl);
  padding-bottom: var(--sp-md);
  border-bottom: 1px solid var(--line);
}

.related-posts__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-lg);
}

/* =============================================================================
   END-OF-POST CTA
   ============================================================================= */
.post-cta {
  background: var(--bg-banana);
  border-radius: var(--radius-card);
  padding: var(--sp-2xl);
  text-align: center;
  margin: var(--sp-2xl) 0;
}

.post-cta__title {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: var(--sp-sm);
}

.post-cta__desc {
  font-size: var(--fs-body);
  color: var(--ink-500);
  margin-bottom: var(--sp-xl);
}

/* =============================================================================
   SIDEBAR
   ============================================================================= */
.sidebar {
  position: sticky;
  top: calc(64px + var(--sp-xl));
}

.widget {
  background: var(--bg-canvas);
  border-radius: var(--radius-card);
  padding: var(--sp-xl);
  box-shadow: var(--shadow);
  margin-bottom: var(--sp-xl);
}

.widget-title {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: var(--sp-md);
  padding-bottom: var(--sp-sm);
  border-bottom: 2px solid var(--bg-almond);
}

.widget ul {
  list-style: none;
}

.widget li {
  padding: var(--sp-sm) 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-body);
}

.widget li:last-child { border-bottom: 0; }

.widget a {
  color: var(--ink-900);
  text-decoration: none;
  font-weight: 600;
}

.widget a:hover { color: var(--apricot-text); }

/* =============================================================================
   CATEGORY / ARCHIVE PAGES
   ============================================================================= */
.archive-header {
  background: var(--bg-latte);
  padding-block: var(--sp-2xl);
  margin-bottom: var(--sp-2xl);
}

.archive-title {
  font-size: var(--fs-h1);
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: var(--sp-sm);
}

.archive-desc {
  font-size: var(--fs-body-lg);
  color: var(--ink-500);
  max-width: 60ch;
  line-height: var(--lh-text);
}

/* =============================================================================
   AUTHOR PAGE
   ============================================================================= */
.author-page-header {
  display: flex;
  align-items: center;
  gap: var(--sp-2xl);
  padding-block: var(--sp-2xl);
  margin-bottom: var(--sp-2xl);
  border-bottom: 1px solid var(--line);
}

.author-page-avatar img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--bg-almond);
  flex-shrink: 0;
}

.author-page-name {
  font-size: var(--fs-h1);
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: var(--sp-xs);
}

.author-page-bio {
  font-size: var(--fs-body-lg);
  color: var(--ink-500);
  line-height: var(--lh-text);
  max-width: 56ch;
}

/* =============================================================================
   SEARCH PAGE
   ============================================================================= */
.search-header {
  background: var(--bg-latte);
  padding-block: var(--sp-2xl);
  margin-bottom: var(--sp-2xl);
}

.search-title {
  font-size: var(--fs-h1);
  font-weight: 700;
  margin-bottom: var(--sp-lg);
}

.search-form {
  display: flex;
  max-width: 600px;
  gap: var(--sp-sm);
}

.search-form__input {
  flex: 1;
  padding: 0.75em 1.25em;
  border: 2px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: var(--fs-body);
  color: var(--ink-900);
  outline: none;
  transition: border-color var(--dur) var(--ease);
}

.search-form__input:focus {
  border-color: var(--apricot);
}

.search-count {
  font-size: var(--fs-body);
  color: var(--ink-500);
  margin-bottom: var(--sp-xl);
}

.search-count strong {
  color: var(--ink-900);
  font-weight: 700;
}

/* =============================================================================
   404 PAGE
   ============================================================================= */
.error-404 {
  text-align: center;
  padding-block: var(--sp-3xl);
}

.error-404__code {
  font-size: clamp(6rem, 15vw, 10rem);
  font-weight: 700;
  line-height: 1;
  color: var(--bg-almond);
  margin-bottom: var(--sp-md);
}

.error-404__title {
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: var(--sp-md);
}

.error-404__desc {
  font-size: var(--fs-body-lg);
  color: var(--ink-500);
  margin-bottom: var(--sp-2xl);
  max-width: 44ch;
  margin-inline: auto;
}

.error-404__actions {
  display: flex;
  justify-content: center;
  gap: var(--sp-md);
  flex-wrap: wrap;
  margin-bottom: var(--sp-2xl);
}

/* =============================================================================
   SITE FOOTER
   ============================================================================= */
.site-footer {
  background: var(--ink-900);
  color: var(--bg-latte);
  padding-block: var(--sp-3xl) var(--sp-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-2xl);
  margin-bottom: var(--sp-2xl);
}

.footer-brand__logo {
  height: 36px;
  width: auto;
  margin-bottom: var(--sp-md);
  filter: brightness(0) invert(1);
}

.footer-brand__tagline {
  font-size: var(--fs-body);
  color: var(--ink-500);
  line-height: var(--lh-text);
  margin-bottom: var(--sp-lg);
  max-width: 30ch;
}

.footer-social {
  display: flex;
  gap: var(--sp-sm);
  flex-wrap: wrap;
}

.footer-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: var(--bg-almond);
  text-decoration: none;
  transition: background-color var(--dur) var(--ease);
}

.footer-social__link:hover {
  background: var(--apricot);
  color: var(--ink-900);
}

.footer-social__link svg {
  width: 18px;
  height: 18px;
}

.footer-col__title {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--bg-canvas);
  margin-bottom: var(--sp-md);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: var(--sp-sm); }

.footer-col a {
  font-size: var(--fs-body);
  color: var(--ink-500);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.footer-col a:hover { color: var(--bg-almond); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--sp-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-md);
  font-size: var(--fs-small);
  color: var(--ink-500);
}

.footer-bottom a {
  color: var(--ink-500);
  text-decoration: none;
}

.footer-bottom a:hover { color: var(--bg-almond); }

.footer-bottom-links {
  display: flex;
  gap: var(--sp-md);
  flex-wrap: wrap;
}

/* =============================================================================
   PAGINATION
   ============================================================================= */
.pagination,
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  flex-wrap: wrap;
  margin: var(--sp-2xl) 0;
}

.page-numbers,
.nav-links a,
.nav-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding-inline: var(--sp-md);
  border-radius: var(--radius-pill);
  font-size: var(--fs-body);
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-900);
  background: var(--bg-latte);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.page-numbers:hover,
.nav-links a:hover {
  background: var(--bg-almond);
  color: var(--apricot-text);
}

.page-numbers.current,
.nav-links .current {
  background: var(--btn-bg);
  color: var(--btn-text);
  font-weight: 700;
}

.page-numbers.dots {
  background: none;
}

/* =============================================================================
   COMMENTS
   ============================================================================= */
.comments-area {
  margin-top: var(--sp-2xl);
  padding-top: var(--sp-2xl);
  border-top: 1px solid var(--line);
}

.comments-title {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: var(--sp-xl);
}

.comment-body {
  background: var(--bg-latte);
  border-radius: var(--radius-card);
  padding: var(--sp-lg);
  margin-bottom: var(--sp-md);
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  margin-bottom: var(--sp-md);
  font-size: var(--fs-small);
  color: var(--ink-500);
}

.comment-author-name {
  font-weight: 700;
  color: var(--ink-900);
}

.comment-content p { margin-bottom: var(--sp-sm); }
.comment-content p:last-child { margin-bottom: 0; }

/* =============================================================================
   SCROLL ANIMATIONS — fade + rise
   ============================================================================= */
@media (prefers-reduced-motion: no-preference) {
  .animate-on-scroll {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  }

  .animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Staggered delays for grids */
  .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
  .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
  .animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
  .animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
  .animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =============================================================================
   UTILITY CLASSES
   ============================================================================= */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.text-center { text-align: center; }
.text-muted  { color: var(--ink-500); }

/* Pull quote */
.pull-quote {
  border-left: 4px solid var(--apricot);
  padding: var(--sp-lg) var(--sp-xl);
  margin: var(--sp-2xl) 0;
  background: var(--bg-latte);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
}

.pull-quote p {
  font-size: var(--fs-h3);
  font-weight: 300;
  line-height: var(--lh-head);
  color: var(--ink-900);
  margin: 0;
}

.pull-quote cite {
  display: block;
  margin-top: var(--sp-sm);
  font-size: var(--fs-small);
  font-style: normal;
  font-weight: 700;
  color: var(--apricot-text);
}

/* =============================================================================
   BLOCK EDITOR ALIGNMENT
   ============================================================================= */
.wp-block-image.alignwide,
.wp-block-image.alignfull {
  border-radius: var(--radius-card);
  overflow: hidden;
}

.alignwide {
  max-width: 960px;
  margin-inline: auto;
}

.alignfull {
  max-width: none;
  margin-inline: calc(-1 * var(--sp-xl));
}

/* =============================================================================
   RESPONSIVE — tablet (≤ 1024px)
   ============================================================================= */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__media {
    display: none;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .research-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-xl);
  }

  .single-post-wrap {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .related-posts__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .container {
    padding-inline: var(--sp-xl);
  }
}

/* =============================================================================
   RESPONSIVE — mobile (≤ 768px)
   ============================================================================= */
@media (max-width: 768px) {
  :root {
    --fs-h1: 1.875rem;
    --fs-h2: 1.5rem;
    --fs-h3: 1.25rem;
    --fs-body-lg: 1.125rem;
    --sp-3xl: 3rem;
    --sp-2xl: 2rem;
  }

  .primary-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .research-strip {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    text-align: center;
    justify-content: center;
  }

  .related-posts__grid {
    grid-template-columns: 1fr;
  }

  .author-bio {
    flex-direction: column;
  }

  .author-page-header {
    flex-direction: column;
    text-align: center;
  }

  .post-meta {
    gap: var(--sp-md);
  }

  .container {
    padding-inline: var(--sp-lg);
  }

  .section {
    padding-block: var(--sp-2xl);
  }

  .toc {
    display: none; /* hide TOC on mobile; JS can re-enable */
  }
}

/* =============================================================================
   PRINT
   ============================================================================= */
@media print {
  .site-header,
  .site-footer,
  .sidebar,
  .related-posts,
  .post-cta,
  .newsletter-section,
  .mobile-menu-toggle {
    display: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
  }

  .entry-content {
    max-width: 100%;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #555;
  }
}
