/*
 * Hurumende News Theme — Complete Stylesheet
 * Green + Gold editorial design on dark/light background
 * Prefix: h-  (all custom classes use this prefix)
 * ================================================================
 */

/* ── BRAND TOKEN LAYER ─────────────────────────────────────────── */
:root {
  --h-green:        #2A8A2A;
  --h-green-light:  #35A835;
  --h-green-dark:   #1C5E1C;
  --h-gold:         #C9A227;
  --h-gold-light:   #E2B92E;
  --h-gold-dark:    #8C7019;
  --h-red:          #CC3333;
  --h-font-head:    'Georgia', 'Times New Roman', serif;
  --h-font-body:    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --h-radius:       8px;
  --h-transition:   0.22s ease;
  --h-container:    1200px;
}

/* ── DARK MODE TOKENS ──────────────────────────────────────────── */
html[data-theme="dark"] {
  --h-bg:           #0E0F0E;
  --h-bg-header:    #0A0B0A;
  --h-bg-top:       #080908;
  --h-bg-footer:    #080908;
  --h-card:         #161917;
  --h-card2:        #1C1F1C;
  --h-border:       #252825;
  --h-text:         #F0F2F0;
  --h-text-2:       #A8ADA8;
  --h-text-muted:   #6B706B;
  --h-logo-color:   #FFFFFF;
  --h-shadow:       0 2px 20px rgba(0,0,0,0.5);
  --h-shadow-card:  0 4px 16px rgba(0,0,0,0.4);
}

/* ── LIGHT MODE TOKENS ─────────────────────────────────────────── */
html[data-theme="light"] {
  --h-bg:           #F4F5F4;
  --h-bg-header:    #FFFFFF;
  --h-bg-top:       #1A2E1A;
  --h-bg-footer:    #1A2E1A;
  --h-card:         #FFFFFF;
  --h-card2:        #F0F2F0;
  --h-border:       #E0E4E0;
  --h-text:         #0D1A0D;
  --h-text-2:       #4A5A4A;
  --h-text-muted:   #7A8A7A;
  --h-logo-color:   #0D1A0D;
  --h-shadow:       0 2px 12px rgba(0,0,0,0.08);
  --h-shadow-card:  0 2px 8px rgba(0,0,0,0.06);
}

/* ── GLOBAL BASE ───────────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--h-bg) !important;
  color: var(--h-text) !important;
  font-family: var(--h-font-body) !important;
  margin: 0;
  padding: 0;
  transition: background-color var(--h-transition), color var(--h-transition);
}

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

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

/* Blocksy reset — hide its default header/footer if present */
.ct-header-container,
.ct-footer-container { display: none !important; }

/* ── CONTAINER ─────────────────────────────────────────────────── */
.h-container {
  max-width: var(--h-container);
  margin: 0 auto;
  padding: 0 16px;
}

/* ── MAIN ──────────────────────────────────────────────────────── */
.h-main {
  padding: 24px 0 40px;
  min-height: 60vh;
}

/* ═══════════════════════════════════════════════════════════════
   TOP BAR
   ═══════════════════════════════════════════════════════════════ */
.h-top-bar {
  background: var(--h-bg-top);
  border-bottom: 1px solid rgba(201,162,39,0.15);
  padding: 6px 0;
  font-size: 12px;
  color: var(--h-text-2);
}
.h-top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.h-gold { color: var(--h-gold); }
.h-top-bar-tagline { color: var(--h-text-muted); }
.h-top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.h-top-bar-right a {
  color: var(--h-text-2);
  font-size: 11px;
}
.h-top-bar-right a:hover { color: var(--h-gold); }
.h-weather-pill {
  font-size: 11px;
  color: var(--h-text-2);
}
@media (max-width: 640px) {
  .h-top-bar-tagline { display: none; }
  .h-top-bar-right a:not(:last-child) { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   STICKY HEADER
   ═══════════════════════════════════════════════════════════════ */
.h-site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--h-bg-header);
  border-bottom: 1px solid var(--h-border);
  box-shadow: var(--h-shadow);
  transition: background-color var(--h-transition), box-shadow var(--h-transition);
}
.h-site-header.h-scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
}
.h-header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 58px;
}

/* Logo */
.h-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}
.h-logo-img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}
.h-logo-img--footer {
  height: 44px;
  /* Footer is always dark — show white version of logo */
  filter: brightness(0) invert(1);
}
/* Fallback text logo (if image fails) */
.h-logo-icon {
  width: 34px;
  height: 34px;
  background: var(--h-green);
  color: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--h-font-head);
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}
.h-logo-text {
  font-family: var(--h-font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--h-logo-color);
  letter-spacing: -0.5px;
}
/* Footer contact details */
.h-footer-contact {
  margin-top: 14px;
}
.h-footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin: 0 0 6px;
}
.h-footer-contact p i {
  color: var(--h-gold);
  width: 14px;
  text-align: center;
  flex-shrink: 0;
}
.h-footer-contact a {
  color: rgba(255,255,255,0.5);
  transition: color var(--h-transition);
}
.h-footer-contact a:hover { color: var(--h-gold); }

