/*
Theme Name: Say a Little Prayer
Theme URI: https://sayalittleprayer.app
Author: Say a Little Prayer Team
Description: Premium spiritual blog theme — Stripe/Notion/Linear aesthetic
Version: 2.2.0
Text Domain: salp-blog
*/

/* ============================================
   RESET & BASE
   ============================================ */

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #0a0a0a;
  color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

/* ============================================
   DESIGN TOKENS
   ============================================ */

:root {
  /* Colors */
  --bg:          #0a0a0a;
  --bg-2:        #111111;
  --surface:     #141414;
  --surface-2:   #1c1c1c;
  --border:      rgba(255,255,255,0.08);
  --border-2:    rgba(255,255,255,0.12);
  --text:        #f0ece6;
  --text-2:      #9a9080;
  --text-3:      #5a5248;
  --gold:        #c9a96e;
  --gold-2:      #e0c080;
  --gold-dim:    rgba(201,169,110,0.12);
  --gold-glow:   rgba(201,169,110,0.06);

  /* Typography */
  --font-serif:  'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:   'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing (8px grid) */
  --s1:  0.25rem;  /*  4px */
  --s2:  0.5rem;   /*  8px */
  --s3:  0.75rem;  /* 12px */
  --s4:  1rem;     /* 16px */
  --s5:  1.25rem;  /* 20px */
  --s6:  1.5rem;   /* 24px */
  --s8:  2rem;     /* 32px */
  --s10: 2.5rem;   /* 40px */
  --s12: 3rem;     /* 48px */
  --s16: 4rem;     /* 64px */
  --s20: 5rem;     /* 80px */
  --s24: 6rem;     /* 96px */

  /* Layout */
  --max-w:     1152px;
  --read-w:    700px;
  --header-h:  64px;

  /* Radius */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-full: 9999px;

  /* Transitions */
  --t-fast: 120ms ease;
  --t-mid:  240ms ease;
  --t-slow: 400ms ease;
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s6);
}

.read-container {
  max-width: var(--read-w);
  margin: 0 auto;
  padding: 0 var(--s6);
}

/* ============================================
   SUBTLE AMBIENT BACKGROUND
   ============================================ */

.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(201,169,110,0.06) 0%, transparent 65%),
    radial-gradient(ellipse 40% 30% at 90% 90%, rgba(201,169,110,0.03) 0%, transparent 60%);
}

/* ============================================
   NAVIGATION
   ============================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-mid), background var(--t-mid);
}

.site-header.scrolled {
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s6);
  gap: var(--s8);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.site-logo-image {
  display: block;
  width: auto;
  height: 32px;
}

.site-logo:hover {
  opacity: 0.9;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: var(--s8);
}

.main-nav a {
  font-size: 0.875rem;
  font-weight: 450;
  color: var(--text-2);
  letter-spacing: 0.01em;
  transition: color var(--t-fast);
}

.main-nav a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--s3);
  flex-shrink: 0;
}

/* Theme toggle */
.theme-toggle {
  display: none; /* Keeping dark-only for now — consistent premium feel */
}

/* CTA pill */
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s2) var(--s5);
  background: var(--gold);
  color: #0a0a0a;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--r-full);
  letter-spacing: 0.01em;
  transition: background var(--t-fast), transform var(--t-fast);
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--gold-2);
  transform: translateY(-1px);
}

/* Hamburger */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--s2);
  border-radius: var(--r-sm);
  transition: background var(--t-fast);
}

.mobile-menu-btn:hover {
  background: var(--surface);
}

.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--t-mid), opacity var(--t-fast);
}

/* Mobile drawer */
.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s8);
  padding: var(--s8);
  border-top: 1px solid var(--border);
}

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

.mobile-menu a {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.02em;
  transition: color var(--t-fast);
}

.mobile-menu a:hover {
  color: var(--gold);
}

