/*
Theme Name: GetReadyGetHealthy
Theme URI: https://getreadygethealthy.com
Author: GetReadyGetHealthy
Description: Custom multi-author weight loss theme for GetReadyGetHealthy.com
Version: 1.0.0
Text Domain: getreadygethealthy
*/

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

:root {
  /* Color palette — fresh & energetic */
  --primary:        #2d8a5f;
  --primary-dark:   #1c5a3e;
  --primary-light:  #d4ede0;
  --primary-pale:   #ecf6f0;

  --accent:         #f97316;
  --accent-dark:    #c2410c;
  --accent-light:   #ffe4d2;

  --warm-white:     #fdfcfa;
  --bg:             #ffffff;
  --gray-50:        #f4f5f6;
  --gray-100:       #e9ebee;
  --gray-200:       #dde0e5;
  --gray-300:       #cbd0d8;
  --gray-400:       #9ca3af;
  --gray-500:       #6b7280;
  --gray-700:       #374151;
  --text:           #1a1f2c;
  --text-light:     #4a5260;

  --container-max:  1180px;
  --gap-sm:         12px;
  --gap-md:         24px;
  --gap-lg:         48px;
  --gap-xl:         80px;

  --radius-sm:      6px;
  --radius:         12px;
  --radius-lg:      20px;
  --shadow-sm:      0 1px 3px rgba(28,90,62,0.08);
  --shadow-md:      0 4px 16px rgba(28,90,62,0.10);
  --shadow-lg:      0 12px 40px rgba(28,90,62,0.14);

  --font-display:   'Fraunces', Georgia, serif;
  --font-body:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

html { font-size: 17px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--warm-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color 0.18s ease; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: none; background: none; }

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

/* Author color tokens (used for avatars site-wide) */
.author-lauren { background: linear-gradient(135deg, #fdba74 0%, #f97316 50%, #ea580c 100%); }
.author-jake { background: linear-gradient(135deg, #86efac 0%, #2d8a5f 50%, #1c5a3e 100%); }
.author-tom { background: linear-gradient(135deg, #a5b4fc 0%, #6366f1 50%, #4338ca 100%); }
.author-default { background: linear-gradient(135deg, var(--gray-300) 0%, var(--gray-500) 100%); }

/* Image placeholder gradients (for posts without featured images) */
.img-ph { display: block; width: 100%; height: 100%; position: relative; }
.img-ph-1 { background: linear-gradient(135deg, #fda4af 0%, #f43f5e 100%); }
.img-ph-2 { background: linear-gradient(135deg, #86efac 0%, #16a34a 100%); }
.img-ph-3 { background: linear-gradient(135deg, #fcd34d 0%, #d97706 100%); }
.img-ph-4 { background: linear-gradient(135deg, #c4b5fd 0%, #7c3aed 100%); }
.img-ph-5 { background: linear-gradient(135deg, #67e8f9 0%, #0891b2 100%); }
.img-ph-6 { background: linear-gradient(135deg, #fdba74 0%, #ea580c 100%); }
.img-ph-7 { background: linear-gradient(135deg, #6ee7b7 0%, #047857 100%); }
.img-ph-8 { background: linear-gradient(135deg, #93c5fd 0%, #1d4ed8 100%); }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--gray-100);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-top {
  border-bottom: 1px solid var(--gray-50);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--container-max);
  margin: 0 auto;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-pale);
  border: 1.5px solid var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--primary-dark);
  letter-spacing: -0.5px;
}
.brand-tag {
  font-size: 11px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 500;
  margin-top: 2px;
}

/* Main nav row (sits below brand/search row) */
.main-nav-wrap {
  background: var(--bg);
}
.main-nav-wrap .container {
  display: flex;
  justify-content: center;
}
.main-nav,
ul.main-nav {
  display: flex;
  gap: 36px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.main-nav::-webkit-scrollbar { display: none; }
.main-nav li {
  flex-shrink: 0;
  list-style: none;
}
.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  display: block;
  padding: 16px 0;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.18s ease;
}
.main-nav a:hover,
.main-nav .current-menu-item a,
.main-nav .current_page_item a,
.main-nav .current-menu-ancestor a,
.main-nav a.current {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.search-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-700);
  transition: all 0.18s ease;
  border: none;
}
.search-btn:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

/* Header search form (expanded mode) */
.header-search-form {
  display: flex;
  align-items: center;
  background: var(--gray-50);
  border-radius: 100px;
  padding: 4px 8px 4px 16px;
  border: 1px solid var(--gray-100);
}
.header-search-form input {
  border: none;
  background: transparent;
  font-size: 14px;
  outline: none;
  width: 180px;
  color: var(--text);
}
.header-search-form button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* ============================================
   HERO (front page)
   ============================================ */
.hero {
  padding: 56px 0 32px;
  background: linear-gradient(180deg, var(--primary-pale) 0%, var(--warm-white) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-content {
  padding-right: 16px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: white;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  text-decoration: none;
}
.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1.12;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 18px;
  letter-spacing: -0.8px;
}
.hero-title a { color: inherit; }
.hero-title a:hover { color: var(--primary-dark); }

.hero-excerpt {
  font-size: 17px;
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.6;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.author-chip {
  display: flex;
  align-items: center;
  gap: 10px;
}
.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: white;
  letter-spacing: -0.3px;
}
.author-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.author-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.author-role {
  font-size: 11.5px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 500;
}

.hero-meta-divider {
  width: 4px;
  height: 4px;
  background: var(--gray-400);
  border-radius: 50%;
}
.hero-time {
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 500;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  background: var(--accent);
  color: white;
  font-weight: 600;
  font-size: 14.5px;
  border-radius: 100px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(249,115,22,0.25);
  border: none;
}
.btn:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(249,115,22,0.35);
  color: white;
}
.btn-arrow {
  font-size: 18px;
  transition: transform 0.2s ease;
}
.btn:hover .btn-arrow { transform: translateX(3px); }

.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #b8d4c4 0%, #2d8a5f 50%, #1c5a3e 100%);
  box-shadow: var(--shadow-lg);
}
.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-image-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

/* ============================================
   QUICK WIN OF THE WEEK
   ============================================ */
.quick-win { padding: 32px 0 56px; }
.quick-win-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  color: white;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.quick-win-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(249,115,22,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.quick-win-icon {
  width: 72px;
  height: 72px;
  background: rgba(255,255,255,0.15);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  position: relative;
  z-index: 1;
}
.quick-win-content { position: relative; z-index: 1; }
.quick-win-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.quick-win-eyebrow::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.2);
  max-width: 60px;
}
.quick-win-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 6px;
  letter-spacing: -0.4px;
  color: white;
}
.quick-win-byline {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}
.quick-win-cta { position: relative; z-index: 1; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1.5px solid rgba(255,255,255,0.4);
  color: white;
  font-size: 14px;
  font-weight: 500;
  border-radius: 100px;
  transition: all 0.2s ease;
  background: none;
  cursor: pointer;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7);
  color: white;
}

/* ============================================
   SECTION HEADER (used in latest, browse, etc.)
   ============================================ */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gray-100);
}
.section-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-title::before {
  content: '';
  width: 5px;
  height: 28px;
  background: var(--primary);
  border-radius: 3px;
}
.section-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 4px;
}
.section-link:hover { color: var(--accent); }

/* ============================================
   POST CARDS (used in latest grid + archives)
   ============================================ */
.latest-section { padding: 32px 0 64px; }

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.post-card {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  border: 1px solid var(--gray-100);
}
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.post-card-image {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
}
.post-card-image img,
.post-card-image .img-ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-category-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  text-decoration: none;
  z-index: 2;
}
.post-card-body {
  padding: 22px 24px 24px;
}
.post-card-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.post-card-title a { color: inherit; }
.post-card:hover .post-card-title a { color: var(--primary-dark); }

.post-card-excerpt {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}
.post-card-author {
  display: flex;
  align-items: center;
  gap: 8px;
}
.author-avatar-sm {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 11px;
  color: white;
}
.post-card-author-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.post-card-date {
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 500;
}

/* ============================================
   MEET THE WRITERS
   ============================================ */
.writers-section {
  padding: 64px 0;
  background: var(--primary-pale);
  border-top: 1px solid var(--primary-light);
  border-bottom: 1px solid var(--primary-light);
}
.writers-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.writers-eyebrow {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin-bottom: 12px;
}
.writers-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -0.6px;
  line-height: 1.15;
}
.writers-subtitle {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.6;
}
.writers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.writer-card {
  background: var(--bg);
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--primary-light);
  transition: all 0.25s ease;
}
.writer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.writer-avatar-lg {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 32px;
  color: white;
  margin: 0 auto 18px;
  letter-spacing: -1px;
  box-shadow: var(--shadow-md);
}
.writer-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.writer-lane {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.writer-bio {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
}
.writer-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 2px;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.18s ease;
}
.writer-link:hover { border-color: var(--primary); }

/* ============================================
   BROWSE BY CATEGORY
   ============================================ */
.categories-section { padding: 64px 0; }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.category-card {
  padding: 28px 26px 26px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--gray-100);
  transition: all 0.22s ease;
  text-align: left;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  min-height: 168px;
}
.category-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.22s ease;
}
.category-card:hover::before {
  opacity: 1;
}
.category-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
  line-height: 1.25;
}
.category-card:hover .category-name {
  color: var(--primary-dark);
}
.category-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.55;
  margin-bottom: auto;
  padding-bottom: 14px;
}
.category-count {
  font-size: 11px;
  color: var(--gray-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  padding-top: 12px;
  border-top: 1px solid var(--gray-100);
}
.category-card:hover .category-count {
  color: var(--primary);
  border-top-color: var(--primary-light);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--text);
  color: var(--gray-200);
  padding: 64px 0 32px;
  margin-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 48px;
}
.footer-brand { max-width: 320px; }
.footer-brand .brand-name { color: white; }
.footer-brand-desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--gray-400);
  margin-top: 16px;
}
.footer-disclaimer {
  max-width: 640px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--gray-500);
  margin-top: 16px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 15px;
  color: white;
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 13.5px;
  color: var(--gray-400);
  transition: color 0.18s ease;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--gray-500);
}