/* Desktop nav */
.h-main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  flex: 1;
  scrollbar-width: none;
}
.h-main-nav::-webkit-scrollbar { display: none; }
.h-main-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--h-text-2);
  padding: 6px 10px;
  border-radius: 4px;
  white-space: nowrap;
  transition: all var(--h-transition);
}
.h-main-nav a:hover,
.h-main-nav a.active {
  color: var(--h-text);
  background: var(--h-card);
}
.h-main-nav a.active { color: var(--h-gold); }

/* Header right controls */
.h-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.h-search-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--h-card);
  border: 1px solid var(--h-border);
  color: var(--h-text-2);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
  transition: all var(--h-transition);
}
.h-search-btn:hover {
  border-color: var(--h-green);
  color: var(--h-text);
}
.h-social-icons {
  display: flex;
  gap: 4px;
}
.h-social-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--h-card);
  border: 1px solid var(--h-border);
  color: var(--h-text-2);
  font-size: 12px;
  transition: all var(--h-transition);
}
.h-social-icon:hover {
  background: var(--h-green);
  color: #fff;
  border-color: var(--h-green);
}
.h-theme-toggle {
  background: var(--h-card);
  border: 1px solid var(--h-border);
  border-radius: 20px;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 14px;
  transition: all var(--h-transition);
  color: var(--h-text);
}
.h-theme-toggle:hover { border-color: var(--h-gold); }
html[data-theme="dark"]  .h-icon-moon { display: none; }
html[data-theme="light"] .h-icon-sun  { display: none; }
/* Font Awesome icons sizing in bottom nav */
.h-bottom-nav-icon { font-size: 18px; }

/* Hamburger */
.h-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.h-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--h-text);
  border-radius: 2px;
  transition: all var(--h-transition);
}

@media (max-width: 900px) {
  .h-main-nav { display: none; }
  .h-social-icons { display: none; }
  .h-search-label { display: none; }
  .h-hamburger { display: flex; }
}
@media (max-width: 480px) {
  .h-search-btn { padding: 6px 8px; }
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE DRAWER
   ═══════════════════════════════════════════════════════════════ */
.h-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--h-transition);
}
.h-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.h-drawer {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100%;
  background: var(--h-bg-header);
  border-right: 1px solid var(--h-border);
  z-index: 1100;
  overflow-y: auto;
  transition: left var(--h-transition);
}
.h-drawer.open { left: 0; }
.h-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--h-border);
}
.h-drawer-close {
  background: none;
  border: none;
  color: var(--h-text-2);
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
}
.h-drawer-close:hover { color: var(--h-text); background: var(--h-card); }
.h-drawer-nav {
  padding: 8px 0;
}
.h-drawer-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: var(--h-text-2);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--h-transition);
  border-left: 3px solid transparent;
}
.h-drawer-nav a:hover,
.h-drawer-nav a.active {
  background: var(--h-card);
  color: var(--h-text);
  border-left-color: var(--h-green);
}
.h-nav-icon { font-size: 16px; width: 20px; text-align: center; }
.h-drawer-section-label {
  padding: 10px 16px 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--h-text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   BREAKING NEWS TICKER
   ═══════════════════════════════════════════════════════════════ */
.h-ticker-bar {
  background: var(--h-green-dark);
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 36px;
}
.h-ticker-label {
  background: var(--h-gold);
  color: #000;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}
.h-ticker-wrap {
  flex: 1;
  overflow: hidden;
}
.h-ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  animation: h-ticker 40s linear infinite;
  white-space: nowrap;
}
.h-ticker-track:hover { animation-play-state: paused; }
.h-ticker-item {
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  padding: 0 32px;
  border-right: 1px solid rgba(255,255,255,0.2);
}
@keyframes h-ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════════════════
   AD ADMIN PANEL (editors only)
   ═══════════════════════════════════════════════════════════════ */
.h-ad-panel-wrap {
  background: var(--h-card2);
  border-bottom: 1px solid var(--h-border);
}
.h-ad-admin-panel {
  max-width: var(--h-container);
  margin: 0 auto;
  padding: 6px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.h-ad-admin-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--h-text-2);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.h-ad-toggle-group {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--h-text-2);
}
.h-toggle {
  width: 34px;
  height: 18px;
  border-radius: 9px;
  background: var(--h-border);
  border: none;
  cursor: pointer;
  position: relative;
  transition: background var(--h-transition);
}
.h-toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--h-text-muted);
  transition: all var(--h-transition);
}
.h-toggle.on {
  background: var(--h-green);
}
.h-toggle.on::after {
  left: 18px;
  background: #fff;
}
.h-ad-note {
  font-size: 10px;
  color: var(--h-text-muted);
  margin-left: auto;
}

/* ═══════════════════════════════════════════════════════════════
   SEARCH OVERLAY
   ═══════════════════════════════════════════════════════════════ */