.mobile-menu .mobile-cta {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  background: var(--gold);
  color: #0a0a0a;
  padding: var(--s3) var(--s8);
  border-radius: var(--r-full);
  margin-top: var(--s4);
}

/* ============================================
   MAIN CONTENT OFFSET
   ============================================ */

.site-main {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding-top: var(--header-h);
}

/* ============================================
   READING PROGRESS BAR
   ============================================ */

.reading-progress {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  height: 2px;
  z-index: 999;
  background: transparent;
}

.reading-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transition: width 0.08s linear;
}

/* ============================================
   HOMEPAGE — HERO
   ============================================ */

.home-hero {
  padding: var(--s20) 0 var(--s16);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.home-hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s5);
}

.home-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.12;
  color: var(--text);
  margin-bottom: var(--s6);
  letter-spacing: -0.01em;
}

.home-hero-title em {
  font-style: italic;
  color: var(--gold);
}

.home-hero-sub {
  font-size: 1.125rem;
  color: var(--text-2);
  max-width: 520px;
  margin: 0 auto var(--s8);
  line-height: 1.7;
}

/* ============================================
   HOMEPAGE — FEATURED POST (hero card)
   ============================================ */

.featured-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin: var(--s12) 0 var(--s16);
  transition: border-color var(--t-mid);
}

.featured-hero:hover {
  border-color: var(--border-2);
}

.featured-hero-image {
  position: relative;
  overflow: hidden;
  background: var(--surface-2);
  min-height: 260px;
}

.featured-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

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

.featured-hero-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, var(--gold-glow) 0%, transparent 70%);
  color: var(--gold);
  opacity: 0.3;
}

.featured-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--s12) var(--s10);
  gap: var(--s5);
}

.featured-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  width: fit-content;
}

.featured-hero-badge::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--gold);
}

.featured-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--text);
  letter-spacing: -0.01em;
}

.featured-hero-title a {
  color: inherit;
  transition: color var(--t-fast);
}

.featured-hero-title a:hover {
  color: var(--gold);
}

.featured-hero-excerpt {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s3);
  font-size: 0.8125rem;
  color: var(--text-3);
}

.featured-hero-meta .sep {
  color: var(--text-3);
}

.featured-hero-read {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gold-2);
  margin-top: var(--s2);
  text-decoration: underline;
  text-decoration-color: rgba(224,192,128,0.4);
  text-underline-offset: 3px;
  transition: gap var(--t-fast), color var(--t-fast), text-decoration-color var(--t-fast);
}

.featured-hero-read:hover {
  gap: var(--s3);
  color: var(--gold);
  text-decoration-color: var(--gold);
}

/* ============================================
   HOMEPAGE — SECTION HEADER
   ============================================ */

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: var(--s5);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--s8);
}

.section-head h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.01em;
}

.section-head a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color var(--t-fast);
}

.section-head a:hover {
  color: var(--gold);
}

/* ============================================
   HOMEPAGE — CATEGORY PILLS
   ============================================ */

.category-pills {
  display: flex;
  gap: var(--s2);
  margin-bottom: var(--s8);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--s1);
}

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

.category-pill {
  display: inline-flex;
  align-items: center;
  padding: var(--s2) var(--s4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-2);
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
  cursor: pointer;
}

.category-pill:hover {
  border-color: var(--border-2);
  color: var(--text);
}

.category-pill.active {
  background: var(--gold-dim);
  border-color: rgba(201,169,110,0.3);
  color: var(--gold);
}

/* ============================================
   POST GRID
   ============================================ */

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s6);
}

/* POST CARD */
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--t-mid), transform var(--t-mid);
  cursor: pointer;
}

.post-card:hover {
  border-color: var(--border-2);
  transform: translateY(-2px);
}

.post-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
}

