/*
Theme Name: Statistical Analysis Help
Description: SPSS Dissertation Help & Data Analysis Service
Author: Dominic Tanui
Version: 1.3 (Final Menu Fix)
*/

:root {
  --bg-page: #f6f7fb;
  --bg-section: #ffffff;
  --bg-muted: #f3f5fb;
  --bg-dark: #15161b;
  --accent: #1ab76c;
  --accent-soft: #e7f8ef;
  --accent-strong: #11935a;
  --primary-text: #111827;
  --muted-text: #6b7280;
  --border-subtle: #e5e7eb;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.08);
  --radius-lg: 18px;
  --radius-xl: 24px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-size: 15px;
  font-weight: 600;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--primary-text);
  background-color: var(--bg-page);
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.page {
  background-color: var(--bg-page);
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top bar */
.top-bar {
  background: #ffd977;
  font-size: 12px;
  text-align: center;
  padding: 6px 12px;
}

.top-bar span {
  font-weight: 500;
}

/* =========================================
   HEADER & NAVIGATION (FIXED)
   ========================================= */

header {
  background-color: #ffffff;
  border-bottom: 1px solid #f3f4f6;
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1001;
}

.site-logo-img {
  height: 40px;
  width: auto;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #3cd58a, #0b8c57);
}

.logo-text-main {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  font-weight: 700;
}

.logo-text-sub {
  font-size: 11px;
  color: var(--muted-text);
  margin-top: -2px;
}

/* --- Nav Base --- */
nav {
  display: flex;
  align-items: center;
}

.primary-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

/* NUCLEAR ICON RESET: Removes all default theme arrows/ghost icons */
.primary-menu li::before,
.primary-menu li::after,
.primary-menu a::before,
.primary-menu a::after {
    content: none !important; 
    display: none !important; 
    border: none !important;
}

/* Re-enable ONLY the underline pseudo-element we want */
.primary-menu > li > a::after {
    content: "" !important;
    display: block !important;
    /* Styles are defined in desktop media query below */
}

/* --- Mobile Toggle Button --- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #fff;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  transition: all 0.2s ease;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #0f172a;
  border-radius: 999px;
  transition: transform 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6), opacity 0.2s ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- DESKTOP MENU ( > 900px ) --- */
@media (min-width: 901px) {
  .primary-nav {
    display: block !important;
  }

  .primary-menu {
    gap: 32px;
  }

  .primary-menu > li {
    position: relative;
    padding: 10px 0;
  }

  .primary-menu > li > a {
    position: relative;
    font-size: 14px;
    font-weight: 600;
    color: #4b5563;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
  }

  .primary-menu > li > a:hover {
    color: var(--primary-text);
  }

  /* Animated Underline */
  .primary-menu > li > a::after {
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--accent);
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  .primary-menu > li:hover > a::after {
    width: 100%;
  }

  /* Only allow OUR Remix Icon arrow */
  .primary-menu .menu-item-has-children > a i {
    font-size: 16px;
    transition: transform 0.3s ease;
    opacity: 0.6;
    display: inline-block;
    line-height: 1;
    margin-top: 2px;
  }
  
  .primary-menu .menu-item-has-children:hover > a i {
    transform: rotate(180deg);
    opacity: 1;
    color: var(--accent);
  }

  /* Dropdown Styles */
  .primary-menu > li > .sub-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    width: 260px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 40px -4px rgba(15, 23, 42, 0.1);
    border-radius: 16px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.98);
    transform-origin: top left;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  /* Invisible bridge */
  .primary-menu > li::after {
    display: none !important; /* Override reset for specific li interaction if needed */
  }
  /* Create hover bridge manually without pseudo element on a link */
  .primary-menu > li:hover::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px;
    display: block !important;
    background: transparent;
  }

  .primary-menu > li:hover > .sub-menu,
  .primary-menu > li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  .primary-menu .sub-menu li {
    display: block;
    width: 100%;
  }

  .primary-menu .sub-menu a {
    display: block;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    color: #4b5563;
    font-weight: 500;
    transition: all 0.2s ease;
  }

  .primary-menu .sub-menu a:hover {
    background: var(--accent-soft);
    color: var(--accent-strong);
    transform: translateX(4px);
  }
}

/* --- MOBILE MENU (Drill Down Fix) --- */
@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .header-actions {
    display: none !important;
  }

  /* Ensure Nav Container is Hidden initially */
  .primary-nav {
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    height: calc(100vh - 68px);
    background: #ffffff;
    z-index: 1000;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none; /* Prevent clicks when hidden */
  }

  .nav-open .primary-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .primary-menu {
    display: block;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding: 24px;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .primary-menu.is-shifted {
    transform: translateX(-30%);
    opacity: 0;
    pointer-events: none;
  }

  .primary-menu li {
    border-bottom: 1px solid #f1f5f9;
    position: relative; /* Changed from static */
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .primary-menu > li > a {
    flex-grow: 1;
    padding: 16px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
  }
  
  /* Hide the Desktop Icon on Mobile */
  .primary-menu .menu-item-has-children > a i {
     display: none;
  }

  /* The Drill Trigger */
  .drill-arrow-trigger {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    background: var(--accent-soft);
    border-radius: 8px;
    margin-left: 10px;
    font-size: 20px;
    cursor: pointer;
    z-index: 20; /* Ensure it is clickable */
  }

  /* Submenu Panel */
  .primary-menu .sub-menu {
    position: fixed; /* Fixed to cover the nav container */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    padding: 24px;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s;
    z-index: 100;
    overflow-y: auto;
    list-style: none;
  }

  .primary-menu .sub-menu.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  /* Back Button */
  .drill-back {
    display: block;
    width: 100%;
    margin-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 15px;
  }

  .drill-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-strong);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
  }
  
  .drill-back-btn::before {
    content: "\ea64"; /* Arrow Left */
    font-family: 'remixicon';
    font-size: 18px;
    font-weight: normal;
    margin-right: 4px;
  }

  .primary-menu .sub-menu a {
    padding: 14px 0;
    font-size: 15px;
    color: #475569;
    font-weight: 500;
    display: block;
    width: 100%;
  }
}

/* =========================================
   REST OF SITE STYLES (ORIGINAL)
   ========================================= */

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 13px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #0f172a, var(--accent-strong));
  color: white;
  box-shadow: 0 12px 25px rgba(17, 147, 90, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: var(--accent-strong);
  box-shadow: 0 16px 30px rgba(16, 185, 129, 0.5);
}

.btn-ghost {
  background: transparent;
  border-color: #e5e7eb;
  color: #111827;
}

.btn-ghost.btn-outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  background: transparent;
}

.page-default-hero .btn-ghost.btn-outline {
  border-color: rgba(0, 0, 0, 0.12);
  color: #0f172a;
}

.btn-ghost.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.page-default-hero .btn-ghost.btn-outline:hover {
  border-color: var(--accent-strong);
  background: rgba(17, 147, 90, 0.08);
}

.page-rich-hero .btn-primary,
.page-default-hero .btn-primary {
  background: #fff;
  color: var(--accent-strong);
  border: 1px solid #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.page-rich-hero .btn-primary:hover,
.page-default-hero .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--accent-strong);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.page-rich-hero .btn-ghost.btn-outline,
.page-default-hero .btn-ghost.btn-outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.page-rich-hero .btn-ghost.btn-outline:hover,
.page-default-hero .btn-ghost.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.btn-ghost:hover {
  background: #f9fafb;
}

/* HERO */

.hero {
  background: #ffffff;
  padding: 40px 0 60px;
  border-bottom: 1px solid #eef0f5;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.eyebrow {
  font-size: 12px;
  color: var(--accent-strong);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 14px;
}

.hero-subtitle {
  font-size: 13px;
  color: var(--muted-text);
  margin-bottom: 18px;
  max-width: 420px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  font-size: 12px;
  color: #4b5563;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #f3f4ff;
  font-size: 11px;
  color: #4b5563;
}

.star-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

.star {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #fbbf24;
  clip-path: polygon(50% 0%, 63% 38%, 100% 38%, 70% 59%, 82% 100%, 50% 75%, 18% 100%, 30% 59%, 0 38%, 37% 38%);
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.hero-cta-note {
  font-size: 11px;
  color: var(--muted-text);
}

.hero-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--muted-text);
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-stat-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-strong);
}

.hero-stat-label {
  font-weight: 500;
  color: #374151;
  font-size: 11px;
}

.hero-stat-sub {
  display: block;
  font-size: 11px;
  color: var(--muted-text);
}

.hero-card {
  background: linear-gradient(135deg, #f9fafb, #eef2ff);
  border-radius: var(--radius-xl);
  padding: 22px 20px;
  box-shadow: var(--shadow-soft);
  border: 1px solid #e5e7eb;
}

.hero-form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 12px;
}

.hero-form-header strong {
  font-weight: 600;
}

.hero-summary-line {
  font-size: 11px;
  color: var(--muted-text);
  margin-bottom: 14px;
}

.hero-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  margin-bottom: 16px;
}

.field-label {
  font-size: 11px;
  color: #4b5563;
  margin-bottom: 4px;
  display: block;
}

.field-input,
.field-select {
  width: 100%;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  padding: 6px 10px;
  font-size: 12px;
  background: #ffffff;
}

.hero-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 12px;
}

.hero-price-main {
  font-weight: 600;
  font-size: 16px;
}

.hero-price-note {
  font-size: 11px;
  color: var(--muted-text);
}

.hero-mini-text {
  font-size: 10px;
  color: var(--muted-text);
  margin-top: 6px;
}

/* SECTIONS GENERAL */

section {
  padding: 60px 0;
}

.section-bg-white {
  background: #ffffff;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  font-size: 13px;
  color: var(--muted-text);
  max-width: 520px;
  margin: 0 auto 26px;
}

/* 3 STEPS */

.steps-wrapper {
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  padding: 28px 26px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  align-items: center;
}

.steps-list {
  display: grid;
  gap: 18px;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: flex-start;
}

.step-number {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
}

.step-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.step-text {
  font-size: 12px;
  color: var(--muted-text);
}

.steps-mock {
  border-radius: 20px;
  background: linear-gradient(145deg, #eef2ff, #f9fafb);
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  display: grid;
  gap: 10px;
  font-size: 11px;
  color: #4b5563;
}

.mock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px dashed #e5e7eb;
}

.mock-pill {
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 10px;
  background: #e5e7eb;
}

/* WRITERS SECTION */

.writers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.info-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
  border: 1px solid #e5e7eb;
  font-size: 12px;
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e5edff, #fef3c7);
}

.info-card-title {
  font-weight: 600;
  font-size: 13px;
}

.info-card-text {
  color: var(--muted-text);
  font-size: 12px;
}

/* SERVICE GRID */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.service-block {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 22px 20px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.05);
}

.service-block h3 {
  font-size: 15px;
  margin-bottom: 10px;
}

.service-block p {
  font-size: 12px;
  color: var(--muted-text);
  margin-bottom: 10px;
}

.bullet-list {
  list-style: none;
  font-size: 12px;
  color: #4b5563;
  display: grid;
  gap: 5px;
}

.bullet-list li::before {
  content: "•";
  color: var(--accent);
  margin-right: 6px;
}

/* REVIEWS */

.reviews-header {
  text-align: left;
  margin-bottom: 24px;
}

.reviews-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  margin-bottom: 6px;
}

.reviews-header p {
  font-size: 13px;
  color: var(--muted-text);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.review-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 18px 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.06);
  font-size: 12px;
}

.review-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.review-source {
  font-size: 11px;
  color: var(--muted-text);
}

.review-stars {
  display: flex;
  align-items: center;
  gap: 4px;
}

.review-body {
  color: #374151;
  margin-bottom: 12px;
}

.review-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--muted-text);
}

/* CTA BAND */

.cta-band {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 26px 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid #e5e7eb;
  margin-top: 28px;
  margin-bottom: 28px;
}

.cta-band-title {
  font-size: 18px;
  font-family: "Playfair Display", serif;
  margin-bottom: 8px;
}

.cta-band-text {
  font-size: 13px;
  color: var(--muted-text);
  margin-bottom: 14px;
}

/* TEAM SECTION */

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.writer-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
  padding: 18px 16px;
  font-size: 12px;
}

.writer-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.writer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 16px;
  background: linear-gradient(135deg, #c4e0ff, #fbcfe8);
}

.writer-name {
  font-weight: 600;
  font-size: 13px;
}

.writer-meta {
  font-size: 11px;
  color: var(--muted-text);
}

/* SOCIAL CONNECT */

.social-strip {
  margin-top: 22px;
  padding: 18px 16px;
  border-radius: var(--radius-xl);
  background: #ffffff;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
}

.social-strip-left {
  max-width: 360px;
}

.social-strip-icons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.social-pill {
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11px;
  background: #f3f4ff;
}

/* FAQ */

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

@media (max-width: 900px) {
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.faq-item {
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 10px 14px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  cursor: default;
}

.faq-item span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.faq-icon {
  font-size: 16px;
  color: var(--muted-text);
}

/* NEWS STRIP */

.news-strip {
  margin: 26px 0 18px;
  text-align: center;
  font-size: 11px;
  color: var(--muted-text);
}

.news-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9ca3af;
}

/* DARK FOOTER CARD */

.dark-card {
  margin: 36px auto 32px;
  max-width: 640px;
  border-radius: 26px;
  background: radial-gradient(circle at top left, #1f2937, #020617);
  color: #e5e7eb;
  padding: 22px 24px 20px;
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.65);
  font-size: 11px;
  position: relative;
}

.dark-card-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.dark-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.dark-tag {
  border-radius: 999px;
  padding: 4px 10px;
  border: 1px solid rgba(249, 250, 251, 0.12);
  font-size: 11px;
  white-space: nowrap;
}

.dark-card-bottom {
  opacity: 0.7;
}

/* TRUST SECTION */

.trust-section {
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  padding: 40px 0 50px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  font-size: 12px;
  color: var(--muted-text);
}

.trust-heading {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  margin-bottom: 10px;
  color: #111827;
}

.trust-stat-cards {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.trust-stat-card {
  border-radius: var(--radius-lg);
  background: #f3f4ff;
  padding: 10px 10px;
  font-size: 11px;
  text-align: center;
}

.trust-stat-card strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
  color: #111827;
}

/* FOOTER */

footer {
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  padding: 16px 24px 26px;
  font-size: 11px;
  color: #9ca3af;
  text-align: center;
}

/* RESPONSIVE */

@media (max-width: 960px) {
  /* Navigation hiding is now handled by the specific media query at 900px in the Navigation block */

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps-wrapper {
    grid-template-columns: minmax(0, 1fr);
  }

  .writers-grid,
  .services-grid,
  .reviews-grid,
  .team-grid,
  .trust-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .social-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .header-inner {
    padding-inline: 16px;
  }

  .hero {
    padding: 30px 0 40px;
  }

  section {
    padding: 40px 0;
  }

  .steps-wrapper {
    padding: 20px 18px;
  }

  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .trust-stat-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dark-card {
    margin-inline: 16px;
  }
}

/* Service accordions & CTAs */

.service-block-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.service-block-header h3 {
  margin-bottom: 4px;
}

.service-toggle {
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  font-size: 11px;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: #374151;
}

.service-toggle:hover {
  background: #eef2ff;
}

.service-toggle-icon {
  font-size: 14px;
  line-height: 1;
}

.service-children {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed #e5e7eb;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.service-block--open .service-children {
  max-height: 800px; /* enough for content */
}

.service-children-list {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: #374151;
}

.service-children-list li::before {
  content: "›";
  color: var(--accent);
  margin-right: 6px;
}

.section-cta-row {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.pill-link {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px dashed #d1d5db;
  color: #374151;
  text-decoration: none;
}

.pill-link:hover {
  background: #f9fafb;
}

.service-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  font-size: 12px;
}

.service-table th,
.service-table td {
  border: 1px solid #e5e7eb;
  padding: 8px 10px;
  text-align: left;
}

.service-table thead {
  background: #f3f4ff;
  font-weight: 600;
}

/* FAQ detail cards */

.faq-detail-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.faq-detail-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
  font-size: 13px;
}

.faq-detail-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.faq-detail-card p {
  font-size: 13px;
  color: var(--muted-text);
  margin-bottom: 8px;
}

.faq-detail-card ul {
  font-size: 12px;
  color: #374151;
  padding-left: 18px;
  margin-top: 4px;
}

/* Responsive tweaks for FAQ/service accordions */

@media (max-width: 768px) {
  .faq-detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --- Scroll reveal animations --- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Buttons hover animation */
.btn {
  transition: background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.btn-large {
  padding: 12px 28px !important;
  font-size: 15px;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
}

/* Card hover animation */
.info-card,
.review-card,
.service-block,
.writer-card,
.faq-detail-card,
.cta-band,
.dark-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover,
.review-card:hover,
.service-block:hover,
.writer-card:hover,
.faq-detail-card:hover,
.cta-band:hover,
.dark-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16);
}

/* Service blocks & toggle refinement */
.service-block {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 18px 18px 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.service-block-header h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.service-block-header p {
  font-size: 13px;
  color: var(--muted-text);
}

.service-toggle {
  border-radius: 999px;
  border: 1px solid rgba(129, 140, 248, 0.25);
  background: radial-gradient(circle at 0 0, #eef2ff 0, #ffffff 60%);
  font-size: 11px;
  padding: 7px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #1f2937;
  box-shadow: 0 12px 26px rgba(129, 140, 248, 0.35);
  white-space: nowrap;
}

.service-toggle-label {
  font-weight: 600;
}

.service-toggle-icon {
  font-size: 15px;
  line-height: 1;
}

.service-toggle:hover {
  background: radial-gradient(circle at 0 0, #e0e7ff 0, #ffffff 60%);
}

/* FAQ accordion */
.faq-accordion {
  border-radius: var(--radius-lg);
  border: 1px solid #e5e7eb;
  margin-bottom: 10px;
  background: #ffffff;
  overflow: hidden;
}

.faq-accordion-header {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  background: linear-gradient(90deg, #f9fafb, #f3f4ff);
  border: none;
  cursor: pointer;
}

.faq-accordion-icon {
  font-size: 16px;
  margin-left: 10px;
}

.faq-accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
  padding: 0 16px;
}

.faq-accordion-panel-inner {
  padding: 10px 0 14px;
  font-size: 13px;
  color: #374151;
}

.faq-accordion-panel-inner p {
  margin-bottom: 6px;
}

.faq-accordion-panel-inner ul {
  margin: 0;
  padding-left: 18px;
}

.faq-accordion.is-open .faq-accordion-panel {
  max-height: 450px;
}

.faq-accordion.is-open .faq-accordion-header {
  background: linear-gradient(90deg, #eef2ff, #e0f2fe);
}

/* Modern flow section for "How it works" */
.flow-section {
  position: relative;
  overflow: hidden;
}

.flow-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(129, 140, 248, 0.16), transparent 55%),
              radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.12), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

.flow-inner {
  position: relative;
  z-index: 1;
}

.flow-head {
  max-width: 680px;
  margin: 0 auto 28px;
  text-align: center;
}

.flow-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.08);
  color: #4338ca;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.flow-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
  gap: 26px;
}