.h-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--h-transition);
}
.h-search-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.h-search-box {
  width: 100%;
  max-width: 600px;
  padding: 0 16px;
}
.h-search-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--h-bg-header);
  border: 1px solid var(--h-border);
  border-radius: 8px;
  padding: 12px 16px;
}
.h-search-input-wrap svg { color: var(--h-text-muted); flex-shrink: 0; }
.h-search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--h-text);
  font-size: 18px;
  font-family: var(--h-font-body);
}
.h-search-input::placeholder { color: var(--h-text-muted); }
.h-search-close-btn {
  background: none;
  border: none;
  color: var(--h-text-muted);
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
}
.h-search-hint {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-top: 10px;
}
.h-search-hint kbd {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 11px;
}
/* Inline search bar (search.php / 404.php) */
.h-search-inline {
  margin: 0 0 28px;
}
.h-search-input--page {
  font-size: 15px;
}
.h-search-submit {
  background: var(--h-green);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--h-transition);
}
.h-search-submit:hover { background: var(--h-green-light); }

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════ */
.h-hero-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1px;
  background: var(--h-border);
  border-radius: var(--h-radius);
  overflow: hidden;
  margin-bottom: 28px;
  min-height: 420px;
}

/* Main hero */
.h-hero-main {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}
.h-hero-bg-img {
  position: absolute;
  inset: 0;
}
.h-hero-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.h-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
}
.h-hero-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.h-hero-cat {
  background: var(--h-gold);
  color: #000;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
}
.h-hero-cat:hover { background: var(--h-gold-light); }
.h-live-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--h-red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
}
.h-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: h-live-pulse 1.2s ease-in-out infinite;
}
@keyframes h-live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.h-hero-title {
  font-family: var(--h-font-head);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 10px;
}
.h-hero-title a { color: inherit; }
.h-hero-title a:hover { color: var(--h-gold-light); }
.h-hero-excerpt {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.h-hero-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.65);
}
.h-author { color: var(--h-gold-light); }

/* Hero sidebar */
.h-hero-sidebar {
  background: var(--h-card);
  display: flex;
  flex-direction: column;
}
.h-hero-side-story {
  flex: 1;
  padding: 18px 16px;
  border-bottom: 1px solid var(--h-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}
.h-hero-side-story:last-child { border-bottom: none; }
.h-hero-side-cat {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--h-gold);
  display: block;
  margin-bottom: 6px;
}
.h-hero-side-cat:hover { color: var(--h-gold-light); }
.h-hero-side-title {
  font-family: var(--h-font-head);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  color: var(--h-text);
}
.h-hero-side-title a { color: inherit; }
.h-hero-side-title a:hover { color: var(--h-gold); }
.h-hero-side-meta { }
.h-time-pill {
  font-size: 11px;
  color: var(--h-text-muted);
}

@media (max-width: 900px) {
  .h-hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .h-hero-main { min-height: 300px; }
  .h-hero-sidebar { display: grid; grid-template-columns: 1fr 1fr; }
  .h-hero-side-story { border-bottom: none; border-right: 1px solid var(--h-border); }
  .h-hero-side-story:nth-child(even) { border-right: none; }
  .h-hero-side-story:nth-child(n+3) { border-top: 1px solid var(--h-border); }
}
@media (max-width: 560px) {
  .h-hero-sidebar { grid-template-columns: 1fr; }
  .h-hero-side-story { border-right: none !important; border-bottom: 1px solid var(--h-border) !important; }
  .h-hero-title { font-size: 22px; }
}

/* ═══════════════════════════════════════════════════════════════
   AD SLOTS
   ═══════════════════════════════════════════════════════════════ */
.h-ad-slot {
  text-align: center;
  margin: 24px 0;
  transition: opacity var(--h-transition);
}
.h-ad-slot[data-ad-hidden="true"] {
  opacity: 0;
  pointer-events: none;
  height: 0;
  overflow: hidden;
  margin: 0;
}
.h-ad-leaderboard { min-height: 90px; }
.h-ad-mid { min-height: 90px; }
.h-ad-inarticle { min-height: 250px; }
.h-ad-sidebar { min-height: 250px; }
.h-ad-placeholder {
  background: var(--h-card);
  border: 1px dashed var(--h-border);
  border-radius: var(--h-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--h-text-muted);
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  min-height: 90px;
}
.h-ad-placeholder--wide { min-height: 90px; }
.h-ad-placeholder--sidebar { min-height: 250px; }

/* ═══════════════════════════════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════════════════════════════ */
.h-category-section,
.h-related-section { margin-bottom: 32px; }

.h-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--h-border);
  padding-bottom: 10px;
  margin-bottom: 18px;
}
.h-section-title {
  font-family: var(--h-font-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--h-text);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.h-section-title::before {
  content: '';
  width: 4px;
  height: 20px;
  background: var(--h-green);
  border-radius: 2px;
  display: block;
}
.h-section-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--h-green-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.h-section-link:hover { color: var(--h-gold); }

/* ═══════════════════════════════════════════════════════════════
   CARD GRID
   ═══════════════════════════════════════════════════════════════ */
.h-card-grid {
  display: grid;
  gap: 20px;
}
.h-cols-2 { grid-template-columns: repeat(2, 1fr); }
.h-cols-3 { grid-template-columns: repeat(3, 1fr); }
.h-cols-4 { grid-template-columns: repeat(4, 1fr); }

.h-story-card {
  background: var(--h-card);
  border: 1px solid var(--h-border);
  border-radius: var(--h-radius);
  overflow: hidden;
  transition: all var(--h-transition);
}
.h-story-card:hover {
  border-color: var(--h-green);
  transform: translateY(-2px);
  box-shadow: var(--h-shadow-card);
}
.h-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--h-card2);
}
.h-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.h-story-card:hover .h-card-img img { transform: scale(1.04); }
.h-card-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--h-card2) 0%, var(--h-border) 100%);
}
.h-card-body {
  padding: 14px;
}
.h-card-cat {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--h-gold);
  margin-bottom: 6px;
}
.h-card-cat:hover { color: var(--h-gold-light); }
.h-card-title {
  font-family: var(--h-font-head);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 8px;
  color: var(--h-text);
}
.h-card-title a { color: inherit; }
.h-card-title a:hover { color: var(--h-gold); }
.h-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--h-text-muted);
}
.h-card-meta-dot { opacity: 0.5; }
.h-card-read-more {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--h-gold);
  letter-spacing: 0.3px;
  transition: color 0.2s, gap 0.2s;
}
.h-card-read-more:hover { color: var(--h-gold-light); letter-spacing: 0.8px; }

