/* ============================================
   New Pragmatic Dad — Main Stylesheet
   ============================================ */

/* --- CSS Reset & Custom Properties --- */
:root {
  --color-bg: #fafaf8;
  --color-surface: #ffffff;
  --color-dark: #0f172a;
  --color-dark-soft: #1e293b;
  --color-text: #334155;
  --color-text-light: #64748b;
  --color-text-lighter: #94a3b8;
  --color-border: #e2e8f0;
  --color-border-light: #f1f5f9;
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-primary-light: #dbeafe;
  --color-accent: #f97316;
  --color-accent-dark: #ea580c;
  --color-accent-light: #fff7ed;
  --font-heading: 'Merriweather', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
  --max-width: 1200px;
  --content-width: 720px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --transition: 0.2s ease;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary-dark);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-dark-soft);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 { font-size: 1.875rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1.25rem; }

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.content-width {
  max-width: var(--content-width);
  margin: 0 auto;
}

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

/* --- Header --- */
.site-header {
  background: var(--color-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-img {
  height: 48px;
  width: 48px;
  object-fit: contain;
  border-radius: 6px;
}

.logo-text {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-text .highlight {
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  align-items: center;
}

.nav-links a {
  color: #cbd5e1;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.925rem;
  font-weight: 500;
  transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
  background: rgba(255,255,255,0.1);
}

/* ── Nav Dropdown ── */
.nav-has-dropdown {
  position: relative;
}
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 420px;
  background: var(--color-surface);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  border-top: 2px solid var(--color-accent);
  padding: 0.75rem 0;
  z-index: 200;
}
.nav-has-dropdown:hover .nav-dropdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.nav-dropdown a {
  display: block;
  padding: 0.5rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text);
  transition: all 0.15s ease;
  white-space: nowrap;
}
.nav-dropdown a:hover {
  background: var(--color-border);
  color: var(--color-primary-dark);
}
.nav-dropdown-footer {
  grid-column: 1 / -1;
  border-top: 1px solid var(--color-border);
  margin-top: 0.5rem;
  padding-top: 0.5rem;
}
.nav-dropdown-footer a {
  font-weight: 600;
  color: var(--color-primary);
  text-align: center;
}
.nav-dropdown-footer a:hover {
  background: var(--color-border);
  color: var(--color-primary-dark);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #cbd5e1;
  cursor: pointer;
  padding: 0.5rem;
  font-size: 1.5rem;
  line-height: 1;
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, var(--color-dark) 0%, #1e293b 100%);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(37,99,235,0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(249,115,22,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.hero h1 {
  color: #ffffff;
  font-size: 3rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

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

.hero-subtitle {
  color: #94a3b8;
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-accent);
  color: #ffffff;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition);
  box-shadow: 0 4px 14px rgba(249,115,22,0.35);
}

.hero-cta:hover {
  background: var(--color-accent-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(249,115,22,0.4);
}

/* --- Section Titles --- */
.section {
  padding: 4rem 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--color-text-light);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

/* --- Post Cards --- */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.post-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border-light);
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.post-card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.post-card-date {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.post-card-read-time {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.post-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.post-card h3 a {
  color: var(--color-dark-soft);
  transition: color var(--transition);
}

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

.post-card-excerpt {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
}

.post-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
}

.tag--accent {
  background: var(--color-accent-light);
  color: var(--color-accent-dark);
}

/* --- Featured Post --- */
.featured-post {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 3rem;
  border: 1px solid var(--color-border-light);
}

.featured-post-image {
  background: linear-gradient(135deg, var(--color-dark) 0%, #1e293b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: 3rem;
  position: relative;
}

.featured-post-image .post-number {
  font-family: var(--font-heading);
  font-size: 8rem;
  font-weight: 900;
  color: rgba(255,255,255,0.08);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  line-height: 1;
}

.featured-post-image .featured-label {
  background: var(--color-accent);
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
}

.featured-post-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-post-body h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.featured-post-body h2 a {
  color: var(--color-dark-soft);
}

.featured-post-body h2 a:hover {
  color: var(--color-primary);
}

.featured-post-body .excerpt {
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.read-more:hover {
  gap: 0.6rem;
}

.read-more svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.read-more:hover svg {
  transform: translateX(3px);
}

/* --- Categories Section --- */
.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.category-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  transition: all var(--transition);
  cursor: pointer;
}

.category-badge:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.category-badge .icon {
  font-size: 1.1rem;
}

/* --- Newsletter Section --- */
.newsletter {
  background: linear-gradient(135deg, var(--color-dark) 0%, #1e293b 100%);
  padding: 4rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 70% 30%, rgba(249,115,22,0.12) 0%, transparent 50%);
  pointer-events: none;
}

.newsletter-content {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
}

.newsletter h2 {
  color: #ffffff;
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.newsletter p {
  color: #94a3b8;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 440px;
  margin: 0 auto;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 0.875rem 1.25rem;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  font-size: 0.95rem;
  font-family: var(--font-body);
  outline: none;
  transition: all var(--transition);
}

.newsletter-form input[type="email"]::placeholder {
  color: #64748b;
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--color-accent);
  background: rgba(255,255,255,0.12);
}

.newsletter-form button {
  padding: 0.875rem 1.75rem;
  background: var(--color-accent);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: var(--color-accent-dark);
}

/* --- About Preview --- */
.about-preview {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.about-preview-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-preview-photo img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.about-preview-text h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.about-preview-text p {
  color: var(--color-text-light);
  line-height: 1.75;
  margin-bottom: 1rem;
}

/* --- Blog Post Page --- */
.post-header {
  background: linear-gradient(135deg, var(--color-dark) 0%, #1e293b 100%);
  padding: 4rem 1.5rem 3rem;
  text-align: center;
  position: relative;
}

.post-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 50% 100%, rgba(37,99,235,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.post-header-content {
  position: relative;
  max-width: var(--content-width);
  margin: 0 auto;
}

.post-header .post-tags {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.post-header .tag {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
}

.post-header h1 {
  color: #ffffff;
  font-size: 2.5rem;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.post-header-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  color: #94a3b8;
  font-size: 0.9rem;
}

.post-header-meta .divider {
  width: 4px;
  height: 4px;
  background: #475569;
  border-radius: 50%;
}

/* --- Article Content --- */
.article-content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.article-content p {
  font-size: 1.1rem;
  line-height: 1.85;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.article-content h2 {
  font-size: 1.625rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-top: 1rem;
}

.article-content h3 {
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.article-content ul, .article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-content li {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.article-content blockquote {
  border-left: 4px solid var(--color-accent);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--color-accent-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--color-dark-soft);
}

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

.article-content strong {
  color: var(--color-dark-soft);
  font-weight: 700;
}

.article-content em {
  font-style: italic;
}

.article-content hr {
  border: none;
  height: 1px;
  background: var(--color-border);
  margin: 2.5rem 0;
}

.article-content .highlight-box {
  background: var(--color-primary-light);
  border: 1px solid rgba(37,99,235,0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0;
}

.article-content .data-point {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.article-content .data-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1;
  min-width: 80px;
}

.article-content .data-label {
  font-size: 1.05rem;
  color: var(--color-text);
}

/* --- Affiliate Link Component --- */
.affiliate-disclosure {
  background: var(--color-accent-light);
  border: 1px solid rgba(249,115,22,0.2);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

.affiliate-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--color-accent-dark);
  font-weight: 600;
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 1px;
}

.affiliate-link:hover {
  color: var(--color-accent);
}

/* --- Post Navigation --- */
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.post-nav a {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: all var(--transition);
  max-width: 48%;
}

.post-nav a:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.post-nav .nav-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-lighter);
  font-weight: 600;
}

.post-nav .nav-title {
  font-family: var(--font-heading);
  color: var(--color-dark-soft);
  font-weight: 600;
  font-size: 0.95rem;
}

.post-nav a.next {
  text-align: right;
  margin-left: auto;
}

/* --- About Page --- */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.about-hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-dark-soft);
}

.about-hero-text h1 .highlight {
  color: var(--color-accent);
}

.about-hero-text p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--color-text);
}

.about-hero-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-hero-photo img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-section {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.about-section h2 {
  font-size: 1.625rem;
  margin-bottom: 1rem;
  margin-top: 2.5rem;
}

.about-section p {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--color-text);
}

.about-section ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.about-section ul li {
  padding: 0.5rem 0;
  padding-left: 1.75rem;
  position: relative;
  font-size: 1.05rem;
  color: var(--color-text);
}

.about-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1rem;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
}

/* --- Footer --- */
.site-footer {
  background: var(--color-dark);
  color: #94a3b8;
  padding: 3rem 1.5rem 2rem;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.footer-links h4 {
  color: #e2e8f0;
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-bottom .social-links {
  display: flex;
  gap: 1rem;
}

.footer-bottom .social-links a {
  color: #64748b;
}

.footer-bottom .social-links a:hover {
  color: #ffffff;
}

/* --- Blog Listing Page --- */
.page-header {
  background: linear-gradient(135deg, var(--color-dark) 0%, #1e293b 100%);
  padding: 3.5rem 1.5rem 3rem;
  text-align: center;
}

.page-header h1 {
  color: #ffffff;
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.page-header p {
  color: #94a3b8;
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .hero { padding: 3.5rem 1.25rem 3rem; }
  .hero h1 { font-size: 2.25rem; }
  .hero-subtitle { font-size: 1.05rem; }

  .posts-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .featured-post-image {
    min-height: 180px;
    padding: 2rem;
  }

  .featured-post-body {
    padding: 1.75rem;
  }

  .about-preview {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-preview-photo {
    max-width: 240px;
    margin: 0 auto;
  }

  .about-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 1.25rem;
  }

  .about-hero-photo {
    order: -1;
    max-width: 300px;
    margin: 0 auto;
  }

  .about-hero-photo img {
    height: 350px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .post-header h1 {
    font-size: 2rem;
  }

  .post-header-meta {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .article-content {
    padding: 2rem 1.25rem 3rem;
  }

  .article-content p,
  .article-content li {
    font-size: 1.025rem;
  }

  .post-nav {
    flex-direction: column;
  }

  .post-nav a {
    max-width: 100%;
  }

  .header-inner {
    padding: 0.5rem 1rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-dark);
    flex-direction: column;
    padding: 1rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 1rem;
    width: 100%;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-dropdown {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.85rem; }
  .post-header h1 { font-size: 1.75rem; }
}

/* ============================================
   Pragmatic Recommendations — Product Pages
   ============================================ */

/* --- Recommendation Hero --- */
.recommendation-hero {
  background: linear-gradient(135deg, var(--color-dark) 0%, #1e293b 100%);
  padding: 4rem 1.5rem 3rem;
  text-align: center;
  position: relative;
}

.recommendation-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 40% 80%, rgba(249,115,22,0.12) 0%, transparent 50%),
              radial-gradient(circle at 60% 20%, rgba(37,99,235,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.recommendation-hero-content {
  position: relative;
  max-width: var(--content-width);
  margin: 0 auto;
}

.recommendation-hero h1 {
  color: #ffffff;
  font-size: 2.5rem;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.recommendation-hero .post-tags {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.recommendation-hero .tag {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
}

.recommendation-subtitle {
  color: #e2e8f0;
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 1.5rem;
}

.recommendation-hero .post-header-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  color: #94a3b8;
  font-size: 0.9rem;
}

.recommendation-hero .divider {
  width: 4px;
  height: 4px;
  background: #475569;
  border-radius: 50%;
}

/* --- Pragmatic Pick & Runner-Up Callouts --- */
.pragmatic-pick,
.runner-up-pick {
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin: 2rem 0;
}

.pragmatic-pick {
  background: var(--color-accent-light);
  border: 2px solid var(--color-accent);
}

.runner-up-pick {
  background: var(--color-primary-light);
  border: 2px solid var(--color-primary);
}

.pick-header {
  margin-bottom: 1rem;
}

.pick-label {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--color-accent);
  color: #ffffff;
}

.pick-label.runner-label {
  background: var(--color-primary);
}

.pick-body {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.pick-content h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.pick-content p {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.pick-best-for {
  font-weight: 600;
  color: var(--color-text-light);
  font-size: 0.9rem !important;
  font-style: italic;
}

/* --- Pragmatic / Runner Badges --- */
.pragmatic-badge,
.runner-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  vertical-align: middle;
  margin-left: 0.5rem;
}

.pragmatic-badge {
  background: var(--color-accent);
  color: #ffffff;
}

.runner-badge {
  background: var(--color-primary);
  color: #ffffff;
}

/* --- Product Cards --- */
.product-card {
  display: flex;
  gap: 1.75rem;
  padding: 2rem;
  margin: 2rem 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: box-shadow 0.2s ease;
}

.product-card:hover {
  box-shadow: var(--shadow-md);
}

.product-content {
  flex: 1;
}

.product-content h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.product-best-for {
  color: var(--color-text-light);
  font-size: 0.9rem;
  font-style: italic;
  margin-bottom: 1rem;
}

/* --- Product Images & Placeholders --- */
.product-image {
  flex-shrink: 0;
}

.product-image--medium {
  width: 200px;
}

.product-image--small {
  width: 120px;
}

.product-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  object-fit: contain;
  background: var(--color-border-light);
}

.product-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
}

.placeholder-initials {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-text-lighter);
  line-height: 1;
}

.placeholder-name {
  font-size: 0.75rem;
  color: var(--color-text-lighter);
  line-height: 1.3;
}

/* --- Specs Table --- */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.25rem;
  font-size: 0.9rem;
}

.specs-table th,
.specs-table td {
  padding: 0.6rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border-light);
}

.specs-table th {
  background: var(--color-border-light);
  font-weight: 600;
  color: var(--color-dark-soft);
  font-size: 0.85rem;
}

.specs-table .spec-label {
  font-weight: 600;
  color: var(--color-dark-soft);
  width: 40%;
}

.specs-table .spec-value {
  color: var(--color-text);
}

.specs-table tr:last-child td {
  border-bottom: none;
}

.comparison-table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
}

.comparison-specs th:first-child,
.comparison-specs td:first-child {
  width: 30%;
}

.comparison-specs th:not(:first-child),
.comparison-specs td:not(:first-child) {
  width: 35%;
}

/* --- Pros & Cons --- */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.25rem 0;
}

.pros-list h4,
.cons-list h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.pros-list h4 {
  color: #16a34a;
}

.cons-list h4 {
  color: #dc2626;
}

.pros-list ul,
.cons-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pros-list li,
.cons-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--color-text);
}

.pros-list li::before {
  content: '+';
  position: absolute;
  left: 0;
  font-weight: 700;
  color: #16a34a;
}

.cons-list li::before {
  content: '\2013';
  position: absolute;
  left: 0;
  font-weight: 700;
  color: #dc2626;
}

/* --- Affiliate Button --- */
.affiliate-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  background: var(--color-accent);
  color: #ffffff;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(249,115,22,0.25);
  margin-top: 0.75rem;
}

.affiliate-btn:hover {
  background: var(--color-accent-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(249,115,22,0.35);
}

/* --- Comparison Grid (VS pages) --- */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
  margin: 2rem 0;
  padding: 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.comparison-product {
  text-align: center;
}

.comparison-product h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.comparison-product .product-best-for {
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.comparison-product .product-image {
  width: 160px;
  margin: 0 auto 1rem;
}

.comparison-vs {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-text-lighter);
  text-align: center;
  padding: 0 0.5rem;
}

/* --- Comparison Pros/Cons Columns --- */
.comparison-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.comparison-column h3 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-border);
}