.flow-timeline {
  position: relative;
  padding-left: 22px;
}

.flow-timeline::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 8px;
  left: 10px;
  width: 2px;
  background: linear-gradient(to bottom, #a5b4fc, transparent);
}

.flow-step {
  position: relative;
  padding-left: 16px;
  padding-bottom: 18px;
}

.flow-step:last-child {
  padding-bottom: 0;
}

.flow-step-number {
  position: absolute;
  left: -14px;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #4f46e5;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.4);
}

.flow-step-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.flow-step-text {
  font-size: 13px;
  color: var(--muted-text);
  margin-bottom: 6px;
}

.flow-step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.flow-tag {
  border-radius: 999px;
  border: 1px dashed rgba(148, 163, 184, 0.9);
  padding: 4px 9px;
  font-size: 11px;
  color: #4b5563;
  background: #f9fafb;
}

.flow-summary {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 22px;
  padding: 20px 18px;
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.75);
  color: #e5e7eb;
}

.flow-summary-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.flow-summary-text {
  font-size: 13px;
  color: #d1d5db;
  margin-bottom: 12px;
}

.flow-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.flow-pill {
  border-radius: 16px;
  padding: 9px 10px;
  font-size: 12px;
  background: rgba(31, 41, 55, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.flow-pill strong {
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
  color: #f9fafb;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .flow-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .flow-summary {
    margin-top: 18px;
  }
}


/* --- Clean "How it works" layout --- */
.how-layout {
  position: relative;
}

.how-head {
  max-width: 720px;
  margin: 0 auto 26px;
  text-align: center;
}

.how-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4338ca;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.how-subline {
  font-size: 13px;
  color: var(--muted-text);
  margin-top: 4px;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 10px;
}

.how-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 18px 16px 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.how-step-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 6px;
}

.how-step-number {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
}

.how-card-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.how-card-text {
  font-size: 13px;
  color: var(--muted-text);
  margin-bottom: 8px;
}

.how-list {
  margin: 0;
  padding-left: 16px;
  font-size: 12px;
  color: #4b5563;
}

.how-list li {
  margin-bottom: 4px;
}

.how-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.how-chip {
  border-radius: 999px;
  font-size: 11px;
  padding: 3px 8px;
  background: #f3f4ff;
  color: #4f46e5;
}

.how-footer {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.how-progress {
  flex: 1 1 220px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
  height: 8px;
  position: relative;
}

.how-progress-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  background: linear-gradient(90deg, #22c55e, #4ade80);
}

.how-progress-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 11px;
  color: #6b7280;
}

.how-footer-text {
  font-size: 12px;
  color: #4b5563;
}

@media (max-width: 900px) {
  .how-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --- 3-step central timeline for "How it works" --- */
.process-section {
  position: relative;
}

.process-head {
  max-width: 660px;
  margin: 0 auto 34px;
  text-align: center;
}

.process-kicker {
  font-size: 11px;
  font-weight: 700;
  color: #16a34a;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.process-subtitle {
  font-size: 13px;
  color: var(--muted-text);
  margin-top: 6px;
}

.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 120px minmax(0, 1.2fr);
  column-gap: 40px;
  row-gap: 70px;
}

.process-grid::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, #e5e7eb 0, #e5e7eb 40%, transparent 60%);
}

.process-center {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-icon {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #10b981;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 45px rgba(16, 185, 129, 0.45);
  color: #ffffff;
  font-size: 24px;
}

.process-number {
  position: absolute;
  font-size: 64px;
  font-weight: 800;
  color: rgba(15, 23, 42, 0.06);
  pointer-events: none;
}

.process-number--top {
  top: -4px;
  right: -4px;
}

.process-number--mid {
  top: 8px;
  left: -8px;
}

.process-number--bottom {
  bottom: -4px;
  right: -6px;
}

.process-text {
  max-width: 360px;
}

.process-text h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.process-text p {
  font-size: 13px;
  color: var(--muted-text);
}

.process-text--left {
  text-align: left;
  justify-self: end;
}

.process-text--right {
  text-align: left;
  justify-self: start;
}

.process-footer {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.process-note {
  font-size: 12px;
  color: #4b5563;
}

/* Responsive */
@media (max-width: 900px) {
  .process-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 36px;
  }
  .process-grid::before {
    left: 28px;
  }
  .process-center {
    justify-content: flex-start;
  }
  .process-text,
  .process-text--left,
  .process-text--right {
    justify-self: start;
    padding-left: 10px;
  }
}

/* --- Three-step vertical flow (How it works) --- */
.steps3-section {
  position: relative;
}

.steps3-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 32px;
}

.steps3-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: #16a34a;
  margin-bottom: 6px;
}

.steps3-subtitle {
  font-size: 13px;
  color: var(--muted-text);
  margin-top: 6px;
}

.steps3-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr) minmax(0, 1.4fr);
  gap: 10px;
  align-items: stretch;
}

.steps3-center {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.steps3-center-line {
  position: absolute;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: #e5e7eb;
  z-index: 1;
}

.steps3-node {
  position: relative;
  z-index: 2;
  margin: 18px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps3-icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 22px;
  font-weight: 600;
  box-shadow: 0 18px 40px rgba(22, 163, 74, 0.45);
}

.steps3-number-bg {
  position: absolute;
  font-size: 70px;
  font-weight: 700;
  color: rgba(17, 24, 39, 0.04);
  z-index: 0;
}

.steps3-row {
  display: contents;
}

.steps3-card {
  align-self: center;
  padding: 16px 18px 14px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid #e5e7eb;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
}

.steps3-card-empty {
  pointer-events: none;
  visibility: hidden;
}

.steps3-card-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.steps3-card-text {
  font-size: 13px;
  color: var(--muted-text);
  margin-bottom: 6px;
}

.steps3-card-list {
  margin: 0;
  padding-left: 18px;
  font-size: 12px;
  color: #4b5563;
}

.steps3-card-list li {
  margin-bottom: 4px;
}

.steps3-footer {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.steps3-footer-text {
  font-size: 12px;
  color: #4b5563;
  max-width: 520px;
}

.steps3-cta {
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .steps3-layout {
    display: block;
  }
  .steps3-center {
    display: none;
  }
  .steps3-card,
  .steps3-card-empty {
    visibility: visible;
    pointer-events: auto;
  }
  .steps3-row-block {
    margin-bottom: 12px;
  }
}


.steps3-icon-circle {
  position: relative;
}
.steps3-icon-circle i {
  font-size: 24px;
}
.steps3-icon-circle::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.35), transparent 60%);
  z-index: -1;
}

/* Icon containers using Remix Icons */
.icon-circle,
.writer-avatar,
.trust-stat-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
}

.icon-circle i,
.writer-avatar i,
.trust-stat-card-icon i {
  font-size: 18px;
}

.writer-avatar i {
  font-size: 20px;
}

.dark-tag i {
  margin-right: 4px;
  font-size: 12px;
  vertical-align: -1px;
}


/* -----------------------------
   Footer
------------------------------*/
.site-footer {
  background: #050816;
  color: #e5e7eb;
  font-size: 13px;
  margin-top: 40px;
}

.site-footer a {
  color: #e5e7eb;
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-top,
.footer-middle {
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.footer-top-inner,
.footer-middle-inner,
.footer-bottom-inner {
  display: grid;
  gap: 28px;
  padding: 32px 0;
}

.footer-top-inner {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.footer-col-heading {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: left;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

.page-rich-hero {
  padding: 80px 0 60px;
  background: radial-gradient(circle at top right, rgba(111, 76, 255, 0.4), rgba(15, 22, 43, 0.95));
  color: #fff;
  overflow: hidden;
}

.page-rich-hero .container {
  position: relative;
}

.page-rich-hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.page-rich-eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  opacity: 0.7;
  margin-bottom: 12px;
}

.page-rich-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.15;
  margin-bottom: 18px;
}

.page-rich-summary {
  font-size: 1.1rem;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 24px;
}

.hero-label {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  margin-bottom: 14px;
}

.page-rich-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.meta-chip {
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

.page-rich-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.pill-link--on-dark {
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
}

.pill-link--on-dark:hover {
  border-color: #ffffff;
  color: #ffffff;
}

.page-rich-hero-visual {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(14, 21, 47, 0.45);
  min-height: 280px;
}

.page-rich-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-rich-hero-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.95rem;
  text-align: center;
  padding: 24px;
}

.page-rich-content {
  padding: 60px 0 40px;
  background: #f8fafc;
}

.page-rich-breadcrumbs {
  background: #f8fafc;
  padding: 18px 0 6px;
}

.page-rich-breadcrumbs .breadcrumbs {
  color: #4b5563;
}

.page-rich-hero.classic {
  background: linear-gradient(135deg, #0f172a, var(--accent-strong));
}

.page-rich-cta-grid {
  padding: 50px 0 20px;
  background: #f8fafc;
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.cta-card {
  border-radius: 30px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.cta-card.main {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--accent-strong), #0f172a);
  color: #fff;
}

.cta-card-eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  opacity: 0.7;
}

.cta-card.secondary {
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #0f172a;
}

.page-rich-banner {
  padding: 40px 0 20px;
  background: linear-gradient(135deg, rgba(17, 147, 90, 0.12), rgba(17, 147, 90, 0.06));
}

.banner-inner {
  border-radius: 32px;
  padding: 40px;
  display: flex;
  gap: 32px;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #0ea5e9, #312e81);
  background: linear-gradient(135deg, var(--accent-strong), #0f172a);
  color: #fff;
  flex-wrap: wrap;
}

.banner-eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 11px;
  opacity: 0.8;
  margin-bottom: 8px;
}

.banner-inner ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: #e0f2fe;
}

.banner-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.page-rich-article {
  background: #ffffff;
  border-radius: 32px;
  padding: 48px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.08);
}

.content-styles > *:first-child {
  margin-top: 0;
}

.content-styles h2 {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  margin-top: 32px;
  margin-bottom: 16px;
  color: #111827;
}

.content-styles h3 {
  font-size: 22px;
  margin-top: 26px;
  margin-bottom: 12px;
  color: #111827;
}

.content-styles p,
.content-styles ul,
.content-styles ol {
  font-size: 17px;
  line-height: 1.8;
  color: #1f2937;
  margin-bottom: 18px;
}

.content-styles ul {
  padding-left: 20px;
  list-style: disc;
}

.content-styles ol {
  padding-left: 22px;
}

.content-styles blockquote {
  border-left: 4px solid var(--accent);
  padding-left: 18px;
  font-style: italic;
  color: #0f172a;
  background: #f0f4ff;
  margin: 24px 0;
}

.content-styles img {
  max-width: 100%;
  border-radius: 18px;
  margin: 24px 0;
  display: block;
}

.page-default-hero {
  background: linear-gradient(135deg, var(--accent-strong), #0b663a);
  color: #fff;
  padding: 70px 0 50px;
}

.page-default-hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.page-default-hero .hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  margin-bottom: 12px;
}

.page-default-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(32px, 4vw, 56px);
  margin-bottom: 16px;
}

.page-default-hero p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.page-default-hero .hero-meta {
  margin: 18px 0 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.page-default-hero .hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.page-default-hero .hero-media img {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.page-default-hero .hero-placeholder {
  border-radius: 28px;
  padding: 36px;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
}

.page-default-breadcrumbs {
  background: #f8fafc;
  padding: 18px 0 8px;
}

.page-default-breadcrumbs .breadcrumbs {
  color: #475569;
}

.page-default-content {
  background: #f8fafc;
  padding: 40px 0 60px;
}

.page-default-article {
  background: #fff;
  border-radius: 32px;
  padding: 48px;
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.08);
}

.home-content-panel {
  background: #f8fafc;
  padding: 40px 0;
}

.home-content-inner {
  display: block;
}

.home-content-scroll {
  padding: 22px;
  max-height: var(--home-panel-height, 420px);
  min-height: 260px;
  overflow-y: auto;
  mask-image: linear-gradient(to bottom, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}

.home-content-scroll::-webkit-scrollbar {
  width: 8px;
}

.home-content-scroll::-webkit-scrollbar-thumb {
  background: rgba(17, 147, 90, 0.35);
  border-radius: 999px;
}

.home-content-scroll::-webkit-scrollbar-track {
  background: rgba(17, 147, 90, 0.08);
}

.home-content-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.home-content-col {
  padding: 4px;
}

.blog-hero {
  background: linear-gradient(135deg, #071810 0%, #0a3d1f 40%, var(--accent-strong) 100%);
  color: #ffffff;
  padding: 88px 0 72px;
  position: relative;
  overflow: hidden;
}
.blog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 30%, rgba(255,255,255,.07) 0%, transparent 55%),
              radial-gradient(ellipse at 20% 80%, rgba(17,147,90,.25) 0%, transparent 50%);
  pointer-events: none;
}

.blog-hero-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.blog-hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  opacity: 0.6;
  margin-bottom: 12px;
}

.blog-hero-copy h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(34px, 5vw, 60px);
  margin-bottom: 18px;
}

.blog-hero-copy p {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 24px;
}

.blog-hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.blog-hero-visual {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border-radius: 40px;
  padding: 40px;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
}

.blog-hero-stats {
  width: 100%;
  display: flex;
  justify-content: space-between;
  color: #c7d2fe;
}

.blog-hero-stats span {
  display: block;
  font-size: 36px;
  font-weight: 600;
  color: #fff;
}

.blog-archive {
  padding: 60px 0;
  background: #f8fafc;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.post-card {
  background: #ffffff;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
}

.post-card-media {
  position: relative;
}

.post-card-media img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.post-card-placeholder {
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f172a;
  color: #f8fafc;
  font-size: 1.1rem;
}

.post-card-category {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
}

.post-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.post-card-body h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.post-card-body h2 a {
  color: inherit;
}

.post-card-body p {
  flex: 1;
  color: #475569;
}

.post-card-meta {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 18px;
}

.post-card-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.post-card--compact {
  flex-direction: row;
}

.post-card--compact .post-card-media,
.post-card--compact .post-card-media img {
  height: 160px;
  width: 180px;
}

.post-card--compact .post-card-media {
  flex: 0 0 180px;
}

.post-card--compact .post-card-body {
  padding: 20px;
}

.post-card--compact .post-card-body h2 {
  font-size: 1rem;
}

.blog-cta {
  padding: 60px 0;
}

.blog-cta-card {
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
  color: #fff;
  padding: 40px;
  border-radius: 32px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}

.blog-cta-eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  opacity: 0.8;
  margin-bottom: 8px;
}

.blog-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.blog-load-more {
  text-align: center;
  margin-top: 40px;
}

.blog-load-more .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
}

.single-hero {
  background: #050b1f;
  color: #fff;
  padding: 70px 0 50px;
}

.single-hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.single-hero-summary {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 20px;
}

.single-meta-chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #cbd5f5;
}

.single-hero-media img {
  width: 100%;
  border-radius: 32px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.4);
}

.single-hero-placeholder {
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.1);
  padding: 40px;
  text-align: center;
}

.single-body {
  padding: 60px 0;
  background: #f8fafc;
}

.single-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) 320px;
  gap: 32px;
}

@media (max-width: 1024px) {
  .single-layout {
    grid-template-columns: 1fr;
  }
  .single-sidebar {
    position: relative;
  }
}

.single-content {
  background: #fff;
  border-radius: 32px;
  padding: 48px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.08);
}

.single-sidebar .sticky-card {
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
  margin-bottom: 20px;
  position: sticky;
  top: 100px;
}

.single-sidebar .sticky-card ol {
  padding-left: 18px;
  margin: 0;
}

.single-sidebar .sticky-card li {
  margin-bottom: 10px;
}

.single-sidebar .sticky-card li.toc-sub {
  margin-left: 12px;
  font-size: 13px;
}

.single-faqs {
  background: #050b1f;
  color: #fff;
  padding: 60px 0;
}

.single-faq-block {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 24px;
  margin-bottom: 14px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.1);
}

.single-faq-block summary {
  cursor: pointer;
  font-weight: 600;
}

.single-faq-block.editor {
  border: 1px dashed #cbd5f5;
  box-shadow: none;
}

.single-faq-list details {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  margin-bottom: 12px;
  padding: 18px 24px;
}

.single-faq-list summary {
  cursor: pointer;
  font-weight: 600;
}

.single-faq-answer p {
  color: #e5e7eb;
}

.helpful-share {
  padding: 40px 0;
  background: #f1f5f9;
}

.helpful-row {
  background: #fff;
  border-radius: 999px;
  padding: 18px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  flex-wrap: wrap;
}

.helpful-actions button {
  border: none;
  background: #0f172a;
  color: #fff;
  border-radius: 999px;
  padding: 8px 20px;
  cursor: pointer;
}

.helpful-row.is-answered {
  background: #d1fae5;
  color: #065f46;
}

.share-row {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.share-row a,
.share-row button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #0f172a;
}

.share-copy {
  background: #fcd34d;
}

.share-copy.copied {
  background: #4ade80;
  color: #065f46;
}

.error-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
  background: radial-gradient(circle at 20% 20%, rgba(17, 147, 90, 0.12), transparent 35%), #0f172a;
  color: #fff;
}

.error-hero {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.error-blob {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at 30% 30%, rgba(17, 147, 90, 0.4), rgba(17, 147, 90, 0.05));
  filter: blur(20px);
  z-index: 0;
  border-radius: 40px;
}

.error-card {
  position: relative;
  z-index: 1;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  padding: 40px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.error-eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  opacity: 0.7;
  margin-bottom: 10px;
}

.error-card h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(32px, 4vw, 50px);
  margin-bottom: 14px;
}

.error-card p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 22px;
  font-size: 1.05rem;
}

.error-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.error-actions .btn-primary {
  background: #fff;
  color: var(--accent-strong);
  border: 1px solid #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.error-actions .btn-primary:hover {
  background: rgba(255, 255, 255, 0.92);
}

.single-author {
  padding: 60px 0;
  background: #fff;
}

.author-card {
  display: flex;
  gap: 20px;
  align-items: center;
  background: #f1f5f9;
  border-radius: 24px;
  padding: 24px 28px;
}

.author-avatar img {
  border-radius: 50%;
}

.single-sources {
  padding: 40px 0;
  background: #f8fafc;
}