@media (max-width: 900px) {
  .h-cols-4 { grid-template-columns: repeat(2, 1fr); }
  .h-cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .h-cols-4,
  .h-cols-3,
  .h-cols-2 { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   LIST CARD (sport section)
   ═══════════════════════════════════════════════════════════════ */
.h-story-list { display: flex; flex-direction: column; gap: 1px; }
.h-list-item {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--h-border);
  align-items: flex-start;
}
.h-list-item:last-child { border-bottom: none; }
.h-list-item-img {
  flex-shrink: 0;
  width: 200px;
  height: 134px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--h-card2);
  display: block;
}
.h-list-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.h-list-item:hover .h-list-item-img img { transform: scale(1.05); }
.h-list-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--h-card2) 0%, var(--h-border) 100%);
}
.h-list-item-body { flex: 1; min-width: 0; }
.h-list-item-cat {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--h-gold);
  display: block;
  margin-bottom: 6px;
}
.h-list-item-cat:hover { color: var(--h-gold-light); }
.h-list-item-title {
  font-family: var(--h-font-head);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 8px;
  color: var(--h-text);
}
.h-list-item-title a { color: inherit; }
.h-list-item-title a:hover { color: var(--h-gold); }
.h-list-item-meta {
  font-size: 12px;
  color: var(--h-text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   TWO-COLUMN LAYOUT (sport + sidebar)
   ═══════════════════════════════════════════════════════════════ */
.h-two-col {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  margin-bottom: 32px;
  align-items: start;
}
.h-two-col-main { min-width: 0; }

@media (max-width: 900px) {
  .h-two-col { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   VIDEO SECTION
   ═══════════════════════════════════════════════════════════════ */
.h-video-section {
  margin-top: 24px;
}
.h-video-wrap {
  background: var(--h-card);
  border: 1px solid var(--h-border);
  border-radius: var(--h-radius);
  overflow: hidden;
}
.h-video-wrap iframe,
.h-video-wrap video {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  border: none;
}

/* ═══════════════════════════════════════════════════════════════
   SIDEBAR WIDGETS
   ═══════════════════════════════════════════════════════════════ */
.h-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}
.h-widget {
  background: var(--h-card);
  border: 1px solid var(--h-border);
  border-radius: var(--h-radius);
  overflow: hidden;
}
.h-widget-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--h-font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--h-text);
  margin: 0;
  padding: 14px 16px;
  border-bottom: 1px solid var(--h-border);
}
.h-widget-title-bar {
  width: 3px;
  height: 14px;
  background: var(--h-green);
  border-radius: 2px;
  display: inline-block;
  flex-shrink: 0;
}

/* Most Read widget */
.h-most-read-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--h-border);
  transition: background var(--h-transition);
}
.h-most-read-item:last-child { border-bottom: none; }
.h-most-read-item:hover { background: var(--h-card2); }
.h-most-read-rank {
  font-size: 22px;
  font-family: var(--h-font-head);
  font-weight: 700;
  color: var(--h-border);
  line-height: 1;
  min-width: 24px;
  flex-shrink: 0;
  padding-top: 2px;
}
.h-most-read-body { flex: 1; min-width: 0; }
.h-most-read-cat {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--h-gold);
  display: block;
  margin-bottom: 3px;
}
.h-most-read-cat:hover { color: var(--h-gold-light); }
.h-most-read-title {
  font-family: var(--h-font-head);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 4px;
  color: var(--h-text);
}
.h-most-read-title a { color: inherit; }
.h-most-read-title a:hover { color: var(--h-gold); }
.h-most-read-time {
  font-size: 11px;
  color: var(--h-text-muted);
}

/* Sidebar stories (Africa Today) */
.h-sidebar-story {
  padding: 12px 16px;
  border-bottom: 1px solid var(--h-border);
  transition: background var(--h-transition);
}
.h-sidebar-story:last-child { border-bottom: none; }
.h-sidebar-story:hover { background: var(--h-card2); }
.h-sidebar-story-title {
  font-family: var(--h-font-head);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 4px;
  color: var(--h-text);
}
.h-sidebar-story-title a { color: inherit; }
.h-sidebar-story-title a:hover { color: var(--h-gold); }
.h-sidebar-story-time {
  font-size: 11px;
  color: var(--h-text-muted);
}
.h-widget-see-all {
  display: block;
  text-align: center;
  padding: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--h-green-light);
  border-top: 1px solid var(--h-border);
}
.h-widget-see-all:hover { color: var(--h-gold); background: var(--h-card2); }