/* ============================================
   SINGLE POST
   ============================================ */
.single-hero {
  background: linear-gradient(180deg, var(--primary-pale) 0%, var(--warm-white) 100%);
  padding: 64px 0 40px;
}
.single-hero-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.single-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.single-category-badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
}
.single-category-badge:hover { background: var(--primary-dark); color: white; }
.single-meta-divider {
  width: 4px;
  height: 4px;
  background: var(--gray-400);
  border-radius: 50%;
}
.single-read-time {
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.single-title {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.single-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}
.single-byline-text {
  font-size: 14px;
  color: var(--text-light);
}
.single-byline-text strong { color: var(--text); font-weight: 600; }

.single-feat-img-wrap {
  padding: 32px 0 0;
}
.single-feat-img {
  width: 100%;
}
.single-feat-img img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}

.single-content-wrap {
  padding: 48px 0 64px;
}
.single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: start;
}
.single-article {
  min-width: 0;
}
.entry-content {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text);
}
.entry-content > * + * {
  margin-top: 1.4em;
}
.entry-content h2 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-top: 2em;
  margin-bottom: 0.5em;
  scroll-margin-top: 100px;
}
.entry-content h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
  line-height: 1.3;
  margin-top: 1.8em;
  margin-bottom: 0.5em;
}
.entry-content h4 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-top: 1.6em;
  margin-bottom: 0.4em;
}
.entry-content p { margin-bottom: 0; }
.entry-content a {
  color: var(--primary-dark);
  text-decoration: underline;
  text-decoration-color: var(--primary-light);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  font-weight: 500;
}
.entry-content a:hover {
  color: var(--accent-dark);
  text-decoration-color: var(--accent);
}
.entry-content ul,
.entry-content ol {
  padding-left: 1.5em;
}
.entry-content ul li,
.entry-content ol li {
  margin-bottom: 0.6em;
}
.entry-content ul li::marker { color: var(--primary); }
.entry-content ol li::marker { color: var(--primary); font-weight: 700; }
.entry-content blockquote {
  border-left: 4px solid var(--primary);
  background: var(--primary-pale);
  padding: 24px 28px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text);
  margin: 1.6em 0;
}
.entry-content blockquote p { margin-bottom: 0.5em; }
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content img {
  border-radius: var(--radius);
  margin: 1.6em auto;
  box-shadow: var(--shadow-sm);
}
.entry-content code {
  background: var(--gray-50);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--primary-dark);
}