.sources-block {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px 28px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
  margin: 30px 0;
}

.sources-block.editor {
  border: 1px dashed #cbd5f5;
  box-shadow: none;
}

.sources-list {
  margin: 0;
  padding-left: 18px;
  line-height: 1.8;
}

.related-posts {
  padding: 50px 0 80px;
  background: #fff;
}

.related-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.cta-box {
  border-radius: 30px;
  padding: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 24px 0;
}

.cta-box--light {
  background: #f1f5f9;
}

.cta-box--dark {
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
  color: #fff;
}

.cta-box-eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  opacity: 0.7;
}

.cta-banner {
  border-radius: 24px;
  padding: 26px;
  background: #0f172a;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 24px 0;
}

.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

.page-default-breadcrumbs .breadcrumbs,
.page-rich-breadcrumbs .breadcrumbs {
  background: rgba(17, 147, 90, 0.08);
  color: #0f172a;
  border: 1px solid rgba(17, 147, 90, 0.15);
}

.breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
}

.breadcrumbs li::after {
  content: '›';
  opacity: 0.6;
}

.breadcrumbs li:last-child::after {
  content: '';
}

.breadcrumbs a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}

.footer-list li {
  margin-bottom: 6px;
}

.footer-list a {
  opacity: 0.9;
}

.footer-list a:hover {
  opacity: 1;
}

.footer-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.footer-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
  font-size: 11px;
}

.footer-pill i {
  font-size: 14px;
}

.footer-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.footer-payment-badge {
  padding: 4px 8px;
  border-radius: 6px;
  background: #111827;
  border: 1px solid rgba(55, 65, 81, 0.9);
  font-size: 11px;
  font-weight: 600;
}

.footer-middle-inner {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer-multi-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 24px;
}

.footer-bottom-inner {
  padding: 22px 0 28px;
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-disclaimer {
  max-width: 720px;
  font-size: 12px;
  color: #9ca3af;
}

.footer-copy {
  margin-top: 10px;
  font-size: 12px;
  color: #6b7280;
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-badge-circle {
  width: 76px;
  height: 76px;
  border-radius: 999px;
  border: 2px solid #facc15;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  text-align: center;
  color: #facc15;
}

.footer-badge-circle span:first-child {
  font-size: 18px;
  font-weight: 700;
}

.footer-badge-rect {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #38bdf8;
  color: #e5f4ff;
  background: linear-gradient(135deg, #0f172a, #020617);
  font-weight: 600;
}

/* Responsive footer */
@media (max-width: 992px) {
  .footer-top-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-middle-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .footer-top-inner,
  .footer-middle-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
.blog-hero .btn-primary {
  background: #ffffff;
  color: var(--accent-strong);
  border: 1px solid #ffffff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.blog-hero .btn-primary:hover {
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent-strong);
}

.blog-hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.blog-hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}


/* ----------------------------------------
   Paragraph hyperlink colors
----------------------------------------- */
/* Force hyperlink color inside content paragraphs */
.content-styles p a,
.page-default-article p a,
.single-content p a {
  color: #0c6d3f !important;
  text-decoration: underline;
  font-weight: 600;
}

.content-styles p a:hover,
.page-default-article p a:hover,
.single-content p a:hover {
  color: #0a5c35 !important;
}

/* ----------------------------------------
   Playful Educational Landing Page
----------------------------------------- */
.playful-landing-page,
.playful-landing-page .page {
  background:
    radial-gradient(circle at top left, rgba(76, 201, 240, 0.2), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 143, 171, 0.22), transparent 26%),
    radial-gradient(circle at 20% 70%, rgba(249, 199, 79, 0.18), transparent 26%),
    linear-gradient(180deg, #fff8ef 0%, #fff3fb 46%, #f4fbff 100%);
}

.playful-landing-page {
  --edu-text: #2f3568;
  --edu-muted: #66739f;
  --edu-blue: #4cc9f0;
  --edu-pink: #ff8fab;
  --edu-gold: #f9c74f;
  --edu-green: #90be6d;
  --edu-purple: #5d5fef;
  --edu-shadow:
    22px 24px 55px rgba(101, 123, 192, 0.14),
    -16px -16px 36px rgba(255, 255, 255, 0.84),
    inset 0 2px 0 rgba(255, 255, 255, 0.92);
  color: #2f3568;
}

.playful-landing-page .site-header-next--playful {
  --header-primary: #2f3568;
  --header-secondary: #6974a3;
  --header-accent: #ff8fab;
  --header-accent-strong: #ff7096;
  --header-border: rgba(147, 168, 220, 0.26);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 45px rgba(88, 109, 170, 0.08);
}

.playful-landing-page .site-header-next--playful .site-brand__image {
  max-height: 44px;
}

.playful-landing-page .site-header-next--playful .site-brand__monogram {
  background: linear-gradient(135deg, #4cc9f0, #5d5fef 55%, #ff8fab);
  box-shadow: 0 14px 32px rgba(93, 95, 239, 0.26);
}

.playful-landing-page .site-header-next--playful .site-brand__title {
  font-family: "Baloo 2", "Manrope", sans-serif;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.playful-landing-page .site-header-next--playful .site-brand__subtitle,
.playful-landing-page .site-header-next--playful .next-nav__menu > li > .menu-link {
  font-family: "Manrope", "Inter", sans-serif;
}

.playful-landing-page .site-header-next--playful .next-nav__menu > li > .menu-link:hover,
.playful-landing-page .site-header-next--playful .next-nav__menu > li.is-open > .menu-link {
  background: rgba(255, 143, 171, 0.12);
  color: #2f3568;
}

.playful-landing-page .site-header-next--playful .next-btn--ghost {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(147, 168, 220, 0.28);
  box-shadow: 6px 6px 14px rgba(166, 186, 235, 0.16), -6px -6px 14px rgba(255, 255, 255, 0.8);
}

.playful-landing-page .site-header-next--playful .next-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.92);
}

.playful-landing-page .site-header-next--playful .next-btn--accent {
  background: linear-gradient(135deg, #5d5fef, #ff8fab);
  box-shadow: 0 16px 28px rgba(119, 110, 234, 0.25);
}

.playful-landing-page .site-header-next--playful .next-btn--accent:hover {
  background: linear-gradient(135deg, #4b4de2, #ff7194);
}

.edu-landing {
  --edu-text: #2f3568;
  --edu-muted: #66739f;
  --edu-surface: rgba(255, 255, 255, 0.74);
  --edu-surface-strong: rgba(255, 255, 255, 0.88);
  --edu-blue: #4cc9f0;
  --edu-pink: #ff8fab;
  --edu-gold: #f9c74f;
  --edu-green: #90be6d;
  --edu-purple: #5d5fef;
  --edu-shadow:
    22px 24px 55px rgba(101, 123, 192, 0.14),
    -16px -16px 36px rgba(255, 255, 255, 0.84),
    inset 0 2px 0 rgba(255, 255, 255, 0.92);
  position: relative;
  overflow: hidden;
  padding-bottom: 44px;
  font-family: "Manrope", "Inter", sans-serif;
  color: var(--edu-text);
}

.edu-landing a {
  color: inherit;
}

.edu-landing h1,
.edu-landing h2,
.edu-landing h3,
.edu-landing strong,
.site-footer--playful h3,
.site-footer--playful .edu-footer__logo {
  font-family: "Baloo 2", "Manrope", sans-serif;
  letter-spacing: -0.02em;
}

.edu-hero,
.edu-section[id] {
  scroll-margin-top: 120px;
}

.edu-hero {
  position: relative;
  padding: 72px 0 52px;
}

.edu-hero::before {
  content: "";
  position: absolute;
  inset: 32px auto auto 4%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 143, 171, 0.34), transparent 72%);
  pointer-events: none;
}

.edu-section {
  position: relative;
  padding: 54px 0;
}

.edu-hero__grid,
.edu-tracking-layout,
.edu-cta-panel,
.edu-footer__top {
  display: grid;
  gap: 34px;
}

.edu-hero__grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
}

.edu-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.edu-chip--hero {
  background: linear-gradient(135deg, rgba(255, 143, 171, 0.18), rgba(76, 201, 240, 0.18));
  color: var(--edu-purple);
  box-shadow: 10px 10px 22px rgba(135, 151, 210, 0.12), -8px -8px 20px rgba(255, 255, 255, 0.7);
}

.edu-chip--soft {
  background: rgba(255, 255, 255, 0.64);
  color: var(--edu-purple);
  border: 1px solid rgba(129, 145, 212, 0.2);
}

.edu-hero__title {
  max-width: 11ch;
  margin-top: 20px;
  font-size: clamp(3rem, 6vw, 5.25rem);
  line-height: 0.96;
  color: var(--edu-text);
}

.edu-hero__summary,
.edu-section__heading p,
.edu-tracking-copy > p,
.edu-cta-panel__copy > p,
.edu-course-card p,
.edu-feature-card p,
.edu-testimonial-card p,
.edu-cta-card p,
.edu-footer__brand p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--edu-muted);
}

.edu-hero__summary {
  max-width: 54ch;
  margin-top: 18px;
}

.edu-hero__actions,
.edu-cta-card__actions,
.edu-footer__pills,
.edu-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.edu-hero__actions {
  margin-top: 28px;
}

.edu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.edu-button:hover {
  transform: translateY(-2px);
}

.edu-button--primary {
  color: #ffffff;
  background: linear-gradient(135deg, #5d5fef, #ff8fab);
  box-shadow: 0 20px 32px rgba(108, 106, 232, 0.25);
}

.edu-button--secondary,
.edu-button--ghost {
  color: var(--edu-text);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(144, 162, 215, 0.26);
  box-shadow: 8px 8px 18px rgba(158, 176, 228, 0.14), -8px -8px 18px rgba(255, 255, 255, 0.76);
}

.edu-stat-grid,
.edu-course-grid,
.edu-testimonial-grid,
.edu-footer__columns {
  display: grid;
  gap: 20px;
}

.edu-stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.edu-stat-card,
.edu-clay-card,
.edu-course-card,
.edu-feature-card,
.edu-testimonial-card,
.edu-cta-card,
.edu-floating-note,
.edu-footer,
.edu-footer__column {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 247, 252, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--edu-shadow);
  backdrop-filter: blur(18px);
}

.edu-stat-card {
  padding: 24px 22px;
  border-radius: 28px;
}

.edu-stat-card strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.edu-stat-card span {
  display: block;
  margin-top: 10px;
  color: var(--edu-muted);
  line-height: 1.55;
}

.edu-hero__visual {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.edu-orbit {
  position: absolute;
  border-radius: 50%;
  border: 2px dashed rgba(123, 137, 210, 0.18);
  animation: edu-float 8s ease-in-out infinite;
}

.edu-orbit--one {
  inset: 24px 36px auto auto;
  width: 440px;
  height: 440px;
}

.edu-orbit--two {
  inset: auto auto 20px 16px;
  width: 320px;
  height: 320px;
  animation-delay: -2.5s;
}

.edu-clay-card {
  position: relative;
  z-index: 2;
  border-radius: 38px;
}

.edu-clay-card--dashboard {
  width: min(100%, 520px);
  padding: 28px;
  animation: edu-float 6.5s ease-in-out infinite;
}

.edu-dashboard__top,
.edu-dashboard__lesson-strip,
.edu-dashboard__metrics,
.edu-section__heading,
.edu-tracker-header,
.edu-footer__bottom,
.edu-course-card__top,
.edu-course-card__meta,
.edu-bars-card__row,
.edu-tracker-item__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.edu-dashboard__top h2,
.edu-section__heading h2,
.edu-tracking-copy h2,
.edu-cta-panel__copy h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
}

.edu-dashboard__top h2 {
  margin-top: 14px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.edu-avatar-cluster {
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
}

.edu-avatar-cluster span {
  width: 42px;
  height: 42px;
  margin-left: -10px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.9);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 800;
  background: linear-gradient(135deg, #5d5fef, #4cc9f0);
}

.edu-avatar-cluster span:first-child {
  margin-left: 0;
}

.edu-dashboard__lesson-strip {
  margin-top: 24px;
}

.edu-mini-clay,
.edu-ring-card,
.edu-bars-card,
.edu-tracker-board__summary {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(144, 162, 215, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.edu-mini-clay {
  flex: 1;
  padding: 18px;
}

.edu-mini-clay--sun {
  background: linear-gradient(135deg, rgba(249, 199, 79, 0.2), rgba(255, 255, 255, 0.82));
}

.edu-mini-clay__label,
.edu-course-card__eyebrow,
.edu-testimonial-card__badge,
.edu-cta-card__eyebrow,
.edu-footer__logo {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.edu-mini-clay__label,
.edu-cta-card__eyebrow {
  color: var(--edu-purple);
  background: rgba(93, 95, 239, 0.1);
}

.edu-mini-clay strong,
.edu-cta-card strong {
  display: block;
  margin-top: 12px;
  font-size: 1.4rem;
  line-height: 1.1;
}

.edu-mini-clay small,
.edu-tracker-board__summary small,
.edu-course-card__meta span,
.edu-cta-card__meta span {
  color: var(--edu-muted);
}

.edu-dashboard__metrics {
  margin-top: 22px;
  align-items: stretch;
}

.edu-ring-card {
  flex: 0 0 180px;
  padding: 22px 18px;
  text-align: center;
}

.edu-progress-ring {
  --size: 122px;
  position: relative;
  width: var(--size);
  height: var(--size);
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--edu-purple) calc(var(--edu-progress) * 1%), #ffd9e7 0);
}

.edu-progress-ring::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(248, 245, 255, 0.82));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.edu-progress-ring span {
  position: relative;
  z-index: 1;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--edu-text);
}

.edu-bars-card {
  flex: 1;
  padding: 22px;
}

.edu-bars-card__row,
.edu-tracker-item__row {
  align-items: center;
  margin-top: 10px;
  font-size: 0.96rem;
  font-weight: 700;
}

.edu-bars-card__row:first-child,
.edu-tracker-item:first-child .edu-tracker-item__row {
  margin-top: 0;
}

.edu-progress-bar {
  position: relative;
  height: 14px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(93, 95, 239, 0.1);
}

.edu-progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5d5fef, #4cc9f0);
}

.edu-progress-bar--pink span {
  background: linear-gradient(90deg, #ff8fab, #ffb3c7);
}

.edu-progress-bar--gold span {
  background: linear-gradient(90deg, #f9c74f, #ffd978);
}

.edu-floating-note {
  position: absolute;
  z-index: 3;
  width: 210px;
  padding: 18px 20px;
  border-radius: 24px;
  animation: edu-float 7.5s ease-in-out infinite;
}

.edu-floating-note span {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--edu-purple);
}

.edu-floating-note strong {
  display: block;
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.45;
}

.edu-floating-note--left {
  left: 0;
  bottom: 92px;
  animation-delay: -2s;
}

.edu-floating-note--right {
  right: 0;
  top: 86px;
}

.edu-section__heading {
  align-items: end;
  margin-bottom: 28px;
}

.edu-section__heading > div {
  max-width: 640px;
}

.edu-section__heading h2 {
  margin-top: 14px;
}

.edu-section__heading--center {
  justify-content: center;
  text-align: center;
}

.edu-course-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.edu-course-card {
  padding: 24px;
  border-radius: 30px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.edu-course-card:hover,
.edu-feature-card:hover,
.edu-testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow:
    26px 30px 56px rgba(101, 123, 192, 0.18),
    -18px -18px 36px rgba(255, 255, 255, 0.82),
    inset 0 2px 0 rgba(255, 255, 255, 0.94);
}

.edu-course-card__eyebrow,
.edu-testimonial-card__badge {
  color: var(--edu-text);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 2px var(--edu-accent, #4cc9f0);
}

.edu-course-card__highlight {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--edu-purple);
  background: rgba(93, 95, 239, 0.08);
}

.edu-course-card h3,
.edu-feature-card h3,
.edu-tracker-header h3 {
  margin-top: 18px;
  font-size: 1.8rem;
  line-height: 1.04;
}

.edu-course-card p {
  margin-top: 12px;
}

.edu-course-card__meta {
  flex-wrap: wrap;
  margin-top: 18px;
}

.edu-course-card__meta span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

.edu-course-card__link {
  display: inline-flex;
  margin-top: 22px;
  font-weight: 800;
  color: var(--edu-purple);
}

.edu-tracking-layout {
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  align-items: center;
}

.edu-feature-stack {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.edu-feature-card {
  padding: 22px 24px;
  border-radius: 28px;
}

.edu-feature-card h3 {
  margin-top: 0;
  font-size: 1.55rem;
}

.edu-feature-card p {
  margin-top: 10px;
}

.edu-clay-card--tracker {
  padding: 28px;
}

.edu-tracker-header {
  align-items: center;
}

.edu-streak-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.96rem;
  background: linear-gradient(135deg, #ff8fab, #ffb667);
  box-shadow: 0 16px 28px rgba(255, 143, 171, 0.24);
}

.edu-tracker-board {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.edu-tracker-board__summary {
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
}

.edu-tracker-board__summary strong {
  font-size: 2rem;
  line-height: 1;
}

.edu-tracker-board__list {
  display: grid;
  gap: 16px;
}

.edu-tracker-item {
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(144, 162, 215, 0.18);
}

.edu-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.edu-badge-row span,
.edu-checklist span,
.edu-footer__pills span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--edu-text);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(144, 162, 215, 0.16);
}

.edu-testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.edu-testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100%;
  padding: 28px;
  border-radius: 30px;
}

.edu-testimonial-card__author strong {
  display: block;
  font-size: 1.22rem;
}

.edu-testimonial-card__author span {
  display: block;
  margin-top: 6px;
  color: var(--edu-muted);
}

.edu-cta-panel {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  padding: 34px;
  border-radius: 42px;
  background:
    radial-gradient(circle at top right, rgba(255, 143, 171, 0.16), transparent 26%),
    radial-gradient(circle at bottom left, rgba(76, 201, 240, 0.16), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 245, 251, 0.74));
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: var(--edu-shadow);
}

.edu-cta-panel__copy h2 {
  margin-top: 16px;
}

.edu-checklist {
  margin-top: 24px;
}

.edu-cta-card {
  padding: 28px;
  border-radius: 34px;
}

.edu-cta-card p {
  margin-top: 14px;
}

.edu-cta-card__meta {
  margin-top: 20px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
}

.edu-cta-card__meta strong {
  font-size: 1.3rem;
}

.edu-cta-card__actions {
  margin-top: 22px;
}

.site-footer--playful {
  padding: 0 0 48px;
  background: transparent;
  color: var(--edu-text);
}

.edu-footer {
  padding: 32px;
  border-radius: 38px;
}

