/* ═══════════════════════════════════════════
   KnowThePepper — Section Navigation
   Option A: Grouped card
   Option C: Sticky bar (below site header)
   Section heading styles
   ═══════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --ktp-header-h: 56px;
  --ktp-sticky-h: 48px;
  --ktp-red: #b91c1c;
  --ktp-red-light: #fef2f2;
  --ktp-dark: #1e293b;
  --ktp-gray: #78716c;
  --ktp-gray-light: #a8a29e;
  --ktp-border: #e8e5e0;
  --ktp-bg: #faf9f7;
  --ktp-card-bg: #fff;
  --ktp-font-display: 'Playfair Display', serif;
  --ktp-font-body: 'Source Sans 3', sans-serif;
}

/* ── Tier color overrides (set via data-tier on wrapper) ── */
[data-tier="super-hot"]  { --tier-color: #991b1b; --tier-bg: #fef2f2; }
[data-tier="extra-hot"]  { --tier-color: #c2410c; --tier-bg: #fff7ed; }
[data-tier="hot"]        { --tier-color: #ea580c; --tier-bg: #fff7ed; }
[data-tier="medium"]     { --tier-color: #ca8a04; --tier-bg: #fefce8; }
[data-tier="mild"]       { --tier-color: #16a34a; --tier-bg: #f0fdf4; }


/* ═══════════════════════════════════════════
   OPTION A: Grouped Navigation Card
   ═══════════════════════════════════════════ */

.pepper-nav-card {
  margin-top: 24px;
  background: var(--ktp-card-bg);
  border: 1px solid var(--ktp-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

/* Header bar */
.pepper-nav-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  border-bottom: 1px solid #f0ede8;
  background: #fafaf8;
}

.pepper-nav-card__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ktp-font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--ktp-gray-light);
}

.pepper-nav-card__title svg {
  flex-shrink: 0;
}

.pepper-nav-card__toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 11px;
  color: var(--ktp-gray-light);
  font-family: var(--ktp-font-body);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: 4px;
  transition: color 0.15s;
}

.pepper-nav-card__toggle:hover {
  color: var(--ktp-gray);
}

.pepper-nav-card__toggle-arrow {
  transition: transform 0.2s;
  font-size: 10px;
  display: inline-block;
}

.pepper-nav-card--collapsed .pepper-nav-card__toggle-arrow {
  transform: rotate(0deg);
}

.pepper-nav-card--expanded .pepper-nav-card__toggle-arrow {
  transform: rotate(180deg);
}

/* 4-column grid (expanded state) */
.pepper-nav-card__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 12px 0;
}

@media (max-width: 640px) {
  .pepper-nav-card__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pepper-nav-card__col {
  padding: 16px 18px 18px;
  border-right: 1px solid #f0ede8;
}

.pepper-nav-card__col:last-child {
  border-right: none;
}

@media (max-width: 640px) {
  .pepper-nav-card__col:nth-child(2) { border-right: none; }
  .pepper-nav-card__col:nth-child(3),
  .pepper-nav-card__col:nth-child(4) { border-top: 1px solid #f0ede8; }
}

/* Group header */
.pepper-nav-card__group-title {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.pepper-nav-card__group-icon {
  font-size: 13px;
  line-height: 1;
}

.pepper-nav-card__group-label {
  font-family: var(--ktp-font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--ktp-dark);
  letter-spacing: 0.2px;
}

/* Section links */
.pepper-nav-card__links {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.pepper-nav-card__link {
  font-family: var(--ktp-font-body);
  font-size: 13px;
  font-weight: 400;
  color: #57534e;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 7px;
  background: transparent;
  transition: all 0.15s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.3;
}

.pepper-nav-card__link:hover {
  background: #f5f5f0;
  color: var(--ktp-dark);
}

.pepper-nav-card__link--active {
  font-weight: 600;
  color: var(--tier-color);
  background: var(--tier-bg);
}

.pepper-nav-card__link--active:hover {
  background: var(--tier-bg);
  color: var(--tier-color);
}

/* Active dot */
.pepper-nav-card__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--tier-color);
  flex-shrink: 0;
  display: none;
}

.pepper-nav-card__link--active .pepper-nav-card__dot {
  display: block;
}

/* Collapsed state: inline pills */
.pepper-nav-card__pills {
  padding: 10px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pepper-nav-card__pill {
  font-family: var(--ktp-font-body);
  font-size: 12px;
  font-weight: 400;
  color: var(--ktp-gray);
  background: #f5f5f0;
  border: 1px solid #e7e5e4;
  border-radius: 6px;
  padding: 3px 10px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
}

.pepper-nav-card__pill:hover {
  border-color: var(--ktp-border);
  color: var(--ktp-dark);
}

.pepper-nav-card__pill--active {
  font-weight: 600;
  color: var(--tier-color);
  background: var(--tier-bg);
  border-color: color-mix(in srgb, var(--tier-color) 20%, transparent);
}


/* ═══════════════════════════════════════════
   OPTION C: Sticky Section Bar
   ═══════════════════════════════════════════ */

.pepper-sticky-bar {
  position: fixed;
  top: var(--ktp-header-h);
  left: 0;
  right: 0;
  z-index: 990;
  height: var(--ktp-sticky-h);
  background: rgba(250, 249, 247, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ktp-border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transform: translateY(-120%);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
  pointer-events: none;
}

.pepper-sticky-bar--visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.pepper-sticky-bar__inner {
  max-width: 940px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 100%;
  gap: 0;
}

/* Pepper name */
.pepper-sticky-bar__name {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-right: 16px;
}

.pepper-sticky-bar__icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pepper-sticky-bar__pepper-name {
  font-family: var(--ktp-font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--ktp-dark);
  white-space: nowrap;
}

/* Divider */
.pepper-sticky-bar__divider {
  width: 1px;
  height: 22px;
  background: #e0ddd8;
  flex-shrink: 0;
  margin-right: 10px;
}

/* Section links scroller */
.pepper-sticky-bar__links {
  display: flex;
  align-items: center;
  gap: 1px;
  overflow-x: auto;
  flex: 1;
  -ms-overflow-style: none;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.pepper-sticky-bar__links::-webkit-scrollbar {
  display: none;
}

.pepper-sticky-bar__link {
  font-family: var(--ktp-font-body);
  font-size: 12.5px;
  font-weight: 400;
  color: var(--ktp-gray);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid transparent;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s;
  cursor: pointer;
}

.pepper-sticky-bar__link:hover {
  color: var(--ktp-dark);
  background: #f5f5f0;
}

.pepper-sticky-bar__link--active {
  font-weight: 600;
  color: var(--tier-color);
  background: var(--tier-bg);
  border-color: color-mix(in srgb, var(--tier-color) 10%, transparent);
}

/* Progress + back to top */
.pepper-sticky-bar__right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: 12px;
}

.pepper-sticky-bar__progress {
  font-family: var(--ktp-font-body);
  font-size: 11px;
  color: var(--ktp-gray-light);
  font-weight: 500;
  min-width: 28px;
  text-align: right;
}

.pepper-sticky-bar__top-btn {
  background: #f5f5f0;
  border: 1px solid var(--ktp-border);
  border-radius: 6px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ktp-gray-light);
  font-size: 12px;
  transition: all 0.15s;
}

.pepper-sticky-bar__top-btn:hover {
  background: #e8e5e0;
  color: var(--ktp-dark);
}

@media (max-width: 640px) {
  .pepper-sticky-bar__pepper-name { display: none; }
  .pepper-sticky-bar__progress { display: none; }
  .pepper-sticky-bar__name { margin-right: 8px; }
}


/* ═══════════════════════════════════════════
   Section Headings — H2 with icon badges
   ═══════════════════════════════════════════ */

.pepper-section-h2 {
  font-family: var(--ktp-font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--ktp-dark);
  padding-top: 8px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 2px solid #f0ede8;
  display: flex;
  align-items: center;
  gap: 12px;
  scroll-margin-top: calc(var(--ktp-header-h) + var(--ktp-sticky-h) + 20px);
}

.pepper-section-h2__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 17px;
  flex-shrink: 0;
}

/* Icon background colors by group */
.pepper-section-h2__icon--about    { background: #fef2f2; }
.pepper-section-h2__icon--heat     { background: #fff7ed; }
.pepper-section-h2__icon--kitchen  { background: #f0fdf4; }
.pepper-section-h2__icon--grow     { background: #eff6ff; }

/* Body text style */
.pepper-section-p {
  font-family: var(--ktp-font-body);
  font-size: 20px;
  color: #374151;
  line-height: 1.8;
  margin: 0 0 16px;
}

/* Pepper-specific link style */
.pepper-section-link {
  color: var(--ktp-red);
  cursor: pointer;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px dashed #fecaca;
  transition: border-color 0.15s;
}

.pepper-section-link:hover {
  border-bottom-color: var(--ktp-red);
}


/* ═══════════════════════════════════════════
   Guide Page Styles
   ═══════════════════════════════════════════ */

/* Guide category color overrides */
[data-guide-cat="science"]  { --guide-color: #3b82f6; --guide-bg: #eff6ff; --guide-border: #93c5fd; }
[data-guide-cat="kitchen"]  { --guide-color: #16a34a; --guide-bg: #f0fdf4; --guide-border: #86efac; }
[data-guide-cat="growing"]  { --guide-color: #ca8a04; --guide-bg: #fefce8; --guide-border: #fde68a; }

/* Section h2 — reuse pepper-section-h2 base, add guide icon colors */
.guide-section-h2__icon--science  { background: #eff6ff; }
.guide-section-h2__icon--kitchen  { background: #f0fdf4; }
.guide-section-h2__icon--growing  { background: #fefce8; }

/* Guide hero meta bar */
.guide-meta-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.guide-meta-bar__item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--ktp-gray);
}

.guide-meta-bar__item svg {
  flex-shrink: 0;
  opacity: 0.6;
}

/* Guide TOC */
.guide-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 18px 22px;
  background: var(--ktp-card-bg);
  border: 1px solid var(--ktp-border);
  border-radius: 14px;
  margin: 20px 0 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.02);
}

.guide-toc__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ktp-gray-light);
  width: 100%;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.guide-toc__link {
  font-size: 12px;
  font-weight: 500;
  color: var(--ktp-gray);
  background: #f5f5f0;
  border: 1px solid #e7e5e4;
  border-radius: 8px;
  padding: 5px 12px 5px 8px;
  text-decoration: none;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.guide-toc__link:hover {
  color: var(--guide-color, var(--ktp-red));
  background: var(--guide-bg, #fef2f2);
  border-color: var(--guide-border, #fecaca);
}

/* Guide content typography */
.guide-content p {
  font-size: 17px;
  color: #374151;
  line-height: 1.85;
  margin: 0 0 16px;
}

.guide-content ul,
.guide-content ol {
  font-size: 17px;
  color: #374151;
  line-height: 1.85;
  margin: 0 0 16px;
  padding-left: 24px;
}

.guide-content li {
  margin-bottom: 4px;
}

.guide-content a {
  color: var(--ktp-red);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px dashed #fecaca;
  transition: border-color 0.15s;
}

.guide-content a:hover {
  border-bottom-color: var(--ktp-red);
}

/* Related guides grid — legacy (kept for hub page) */
.guide-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.guide-related-card {
  background: var(--ktp-card-bg);
  border: 1px solid var(--ktp-border);
  border-radius: 12px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.guide-related-card:hover {
  border-color: var(--ktp-red);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.guide-related-card__icon {
  font-size: 24px;
}

.guide-related-card__cat {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.guide-related-card__title {
  font-family: var(--ktp-font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--ktp-dark);
}

.guide-related-card__tagline {
  font-size: 13px;
  color: var(--ktp-gray);
  line-height: 1.4;
}

/* Guide content — h3 visual accent */
.guide-content h3 {
  font-family: var(--ktp-font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--ktp-dark);
  margin: 28px 0 12px;
  padding-left: 12px;
  border-left: 3px solid var(--guide-color, #b91c1c);
}

/* Guide content — strong emphasis (highlight only via .highlight class) */
.guide-content strong {
  color: #1e293b;
  font-weight: 700;
}

/* Inline key facts — subtle left accent */
.guide-keyfact-inline {
  padding-left: 14px;
  border-left: 3px solid var(--guide-border, #e8e5e0);
  margin: 20px 0 16px !important;
}

/* Icon cards — like pepper cooking method cards */
.guide-icon-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--ktp-card-bg, #fff);
  border: 1px solid var(--guide-border, #e8e5e0);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 16px 0;
  transition: box-shadow 0.2s ease;
}

.guide-icon-card:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

/* Breathing room when cards/lists stack */
.guide-icon-card + .guide-icon-card,
.guide-styled-list + .guide-styled-list,
.guide-icon-card + .guide-styled-list,
.guide-styled-list + .guide-icon-card {
  margin-top: 16px;
}

.guide-icon-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guide-icon-card__body {
  flex: 1;
  min-width: 0;
}

.guide-icon-card__title {
  font-family: var(--ktp-font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--ktp-dark);
  margin-bottom: 4px;
  line-height: 1.35;
}

.guide-icon-card__text {
  font-size: 15px;
  color: #374151;
  line-height: 1.65;
}

/* Key Points summary grid */
.guide-keypoints {
  border-top: 1px solid var(--ktp-border, #e8e5e0);
  padding-top: 20px;
  margin: 28px 0 8px;
}

.guide-keypoints__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--guide-color, #b91c1c);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.guide-keypoint-chip {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 10px 14px;
  border: 1px solid var(--guide-border, #e8e5e0);
  border-radius: 10px;
}

.guide-keypoint-chip span {
  font-size: 13px;
  font-weight: 600;
  color: var(--ktp-dark, #1e293b);
  line-height: 1.4;
}

/* Styled lists — card-like containers */
.guide-styled-list {
  background: #faf9f7;
  border: 1px solid #e8e5e0;
  border-radius: 12px;
  padding: 16px 16px 16px 36px !important;
  margin: 16px 0 20px !important;
}

.guide-styled-list li {
  padding: 4px 0;
  line-height: 1.7;
}

.guide-styled-list li::marker {
  color: var(--guide-color, #b91c1c);
  font-weight: 700;
}

.guide-styled-ol {
  counter-reset: guide-step;
  padding-left: 24px !important;
}

.guide-styled-ol li {
  counter-increment: guide-step;
  padding: 6px 0 6px 4px;
}

.guide-styled-ol li::marker {
  content: counter(guide-step) ". ";
  font-weight: 700;
  color: var(--guide-color, #b91c1c);
}

/* ══════════════════════════════════════════════════════
   AIO Summary Box — Shared across all page types
   ══════════════════════════════════════════════════════ */

.aio-summary-box {
  background: var(--warm-bg, #faf9f7);
  border: 1px solid var(--gray-border, #e8e5e0);
  border-left: 4px solid #b91c1c;
  border-radius: 0 14px 14px 0;
  padding: 24px 28px;
  margin: 20px 0;
}

.aio-summary-box__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.aio-summary-box__header span {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--dark, #1c1917);
}

.aio-summary-box__text {
  font-size: var(--fs-md);
  color: #374151;
  line-height: 1.75;
  margin: 0 0 18px;
}

.aio-summary-box__text strong {
  color: #1e293b;
}

.aio-summary-box__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.aio-summary-box__fact {
  background: var(--white, #fff);
  border: 1px solid var(--gray-border, #e8e5e0);
  border-radius: 10px;
  padding: 12px 14px;
  text-align: center;
}

.aio-summary-box__fact-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  margin-bottom: 4px;
}

.aio-summary-box__fact-value {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--dark, #1c1917);
}

.aio-summary-box__list {
  font-size: 13px;
  color: var(--gray, #78716c);
  line-height: 1.9;
  margin: 0;
  padding-left: 18px;
  list-style-type: disc;
}

.aio-summary-box__list strong {
  color: #374151;
  background: none;
}

@media (max-width: 640px) {
  .aio-summary-box {
    padding: 18px 16px;
  }
  .aio-summary-box__facts {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .aio-summary-box__fact {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
  }
  .aio-summary-box__fact-label {
    margin-bottom: 0;
    min-width: 60px;
  }
}

/* ══════════════════════════════════════════════════════
   Author Byline — Top of articles
   ══════════════════════════════════════════════════════ */

.author-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0 0;
}

.author-byline__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #b91c1c, #dc2626);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}

.author-byline__avatar span {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .5px;
}
.author-byline__avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.author-byline__name {
  font-size: 14px;
  color: #374151;
  line-height: 1.3;
}

.author-byline__name a {
  color: var(--dark, #1c1917);
  font-weight: 600;
  text-decoration: none;
}

.author-byline__name a:hover {
  text-decoration: underline;
}

.author-byline__role {
  font-size: 12px;
  color: var(--gray-light, #a8a29e);
  display: inline;
  margin-left: 4px;
}

.author-byline__dates {
  font-size: 12px;
  color: var(--gray-light, #a8a29e);
  display: flex;
  align-items: center;
  gap: 8px;
}

.author-byline__updated::before {
  content: "·";
  margin-right: 8px;
}

/* ══════════════════════════════════════════════════════
   Author Bio Box — Bottom of articles
   ══════════════════════════════════════════════════════ */

.author-bio-box {
  margin-top: 40px;
  border-top: 1px solid var(--gray-border, #e8e5e0);
  padding-top: 32px;
}

.author-bio-box__inner {
  background: var(--warm-bg, #faf9f7);
  border: 1px solid var(--gray-border, #e8e5e0);
  border-radius: 16px;
  padding: 28px;
}

.author-bio-box__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.author-bio-box__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.author-bio-box__avatar:hover {
  transform: scale(1.05);
}

.author-bio-box__avatar img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}
.author-bio-box__avatar span {
  color: #fff;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: .5px;
}

.author-bio-box__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--gray-light, #a8a29e);
  font-weight: 600;
  margin-bottom: 2px;
}

.author-bio-box__name {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 20px;
  font-weight: 800;
  color: var(--dark, #1c1917);
  text-decoration: none;
  display: block;
  line-height: 1.2;
}

.author-bio-box__name:hover {
  color: var(--red, #b91c1c);
}

.author-bio-box__role {
  font-size: 13px;
  color: var(--gray, #78716c);
  margin-top: 2px;
}

.author-bio-box__bio {
  font-size: 15px;
  color: #374151;
  line-height: 1.7;
  margin: 0 0 14px;
}

.author-bio-box__expertise {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.author-bio-box__tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--white, #fff);
  border: 1px solid var(--gray-border, #e8e5e0);
  color: var(--gray, #78716c);
}

.author-bio-box__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--gray-border, #e8e5e0);
}

.author-bio-box__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--red, #b91c1c);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.author-bio-box__link:hover {
  text-decoration: underline;
}

.author-bio-box__social {
  color: var(--gray-light, #a8a29e);
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.author-bio-box__social:hover {
  color: var(--dark, #1c1917);
}

/* ══════════════════════════════════════════════════════
   Author Card — Index page
   ══════════════════════════════════════════════════════ */

.author-card__inner {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--white, #fff);
  border: 1px solid var(--gray-border, #e8e5e0);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.25s ease;
}

.author-card:hover .author-card__inner {
  border-color: transparent;
  box-shadow: 0 8px 28px rgba(0,0,0,0.07), 0 2px 8px rgba(0,0,0,0.04);
  transform: translateY(-2px);
}

.author-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-card__avatar span {
  color: #fff;
  font-weight: 800;
  font-size: 24px;
}

.author-card__body {
  flex: 1;
  min-width: 0;
}

.author-card__name {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 20px;
  font-weight: 800;
  color: var(--dark, #1c1917);
  line-height: 1.2;
}

.author-card__role {
  font-size: 13px;
  color: var(--red, #b91c1c);
  font-weight: 600;
  margin-top: 2px;
}

.author-card__bio {
  font-size: 14px;
  color: var(--gray, #78716c);
  line-height: 1.6;
  margin: 8px 0 0;
}

.author-card__stats {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--gray-light, #a8a29e);
}

.author-card__stats span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.author-card__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.author-card__tags span {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  background: #fef2f2;
  color: #b91c1c;
}

.author-card__arrow {
  color: var(--gray-border, #e8e5e0);
  flex-shrink: 0;
  align-self: center;
  transition: color 0.2s;
}

.author-card:hover .author-card__arrow {
  color: var(--red, #b91c1c);
}

/* ══════════════════════════════════════════════════════
   Author Profile Hero
   ══════════════════════════════════════════════════════ */

.author-profile-hero {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.author-profile-hero__avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-profile-hero__avatar img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
}
.author-profile-hero__avatar span {
  color: #fff;
  font-weight: 800;
  font-size: 30px;
}

.author-profile-hero__name {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: clamp(26px, 5vw, 36px);
  font-weight: 900;
  color: var(--dark, #1c1917);
  margin: 0;
  line-height: 1.15;
}

.author-profile-hero__role {
  font-size: 15px;
  color: var(--red, #b91c1c);
  font-weight: 600;
  margin-top: 4px;
}

.author-profile-hero__stats {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  font-size: 13px;
  color: var(--gray, #78716c);
}

.author-profile-hero__stats span,
.author-profile-hero__stats a {
  display: flex;
  align-items: center;
  gap: 4px;
}

.author-profile-bio {
  background: var(--warm-bg, #faf9f7);
  border: 1px solid var(--gray-border, #e8e5e0);
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 16px;
}

.author-profile-bio p {
  font-size: 16px;
  color: #374151;
  line-height: 1.8;
  margin: 0;
}

.author-profile-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.author-profile-tags__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray, #78716c);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.author-profile-tags__tag {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  background: #fef2f2;
  color: #b91c1c;
}

@media (max-width: 640px) {
  .author-card__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px;
  }
  .author-card__arrow { display: none; }
  .author-card__stats { justify-content: center; }
  .author-card__tags { justify-content: center; }
  .author-profile-hero { flex-direction: column; text-align: center; }
  .author-profile-hero__stats { justify-content: center; }
  .author-bio-box__header { flex-direction: column; text-align: center; }
  .eeat-card__reviewer { flex-wrap: wrap; }
}

/* ══════════════════════════════════════════════════════
   Reviewer Badge — "Fact-checked by [Expert]"
   ══════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════
   E-E-A-T Verification Card — reviewer + trust signals
   ══════════════════════════════════════════════════════ */

.eeat-card {
  background: var(--white, #fff);
  border: 1px solid var(--gray-border, #e8e5e0);
  border-radius: 14px;
  margin: 28px 0 12px;
  overflow: hidden;
}

.eeat-card__reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: #f8faf8;
  border-bottom: 1px solid var(--gray-border, #e8e5e0);
}

.eeat-card__reviewer-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  text-decoration: none;
  border: 2px solid #bbf7d0;
}

.eeat-card__reviewer-avatar img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.eeat-card__reviewer-avatar--initials {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  display: flex;
  align-items: center;
  justify-content: center;
}

.eeat-card__reviewer-avatar--initials span {
  color: #fff;
  font-weight: 700;
  font-size: 12px;
}

.eeat-card__reviewer-info {
  flex: 1;
  min-width: 0;
}

.eeat-card__reviewer-line {
  font-size: 13px;
  color: #374151;
  line-height: 1.3;
}

.eeat-card__reviewer-line a {
  color: #166534;
  font-weight: 700;
  text-decoration: none;
}

.eeat-card__reviewer-line a:hover {
  text-decoration: underline;
}

.eeat-card__reviewer-role {
  font-size: 11px;
  color: #78716c;
}

.eeat-card__check {
  flex-shrink: 0;
}

.eeat-card__signals {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  padding: 0;
}

.eeat-card__signal {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  flex: 1;
  min-width: 160px;
  border-right: 1px solid var(--gray-border, #e8e5e0);
}

.eeat-card__signal:last-child {
  border-right: none;
}

.eeat-card__signal-icon {
  flex-shrink: 0;
}

.eeat-card__signal-text {
  font-size: 11px;
  font-weight: 600;
  color: #374151;
  line-height: 1.3;
}

@media (max-width: 640px) {
  .eeat-card__signals {
    flex-direction: column;
  }
  .eeat-card__signal {
    border-right: none;
    border-bottom: 1px solid var(--gray-border, #e8e5e0);
    min-width: 0;
  }
  .eeat-card__signal:last-child {
    border-bottom: none;
  }
}