/* Author bio box */
.author-bio-box {
  margin-top: 56px;
  padding: 32px;
  background: var(--primary-pale);
  border-radius: var(--radius-lg);
  border: 1px solid var(--primary-light);
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
.author-bio-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 26px;
  color: white;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.author-bio-content { flex: 1; }
.author-bio-eyebrow {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.author-bio-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.author-bio-text {
  font-size: 14.5px;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 12px;
}
.author-bio-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Related posts (full container width section) */
.related-posts-section {
  padding: 32px 0 64px;
  border-top: 1px solid var(--gray-100);
  margin-top: 32px;
}

/* ============================================
   SIDEBAR + WIDGETS
   ============================================ */
.sidebar {
  position: sticky;
  top: 132px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.widget {
  background: var(--bg);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
}

.widget-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: -0.2px;
}
.widget-title::before {
  content: '';
  width: 4px;
  height: 18px;
  background: var(--primary);
  border-radius: 2px;
}

/* Quick Win widget — special styling, gradient background */
.widget-quick-win {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border: none;
  padding: 0;
  overflow: hidden;
  position: relative;
}
.widget-quick-win::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(249,115,22,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.widget-quick-win-inner {
  padding: 24px 22px;
  position: relative;
  z-index: 1;
}
.widget-quick-win-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 14px;
}
.widget-quick-win-icon {
  font-size: 36px;
  margin-bottom: 12px;
  line-height: 1;
}
.widget-quick-win-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}
.widget-quick-win-byline {
  font-size: 12px;
  color: rgba(255,255,255,0.78);
  font-weight: 500;
}

/* Post list widget (popular + recent) */
.widget-post-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.widget-post-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-50);
  transition: all 0.18s ease;
}
.widget-post-item:last-child { border-bottom: none; padding-bottom: 0; }
.widget-post-item:first-child { padding-top: 0; }
.widget-post-item:hover .widget-post-title { color: var(--primary-dark); }
.widget-post-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  flex-shrink: 0;
  width: 32px;
}
.widget-post-info {
  flex: 1;
  min-width: 0;
}
.widget-post-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 6px;
  transition: color 0.18s ease;
}
.widget-post-meta {
  font-size: 11.5px;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 7px;
}
.author-avatar-xs {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 8px;
  color: white;
  flex-shrink: 0;
}