.edu-footer__top {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: start;
}

.edu-footer__logo {
  color: var(--edu-purple);
  background: rgba(93, 95, 239, 0.1);
}

.edu-footer__brand p {
  margin-top: 18px;
  max-width: 40ch;
}

.edu-footer__pills {
  margin-top: 20px;
}

.edu-footer__columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.edu-footer__column {
  padding: 22px 20px;
  border-radius: 28px;
}

.edu-footer__column h3 {
  font-size: 1.5rem;
}

.edu-footer__column ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.edu-footer__column li + li {
  margin-top: 10px;
}

.edu-footer__column a {
  color: var(--edu-muted);
  font-weight: 700;
}

.edu-footer__bottom {
  margin-top: 24px;
  padding-top: 22px;
  align-items: center;
  border-top: 1px solid rgba(144, 162, 215, 0.22);
}

.edu-footer__bottom p,
.edu-footer__bottom a {
  color: var(--edu-muted);
  font-weight: 700;
}

@keyframes edu-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 1120px) {
  .edu-course-grid,
  .edu-testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .edu-hero__grid,
  .edu-tracking-layout,
  .edu-cta-panel,
  .edu-footer__top {
    grid-template-columns: minmax(0, 1fr);
  }

  .edu-hero__visual {
    min-height: 560px;
  }
}

@media (max-width: 900px) {
  .edu-hero {
    padding-top: 50px;
  }

  .edu-section {
    padding: 44px 0;
  }

  .edu-stat-grid,
  .edu-footer__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .edu-dashboard__metrics,
  .edu-dashboard__lesson-strip,
  .edu-section__heading,
  .edu-footer__bottom {
    flex-direction: column;
  }

  .edu-section__heading {
    align-items: flex-start;
  }

  .edu-floating-note--left {
    left: 18px;
    bottom: 22px;
  }

  .edu-floating-note--right {
    right: 18px;
    top: 18px;
  }
}

@media (max-width: 680px) {
  .edu-hero__title {
    max-width: none;
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .edu-stat-grid,
  .edu-course-grid,
  .edu-testimonial-grid,
  .edu-footer__columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .edu-hero__visual {
    min-height: auto;
    padding-top: 16px;
  }

  .edu-clay-card--dashboard,
  .edu-clay-card--tracker,
  .edu-cta-panel,
  .edu-footer {
    padding: 22px;
  }

  .edu-floating-note {
    position: relative;
    inset: auto;
    width: 100%;
    margin-top: 16px;
    animation: none;
  }

  .edu-button,
  .edu-cta-card__actions .edu-button {
    width: 100%;
  }

  .edu-cta-card__actions {
    flex-direction: column;
  }
}


/* ==========================================================
   SH- DESIGN SYSTEM — Warm Editorial Minimalism
   All components for the dynamic front page + CPT templates
   ========================================================== */

/* ── Design Tokens ─────────────────────────────────────── */
:root {
  --sh-bg:          #F5F5F2;
  --sh-surface:     #ECECE9;
  --sh-border:      #E0E0DC;
  --sh-primary:     #226d01;
  --sh-primary-dk:  #1a5401;
  --sh-accent:      #ff5b00;
  --sh-accent-soft: #fff0e8;
  --sh-secondary:   #8A8F95;
  --sh-text:        #1a1a1a;
  --sh-btn-bg:      #F0F0ED;
  --sh-btn-text:    #3A3A3A;
  --sh-btn-border:  #DADAD6;
  --sh-font-h:      "Playfair Display", Georgia, "Libre Baskerville", serif;
  --sh-font-b:      "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --sh-radius:      12px;
  --sh-radius-sm:   8px;
  --sh-shadow:      0 4px 24px rgba(0,0,0,.07);
  --sh-shadow-lg:   0 12px 48px rgba(0,0,0,.12);
  --sh-transition:  0.2s ease;
}

/* ── Global reset for new sections ──────────────────────── */
.spssdh-home,
.sh-archive,
.sh-page-content,
.sh-single {
  background: var(--sh-bg);
  color: var(--sh-text);
  font-family: var(--sh-font-b);
}

/* ── Container ───────────────────────────────────────────── */
.sh-container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.sh-container--narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ── Sections ────────────────────────────────────────────── */
.sh-section { padding: 96px 0; }
.sh-section:nth-child(even):not(.sh-cta-section) { background: var(--sh-surface); }
.sh-section__head { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; margin-bottom: 56px; }
.sh-section__head--center { flex-direction: column; align-items: center; text-align: center; }
.sh-section__head--spread { justify-content: space-between; }
.sh-section__heading { font-family: var(--sh-font-h); font-size: clamp(28px, 4vw, 42px); font-weight: 600; color: var(--sh-primary); line-height: 1.18; margin: 8px 0 0; max-width: 640px; }
.sh-section__lead { font-size: 17px; color: var(--sh-secondary); line-height: 1.7; max-width: 600px; margin: 0; }
.sh-section__lead--narrow { max-width: 480px; }
.sh-section__cta { display: flex; justify-content: center; margin-top: 48px; }

/* ── Eyebrow ─────────────────────────────────────────────── */
.sh-eyebrow { display: inline-block; font-family: var(--sh-font-b); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sh-accent); background: var(--sh-accent-soft); border-radius: 100px; padding: 4px 12px; }
.sh-eyebrow--light { background: rgba(255,255,255,.15); color: #fff; }

/* ── Badges ──────────────────────────────────────────────── */
.sh-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 100px; background: var(--sh-surface); border: 1px solid var(--sh-border); color: var(--sh-btn-text); }
.sh-badge--outline { background: transparent; border-color: var(--sh-primary); color: var(--sh-primary); }
.sh-badge--accent { background: var(--sh-accent-soft); border-color: transparent; color: var(--sh-accent); }

/* ── Tags ────────────────────────────────────────────────── */
.sh-tag { display: inline-block; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 100px; background: var(--sh-surface); border: 1px solid var(--sh-border); color: var(--sh-secondary); white-space: nowrap; }
.sh-tag--lg { font-size: 13px; padding: 5px 14px; }

/* ── Buttons ─────────────────────────────────────────────── */
.sh-btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sh-font-b); font-size: 14px; font-weight: 600; padding: 12px 24px; border-radius: var(--sh-radius-sm); border: 1.5px solid transparent; cursor: pointer; text-decoration: none; transition: all var(--sh-transition); white-space: nowrap; }
.sh-btn--primary { background: var(--sh-primary); color: #fff; border-color: var(--sh-primary); }
.sh-btn--primary:hover { background: var(--sh-primary-dk); border-color: var(--sh-primary-dk); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(34,109,1,.25); }
.sh-btn--ghost { background: transparent; color: var(--sh-primary); border-color: var(--sh-border); }
.sh-btn--ghost:hover { background: var(--sh-surface); border-color: var(--sh-primary); }
.sh-btn--light { background: #fff; color: var(--sh-primary); border-color: #fff; }
.sh-btn--light:hover { background: var(--sh-surface); }
.sh-btn--ghost-light { background: rgba(255,255,255,.05); color: #fff; border-color: rgba(255,255,255,.55); }
.sh-btn--ghost-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.sh-btn--sm { font-size: 12px; padding: 8px 16px; }

/* ── Star Rating ─────────────────────────────────────────── */
.star-rating { display: inline-flex; gap: 2px; font-size: 15px; }
.star--full  { color: #f59e0b; }
.star--half  { color: #f59e0b; opacity: .6; }
.star--empty { color: #d1d5db; }

/* ── Prose ───────────────────────────────────────────────── */
.sh-prose { font-size: 16px; line-height: 1.8; color: var(--sh-text); }
.sh-prose h2, .sh-prose h3, .sh-prose h4 { font-family: var(--sh-font-h); color: var(--sh-primary); margin: 1.5em 0 .5em; }
.sh-prose p { margin: 0 0 1.2em; }
.sh-prose ul, .sh-prose ol { padding-left: 1.5em; margin: 0 0 1.2em; }
.sh-prose a { color: var(--sh-accent); text-decoration: underline; }
/* Formatted table display — pages & single posts */
.sh-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.8em 0;
  font-size: 15px;
  line-height: 1.55;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(34,109,1,.08);
}
.sh-prose table thead tr {
  background: var(--sh-primary);
  color: #fff;
}
.sh-prose table thead th {
  padding: 13px 16px;
  text-align: left;
  font-family: var(--sh-font-h);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.sh-prose table tbody tr {
  border-bottom: 1px solid var(--sh-border);
  transition: background .15s;
}
.sh-prose table tbody tr:last-child {
  border-bottom: none;
}
.sh-prose table tbody tr:nth-child(even) {
  background: rgba(34,109,1,.04);
}
.sh-prose table tbody tr:hover {
  background: rgba(34,109,1,.08);
}
.sh-prose table td {
  padding: 11px 16px;
  color: var(--sh-text);
  vertical-align: top;
}
.sh-prose table td:first-child {
  font-weight: 600;
  color: var(--sh-primary);
  white-space: nowrap;
}
@media (max-width: 640px) {
  .sh-prose table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ── Pagination ──────────────────────────────────────────── */
.sh-pagination .nav-links, .sh-pagination { display: flex; gap: 8px; justify-content: center; margin: 48px 0 0; flex-wrap: wrap; }
.sh-pagination a, .sh-pagination span { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--sh-radius-sm); border: 1.5px solid var(--sh-border); font-size: 14px; font-weight: 600; color: var(--sh-secondary); text-decoration: none; transition: all var(--sh-transition); }
.sh-pagination a:hover { border-color: var(--sh-primary); color: var(--sh-primary); }
.sh-pagination .current { background: var(--sh-primary); color: #fff; border-color: var(--sh-primary); }

/* ── Breadcrumbs ─────────────────────────────────────────── */
.sh-breadcrumb-wrap { padding: 20px 0; }
.breadcrumbs { font-size: 13px; color: var(--sh-secondary); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: .4; }
.breadcrumbs a { color: var(--sh-primary); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ==========================================================
   HERO SECTION â€” Immersive Editorial Hero
   ========================================================== */
.sh-hero {
  background: var(--sh-bg);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.sh-hero .sh-container { max-width: 1260px; position: relative; z-index: 2; }

/* Animated gradient orbs */
.sh-hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.5;
  will-change: transform;
}
.sh-hero__orb--1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(34,109,1,.18) 0%, transparent 70%);
  top: -10%; right: -5%;
  animation: sh-orb-drift 12s ease-in-out infinite alternate;
}
.sh-hero__orb--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,91,0,.12) 0%, transparent 70%);
  bottom: -15%; left: 5%;
  animation: sh-orb-drift 10s ease-in-out 2s infinite alternate-reverse;
}
.sh-hero__orb--3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(34,109,1,.10) 0%, transparent 70%);
  top: 30%; left: 40%;
  animation: sh-orb-drift 14s ease-in-out 4s infinite alternate;
}
@keyframes sh-orb-drift {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(30px, -20px) scale(1.05); }
  66%  { transform: translate(-20px, 15px) scale(0.97); }
  100% { transform: translate(15px, -10px) scale(1.02); }
}

/* Layout */
.sh-hero__layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

/* Centered content */
.sh-hero__content--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  max-width: 820px;
  animation: sh-hero-fadeUp 0.8s ease-out both;
}

.sh-hero__badge {
  animation: sh-hero-fadeUp 0.6s ease-out both;
}

/* Title with gradient accent */
.sh-hero__title {
  font-family: var(--sh-font-h);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 700;
  color: var(--sh-primary);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}
.sh-hero__title-accent {
  background: linear-gradient(135deg, var(--sh-primary) 0%, var(--sh-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sh-hero__lead {
  font-size: 18px;
  color: var(--sh-secondary);
  line-height: 1.7;
  margin: 0;
  max-width: 640px;
}

.sh-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Primary CTA glow effect */
.sh-hero__cta-primary {
  position: relative;
  overflow: visible;
}
.sh-hero__cta-primary::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(34,109,1,.4), rgba(255,91,0,.3));
  filter: blur(16px);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}
.sh-hero__cta-primary:hover::after {
  opacity: 1;
}

.sh-hero__cta-note {
  font-size: 13px;
  color: var(--sh-secondary);
  margin: 0;
}

/* Stats counter bar */
.sh-hero__stats-bar {
  display: flex;
  gap: 0;
  background: rgba(255,255,255,.72);
  border: 1.5px solid var(--sh-border);
  border-radius: 20px;
  padding: 0;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0,0,0,.06);
  width: 100%;
  max-width: 800px;
  overflow: hidden;
  animation: sh-hero-fadeUp 1s ease-out 0.2s both;
}
.sh-hero__stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 22px 16px;
  border-right: 1.5px solid var(--sh-border);
  transition: background 0.3s ease;
}
.sh-hero__stat-item:last-child { border-right: none; }
.sh-hero__stat-item:hover { background: rgba(34,109,1,.04); }
.sh-hero__stat-value {
  font-family: var(--sh-font-h);
  font-size: 26px;
  font-weight: 700;
  color: var(--sh-primary);
  line-height: 1;
}
.sh-hero__stat-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--sh-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Bottom grid: trust strip + image */
.sh-hero__bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  width: 100%;
  align-items: center;
  animation: sh-hero-fadeUp 1.1s ease-out 0.4s both;
}

/* Trust strip â€” stacked cards */
.sh-hero__trust-strip {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sh-trust-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,.82);
  border: 1.5px solid var(--sh-border);
  border-radius: 18px;
  padding: 18px 22px;
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(0,0,0,.05);
  transition: all 0.3s ease;
}
.sh-trust-card:hover {
  transform: translateX(6px);
  box-shadow: var(--sh-shadow-lg);
  border-color: var(--sh-primary);
}
.sh-trust-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f0f1eb 100%);
  border: 1px solid rgba(34,109,1,.08);
  color: var(--sh-primary);
  box-shadow: 0 8px 16px rgba(15,23,42,.06);
  font-size: 21px;
  line-height: 1;
}
.sh-trust-card__icon i { font-size: 20px; line-height: 1; }
.sh-trust-card__icon span { line-height: 1; }
.sh-trust-card__text { display: flex; flex-direction: column; gap: 3px; }
.sh-trust-card strong { font-size: 15px; font-weight: 700; color: var(--sh-primary); line-height: 1.3; }
.sh-trust-card small  { font-size: 12px; color: var(--sh-secondary); line-height: 1.4; }

/* Circular image reveal */
.sh-hero__image-reveal {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sh-hero__image-ring {
  position: relative;
  width: clamp(260px, 28vw, 380px);
  height: clamp(260px, 28vw, 380px);
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid rgba(255,255,255,.9);
  box-shadow:
    0 0 0 8px rgba(34,109,1,.08),
    0 20px 60px rgba(34,109,1,.12),
    inset 0 0 40px rgba(0,0,0,.05);
  animation: sh-ring-pulse 6s ease-in-out infinite;
}
.sh-hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}
.sh-hero__image-ring:hover .sh-hero__img {
  transform: scale(1.06);
}

/* Rating badge floating near image */
.sh-hero__rating-badge {
  position: absolute;
  bottom: 8%;
  right: -10%;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.94);
  border: 1.5px solid var(--sh-border);
  border-radius: 16px;
  padding: 12px 18px;
  box-shadow: var(--sh-shadow);
  backdrop-filter: blur(14px);
  font-size: 13px;
  color: var(--sh-secondary);
  animation: sh-float 4s ease-in-out infinite;
}

/* Keyframes */
@keyframes sh-hero-fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes sh-ring-pulse {
  0%, 100% { box-shadow: 0 0 0 8px rgba(34,109,1,.08), 0 20px 60px rgba(34,109,1,.12), inset 0 0 40px rgba(0,0,0,.05); }
  50%      { box-shadow: 0 0 0 14px rgba(34,109,1,.05), 0 20px 60px rgba(34,109,1,.16), inset 0 0 40px rgba(0,0,0,.05); }
}
@keyframes sh-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* FAQ archive grid */
.sh-faqs-archive__grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}
.sh-faqs-archive__sidebar { position: sticky; top: 100px; }
.sh-faqs-archive__list { display: flex; flex-direction: column; gap: 8px; }


/* ==========================================================
   ABOUT SECTION
   ========================================================== */
.sh-about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.sh-about__img { border-radius: var(--sh-radius); width: 100%; box-shadow: var(--sh-shadow-lg); }
.sh-about__img-placeholder { position: relative; height: 420px; border-radius: var(--sh-radius); background: var(--sh-surface); overflow: hidden; }
.sh-about__img-accent { position: absolute; width: 180px; height: 180px; background: var(--sh-accent); opacity: .12; border-radius: 50%; top: 20%; left: 15%; }
.sh-about__img-blob { position: absolute; width: 260px; height: 260px; background: var(--sh-primary); opacity: .08; border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%; bottom: 10%; right: 10%; }
.sh-about__copy { display: flex; flex-direction: column; gap: 24px; }
.sh-about__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 8px 0; }
.sh-about__stat { background: var(--sh-surface); border: 1.5px solid var(--sh-border); border-radius: var(--sh-radius); padding: 20px 24px; }
.sh-about__stat strong { display: block; font-family: var(--sh-font-h); font-size: 30px; font-weight: 700; color: var(--sh-primary); line-height: 1; }
.sh-about__stat span { font-size: 12px; color: var(--sh-secondary); margin-top: 4px; display: block; }

/* ==========================================================
   FEATURES SECTION
   ========================================================== */
.sh-features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sh-feature-card { background: #fff; border: 1.5px solid var(--sh-border); border-radius: var(--sh-radius); padding: 32px 28px; transition: all var(--sh-transition); position: relative; overflow: hidden; }
.sh-feature-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--sh-primary), var(--sh-accent)); transform: scaleX(0); transform-origin: left; transition: transform var(--sh-transition); }
.sh-feature-card:hover { transform: translateY(-4px); box-shadow: var(--sh-shadow-lg); }
.sh-feature-card:hover::before { transform: scaleX(1); }
.sh-feature-card__icon { font-size: 28px; margin-bottom: 16px; display: block; color: var(--sh-accent); }
.sh-feature-card h3 { font-family: var(--sh-font-h); font-size: 18px; font-weight: 600; color: var(--sh-primary); margin: 0 0 10px; }
.sh-feature-card p { font-size: 14px; color: var(--sh-secondary); line-height: 1.65; margin: 0; }

/* ==========================================================
   SERVICES SECTION
   ========================================================== */