.post-card-image {
  position: relative;
  aspect-ratio: 1200 / 630;
  overflow: hidden;
  background: var(--surface-2);
  flex-shrink: 0;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

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

.post-card-category {
  position: absolute;
  top: var(--s3);
  left: var(--s3);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: var(--gold);
  padding: 3px var(--s2);
  border-radius: var(--r-full);
}

.post-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--s5);
  gap: var(--s3);
}

.post-card-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--text);
  letter-spacing: -0.005em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-excerpt {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: 0.75rem;
  color: var(--text-3);
  margin-top: auto;
  padding-top: var(--s3);
  border-top: 1px solid var(--border);
}

.post-card-meta .author-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

/* ============================================
   HOMEPAGE — POSTS SECTION
   ============================================ */

.posts-section {
  padding: var(--s16) 0 var(--s20);
}

/* ============================================
   HOMEPAGE — APP CTA BANNER
   ============================================ */

.app-cta-banner {
  margin: var(--s4) 0 var(--s16);
  padding: var(--s12) var(--s10);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.app-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, var(--gold-glow) 0%, transparent 70%);
  pointer-events: none;
}

.app-cta-banner-inner {
  position: relative;
  z-index: 1;
}

.app-cta-banner h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 300;
  color: var(--text);
  margin-bottom: var(--s4);
  letter-spacing: -0.01em;
}

.app-cta-banner h2 em {
  font-style: italic;
  color: var(--gold);
}

.app-cta-banner p {
  font-size: 1rem;
  color: var(--text-2);
  margin-bottom: var(--s8);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.app-cta-banner .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s3) var(--s8);
  background: var(--gold);
  color: #0a0a0a;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--r-full);
  transition: background var(--t-fast), transform var(--t-fast);
}

.app-cta-banner .btn-primary:hover {
  background: var(--gold-2);
  transform: translateY(-1px);
}

/* ============================================
   GENERIC BUTTONS (hero, 404, agency CTA)
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  padding: var(--s3) var(--s8);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--r-full);
  text-decoration: none;
  transition: background var(--t-fast), transform var(--t-fast), border-color var(--t-fast), color var(--t-fast);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: #0a0a0a;
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-2);
  border-color: var(--gold-2);
  color: #0a0a0a;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-secondary:hover {
  background: var(--gold-dim);
  color: var(--gold-2);
  transform: translateY(-1px);
}

/* Agency CTA button (functions.php salp_render_agency_cta) */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s3) var(--s8);
  background: var(--gold);
  color: #0a0a0a;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--r-full);
  text-decoration: none;
  border: 2px solid var(--gold);
  transition: background var(--t-fast), transform var(--t-fast), border-color var(--t-fast);
}

.cta-button:hover {
  background: var(--gold-2);
  border-color: var(--gold-2);
  color: #0a0a0a;
  transform: translateY(-1px);
}

/* ============================================
   HOMEPAGE HERO (front-page.php)
   ============================================ */

.hero {
  padding: var(--s20) 0 var(--s16);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s5);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.12;
  color: var(--text);
  margin-bottom: var(--s6);
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto var(--s8);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s4);
  flex-wrap: wrap;
}

/* ============================================
   404 PAGE
   ============================================ */

.error-404 {
  padding: var(--s20) 0;
  text-align: center;
}

.error-404-code {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--s4);
}

.error-404-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 300;
  color: var(--text);
  margin-bottom: var(--s4);
}

.error-404-text {
  font-size: 1rem;
  color: var(--text-2);
  margin-bottom: var(--s8);
}

/* ============================================
   FEATURED POST (front-page.php legacy)
   ============================================ */

.featured-section {
  padding: var(--s12) 0;
}

.featured-post {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.featured-post-image {
  display: block;
  overflow: hidden;
  background: var(--surface-2);
  min-height: 260px;
}

.featured-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

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

.featured-post-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--s10);
  gap: var(--s5);
}

.featured-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  width: fit-content;
}

.featured-badge::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--gold);
}

.featured-post-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--text);
  letter-spacing: -0.01em;
}