/* Category list widget */
.widget-cat-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.widget-cat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.18s ease;
}
.widget-cat-item:hover {
  background: var(--primary-pale);
}
.widget-cat-name {
  flex: 1;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}
.widget-cat-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-500);
  background: var(--gray-50);
  padding: 3px 9px;
  border-radius: 100px;
  flex-shrink: 0;
}
.widget-cat-item:hover .widget-cat-count {
  background: var(--primary-light);
  color: var(--primary-dark);
}

/* Post tags */
.post-tags {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.post-tags-label {
  font-size: 12px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
}
.post-tag {
  display: inline-block;
  padding: 6px 12px;
  background: var(--gray-50);
  color: var(--text);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.18s ease;
}
.post-tag:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

/* ============================================
   ARCHIVE / CATEGORY / SEARCH HEADERS
   ============================================ */
.archive-header {
  background: linear-gradient(180deg, var(--primary-pale) 0%, var(--warm-white) 100%);
  padding: 56px 0 40px;
  text-align: center;
}
.archive-eyebrow {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin-bottom: 12px;
}
.archive-title {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}
.archive-desc {
  font-size: 16px;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}
.archive-content { padding: 48px 0 64px; }

.no-posts {
  text-align: center;
  padding: 80px 24px;
}
.no-posts h2 {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--text);
  margin-bottom: 12px;
}
.no-posts p {
  color: var(--text-light);
  font-size: 16px;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 100px;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--gray-100);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.18s ease;
  text-decoration: none;
}
.pagination .page-numbers:hover {
  background: var(--primary-pale);
  border-color: var(--primary);
  color: var(--primary-dark);
}
.pagination .page-numbers.current {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.pagination .dots:hover {
  background: var(--bg);
  border-color: var(--gray-100);
  color: var(--text);
}

/* ============================================
   PAGE TEMPLATE
   ============================================ */
.page-content-wrap {
  padding: 64px 0 64px;
}
.page-layout {
  max-width: 760px;
  margin: 0 auto;
}
.page-title {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.8px;
  margin-bottom: 32px;
  text-align: center;
}

/* ============================================
   404 PAGE
   ============================================ */
.error-404 {
  padding: 96px 24px;
  text-align: center;
}
.error-404-emoji { font-size: 80px; margin-bottom: 24px; }
.error-404-title {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.error-404-text {
  font-size: 17px;
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.error-404-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  background: var(--bg);
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 14.5px;
  border-radius: 100px;
  border: 1.5px solid var(--primary);
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-secondary:hover {
  background: var(--primary-pale);
  color: var(--primary-dark);
}

/* ============================================
   SEARCH FORM (standalone)
   ============================================ */
.search-form {
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1.5px solid var(--gray-100);
  border-radius: 100px;
  padding: 4px 4px 4px 20px;
  max-width: 480px;
  margin: 0 auto 32px;
  transition: border-color 0.2s ease;
}
.search-form:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-pale);
}
.search-form input {
  border: none;
  background: transparent;
  font-size: 15px;
  outline: none;
  flex: 1;
  color: var(--text);
}
.search-form button {
  padding: 10px 22px;
  background: var(--primary);
  color: white;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}
.search-form button:hover { background: var(--primary-dark); }

/* ============================================
   COMMENTS
   ============================================ */
.comments-area {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--gray-100);
}
.comments-title {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 24px;
  color: var(--text);
}
.comment-list {
  list-style: none;
  margin-bottom: 32px;
}
.comment-list li { margin-bottom: 24px; }
.comment-body {
  padding: 20px;
  background: var(--gray-50);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
}
.comment-author {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.comment-content { color: var(--text-light); font-size: 14.5px; line-height: 1.6; }
.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  margin-bottom: 12px;
}
.comment-form textarea { min-height: 120px; resize: vertical; }
.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.comment-form .submit {
  background: var(--primary);
  color: white;
  padding: 12px 28px;
  border-radius: 100px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-size: 14px;
}
.comment-form .submit:hover { background: var(--primary-dark); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  .main-nav-wrap { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-content { padding-right: 0; }
  .hero-title { font-size: 34px; }
  .quick-win-card { grid-template-columns: 1fr; text-align: center; padding: 32px 24px; }
  .quick-win-icon { margin: 0 auto; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .writers-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .single-title { font-size: 36px; }
  .archive-title { font-size: 34px; }
  .single-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .sidebar {
    position: static;
    top: auto;
  }
}

@media (max-width: 600px) {
  html { font-size: 16px; }
  .hero-title { font-size: 28px; }
  .posts-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .section-title { font-size: 22px; }
  .writers-title { font-size: 28px; }
  .single-title { font-size: 28px; }
  .single-hero { padding: 40px 0 24px; }
  .author-bio-box { flex-direction: column; text-align: center; }
  .author-bio-avatar { margin: 0 auto; }
}