.sh-services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.sh-service-card { background: var(--sh-surface); border: 1.5px solid var(--sh-border); border-radius: var(--sh-radius); padding: 36px 32px; display: flex; flex-direction: column; gap: 12px; transition: all var(--sh-transition); }
.sh-service-card:hover { background: #fff; box-shadow: var(--sh-shadow); transform: translateY(-3px); }
.sh-service-card__icon { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: var(--sh-accent-soft); border-radius: 14px; font-size: 22px; color: var(--sh-accent); margin-bottom: 4px; }
.sh-service-card h3 { font-family: var(--sh-font-h); font-size: 20px; font-weight: 600; color: var(--sh-primary); margin: 0; }
.sh-service-card__sub { font-size: 12px; font-weight: 700; color: var(--sh-accent); text-transform: uppercase; letter-spacing: .08em; margin: 0; }
.sh-service-card p { font-size: 14px; color: var(--sh-secondary); line-height: 1.65; flex: 1; }
.sh-service-card__link { font-size: 13px; font-weight: 700; color: var(--sh-primary); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; margin-top: auto; }
.sh-service-card__link:hover { color: var(--sh-accent); }

/* ==========================================================
   WRITERS
   ========================================================== */
.sh-writers__grid, .sh-writers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.sh-writer-card { background: #fff; border: 1.5px solid var(--sh-border); border-radius: var(--sh-radius); overflow: hidden; display: flex; flex-direction: column; transition: all var(--sh-transition); }
.sh-writer-card:hover { box-shadow: var(--sh-shadow-lg); transform: translateY(-4px); }
.sh-writer-card__avatar { display: block; aspect-ratio: 1; overflow: hidden; background: var(--sh-surface); position: relative; }
.sh-writer-card__photo { width: 100%; height: 100%; object-fit: cover; }
.sh-writer-card__avatar--initials { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--sh-primary), var(--sh-accent)); }
.sh-writer-card__avatar--initials span { font-family: var(--sh-font-h); font-size: 28px; font-weight: 700; color: #fff; text-transform: uppercase; }
.sh-writer-card__status { position: absolute; top: 10px; right: 10px; font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 100px; }
.sh-writer-card__status--available { background: #d1fae5; color: #065f46; }
.sh-writer-card__status--busy      { background: #fee2e2; color: #991b1b; }
.sh-writer-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.sh-writer-card__body h3 { font-family: var(--sh-font-h); font-size: 17px; font-weight: 600; margin: 0; }
.sh-writer-card__body h3 a { color: var(--sh-primary); text-decoration: none; }
.sh-writer-card__degree { font-size: 12px; color: var(--sh-secondary); margin: 0; }
.sh-writer-card__rating { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--sh-primary); }
.sh-writer-card__tags { display: flex; flex-wrap: wrap; gap: 4px; }
.sh-writer-card__orders { font-size: 11px; color: var(--sh-secondary); margin: 0; }
.sh-writer-card__cta { display: block; padding: 14px 20px; font-size: 13px; font-weight: 700; color: var(--sh-primary); text-decoration: none; border-top: 1.5px solid var(--sh-border); transition: all var(--sh-transition); }
.sh-writer-card__cta:hover { background: var(--sh-primary); color: #fff; }

/* Single writer */
.sh-writer-hero { padding: 64px 0 48px; background: var(--sh-surface); border-bottom: 1.5px solid var(--sh-border); }
.sh-writer-hero__inner { display: flex; gap: 48px; align-items: flex-start; }
.sh-writer-hero__avatar { width: 160px; height: 160px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 4px solid #fff; box-shadow: var(--sh-shadow); }
.sh-writer-hero__avatar img { width: 100%; height: 100%; object-fit: cover; }
.sh-writer-hero__initials { width: 160px; height: 160px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--sh-primary), var(--sh-accent)); flex-shrink: 0; font-family: var(--sh-font-h); font-size: 48px; font-weight: 700; color: #fff; }
.sh-writer-hero__meta { flex: 1; }
.sh-writer-hero__name { font-family: var(--sh-font-h); font-size: clamp(28px, 4vw, 44px); font-weight: 700; color: var(--sh-primary); margin: 0 0 12px; }
.sh-writer-stats-bar { display: flex; background: #fff; border: 1.5px solid var(--sh-border); border-radius: var(--sh-radius); overflow: hidden; margin: 32px 0; }
.sh-stat-box { flex: 1; padding: 24px; border-right: 1.5px solid var(--sh-border); text-align: center; }
.sh-stat-box:last-child { border-right: none; }
.sh-stat-box strong { display: block; font-family: var(--sh-font-h); font-size: 28px; font-weight: 700; color: var(--sh-primary); }
.sh-stat-box span { font-size: 12px; color: var(--sh-secondary); }
.sh-writer-bio__inner { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: start; padding: 64px 0; }
.sh-writer-bio__image img { border-radius: var(--sh-radius); width: 100%; box-shadow: var(--sh-shadow); }
.sh-writer-bio__text { display: flex; flex-direction: column; gap: 24px; }
.sh-writer-cta { background: var(--sh-primary); padding: 64px 0; text-align: center; }
.sh-writer-cta h2 { font-family: var(--sh-font-h); font-size: 32px; font-weight: 700; color: #fff; margin: 0 0 16px; }
.sh-writer-cta p { color: rgba(255,255,255,.8); margin: 0 0 32px; }

/* Archive writer */
.sh-archive-hero { padding: 80px 0 64px; background: linear-gradient(135deg, #0a3d1f 0%, var(--sh-primary) 50%, #1a7a30 100%); color: #fff; position: relative; overflow: hidden; }
.sh-archive-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 50%, rgba(255,255,255,.06) 0%, transparent 60%); pointer-events: none; }
.sh-archive-hero h1 { font-family: var(--sh-font-h); font-size: clamp(32px, 5vw, 58px); font-weight: 700; color: #fff; margin: 12px 0; }
.sh-archive-hero__heading { font-family: var(--sh-font-h); font-size: clamp(32px, 5vw, 58px); font-weight: 700; color: #fff; margin: 12px 0 20px; line-height: 1.15; }
.sh-archive-hero .sh-eyebrow,
.sh-taxonomy-hero .sh-eyebrow { background: rgba(255,255,255,.18); color: #fff; }
.sh-archive-hero p { color: rgba(255,255,255,.75); max-width: 540px; }
.sh-archive-stats-bar { display: flex; background: rgba(255,255,255,.1); border-radius: var(--sh-radius); overflow: hidden; margin-top: 40px; }
.sh-archive-stat { flex: 1; padding: 20px 24px; border-right: 1px solid rgba(255,255,255,.15); }
.sh-archive-stat:last-child { border-right: none; }
.sh-archive-stat strong { display: block; font-size: 26px; font-weight: 700; color: #fff; font-family: var(--sh-font-h); }
.sh-archive-stat span { font-size: 12px; color: rgba(255,255,255,.65); }
.sh-filter-bar { padding: 24px 0; }
.sh-filter-pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.sh-filter-pill a { display: inline-flex; align-items: center; padding: 8px 18px; border-radius: 100px; border: 1.5px solid var(--sh-border); background: var(--sh-surface); font-size: 13px; font-weight: 600; color: var(--sh-secondary); text-decoration: none; transition: all var(--sh-transition); }
.sh-filter-pill a:hover, .sh-filter-pill--active a { border-color: var(--sh-primary); color: var(--sh-primary); background: #fff; }

/* ==========================================================
   SUBJECTS
   ========================================================== */
.sh-subjects__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sh-subject-card { display: flex; align-items: center; gap: 12px; background: #fff; border: 1.5px solid var(--sh-border); border-radius: var(--sh-radius); padding: 18px 20px; text-decoration: none; color: var(--sh-text); transition: all var(--sh-transition); }
.sh-subject-card:hover { border-color: var(--sh-primary); background: var(--sh-surface); transform: translateX(4px); }
.sh-subject-card__icon { width: 36px; height: 36px; flex-shrink: 0; }
.sh-subject-card__img { width: 100%; height: 100%; object-fit: contain; }
.sh-subject-card__name { font-size: 14px; font-weight: 600; color: var(--sh-primary); flex: 1; }
.sh-subject-card__arrow { font-size: 16px; color: var(--sh-secondary); opacity: 0; transition: opacity var(--sh-transition); }
.sh-subject-card:hover .sh-subject-card__arrow { opacity: 1; color: var(--sh-accent); }
.sh-subjects-grid-full { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sh-subject-card-full { background: #fff; border: 1.5px solid var(--sh-border); border-radius: var(--sh-radius); overflow: hidden; display: flex; flex-direction: column; transition: all var(--sh-transition); text-decoration: none; }
.sh-subject-card-full:hover { box-shadow: var(--sh-shadow-lg); transform: translateY(-4px); }
.sh-subject-card-full__thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--sh-surface); display: flex; align-items: center; justify-content: center; font-family: var(--sh-font-h); font-size: 40px; font-weight: 700; color: rgba(34,109,1,.15); }
.sh-subject-card-full__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sh-subject-card-full__body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.sh-subject-card-full__body h3 { font-family: var(--sh-font-h); font-size: 20px; font-weight: 600; color: var(--sh-primary); margin: 0; }
.sh-subject-card-full__body p { font-size: 14px; color: var(--sh-secondary); line-height: 1.6; flex: 1; }
.sh-subject-card-full__cta { display: block; padding: 14px 24px; font-size: 13px; font-weight: 700; color: var(--sh-primary); border-top: 1.5px solid var(--sh-border); transition: all var(--sh-transition); text-decoration: none; }
.sh-subject-card-full:hover .sh-subject-card-full__cta { background: var(--sh-primary); color: #fff; }

/* ==========================================================
   SAMPLES
   ========================================================== */
.sh-samples__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.sh-sample-card { background: #fff; border: 1.5px solid var(--sh-border); border-radius: var(--sh-radius); overflow: hidden; display: flex; flex-direction: column; transition: all var(--sh-transition); }
.sh-sample-card:hover { box-shadow: var(--sh-shadow-lg); transform: translateY(-3px); }
.sh-sample-card__thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--sh-surface); }
.sh-sample-card__img { width: 100%; height: 100%; object-fit: cover; }
.sh-sample-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.sh-sample-card__body h3 { font-family: var(--sh-font-h); font-size: 18px; font-weight: 600; margin: 0; }
.sh-sample-card__body h3 a { color: var(--sh-primary); text-decoration: none; }
.sh-sample-card__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.sh-sample-card__meta span { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 100px; background: var(--sh-surface); border: 1px solid var(--sh-border); color: var(--sh-secondary); }
.sh-sample-card__grade { background: var(--sh-accent-soft) !important; color: var(--sh-accent) !important; border-color: transparent !important; }
.sh-sample-card__excerpt { font-size: 13px; color: var(--sh-secondary); line-height: 1.6; flex: 1; }
.sh-sample-card__foot { padding: 16px 24px; border-top: 1.5px solid var(--sh-border); display: flex; gap: 10px; }
.sh-sample-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; padding: 64px 0; }
.sh-sample-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 16px; }
.sh-sample-sidebar__card { background: var(--sh-surface); border: 1.5px solid var(--sh-border); border-radius: var(--sh-radius); padding: 28px; }
.sh-sample-sidebar__card h3 { font-family: var(--sh-font-h); font-size: 18px; font-weight: 600; color: var(--sh-primary); margin: 0 0 16px; }

/* ==========================================================
   REVIEWS
   ========================================================== */
.sh-reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sh-review-card { background: #fff; border: 1.5px solid var(--sh-border); border-radius: var(--sh-radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; transition: all var(--sh-transition); }
.sh-review-card:hover { box-shadow: var(--sh-shadow); transform: translateY(-2px); }
.sh-review-card__top { display: flex; align-items: center; justify-content: space-between; }
.sh-review-card__rating { display: flex; gap: 2px; }
.sh-verified-badge { font-size: 11px; font-weight: 700; color: var(--sh-primary); background: rgba(34,109,1,.08); border-radius: 100px; padding: 3px 10px; }
.sh-review-card__quote { font-size: 15px; line-height: 1.75; color: var(--sh-text); border-left: 3px solid var(--sh-accent); padding-left: 16px; margin: 0; flex: 1; }
.sh-review-card__author { display: flex; align-items: center; gap: 14px; padding-top: 8px; border-top: 1px solid var(--sh-border); }
.sh-review-card__initials { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--sh-primary), var(--sh-accent)); color: #fff; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.sh-review-card__author strong { display: block; font-size: 13px; font-weight: 700; color: var(--sh-primary); }
.sh-review-card__author span, .sh-review-card__author time { font-size: 12px; color: var(--sh-secondary); display: block; }
.sh-review-card__orders { font-size: 11px; color: var(--sh-secondary); text-align: right; }

/* ==========================================================
   FAQS
   ========================================================== */
.sh-faqs__inner { display: grid; grid-template-columns: 340px 1fr; gap: 72px; align-items: start; }
.sh-faqs__head { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 100px; }
.sh-faqs__list { display: flex; flex-direction: column; gap: 8px; }
.sh-faq-item { background: #fff; border: 1.5px solid var(--sh-border); border-radius: var(--sh-radius); overflow: hidden; transition: all var(--sh-transition); }
.sh-faq-item[open] { border-color: var(--sh-primary); }
.sh-faq-item__q { padding: 20px 24px; font-size: 15px; font-weight: 700; color: var(--sh-primary); cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sh-faq-item__q::-webkit-details-marker { display: none; }
.sh-faq-item__q::after { content: "+"; font-size: 22px; font-weight: 300; color: var(--sh-accent); flex-shrink: 0; }
.sh-faq-item[open] .sh-faq-item__q::after { content: "\2212"; }
.sh-faq-item__a { padding: 0 24px 20px; font-size: 14px; color: var(--sh-secondary); line-height: 1.75; }

/* ==========================================================
   BOTTOM CTA
   ========================================================== */
.sh-section.sh-cta-section {
  background: linear-gradient(135deg, var(--sh-primary) 0%, #1a5401 100%);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.sh-section.sh-cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 18%, rgba(255,255,255,.12) 0%, rgba(255,255,255,0) 30%),
    radial-gradient(circle at 82% 72%, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 34%);
  pointer-events: none;
  z-index: 0;
}
.sh-cta-panel { text-align: center; max-width: 680px; margin: 0 auto; position: relative; z-index: 1; }
.sh-cta-panel__heading { font-family: var(--sh-font-h); font-size: clamp(28px, 4vw, 44px); font-weight: 700; color: #fff; margin: 16px 0 20px; line-height: 1.15; text-shadow: 0 2px 12px rgba(0,0,0,.08); }
.sh-cta-panel__text { color: rgba(255,255,255,.88); font-size: 17px; margin: 0 0 36px; }
.sh-cta-panel__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.sh-cta-panel__note { font-size: 12px; color: rgba(255,255,255,.72); margin: 20px 0 0; }

/* ==========================================================
   SINGLE POST (blog)
   ========================================================== */
.sh-single-hero { padding: 48px 0 40px; background: var(--sh-surface); border-bottom: 1.5px solid var(--sh-border); }
.sh-single-hero__eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.sh-single-hero__title { font-family: var(--sh-font-h); font-size: clamp(28px, 4vw, 48px); font-weight: 700; color: var(--sh-primary); line-height: 1.15; margin: 0 0 16px; }
.sh-single-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--sh-secondary); }
.sh-single-layout { display: grid; grid-template-columns: 1fr 280px; gap: 56px; padding: 56px 0 80px; align-items: start; }
.sh-single-sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 100px; }
.sh-sidebar-card { background: var(--sh-surface); border: 1.5px solid var(--sh-border); border-radius: var(--sh-radius); padding: 24px; }
.sh-sidebar-card h4 { font-family: var(--sh-font-h); font-size: 16px; font-weight: 600; color: var(--sh-primary); margin: 0 0 16px; }

/* ==========================================================
   ARCHIVE (blog)
   ========================================================== */
.sh-post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.sh-post-card { background: #fff; border: 1.5px solid var(--sh-border); border-radius: var(--sh-radius); overflow: hidden; display: flex; flex-direction: column; transition: all var(--sh-transition); text-decoration: none; }
.sh-post-card:hover { box-shadow: var(--sh-shadow-lg); transform: translateY(-3px); }
.sh-post-card__thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--sh-surface); }
.sh-post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.sh-post-card:hover .sh-post-card__thumb img { transform: scale(1.04); }
.sh-post-card__body { padding: 28px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.sh-post-card__body h2, .sh-post-card__body h3 { font-family: var(--sh-font-h); font-size: 20px; font-weight: 600; margin: 0; }
.sh-post-card__body h2 a, .sh-post-card__body h3 a { color: var(--sh-primary); text-decoration: none; }
.sh-post-card__excerpt { font-size: 14px; color: var(--sh-secondary); line-height: 1.65; flex: 1; margin: 0; }
.sh-post-card__date { font-size: 12px; color: var(--sh-secondary); }
.sh-post-card__link { font-size: 13px; font-weight: 700; color: var(--sh-accent); padding-top: 8px; border-top: 1px solid var(--sh-border); margin-top: auto; }
.sh-archive-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; padding: 56px 0 80px; align-items: start; }

/* ==========================================================
   SPLIT HERO — two-column layout (pages + single posts)
   ========================================================== */
.sh-split-hero {
  background: #fff;
  border-bottom: 1.5px solid var(--sh-border);
  padding: 44px 0 56px;
}
.sh-split-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.sh-split-hero__grid--no-image {
  grid-template-columns: 1fr;
  max-width: 760px;
}
.sh-split-hero__left {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.sh-split-hero__breadcrumbs {
  font-size: 13px;
  color: var(--sh-secondary);
  margin-bottom: 4px;
}
.sh-split-hero__title {
  font-family: var(--sh-font-h);
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.14;
  margin: 0;
}
.sh-split-hero__lead {
  font-size: 17px;
  color: var(--sh-secondary);
  line-height: 1.72;
  margin: 0;
}
.sh-split-hero__divider {
  border: none;
  border-top: 1.5px solid var(--sh-border);
  margin: 2px 0;
}
.sh-split-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  font-size: 13.5px;
  color: var(--sh-secondary);
}
.sh-split-hero__meta a {
  color: var(--sh-accent);
  font-weight: 600;
  text-decoration: none;
}
.sh-split-hero__meta a:hover { text-decoration: underline; }
.sh-split-hero__meta-dot {
  color: var(--sh-border);
  font-size: 18px;
  line-height: 1;
}
.sh-split-hero__right {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,.13);
  background: var(--sh-surface);
}
.sh-split-hero__right img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 420px;
  object-fit: contain;
}
@media (max-width: 900px) {
  .sh-split-hero__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .sh-split-hero__right {
    order: -1;
  }
}

/* ==========================================================
   PAGE TEMPLATE
   ========================================================== */
.sh-page-hero { padding: 72px 0 56px; background: linear-gradient(135deg, #0a3d1f 0%, var(--sh-primary) 55%, #1a7a30 100%); color: #fff; border-bottom: none; position: relative; overflow: hidden; }
.sh-page-hero:not(.sh-page-hero--has-image)::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 75% 40%, rgba(255,255,255,.07) 0%, transparent 60%); pointer-events: none; }
.sh-page-hero--image { padding: 0; background: none; }
.sh-page-hero__image-wrap { position: relative; overflow: hidden; background: #0a1628; }
.sh-page-hero__image-wrap img { width: 100%; max-height: 560px; height: auto; display: block; object-fit: contain; }
.sh-page-hero__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.25) 50%, rgba(0,0,0,.05) 100%); }
.sh-page-hero__overlay h1 { font-family: var(--sh-font-h); font-size: clamp(28px, 5vw, 54px); font-weight: 700; color: #fff; margin: 0; }
.sh-page-hero__title { font-family: var(--sh-font-h); font-size: clamp(32px, 5vw, 56px); font-weight: 700; color: #fff; margin: 0 0 16px; line-height: 1.12; }
.sh-page-hero__lead { font-size: 18px; line-height: 1.7; color: rgba(255,255,255,.85); }
.sh-page-body { padding: 64px 0 80px; }

/* ==========================================================
   404 PAGE
   ========================================================== */
.sh-404 { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; padding: 80px 0; }
.sh-404-hero { text-align: center; position: relative; }
.sh-404-hero__numeral { font-family: var(--sh-font-h); font-size: clamp(140px, 20vw, 280px); font-weight: 700; line-height: 1; color: var(--sh-border); user-select: none; }
.sh-404-hero__label { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-family: var(--sh-font-h); font-size: clamp(22px, 4vw, 40px); font-weight: 700; color: var(--sh-primary); white-space: nowrap; }
.sh-404-content { text-align: center; max-width: 520px; margin: 32px auto 0; }
.sh-404-content p { font-size: 17px; color: var(--sh-secondary); line-height: 1.7; margin: 0 0 32px; }
.sh-404-content__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.sh-404-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 720px; margin: 56px auto 0; }
.sh-404-link-card { background: var(--sh-surface); border: 1.5px solid var(--sh-border); border-radius: var(--sh-radius); padding: 28px 24px; text-align: center; text-decoration: none; transition: all var(--sh-transition); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.sh-404-link-card:hover { border-color: var(--sh-primary); background: #fff; transform: translateY(-3px); box-shadow: var(--sh-shadow); }
.sh-404-link-card__icon { font-size: 30px; }
.sh-404-link-card span { font-size: 14px; font-weight: 700; color: var(--sh-primary); }
.sh-404-link-card small { font-size: 12px; color: var(--sh-secondary); }

/* ==========================================================
   TAXONOMY / CATEGORY / TAG
   ========================================================== */
.sh-tax-hero { background: var(--sh-primary); padding: 64px 0 56px; }
.sh-tax-hero .sh-eyebrow { background: rgba(255,255,255,.15); color: #fff; }
.sh-tax-hero h1 { font-family: var(--sh-font-h); font-size: clamp(28px, 4vw, 48px); font-weight: 700; color: #fff; margin: 12px 0; }
.sh-tax-hero__lead { color: rgba(255,255,255,.75); max-width: 540px; }
.sh-tax-count { display: inline-block; background: rgba(255,255,255,.15); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 100px; }
.sh-tax-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; padding: 56px 0 80px; align-items: start; }

/* ==========================================================
   EMPTY STATE & MISC
   ========================================================== */
.sh-empty { text-align: center; padding: 80px 24px; }
.sh-empty__icon { font-size: 48px; margin-bottom: 16px; }
.sh-empty h3 { font-family: var(--sh-font-h); font-size: 24px; color: var(--sh-primary); margin: 0 0 10px; }
.sh-empty p { color: var(--sh-secondary); }
.sh-cta-banner { background: var(--sh-surface); border: 1.5px solid var(--sh-border); border-radius: var(--sh-radius); padding: 36px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin: 48px 0; }
.sh-cta-banner h3 { font-family: var(--sh-font-h); font-size: 22px; font-weight: 600; color: var(--sh-primary); margin: 0 0 6px; }
.sh-cta-banner p { font-size: 14px; color: var(--sh-secondary); margin: 0; }
.sh-archive-cta { padding: 64px 0; text-align: center; }
.sh-archive-cta h2 { font-family: var(--sh-font-h); font-size: 30px; font-weight: 700; color: var(--sh-primary); margin: 0 0 16px; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1024px) {
  .sh-about__grid { grid-template-columns: 1fr; gap: 48px; }
  .sh-hero__bottom-grid { grid-template-columns: 1fr; gap: 32px; }
  .sh-hero__image-reveal { order: -1; }
  .sh-hero__trust-strip { flex-direction: row; flex-wrap: wrap; gap: 10px; }
  .sh-trust-card { flex: 1 1 280px; }
  .sh-faqs-archive__grid { grid-template-columns: 1fr; }
  .sh-faqs-archive__sidebar { position: static; order: 1; }
  .sh-writers__grid, .sh-writers-grid { grid-template-columns: repeat(2, 1fr); }
  .sh-subjects__grid { grid-template-columns: repeat(3, 1fr); }
  .sh-samples__grid, .sh-reviews__grid, .sh-features__grid, .sh-services__grid { grid-template-columns: repeat(2, 1fr); }
  .sh-faqs__inner { grid-template-columns: 1fr; }
  .sh-faqs__head { position: static; }
  .sh-single-layout, .sh-tax-layout, .sh-archive-layout, .sh-sample-layout { grid-template-columns: 1fr; }
  .sh-single-sidebar, .sh-sample-sidebar { position: static; }
  .sh-writer-bio__inner { grid-template-columns: 1fr; }
  .sh-subjects-grid-full { grid-template-columns: repeat(2, 1fr); }
  .sh-404-links { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .sh-section { padding: 64px 0; }
  .sh-writers__grid, .sh-writers-grid, .sh-subjects__grid, .sh-samples__grid, .sh-reviews__grid, .sh-features__grid, .sh-services__grid, .sh-about__stats { grid-template-columns: 1fr; }
  .sh-writer-stats-bar, .sh-archive-stats-bar { flex-direction: column; }
  .sh-stat-box { border-right: none; border-bottom: 1.5px solid var(--sh-border); }
  .sh-archive-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
  .sh-cta-panel__actions { flex-direction: column; align-items: center; }
  .sh-cta-banner { flex-direction: column; }
  .sh-writer-hero__inner { flex-direction: column; }
  .sh-post-grid { grid-template-columns: 1fr; }
  .sh-subjects-grid-full { grid-template-columns: 1fr; }
  .sh-404-links { grid-template-columns: 1fr; }
  .sh-hero { padding: 56px 0 48px; }
  .sh-hero__stats-bar { flex-wrap: wrap; border-radius: 16px; }
  .sh-hero__stat-item { flex: 1 1 40%; border-bottom: 1.5px solid var(--sh-border); }
  .sh-hero__stat-item:nth-child(odd) { border-right: 1.5px solid var(--sh-border); }
  .sh-hero__stat-item:nth-child(even) { border-right: none; }
  .sh-hero__stat-item:nth-last-child(-n+2) { border-bottom: none; }
  .sh-hero__rating-badge { right: -5%; bottom: 5%; font-size: 12px; padding: 10px 14px; }
  .sh-trust-card { flex: 1 1 100%; }
  .sh-hero__image-ring { width: clamp(200px, 50vw, 300px); height: clamp(200px, 50vw, 300px); }
  .sh-hero__orb { filter: blur(60px); opacity: 0.35; }
}
@media (max-width: 480px) {
  .sh-hero__title { font-size: clamp(28px, 8vw, 36px); }
  .sh-hero__actions { flex-direction: column; width: 100%; }
  .sh-hero__actions .sh-btn { width: 100%; justify-content: center; }
  .sh-hero__stats-bar { max-width: 100%; }
  .sh-hero__stat-value { font-size: 22px; }
  .sh-hero__rating-badge { position: relative; right: auto; bottom: auto; margin-top: 16px; justify-content: center; }
  .sh-hero__image-ring { width: 220px; height: 220px; }
}

/* Archive hero subtitle */
.sh-archive-hero__sub { color: rgba(255,255,255,.75); max-width: 540px; font-size: 17px; line-height: 1.7; }

/* Sidebar CTA card */
.sh-sidebar-cta-card { background: var(--sh-surface); border: 1.5px solid var(--sh-border); border-radius: var(--sh-radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.sh-sidebar-cta-card__eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sh-accent); margin: 0; }
.sh-sidebar-cta-card__heading { font-family: var(--sh-font-h); font-size: 20px; font-weight: 600; color: var(--sh-primary); margin: 0; line-height: 1.3; }
.sh-sidebar-cta-card__body { font-size: 14px; color: var(--sh-secondary); line-height: 1.6; margin: 0; }

/* Empty state (archive fallback) */
.sh-empty-state { text-align: center; padding: 80px 24px; }
.sh-empty-state__icon { font-size: 48px; margin-bottom: 16px; color: var(--sh-secondary); }
.sh-empty-state__heading { font-family: var(--sh-font-h); font-size: 24px; color: var(--sh-primary); margin: 0 0 10px; }
.sh-empty-state__body { font-size: 16px; color: var(--sh-secondary); margin: 0; }

/* Pagination wrap */
.sh-pagination-wrap { display: flex; justify-content: center; margin-top: 48px; }
.sh-pagination-wrap .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.sh-pagination-wrap .nav-links a,
.sh-pagination-wrap .nav-links span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: var(--sh-radius-sm); border: 1.5px solid var(--sh-border); font-size: 14px; font-weight: 600; color: var(--sh-secondary); text-decoration: none; transition: all var(--sh-transition); }
.sh-pagination-wrap .nav-links a:hover { border-color: var(--sh-primary); color: var(--sh-primary); }
.sh-pagination-wrap .nav-links .current { background: var(--sh-primary); color: #fff; border-color: var(--sh-primary); }

/* ==========================================================
   SH INTEGRATION LAYER
   Missing components for CPT templates, archive pages, 404,
   single posts, and shared utility states.
   ========================================================== */

.sh-btn--outline {
  background: #fff;
  color: var(--sh-primary);
  border-color: var(--sh-primary);
}
.sh-btn--outline:hover {
  background: var(--sh-primary);
  color: #fff;
}
.sh-btn--accent {
  background: var(--sh-accent);
  color: #fff;
  border-color: var(--sh-accent);
}
.sh-btn--accent:hover {
  filter: brightness(.96);
  box-shadow: 0 12px 32px rgba(255, 91, 0, .28);
}
.sh-btn--lg {
  padding: 14px 28px;
  font-size: 15px;
}
.sh-btn--full {
  width: 100%;
  justify-content: center;
}

.sh-badge--grade {
  background: var(--sh-accent-soft);
  border-color: transparent;
  color: var(--sh-accent);
}
.sh-badge--verified {
  background: rgba(34, 109, 1, .1);
  border-color: transparent;
  color: var(--sh-primary);
}

.sh-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1.5px solid var(--sh-border);
  font: inherit;
  color: var(--sh-text);
}

.sh-pill {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1.5px solid var(--sh-border);
  color: var(--sh-primary);
  font-size: 13px;
  font-weight: 600;
}
.sh-pill__label {
  color: var(--sh-secondary);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.sh-pill--grade {
  background: var(--sh-accent-soft);
  border-color: rgba(255, 91, 0, .16);
  color: var(--sh-accent);
}
.sh-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sh-primary);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.sh-pill-link:hover {
  color: var(--sh-accent);
}

.sh-pagination-wrap {
  margin-top: 48px;
}
.sh-pagination ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.sh-pagination li {
  margin: 0;
}
.sh-pagination li .page-numbers {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
}

.sh-empty-state {
  text-align: center;
  padding: 72px 24px;
  background: #fff;
  border: 1.5px solid var(--sh-border);
  border-radius: 24px;
}
.sh-empty-state__icon {
  font-size: 40px;
  color: var(--sh-accent);
  margin-bottom: 14px;
}
.sh-empty-state__heading {
  font-family: var(--sh-font-h);
  font-size: 28px;
  color: var(--sh-primary);
  margin: 0 0 10px;
}
.sh-empty-state__body,
.sh-empty-state__text {
  color: var(--sh-secondary);
  font-size: 15px;
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto;
}

.sh-archive-body {
  padding: 56px 0 80px;
}
.sh-archive-hero__inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-end;
}
.sh-archive-hero__content {
  max-width: 720px;
}
.sh-archive-hero__eyebrow {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  margin: 12px 0 0;
}
.sh-archive-hero__sub,
.sh-archive-hero__description,
.sh-archive-hero__meta {
  max-width: 620px;
  color: rgba(255,255,255,.78);
  font-size: 16px;
  line-height: 1.75;
}
.sh-archive-hero__description p {
  margin: 0 0 10px;
}
.sh-archive-hero__stat-badge {
  min-width: 160px;
  padding: 24px 22px;
  border-radius: 24px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  text-align: center;
  backdrop-filter: blur(10px);
}
.sh-archive-hero__stat-number {
  display: block;
  font-family: var(--sh-font-h);
  font-size: 38px;
  line-height: 1;
  color: #fff;
}
.sh-archive-hero__stat-label {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,.72);
  font-size: 12px;
}
.sh-archive-hero__count-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.sh-archive-hero__count-num {
  font-family: var(--sh-font-h);
  font-size: 20px;
}

.sh-taxonomy-body {
  padding: 56px 0 88px;
}
.sh-taxonomy-body__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}
.sh-taxonomy-body__main {
  min-width: 0;
}
.sh-taxonomy-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 100px;
}

.sh-filter-tabs,
.sh-filter-bar__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.sh-filter-tabs__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.sh-filter-tab,
.sh-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--sh-border);
  background: #fff;
  color: var(--sh-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all var(--sh-transition);
}
.sh-filter-tab:hover,
.sh-filter-pill:hover,
.sh-filter-tab--active,
.sh-filter-pill--active {
  color: var(--sh-primary);
  border-color: rgba(34,109,1,.24);
  background: rgba(34,109,1,.06);
}
.sh-filter-tab__count,
.sh-filter-pill__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(34,109,1,.08);
  color: var(--sh-primary);
  font-size: 11px;
}

.sh-sidebar-cta-card,
.sh-meta-card,
.sh-sticky-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8f8f5 100%);
  border: 1.5px solid var(--sh-border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--sh-shadow);
}
.sh-sidebar-cta-card__eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--sh-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.sh-sidebar-cta-card__heading,
.sh-meta-card__heading,
.sh-sticky-card__heading,
.sh-sticky-card__subheading,
.sh-sidebar-section__title,
.sh-writer-bio__heading,
.sh-writer-specializations__heading,
.sh-writer-samples__heading,
.sh-subject-taxonomy__heading,
.sh-bottom-cta-banner__heading,
.sh-review-leave-cta__heading,
.sh-related-reviews__heading {
  font-family: var(--sh-font-h);
  color: var(--sh-primary);
  margin: 0 0 12px;
}
.sh-sidebar-cta-card__heading {
  font-size: 24px;
  line-height: 1.2;
}
.sh-sidebar-cta-card__body,
.sh-sticky-card__text,
.sh-sidebar-more-link,
.sh-sidebar-list__meta {
  color: var(--sh-secondary);
  font-size: 14px;
  line-height: 1.7;
}
.sh-sidebar-more-link {
  text-decoration: none;
  font-weight: 700;
  color: var(--sh-primary);
}
.sh-sidebar-more-link:hover {
  color: var(--sh-accent);
}
.sh-sidebar-section {
  background: #fff;
  border: 1.5px solid var(--sh-border);
  border-radius: 20px;
  padding: 22px;
}
.sh-sidebar-list,
.sh-sidebar-writer-list,
.sh-related-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sh-sidebar-list__item,
.sh-related-list__item {
  margin: 0;
}
.sh-sidebar-list__link,
.sh-related-list__link {
  text-decoration: none;
  color: var(--sh-primary);
  font-weight: 600;
}
.sh-sidebar-list__link:hover,
.sh-related-list__link:hover {
  color: var(--sh-accent);
}
.sh-sidebar-list__icon {
  color: var(--sh-accent);
  margin-right: 8px;
}
.sh-sidebar-writer-card {
  display: flex;
  gap: 12px;
  align-items: center;
}
.sh-sidebar-writer-card__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--sh-primary), var(--sh-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
}
.sh-sidebar-writer-card__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sh-sidebar-writer-card__name {
  display: block;
  color: var(--sh-primary);
  text-decoration: none;
  font-weight: 700;
}
.sh-sidebar-writer-card__degree {
  display: block;
  margin-top: 2px;
  color: var(--sh-secondary);
  font-size: 12px;
}