.featured-post-title a {
  color: inherit;
  transition: color var(--t-fast);
}

.featured-post-title a:hover {
  color: var(--gold);
}

.featured-post-excerpt {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.7;
}

.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s3);
  font-size: 0.8125rem;
  color: var(--text-3);
}

.post-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  background: var(--gold-dim);
  padding: 2px var(--s2);
  border-radius: var(--r-full);
}

.post-meta-item {
  color: var(--text-3);
}

/* ============================================
   POSTS SECTION (front-page.php legacy)
   ============================================ */

.posts-section {
  padding: var(--s16) 0 var(--s20);
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: var(--s5);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--s8);
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.01em;
}

.section-link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color var(--t-fast);
}

.section-link:hover {
  color: var(--gold);
}

/* ============================================
   NEWSLETTER INLINE CTA
   ============================================ */

.newsletter-inline {
  padding: var(--s8);
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: var(--s8) 0;
}

.newsletter-inline h4 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: var(--s2);
}

.newsletter-inline p {
  font-size: 0.875rem;
  color: var(--text-2);
  margin-bottom: var(--s4);
}

.newsletter-form {
  display: flex;
  gap: var(--s2);
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: var(--s3) var(--s4);
  background: var(--bg-2, #111);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  font-size: 0.875rem;
  font-family: var(--font-sans);
  transition: border-color var(--t-fast);
  min-width: 0;
}

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

.newsletter-form input[type="email"]::placeholder {
  color: var(--text-3);
}

.newsletter-form button {
  padding: var(--s3) var(--s5);
  background: var(--gold);
  color: #0a0a0a;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  border-radius: var(--r-sm);
  cursor: pointer;
  font-family: var(--font-sans);
  white-space: nowrap;
  transition: background var(--t-fast);
}

.newsletter-form button:hover {
  background: var(--gold-2);
}

/* ============================================
   SINGLE POST — ARTICLE HEADER
   ============================================ */

.article-header {
  padding: var(--s16) 0 var(--s10);
  border-bottom: 1px solid var(--border);
}

.article-header-inner {
  max-width: var(--read-w);
  margin: 0 auto;
  padding: 0 var(--s6);
  text-align: center;
}

.article-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s5);
}

.article-breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-bottom: var(--s4);
  font-size: 0.75rem;
  color: var(--text-3);
}

.article-breadcrumbs a {
  color: var(--text-2);
  transition: color var(--t-fast);
}

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

.article-title {
  font-family: var(--font-serif);
  font-size: clamp(1.875rem, 5vw, 3rem);
  font-weight: 300;
  line-height: 1.18;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: var(--s6);
}

.article-meta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--s4);
  font-size: 0.875rem;
  color: var(--text-2);
}

.article-meta-row .sep {
  color: var(--text-3);
}

/* Hero image below header */
.article-hero-image {
  max-width: 860px;
  margin: var(--s10) auto 0;
  padding: 0 var(--s6);
}

.article-hero-image img {
  width: 100%;
  border-radius: var(--r-xl);
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}

/* Mid-article contextual image (replaces inline promo block) */
.article-inline-image {
  margin: var(--s8) 0;
}

.article-inline-image img {
  width: 100%;
  border-radius: var(--r-xl);
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

/* ============================================
   SINGLE POST — ARTICLE BODY
   ============================================ */

.article-body {
  max-width: var(--read-w);
  margin: 0 auto;
  padding: var(--s12) var(--s6) var(--s20);
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text);
  opacity: 1;
  transform: none;
}

.article-body p {
  margin-bottom: var(--s6);
  color: var(--text);
}

.article-body h2 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--text);
  margin-top: var(--s12);
  margin-bottom: var(--s4);
  letter-spacing: -0.01em;
}

.article-body h3 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--text);
  margin-top: var(--s10);
  margin-bottom: var(--s3);
}

