/* ================================================================
   AI OFFICER INSTITUTE - Blog Website Stylesheet
   Style guide: AIO Blog Post Style Guide (March 2026)
   Colors: Navy, Blue, Magenta, Mint, Gray
   Font: Inter (Google Fonts)
   ================================================================ */

/* ================================================================
   1. DESIGN TOKENS
   ================================================================ */

:root {
  --navy:    #04102D;
  --blue:    #287BE8;
  --magenta: #D1458B;
  --mint:    #6FF2C1;
  --teal:    #1AA87C;
  --gray:    #EAEEF2;
  --white:   #FFFFFF;
  --ink:     #04102D;
  --muted:   #5A6478;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-pill: 100px;

  --transition: 200ms ease;
  --z-header:   1000;
}

/* ================================================================
   2. RESET & BASE
   ================================================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14.5px;
  line-height: 1.75;
  color: #3A4A60;
  background: var(--white);
  overflow-x: hidden;
  padding-top: 56px;
}

h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.2; }
p { margin: 0; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
button { font-family: inherit; cursor: pointer; border: none; background: none; padding: 0; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }


/* ================================================================
   SHARED STYLES OVERRIDE
   Prevent shared/styles.css layout rules from affecting blog pages
   ================================================================ */

/* The shared .layout class uses display:flex for sidebar layout.
   Blog pages have no sidebar - reset to normal block flow. */
.layout { display: block !important; margin-top: 0 !important; min-height: unset !important; }

/* Shared body font is DM Sans - blog uses Inter */
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }

/* ================================================================
   3. LAYOUT HELPERS
   ================================================================ */

/* Full-width sections use this for centered content */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.container-narrow,
.section-container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ================================================================
   5. SHARED EYEBROW (index hero)
   ================================================================ */

.hero-eyebrow,
.post-eyebrow,
.eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-eyebrow::before,
.eyebrow::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ================================================================
   6. BLOG INDEX HERO
   ================================================================ */

/* Hero eyebrow override for dark navy hero */
.hero .hero-eyebrow { color: var(--mint); }
.hero .hero-eyebrow::before { background: var(--mint); width: 28px; }

.hero {
  background: var(--navy);
  position: relative; overflow: hidden;
  padding: 56px 0 56px;
  margin-top: 0; /* body already has padding-top:56px for fixed topbar */
}