.sh-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.sh-tag-cloud__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid var(--sh-border);
  color: var(--sh-primary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.sh-tag-cloud__tag:hover {
  border-color: rgba(34,109,1,.22);
  background: rgba(34,109,1,.04);
}
.sh-tag-cloud__tag-count {
  color: var(--sh-secondary);
  font-size: 11px;
}
.sh-tag-cloud--small .sh-tag-cloud__tag {
  padding: 8px 12px;
  font-size: 12px;
}
.sh-tag--sm {
  font-size: 10px;
  padding: 3px 8px;
}
.sh-tag--muted {
  background: #fff;
  color: var(--sh-secondary);
}

.sh-meta-list {
  margin: 0;
  display: grid;
  gap: 14px;
}
.sh-meta-list__row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(224,224,220,.8);
}
.sh-meta-list__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.sh-meta-list__label {
  color: var(--sh-secondary);
  font-size: 13px;
  margin: 0;
}
.sh-meta-list__value {
  color: var(--sh-primary);
  font-size: 13px;
  font-weight: 700;
  margin: 0;
  text-align: right;
}

.sh-post-grid--2col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.sh-post-card__media-link {
  display: block;
  text-decoration: none;
}
.sh-post-card__thumb--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,91,0,.12), transparent 32%),
    linear-gradient(135deg, #f1f1ec 0%, #ecece7 100%);
}
.sh-post-card__initial {
  font-family: var(--sh-font-h);
  font-size: 56px;
  line-height: 1;
  color: rgba(34,109,1,.2);
}
.sh-post-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.sh-post-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--sh-accent-soft);
  color: var(--sh-accent);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}
