/*
Theme Name:   Healoger
Theme URI:    https://healoger.com
Description:  Healoger 건강 블로그 — GeneratePress 차일드 테마. 건강한 일상을 기록합니다.
Author:       Healoger
Version:      1.0.0
Template:     generatepress
Tags:         blog, health, wellness, korean, custom-colors, custom-menu, featured-images
Text Domain:  healoger
*/

/* ──────────────────────────────────────────
   Design Tokens
────────────────────────────────────────── */
:root {
  /* Vitality Green */
  --c-green:      #2E8B57;
  --c-green-dark: #1E6B42;
  --c-green-mid:  #5EAE7A;
  --c-green-100:  #C5E8D0;
  --c-green-50:   #EBF7EE;

  /* Energy Orange */
  --c-orange:     #CF7035;
  --c-orange-dark:#A85A28;
  --c-orange-50:  #F5DEC4;

  /* Trust Navy (Text) */
  --c-navy:       #1D2B3A;
  --c-navy-700:   #162030;
  --c-navy-400:   #4A5A6A;
  --c-navy-300:   #7A8A9A;
  --c-navy-200:   #B0BAC4;
  --c-navy-100:   #DDE3E8;
  --c-navy-50:    #F0F3F6;

  /* Background */
  --c-beige:      #FAF7F2;
  --c-beige-100:  #F2EDE6;
  --c-beige-200:  #E8E2DA;

  /* Semantic */
  --c-bg:         var(--c-beige);
  --c-bg-alt:     #ffffff;
  --c-text:       var(--c-navy);
  --c-text-muted: var(--c-navy-300);
  --c-border:     #E3E0DC;
  --c-border-strong: #C8C4BE;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;

  /* Radius */
  --r-xs:   4px;
  --r-sm:   8px;
  --r-md:   12px;
  --r-lg:   16px;
  --r-pill: 999px;

  /* Shadow */
  --shadow-sm:   0 1px 4px rgba(29,43,58,0.06);
  --shadow-card: 0 2px 12px rgba(29,43,58,0.08);
  --shadow-md:   0 6px 28px rgba(29,43,58,0.11);

  --container: 1200px;
}

/* ──────────────────────────────────────────
   Reset / Base
────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  background: var(--c-bg);
  color: var(--c-navy);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--c-green); }
img { display: block; max-width: 100%; }

/* ──────────────────────────────────────────
   Layout
────────────────────────────────────────── */
.hl-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.hl-site-wrap { min-height: 100vh; display: flex; flex-direction: column; }
.hl-main { flex: 1; }

/* ──────────────────────────────────────────
   Top Bar
────────────────────────────────────────── */
.hl-topbar {
  background: var(--c-navy);
  color: rgba(255,255,255,0.72);
  font-size: 12px;
  font-weight: 500;
  padding: 8px 0;
  text-align: center;
  letter-spacing: 0.02em;
}

.hl-topbar a {
  color: var(--c-green-mid);
  font-weight: 600;
  transition: color 0.15s;
}
.hl-topbar a:hover { color: var(--c-green-100); }

/* ──────────────────────────────────────────
   Header
────────────────────────────────────────── */
.hl-header {
  background: #fff;
  border-bottom: 1px solid var(--c-border);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: var(--shadow-sm);
}

.hl-header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* Logo */
.hl-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.hl-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  flex-shrink: 0;
}

.hl-logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-navy);
}

.hl-logo-text .hl-accent { color: var(--c-green); }

/* Nav */
.hl-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.hl-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.hl-nav ul li a {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-navy-400);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.hl-nav ul li a:hover,
.hl-nav ul li.current-menu-item > a,
.hl-nav ul li.current-menu-ancestor > a {
  background: var(--c-green-50);
  color: var(--c-green-dark);
}

/* Dropdown */
.hl-nav ul li { position: relative; }
.hl-nav ul li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  min-width: 180px;
  padding: 6px;
  z-index: 300;
}
.hl-nav ul li:hover > ul { display: block; }
.hl-nav ul li ul li a {
  border-radius: var(--r-sm);
  padding: 8px 12px;
}

.hl-search-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--c-green-50);
  border: none;
  color: var(--c-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
  margin-left: 8px;
}
.hl-search-btn:hover { background: var(--c-green-100); }

.hl-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--c-navy-400);
  cursor: pointer;
  padding: 8px;
}

/* ──────────────────────────────────────────
   Category Nav Bar
────────────────────────────────────────── */
.hl-cat-bar {
  background: #fff;
  border-bottom: 1px solid var(--c-border);
}

.hl-cat-bar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.hl-cat-bar-inner::-webkit-scrollbar { display: none; }