/* --- Comparison Verdict --- */
.comparison-verdict {
  background: var(--color-accent-light);
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2.5rem 0;
}

.comparison-verdict h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.verdict-cta {
  margin-top: 1.25rem;
}

/* --- Comparison Links Grid --- */
.comparison-links-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.comparison-links-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.5rem;
  margin-top: 1rem;
}

.comparison-links-grid li a {
  display: block;
  padding: 0.75rem 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
}

.comparison-links-grid li a:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

/* --- Comparison Nav --- */
.comparison-nav-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.comparison-nav-section .back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.comparison-nav-section h3 {
  margin-bottom: 0.5rem;
}

/* --- Back to Recommendations --- */
.back-to-recs {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.back-to-recs a {
  font-weight: 600;
}

/* --- Recommendations Landing Page --- */
.recommendations-listing {
  padding: 3rem 0 4rem;
}

.category-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.category-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  text-decoration: none;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.category-card--soon {
  opacity: 0.6;
  cursor: default;
}

.category-card--soon:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--color-border);
}

.category-card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.category-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--color-dark-soft);
}

.category-card-count {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}

.category-card-pick {
  font-size: 0.85rem;
  color: var(--color-accent-dark);
  margin-bottom: 0.75rem;
}

.category-card-link {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.9rem;
  margin-top: auto;
}