.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 90% at 90% 40%, rgba(40,123,232,0.22) 0%, transparent 65%),
    radial-gradient(ellipse 45% 70% at 5% 85%, rgba(209,69,139,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 30% 50% at 50% 0%, rgba(111,242,193,0.06) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  /* max-width / margin / padding handled by .site-wrap in shared/styles.css */
}

.hero h1 {
  font-size: clamp(28px, 4.5vw, 50px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.hero h1 .accent {
  color: var(--white);
}

.hero-subtitle {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255,255,255,0.60);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 28px;
}

.hero-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.pill-blue  { background: rgba(40,123,232,0.20);  color: #7BB8FF;        border: 1px solid rgba(40,123,232,0.30); }
.pill-mag   { background: rgba(209,69,139,0.18);  color: #F09AC5;        border: 1px solid rgba(209,69,139,0.30); }
.pill-mint  { background: rgba(111,242,193,0.15); color: var(--mint);    border: 1px solid rgba(111,242,193,0.25); }

/* ================================================================
   7. INTRO BAND (gray strip below hero)
   ================================================================ */

.intro-band {
  background: var(--gray);
  border-bottom: 1px solid rgba(4,16,45,0.08);
  padding: 32px 48px;
}

.intro-band-inner {
  max-width: 880px;
  margin: 0 auto;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  color: #2A3650;
}

.intro-band-inner strong {
  color: var(--blue);
  font-weight: 600;
}

/* ================================================================
   8. SECTION LABELS & HEADINGS (shared)
   ================================================================ */

.section-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}

.section-heading {
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  line-height: 1.25;
}

/* Subsection heading (inside content) */
.subsection-heading {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 12px;
}

/* ================================================================
   9. FEATURED POST CARD
   ================================================================ */

.featured-section {
  padding: 56px 0 0;
  background: var(--white);
}

.featured-card {
  display: block;
  background: linear-gradient(135deg, rgba(4,16,45,0.97) 0%, rgba(4,16,45,0.88) 100%);
  border: 1px solid rgba(111,242,193,0.12);
  border-radius: var(--radius-md);
  padding: 40px 44px;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.featured-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 90% 110%, rgba(40,123,232,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.featured-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(40,123,232,0.18);
}

.featured-content { position: relative; }

.featured-card .category-pill {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.featured-card h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 14px;
}

.featured-card h2 a {
  color: inherit;
}

.featured-card h2 a:hover { color: var(--mint); }

.featured-card .excerpt {
  font-size: 15px;
  color: rgba(255,255,255,0.70);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 600px;
}

.featured-card .post-date {
  font-size: 12px;
  color: rgba(255,255,255,0.40);
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 20px;
}

.featured-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--mint);
  font-size: 13.5px;
  font-weight: 600;
  transition: gap var(--transition);
}

.featured-card .read-more:hover { gap: 10px; }

/* ================================================================
   10. TAG FILTER BAR
   ================================================================ */

.filter-section {
  padding: 28px 0 0;
  background: var(--white);
}

.tag-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  background: var(--gray);
  color: var(--muted);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.tag-pill:hover {
  background: rgba(40,123,232,0.08);
  border-color: rgba(40,123,232,0.30);
  color: var(--blue);
}

.tag-pill.active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

/* ================================================================
   11. POST CARD GRIDS
   ================================================================ */

.pinned-section {
  padding: 40px 0 0;
  background: var(--white);
}

.all-posts-section {
  padding: 40px 0 64px;
  background: var(--white);
}

.posts-grid {
  display: grid;
  gap: 20px;
}

.posts-grid.three-column { grid-template-columns: repeat(3, 1fr); }
.posts-grid.two-column   { grid-template-columns: repeat(2, 1fr); }

/* Post card */
.post-card {
  background: var(--white);
  border: 1px solid rgba(4,16,45,0.09);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  overflow: hidden;
}

.post-card:hover {
  border-color: rgba(40,123,232,0.30);
  box-shadow: 0 6px 20px rgba(40,123,232,0.10);
  transform: translateY(-3px);
}

.post-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Category pill (on white cards) */
.post-card .category-pill {
  display: inline-block;
  background: rgba(40,123,232,0.10);
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  width: fit-content;
}

.post-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin-bottom: 10px;
  flex-grow: 1;
}

.post-card h3 a { color: inherit; }
.post-card h3 a:hover { color: var(--blue); }

.post-card .excerpt {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.post-card .post-date {
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}

.post-card .read-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition), color var(--transition);
}

.post-card .read-more:hover {
  color: var(--teal);
  gap: 8px;
}

/* ================================================================
   12. GRADIENT DIVIDER
   ================================================================ */

.gradient-divider {
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--blue) 25%,
    var(--magenta) 50%,
    var(--mint) 75%,
    transparent 100%);
  margin: 48px 0;
}

/* ================================================================
   13. CALLOUT BOXES
   ================================================================ */

/* Standard callout: gray bg, mint left border */
.callout {
  background: var(--gray);
  border-left: 3px solid var(--mint);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  line-height: 1.65;
  margin: 20px 0;
}

/* Highlight callout: magenta accent for warnings / decision points */
.callout-highlight {
  background: rgba(209,69,139,0.06);
  border-top: 3px solid var(--magenta);
  padding: 18px 20px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  margin: 20px 0;
}

.callout-highlight-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 8px;
}

.callout-highlight-text {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.65;
}

/* ================================================================
   14. STAT GRID (post pages)
   ================================================================ */

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

.stat-card {
  background: var(--gray);
  padding: 28px 20px;
  border-radius: var(--radius-md);
  text-align: center;
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--blue) 0%, var(--magenta) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ================================================================
   15. POST PAGE - HERO
   ================================================================ */

.post-hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: 56px 48px 52px;
}

.post-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 90% at 90% 40%, rgba(40,123,232,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 45% 70% at 5% 85%, rgba(209,69,139,0.14) 0%, transparent 60%),
    radial-gradient(ellipse 30% 50% at 50% 0%, rgba(111,242,193,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.post-hero .container-narrow { position: relative; }

/* Breadcrumb */
.breadcrumb {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.40);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.breadcrumb a {
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

.breadcrumb a:hover { color: var(--mint); }

.breadcrumb span { color: rgba(255,255,255,0.40); }

/* Post eyebrow (category above h1) */
.post-eyebrow {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mint);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.post-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--mint);
  border-radius: 2px;
  flex-shrink: 0;
}

/* Post hero h1 */
.post-hero h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 18px;
  max-width: 820px;
}