.hl-cat-pill {
  display: block;
  font-size: 13px;
  font-weight: 600;
  padding: 12px 20px;
  color: var(--c-navy-400);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
  text-decoration: none;
}

.hl-cat-pill:hover { color: var(--c-green); }
.hl-cat-pill.active,
.hl-cat-pill:hover { color: var(--c-green); border-bottom-color: var(--c-green); }

/* ──────────────────────────────────────────
   Hero Section
────────────────────────────────────────── */
.hl-hero {
  background: #fff;
  border-bottom: 1px solid var(--c-border);
}

.hl-hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 360px;
  min-height: 420px;
}

.hl-hero-featured {
  padding: 48px 48px 48px 0;
  border-right: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hl-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-green);
  margin-bottom: 16px;
}

.hl-hero-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--c-navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.hl-hero-title em { font-style: italic; color: var(--c-green); }

.hl-hero-excerpt {
  font-size: 15px;
  color: var(--c-navy-400);
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 480px;
}

.hl-hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--c-navy-300);
  margin-bottom: 24px;
}

.hl-btn-read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-green);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--r-sm);
  align-self: flex-start;
  transition: background 0.15s, transform 0.15s;
  text-decoration: none;
}
.hl-btn-read:hover { background: var(--c-green-dark); transform: translateY(-1px); color: #fff; }

/* Hero sidebar */
.hl-hero-sidebar {
  padding: 32px 0 32px 40px;
  display: flex;
  flex-direction: column;
}

.hl-hero-sidebar-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-navy-300);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--c-green);
}

.hl-mini-post {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-border);
  transition: opacity 0.15s;
  text-decoration: none;
  color: inherit;
}
.hl-mini-post:last-child { border-bottom: none; }
.hl-mini-post:hover { opacity: 0.75; }

.hl-mini-thumb {
  width: 70px;
  height: 56px;
  border-radius: var(--r-sm);
  flex-shrink: 0;
  overflow: hidden;
  background: var(--c-green-100);
}
.hl-mini-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hl-mini-thumb-placeholder { background: var(--c-navy-100); }

.hl-mini-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--c-green);
  margin-bottom: 4px;
}

.hl-mini-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-navy);
  line-height: 1.4;
}

.hl-mini-date {
  font-size: 11px;
  color: var(--c-navy-300);
  margin-top: 4px;
}

/* ──────────────────────────────────────────
   Body Layout (content + sidebar)
────────────────────────────────────────── */
.hl-body {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 32px 80px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

/* ──────────────────────────────────────────
   Section Heading
────────────────────────────────────────── */
.hl-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.hl-section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-navy);
  padding-bottom: 4px;
  border-bottom: 2px solid var(--c-green);
}

.hl-section-more {
  font-size: 12px;
  font-weight: 600;
  color: var(--c-green);
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}
.hl-section-more:hover { color: var(--c-green-dark); }

/* ──────────────────────────────────────────
   Post Card (Grid — 2 col)
────────────────────────────────────────── */
.hl-posts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.hl-post-card {
  background: #fff;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

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

.hl-post-thumb {
  height: 180px;
  overflow: hidden;
  background: var(--c-green-100);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hl-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.hl-post-card:hover .hl-post-thumb img { transform: scale(1.04); }

.hl-post-thumb-placeholder {
  height: 180px;
  background: var(--c-beige-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--c-navy-200);
  font-family: monospace;
  position: relative;
}

.hl-post-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  z-index: 1;
}
.hl-badge-green  { background: var(--c-green); color: #fff; }
.hl-badge-orange { background: var(--c-orange); color: #fff; }

.hl-post-body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hl-post-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--c-green);
  margin-bottom: 7px;
}

.hl-post-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--c-navy);
  line-height: 1.35;
  margin-bottom: 10px;
  flex: 1;
}

.hl-post-title a { color: inherit; text-decoration: none; }
.hl-post-title a:hover { color: var(--c-green-dark); }

.hl-post-excerpt {
  font-size: 13px;
  color: var(--c-navy-400);
  line-height: 1.65;
  margin-bottom: 12px;
}

.hl-post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--c-navy-300);
}

/* ──────────────────────────────────────────
   Post Card Horizontal
────────────────────────────────────────── */
.hl-post-card-h {
  background: #fff;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 140px 1fr;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-bottom: 16px;
  text-decoration: none;
  color: inherit;
}
.hl-post-card-h:last-child { margin-bottom: 0; }
.hl-post-card-h:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.hl-thumb-h {
  background: var(--c-beige-100);
  overflow: hidden;
}
.hl-thumb-h img { width: 100%; height: 100%; object-fit: cover; }
.hl-thumb-h-placeholder { background: var(--c-navy-100); min-height: 90px; }