/* Social widget */
.h-social-widget-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--h-border);
}
.h-social-widget-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 14px;
  background: var(--h-card);
  font-size: 11px;
  font-weight: 600;
  color: var(--h-text-2);
  transition: all var(--h-transition);
}
.h-social-widget-btn:hover { background: var(--h-card2); color: var(--h-text); }
.h-social-twitter:hover   { color: #1DA1F2; }
.h-social-facebook:hover  { color: #1877F2; }
.h-social-instagram:hover { color: #E1306C; }
.h-social-youtube:hover   { color: #FF0000; }
.h-social-whatsapp:hover  { color: #25D366; }
.h-social-icon-lg { font-size: 20px; }

/* ═══════════════════════════════════════════════════════════════
   SINGLE ARTICLE
   ═══════════════════════════════════════════════════════════════ */
.h-article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}
.h-article { min-width: 0; }

/* Breadcrumb */
.h-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--h-text-muted);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.h-breadcrumb a { color: var(--h-green-light); }
.h-breadcrumb a:hover { color: var(--h-gold); }

/* Article badges */
.h-article-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.h-article-cat {
  background: var(--h-gold);
  color: #000;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
}
.h-article-cat:hover { background: var(--h-gold-light); }

/* Headline */
.h-article-title {
  font-family: var(--h-font-head);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--h-text);
  margin: 0 0 16px;
}

/* Standfirst */
.h-article-standfirst {
  font-size: 19px;
  line-height: 1.6;
  color: var(--h-text-2);
  margin: 0 0 20px;
  font-family: var(--h-font-head);
  font-style: italic;
}

/* Article meta */
.h-article-meta {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--h-border);
  border-bottom: 1px solid var(--h-border);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.h-article-avatar { flex-shrink: 0; }
.h-avatar-img {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  object-fit: cover;
}
.h-article-meta-text { flex: 1; min-width: 0; }
.h-article-author {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--h-text);
  margin-bottom: 2px;
}
.h-article-author a { color: var(--h-green-light); }
.h-article-author a:hover { color: var(--h-gold); }
.h-article-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--h-text-muted);
}
.h-article-date, .h-article-reading { }

/* Share buttons */
.h-article-share {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.h-share-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--h-card2);
  border: 1px solid var(--h-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--h-text-2);
  cursor: pointer;
  transition: all var(--h-transition);
  text-decoration: none;
}
.h-share-btn:hover { background: var(--h-green); color: #fff; border-color: var(--h-green); }

/* Hero image */
.h-article-hero-img {
  margin: 0 0 24px;
  border-radius: var(--h-radius);
  overflow: hidden;
}
.h-article-hero-img img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
}
.h-article-img-caption {
  font-size: 12px;
  color: var(--h-text-muted);
  padding: 8px 12px;
  background: var(--h-card);
  border-top: 1px solid var(--h-border);
  font-style: italic;
}

/* Article body */
.h-article-body {
  font-size: 18px;
  line-height: 1.75;
  color: var(--h-text);
  font-family: var(--h-font-body);
}
.h-article-body p { margin: 0 0 20px; }
.h-article-body h2 {
  font-family: var(--h-font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--h-text);
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--h-border);
}
.h-article-body h3 {
  font-family: var(--h-font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--h-text);
  margin: 28px 0 10px;
}
.h-article-body a {
  color: var(--h-green-light);
  text-decoration: underline;
  text-decoration-color: rgba(53,168,53,0.3);
}
.h-article-body a:hover {
  color: var(--h-gold);
  text-decoration-color: var(--h-gold);
}
.h-article-body blockquote {
  border-left: 4px solid var(--h-gold);
  background: var(--h-card);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 var(--h-radius) var(--h-radius) 0;
}
.h-article-body blockquote p {
  font-family: var(--h-font-head);
  font-size: 18px;
  font-style: italic;
  color: var(--h-text-2);
  margin: 0;
}
.h-article-body ul,
.h-article-body ol {
  padding-left: 24px;
  margin: 0 0 20px;
}
.h-article-body li { margin-bottom: 8px; }
.h-article-body img {
  border-radius: var(--h-radius);
  max-width: 100%;
}
.h-article-body figure { margin: 24px 0; }
.h-article-body figcaption {
  font-size: 12px;
  color: var(--h-text-muted);
  margin-top: 8px;
  font-style: italic;
}

/* Tags */
.h-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0;
  padding-top: 20px;
  border-top: 1px solid var(--h-border);
}
.h-tag-pill {
  background: var(--h-card2);
  border: 1px solid var(--h-border);
  color: var(--h-text-2);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  transition: all var(--h-transition);
}
.h-tag-pill:hover {
  border-color: var(--h-gold);
  color: var(--h-gold);
}

/* Author box */
.h-author-box {
  display: flex;
  gap: 16px;
  background: var(--h-card);
  border: 1px solid var(--h-border);
  border-radius: var(--h-radius);
  padding: 20px;
  margin: 28px 0;
}
.h-author-box-avatar {
  width: 64px !important;
  height: 64px !important;
  border-radius: 50% !important;
  object-fit: cover;
  flex-shrink: 0;
}
.h-author-box-text { flex: 1; min-width: 0; }
.h-author-box-name {
  display: block;
  font-weight: 700;
  font-size: 15px;
  color: var(--h-text);
  margin-bottom: 6px;
}
.h-author-box-name:hover { color: var(--h-gold); }
.h-author-box-bio {
  font-size: 13px;
  color: var(--h-text-2);
  line-height: 1.55;
  margin: 0;
}