.article-body h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-top: var(--s8);
  margin-bottom: var(--s3);
}

.article-body a {
  color: #8cc9ff;
  text-decoration: underline;
  text-decoration-color: rgba(140,201,255,0.42);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color var(--t-fast), text-decoration-color var(--t-fast);
}

.article-body a:hover {
  color: #b5dcff;
  text-decoration-color: #b5dcff;
}

.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding: var(--s5) var(--s8);
  margin: var(--s8) 0;
  background: var(--surface);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-2);
  line-height: 1.6;
}

.article-body ul,
.article-body ol {
  padding-left: var(--s6);
  margin-bottom: var(--s6);
  list-style: disc;
  color: var(--text);
}

.article-body ol {
  list-style: decimal;
}

.article-body li {
  margin-bottom: var(--s2);
  line-height: 1.7;
}

.article-body img {
  border-radius: var(--r-md);
  margin: var(--s8) auto;
  width: 100%;
  height: auto;
}

.article-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: var(--s10) 0;
}

.article-body pre {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s6);
  overflow-x: auto;
  margin-bottom: var(--s6);
}

.article-body code {
  font-family: 'Fira Code', 'SF Mono', 'Consolas', monospace;
  font-size: 0.875em;
  line-height: 1.6;
  color: var(--gold);
}

.article-body :not(pre) > code {
  background: var(--surface);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.875em;
}

/* ============================================
   SINGLE POST — IN-ARTICLE CTA (floated)
   ============================================ */

.article-app-cta {
  padding: var(--s6) var(--s8);
  background: var(--surface);
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: var(--r-lg);
  margin: var(--s8) 0;
  display: flex;
  align-items: center;
  gap: var(--s6);
}

.article-app-cta-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.article-app-cta-text h4 {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: var(--s1);
}

.article-app-cta-text p {
  font-size: 0.875rem;
  color: var(--text-2);
  margin-bottom: 0;
}

.article-app-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s2) var(--s5);
  background: var(--gold);
  color: #0a0a0a;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--r-full);
  flex-shrink: 0;
  margin-left: auto;
  transition: background var(--t-fast);
  white-space: nowrap;
}

.article-app-cta-btn:hover {
  background: var(--gold-2);
}

.article-app-cta-expanded {
  margin-top: var(--s10);
}

/* ---- Dynamic prayer CTA block (injected after prayer #2) ---- */
.salp-prayer-cta {
  background: var(--surface);
  border: 1px solid rgba(201,169,110,0.25);
  border-radius: var(--r-lg);
  padding: var(--s8) var(--s8);
  margin: var(--s8) 0;
  text-align: center;
}

.salp-prayer-cta__kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s2);
}

.salp-prayer-cta__headline {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: var(--s3);
}

.salp-prayer-cta__body {
  font-size: 0.9375rem;
  color: var(--text-2);
  margin-bottom: var(--s6);
}

.salp-prayer-cta__body strong {
  color: var(--text);
}

.salp-prayer-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s3) var(--s6);
  background: var(--gold);
  color: #0a0a0a;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--r-full);
  text-decoration: none;
  transition: background 0.15s ease;
}

.salp-prayer-cta__btn:hover {
  background: var(--gold-2);
  color: #0a0a0a;
}

.article-link-cluster {
  margin: var(--s10) 0;
  padding: var(--s8);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}

.article-link-cluster-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s4);
  margin-bottom: var(--s5);
}

.article-link-cluster-header h2 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  margin: 0;
}

.article-link-cluster-header a {
  font-size: 0.875rem;
  color: var(--gold-2);
}

.article-link-cluster-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: grid;
  gap: var(--s3);
}

.article-link-cluster-list li {
  margin: 0;
}

.article-link-cluster-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  padding: var(--s4) var(--s5);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--text);
  background: var(--bg-2);
}

.article-link-cluster-list a:hover {
  border-color: rgba(201,169,110,0.28);
}