.sh-post-card__badge--degree,
.sh-post-card__badge--soft {
  background: rgba(34,109,1,.08);
  color: var(--sh-primary);
}
.sh-post-card__title {
  margin: 0;
}
.sh-post-card__footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-top: auto;
}
.sh-post-card__read-more {
  color: var(--sh-primary);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.sh-post-card__read-more:hover {
  color: var(--sh-accent);
}
.sh-post-card__rating {
  display: inline-flex;
}

.sh-single-layout-wrap {
  padding: 56px 0 72px;
}
.sh-single-featured {
  max-width: 1120px;
  margin: 28px auto 0;
  border-radius: 28px;
  overflow: hidden;
}
.sh-single-featured img {
  width: 100%;
  max-height: 520px;
  height: auto;
  display: block;
  object-fit: contain;
}
.sh-single-featured .sh-page-hero__overlay {
  display: none;
}

.sh-page-hero__inner {
  position: relative;
  z-index: 1;
}
.sh-page-hero--has-image .sh-page-hero__inner {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding-top: 48px;
  padding-bottom: 64px;
  z-index: 2;
}
.sh-page-hero__content {
  max-width: 760px;
}
.sh-page-hero__content--light .sh-page-hero__title,
.sh-page-hero__content--light .sh-page-hero__lead {
  color: #fff;
}
/* No-image hero eyebrow override */
.sh-page-hero:not(.sh-page-hero--has-image) .sh-eyebrow {
  background: rgba(255,255,255,.18);
  color: #fff;
}
.sh-page-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sh-page-inline-banner {
  padding: 0 0 24px;
}
.sh-page-footer-cta {
  padding: 72px 0;
  background: linear-gradient(135deg, rgba(34,109,1,.95) 0%, rgba(26,84,1,.98) 100%);
}
.sh-page-footer-cta__inner,
.sh-archive-cta__inner,
.sh-bottom-cta-banner__inner,
.sh-writer-cta__inner,
.sh-review-leave-cta__inner,
.sh-cta-banner__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.sh-page-footer-cta__heading,
.sh-archive-cta__heading,
.sh-bottom-cta-banner__heading {
  font-family: var(--sh-font-h);
  font-size: clamp(26px, 4vw, 40px);
  color: #fff;
  margin: 0 0 10px;
}
.sh-page-footer-cta__sub,
.sh-archive-cta__sub,
.sh-bottom-cta-banner__sub {
  color: rgba(255,255,255,.78);
  margin: 0;
  line-height: 1.7;
}
.sh-bottom-cta-banner {
  padding: 72px 0;
  background: linear-gradient(135deg, var(--sh-primary), #163f00);
}

.sh-writers-hero {
  padding: 72px 0 40px;
  background:
    radial-gradient(circle at top right, rgba(255,91,0,.14), transparent 28%),
    linear-gradient(135deg, #163f00 0%, var(--sh-primary) 100%);
}
.sh-writers-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: end;
}
.sh-writers-hero__eyebrow {
  color: rgba(255,255,255,.72);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 700;
}
.sh-writers-hero__heading {
  font-family: var(--sh-font-h);
  font-size: clamp(34px, 5vw, 54px);
  color: #fff;
  margin: 10px 0 14px;
  line-height: 1.08;
}
.sh-writers-hero__sub {
  color: rgba(255,255,255,.78);
  font-size: 16px;
  line-height: 1.8;
  max-width: 640px;
}
.sh-hero-stat-cluster {
  display: grid;
  gap: 14px;
}
.sh-hero-stat-cluster__item {
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
}
.sh-hero-stat-cluster__value {
  display: block;
  font-family: var(--sh-font-h);
  font-size: 28px;
  color: #fff;
}
.sh-hero-stat-cluster__label {
  color: rgba(255,255,255,.72);
  font-size: 12px;
}

.sh-availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.sh-availability-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.sh-availability-badge--available {
  background: #dff7e5;
  color: #17643c;
}
.sh-availability-badge--busy {
  background: #ffebe7;
  color: #a63f28;
}
.sh-availability-badge--sm {
  padding: 4px 10px;
  font-size: 11px;
}

.sh-writer-card__header {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px 20px 0;
}
.sh-writer-card__avatar-wrap {
  position: relative;
}
.sh-writer-card__avatar--placeholder,
.sh-writer-hero__avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--sh-primary), var(--sh-accent));
  color: #fff;
}
.sh-writer-card__identity,
.sh-writer-hero__copy {
  min-width: 0;
}
.sh-writer-card__name,
.sh-writer-card__name a {
  font-family: var(--sh-font-h);
  font-size: 22px;
  color: var(--sh-primary);
  text-decoration: none;
  margin: 0;
}
.sh-writer-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sh-writer-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}
.sh-writer-card__rating-value {
  font-weight: 700;
}

.sh-writer-hero__avatar-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
.sh-writer-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sh-writer-hero__degree {
  color: var(--sh-secondary);
  font-size: 16px;
  margin: 0;
}
.sh-writer-hero__rating,
.sh-writer-hero__orders {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 18px;
  color: var(--sh-primary);
  font-size: 14px;
  font-weight: 600;
}
.sh-writer-hero__specs,
.sh-writer-specializations__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sh-writer-stats-bar__inner {
  display: flex;
  width: 100%;
}
.sh-writer-bio {
  padding: 12px 0 0;
}
.sh-writer-bio__img {
  width: 100%;
  border-radius: 22px;
}
.sh-writer-bio__content {
  min-width: 0;
}
.sh-writer-specializations,
.sh-writer-samples {
  padding: 0 0 64px;
}
.sh-samples-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.sh-writer-cta__heading {
  font-family: var(--sh-font-h);
  font-size: clamp(28px, 4vw, 40px);
  color: #fff;
  margin: 0 0 10px;
}
.sh-writer-cta__sub {
  color: rgba(255,255,255,.78);
  margin: 0;
}
.sh-back-link-wrap {
  padding: 0 0 70px;
}
.sh-back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--sh-primary);
  text-decoration: none;
  font-weight: 700;
}
.sh-back-link:hover {
  color: var(--sh-accent);
}
.sh-writers-empty {
  text-align: center;
  padding: 42px 24px;
}
.sh-writers-empty__message,
.sh-writers-filter-notice {
  color: var(--sh-secondary);
  font-size: 14px;
}

.sh-sample-header {
  padding: 56px 0 28px;
}
.sh-sample-header__title {
  font-family: var(--sh-font-h);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.06;
  color: var(--sh-primary);
  margin: 14px 0 0;
}
.sh-sample-header__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.sh-sample-hero-image {
  padding-bottom: 16px;
}
.sh-sample-hero-image__img {
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--sh-shadow-lg);
}
.sh-sample-content {
  min-width: 0;
}
.sh-sticky-card {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 20px;
}
.sh-sticky-card__meta-label {
  display: block;
  color: var(--sh-secondary);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 8px;
}
.sh-related-list__meta {
  display: block;
  margin-top: 3px;
}
.sh-sample-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.sh-sample-card__pill {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(34,109,1,.08);
  color: var(--sh-primary);
  font-size: 11px;
  font-weight: 600;
}
.sh-sample-card__discipline {
  margin-bottom: 14px;
}
.sh-sample-card__title {
  margin: 0;
  font-family: var(--sh-font-h);
  font-size: 22px;
}

.sh-aggregate-bar {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 24px;
  background: #fff;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  box-shadow: var(--sh-shadow);
}
.sh-aggregate-bar__block {
  text-align: center;
}
.sh-aggregate-bar__divider {
  display: none;
}
.sh-aggregate-bar__value {
  display: block;
  font-family: var(--sh-font-h);
  font-size: 34px;
  color: var(--sh-primary);
}
.sh-aggregate-bar__stars {
  margin: 6px 0;
}
.sh-aggregate-bar__label {
  color: var(--sh-secondary);
  font-size: 12px;
}

.sh-reviews-hero {
  padding: 72px 0 44px;
  background:
    radial-gradient(circle at top right, rgba(255,91,0,.13), transparent 30%),
    linear-gradient(135deg, #163f00 0%, var(--sh-primary) 100%);
}
.sh-reviews-hero__heading {
  font-family: var(--sh-font-h);
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1.08;
  color: #fff;
  margin: 10px 0 0;
  max-width: 760px;
}
.sh-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.sh-review-hero {
  padding: 36px 0 18px;
}
.sh-review-hero__card {
  padding: 34px;
  border-radius: 28px;
  background: linear-gradient(180deg, #fff 0%, #f8f8f3 100%);
  border: 1.5px solid var(--sh-border);
  box-shadow: var(--sh-shadow);
}
.sh-review-hero__header {
  display: flex;
  gap: 20px;
  align-items: center;
}
.sh-reviewer-avatar,
.sh-review-card__avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sh-primary), var(--sh-accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: .06em;
}
.sh-review-card__avatar {
  width: 48px;
  height: 48px;
  font-size: 14px;
}
.sh-reviewer-info__name {
  font-family: var(--sh-font-h);
  color: var(--sh-primary);
  font-size: 34px;
  margin: 0 0 8px;
}
.sh-reviewer-info__stars,
.sh-review-card__stars {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sh-reviewer-info__rating-text {
  color: var(--sh-secondary);
  font-size: 13px;
  font-weight: 700;
}
.sh-review-pullquote {
  margin-top: 26px;
}
.sh-review-pullquote blockquote {
  margin: 0;
  font-family: var(--sh-font-h);
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.45;
  color: var(--sh-primary);
}
.sh-review-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  padding: 24px 0 64px;
}
.sh-review-body-col {
  min-height: 1px;
}
.sh-review-sidebar {
  position: sticky;
  top: 100px;
}
.sh-review-leave-cta {
  padding: 0 0 64px;
}
.sh-review-leave-cta__inner {
  padding: 28px 32px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(34,109,1,.08), rgba(255,91,0,.08));
  border: 1.5px solid var(--sh-border);
}
.sh-review-card__header-info {
  min-width: 0;
}
.sh-review-card__author {
  font-weight: 700;
  color: var(--sh-primary);
}
.sh-review-card__verified {
  margin-left: auto;
}
.sh-review-card__footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--sh-secondary);
  font-size: 12px;
}
.sh-review-card__link {
  color: var(--sh-primary);
  font-weight: 700;
  text-decoration: none;
}
.sh-review-card__link:hover {
  color: var(--sh-accent);
}

.sh-subject-hero {
  padding: 42px 0 64px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(236,236,233,.8) 0%, rgba(245,245,242,1) 100%);
}
.sh-subject-hero__image-wrap {
  position: absolute;
  inset: 0;
}
.sh-subject-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sh-subject-hero__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(22,63,0,.72), rgba(34,109,1,.56));
}
.sh-subject-hero__inner {
  position: relative;
  z-index: 1;
}
.sh-subject-hero__content {
  max-width: 720px;
}
.sh-subject-hero__title {
  font-family: var(--sh-font-h);
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.04;
  color: var(--sh-primary);
  margin: 10px 0 0;
}
.sh-subject-hero--has-image .sh-subject-hero__title,
.sh-subject-hero--has-image .sh-subject-hero__lead,
.sh-subject-hero--has-image .sh-eyebrow {
  color: #fff;
}
.sh-subject-body {
  padding: 24px 0 72px;
}
.sh-subject-body__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}
.sh-subject-body__main {
  min-width: 0;
}
.sh-subject-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sh-subject-taxonomy {
  padding: 0 0 64px;
}

.sh-subject-card-full__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}
.sh-subject-card-full__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #ecece8, #f6f6f2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sh-subject-card-full__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sh-subject-card-full__initial {
  font-family: var(--sh-font-h);
  font-size: 56px;
  color: rgba(34,109,1,.22);
}
.sh-subject-card-full__badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(34,109,1,.08);
  color: var(--sh-primary);
  font-size: 11px;
  font-weight: 700;
}
.sh-subject-card-full__title {
  font-family: var(--sh-font-h);
  color: var(--sh-primary);
  margin: 0;
}
.sh-subject-card-full__excerpt {
  color: var(--sh-secondary);
  margin: 0;
  line-height: 1.7;
}

.sh-404-hero {
  position: relative;
  padding: 48px 0 22px;
}
.sh-404-hero__backdrop {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.sh-404-hero__inner {
  position: relative;
  z-index: 1;
}
.sh-404-hero__content {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}
.sh-404-hero__heading {
  font-family: var(--sh-font-h);
  font-size: clamp(36px, 6vw, 70px);
  line-height: 1.02;
  color: var(--sh-primary);
  margin: 18px 0 18px;
}
.sh-404-hero__heading-accent {
  color: var(--sh-accent);
}
.sh-404-hero__sub {
  max-width: 620px;
  margin: 0 auto;
  color: var(--sh-secondary);
  font-size: 17px;
  line-height: 1.8;
}
.sh-404-hero__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.sh-404-quicklinks {
  padding: 36px 0 0;
}
.sh-404-quicklinks__label {
  text-align: center;
  color: var(--sh-secondary);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  font-weight: 700;
  margin: 0 0 18px;
}
.sh-404-quicklinks__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.sh-404-link-card {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  gap: 14px;
}
.sh-404-link-card__text {
  flex: 1;
}
.sh-404-link-card__title {
  display: block;
  color: var(--sh-primary);
}
.sh-404-link-card__desc {
  display: block;
  margin-top: 4px;
  color: var(--sh-secondary);
  font-size: 13px;
  font-weight: 500;
}
.sh-404-link-card__arrow {
  color: var(--sh-accent);
  font-size: 18px;
}

.sh-archive-cta__inner {
  padding: 28px 32px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(34,109,1,.08), rgba(255,91,0,.08));
  border: 1.5px solid var(--sh-border);
}
.sh-archive-cta__heading {
  color: var(--sh-primary);
}
.sh-archive-cta__sub {
  color: var(--sh-secondary);
}

@media (max-width: 1024px) {
  .sh-taxonomy-body__inner,
  .sh-subject-body__inner,
  .sh-review-layout,
  .sh-writers-hero__inner,
  .sh-page-footer-cta__inner,
  .sh-archive-cta__inner,
  .sh-bottom-cta-banner__inner,
  .sh-writer-cta__inner,
  .sh-review-leave-cta__inner {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }
  .sh-taxonomy-sidebar,
  .sh-subject-sidebar,
  .sh-review-sidebar {
    position: static;
  }
  .sh-samples-grid,
  .sh-reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sh-404-quicklinks__grid {
    grid-template-columns: 1fr;
  }
  .sh-aggregate-bar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .sh-archive-hero__inner,
  .sh-review-hero__header,
  .sh-post-card__footer,
  .sh-writer-card__footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .sh-post-grid--2col,
  .sh-samples-grid,
  .sh-reviews-grid {
    grid-template-columns: 1fr;
  }
  .sh-sidebar-cta-card,
  .sh-meta-card,
  .sh-sticky-card,
  .sh-review-hero__card {
    padding: 22px;
  }
  .sh-writer-hero__name,
  .sh-reviewer-info__name,
  .sh-sample-header__title,
  .sh-subject-hero__title {
    font-size: clamp(30px, 10vw, 42px);
  }
  .sh-pagination a,
  .sh-pagination span,
  .sh-pagination li .page-numbers {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
  }
}

.sh-breadcrumb-bar {
  padding: 18px 0 0;
}
.sh-page-hero--has-image {
  position: relative;
  padding: 0;
  background: none;
}
.sh-page-footer-cta__text,
.sh-archive-cta__copy,
.sh-writer-cta__copy,
.sh-review-leave-cta__copy,
.sh-bottom-cta-banner__text,
.sh-cta-banner__copy {
  min-width: 0;
}
.sh-page-footer-cta__actions,
.sh-bottom-cta-banner__actions,
.sh-cta-banner__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.sh-cta-banner__heading {
  font-family: var(--sh-font-h);
  font-size: 26px;
  margin: 0 0 8px;
  color: var(--sh-primary);
}
.sh-cta-banner__text {
  margin: 0;
  color: var(--sh-secondary);
}
.sh-sample-cta-banner,
.sh-related-reviews {
  padding: 0 0 72px;
}
.sh-related-reviews__header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
}
.sh-sample-card__meta-item {
  display: grid;
  gap: 2px;
}
.sh-sample-card__meta-item dt {
  color: var(--sh-secondary);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.sh-sample-card__meta-item dd {
  margin: 0;
  color: var(--sh-primary);
  font-weight: 700;
}
.sh-sticky-card__cta-block,
.sh-sticky-card__discipline,
.sh-sticky-card__download,
.sh-sticky-card__related {
  display: grid;
  gap: 10px;
}
.sh-sidebar-writer-card__avatar--initial {
  background: linear-gradient(135deg, var(--sh-primary), var(--sh-accent));
}
.sh-stat-box__value {
  display: block;
  font-family: var(--sh-font-h);
  font-size: 28px;
  color: var(--sh-primary);
  line-height: 1;
}
.sh-stat-box__label {
  display: block;
  margin-top: 8px;
  color: var(--sh-secondary);
  font-size: 12px;
}
.sh-stat-box__stars {
  display: inline-flex;
  justify-content: center;
  margin-top: 8px;
}
.sh-writer-hero__rating-value {
  font-weight: 700;
}
.sh-review-card__subject,
.sh-review-card__date {
  color: var(--sh-secondary);
}

/* ==========================================================
   Writer Profile Redesign
   ========================================================== */
.sh-writer-profile {
  padding: 28px 0 24px;
}
.sh-writer-profile__shell {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 420px);
  gap: 34px;
  padding: 34px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(255,91,0,.10), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f4f5ef 100%);
  border: 1.5px solid rgba(34,109,1,.10);
  box-shadow: 0 24px 70px rgba(20, 33, 22, .08);
}
.sh-writer-profile__content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.sh-writer-profile__title {
  font-family: var(--sh-font-h);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  color: var(--sh-primary);
  margin: 0;
}
.sh-writer-profile__degree {
  margin: 0;
  font-size: 17px;
  color: rgba(34,109,1,.78);
  font-weight: 600;
}
.sh-writer-profile__lead {
  margin: 0;
  max-width: 760px;
  font-size: 18px;
  line-height: 1.8;
  color: #58616a;
}
.sh-writer-profile__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.sh-writer-profile__metric {
  padding: 18px 18px 16px;
  border-radius: 20px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(34,109,1,.10);
}
.sh-writer-profile__metric-label {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sh-secondary);
}
.sh-writer-profile__metric-value {
  display: block;
  font-family: var(--sh-font-h);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1;
  color: var(--sh-primary);
}
.sh-writer-profile__metric-detail {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--sh-secondary);
}
.sh-writer-profile__tags,
.sh-writer-editorial__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sh-writer-profile__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}
.sh-writer-profile__portrait {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.sh-writer-profile__portrait-media {
  position: relative;
  overflow: hidden;
  min-height: 450px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.9), rgba(255,255,255,0) 38%),
    linear-gradient(160deg, #edf1ea 0%, #dde4d7 100%);
  border: 1px solid rgba(34,109,1,.12);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.sh-writer-profile__portrait-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sh-writer-profile__portrait-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sh-font-h);
  font-size: 120px;
  color: rgba(34,109,1,.24);
}
.sh-writer-profile__availability {
  position: absolute;
  top: 18px;
  left: 18px;
}
.sh-writer-profile__fact-card {
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  border: 1.5px solid rgba(34,109,1,.10);
  box-shadow: 0 18px 44px rgba(16, 24, 40, .06);
}
.sh-writer-profile__fact-eyebrow {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sh-accent);
}
.sh-writer-profile__fact-list {
  margin: 0;
}
.sh-writer-profile__fact-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(34,109,1,.08);
}
.sh-writer-profile__fact-row:last-child {
  border-bottom: 0;
}
.sh-writer-profile__fact-row dt {
  color: var(--sh-secondary);
  font-size: 13px;
}
.sh-writer-profile__fact-row dd {
  margin: 0;
  text-align: right;
  color: var(--sh-primary);
  font-size: 14px;
  font-weight: 700;
}
.sh-writer-profile__fact-note {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--sh-secondary);
}