/* Post navigation */
.h-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
  padding-top: 20px;
  border-top: 1px solid var(--h-border);
}
.h-post-nav-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  background: var(--h-card);
  border: 1px solid var(--h-border);
  border-radius: var(--h-radius);
  transition: all var(--h-transition);
}
.h-post-nav-link:hover { border-color: var(--h-green); background: var(--h-card2); }
.h-post-nav-next { text-align: right; }
.h-post-nav-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--h-green-light);
}
.h-post-nav-title {
  font-family: var(--h-font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--h-text);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════════
   COMMENTS (WordPress native)
   ═══════════════════════════════════════════════════════════════ */
.h-comments {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 2px solid var(--h-border);
}

/* Comments title (e.g. "3 Comments") */
.h-comments .comments-title {
  font-family: var(--h-font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--h-text);
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.h-comments .comments-title::before {
  content: '';
  width: 4px;
  height: 20px;
  background: var(--h-green);
  border-radius: 2px;
  display: block;
  flex-shrink: 0;
}

/* Comment list */
.h-comments .comment-list {
  padding: 0;
  list-style: none;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.h-comments .comment-list .children {
  list-style: none;
  padding-left: 32px;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-left: 2px solid var(--h-border);
}

/* Individual comment */
.h-comments .comment-body {
  background: var(--h-card);
  border: 1px solid var(--h-border);
  border-radius: var(--h-radius);
  padding: 18px;
  transition: border-color var(--h-transition);
}
.h-comments .comment-body:hover { border-color: var(--h-green-dark); }
.h-comments .comment-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.h-comments .comment-author .avatar {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  flex-shrink: 0;
}
.h-comments .comment-author-info { flex: 1; }
.h-comments .comment-author b,
.h-comments .comment-author .fn { color: var(--h-green-light); font-size: 14px; font-weight: 700; }
.h-comments .comment-author a { color: var(--h-green-light); }
.h-comments .comment-author a:hover { color: var(--h-gold); }
.h-comments .comment-meta,
.h-comments .comment-metadata {
  font-size: 11px;
  color: var(--h-text-muted);
  margin-top: 2px;
}
.h-comments .comment-metadata a { color: var(--h-text-muted); }
.h-comments .comment-metadata a:hover { color: var(--h-gold); }
.h-comments .comment-content {
  font-size: 15px;
  line-height: 1.7;
  color: var(--h-text);
}
.h-comments .comment-content p { margin: 0 0 12px; }
.h-comments .comment-content p:last-child { margin: 0; }
.h-comments .reply {
  margin-top: 10px;
  text-align: right;
}
.h-comments .reply a,
.h-comments .comment-reply-link {
  font-size: 11px;
  font-weight: 700;
  color: var(--h-gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border: 1px solid var(--h-gold-dark);
  border-radius: 4px;
  transition: all var(--h-transition);
}
.h-comments .reply a:hover { background: var(--h-gold); color: #000; }
.h-comments .bypostauthor > .comment-body {
  border-color: var(--h-green);
  background: var(--h-card2);
}
.h-comments .bypostauthor .comment-author b::after {
  content: ' · Author';
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--h-green-light);
  background: rgba(42,138,42,0.12);
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
}

/* Comment form */
.h-comments #respond {
  background: var(--h-card);
  border: 1px solid var(--h-border);
  border-radius: var(--h-radius);
  padding: 24px;
}
.h-comments #reply-title {
  font-family: var(--h-font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--h-text);
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.h-comments #reply-title::before {
  content: '';
  width: 3px;
  height: 18px;
  background: var(--h-gold);
  border-radius: 2px;
  display: block;
}
.h-comments .comment-notes {
  font-size: 13px;
  color: var(--h-text-muted);
  margin-bottom: 18px;
}
.h-comments .comment-form-comment label,
.h-comments .comment-form-author label,
.h-comments .comment-form-email label,
.h-comments .comment-form-url label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--h-text-2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.h-comments .comment-form input[type="text"],
.h-comments .comment-form input[type="email"],
.h-comments .comment-form input[type="url"],
.h-comments .comment-form textarea {
  background: var(--h-bg);
  border: 1px solid var(--h-border);
  color: var(--h-text);
  border-radius: 6px;
  padding: 10px 14px;
  width: 100%;
  font-family: var(--h-font-body);
  font-size: 14px;
  transition: border-color var(--h-transition);
}
.h-comments .comment-form input:focus,
.h-comments .comment-form textarea:focus {
  outline: none;
  border-color: var(--h-green);
  box-shadow: 0 0 0 3px rgba(42,138,42,0.1);
}
.h-comments .comment-form textarea { min-height: 130px; resize: vertical; }
.h-comments .form-allowed-tags { font-size: 11px; color: var(--h-text-muted); margin-top: 6px; }
.h-comments .comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 8px; }
.h-comments .comment-form-cookies-consent input { margin-top: 3px; accent-color: var(--h-green); }
.h-comments .comment-form-cookies-consent label { font-size: 12px; color: var(--h-text-muted); }
.h-comments .form-submit { margin-top: 16px; }
.h-comments .comment-form-submit input[type="submit"],
.h-comments #submit {
  background: var(--h-green);
  color: #fff;
  border: none;
  padding: 11px 24px;
  border-radius: 6px;
  font-family: var(--h-font-body);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--h-transition);
  width: auto;
  display: inline-block;
}
.h-comments .comment-form-submit input[type="submit"]:hover,
.h-comments #submit:hover { background: var(--h-green-light); }
.h-comments #cancel-comment-reply-link {
  font-size: 12px;
  color: var(--h-text-muted);
  margin-left: 12px;
}