.article-link-cluster-list small {
  font-size: 0.75rem;
  color: var(--text-3);
  white-space: nowrap;
}

/* ============================================
   SINGLE POST - SHARE
   ============================================ */

.article-share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
  margin: var(--s10) 0;
  padding: var(--s6);
  border: 1px solid rgba(201,169,110,0.18);
  border-radius: var(--r-lg);
  background:
    radial-gradient(ellipse 80% 100% at 50% 0%, rgba(201,169,110,0.08) 0%, transparent 72%),
    var(--surface);
}

.article-share-kicker {
  margin-bottom: var(--s1);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.article-share-copy h3 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--text);
}

.article-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  justify-content: flex-end;
}

.article-share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  padding: var(--s3) var(--s5);
  border: 1px solid var(--border-2);
  border-radius: var(--r-full);
  background: var(--bg-2);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
  transition: border-color var(--t-fast), transform var(--t-fast), background var(--t-fast);
}

.article-share-button:hover {
  border-color: rgba(201,169,110,0.4);
  background: rgba(201,169,110,0.08);
  transform: translateY(-1px);
}

.article-share-button-pinterest {
  background: #bd081c;
  border-color: #bd081c;
  color: #ffffff;
}

.article-share-button-pinterest:hover {
  background: #d11226;
  border-color: #d11226;
}

.article-share-button-guidance {
  background: var(--gold);
  border-color: var(--gold);
  color: #0a0a0a;
  font-weight: 600;
}

.article-share-button-guidance:hover {
  background: var(--gold-2);
  border-color: var(--gold-2);
}

.article-share-sub {
  font-size: 0.875rem;
  color: var(--text-2);
  margin-top: var(--s2);
  line-height: 1.5;
}

/* ============================================
   SINGLE POST — RELATED POSTS
   ============================================ */

.related-posts {
  border-top: 1px solid var(--border);
  padding: var(--s16) 0 var(--s8);
}

.related-posts h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: var(--s8);
  text-align: center;
}

.related-posts-intro {
  max-width: 560px;
  margin: 0 auto var(--s8);
  text-align: center;
  color: var(--text-2);
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s5);
}

/* ============================================
   ARCHIVE PAGE
   ============================================ */

.archive-header {
  padding: var(--s16) 0 var(--s10);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.archive-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: var(--s3);
}

.archive-description {
  font-size: 1rem;
  color: var(--text-2);
}

.archive-grid-wrap {
  padding: var(--s8) 0 var(--s20);
}

.topic-discovery {
  padding: var(--s8) 0 var(--s4);
}

.topic-discovery-head {
  margin-bottom: var(--s4);
}

.topic-discovery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
}

.topic-discovery-card {
  display: flex;
  flex-direction: column;
  gap: var(--s1);
  padding: var(--s5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color var(--t-fast), transform var(--t-fast);
}

.topic-discovery-card:hover {
  border-color: rgba(201,169,110,0.28);
  transform: translateY(-1px);
}

.topic-discovery-card strong {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--text);
}

.topic-discovery-card span {
  font-size: 0.875rem;
  color: var(--text-2);
}

.page-shell {
  padding: 60px 0 var(--s16);
}

.page-shell-inner {
  max-width: 720px;
}

.page-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s10);
}

.page-title {
  margin-bottom: var(--s6);
}

.about-app-panel {
  margin-top: var(--s10);
  padding: var(--s8);
  border: 1px solid rgba(201,169,110,0.18);
  border-radius: var(--r-xl);
  background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(201,169,110,0.08) 0%, transparent 72%), var(--surface);
}

.about-app-kicker {
  margin-bottom: var(--s2);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.about-app-panel h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--s3);
}

.about-app-panel p:last-of-type {
  margin-bottom: var(--s5);
}

