/*
 * Theme: Evergreen Folio
 * Visual DNA: Gardening template adaptation for editorial portal
 * Palette: Deep forest greens, soft sage, warm earth accents
 * Typography: Geometric sans (headings), humanist sans (body)
 * Layout: Full-width alternating sections, overlapping cards, parallax-feel blocks
 */

/* ===== VARIABLES ===== */
:root {
  --primary: #2D7A3A;
  --primary-light: #3A9E4A;
  --primary-dark: #0F4229;
  --secondary: #4A5568;
  --accent: #C8E6C9;
  --light: #EDF7EE;
  --lighter: #F7FBF7;
  --dark: #0B2E1B;
  --dark-overlay: rgba(11, 46, 27, 0.72);
  --text: #2D3748;
  --text-muted: #6B7280;
  --white: #FFFFFF;
  --border: #D4E8D5;
  --shadow-sm: 0 2px 8px rgba(15, 66, 41, 0.06);
  --shadow-md: 0 4px 24px rgba(15, 66, 41, 0.10);
  --shadow-lg: 0 8px 40px rgba(15, 66, 41, 0.14);
  --radius: 6px;
  --radius-lg: 12px;
  --font-heading: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

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

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

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

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

/* ===== UTILITIES ===== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

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

/* ===== SKIP NAV ===== */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 0 0 var(--radius) var(--radius);
  z-index: 10000;
  font-weight: 600;
}

.skip-nav:focus {
  top: 0;
  color: var(--white);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--white);
  color: var(--primary-dark);
  border-color: var(--white);
}

.btn-light:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-arrow::after {
  content: "→";
  display: inline-block;
  transition: transform var(--transition);
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* ===== HEADER / TOPBAR ===== */
.topbar {
  background: var(--dark);
  color: var(--accent);
  font-size: 13px;
  padding: 8px 0;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar a {
  color: var(--accent);
}

.topbar a:hover {
  color: var(--white);
}

/* ===== NAVBAR ===== */
.navbar {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-dark);
  text-decoration: none;
}

.navbar-brand:hover {
  color: var(--primary);
}

.navbar-brand img {
  height: 36px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0;
  align-items: center;
}

.nav-menu a {
  display: block;
  padding: 24px 18px;
  color: var(--secondary);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 16px;
  left: 18px;
  right: 18px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  transform: scaleX(1);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--dark);
  transition: var(--transition);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    background: var(--white);
    padding: 80px 0 30px;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition);
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-menu a {
    padding: 14px 28px;
    border-bottom: 1px solid var(--border);
  }

  .nav-menu a::after {
    display: none;
  }

  .mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 998;
    display: none;
  }

  .mobile-overlay.show {
    display: block;
  }

  .topbar {
    display: none;
  }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: var(--dark);
  overflow: hidden;
  padding: 100px 0 120px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(45, 122, 58, 0.3), transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(200, 230, 201, 0.08), transparent 50%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 560px;
}

.hero-label {
  display: inline-block;
  background: rgba(45, 122, 58, 0.2);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 20px;
  border: 1px solid rgba(200, 230, 201, 0.15);
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(200, 230, 201, 0.8);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-subtitle p {
  margin: 0;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.hero-visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 420px;
}

.hero-stat {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(200, 230, 201, 0.12);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  backdrop-filter: blur(4px);
  transition: var(--transition);
}

.hero-stat:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}

.hero-stat:first-child {
  grid-column: 1 / -1;
  background: rgba(45, 122, 58, 0.2);
  border-color: rgba(45, 122, 58, 0.3);
}

.hero-stat .stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat .stat-label {
  font-size: 13px;
  color: rgba(200, 230, 201, 0.6);
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 0 80px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    justify-content: center;
  }

  .hero-visual-grid {
    max-width: 100%;
  }
}

/* ===== OVERLAPPING FEATURE STRIP ===== */
.feature-strip {
  position: relative;
  z-index: 10;
  margin-top: -56px;
  padding: 0 0 60px;
}

.feature-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.feature-strip-item {
  padding: 32px 28px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border-right: 1px solid var(--border);
  transition: var(--transition);
}

.feature-strip-item:last-child {
  border-right: none;
}

.feature-strip-item:hover {
  background: var(--lighter);
}

.feature-strip-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-strip-icon svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
}

.feature-strip-item h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.feature-strip-item p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .feature-strip-inner {
    grid-template-columns: 1fr;
  }

  .feature-strip-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .feature-strip-item:last-child {
    border-bottom: none;
  }

  .feature-strip {
    margin-top: -40px;
  }
}

/* ===== SECTION SHARED ===== */
.section {
  padding: 80px 0;
}

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

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-light {
  background: var(--lighter);
}

.section-green {
  background: var(--light);
}

.section-header {
  margin-bottom: 48px;
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  position: relative;
  padding-left: 36px;
}

.section-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  height: 2px;
  background: var(--primary);
}

.section-dark .section-label {
  color: var(--accent);
}

.section-dark .section-label::before {
  background: var(--accent);
}

.section-header h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  max-width: 560px;
}

.section-header p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 520px;
  margin-top: 12px;
}

/* ===== LATEST POSTS (FEATURED) ===== */
.posts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.post-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}

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

.post-card-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}

.post-card-featured .post-card-img {
  height: 100%;
  min-height: 340px;
}

.post-card-img {
  position: relative;
  overflow: hidden;
  height: 220px;
  background: var(--light);
}

.post-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.post-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card-featured .post-card-body {
  padding: 36px;
  justify-content: center;
}

.post-card-date {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 500;
}

.post-card-title {
  font-size: 20px;
  margin-bottom: 12px;
  line-height: 1.35;
}

.post-card-title a {
  color: var(--dark);
  text-decoration: none;
}

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