/* Ad slot label (direct ads) */
.h-ad-label {
  display: block;
  text-align: center;
  font-size: 10px;
  color: var(--h-text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 4px;
}
.h-direct-ad { position: relative; text-align: center; }
.h-direct-ad-img { max-width: 100%; height: auto; border-radius: var(--h-radius); }
.h-ad-slot--editor-only { opacity: 0.6; }

@media (max-width: 900px) {
  .h-article-layout { grid-template-columns: 1fr; }
  .h-article-title { font-size: 28px; }
  .h-article-standfirst { font-size: 16px; }
  .h-article-body { font-size: 16px; }
}
@media (max-width: 560px) {
  .h-article-title { font-size: 22px; }
  .h-post-nav { grid-template-columns: 1fr; }
  .h-article-share { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   ARCHIVE PAGE
   ═══════════════════════════════════════════════════════════════ */
.h-archive-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 2px solid var(--h-border);
  margin-bottom: 28px;
}
.h-archive-header-text { flex: 1; }
.h-archive-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--h-gold);
  display: block;
  margin-bottom: 6px;
}
.h-archive-title {
  font-family: var(--h-font-head);
  font-size: 32px;
  font-weight: 700;
  color: var(--h-text);
  margin: 0 0 6px;
}
.h-archive-desc {
  font-size: 15px;
  color: var(--h-text-2);
  margin: 0;
}
.h-archive-avatar {
  width: 80px !important;
  height: 80px !important;
  border-radius: 50% !important;
  object-fit: cover;
  flex-shrink: 0;
}
.h-archive-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}
.h-archive-main { min-width: 0; }

/* Featured first post (archive) */
.h-archive-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background: var(--h-card);
  border: 1px solid var(--h-border);
  border-radius: var(--h-radius);
  overflow: hidden;
  margin-bottom: 24px;
  transition: all var(--h-transition);
}
.h-archive-featured:hover { border-color: var(--h-green); }
.h-archive-featured-img {
  display: block;
  overflow: hidden;
}
.h-archive-featured-img img {
  width: 100%;
  height: 100%;
  max-height: 280px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.h-archive-featured:hover .h-archive-featured-img img { transform: scale(1.03); }
.h-archive-featured-body {
  padding: 20px 20px 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.h-archive-featured-title {
  font-family: var(--h-font-head);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--h-text);
  margin: 8px 0 12px;
}
.h-archive-featured-title a { color: inherit; }
.h-archive-featured-title a:hover { color: var(--h-gold); }
.h-archive-featured-excerpt {
  font-size: 14px;
  color: var(--h-text-2);
  line-height: 1.6;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.h-archive-featured-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--h-text-muted);
}

/* Pagination */
.h-pagination {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}
.h-pagination .page-numbers {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 6px;
}
.h-pagination .page-numbers li a,
.h-pagination .page-numbers li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: var(--h-card);
  border: 1px solid var(--h-border);
  font-size: 13px;
  font-weight: 600;
  color: var(--h-text-2);
  transition: all var(--h-transition);
  text-decoration: none;
}
.h-pagination .page-numbers li a:hover {
  border-color: var(--h-green);
  color: var(--h-text);
}
.h-pagination .page-numbers li .current {
  background: var(--h-green);
  color: #fff;
  border-color: var(--h-green);
}
.h-pagination .page-numbers li .prev,
.h-pagination .page-numbers li .next {
  width: auto;
  padding: 0 14px;
}

.h-no-posts {
  font-size: 15px;
  color: var(--h-text-muted);
  padding: 40px 0;
  text-align: center;
}

@media (max-width: 900px) {
  .h-archive-layout { grid-template-columns: 1fr; }
  .h-archive-featured { grid-template-columns: 1fr; }
  .h-archive-featured-body { padding: 0 16px 16px; }
}

/* ═══════════════════════════════════════════════════════════════
   STATIC PAGE
   ═══════════════════════════════════════════════════════════════ */
.h-page-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}
.h-page-article { min-width: 0; }
.h-page-hero-img {
  border-radius: var(--h-radius);
  overflow: hidden;
  margin-bottom: 24px;
}
.h-page-hero-img img { width: 100%; height: auto; }
.h-page-title {
  font-family: var(--h-font-head);
  font-size: 36px;
  font-weight: 700;
  color: var(--h-text);
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--h-border);
}
.h-page-content {
  font-size: 17px;
  line-height: 1.75;
  color: var(--h-text);
}
.h-page-content a { color: var(--h-green-light); text-decoration: underline; }
.h-page-content a:hover { color: var(--h-gold); }
.h-page-content h2 {
  font-family: var(--h-font-head);
  font-size: 24px;
  font-weight: 700;
  margin: 28px 0 12px;
}
.h-page-links {
  display: flex;
  gap: 6px;
  margin: 20px 0;
}
.h-page-links a {
  padding: 4px 10px;
  background: var(--h-card);
  border: 1px solid var(--h-border);
  border-radius: 4px;
  font-size: 13px;
}