.app-download-card {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.app-download-card-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.app-download-card p {
  color: var(--text-2);
}

/* ============================================
   PAGINATION
   ============================================ */

.pagination {
  display: flex;
  justify-content: center;
  gap: var(--s2);
  padding: var(--s8) 0 var(--s16);
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-2);
  transition: border-color var(--t-fast), color var(--t-fast);
}

.pagination a:hover {
  border-color: var(--border-2);
  color: var(--text);
}

.pagination .current {
  background: var(--gold-dim);
  border-color: rgba(201,169,110,0.3);
  color: var(--gold);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  border-top: 1px solid var(--border);
  padding: var(--s10) 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s6);
  gap: var(--s8);
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.01em;
}

.footer-logo:hover {
  color: var(--text);
}

.footer-links ul,
.footer-links .menu {
  display: flex;
  gap: var(--s6);
  list-style: none;
}

.footer-links a {
  font-size: 0.8125rem;
  color: var(--text-3);
  transition: color var(--t-fast);
}

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

.footer-copyright {
  font-size: 0.75rem;
  color: var(--text-3);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

.animate-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}

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

/* ============================================
   UTILITY
   ============================================ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ============================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================ */

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

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

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

  .featured-hero {
    grid-template-columns: 1fr;
  }

  .featured-hero-image {
    aspect-ratio: 1200 / 630;
  }

  .featured-hero-content {
    padding: var(--s8) var(--s8);
  }

  .article-app-cta {
    flex-wrap: wrap;
  }

  .article-app-cta-btn {
    margin-left: 0;
  }
}

/* ============================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================ */

@media (max-width: 768px) {
  /* Nav */
  .main-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .header-cta { display: none; }

  /* Typography */
  .home-hero {
    padding: var(--s16) 0 var(--s10);
  }

  /* Grid → single column */
  .post-grid {
    grid-template-columns: 1fr;
  }

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

  .topic-discovery-grid {
    grid-template-columns: 1fr;
  }

  /* Featured hero: full width stacked */
  .featured-hero {
    margin: var(--s8) 0 var(--s12);
  }

  .featured-hero-content {
    padding: var(--s6);
    gap: var(--s4);
  }

  .featured-hero-title {
    font-size: clamp(1.375rem, 7vw, 1.875rem);
  }

  .featured-hero-excerpt {
    display: block;
    overflow: visible;
  }

  /* Article header */
  .article-header {
    padding: var(--s10) 0 var(--s8);
  }

  .article-header-inner {
    padding: 0 var(--s4);
  }

  .article-hero-image {
    margin-top: var(--s8);
    padding: 0 var(--s4);
  }

  .article-hero-image img {
    border-radius: var(--r-lg);
  }

  /* Article body */
  .article-body {
    font-size: 1rem;
    padding: var(--s8) var(--s4) var(--s12);
    line-height: 1.75;
  }

  .article-body p,
  .article-body li {
    overflow-wrap: anywhere;
  }

  /* In-article CTA */
  .article-app-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s4);
    padding: var(--s5) var(--s6);
  }

  .article-share {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--s5);
  }

  .article-share-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .article-share-button {
    flex: 1 1 140px;
  }

  .article-app-cta-btn {
    align-self: stretch;
    justify-content: center;
  }

  .article-link-cluster-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-link-cluster-list a {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    gap: var(--s5);
    text-align: center;
  }

  .footer-links ul,
  .footer-links .menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--s4);
  }

  /* App CTA banner */
  .app-cta-banner {
    padding: var(--s8) var(--s5);
    margin-bottom: var(--s12);
  }

  .site-logo-image {
    height: 28px;
  }

  /* Newsletter form */
  .newsletter-form {
    flex-direction: column;
  }

  /* Container */
  .container,
  .read-container {
    padding-left: var(--s4);
    padding-right: var(--s4);
  }

  /* Remove hover transforms on touch */
  .post-card:hover {
    transform: none;
  }

  .post-card:active {
    transform: scale(0.99);
  }

  /* Hero section */
  .hero {
    padding: var(--s16) 0 var(--s10);
  }

  .hero-actions {
    flex-direction: column;
    gap: var(--s3);
  }

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

  /* Featured post stacked */
  .featured-post {
    grid-template-columns: 1fr;
  }

  .featured-post-image {
    aspect-ratio: 1200 / 630;
  }

  .featured-post-content {
    padding: var(--s6);
  }
}