.sh-writer-proof {
  padding: 0 0 34px;
}
.sh-writer-proof__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.sh-writer-proof__card {
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  border: 1.5px solid rgba(34,109,1,.10);
}
.sh-writer-proof__label {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sh-accent);
}
.sh-writer-proof__card p {
  margin: 0;
  color: var(--sh-secondary);
  line-height: 1.75;
}

.sh-writer-editorial {
  padding: 10px 0 72px;
}
.sh-writer-editorial__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 360px);
  gap: 28px;
  align-items: start;
}
.sh-writer-editorial__main {
  padding: 34px;
  border-radius: 28px;
  background: #fff;
  border: 1.5px solid rgba(34,109,1,.08);
}
.sh-writer-editorial__heading {
  font-family: var(--sh-font-h);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  color: var(--sh-primary);
  margin: 16px 0 18px;
}
.sh-writer-editorial__prose {
  color: #3f4750;
}
.sh-writer-editorial__sidebar {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 18px;
}
.sh-writer-editorial__card {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f8f4 100%);
  border: 1.5px solid rgba(34,109,1,.10);
}
.sh-writer-editorial__card h3 {
  font-family: var(--sh-font-h);
  font-size: 24px;
  color: var(--sh-primary);
  margin: 0 0 12px;
}
.sh-writer-editorial__card p {
  margin: 0;
  color: var(--sh-secondary);
  line-height: 1.7;
}
.sh-writer-editorial__card--accent {
  background: linear-gradient(135deg, var(--sh-primary) 0%, #163f00 100%);
  color: #fff;
  box-shadow: 0 20px 50px rgba(22, 63, 0, .22);
}
.sh-writer-editorial__card--accent h3,
.sh-writer-editorial__card--accent p {
  color: #fff;
}
.sh-writer-editorial__card-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
}
.sh-writer-editorial__card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}
.sh-writer-related {
  padding: 0 0 70px;
}
.sh-writer-related__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 22px;
}
.sh-writer-related__heading {
  margin: 10px 0 0;
  font-family: var(--sh-font-h);
  font-size: clamp(26px, 4vw, 40px);
  color: var(--sh-primary);
}
.sh-writer-page__footer {
  padding: 0 0 78px;
}
.sh-writer-page__footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 34px 36px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--sh-primary), #163f00);
}
.sh-writer-page__footer-copy h2 {
  margin: 0 0 10px;
  font-family: var(--sh-font-h);
  font-size: clamp(28px, 4vw, 42px);
  color: #fff;
}
.sh-writer-page__footer-copy p {
  margin: 0;
  max-width: 620px;
  color: rgba(255,255,255,.78);
  line-height: 1.7;
}
.sh-writer-page__footer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}

/* ==========================================================
   Subject Archive Redesign
   ========================================================== */
.sh-subject-archive-hero {
  padding: 42px 0 38px;
  background:
    radial-gradient(circle at top right, rgba(255,91,0,.14), transparent 24%),
    linear-gradient(135deg, #163f00 0%, var(--sh-primary) 100%);
}
.sh-subject-archive-hero .breadcrumbs a,
.sh-subject-archive-hero .breadcrumbs span,
.sh-subject-archive-hero .breadcrumbs li {
  color: rgba(255,255,255,.82);
}
.sh-subject-archive-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 360px);
  gap: 30px;
  align-items: end;
  margin-top: 18px;
}
.sh-subject-archive-hero__heading {
  margin: 14px 0;
  font-family: var(--sh-font-h);
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.02;
  color: #fff;
}
.sh-subject-archive-hero__lead {
  margin: 0;
  max-width: 720px;
  color: rgba(255,255,255,.82);
  font-size: 17px;
  line-height: 1.82;
}
.sh-subject-archive-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}
.sh-subject-archive-hero__stat,
.sh-subject-archive-hero__panel-card {
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
}
.sh-subject-archive-hero__stat strong {
  display: block;
  font-family: var(--sh-font-h);
  font-size: 28px;
  line-height: 1;
  color: #fff;
}
.sh-subject-archive-hero__stat span {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,.74);
  font-size: 12px;
}
.sh-subject-archive-hero__panel {
  display: grid;
  gap: 14px;
}
.sh-subject-archive-hero__panel-card span {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
}
.sh-subject-archive-hero__panel-card p {
  margin: 0;
  color: rgba(255,255,255,.76);
  line-height: 1.65;
}
.sh-subject-archive-filters {
  padding: 26px 0 6px;
}
.sh-subject-archive-filters__card {
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f8f3 100%);
  border: 1.5px solid rgba(34,109,1,.10);
  box-shadow: 0 14px 40px rgba(17, 24, 39, .06);
}
.sh-subject-archive-body {
  padding: 14px 0 76px;
}
.sh-subject-archive-body__notice {
  margin: 0 0 20px;
  color: var(--sh-secondary);
  font-size: 14px;
}
.sh-subject-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.sh-subject-teaser {
  min-width: 0;
}
.sh-subject-teaser--featured {
  grid-column: span 2;
}
.sh-subject-teaser__link {
  display: grid;
  grid-template-columns: 100%;
  height: 100%;
  text-decoration: none;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  border: 1.5px solid rgba(34,109,1,.10);
  box-shadow: 0 18px 46px rgba(16, 24, 40, .06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.sh-subject-teaser__link:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(16, 24, 40, .10);
}
.sh-subject-teaser__media {
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #e9eee7 0%, #f7f8f3 100%);
}
.sh-subject-teaser__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sh-subject-teaser__initial {
  font-family: var(--sh-font-h);
  font-size: clamp(60px, 9vw, 90px);
  color: rgba(34,109,1,.18);
}
.sh-subject-teaser__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
}
.sh-subject-teaser__topline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.sh-subject-teaser__badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(34,109,1,.08);
  color: var(--sh-primary);
  font-size: 11px;
  font-weight: 700;
}
.sh-subject-teaser__meta {
  color: var(--sh-secondary);
  font-size: 12px;
}
.sh-subject-teaser__title {
  margin: 0;
  font-family: var(--sh-font-h);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
  color: var(--sh-primary);
}
.sh-subject-teaser__excerpt {
  margin: 0;
  color: var(--sh-secondary);
  line-height: 1.76;
}
.sh-subject-teaser__cta {
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--sh-accent);
}
.sh-subject-archive-cta {
  padding: 0 0 76px;
}
.sh-subject-archive-cta__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 34px 36px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--sh-primary), #163f00);
}
.sh-subject-archive-cta__copy h2 {
  margin: 0 0 10px;
  font-family: var(--sh-font-h);
  font-size: clamp(28px, 4vw, 42px);
  color: #fff;
}
.sh-subject-archive-cta__copy p {
  margin: 0;
  max-width: 640px;
  color: rgba(255,255,255,.78);
  line-height: 1.7;
}
.sh-subject-archive-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 1100px) {
  .sh-writer-profile__shell,
  .sh-writer-editorial__grid,
  .sh-subject-archive-hero__grid,
  .sh-subject-archive-cta__inner,
  .sh-writer-page__footer-inner {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .sh-writer-profile__metrics,
  .sh-writer-proof__grid,
  .sh-subject-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sh-subject-teaser--featured {
    grid-column: span 2;
  }

  .sh-writer-editorial__sidebar {
    position: static;
  }
}

@media (max-width: 767px) {
  .sh-writer-profile__shell,
  .sh-writer-editorial__main,
  .sh-subject-archive-filters__card,
  .sh-writer-page__footer-inner,
  .sh-subject-archive-cta__inner {
    padding: 24px;
  }

  .sh-writer-profile__metrics,
  .sh-writer-proof__grid,
  .sh-subject-archive-grid {
    grid-template-columns: 1fr;
  }

  .sh-subject-teaser--featured {
    grid-column: span 1;
  }

  .sh-writer-profile__portrait-media {
    min-height: 340px;
  }

  .sh-writer-profile__actions,
  .sh-writer-page__footer-actions,
  .sh-subject-archive-cta__actions,
  .sh-writer-related__head {
    flex-direction: column;
    align-items: stretch;
  }

  .sh-writer-related__head {
    align-items: flex-start;
  }
}

/* ==========================================================
   HOMEPAGE IN-DEPTH CONTENT
   ========================================================== */
.sh-home-deep {
  background:
    radial-gradient(circle at 16% 16%, rgba(255,91,0,.08), transparent 24%),
    radial-gradient(circle at 86% 12%, rgba(34,109,1,.08), transparent 28%),
    linear-gradient(180deg, #faf9f5 0%, var(--sh-bg) 100%);
}
.sh-home-deep__head {
  margin-bottom: 44px;
}
.sh-home-deep__lead {
  max-width: 760px;
}
.sh-home-deep__grid {
  display: grid;
  grid-template-columns: minmax(280px, 330px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.sh-home-deep__sidebar {
  position: sticky;
  top: 108px;
}
.sh-home-deep__index-card {
  overflow: hidden;
  border: 1px solid rgba(34,109,1,.12);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 22px 54px rgba(27, 31, 35, .08);
}
.sh-home-deep__index-top {
  position: relative;
  padding: 30px 28px 26px;
  background: linear-gradient(160deg, #205d02 0%, #163f00 100%);
  color: #fff;
}
.sh-home-deep__icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(255,255,255,.14);
  color: #fff;
  font-size: 24px;
}
.sh-home-deep__eyebrow {
  margin: 18px 0 14px;
  font-family: var(--sh-font-h);
  font-size: 24px;
  line-height: 1.15;
  color: #fff;
}
.sh-home-deep__readtime {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 91, 0, .16);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.sh-home-deep__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-bottom: 1px solid rgba(34,109,1,.08);
  background: linear-gradient(180deg, rgba(34,109,1,.02), rgba(255,255,255,.92));
}
.sh-home-deep__stat {
  padding: 18px 14px;
  text-align: center;
  border-right: 1px solid rgba(34,109,1,.08);
}
.sh-home-deep__stat:last-child {
  border-right: none;
}
.sh-home-deep__stat strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--sh-font-h);
  font-size: 28px;
  line-height: 1;
  color: var(--sh-primary);
}
.sh-home-deep__stat span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--sh-secondary);
}
.sh-home-deep__toc-wrap {
  padding: 24px 20px 22px;
}
.sh-home-deep__toc-title {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sh-secondary);
}
.sh-home-deep__toc {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sh-home-deep__toc-link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--sh-text);
  transition: background var(--sh-transition), transform var(--sh-transition), color var(--sh-transition);
}
.sh-home-deep__toc-link:hover {
  background: rgba(34,109,1,.06);
  color: var(--sh-primary);
  transform: translateX(3px);
}
.sh-home-deep__toc-link--level-3 {
  padding-left: 24px;
  color: var(--sh-secondary);
}
.sh-home-deep__toc-link--level-4 {
  padding-left: 36px;
  color: var(--sh-secondary);
}
.sh-home-deep__toc-index {
  min-width: 28px;
  color: var(--sh-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}
.sh-home-deep__content {
  min-width: 0;
}
.sh-home-deep__article {
  padding: 36px 40px;
  border: 1px solid rgba(34,109,1,.1);
  border-radius: 32px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 26px 62px rgba(27, 31, 35, .08);
}
.sh-home-deep__prose > *:first-child {
  margin-top: 0;
}
.sh-home-deep__prose > *:last-child {
  margin-bottom: 0;
}
.sh-home-deep__prose h2,
.sh-home-deep__prose h3,
.sh-home-deep__prose h4 {
  scroll-margin-top: 120px;
}
.sh-home-deep__prose h2 {
  position: relative;
  padding-left: 18px;
  margin-top: 0;
  font-size: clamp(28px, 3vw, 38px);
}
.sh-home-deep__prose h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: .25em;
  width: 4px;
  height: 1.15em;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--sh-accent), #ff9a63);
}
.sh-home-deep__prose h3 {
  padding-top: 18px;
  margin-top: 30px;
  border-top: 1px solid rgba(34,109,1,.08);
  font-size: clamp(20px, 2vw, 28px);
}
.sh-home-deep__prose h4 {
  font-size: 20px;
}
.sh-home-deep__prose p,
.sh-home-deep__prose li {
  font-size: 17px;
  line-height: 1.84;
  color: #50606e;
}
.sh-home-deep__prose ul,
.sh-home-deep__prose ol {
  margin-bottom: 1.35em;
}
.sh-home-deep__prose blockquote {
  margin: 1.8em 0;
  padding: 18px 20px 18px 24px;
  border-left: 4px solid var(--sh-accent);
  border-radius: 0 18px 18px 0;
  background: rgba(255,91,0,.06);
  color: var(--sh-primary);
}
.sh-home-deep__prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.8em 0;
  font-size: 15px;
  line-height: 1.55;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(34,109,1,.08);
}
.sh-home-deep__prose table thead tr {
  background: var(--sh-primary);
  color: #fff;
}
.sh-home-deep__prose table thead th {
  padding: 13px 16px;
  text-align: left;
  font-family: var(--sh-font-h);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.sh-home-deep__prose table tbody tr {
  border-bottom: 1px solid var(--sh-border);
  transition: background .15s;
}
.sh-home-deep__prose table tbody tr:last-child {
  border-bottom: none;
}
.sh-home-deep__prose table tbody tr:nth-child(even) {
  background: rgba(34,109,1,.04);
}
.sh-home-deep__prose table tbody tr:hover {
  background: rgba(34,109,1,.08);
}
.sh-home-deep__prose table td {
  padding: 11px 16px;
  color: var(--sh-text);
  vertical-align: top;
}
.sh-home-deep__prose table td:first-child {
  font-weight: 600;
  color: var(--sh-primary);
  white-space: nowrap;
}
/* Responsive table scroll on small screens */
@media (max-width: 640px) {
  .sh-home-deep__prose table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ==========================================================
   HOMEPAGE ORDER STEPS
   ========================================================== */
.sh-order-steps {
  background:
    radial-gradient(circle at 82% 18%, rgba(255,91,0,.08), transparent 20%),
    linear-gradient(180deg, rgba(34,109,1,.03) 0%, rgba(255,255,255,.92) 100%);
}
.sh-order-steps__head {
  margin-bottom: 52px;
}
.sh-order-steps__lead {
  max-width: 760px;
}
.sh-order-steps__timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.sh-order-steps__line {
  position: absolute;
  left: 50%;
  top: 24px;
  bottom: 24px;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(255,91,0,.28), rgba(34,109,1,.34));
}
.sh-order-step {
  position: relative;
  display: flex;
  width: 100%;
}
.sh-order-step--left {
  justify-content: flex-start;
  padding-right: calc(50% + 26px);
}
.sh-order-step--right {
  justify-content: flex-end;
  padding-left: calc(50% + 26px);
}
.sh-order-step__card {
  position: relative;
  width: 100%;
  padding: 30px 30px 26px;
  border: 1px solid rgba(34,109,1,.12);
  border-radius: 30px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 22px 56px rgba(27, 31, 35, .08);
}
.sh-order-step__number {
  position: absolute;
  right: 22px;
  top: 14px;
  font-family: var(--sh-font-h);
  font-size: 76px;
  line-height: 1;
  color: rgba(34,109,1,.07);
  pointer-events: none;
}
.sh-order-step__icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(34,109,1,.07);
  color: var(--sh-primary);
  font-size: 25px;
  box-shadow: inset 0 0 0 1px rgba(34,109,1,.08);
}
.sh-order-step__title {
  margin: 18px 0 10px;
  font-family: var(--sh-font-h);
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.1;
  color: var(--sh-primary);
}
.sh-order-step__text {
  margin: 0 0 16px;
  color: #5a6874;
  line-height: 1.8;
}
.sh-order-step__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sh-order-step__list li {
  position: relative;
  padding-left: 24px;
  color: #52616d;
  line-height: 1.68;
}
.sh-order-step__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--sh-accent), #ff9a63);
  box-shadow: 0 0 0 4px rgba(255,91,0,.12);
}
.sh-order-step__node {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%);
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--sh-accent);
  box-shadow: 0 0 0 1px rgba(255,91,0,.35), 0 10px 26px rgba(255,91,0,.22);
}
.sh-order-steps__footer {
  margin-top: 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.sh-order-steps__footer-text {
  margin: 0;
  max-width: 760px;
  color: var(--sh-secondary);
  line-height: 1.76;
}

@media (max-width: 1100px) {
  .sh-home-deep__grid {
    grid-template-columns: 1fr;
  }

  .sh-home-deep__sidebar {
    position: static;
  }

  .sh-order-steps__line {
    left: 18px;
    transform: none;
  }

  .sh-order-step,
  .sh-order-step--left,
  .sh-order-step--right {
    justify-content: flex-start;
    padding-left: 56px;
    padding-right: 0;
  }

  .sh-order-step__node {
    left: 18px;
    top: 34px;
    transform: translate(-50%, 0);
  }
}

@media (max-width: 767px) {
  .sh-home-deep__index-top,
  .sh-home-deep__article,
  .sh-order-step__card {
    padding: 24px;
  }

  .sh-home-deep__stats {
    grid-template-columns: 1fr;
  }

  .sh-home-deep__stat {
    border-right: none;
    border-bottom: 1px solid rgba(34,109,1,.08);
  }

  .sh-home-deep__stat:last-child {
    border-bottom: none;
  }

  .sh-home-deep__prose h2 {
    font-size: 30px;
  }

  .sh-order-steps__line {
    left: 16px;
  }

  .sh-order-step,
  .sh-order-step--left,
  .sh-order-step--right {
    padding-left: 42px;
  }

  .sh-order-step__node {
    left: 16px;
  }

  .sh-order-step__number {
    font-size: 56px;
  }

  .sh-order-step__title {
    font-size: 28px;
  }
}