.post-card-featured .post-card-title {
  font-size: 26px;
}

.post-card-excerpt {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.post-card-excerpt p {
  margin: 0;
}

.post-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-top: 16px;
}

.post-card-link:hover {
  gap: 10px;
  color: var(--primary-dark);
}

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

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

  .post-card-featured .post-card-img {
    min-height: 200px;
  }
}

/* ===== TOPICS (Editorial Categories) ===== */
.topics-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.topic-item {
  padding: 40px 36px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.topic-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 0;
  background: var(--primary);
  transition: height var(--transition);
}

.topic-item:hover::before {
  height: 100%;
}

.topic-item:hover {
  background: var(--lighter);
}

.topic-item:nth-child(2n) {
  border-right: none;
}

.topic-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.topic-item h3::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.topic-item .topic-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  padding-left: 20px;
}

.topic-item .topic-desc p {
  margin: 0;
}

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

  .topic-item {
    border-right: none;
    padding: 28px 20px;
  }
}

/* ===== PARALLAX CTA SECTION ===== */
.cta-banner {
  position: relative;
  background: var(--dark);
  padding: 80px 0;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(45, 122, 58, 0.35), transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(200, 230, 201, 0.06), transparent 50%);
}

.cta-banner-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(24px, 3vw, 34px);
  max-width: 520px;
}

.cta-banner p {
  color: rgba(200, 230, 201, 0.7);
  margin-top: 10px;
  font-size: 16px;
}

@media (max-width: 768px) {
  .cta-banner-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 780px;
}

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

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  line-height: 1.4;
  gap: 16px;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 2px;
}

.faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.faq-icon svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
  transition: transform var(--transition);
}

.faq-item.open .faq-icon {
  background: var(--primary);
}

.faq-item.open .faq-icon svg {
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer-inner {
  padding: 0 0 22px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-answer-inner p {
  margin: 0;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

/* ===== FAQ LAYOUT ===== */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}

.faq-sidebar {
  position: sticky;
  top: 100px;
}

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

/* ===== BLOG INDEX ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  color: var(--secondary);
  transition: var(--transition);
}

.pagination a:hover {
  background: var(--light);
  border-color: var(--primary);
  color: var(--primary);
}

.pagination a.active,
.pagination span.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.pagination .pagination-arrow {
  font-weight: 600;
  color: var(--primary);
  border-color: var(--primary);
}

.pagination .pagination-arrow:hover {
  background: var(--primary);
  color: var(--white);
}

/* ===== POST PAGE ===== */
.post-header {
  padding: 60px 0 40px;
  background: var(--lighter);
  border-bottom: 1px solid var(--border);
}

.post-header-inner {
  max-width: 740px;
}

.post-meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 500;
}

.post-header h1 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 16px;
}

.post-header .post-excerpt {
  font-size: 18px;
  color: var(--secondary);
  line-height: 1.7;
}

.post-header .post-excerpt p {
  margin: 0;
}

.post-cover {
  margin-top: -1px;
}

.post-cover img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.post-content {
  max-width: 740px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

.post-content h2 {
  font-size: 26px;
  margin: 40px 0 16px;
}

.post-content h3 {
  font-size: 21px;
  margin: 32px 0 12px;
}

.post-content p {
  margin-bottom: 18px;
  font-size: 17px;
  line-height: 1.8;
}

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

.post-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.post-content img {
  border-radius: var(--radius);
  margin: 24px 0;
}

.post-content blockquote {
  border-left: 3px solid var(--primary);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--lighter);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 17px;
  color: var(--secondary);
}

/* ===== STATIC PAGE ===== */
.page-header-section {
  padding: 60px 0 40px;
  background: var(--lighter);
  border-bottom: 1px solid var(--border);
}

.page-header-section h1 {
  font-size: clamp(28px, 4vw, 42px);
}

.page-content {
  max-width: 740px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

.page-content h2 {
  font-size: 26px;
  margin: 40px 0 16px;
}

.page-content h3 {
  font-size: 21px;
  margin: 32px 0 12px;
}

.page-content p {
  margin-bottom: 18px;
  font-size: 17px;
  line-height: 1.8;
}

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

.page-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.page-content img {
  border-radius: var(--radius);
  margin: 24px 0;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: rgba(200, 230, 201, 0.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(200, 230, 201, 0.1);
}

.footer h4 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}

.footer-brand a {
  color: var(--white);
  text-decoration: none;
}

.footer-about {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-email a {
  color: var(--accent);
  font-weight: 500;
}

.footer-email a:hover {
  color: var(--white);
}

.footer-nav-list {
  list-style: none;
}

.footer-nav-list li {
  margin-bottom: 10px;
}

.footer-nav-list a {
  color: rgba(200, 230, 201, 0.7);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-nav-list a::before {
  content: "›";
  font-size: 16px;
  color: var(--primary-light);
}

.footer-nav-list a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(200, 230, 201, 0.4);
}

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

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

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  z-index: 999;
  transition: var(--transition);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

.back-to-top.visible {
  display: flex;
}

/* ===== FOCUS STYLES ===== */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ===== BLOG HEADER ===== */
.blog-header {
  padding: 60px 0 40px;
  background: var(--lighter);
  border-bottom: 1px solid var(--border);
}

.blog-header h1 {
  font-size: clamp(28px, 4vw, 38px);
}

/* ===== NO-COVER PLACEHOLDER ===== */
.post-card-img.no-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--light), var(--accent));
}

.post-card-img.no-cover svg {
  width: 48px;
  height: 48px;
  color: var(--primary);
  opacity: 0.4;
}

/* ===== ANIMATION HELPERS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  opacity: 0;
  transform: translateY(24px);
}

.animate-in.visible {
  animation: fadeInUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