@media (max-width: 900px) {
  .h-page-layout { grid-template-columns: 1fr; }
  .h-page-title { font-size: 28px; }
}

/* ═══════════════════════════════════════════════════════════════
   SEARCH & 404 PAGES
   ═══════════════════════════════════════════════════════════════ */
.h-no-results-suggestions {
  font-size: 14px;
  color: var(--h-text-2);
  margin: 12px 0;
}
.h-no-results-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}
.h-cat-browse-btn {
  background: var(--h-card);
  border: 1px solid var(--h-border);
  color: var(--h-text-2);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all var(--h-transition);
}
.h-cat-browse-btn:hover {
  border-color: var(--h-green);
  color: var(--h-green-light);
  background: var(--h-card2);
}

/* 404 */
.h-404-wrap {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
  padding: 40px 0;
}
.h-404-number {
  font-family: var(--h-font-head);
  font-size: 100px;
  font-weight: 700;
  color: var(--h-border);
  line-height: 1;
  margin-bottom: 8px;
}
.h-404-title {
  font-family: var(--h-font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--h-text);
  margin: 0 0 12px;
}
.h-404-desc {
  font-size: 15px;
  color: var(--h-text-2);
  margin: 0 0 24px;
  line-height: 1.6;
}
.h-404-search { margin-bottom: 24px; }
.h-404-sections-label {
  font-size: 13px;
  color: var(--h-text-muted);
  margin-bottom: 8px;
}
.h-btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--h-green);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 6px;
  margin-top: 20px;
  transition: background var(--h-transition);
}
.h-btn-primary:hover { background: var(--h-green-light); color: #fff; }
.h-404-latest { }
.h-404-latest-title {
  font-family: var(--h-font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--h-text);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--h-border);
}

@media (max-width: 768px) {
  .h-404-wrap { grid-template-columns: 1fr; }
  .h-404-number { font-size: 64px; }
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.h-site-footer {
  background: var(--h-bg-footer);
  border-top: 1px solid rgba(201,162,39,0.15);
  margin-top: 48px;
}
.h-footer-top {
  max-width: var(--h-container);
  margin: 0 auto;
  padding: 40px 16px 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
.h-footer-brand p {
  font-size: 13px;
  color: var(--h-text-muted);
  line-height: 1.6;
  margin: 12px 0 16px;
  max-width: 260px;
}
.h-footer-logo-text { color: #fff !important; }
.h-footer-social {
  display: flex;
  gap: 8px;
}
.h-footer-social-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  transition: all var(--h-transition);
}
.h-footer-social-icon:hover {
  background: var(--h-green);
  border-color: var(--h-green);
  color: #fff;
}
.h-footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--h-gold);
  margin: 0 0 14px;
}
.h-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.h-footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color var(--h-transition);
}
.h-footer-col ul li a:hover { color: var(--h-gold); }
.h-footer-bottom {
  max-width: var(--h-container);
  margin: 0 auto;
  padding: 16px 16px 80px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
}
.h-footer-bottom-links {
  display: flex;
  gap: 16px;
}
.h-footer-bottom-links a {
  color: rgba(255,255,255,0.3);
  font-size: 11px;
  transition: color var(--h-transition);
}
.h-footer-bottom-links a:hover { color: var(--h-gold); }

@media (max-width: 900px) {
  .h-footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .h-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .h-footer-top {
    grid-template-columns: 1fr;
    padding-bottom: 24px;
  }
  .h-footer-bottom { padding-bottom: 96px; }
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE BOTTOM NAV
   ═══════════════════════════════════════════════════════════════ */
.h-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 800;
  background: var(--h-bg-header);
  border-top: 1px solid var(--h-border);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.h-bottom-nav-inner {
  display: flex;
  align-items: stretch;
}
.h-bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 10px 4px;
  color: var(--h-text-muted);
  font-size: 10px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
  transition: all var(--h-transition);
}
.h-bottom-nav-item:hover,
.h-bottom-nav-item.active {
  color: var(--h-green-light);
}
.h-bottom-nav-item.active { color: var(--h-gold); }
.h-bottom-nav-icon { font-size: 18px; }

@media (max-width: 900px) {
  .h-bottom-nav { display: block; }
}

/* ═══════════════════════════════════════════════════════════════
   SCROLL TO TOP
   ═══════════════════════════════════════════════════════════════ */
.h-scroll-top {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 700;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--h-green);
  color: #fff;
  border: none;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all var(--h-transition);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.h-scroll-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.h-scroll-top:hover { background: var(--h-green-light); }

@media (min-width: 901px) {
  .h-scroll-top { bottom: 24px; }
}

/* ═══════════════════════════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════════════════════════ */
.h-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ── BLOCKSY ELEMENT RESET ─────────────────────────────────────── */
/* Suppress Blocksy's default body/content styling */
.ct-main-container,
.ct-container,
#main .ct-container { max-width: none !important; padding: 0 !important; }