.post-hero h1 .accent {
  background: linear-gradient(90deg, var(--blue) 0%, var(--mint) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.post-subtitle {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255,255,255,0.60);
  line-height: 1.75;
  max-width: 620px;
}

/* ================================================================
   16. POST META STRIP
   ================================================================ */

.post-meta-section {
  background: var(--gray);
  border-bottom: 1px solid rgba(4,16,45,0.08);
  padding: 16px 48px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.meta-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
}

.meta-value {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
}

.post-meta-category {
  display: inline-block;
  background: rgba(40,123,232,0.12);
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

/* ================================================================
   17. SHARE BUTTONS
   ================================================================ */

.share-buttons-section {
  background: var(--white);
  border-bottom: 1px solid rgba(4,16,45,0.07);
  padding: 14px 48px;
}

.share-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all var(--transition);
  border: 1px solid;
}

.share-btn.twitter {
  background: rgba(4,16,45,0.05);
  border-color: rgba(4,16,45,0.12);
  color: var(--ink);
}

.share-btn.twitter:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.share-btn.linkedin {
  background: rgba(10,102,194,0.08);
  border-color: rgba(10,102,194,0.20);
  color: #0A66C2;
}

.share-btn.linkedin:hover {
  background: #0A66C2;
  color: var(--white);
  border-color: #0A66C2;
}

.share-btn.facebook {
  background: rgba(24,119,242,0.08);
  border-color: rgba(24,119,242,0.20);
  color: #1877F2;
}

.share-btn.facebook:hover {
  background: #1877F2;
  color: var(--white);
  border-color: #1877F2;
}

/* ================================================================
   18. POST CONTENT (rich text area)
   ================================================================ */

.post-content-section {
  padding: 56px 0 72px;
  background: var(--white);
}

.post-content {
  font-size: 14.5px;
  line-height: 1.75;
  color: #3A4A60;
}

.post-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-top: 44px;
  margin-bottom: 16px;
}

.post-content h2:first-child { margin-top: 0; }

.post-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-top: 28px;
  margin-bottom: 10px;
}

.post-content p {
  margin-bottom: 18px;
  max-width: 720px;
}

.post-content p:last-child { margin-bottom: 0; }

.post-content ul,
.post-content ol {
  margin-bottom: 18px;
  padding-left: 0;
}

.post-content ul li,
.post-content ol li {
  font-size: 14px;
  line-height: 1.65;
  color: #3A4A60;
  margin-bottom: 8px;
  padding-left: 18px;
  position: relative;
}

/* Mint dot bullets */
.post-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--mint);
  border-radius: 50%;
}

.post-content ol { counter-reset: list; }
.post-content ol li::before {
  content: counter(list) '.';
  counter-increment: list;
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 600;
  font-size: 13px;
}

.post-content strong { color: var(--ink); font-weight: 600; }
.post-content em { color: var(--muted); }

.post-content a {
  color: var(--blue);
  font-weight: 500;
  border-bottom: 1px solid rgba(40,123,232,0.30);
  transition: border-color var(--transition), color var(--transition);
}

.post-content a:hover {
  color: var(--teal);
  border-color: var(--teal);
}

/* ================================================================
   19. COMPARE & FRAMEWORK BLOCKS (post pages)
   ================================================================ */

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.compare-card {
  padding: 24px;
  border-radius: var(--radius-md);
  border: 2px solid;
}

.compare-card.old {
  background: rgba(209,69,139,0.04);
  border-color: rgba(209,69,139,0.18);
}

.compare-card.new {
  background: rgba(111,242,193,0.04);
  border-color: rgba(111,242,193,0.22);
}

.compare-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  margin-bottom: 10px;
}

.compare-card.old .compare-label { color: var(--magenta); }
.compare-card.new .compare-label { color: var(--teal); }

.compare-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* ================================================================
   20. FAQ SECTION (post pages)
   ================================================================ */

.faq-wrapper { background: var(--gray); }