.hl-body-h {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hl-title-h {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--c-navy);
  line-height: 1.4;
  margin-bottom: 8px;
}

.hl-meta-h {
  font-size: 12px;
  color: var(--c-navy-300);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ──────────────────────────────────────────
   Sidebar
────────────────────────────────────────── */
.hl-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: sticky;
  top: 80px;
}

.hl-widget {
  background: #fff;
  border-radius: var(--r-md);
  padding: 22px;
  box-shadow: var(--shadow-card);
}

.hl-widget-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-navy);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--c-green);
}

/* Search widget */
.hl-search-wrap { position: relative; }
.hl-search-input {
  font-family: var(--font-body);
  font-size: 14px;
  width: 100%;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-sm);
  padding: 10px 40px 10px 14px;
  color: var(--c-navy);
  background: var(--c-beige);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.hl-search-input:focus {
  border-color: var(--c-green);
  box-shadow: 0 0 0 3px rgba(46,139,87,0.13);
}

/* Popular posts */
.hl-popular-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--c-border);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.15s;
}
.hl-popular-item:last-child { border-bottom: none; }
.hl-popular-item:hover { opacity: 0.7; }

.hl-popular-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--c-green-100);
  flex-shrink: 0;
  line-height: 1;
  min-width: 28px;
  font-family: var(--font-display);
}

.hl-popular-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-navy);
  line-height: 1.4;
}

.hl-popular-meta {
  font-size: 11px;
  color: var(--c-navy-300);
  margin-top: 3px;
}

/* Tags */
.hl-tags-wrap { display: flex; flex-wrap: wrap; gap: 7px; }
.hl-tag-pill {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--c-border-strong);
  color: var(--c-navy-400);
  text-decoration: none;
  transition: all 0.15s;
}
.hl-tag-pill:hover {
  background: var(--c-green-50);
  border-color: var(--c-green);
  color: var(--c-green-dark);
}

/* Newsletter widget */
.hl-newsletter-widget {
  background: var(--c-navy);
  border-radius: var(--r-md);
  padding: 22px;
  color: #fff;
}

.hl-newsletter-widget .hl-widget-title { color: #fff; border-color: var(--c-green); }

.hl-newsletter-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin-bottom: 16px;
}

.hl-newsletter-input {
  font-family: var(--font-body);
  font-size: 13px;
  width: 100%;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  color: #fff;
  background: rgba(255,255,255,0.08);
  outline: none;
  margin-bottom: 10px;
  transition: border-color 0.15s;
}
.hl-newsletter-input::placeholder { color: rgba(255,255,255,0.35); }
.hl-newsletter-input:focus { border-color: var(--c-green); }

.hl-btn-subscribe {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  background: var(--c-green);
  color: #fff;
  border: none;
  border-radius: var(--r-sm);
  padding: 11px;
  cursor: pointer;
  transition: background 0.15s;
}
.hl-btn-subscribe:hover { background: var(--c-green-dark); }

/* ──────────────────────────────────────────
   Pagination
────────────────────────────────────────── */
.hl-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.hl-pagination .page-numbers {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid var(--c-border);
  color: var(--c-navy-400);
  background: #fff;
  transition: all 0.15s;
  text-decoration: none;
}

.hl-pagination .page-numbers:hover {
  border-color: var(--c-green);
  color: var(--c-green);
}

.hl-pagination .page-numbers.current {
  background: var(--c-green);
  color: #fff;
  border-color: var(--c-green);
}

.hl-pagination .page-numbers.dots {
  background: transparent;
  border-color: transparent;
}

/* ──────────────────────────────────────────
   Single Post
────────────────────────────────────────── */
.hl-post-header { margin-bottom: 32px; }

.hl-post-cat-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-green);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hl-post-title-single {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--c-navy);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}

.hl-post-meta-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--c-navy-300);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--c-border);
  flex-wrap: wrap;
}

.hl-post-featured-img {
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 36px;
  aspect-ratio: 16/7;
}
.hl-post-featured-img img { width: 100%; height: 100%; object-fit: cover; }

/* Content Typography */
.hl-post-content {
  font-size: 16px;
  line-height: 1.85;
  color: var(--c-navy-400);
}

.hl-post-content h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--c-navy);
  margin: 44px 0 16px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.hl-post-content h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--c-navy);
  margin: 32px 0 12px;
}

.hl-post-content p { margin: 0 0 20px; }

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

.hl-post-content li { margin-bottom: 8px; }

.hl-post-content strong { color: var(--c-navy); font-weight: 700; }