/* --- Responsive: Recommendations --- */
@media (max-width: 768px) {
  .recommendation-hero h1 {
    font-size: 2rem;
  }

  .product-card {
    flex-direction: column;
    padding: 1.5rem;
  }

  .product-image--medium {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
  }

  .pick-body {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .pick-content {
    text-align: center;
  }

  .product-image--small {
    width: 100px;
  }

  .pros-cons {
    grid-template-columns: 1fr;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .comparison-vs {
    padding: 0.5rem 0;
  }

  .comparison-product .product-image {
    width: 120px;
  }

  .comparison-pros-cons {
    grid-template-columns: 1fr;
  }

  .comparison-links-grid {
    grid-template-columns: 1fr;
  }

  .category-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .recommendation-hero h1 {
    font-size: 1.75rem;
  }

  .product-card {
    padding: 1.25rem;
    gap: 1rem;
  }

  .pragmatic-pick,
  .runner-up-pick {
    padding: 1.25rem;
  }
}

/* FTC Affiliate Disclosure */
.ftc-disclosure {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
  font-size: 0.7rem;
  line-height: 1.4;
  color: #9ca3af;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   Product Review Page
   ============================================ */

.product-review-hero-card {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2.5rem;
}

.product-review-hero-card .product-image--large {
  flex-shrink: 0;
  width: 260px;
}

.product-review-hero-card .product-image--large img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
  padding: 1rem;
  border: 1px solid #e2e8f0;
}

.product-review-hero-info {
  flex: 1;
}

.product-review-hero-info .product-best-for {
  font-weight: 600;
  color: #1e40af;
  margin-bottom: 0.5rem;
}

.product-review-body {
  max-width: 780px;
  margin: 0 auto;
}

.product-review-body h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.product-review-cta {
  margin-top: 2rem;
  text-align: center;
}

.product-card-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.full-review-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: #1e40af;
  text-decoration: none;
  transition: color 0.15s;
}

.full-review-link:hover {
  color: #1e3a8a;
  text-decoration: underline;
}

/* ============================================
   Pragmatic Value Framework Scorecard
   ============================================ */

.pragmatic-scorecard-section {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 2px solid #e2e8f0;
}

.pragmatic-scorecard-section h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.scorecard-intro {
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.scorecard-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.pragmatic-scorecard {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}

.pragmatic-scorecard thead {
  background: #f1f5f9;
}

.pragmatic-scorecard th {
  padding: 0.65rem 0.75rem;
  text-align: left;
  font-weight: 600;
  color: #475569;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 2px solid #e2e8f0;
  white-space: nowrap;
}

.pragmatic-scorecard td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.pragmatic-scorecard tbody tr:hover {
  background: #f8fafc;
}

.score-type {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.score-type--ben {
  background: #dcfce7;
  color: #166534;
}

.score-type--cost {
  background: #fef3c7;
  color: #92400e;
}

.score-factor {
  font-weight: 600;
  color: #1e293b;
}

.score-question {
  color: #64748b;
  font-size: 0.82rem;
}

.score-weight {
  color: #94a3b8;
  font-weight: 500;
  text-align: center;
}

.score-raw {
  font-weight: 600;
  text-align: center;
  color: #334155;
}

.score-bar-cell {
  width: 100px;
  min-width: 80px;
}

.score-bar {
  height: 10px;
  background: linear-gradient(90deg, #3b82f6, #1d4ed8);
  border-radius: 5px;
  min-width: 4px;
  transition: width 0.3s ease;
}

.score-weighted {
  font-weight: 700;
  text-align: center;
  color: #1e293b;
}

.scorecard-total td {
  border-top: 2px solid #e2e8f0;
  padding-top: 0.75rem;
}

.score-total-label {
  text-align: right;
  font-weight: 700;
  font-size: 0.92rem;
  color: #1e293b;
}

.score-total-value {
  font-weight: 800;
  font-size: 1.15rem;
  color: #1d4ed8;
  text-align: center;
}

.scorecard-rationale {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  background: #f8fafc;
  border-left: 3px solid #3b82f6;
  border-radius: 0 6px 6px 0;
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .product-review-hero-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .product-review-hero-card .product-image--large {
    width: 200px;
  }

  .pragmatic-scorecard .score-question {
    display: none;
  }

  .score-bar-cell {
    display: none;
  }

  .product-card-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ============================================
   Breadcrumb Navigation
   ============================================ */

.breadcrumb-nav {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  font-size: 0.85rem;
  color: var(--color-text-light);
  font-family: var(--font-body);
}

.breadcrumb-nav a {
  color: var(--color-primary);
  text-decoration: none;
}

.breadcrumb-nav a:hover {
  text-decoration: underline;
}

.breadcrumb-nav .breadcrumb-sep {
  margin: 0 0.4rem;
  color: var(--color-text-lighter);
}

.breadcrumb-nav span[aria-current="page"] {
  color: var(--color-text);
  font-weight: 500;
}


/* ============================================
   FAQ Section
   ============================================ */

.faq-section {
  margin: 3rem 0 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.faq-section h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
}

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

.faq-item details {
  padding: 0;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-dark-soft);
  cursor: pointer;
  list-style: none;
  line-height: 1.5;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--color-text-lighter);
  margin-left: 1rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item details[open] summary::after {
  content: "\2212";
}

.faq-item details p {
  padding: 0 0 1.25rem 0;
  margin: 0;
  color: var(--color-text);
  line-height: 1.7;
  font-size: 0.95rem;
}


/* ============================================
   Related Reading
   ============================================ */

.related-reading {
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--color-border-light);
  border-radius: var(--radius-lg);
}

.related-reading h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-dark);
  margin: 0 0 0.75rem;
}

.related-reading ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-reading li {
  padding: 0.35rem 0;
}

.related-reading a {
  color: var(--color-primary);
  text-decoration: none;
  font-size: 0.95rem;
}

.related-reading a:hover {
  text-decoration: underline;
}

.related-reading a::before {
  content: "\2192\00a0";
  color: var(--color-text-lighter);
}

/* ── Featured Grid & Cards (from WordPress theme v1.4.0) ── */

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.featured-card {
  display: flex;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border-light);
  transition: all 0.3s ease;
}