/* ============================================
   RESPONSIVE — SMALL PHONES (≤ 480px)
   ============================================ */

@media (max-width: 480px) {
  :root {
    --header-h: 56px;
  }

  .container,
  .read-container {
    padding-left: var(--s3);
    padding-right: var(--s3);
  }

  .home-hero-title {
    font-size: 2.25rem;
  }

  .article-title {
    font-size: 1.75rem;
  }

  .article-body {
    font-size: 0.9375rem;
  }

  .article-meta-row,
  .featured-hero-meta {
    gap: var(--s2);
    font-size: 0.8125rem;
  }

  .article-body blockquote {
    font-size: 1.0625rem;
    padding: var(--s4) var(--s5);
  }

  .article-hero-image {
    padding: 0 0;
  }

  .article-hero-image img {
    border-radius: 0;
  }

  .mobile-menu a {
    font-size: 1.75rem;
  }
}

/* Contextual in-article image */
.article-inline-image-manual {
  margin: var(--s8) 0;
}

.article-inline-image-manual img {
  width: 100%;
  border-radius: var(--r-xl);
  aspect-ratio: 16 / 7;
  object-fit: cover;
  display: block;
}

/* ============================================
   GUIDANCE PAGE
   ============================================ */

.guidance-page .guidance-hero {
  margin: var(--s8) 0 var(--s12);
  padding: var(--s8);
  background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(201,169,110,0.08) 0%, transparent 72%), var(--surface);
  border: 1px solid rgba(201,169,110,0.18);
  border-radius: var(--r-xl);
  text-align: center;
}

.guidance-hero-sub {
  font-size: 1.0625rem;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto var(--s6);
}

.guidance-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s3) var(--s8);
  background: var(--gold);
  color: #0a0a0a;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--r-full);
  transition: background var(--t-fast), transform var(--t-fast);
}

.guidance-cta-btn:hover {
  background: var(--gold-2);
  transform: translateY(-1px);
}

.guidance-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s6);
  margin: var(--s8) 0 var(--s12);
}

.guidance-feature {
  padding: var(--s6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  text-align: center;
  transition: border-color var(--t-mid);
}

.guidance-feature:hover {
  border-color: var(--border-2);
}

.guidance-feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--s4);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  background: var(--gold-dim);
  color: var(--gold);
}

.guidance-feature h3 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: var(--s2);
}

.guidance-feature p {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.6;
}

.guidance-topics {
  margin: var(--s8) 0 var(--s12);
}

.guidance-topics h2 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: var(--s6);
  text-align: center;
}

.guidance-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
}

.guidance-topic {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s4) var(--s5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  color: var(--text-2);
  transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
}

.guidance-topic:hover {
  border-color: rgba(201,169,110,0.3);
  color: var(--gold);
  background: var(--gold-dim);
}

.guidance-bottom-cta {
  margin: var(--s8) 0 var(--s12);
  padding: var(--s8);
  background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(201,169,110,0.08) 0%, transparent 72%), var(--surface);
  border: 1px solid rgba(201,169,110,0.18);
  border-radius: var(--r-xl);
  text-align: center;
}

.guidance-bottom-cta p {
  font-size: 1.0625rem;
  color: var(--text-2);
  line-height: 1.7;
  margin: 0 auto var(--s6);
  max-width: 560px;
}

@media (max-width: 768px) {
  .guidance-features {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .guidance-topic-grid {
    grid-template-columns: 1fr;
  }
}