.faq-section {
  background: var(--gray);
  border-radius: var(--radius-md);
  padding: 36px;
  margin: 0;
}

.faq-section-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.faq-item {
  border-bottom: 1px solid rgba(4,16,45,0.09);
  padding: 18px 0;
}

.faq-item:first-of-type { padding-top: 0; }
.faq-item:last-child { border-bottom: none; padding-bottom: 0; }

.faq-question {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  cursor: default;
  margin-bottom: 8px;
}

.faq-answer {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

/* ================================================================
   21. POST NAVIGATION
   ================================================================ */

.post-nav-wrapper {
  background: var(--white);
  border-top: 1px solid var(--gray);
  padding: 40px 48px;
}

.post-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.post-nav-card {
  padding: 20px 24px;
  border: 1px solid rgba(4,16,45,0.09);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  cursor: pointer;
}

.post-nav-card:hover {
  border-color: rgba(40,123,232,0.30);
  background: rgba(40,123,232,0.03);
}

.post-nav-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.post-nav-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

/* ================================================================
   22. FOOTER
   ================================================================ */

.footer {
  background: var(--navy);
  border-top: 1px solid rgba(111,242,193,0.12);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 48px 28px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

/* Footer logo column */
.footer-logo h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--mint);
  margin-bottom: 8px;
}

.footer-logo p {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

/* Footer columns */
.footer-section h5 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.50);
  margin-bottom: 16px;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a,
.footer-section p,
.footer-section p a {
  font-size: 13.5px;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.footer-section ul li a:hover,
.footer-section p a:hover {
  color: var(--mint);
}

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

/* ================================================================
   23. ANIMATIONS
   ================================================================ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

.fade-up {
  opacity: 0;
  animation: fadeUp 0.55s ease-out forwards;
}

/* ================================================================
   24. RESPONSIVE (640px)
   ================================================================ */

@media (max-width: 900px) {
  .footer-content { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  body { padding-top: 58px; }

  /* Header */
  .header { padding: 0 20px; }
  .header-container { height: 58px; gap: 16px; }
  .header-right { display: none; }
  .mobile-menu-toggle { display: flex; }

  /* Mobile nav */
  .nav {
    display: none;
    position: fixed;
    top: 58px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--navy);
    padding: 24px 20px;
    border-bottom: 1px solid rgba(111,242,193,0.10);
    z-index: calc(var(--z-header) - 1);
  }

  .nav.active { display: flex; }

  .nav ul {
    flex-direction: column;
    gap: 0;
  }

  .nav ul li a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 15px;
  }

  .nav > .cta-button {
    display: inline-flex;
    margin-top: 20px;
    width: 100%;
    justify-content: center;
  }

  /* Hero */
  .hero { padding: 40px 0 40px; }
  .post-hero { padding: 36px 20px 36px; }

  /* Containers */
  .container,
  .container-narrow,
  .section-container { padding: 0 20px; }

  /* Intro band */
  .intro-band { padding: 24px 20px; }

  /* Sections */
  .featured-section { padding: 36px 0 0; }
  .filter-section   { padding: 20px 0 0; }
  .pinned-section   { padding: 28px 0 0; }
  .all-posts-section { padding: 28px 0 48px; }

  /* Featured card */
  .featured-card { padding: 24px 20px; }

  /* Grids */
  .posts-grid.three-column,
  .posts-grid.two-column,
  .stat-grid,
  .compare-grid,
  .post-nav { grid-template-columns: 1fr; }

  /* Post meta */
  .post-meta-section { padding: 14px 20px; }
  .post-meta { gap: 16px; }

  /* Share */
  .share-buttons-section { padding: 12px 20px; }

  /* Post content */
  .post-content-section { padding: 36px 0 52px; }

  /* FAQ */
  .faq-section { padding: 24px 20px; }

  /* Post nav */
  .post-nav-wrapper { padding: 28px 20px; }

  /* Footer */
  .footer-container { padding: 36px 20px 20px; }
  .footer-content { grid-template-columns: 1fr; gap: 28px; margin-bottom: 28px; }

  /* Typography */
  .hero h1    { font-size: clamp(28px, 8vw, 42px); }
  .post-hero h1 { font-size: clamp(24px, 7vw, 36px); }
  .section-heading { font-size: 22px; }
}

/* ================================================================
   END OF STYLESHEET
   ================================================================ */