.hl-post-content a {
  color: var(--c-green-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hl-post-content a:hover { color: var(--c-green); }

.hl-post-content blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  background: var(--c-green-50);
  border-left: 4px solid var(--c-green);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  color: var(--c-navy);
  line-height: 1.6;
}
.hl-post-content blockquote p { margin: 0; }

.hl-post-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 28px 0;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.hl-post-content th {
  background: var(--c-navy);
  color: #fff;
  padding: 10px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hl-post-content td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-navy-400);
}

.hl-post-content tr:last-child td { border-bottom: none; }
.hl-post-content tr:hover td { background: var(--c-green-50); }

/* Post Tags */
.hl-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--c-border);
}

/* Author Box */
.hl-author-box {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--c-green-50);
  border: 1px solid var(--c-green-100);
  border-radius: var(--r-md);
  padding: 22px;
  margin-top: 40px;
}

.hl-author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--c-green-100);
}
.hl-author-avatar img { width: 100%; height: 100%; object-fit: cover; }

.hl-author-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 4px;
}

.hl-author-bio {
  font-size: 13px;
  color: var(--c-navy-400);
  margin: 0;
  line-height: 1.6;
}

/* Post Nav */
.hl-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--c-border);
}

.hl-post-nav-item {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 16px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.hl-post-nav-item:hover { border-color: var(--c-green); box-shadow: var(--shadow-sm); }

.hl-post-nav-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--c-navy-300);
  margin-bottom: 6px;
}

.hl-post-nav-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-navy);
  line-height: 1.4;
}

/* ──────────────────────────────────────────
   Footer
────────────────────────────────────────── */
.hl-footer {
  background: var(--c-navy);
  color: rgba(255,255,255,0.65);
  margin-top: auto;
}

.hl-footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 32px 36px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}

.hl-footer-brand { display: flex; flex-direction: column; gap: 14px; }

.hl-footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.hl-footer-logo-icon { width: 32px; height: 32px; border-radius: 8px; }

.hl-footer-logo-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.hl-footer-logo-text .hl-accent { color: var(--c-green-mid); }

.hl-footer-desc {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
  max-width: 220px;
}

.hl-footer-col-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}

.hl-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.hl-footer-links li a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.15s;
}
.hl-footer-links li a:hover { color: var(--c-green-mid); }

.hl-footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: 8px;
}

.hl-footer-disclaimer {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  margin-top: 12px;
  line-height: 1.6;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding: 0 32px 24px;
}

/* ──────────────────────────────────────────
   404
────────────────────────────────────────── */
.hl-not-found {
  text-align: center;
  padding: 100px 24px;
}

.hl-not-found-code {
  font-family: var(--font-display);
  font-size: 96px;
  font-weight: 700;
  color: var(--c-green-100);
  line-height: 1;
  margin-bottom: 16px;
}

/* ──────────────────────────────────────────
   Search Overlay
────────────────────────────────────────── */
.hl-search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(29,43,58,0.88);
  z-index: 500;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
}
.hl-search-overlay.open { display: flex; }

.hl-search-overlay-form {
  width: 100%;
  max-width: 600px;
  padding: 0 24px;
}

.hl-search-overlay-form input[type="search"] {
  width: 100%;
  background: #fff;
  border: none;
  border-radius: var(--r-md);
  padding: 18px 22px;
  font-size: 18px;
  font-family: var(--font-body);
  outline: none;
  color: var(--c-navy);
}

/* ──────────────────────────────────────────
   Responsive
────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hl-hero-inner { grid-template-columns: 1fr; }
  .hl-hero-sidebar { display: none; }
  .hl-hero-featured { border-right: none; padding: 40px 0; }

  .hl-body { grid-template-columns: 1fr; }
  .hl-sidebar { position: static; }

  .hl-footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hl-container, .hl-header-inner, .hl-hero-inner,
  .hl-body, .hl-footer-inner, .hl-footer-bottom { padding-left: 20px; padding-right: 20px; }

  .hl-nav { display: none; }
  .hl-nav.open { display: flex; }
  .hl-menu-toggle { display: flex; }

  .hl-nav {
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    border-bottom: 1px solid var(--c-border);
    box-shadow: var(--shadow-md);
    padding: 8px 0;
    z-index: 201;
  }

  .hl-nav ul { flex-direction: column; width: 100%; }
  .hl-nav ul li a { border-radius: 0; padding: 12px 20px; }

  .hl-posts-grid { grid-template-columns: 1fr; }
  .hl-hero-title { font-size: 26px; }
  .hl-post-title-single { font-size: 24px; }

  .hl-footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .hl-post-nav { grid-template-columns: 1fr; }
}

/* ──────────────────────────────────────────
   GeneratePress Overrides
────────────────────────────────────────── */
body { background: var(--c-bg) !important; }
.site-header, .main-navigation { display: none !important; }