.featured-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.featured-card--primary {
  grid-column: 1 / -1;
  border: 2px solid var(--color-primary);
  box-shadow: var(--shadow-md);
}

.featured-card-number {
  background: linear-gradient(135deg, var(--color-dark) 0%, #1e293b 100%);
  color: rgba(255,255,255,0.15);
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  flex-shrink: 0;
}

.featured-card--primary .featured-card-number {
  font-size: 6rem;
  min-width: 160px;
}

.featured-card-content {
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

.featured-card--primary .featured-card-content {
  padding: 2rem 2.5rem;
}

.featured-card-content h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.featured-card--primary .featured-card-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.featured-card-content h3 a {
  color: var(--color-dark-soft);
  text-decoration: none;
  transition: color var(--transition);
}

.featured-card-content h3 a:hover {
  color: var(--color-primary);
}

.featured-card-excerpt {
  color: var(--color-text-light);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.featured-card--primary .featured-card-excerpt {
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .featured-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .featured-card-number {
    min-width: 60px;
    font-size: 2.5rem;
  }

  .featured-card--primary .featured-card-number {
    min-width: 80px;
    font-size: 3.5rem;
  }

  .featured-card-content {
    padding: 1rem 1.25rem;
  }

  .featured-card--primary .featured-card-content {
    padding: 1.25rem 1.5rem;
  }

  .featured-card--primary .featured-card-content h3 {
    font-size: 1.2rem;
  }
}

/* ── Breadcrumbs ── */

.breadcrumbs {
  padding: 0.75rem 0;
  font-size: 0.85rem;
  color: var(--color-text-light, #64748b);
  border-bottom: 1px solid var(--color-border-light, #f1f5f9);
}

.breadcrumbs .container {
  max-width: var(--max-width, 1200px);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.breadcrumbs a {
  color: var(--color-primary, #2563eb);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs .sep {
  margin: 0 0.5rem;
  color: var(--color-text-lighter, #94a3b8);
}

/* ── Related Posts ── */

.related-posts {
  border-top: 1px solid var(--color-border-light, #f1f5f9);
  padding-top: 3rem;
  margin-top: 2rem;
}

.related-posts-title {
  font-family: var(--font-heading, 'Merriweather', Georgia, serif);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-dark, #0f172a);
}
