/* ==========================================================================
   TheTipsJournal Editorial Blog Theme — Main Stylesheet v2.0
   Real Editorial Magazine Aesthetic:
   Warm Alabaster (#FAF8F5) · Deep Royal Indigo (#26234D) · Terracotta (#D95D39)
   Fraunces Display Serif + Plus Jakarta Sans Body (17px mobile / 18px desktop)
   ========================================================================== */

:root {
  /* Core Surfaces & Paper (Crisp Pure White — Lets Colorful Sections Pop!) */
  --hf-bg: #FFFFFF;
  --hf-surface: #FFFFFF;
  --hf-surface-soft: #F7F8FA;
  --hf-footer-bg: #1757D8;
  --hf-border: #E9ECF2;
  --hf-border-strong: #D5DBE6;

  /* Ink & Typography */
  --hf-text: #1F1D2B;
  --hf-muted: #5F5C6E;

  /* Brand: Vibrant Cobalt Blue + Sunny Tangerine Orange + Marigold Sun */
  --hf-brand: #0B63E5;
  --hf-brand-hover: #084EB8;
  --hf-brand-soft: #E6F0FF;
  --hf-brand-on: #FFFFFF;

  --hf-accent: #F46B2A;
  --hf-accent-hover: #DC5618;
  --hf-accent-soft: #FFEADF;
  --hf-sun: #FFC83D;
  --hf-plum: #7B4AE2;

  /* Category Palettes (Joyful, Vivid & Distinct — Original Headspace-Inspired Energy) */
  --hf-rel-bg: #FFE6D8;
  --hf-rel-tint: #FFF3EC;
  --hf-rel-accent: #F05A28;
  --hf-rel-text: #942B0B;

  --hf-life-bg: #D8F5E8;
  --hf-life-tint: #EFFBF5;
  --hf-life-accent: #009B72;
  --hf-life-text: #065741;

  --hf-fit-bg: #DCEBFF;
  --hf-fit-tint: #EFF6FF;
  --hf-fit-accent: #0B63E5;
  --hf-fit-text: #093C8C;

  /* Editorial Callout Boxes */
  --hf-tip-bg: #E5F6D6;
  --hf-tip-text: #1F4D09;
  --hf-tip-border: #AFDC8B;

  --hf-mistake-bg: #FFE7E6;
  --hf-mistake-text: #861B19;
  --hf-mistake-border: #F5B1AE;

  --hf-example-bg: #FFF5E0;
  --hf-example-text: #1F1D2B;
  --hf-example-border: #F3D9A4;

  /* Active Category Contextual Defaults */
  --hf-cat-bg: var(--hf-life-bg);
  --hf-cat-tint: var(--hf-life-tint);
  --hf-cat-accent: var(--hf-life-accent);
  --hf-cat-text: var(--hf-life-text);

  /* Fonts */
  --hf-font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
  --hf-font-ui: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --hf-font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Geometry & Elevation */
  --hf-radius: 18px;
  --hf-radius-sm: 14px;
  --hf-radius-pill: 999px;
  --hf-shadow-sm: 0 3px 12px rgba(31, 29, 43, 0.055), 0 1px 3px rgba(31, 29, 43, 0.04);
  --hf-shadow-md: 0 12px 30px rgba(11, 99, 229, 0.09), 0 3px 8px rgba(31, 29, 43, 0.05);
  --hf-shadow-lg: 0 20px 46px rgba(11, 99, 229, 0.14), 0 6px 14px rgba(31, 29, 43, 0.06);

  /* Layout */
  --hf-container: 1220px;
  --hf-header-h: 74px;
}

/* Dark Mode — Only when user clicks toggle */
html[data-theme="dark"] {
  --hf-bg: #13131A;
  --hf-surface: #1B1B25;
  --hf-surface-soft: #222230;
  --hf-footer-bg: #181822;
  --hf-border: #2D2D3D;
  --hf-border-strong: #3E3E52;

  --hf-text: #F4F1EA;
  --hf-muted: #A9A6B5;

  --hf-brand: #A8A3F5;
  --hf-brand-hover: #C2BEFF;
  --hf-brand-soft: #272540;
  --hf-brand-on: #13131A;

  --hf-accent: #EE7A57;
  --hf-accent-hover: #F59273;
  --hf-accent-soft: #35211D;

  --hf-rel-bg: #35211D;
  --hf-rel-tint: #281B18;
  --hf-rel-accent: #EE7A57;
  --hf-rel-text: #FFD6C9;

  --hf-life-bg: #1A2E25;
  --hf-life-tint: #15241D;
  --hf-life-accent: #52B788;
  --hf-life-text: #D1F2E2;

  --hf-fit-bg: #1B2740;
  --hf-fit-tint: #162034;
  --hf-fit-accent: #6E9DF5;
  --hf-fit-text: #D7E6FF;

  --hf-tip-bg: #1F2F18;
  --hf-tip-text: #CCE8AA;
  --hf-tip-border: #365229;

  --hf-mistake-bg: #361C1E;
  --hf-mistake-text: #F8C4C4;
  --hf-mistake-border: #5F2E31;

  --hf-example-bg: #22212E;
  --hf-example-text: #ECE9E2;
  --hf-example-border: #37354A;

  --hf-shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.28);
  --hf-shadow-md: 0 12px 30px rgba(0, 0, 0, 0.36);
  --hf-shadow-lg: 0 20px 44px rgba(0, 0, 0, 0.48);
}

/* Category Context Modifiers */
.hf-cat-relationships {
  --hf-cat-bg: var(--hf-rel-bg);
  --hf-cat-tint: var(--hf-rel-tint);
  --hf-cat-accent: var(--hf-rel-accent);
  --hf-cat-text: var(--hf-rel-text);
}
.hf-cat-lifestyle {
  --hf-cat-bg: var(--hf-life-bg);
  --hf-cat-tint: var(--hf-life-tint);
  --hf-cat-accent: var(--hf-life-accent);
  --hf-cat-text: var(--hf-life-text);
}
.hf-cat-fitness {
  --hf-cat-bg: var(--hf-fit-bg);
  --hf-cat-tint: var(--hf-fit-tint);
  --hf-cat-accent: var(--hf-fit-accent);
  --hf-cat-text: var(--hf-fit-text);
}

/* ==========================================================================
   Reset & Editorial Typography
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: var(--hf-bg);
  color: var(--hf-text);
  font-family: var(--hf-font-body);
  font-size: 17px;
  line-height: 1.72;
  font-weight: 400;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 768px) {
  body { font-size: 18px; }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--hf-font-heading);
  color: var(--hf-text);
  font-weight: 600;
  line-height: 1.22;
  margin-top: 0;
  letter-spacing: -0.015em;
  font-variation-settings: "SOFT" 50, "WONK" 0;
}

h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 3vw, 1.95rem); }
h3 { font-size: clamp(1.12rem, 2vw, 1.32rem); }
h4 { font-size: 1.04rem; }

p { margin: 0 0 1.15em; }

a {
  color: var(--hf-brand);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 0.16s ease, opacity 0.16s ease;
}
a:hover { color: var(--hf-accent); }

img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--hf-accent); outline-offset: 2px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 999;
  background: var(--hf-brand); color: var(--hf-brand-on);
  padding: 10px 18px; border-radius: 10px; text-decoration: none; font-weight: 600;
}
.skip-link:focus { left: 12px; }

/* ==========================================================================
   Container, Section Headers, Buttons & Badges
   ========================================================================== */
.hf-container {
  width: 100%;
  max-width: var(--hf-container);
  margin-inline: auto;
  padding-inline: 18px;
}
@media (min-width: 768px) {
  .hf-container { padding-inline: 28px; }
}

.hf-section { padding-block: 44px; }
@media (min-width: 768px) {
  .hf-section { padding-block: 62px; }
}

.hf-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 26px;
  padding-bottom: 14px;
  border-bottom: 1.5px solid var(--hf-border);
}

.hf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--hf-font-ui);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hf-accent);
  margin-bottom: 6px;
}

.hf-section-head h2 { margin-bottom: 4px; }
.hf-section-sub { margin: 0; color: var(--hf-muted); font-size: 0.94rem; }

.hf-link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--hf-font-ui);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  color: var(--hf-brand);
  white-space: nowrap;
}
.hf-link-more:hover { color: var(--hf-accent); gap: 9px; }

/* Buttons */
.hf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--hf-radius-pill);
  border: 1.5px solid transparent;
  font-family: var(--hf-font-ui);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.16s ease;
}
.hf-btn-primary {
  background: var(--hf-brand);
  color: var(--hf-brand-on);
}
.hf-btn-primary:hover {
  background: var(--hf-brand-hover);
  color: var(--hf-brand-on);
  transform: translateY(-1px);
  box-shadow: var(--hf-shadow-sm);
}
.hf-btn-accent {
  background: var(--hf-accent);
  color: #FFFFFF;
}
.hf-btn-accent:hover {
  background: var(--hf-accent-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: var(--hf-shadow-sm);
}
.hf-btn-outline {
  background: var(--hf-surface);
  color: var(--hf-brand);
  border-color: var(--hf-border-strong);
}
.hf-btn-outline:hover {
  border-color: var(--hf-brand);
  background: var(--hf-brand-soft);
  color: var(--hf-brand);
}

/* Badges */
.hf-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--hf-radius-pill);
  font-family: var(--hf-font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-decoration: none;
  background: var(--hf-cat-bg);
  color: var(--hf-cat-text);
}
.hf-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--hf-cat-accent); flex-shrink: 0;
}
.hf-badge-relationships { background: var(--hf-rel-bg); color: var(--hf-rel-text); }
.hf-badge-relationships .hf-badge-dot { background: var(--hf-rel-accent); }
.hf-badge-lifestyle { background: var(--hf-life-bg); color: var(--hf-life-text); }
.hf-badge-lifestyle .hf-badge-dot { background: var(--hf-life-accent); }
.hf-badge-fitness { background: var(--hf-fit-bg); color: var(--hf-fit-text); }
.hf-badge-fitness .hf-badge-dot { background: var(--hf-fit-accent); }

/* ==========================================================================
   1. Editorial Top Utility Strip + Sticky White Header
   ========================================================================== */
.hf-topbar {
  background: linear-gradient(90deg, #F46B2A 0%, #FF9636 52%, #FFC83D 100%);
  border-bottom: 0;
  font-size: 0.8rem;
  color: #1F1D2B;
  font-weight: 600;
  display: none;
}
@media (min-width: 768px) {
  .hf-topbar { display: block; }
}
.hf-topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.hf-topbar-links {
  display: flex;
  align-items: center;
  gap: 16px;
}
.hf-topbar-links a {
  color: #1F1D2B;
  text-decoration: none;
  font-weight: 700;
}
.hf-topbar-links a:hover { text-decoration: underline; }

.hf-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--hf-border);
  backdrop-filter: blur(12px);
}
html[data-theme="dark"] .hf-header {
  background: rgba(27, 27, 37, 0.95);
}

.hf-header-inner {
  min-height: var(--hf-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hf-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--hf-text);
  flex-shrink: 0;
}
.hf-brand-mark { width: 38px; height: 38px; flex-shrink: 0; }
.hf-brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.hf-brand-name {
  font-family: var(--hf-font-heading);
  font-weight: 700;
  font-size: 1.48rem;
  letter-spacing: -0.025em;
  color: var(--hf-brand);
}
.hf-brand-tag {
  font-family: var(--hf-font-ui);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hf-accent);
  margin-top: 2px;
}

.hf-nav { display: none; }
.hf-nav-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 4px;
}
.hf-nav-list a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--hf-radius-pill);
  font-family: var(--hf-font-ui);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--hf-text);
  text-decoration: none;
  transition: all 0.15s ease;
}
.hf-nav-list a:hover,
.hf-nav-list a[aria-current="page"],
.hf-nav-list li.current-menu-item > a {
  background: var(--hf-brand-soft);
  color: var(--hf-brand);
}

.hf-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hf-header-sub-btn {
  display: none;
  padding: 8px 16px;
  font-size: 0.84rem;
}
@media (min-width: 1024px) {
  .hf-header-sub-btn { display: inline-flex; }
}

.hf-icon-btn {
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid var(--hf-border);
  background: var(--hf-surface);
  color: var(--hf-text);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.hf-icon-btn:hover {
  background: var(--hf-brand-soft);
  border-color: var(--hf-brand);
  color: var(--hf-brand);
}

.hf-icon-sun { display: none; }
html[data-theme="dark"] .hf-icon-moon { display: none; }
html[data-theme="dark"] .hf-icon-sun { display: inline-flex; }

@media (min-width: 900px) {
  .hf-nav { display: block; }
  .hf-menu-toggle { display: none; }
}

.hf-mobile-drawer {
  display: none;
  background: var(--hf-surface);
  border-top: 1px solid var(--hf-border);
  padding: 14px 18px 20px;
}
.hf-mobile-drawer.is-open { display: block; }
.hf-mobile-drawer .hf-nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
.hf-mobile-drawer .hf-nav-list a { padding: 11px 14px; border-radius: 12px; font-size: 0.98rem; }

.hf-search-bar {
  display: none;
  background: var(--hf-surface);
  border-top: 1px solid var(--hf-border);
  padding: 14px 0;
}
.hf-search-bar.is-open { display: block; }
.hf-search-bar-form { display: flex; align-items: center; gap: 10px; }
.hf-search-bar-input {
  flex: 1; min-width: 0; padding: 11px 16px;
  border-radius: 12px; border: 1.5px solid var(--hf-border-strong);
  background: var(--hf-bg); font-size: 0.96rem;
}
.hf-search-bar-input:focus { border-color: var(--hf-brand); outline: none; }

/* ==========================================================================
   2. MAGAZINE EDITORIAL HERO (Real Cover Story Photo + Editor's Picks Rail)
   ========================================================================== */
.hf-ed-hero {
  background: radial-gradient(circle at 8% 12%, #FFE5C4 0%, transparent 45%),
              radial-gradient(circle at 92% 18%, #D8F5E8 0%, transparent 42%),
              linear-gradient(180deg, #FFF5E2 0%, var(--hf-bg) 100%);
  border-bottom: 1px solid var(--hf-border);
  padding-block: 28px 42px;
}
html[data-theme="dark"] .hf-ed-hero {
  background: linear-gradient(180deg, #1E1D2D 0%, var(--hf-bg) 100%);
}
@media (min-width: 960px) {
  .hf-ed-hero { padding-block: 36px 48px; }
}

.hf-ed-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}
@media (min-width: 980px) {
  .hf-ed-hero-grid {
    grid-template-columns: minmax(0, 1.52fr) minmax(320px, 1fr);
    gap: 28px;
  }
}

/* Main Cover Feature Card */
.hf-cover-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--hf-surface);
  border: 1px solid var(--hf-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--hf-shadow-md);
}
.hf-cover-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--hf-surface-soft);
}
.hf-cover-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.45s ease;
}
.hf-cover-card:hover .hf-cover-media img { transform: scale(1.03); }

.hf-cover-kicker {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(38, 35, 77, 0.9);
  color: #FFFFFF;
  padding: 5px 13px;
  border-radius: var(--hf-radius-pill);
  font-family: var(--hf-font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.hf-cover-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
@media (min-width: 768px) {
  .hf-cover-body { padding: 26px 30px 28px; }
}

.hf-cover-body h1 {
  font-size: clamp(1.55rem, 3.2vw, 2.25rem);
  margin: 0;
  line-height: 1.18;
}
.hf-cover-body h1 a {
  color: var(--hf-text);
  text-decoration: none;
}
.hf-cover-body h1 a:hover { color: var(--hf-accent); }

.hf-cover-deck {
  margin: 0;
  color: var(--hf-muted);
  font-size: 0.98rem;
  line-height: 1.62;
}

.hf-cover-foot {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--hf-border);
}

/* Right Rail: Search + Editor's Picks */
.hf-hero-rail {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hf-rail-search-card {
  background: var(--hf-surface);
  border: 1px solid var(--hf-border);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: var(--hf-shadow-sm);
}
.hf-rail-search-title {
  font-family: var(--hf-font-heading);
  font-size: 1.08rem;
  margin: 0 0 10px;
}

.hf-hero-search {
  display: flex;
  align-items: center;
  background: var(--hf-bg);
  border: 1.5px solid var(--hf-border-strong);
  border-radius: 12px;
  padding: 4px 4px 4px 12px;
  gap: 8px;
  margin-bottom: 12px;
}
.hf-hero-search:focus-within {
  border-color: var(--hf-brand);
  box-shadow: 0 0 0 3px rgba(38, 35, 77, 0.1);
}
.hf-hero-search-icon { color: var(--hf-muted); display: inline-flex; flex-shrink: 0; }
.hf-hero-search input {
  flex: 1; min-width: 0; border: 0; background: transparent;
  padding: 8px 4px; font-size: 0.92rem; color: var(--hf-text);
}
.hf-hero-search input:focus { outline: none; }
.hf-hero-search .hf-btn { padding: 8px 14px; border-radius: 9px; font-size: 0.84rem; }

.hf-hero-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hf-chip {
  display: inline-flex; align-items: center;
  padding: 5px 11px; border-radius: var(--hf-radius-pill);
  background: var(--hf-surface-soft);
  border: 1px solid var(--hf-border);
  color: var(--hf-text);
  font-size: 0.78rem; font-weight: 600;
  text-decoration: none; transition: all 0.15s ease;
}
.hf-chip:hover {
  background: var(--hf-brand);
  border-color: var(--hf-brand);
  color: var(--hf-brand-on);
}

/* Editor's Picks Card Stack */
.hf-picks-card {
  background: var(--hf-surface);
  border: 1px solid var(--hf-border);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: var(--hf-shadow-sm);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.hf-picks-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 1px solid var(--hf-border);
}
.hf-picks-head h2 {
  font-size: 1.05rem; margin: 0;
}
.hf-picks-list {
  display: flex; flex-direction: column; gap: 14px; flex: 1; justify-content: space-between;
}
.hf-pick-item {
  display: flex; align-items: center; gap: 13px;
  text-decoration: none; color: inherit;
}
.hf-pick-thumb {
  width: 82px; height: 68px; border-radius: 11px; overflow: hidden;
  flex-shrink: 0; background: var(--hf-surface-soft);
}
.hf-pick-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.hf-pick-item:hover .hf-pick-thumb img { transform: scale(1.06); }
.hf-pick-info { min-width: 0; flex: 1; }
.hf-pick-cat {
  display: block; font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--hf-cat-accent); margin-bottom: 3px;
}
.hf-pick-info h3 {
  font-size: 0.94rem; line-height: 1.32; margin: 0 0 3px;
  color: var(--hf-text);
}
.hf-pick-item:hover h3 { color: var(--hf-accent); }
.hf-pick-meta { font-size: 0.76rem; color: var(--hf-muted); }

/* ==========================================================================
   3. TRENDING RIGHT NOW STRIP (Numbered Editorial Rail 01–04)
   ========================================================================== */
.hf-trending-band {
  background: var(--hf-surface);
  border-bottom: 1px solid var(--hf-border);
  padding-block: 22px;
}
.hf-trending-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .hf-trending-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .hf-trending-grid { grid-template-columns: repeat(4, 1fr); gap: 22px; }
}
.hf-trend-item {
  display: flex; align-items: flex-start; gap: 12px;
  text-decoration: none; color: var(--hf-text);
}
.hf-trend-num {
  font-family: var(--hf-font-heading);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--hf-accent);
  opacity: 0.82;
  flex-shrink: 0;
}
.hf-trend-item h3 {
  font-family: var(--hf-font-ui);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.38;
  margin: 0 0 4px;
}
.hf-trend-item:hover h3 { color: var(--hf-accent); }
.hf-trend-item span { font-size: 0.76rem; color: var(--hf-muted); }

/* ==========================================================================
   4. PHOTOGRAPHIC CATEGORY HUB CARDS (Real Photo Top + Editorial Pastel Panel)
   ========================================================================== */
.hf-cat-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
@media (min-width: 768px) {
  .hf-cat-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
.hf-cat-card {
  display: flex; flex-direction: column;
  border-radius: 18px; overflow: hidden;
  background: var(--hf-cat-bg);
  border: 1px solid rgba(38, 35, 77, 0.08);
  text-decoration: none; color: var(--hf-text);
  box-shadow: var(--hf-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hf-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hf-shadow-md);
  color: var(--hf-text);
}
.hf-cat-card-photo {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.hf-cat-card-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.35s ease;
}
.hf-cat-card:hover .hf-cat-card-photo img { transform: scale(1.04); }
.hf-cat-card-icon {
  position: absolute; bottom: 12px; left: 16px;
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--hf-surface); color: var(--hf-cat-accent);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.14);
}
.hf-cat-card-inner {
  padding: 20px 22px 22px;
  display: flex; flex-direction: column; gap: 8px; flex: 1;
}
.hf-cat-card h3 { margin: 0; font-size: 1.24rem; }
.hf-cat-card p { margin: 0; color: var(--hf-muted); font-size: 0.9rem; line-height: 1.55; }
.hf-cat-card-count {
  margin-top: auto; padding-top: 8px;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--hf-font-ui); font-weight: 700; font-size: 0.86rem;
  color: var(--hf-cat-text);
}

/* ==========================================================================
   5. MAGAZINE POST CARDS (Crisp Photo + Author + Read Time)
   ========================================================================== */
.hf-card-grid {
  display: grid; grid-template-columns: 1fr; gap: 22px;
}
@media (min-width: 640px) {
  .hf-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .hf-card-grid { grid-template-columns: repeat(3, 1fr); gap: 26px; }
}

.hf-card-grid-4 {
  display: grid; grid-template-columns: 1fr; gap: 18px;
}
@media (min-width: 640px) {
  .hf-card-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .hf-card-grid-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}

.hf-card {
  display: flex; flex-direction: column;
  background: var(--hf-surface);
  border: 1px solid var(--hf-border);
  border-radius: var(--hf-radius);
  overflow: hidden;
  box-shadow: var(--hf-shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.hf-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--hf-shadow-md);
  border-color: var(--hf-border-strong);
}
.hf-card-thumb {
  display: block; aspect-ratio: 16 / 10; overflow: hidden;
  background: var(--hf-surface-soft);
}
.hf-card-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.35s ease;
}
.hf-card:hover .hf-card-thumb img { transform: scale(1.04); }
.hf-card-body {
  display: flex; flex-direction: column; flex: 1;
  padding: 18px 20px 20px; gap: 10px;
}
.hf-card-title { margin: 0; font-size: 1.12rem; line-height: 1.32; }
.hf-card-title a { color: var(--hf-text); text-decoration: none; }
.hf-card-title a:hover { color: var(--hf-accent); }
.hf-card-excerpt { margin: 0; font-size: 0.88rem; color: var(--hf-muted); line-height: 1.55; }
.hf-card-meta {
  margin-top: auto; padding-top: 10px;
  border-top: 1px solid var(--hf-border);
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; font-size: 0.8rem; color: var(--hf-muted);
}
.hf-card-meta span { display: inline-flex; align-items: center; gap: 5px; }
.hf-mini-author { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--hf-text); }
.hf-mini-author img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }

/* ==========================================================================
   6. EDITORIAL SPLIT FEATURE SPOTLIGHT (Real Magazine Showcase)
   ========================================================================== */
.hf-feature-split {
  background: var(--hf-surface);
  border: 1px solid var(--hf-border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--hf-shadow-md);
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .hf-feature-split { grid-template-columns: 1.05fr 1fr; }
}
.hf-feature-photo {
  min-height: 280px;
  position: relative;
  overflow: hidden;
}
.hf-feature-photo img { width: 100%; height: 100%; object-fit: cover; }
.hf-feature-copy {
  padding: 28px 24px;
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
}
@media (min-width: 900px) {
  .hf-feature-copy { padding: 40px 44px; }
}
.hf-feature-copy h2 { font-size: clamp(1.5rem, 2.8vw, 2.05rem); margin: 0; }
.hf-feature-steps {
  list-style: none; margin: 4px 0 8px; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 0.92rem; color: var(--hf-muted);
}
.hf-feature-steps li { display: flex; align-items: center; gap: 10px; }
.hf-feature-steps b {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--hf-life-bg); color: var(--hf-life-text);
  font-size: 0.78rem; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ==========================================================================
   7. QUICK ANSWERS MAGAZINE STRIP
   ========================================================================== */
.hf-qa-strip {
  background: var(--hf-surface-soft);
  border-block: 1px solid var(--hf-border);
}
.hf-qa-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .hf-qa-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hf-qa-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }

.hf-qa-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 20px; background: var(--hf-surface);
  border: 1px solid var(--hf-border);
  border-top: 4px solid var(--hf-cat-accent);
  border-radius: var(--hf-radius-sm);
  box-shadow: var(--hf-shadow-sm);
}
.hf-qa-card h3 { margin: 0; font-size: 1.04rem; line-height: 1.32; }
.hf-qa-card h3 a { color: var(--hf-text); text-decoration: none; }
.hf-qa-card h3 a:hover { color: var(--hf-accent); }
.hf-qa-card p { margin: 0; font-size: 0.88rem; color: var(--hf-muted); line-height: 1.58; }
.hf-qa-card .hf-link-more { margin-top: auto; padding-top: 4px; font-size: 0.84rem; }

/* ==========================================================================
   8. LATEST GUIDES + REAL BLOG SIDEBAR FEED (2-Column Editorial Feed)
   ========================================================================== */
.hf-blog-feed-layout {
  display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start;
}
@media (min-width: 1024px) {
  .hf-blog-feed-layout { grid-template-columns: minmax(0, 1fr) 330px; gap: 40px; }
}

.hf-feed-list { display: flex; flex-direction: column; gap: 18px; }
.hf-feed-row {
  display: grid; grid-template-columns: 1fr; gap: 16px;
  padding: 16px;
  background: var(--hf-surface);
  border: 1px solid var(--hf-border);
  border-radius: var(--hf-radius);
  box-shadow: var(--hf-shadow-sm);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
@media (min-width: 600px) {
  .hf-feed-row { grid-template-columns: 230px minmax(0, 1fr); align-items: center; gap: 20px; }
}
.hf-feed-row:hover { border-color: var(--hf-brand); box-shadow: var(--hf-shadow-md); }
.hf-feed-thumb {
  display: block; aspect-ratio: 16 / 10; border-radius: 12px;
  overflow: hidden; background: var(--hf-surface-soft);
}
.hf-feed-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.hf-feed-row:hover .hf-feed-thumb img { transform: scale(1.04); }
.hf-feed-info { display: flex; flex-direction: column; gap: 7px; }
.hf-feed-info h3 { margin: 0; font-size: 1.18rem; line-height: 1.3; }
.hf-feed-info h3 a { color: var(--hf-text); text-decoration: none; }
.hf-feed-info h3 a:hover { color: var(--hf-accent); }
.hf-feed-info p { margin: 0; font-size: 0.89rem; color: var(--hf-muted); line-height: 1.56; }
.hf-feed-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 0.79rem; color: var(--hf-muted); }

/* ==========================================================================
   9. CATEGORY SPOTLIGHT BANDS & NEWSLETTER BAND
   ========================================================================== */
.hf-spotlight {
  background: var(--hf-cat-tint);
  border-top: 1px solid var(--hf-border);
  padding-block: 48px;
}
@media (min-width: 768px) { .hf-spotlight { padding-block: 58px; } }

.hf-newsletter-section { padding-block: 52px; }
.hf-newsletter-box {
  background: linear-gradient(130deg, #0B63E5 0%, #2648C7 55%, #6A42D9 100%);
  color: #FFFFFF;
  border-radius: 24px;
  padding: 36px 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  box-shadow: var(--hf-shadow-lg);
}
.hf-newsletter-box .hf-btn-accent {
  background: #FFC83D;
  color: #1F1D2B;
}
.hf-newsletter-box .hf-btn-accent:hover {
  background: #FFD466;
  color: #1F1D2B;
}
html[data-theme="dark"] .hf-newsletter-box {
  background: #232148;
  color: #F4F1EA;
}
@media (min-width: 860px) {
  .hf-newsletter-box {
    grid-template-columns: 1.2fr 1fr;
    padding: 46px 50px;
    gap: 40px;
  }
}
.hf-newsletter-box h2 { color: #FFFFFF; margin-bottom: 8px; }
.hf-newsletter-box p { color: rgba(255,255,255,0.82); margin: 0; font-size: 0.96rem; }
.hf-newsletter-form {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.hf-newsletter-form input {
  flex: 1; min-width: 210px;
  padding: 13px 16px; border-radius: var(--hf-radius-pill);
  border: 1.5px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.12);
  color: #FFFFFF; font-size: 0.94rem;
}
.hf-newsletter-form input::placeholder { color: rgba(255,255,255,0.72); }
.hf-newsletter-form input:focus { outline: none; border-color: #FFFFFF; background: rgba(255,255,255,0.18); }

/* ==========================================================================
   10. MEET THE EDITORS / ABOUT STRIP
   ========================================================================== */
.hf-about-strip { background: var(--hf-bg); border-top: 1px solid var(--hf-border); }
.hf-about-box {
  background: var(--hf-surface);
  border: 1px solid var(--hf-border);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: var(--hf-shadow-sm);
  display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center;
}
@media (min-width: 880px) {
  .hf-about-box { grid-template-columns: 1.25fr 1fr; padding: 38px 42px; gap: 40px; }
}
.hf-editors-mini { display: flex; flex-direction: column; gap: 12px; }
.hf-editor-pill {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 14px;
  background: var(--hf-surface-soft); border: 1px solid var(--hf-border);
}
.hf-editor-pill img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.hf-editor-pill strong { display: block; font-size: 0.94rem; }
.hf-editor-pill span { font-size: 0.8rem; color: var(--hf-muted); }

/* ==========================================================================
   11. FOOTER (Warm Editorial Sand #EFEAE0 — Never Black)
   ========================================================================== */
.hf-footer {
  background: var(--hf-footer-bg);
  border-top: 1px solid var(--hf-border);
  color: var(--hf-text);
  padding-block: 52px 30px;
}
.hf-footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 30px; margin-bottom: 36px;
}
@media (min-width: 680px) { .hf-footer-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
@media (min-width: 960px) { .hf-footer-grid { grid-template-columns: 1.6fr 1fr 1.1fr 0.9fr; gap: 36px; } }
.hf-footer-desc { margin: 12px 0 18px; color: var(--hf-muted); font-size: 0.9rem; max-width: 330px; }
.hf-footer h3 { font-family: var(--hf-font-ui); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; color: var(--hf-brand); }
.hf-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.hf-footer li a { color: var(--hf-muted); text-decoration: none; font-size: 0.9rem; }
.hf-footer li a:hover { color: var(--hf-accent); text-decoration: underline; }
.hf-social-row { display: flex; align-items: center; gap: 10px; }
.hf-social-link {
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--hf-surface); border: 1px solid var(--hf-border);
  color: var(--hf-brand); display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; transition: all 0.16s ease;
}
.hf-social-link:hover { border-color: var(--hf-accent); color: var(--hf-accent); transform: translateY(-2px); }
.hf-footer-bottom {
  border-top: 1px solid var(--hf-border-strong);
  padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 10px; font-size: 0.83rem; color: var(--hf-muted);
}

/* ==========================================================================
   SINGLE ARTICLE LAYOUT (12-part structure + Editorial Blocks + Sidebar)
   ========================================================================== */
.hf-article-shell { padding-block: 26px 60px; }
@media (min-width: 960px) { .hf-article-shell { padding-block: 38px 76px; } }

.hf-article-layout {
  display: grid; grid-template-columns: 1fr; gap: 36px; align-items: start;
}
@media (min-width: 1024px) {
  .hf-article-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 46px; }
}

.hf-breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  font-size: 0.84rem; color: var(--hf-muted); margin-bottom: 16px;
}
.hf-breadcrumb a { color: var(--hf-muted); text-decoration: none; }
.hf-breadcrumb a:hover { color: var(--hf-accent); text-decoration: underline; }
.hf-breadcrumb-sep { opacity: 0.55; }

.hf-article-header { margin-bottom: 22px; }
.hf-article-header .hf-badge { margin-bottom: 12px; }
.hf-article-header h1 { margin-bottom: 14px; }

.hf-meta-line {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  font-size: 0.86rem; color: var(--hf-muted);
}
.hf-meta-author {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--hf-text); font-weight: 600; text-decoration: none;
}
.hf-meta-author img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--hf-border); }

.hf-featured-media {
  margin: 0 0 26px; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--hf-border); box-shadow: var(--hf-shadow-sm);
}
.hf-featured-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.hf-quick-answer {
  background: var(--hf-cat-bg);
  border-left: 5px solid var(--hf-cat-accent);
  border-radius: 0 var(--hf-radius-sm) var(--hf-radius-sm) 0;
  padding: 20px 24px; margin: 0 0 24px;
}
.hf-quick-answer-label {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--hf-font-ui); font-size: 0.76rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--hf-cat-text); margin-bottom: 8px;
}
.hf-quick-answer p { margin: 0; color: var(--hf-text); font-size: 1rem; line-height: 1.66; }

.hf-toc {
  background: var(--hf-surface); border: 1px solid var(--hf-border);
  border-radius: var(--hf-radius-sm); margin: 0 0 28px;
  box-shadow: var(--hf-shadow-sm); overflow: hidden;
}
.hf-toc-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 15px 18px; background: transparent; border: 0;
  cursor: pointer; font-family: var(--hf-font-ui); font-weight: 700;
  font-size: 0.94rem; color: var(--hf-brand); text-align: left;
}
.hf-toc-toggle-left { display: inline-flex; align-items: center; gap: 9px; }
.hf-toc-chevron { transition: transform 0.2s ease; color: var(--hf-muted); }
.hf-toc[data-open="true"] .hf-toc-chevron { transform: rotate(180deg); }
.hf-toc-body { display: none; padding: 0 18px 16px; border-top: 1px solid var(--hf-border); }
.hf-toc[data-open="true"] .hf-toc-body { display: block; }
.hf-toc-list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.hf-toc-list a { text-decoration: none; color: var(--hf-muted); font-size: 0.9rem; }
.hf-toc-list a:hover { color: var(--hf-accent); text-decoration: underline; }
.hf-toc-list .hf-toc-sub { padding-left: 16px; font-size: 0.86rem; }

/* Article Body & Classic Editor Blocks */
.hf-content > h2 { margin-top: 2em; margin-bottom: 0.65em; scroll-margin-top: 88px; }
.hf-content > h3 { margin-top: 1.55em; margin-bottom: 0.55em; scroll-margin-top: 88px; }
.hf-content ul, .hf-content ol { margin: 0 0 1.25em; padding-left: 1.35em; }
.hf-content li { margin-bottom: 0.45em; }

.hf-steps {
  list-style: none !important; padding-left: 0 !important;
  margin: 24px 0 28px !important; display: flex; flex-direction: column; gap: 14px;
  counter-reset: hf-step;
}
.hf-step {
  display: flex; align-items: flex-start; gap: 15px;
  padding: 18px 20px; background: var(--hf-surface);
  border: 1px solid var(--hf-border); border-radius: var(--hf-radius-sm);
  box-shadow: var(--hf-shadow-sm); margin-bottom: 0 !important; counter-increment: hf-step;
}
.hf-step::before {
  content: counter(hf-step);
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--hf-brand); color: var(--hf-brand-on);
  font-family: var(--hf-font-ui); font-weight: 700; font-size: 0.9rem;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;
}
.hf-step-title { display: block; font-family: var(--hf-font-ui); font-weight: 700; font-size: 1rem; color: var(--hf-text); margin-bottom: 4px; }
.hf-step-body p { margin: 0; font-size: 0.94rem; color: var(--hf-muted); }

.hf-tip {
  background: var(--hf-tip-bg); color: var(--hf-tip-text);
  border: 1px solid var(--hf-tip-border); border-radius: var(--hf-radius-sm);
  padding: 18px 20px; margin: 24px 0; display: flex; align-items: flex-start; gap: 13px;
}
.hf-tip-icon { flex-shrink: 0; margin-top: 2px; }
.hf-tip-body p { margin: 0; font-size: 0.95rem; }

.hf-mistake {
  background: var(--hf-mistake-bg); color: var(--hf-mistake-text);
  border: 1px solid var(--hf-mistake-border); border-radius: var(--hf-radius-sm);
  padding: 18px 20px; margin: 24px 0; display: flex; align-items: flex-start; gap: 13px;
}
.hf-mistake-icon { flex-shrink: 0; margin-top: 2px; }
.hf-mistake-body p { margin: 0; font-size: 0.95rem; }

.hf-do-dont-wrap {
  margin: 26px 0; overflow-x: auto; border-radius: var(--hf-radius-sm);
  border: 1px solid var(--hf-border); box-shadow: var(--hf-shadow-sm);
}
.hf-do-dont { width: 100%; border-collapse: collapse; background: var(--hf-surface); font-size: 0.94rem; }
.hf-do-dont th { padding: 13px 18px; text-align: left; font-family: var(--hf-font-ui); font-weight: 700; width: 50%; }
.hf-do-dont th:first-child { background: var(--hf-tip-bg); color: var(--hf-tip-text); border-right: 1px solid var(--hf-border); }
.hf-do-dont th:last-child { background: var(--hf-mistake-bg); color: var(--hf-mistake-text); }
.hf-do-dont td { padding: 13px 18px; vertical-align: top; border-top: 1px solid var(--hf-border); }
.hf-do-dont td:first-child { border-right: 1px solid var(--hf-border); }

.hf-example {
  background: var(--hf-example-bg);
  border: 1px solid var(--hf-example-border);
  border-left: 4px solid var(--hf-accent);
  border-radius: 0 var(--hf-radius-sm) var(--hf-radius-sm) 0;
  padding: 18px 22px; margin: 24px 0;
}
.hf-example-label {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--hf-font-ui); font-size: 0.76rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--hf-accent); margin-bottom: 8px;
}
.hf-example p:last-child { margin-bottom: 0; }

.hf-figure {
  margin: 26px 0; background: var(--hf-surface);
  border: 1px solid var(--hf-border); border-radius: var(--hf-radius-sm); overflow: hidden;
}
.hf-figure figcaption { padding: 11px 16px; font-size: 0.85rem; color: var(--hf-muted); border-top: 1px solid var(--hf-border); }

.hf-video { margin: 26px 0; border-radius: var(--hf-radius-sm); overflow: hidden; border: 1px solid var(--hf-border); background: var(--hf-surface-soft); }
.hf-video-frame { position: relative; aspect-ratio: 16 / 9; width: 100%; }
.hf-video-frame iframe, .hf-video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hf-video-caption { padding: 10px 16px; font-size: 0.85rem; color: var(--hf-muted); display: flex; align-items: center; gap: 8px; }

.hf-takeaways {
  background: var(--hf-surface); border: 1.5px solid var(--hf-brand);
  border-radius: var(--hf-radius); padding: 22px 24px; margin: 30px 0; box-shadow: var(--hf-shadow-sm);
}
.hf-takeaways-title {
  display: flex; align-items: center; gap: 9px; font-size: 1.15rem; color: var(--hf-brand); margin: 0 0 12px;
}
.hf-takeaways ul { list-style: none !important; padding-left: 0 !important; margin: 0 !important; display: flex; flex-direction: column; gap: 9px; }
.hf-takeaways li { position: relative; padding-left: 22px; margin: 0; font-size: 0.95rem; }
.hf-takeaways li::before {
  content: ""; position: absolute; left: 0; top: 10px; width: 9px; height: 9px;
  border-radius: 50%; background: var(--hf-accent);
}

.hf-faq-section { margin: 34px 0; }
.hf-faq-list { display: flex; flex-direction: column; gap: 10px; }
.hf-faq-item { background: var(--hf-surface); border: 1px solid var(--hf-border); border-radius: var(--hf-radius-sm); overflow: hidden; }
.hf-faq-item[open] { border-color: var(--hf-brand); }
.hf-faq-item summary {
  list-style: none; cursor: pointer; padding: 16px 46px 16px 18px;
  font-family: var(--hf-font-ui); font-weight: 700; font-size: 0.98rem; position: relative;
}
.hf-faq-item summary::-webkit-details-marker { display: none; }
.hf-faq-item summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-size: 1.3rem; color: var(--hf-accent);
}
.hf-faq-item[open] summary::after { content: "\2212"; }
.hf-faq-answer { padding: 12px 18px 16px; color: var(--hf-muted); font-size: 0.95rem; border-top: 1px solid var(--hf-border); }
.hf-faq-answer p:last-child { margin-bottom: 0; }

.hf-author-box {
  display: flex; flex-direction: column; gap: 16px; padding: 24px;
  background: var(--hf-surface); border: 1px solid var(--hf-border);
  border-radius: var(--hf-radius); margin: 34px 0; box-shadow: var(--hf-shadow-sm);
}
@media (min-width: 540px) { .hf-author-box { flex-direction: row; align-items: center; } }
.hf-author-avatar { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 2px solid var(--hf-border); flex-shrink: 0; }
.hf-author-role { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--hf-accent); font-weight: 700; display: block; margin-bottom: 4px; }
.hf-author-meta h3 { margin: 0 0 6px; font-size: 1.14rem; }
.hf-author-meta p { margin: 0 0 8px; font-size: 0.9rem; color: var(--hf-muted); }

.hf-related-section { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--hf-border); }
.hf-related-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 600px) { .hf-related-grid { grid-template-columns: repeat(2, 1fr); } }

/* Sidebar */
.hf-sidebar { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 1024px) { .hf-sidebar { position: sticky; top: 92px; } }
.hf-widget {
  background: var(--hf-surface); border: 1px solid var(--hf-border);
  border-radius: var(--hf-radius); padding: 20px; box-shadow: var(--hf-shadow-sm);
}
.hf-widget-title {
  font-family: var(--hf-font-ui); font-size: 0.84rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--hf-brand);
  margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--hf-border);
}
.hf-sidebar-search { display: flex; gap: 8px; }
.hf-sidebar-search input {
  flex: 1; min-width: 0; padding: 9px 13px; border-radius: 10px;
  border: 1.5px solid var(--hf-border-strong); background: var(--hf-bg); font-size: 0.9rem;
}
.hf-sidebar-search button {
  padding: 9px 13px; border-radius: 10px; border: 0;
  background: var(--hf-brand); color: var(--hf-brand-on); cursor: pointer; display: inline-flex; align-items: center;
}
.hf-sidebar-cats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.hf-sidebar-cats a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 12px; border-radius: 10px; background: var(--hf-surface-soft);
  color: var(--hf-text); text-decoration: none; font-size: 0.9rem; font-weight: 600;
}
.hf-sidebar-cats a:hover { background: var(--hf-brand-soft); color: var(--hf-brand); }
.hf-sidebar-popular { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; counter-reset: hf-pop; }
.hf-sidebar-popular li { counter-increment: hf-pop; display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; line-height: 1.42; }
.hf-sidebar-popular li::before {
  content: counter(hf-pop); width: 24px; height: 24px; border-radius: 8px;
  background: var(--hf-accent-soft); color: var(--hf-accent);
  font-family: var(--hf-font-ui); font-weight: 700; font-size: 0.76rem;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;
}
.hf-sidebar-popular a { color: var(--hf-text); text-decoration: none; font-weight: 600; }
.hf-sidebar-popular a:hover { color: var(--hf-accent); text-decoration: underline; }
.hf-tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; }

.hf-ad-slot {
  margin: 26px 0; padding: 14px; border: 1px dashed var(--hf-border-strong);
  border-radius: var(--hf-radius-sm); background: var(--hf-surface-soft);
  text-align: center; min-height: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.hf-ad-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--hf-muted); }

/* ==========================================================================
   CATEGORY HUB, STATIC PAGES, 404 & COOKIE BAR
   ========================================================================== */
.hf-cat-hero { background: var(--hf-cat-bg); border-bottom: 1px solid var(--hf-border); padding-block: 40px 46px; }
.hf-cat-hero-inner { max-width: 780px; }
.hf-cat-hero-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--hf-cat-text); font-family: var(--hf-font-ui); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.hf-cat-hero h1 { margin-bottom: 12px; }
.hf-cat-hero-intro { color: var(--hf-text); opacity: 0.88; font-size: 0.98rem; margin: 0; }

.hf-cluster-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 28px; }
.hf-cluster-chip {
  padding: 8px 16px; border-radius: var(--hf-radius-pill);
  border: 1.5px solid var(--hf-border-strong); background: var(--hf-surface);
  color: var(--hf-text); font-family: var(--hf-font-ui); font-size: 0.84rem; font-weight: 700;
  cursor: pointer; transition: all 0.15s ease;
}
.hf-cluster-chip:hover { border-color: var(--hf-cat-accent); color: var(--hf-cat-text); }
.hf-cluster-chip.is-active, .hf-cluster-chip[aria-pressed="true"] { background: var(--hf-cat-accent); border-color: var(--hf-cat-accent); color: #FFFFFF; }

.hf-pillar-card {
  display: grid; grid-template-columns: 1fr; background: var(--hf-surface);
  border: 2px solid var(--hf-cat-accent); border-radius: 18px; overflow: hidden;
  box-shadow: var(--hf-shadow-md); margin-bottom: 32px;
}
@media (min-width: 780px) { .hf-pillar-card { grid-template-columns: 1.08fr 1fr; } }
.hf-pillar-media { position: relative; min-height: 240px; background: var(--hf-cat-tint); }
.hf-pillar-media img { width: 100%; height: 100%; object-fit: cover; }
.hf-pillar-tag {
  position: absolute; top: 14px; left: 14px; background: var(--hf-brand); color: var(--hf-brand-on);
  padding: 5px 13px; border-radius: var(--hf-radius-pill); font-family: var(--hf-font-ui);
  font-weight: 700; font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase;
}
.hf-pillar-body { padding: 24px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
@media (min-width: 780px) { .hf-pillar-body { padding: 34px; } }
.hf-pillar-body h2 { margin: 0; font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
.hf-pillar-body h2 a { color: var(--hf-text); text-decoration: none; }
.hf-pillar-body h2 a:hover { color: var(--hf-accent); }
.hf-pillar-body p { margin: 0; color: var(--hf-muted); font-size: 0.94rem; }

.hf-pagination { margin-top: 36px; display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; }
.hf-pagination .page-numbers, .hf-page-num {
  min-width: 40px; height: 40px; padding: 0 12px; border-radius: 12px;
  border: 1px solid var(--hf-border-strong); background: var(--hf-surface); color: var(--hf-text);
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
  font-family: var(--hf-font-ui); font-weight: 700; font-size: 0.88rem;
}
.hf-pagination .current, .hf-page-num.is-current { background: var(--hf-brand); border-color: var(--hf-brand); color: var(--hf-brand-on); }

.hf-page-hero { background: var(--hf-surface-soft); border-bottom: 1px solid var(--hf-border); padding-block: 38px 42px; }
.hf-page-wrap { max-width: 820px; margin-inline: auto; padding-block: 40px 68px; }
.hf-authors-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 24px; }
@media (min-width: 720px) { .hf-authors-grid { grid-template-columns: repeat(2, 1fr); } }
.hf-contact-form {
  display: flex; flex-direction: column; gap: 16px; background: var(--hf-surface);
  border: 1px solid var(--hf-border); border-radius: var(--hf-radius); padding: 24px;
  box-shadow: var(--hf-shadow-sm); margin-top: 22px;
}
.hf-field label { display: block; font-family: var(--hf-font-ui); font-weight: 700; font-size: 0.88rem; margin-bottom: 6px; }
.hf-field input, .hf-field textarea {
  width: 100%; padding: 11px 14px; border-radius: 12px;
  border: 1.5px solid var(--hf-border-strong); background: var(--hf-bg);
}
.hf-field input:focus, .hf-field textarea:focus { border-color: var(--hf-brand); outline: none; }
.hf-404-hero { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.hf-404-code {
  display: inline-block; padding: 5px 14px; border-radius: var(--hf-radius-pill);
  background: var(--hf-accent-soft); color: var(--hf-accent);
  font-family: var(--hf-font-ui); font-weight: 700; font-size: 0.84rem; margin-bottom: 14px;
}

.hf-cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  max-width: 680px; margin-inline: auto; background: var(--hf-surface);
  border: 1.5px solid var(--hf-border-strong); border-radius: var(--hf-radius);
  padding: 16px 20px; box-shadow: var(--hf-shadow-lg);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px; font-size: 0.86rem;
}
.hf-cookie-bar[hidden] { display: none; }
.hf-cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }


/* ==========================================================================
   V2.1 EDITORIAL CATEGORY FEATURE BLOCKS (Reference 1 Style — Original Palette)
   Bold Header + Full Colored Rule Line + See More | Big Lead Left + 4 Stacked Right
   ========================================================================== */
.hf-cat-showcase {
  padding-block: 44px;
  border-top: 1px solid var(--hf-border);
}
@media (min-width: 768px) {
  .hf-cat-showcase { padding-block: 56px; }
}

.hf-rule-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
}
.hf-rule-title {
  font-family: var(--hf-font-ui);
  font-weight: 800;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hf-text);
  margin: 0;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.hf-rule-title svg { color: var(--hf-cat-accent); }
.hf-rule-line {
  flex: 1;
  height: 2.5px;
  border-radius: 999px;
  background: var(--hf-cat-accent);
  opacity: 0.85;
}
.hf-rule-more {
  font-family: var(--hf-font-ui);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hf-cat-accent);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.hf-rule-more:hover { opacity: 0.78; gap: 8px; }

.hf-cat-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}
@media (min-width: 960px) {
  .hf-cat-split {
    grid-template-columns: minmax(0, 1.48fr) minmax(320px, 1fr);
    gap: 34px;
  }
}

/* Lead Story Left */
.hf-lead-story {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.hf-lead-media {
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  background: var(--hf-surface-soft);
  box-shadow: var(--hf-shadow-sm);
}
.hf-lead-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.hf-lead-story:hover .hf-lead-media img { transform: scale(1.03); }

.hf-kicker-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--hf-font-ui);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hf-cat-accent);
}
.hf-lead-story h3 {
  font-size: clamp(1.42rem, 2.5vw, 1.85rem);
  line-height: 1.22;
  margin: 0;
}
.hf-lead-story h3 a { color: var(--hf-text); text-decoration: none; }
.hf-lead-story h3 a:hover { color: var(--hf-cat-accent); }
.hf-lead-deck {
  margin: 0;
  color: var(--hf-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}
.hf-byline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--hf-muted);
}
.hf-byline svg { color: var(--hf-muted); opacity: 0.75; }

/* 4 Stacked Story Rows Right */
.hf-stack-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hf-stack-item {
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr);
  gap: 15px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hf-border);
  text-decoration: none;
  color: inherit;
}
.hf-stack-item:last-child { padding-bottom: 0; border-bottom: 0; }
.hf-stack-thumb {
  aspect-ratio: 16 / 10;
  border-radius: 11px;
  overflow: hidden;
  background: var(--hf-surface-soft);
}
.hf-stack-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.3s ease;
}
.hf-stack-item:hover .hf-stack-thumb img { transform: scale(1.05); }
.hf-stack-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.hf-stack-info h4 {
  font-family: var(--hf-font-ui);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.34;
  margin: 0;
  color: var(--hf-text);
}
.hf-stack-item:hover h4 { color: var(--hf-cat-accent); }

/* ==========================================================================
   V2.2 EDITORIAL 3-COLUMN ARTICLE SLIDER (Reference 2: "Fresh Picks ->" Style)
   Smooth horizontal sliding of 3 real-photo editorial cards per view
   ========================================================================== */
.hf-picks-slider-band {
  padding-block: 48px;
  background: var(--hf-surface);
  border-block: 1px solid var(--hf-border);
}
.hf-picks-slider-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  min-height: 44px;
}
.hf-picks-slider-title {
  font-family: var(--hf-font-heading);
  font-size: clamp(1.65rem, 3.2vw, 2.2rem);
  font-weight: 600;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--hf-text);
  text-decoration: none;
}
.hf-picks-slider-title svg { color: var(--hf-accent); transition: transform 0.2s ease; }
.hf-picks-slider-title:hover svg { transform: translateX(4px); }

.hf-slider-nav {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 640px) {
  .hf-picks-slider-head { justify-content: space-between; }
  .hf-slider-nav { position: static; transform: none; }
}

.hf-slider-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--hf-border-strong);
  background: var(--hf-surface);
  color: var(--hf-brand);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.16s ease;
}
.hf-slider-btn:hover {
  background: var(--hf-brand);
  border-color: var(--hf-brand);
  color: var(--hf-brand-on);
}

.hf-slider-viewport {
  overflow: hidden;
  width: 100%;
}
.hf-slider-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.hf-slider-track::-webkit-scrollbar { display: none; }

.hf-ed-slide {
  flex: 0 0 84%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 11px;
  text-decoration: none;
  color: inherit;
}
@media (min-width: 640px) {
  .hf-ed-slide { flex: 0 0 calc((100% - 24px) / 2); }
}
@media (min-width: 960px) {
  .hf-ed-slide { flex: 0 0 calc((100% - 48px) / 3); }
}

.hf-ed-slide-photo {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 8px;
  background: var(--hf-surface-soft);
}
.hf-ed-slide-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.hf-ed-slide:hover .hf-ed-slide-photo img { transform: scale(1.04); }

.hf-ed-slide-kicker {
  font-family: var(--hf-font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hf-muted);
}
.hf-ed-slide h3 {
  font-family: var(--hf-font-heading);
  font-size: 1.24rem;
  font-weight: 500;
  line-height: 1.32;
  margin: 0;
  color: var(--hf-text);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
  transition: text-decoration-color 0.2s ease, color 0.2s ease;
}
.hf-ed-slide:hover h3 {
  text-decoration-color: var(--hf-accent);
  color: var(--hf-brand);
}
.hf-ed-slide-author {
  font-size: 0.82rem;
  color: var(--hf-muted);
}

.hf-slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
}
.hf-slider-dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  border: 0;
  background: var(--hf-border-strong);
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}
.hf-slider-dot.is-active {
  width: 26px;
  background: var(--hf-accent);
}


/* ==========================================================================
   V2.3 3-COLUMN EDITORIAL FRONTPAGE HERO (Ref 3 Inspired — Headspace Colors)
   Left: "START HERE" Marigold Numbered Briefs | Center: Cover Feature | Right: 3 Story Rows
   ========================================================================== */
.hf-topic-strip {
  background: var(--hf-surface);
  border-bottom: 1px solid var(--hf-border);
  padding-block: 11px;
  font-size: 0.84rem;
}
.hf-topic-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
}
.hf-topic-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  color: var(--hf-muted);
}
.hf-topic-links strong {
  color: var(--hf-text);
  font-family: var(--hf-font-ui);
  font-weight: 800;
}
.hf-topic-links a {
  color: var(--hf-text);
  text-decoration: none;
  font-weight: 600;
}
.hf-topic-links a:hover { color: var(--hf-accent); text-decoration: underline; }
.hf-topic-sep { color: var(--hf-accent); font-weight: 700; opacity: 0.7; }

.hf-topic-mini-search {
  display: flex;
  align-items: center;
  background: var(--hf-bg);
  border: 1.5px solid var(--hf-border-strong);
  border-radius: 999px;
  padding: 3px 4px 3px 12px;
  gap: 6px;
  min-width: 240px;
}
.hf-topic-mini-search input {
  border: 0; background: transparent; font-size: 0.82rem;
  color: var(--hf-text); flex: 1; min-width: 0; outline: none;
}
.hf-topic-mini-search button {
  background: var(--hf-brand); color: #fff; border: 0;
  border-radius: 999px; padding: 5px 12px; font-size: 0.76rem;
  font-weight: 700; cursor: pointer;
}

.hf-vox-hero {
  background: linear-gradient(180deg, #FFF7E6 0%, var(--hf-bg) 100%);
  border-bottom: 1px solid var(--hf-border);
  padding-block: 26px 40px;
}
html[data-theme="dark"] .hf-vox-hero {
  background: linear-gradient(180deg, #1A1A28 0%, var(--hf-bg) 100%);
}

.hf-vox-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}
@media (min-width: 1024px) {
  .hf-vox-grid {
    grid-template-columns: 270px minmax(0, 1.35fr) 310px;
    gap: 28px;
  }
}

/* Left Column: START HERE Card */
.hf-start-here-card {
  background: var(--hf-surface);
  border: 1.5px solid var(--hf-border);
  border-top: 4px solid #FFC83D;
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--hf-shadow-sm);
}
.hf-start-here-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hf-border);
}
.hf-start-here-head h2 {
  font-family: var(--hf-font-ui);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin: 0;
  color: var(--hf-text);
}
.hf-start-here-pill {
  background: #FFF3CE;
  color: #8A5A00;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
}

.hf-brief-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  counter-reset: hf-brief;
}
.hf-brief-list li {
  counter-increment: hf-brief;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.85rem;
  line-height: 1.52;
  color: var(--hf-text);
}
.hf-brief-list li::before {
  content: counter(hf-brief);
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #FFC83D;
  color: #1F1D2B;
  font-family: var(--hf-font-ui);
  font-weight: 800;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.hf-brief-list a {
  color: var(--hf-brand);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.hf-brief-list a:hover { color: var(--hf-accent); }

/* Center Column: Big Featured Cover Story */
.hf-center-feature {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
}
.hf-center-photo {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--hf-shadow-md);
  background: var(--hf-surface-soft);
}
.hf-center-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.45s ease;
}
.hf-center-feature:hover .hf-center-photo img { transform: scale(1.03); }

.hf-center-kicker {
  font-family: var(--hf-font-ui);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hf-accent);
  margin-top: 4px;
}
.hf-center-feature h1 {
  font-size: clamp(1.65rem, 3.1vw, 2.35rem);
  line-height: 1.16;
  margin: 0;
  max-width: 600px;
}
.hf-center-feature h1 a { color: var(--hf-text); text-decoration: none; }
.hf-center-feature h1 a:hover { color: var(--hf-accent); }
.hf-center-deck {
  margin: 0;
  color: var(--hf-muted);
  font-size: 0.96rem;
  max-width: 540px;
  line-height: 1.58;
}

/* Right Column: 3-4 Curated Feature Stories with Square Thumbnails Right */
.hf-right-stories {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--hf-surface);
  border: 1.5px solid var(--hf-border);
  border-radius: 16px;
  padding: 6px 18px;
  box-shadow: var(--hf-shadow-sm);
}
.hf-right-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 86px;
  gap: 14px;
  align-items: center;
  padding-block: 16px;
  border-bottom: 1px solid var(--hf-border);
  text-decoration: none;
  color: inherit;
}
.hf-right-story:last-child { border-bottom: 0; }
.hf-right-story-kicker {
  display: block;
  font-family: var(--hf-font-ui);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--hf-cat-accent);
  margin-bottom: 4px;
}
.hf-right-story h3 {
  font-family: var(--hf-font-ui);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.32;
  margin: 0 0 5px;
  color: var(--hf-text);
}
.hf-right-story:hover h3 { color: var(--hf-accent); }
.hf-right-story-thumb {
  width: 86px; height: 86px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--hf-surface-soft);
  flex-shrink: 0;
}
.hf-right-story-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.3s ease;
}
.hf-right-story:hover .hf-right-story-thumb img { transform: scale(1.06); }


/* ==========================================================================
   V2.4 FEATURED CATEGORIES — 3 FIXED CARDS WITH INTERNAL 5-ARTICLE SLIDERS
   3 Category cards stay fixed side-by-side; inside each card, 5 articles slide!
   ========================================================================== */
.hf-feat-cats-band {
  padding-block: 48px;
  background: var(--hf-surface);
  border-block: 1px solid var(--hf-border);
}

.hf-feat-cats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 860px) {
  .hf-feat-cats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.hf-cat-deck {
  display: flex;
  flex-direction: column;
  background: var(--hf-bg);
  border: 1.5px solid var(--hf-border);
  border-top: 4px solid var(--hf-cat-accent);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--hf-shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.hf-cat-deck:hover {
  box-shadow: var(--hf-shadow-md);
  transform: translateY(-2px);
}

/* Category Header Bar inside each card */
.hf-deck-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  background: var(--hf-cat-tint);
  border-bottom: 1px solid var(--hf-border);
}
.hf-deck-cat-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--hf-font-ui);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--hf-cat-text);
  text-decoration: none;
}
.hf-deck-cat-link svg { color: var(--hf-cat-accent); }
.hf-deck-cat-link:hover { text-decoration: underline; }

.hf-deck-count {
  font-family: var(--hf-font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--hf-cat-text);
  background: var(--hf-surface);
  padding: 3px 10px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--hf-border);
}
.hf-deck-count:hover {
  background: var(--hf-cat-accent);
  color: #FFFFFF;
  border-color: var(--hf-cat-accent);
}

/* Internal Sliding Stage */
.hf-deck-viewport {
  position: relative;
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hf-deck-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  flex: 1;
}

.hf-deck-slide {
  flex: 0 0 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.hf-deck-photo-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--hf-surface-soft);
}
.hf-deck-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.hf-deck-slide:hover .hf-deck-photo-wrap img {
  transform: scale(1.04);
}

/* Floating Prev / Next buttons inside card image */
.hf-deck-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: var(--hf-text);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.hf-deck-arrow:hover {
  background: var(--hf-cat-accent);
  color: #FFFFFF;
  transform: translateY(-50%) scale(1.06);
}
.hf-deck-arrow.is-prev { left: 10px; }
.hf-deck-arrow.is-next { right: 10px; }

.hf-deck-counter {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  background: rgba(31, 29, 43, 0.78);
  color: #FFFFFF;
  font-family: var(--hf-font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.hf-deck-body {
  padding: 16px 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.hf-deck-kicker {
  font-family: var(--hf-font-ui);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--hf-cat-accent);
}
.hf-deck-body h3 {
  font-family: var(--hf-font-heading);
  font-size: 1.16rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  color: var(--hf-text);
}
.hf-deck-slide:hover .hf-deck-body h3 {
  color: var(--hf-cat-accent);
}
.hf-deck-meta {
  margin-top: auto;
  padding-top: 4px;
  font-size: 0.79rem;
  color: var(--hf-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 5-Article Dots Footer inside card */
.hf-deck-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 18px 15px;
  border-top: 1px solid var(--hf-border);
  background: var(--hf-surface);
}
.hf-deck-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hf-deck-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: var(--hf-border-strong);
  cursor: pointer;
  transition: width 0.2s ease, background-color 0.2s ease;
}
.hf-deck-dot.is-active {
  width: 24px;
  background: var(--hf-cat-accent);
}
.hf-deck-read-hint {
  font-family: var(--hf-font-ui);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--hf-brand);
  text-decoration: none;
}
.hf-deck-read-hint:hover { color: var(--hf-cat-accent); }


/* ==========================================================================
   V2.5 ORIGINAL COLORFUL REDESIGN — HERO, TRENDING, BALANCED CATEGORIES & FOOTER
   ========================================================================== */

/* 1. Original Hero — Vibrant Sunny Tangerine-to-Marigold Backdrop (Pops White Cards!) */
.hf-vox-hero {
  background: radial-gradient(circle at 14% 18%, rgba(255, 224, 130, 0.45) 0%, transparent 42%),
              radial-gradient(circle at 88% 82%, rgba(240, 90, 40, 0.25) 0%, transparent 46%),
              linear-gradient(130deg, #FF7E36 0%, #FFA73B 52%, #FFD15C 100%);
  border-bottom: 0;
  padding-block: 30px 44px;
}
html[data-theme="dark"] .hf-vox-hero {
  background: linear-gradient(135deg, #2A1D24 0%, #1F1B2E 55%, #1A2233 100%);
}

.hf-vox-grid {
  align-items: stretch;
}
@media (min-width: 1024px) {
  .hf-vox-grid {
    grid-template-columns: 285px minmax(0, 1.38fr) 315px;
    gap: 24px;
  }
}

/* Left: Original Colorful Quick Wins Stack (No blue underlined links!) */
.hf-quick-wins-card {
  background: var(--hf-surface);
  border: 1.5px solid var(--hf-border);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--hf-shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.hf-quick-wins-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hf-border);
}
.hf-quick-wins-head h2 {
  font-family: var(--hf-font-ui);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
  color: var(--hf-text);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hf-quick-wins-head svg { color: #F46B2A; }

.hf-win-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--hf-text);
  border: 1px solid rgba(31, 29, 43, 0.06);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.hf-win-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--hf-shadow-sm);
  color: var(--hf-text);
}
.hf-win-tile.is-peach { background: #FFF0E6; border-left: 4px solid #F05A28; }
.hf-win-tile.is-mint  { background: #E6F8F0; border-left: 4px solid #009B72; }
.hf-win-tile.is-sky   { background: #E8F1FF; border-left: 4px solid #0B63E5; }
.hf-win-tile.is-sun   { background: #FFF6D6; border-left: 4px solid #E59A00; }
html[data-theme="dark"] .hf-win-tile.is-peach { background: #31201C; }
html[data-theme="dark"] .hf-win-tile.is-mint  { background: #192E25; }
html[data-theme="dark"] .hf-win-tile.is-sky   { background: #1B2740; }
html[data-theme="dark"] .hf-win-tile.is-sun   { background: #312A18; }

.hf-win-tag {
  font-family: var(--hf-font-ui);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--hf-muted);
}
.hf-win-tile.is-peach .hf-win-tag { color: #C24115; }
.hf-win-tile.is-mint  .hf-win-tag { color: #056E52; }
.hf-win-tile.is-sky   .hf-win-tag { color: #094BB3; }
.hf-win-tile.is-sun   .hf-win-tag { color: #9A6300; }

.hf-win-tile strong {
  font-family: var(--hf-font-ui);
  font-size: 0.87rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--hf-text);
}
.hf-win-tile span.hf-win-sub {
  font-size: 0.77rem;
  color: var(--hf-muted);
  line-height: 1.42;
}

/* Center: Elevated Magazine Feature Card */
.hf-center-feature {
  background: var(--hf-surface);
  border: 1.5px solid var(--hf-border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--hf-shadow-md);
  text-align: left;
  align-items: stretch;
  gap: 0;
}
.hf-center-photo {
  border-radius: 0;
  box-shadow: none;
  position: relative;
}
.hf-center-badge-float {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #F46B2A;
  color: #FFFFFF;
  font-family: var(--hf-font-ui);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(244, 107, 42, 0.35);
}
.hf-center-content {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}
.hf-center-feature h1 {
  max-width: none;
  font-size: clamp(1.5rem, 2.7vw, 2.08rem);
}
.hf-center-deck { max-width: none; }
.hf-center-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--hf-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* Right: Original Colorful Spotlight Cards (Distinct from Vox plain list) */
.hf-spot-rail {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.hf-spot-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  padding: 13px;
  background: var(--hf-surface);
  border: 1.5px solid var(--hf-border);
  border-left: 4px solid var(--hf-cat-accent);
  border-radius: 16px;
  box-shadow: var(--hf-shadow-sm);
  text-decoration: none;
  color: inherit;
  flex: 1;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.hf-spot-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--hf-shadow-md);
  border-color: var(--hf-cat-accent);
}
.hf-spot-thumb {
  width: 92px;
  height: 92px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--hf-surface-soft);
  flex-shrink: 0;
}
.hf-spot-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.3s ease;
}
.hf-spot-card:hover .hf-spot-thumb img { transform: scale(1.06); }
.hf-spot-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.hf-spot-pill {
  display: inline-flex;
  width: fit-content;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--hf-cat-bg);
  color: var(--hf-cat-text);
  font-family: var(--hf-font-ui);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.hf-spot-meta h3 {
  font-family: var(--hf-font-heading);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  color: var(--hf-text);
}
.hf-spot-card:hover h3 { color: var(--hf-cat-accent); }

/* 2. Gorgeous Real-Photo + Vibrant Color-Gradient Overlay Trending 01-04 Cards */
.hf-trending-band {
  background: var(--hf-bg);
  border-bottom: 1px solid var(--hf-border);
  padding-block: 30px;
}
.hf-trend-card {
  position: relative;
  overflow: hidden;
  min-height: 256px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px 18px;
  border-radius: 22px;
  text-decoration: none;
  color: #FFFFFF;
  border: 0;
  box-shadow: 0 12px 28px rgba(31, 29, 43, 0.14);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease;
}
.hf-trend-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.45s ease;
}
.hf-trend-card:hover .hf-trend-bg {
  transform: scale(1.07);
}
.hf-trend-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hf-trend-card::after {
  display: none;
}
.hf-trend-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(31, 29, 43, 0.22);
  color: #FFFFFF;
}
.hf-trend-card.t1::before {
  background: linear-gradient(180deg, rgba(240, 90, 40, 0.22) 0%, rgba(240, 90, 40, 0.72) 52%, rgba(224, 72, 22, 0.96) 100%);
}
.hf-trend-card.t2::before {
  background: linear-gradient(180deg, rgba(0, 155, 114, 0.22) 0%, rgba(0, 148, 108, 0.74) 52%, rgba(0, 125, 92, 0.96) 100%);
}
.hf-trend-card.t3::before {
  background: linear-gradient(180deg, rgba(106, 66, 226, 0.24) 0%, rgba(102, 60, 220, 0.74) 52%, rgba(86, 46, 196, 0.96) 100%);
}
.hf-trend-card.t4::before {
  background: linear-gradient(180deg, rgba(23, 87, 216, 0.22) 0%, rgba(23, 87, 216, 0.74) 52%, rgba(20, 72, 186, 0.96) 100%);
}

.hf-trend-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.hf-trend-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(20, 18, 32, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  font-family: var(--hf-font-ui);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
}
.hf-trend-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(20, 18, 32, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.18s ease, transform 0.18s ease;
}
.hf-trend-card:hover .hf-trend-arrow {
  background: #FFFFFF;
  color: #1F1D2B;
  transform: translateX(3px);
}

.hf-trend-bottom {
  position: relative;
  z-index: 2;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hf-trend-card h3 {
  position: relative;
  z-index: 2;
  font-family: var(--hf-font-heading);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  color: #FFFFFF;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
}

.hf-trend-foot {
  position: relative;
  z-index: 2;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.77rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.94);
}
.hf-trend-author {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hf-trend-author img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
}

/* 3. Balanced Category Showcases — Zero Empty Space on Right Column */
.hf-cat-split {
  align-items: stretch;
}
.hf-lead-story {
  height: 100%;
  background: var(--hf-surface);
  border: 1.5px solid var(--hf-border);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--hf-shadow-sm);
}
.hf-stack-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
}
.hf-stack-list {
  flex: 1;
  justify-content: space-between;
  gap: 14px;
}
.hf-stack-item {
  padding-bottom: 14px;
}
.hf-cat-cluster-footer {
  background: linear-gradient(90deg, #1757D8 0%, #1B54D4 50%, #1E50D0 100%);
  border: 0;
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(23, 87, 216, 0.22);
}
.hf-cat-cluster-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.hf-cat-cluster-chips a {
  background: rgba(255, 255, 255, 0.94);
  color: #1757D8;
  font-family: var(--hf-font-ui);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.hf-cat-cluster-chips a:hover {
  background: #FFC83D;
  color: #1F1D2B;
}
.hf-cat-cluster-cta {
  font-family: var(--hf-font-ui);
  font-size: 0.82rem;
  font-weight: 800;
  color: #FFC83D;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.hf-cat-cluster-cta:hover { color: #FFFFFF; text-decoration: underline; }

/* 4. 3-Author Contributor Masthead Grid */
.hf-editors-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 26px;
}
@media (min-width: 760px) {
  .hf-editors-3 { grid-template-columns: repeat(3, 1fr); }
}
.hf-editor-card {
  background: var(--hf-surface);
  border: 1.5px solid var(--hf-border);
  border-top: 4px solid var(--hf-cat-accent);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--hf-shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hf-editor-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.hf-editor-card img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--hf-cat-bg);
  flex-shrink: 0;
}
.hf-editor-card h3 { margin: 0 0 3px; font-size: 1.08rem; }
.hf-editor-card-role {
  display: inline-block;
  font-family: var(--hf-font-ui);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--hf-cat-accent);
}
.hf-editor-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--hf-muted);
  line-height: 1.55;
}

/* 5. Rich Electric Royal Blue Footer (Exact User Swatch #1757D8 -> #1E50D0) */
.hf-footer {
  position: relative;
  background: linear-gradient(90deg, #1757D8 0%, #1B54D4 50%, #1E50D0 100%);
  border-top: 0;
  color: #FFFFFF;
  padding-block: 56px 32px;
}
.hf-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #F05A28 0%, #FFC83D 34%, #009B72 68%, #63B3FF 100%);
}
.hf-footer .hf-brand-name { color: #FFFFFF; }
.hf-footer .hf-brand-tag { color: #FFC83D; }
.hf-footer-desc { color: rgba(255, 255, 255, 0.86); }
.hf-footer h3 { color: #FFC83D; }
.hf-footer li a { color: rgba(255, 255, 255, 0.9); }
.hf-footer li a:hover { color: #FFC83D; }
.hf-footer .hf-social-link {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
}
.hf-footer .hf-social-link:hover {
  background: #FFC83D;
  border-color: #FFC83D;
  color: #1F1D2B;
}
.hf-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.82);
}


/* 6. Gorgeous Colorful About / 3-Editors Showcase Card */
.hf-about-box {
  background: linear-gradient(130deg, #FFF2E2 0%, #FFFFFF 48%, #E7F7F0 100%);
  border: 1.5px solid #F0DFC8;
  border-radius: 24px;
  padding: 32px 24px;
  box-shadow: var(--hf-shadow-md);
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
html[data-theme="dark"] .hf-about-box {
  background: linear-gradient(130deg, #251F2B 0%, #1B1B25 50%, #172722 100%);
  border-color: var(--hf-border-strong);
}
@media (min-width: 900px) {
  .hf-about-box {
    grid-template-columns: 1.08fr 1fr;
    padding: 42px 46px;
    gap: 44px;
  }
}

.hf-about-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}
.hf-about-trust-pills span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--hf-surface);
  border: 1px solid var(--hf-border);
  font-family: var(--hf-font-ui);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--hf-text);
  box-shadow: 0 1px 3px rgba(31, 29, 43, 0.04);
}
.hf-about-trust-pills svg { color: #009B72; }

.hf-editors-mini {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.hf-editor-pill {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 18px;
  border-radius: 18px;
  background: var(--hf-surface);
  border: 1.5px solid var(--hf-border);
  border-left: 5px solid var(--hf-cat-accent);
  box-shadow: var(--hf-shadow-sm);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.hf-editor-pill:hover {
  transform: translateX(4px);
  box-shadow: var(--hf-shadow-md);
}
.hf-editor-pill.hf-cat-relationships,
.hf-editor-pill.hf-cat-fitness {
  background: #FFF3E5;
  border-color: #FFD7B0;
  border-left-color: #FF8533;
}
.hf-editor-pill.hf-cat-relationships img,
.hf-editor-pill.hf-cat-fitness img {
  box-shadow: 0 0 0 2.5px #FF8533;
}
.hf-editor-pill.hf-cat-relationships .hf-editor-role-badge,
.hf-editor-pill.hf-cat-fitness .hf-editor-role-badge {
  color: #B84700;
}

.hf-editor-pill.hf-cat-lifestyle {
  background: #EAF1FF;
  border-color: #C2D7FF;
  border-left-color: #1757D8;
}
.hf-editor-pill.hf-cat-lifestyle img {
  box-shadow: 0 0 0 2.5px #1757D8;
}
.hf-editor-pill.hf-cat-lifestyle .hf-editor-role-badge {
  color: #1757D8;
}
html[data-theme="dark"] .hf-editor-pill.hf-cat-relationships,
html[data-theme="dark"] .hf-editor-pill.hf-cat-fitness { background: #2D1F18; border-color: #523524; border-left-color: #FF8533; }
html[data-theme="dark"] .hf-editor-pill.hf-cat-lifestyle { background: #17233D; border-color: #263B66; border-left-color: #3D82F6; }

.hf-editor-pill img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--hf-surface);
  box-shadow: 0 0 0 2px var(--hf-cat-accent);
  flex-shrink: 0;
}
.hf-editor-pill-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.hf-editor-pill strong {
  font-family: var(--hf-font-heading);
  font-size: 1.04rem;
  color: var(--hf-text);
  line-height: 1.2;
}
.hf-editor-role-badge {
  font-family: var(--hf-font-ui);
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--hf-surface);
  color: var(--hf-cat-text);
  border: 1px solid rgba(31, 29, 43, 0.08);
}
.hf-editor-pill p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--hf-muted);
  line-height: 1.46;
}


/* 7. Matching Electric Royal Blue Header (Matches Footer #1757D8 -> #1E50D0) */
.hf-header {
  background: linear-gradient(90deg, #1757D8 0%, #1B54D4 50%, #1E50D0 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 4px 16px rgba(23, 87, 216, 0.22);
}
html[data-theme="dark"] .hf-header {
  background: linear-gradient(90deg, #123F9E 0%, #163C96 50%, #18388F 100%);
  border-bottom-color: rgba(255, 255, 255, 0.14);
}
.hf-header .hf-brand-name {
  color: #FFFFFF;
}
.hf-header .hf-brand-tag {
  color: #FFC83D;
}
.hf-header .hf-nav-list a {
  color: rgba(255, 255, 255, 0.94);
}
.hf-header .hf-nav-list a:hover,
.hf-header .hf-nav-list a[aria-current="page"],
.hf-header .hf-nav-list li.current-menu-item > a {
  background: rgba(255, 255, 255, 0.16);
  color: #FFC83D;
}
.hf-header .hf-icon-btn {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.26);
  color: #FFFFFF;
}
.hf-header .hf-icon-btn:hover {
  background: #FFC83D;
  border-color: #FFC83D;
  color: #1F1D2B;
}
.hf-header .hf-header-sub-btn {
  background: #F46B2A;
  color: #FFFFFF;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
}
.hf-header .hf-header-sub-btn:hover {
  background: #FFC83D;
  color: #1F1D2B;
}
.hf-header .hf-mobile-drawer {
  background: #1757D8;
  border-top-color: rgba(255, 255, 255, 0.18);
}
.hf-header .hf-search-bar {
  background: var(--hf-surface);
  border-top-color: rgba(255, 255, 255, 0.2);
}


/* 8. Gorgeous Sculpted Quick Answers Cards on Exact Warm Orange Swatch (#FFA350) + Royal Blue Icons */
.hf-qa-strip {
  background: linear-gradient(135deg, #FF9A42 0%, #FFA350 52%, #FFB263 100%);
  border-block: 0;
  color: #1F1D2B;
}
.hf-qa-strip .hf-section-head {
  border-bottom-color: rgba(31, 29, 43, 0.14);
}
.hf-qa-strip .hf-eyebrow {
  color: #1757D8;
  background: rgba(255, 255, 255, 0.85);
  padding: 4px 12px;
  border-radius: 999px;
}
.hf-qa-strip .hf-section-head h2 {
  color: #1F1D2B;
}
.hf-qa-strip .hf-section-sub {
  color: rgba(31, 29, 43, 0.8);
}
html[data-theme="dark"] .hf-qa-strip {
  background: linear-gradient(135deg, #332219 0%, #2B1F1B 100%);
}

.hf-qa-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  background: var(--hf-surface);
  border: 1.5px solid var(--hf-border);
  border-top: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--hf-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.hf-qa-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hf-shadow-md);
  border-color: var(--hf-cat-accent);
}

.hf-qa-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 18px;
  background: var(--hf-cat-bg);
  border-bottom: 1px solid rgba(31, 29, 43, 0.06);
}
.hf-qa-ico {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--hf-cat-accent);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(31, 29, 43, 0.12);
}
.hf-qa-cat-pill {
  font-family: var(--hf-font-ui);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hf-cat-text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hf-qa-time {
  font-family: var(--hf-font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--hf-cat-text);
  background: rgba(255, 255, 255, 0.78);
  padding: 3px 9px;
  border-radius: 999px;
}
html[data-theme="dark"] .hf-qa-time {
  background: rgba(255, 255, 255, 0.12);
}

.hf-qa-card-body {
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.hf-qa-card h3 {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.32;
}
.hf-qa-answer-box {
  background: var(--hf-cat-tint);
  border-left: 3.5px solid var(--hf-cat-accent);
  border-radius: 0 12px 12px 0;
  padding: 11px 13px;
  font-size: 0.85rem;
  color: var(--hf-text);
  line-height: 1.56;
  margin: 0;
}
.hf-qa-card-foot {
  margin-top: auto;
  padding: 0 18px 18px;
}
.hf-qa-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 9px 14px;
  border-radius: 12px;
  background: var(--hf-cat-bg);
  color: var(--hf-cat-text);
  font-family: var(--hf-font-ui);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 0.16s ease, color 0.16s ease;
}
.hf-qa-cta:hover {
  background: var(--hf-cat-accent);
  color: #FFFFFF;
}


/* 9. Colorful Upgraded Sidebar Widgets (Most Read, Topic Clusters, Editorial Promise) */
.hf-widget {
  border-radius: 20px;
  border: 1.5px solid var(--hf-border);
  box-shadow: var(--hf-shadow-sm);
  overflow: hidden;
}

/* Widget 1: Most Read — Vibrant Tangerine Header + Multi-Color Numbers */
.hf-widget-popular {
  padding: 0;
}
.hf-widget-popular .hf-widget-head-bar {
  background: linear-gradient(120deg, #F05A28 0%, #FF8C3B 100%);
  color: #FFFFFF;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--hf-font-ui);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.hf-widget-popular .hf-sidebar-popular {
  padding: 16px 18px 18px;
  gap: 10px;
}
.hf-widget-popular .hf-sidebar-popular li {
  padding: 8px 10px;
  border-radius: 12px;
  transition: background-color 0.15s ease;
}
.hf-widget-popular .hf-sidebar-popular li:hover {
  background: #FFF6EE;
}
html[data-theme="dark"] .hf-widget-popular .hf-sidebar-popular li:hover {
  background: rgba(255, 255, 255, 0.05);
}
.hf-widget-popular .hf-sidebar-popular li::before {
  width: 26px;
  height: 26px;
  border-radius: 9px;
  color: #FFFFFF;
  font-weight: 800;
}
.hf-widget-popular .hf-sidebar-popular li:nth-child(1)::before { background: #F05A28; }
.hf-widget-popular .hf-sidebar-popular li:nth-child(2)::before { background: #009B72; }
.hf-widget-popular .hf-sidebar-popular li:nth-child(3)::before { background: #6A42E2; }
.hf-widget-popular .hf-sidebar-popular li:nth-child(4)::before { background: #1757D8; }
.hf-widget-popular .hf-sidebar-popular li:nth-child(5)::before { background: #E59A00; color: #1F1D2B; }

/* Widget 2: Topic Clusters — Category-Colored Interactive Pills */
.hf-widget-clusters {
  border-top: 4px solid #6A42E2;
  background: linear-gradient(180deg, #FAF8FF 0%, #FFFFFF 100%);
}
html[data-theme="dark"] .hf-widget-clusters {
  background: var(--hf-surface);
}
.hf-widget-clusters .hf-widget-title {
  color: #5C35CC;
  border-bottom-color: #EAE2FF;
}
html[data-theme="dark"] .hf-widget-clusters .hf-widget-title {
  color: #B49BFF;
  border-bottom-color: var(--hf-border);
}
.hf-chip-rel {
  background: #FFE6D8 !important;
  border-color: #FBCAB0 !important;
  color: #942B0B !important;
}
.hf-chip-rel:hover { background: #F05A28 !important; border-color: #F05A28 !important; color: #FFFFFF !important; }
.hf-chip-life {
  background: #D8F5E8 !important;
  border-color: #AEE6CD !important;
  color: #065741 !important;
}
.hf-chip-life:hover { background: #009B72 !important; border-color: #009B72 !important; color: #FFFFFF !important; }
.hf-chip-fit {
  background: #DCEBFF !important;
  border-color: #B3D2FF !important;
  color: #093C8C !important;
}
.hf-chip-fit:hover { background: #1757D8 !important; border-color: #1757D8 !important; color: #FFFFFF !important; }

/* Widget 3: Editorial Promise — Lush Emerald Gradient Card */
.hf-widget-promise {
  position: relative;
  background: linear-gradient(135deg, #008B66 0%, #15B083 100%);
  border: 0;
  color: #FFFFFF;
  padding: 24px 22px;
  box-shadow: 0 12px 26px rgba(0, 139, 102, 0.22);
}
.hf-widget-promise::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  right: -28px;
  top: -28px;
  background: rgba(255, 255, 255, 0.14);
  pointer-events: none;
}
.hf-promise-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.22);
  color: #FFC83D;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.hf-widget-promise h3 {
  font-family: var(--hf-font-heading);
  font-size: 1.18rem;
  color: #FFFFFF;
  margin: 0 0 8px;
}
.hf-widget-promise p {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 16px;
  line-height: 1.56;
}
.hf-promise-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  background: #FFC83D;
  color: #1F1D2B;
  font-family: var(--hf-font-ui);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.hf-promise-cta:hover {
  background: #FFFFFF;
  color: #007A59;
  transform: translateY(-1px);
}


/* Quick Answers Card Top Real Photo + Floating Category Pill */
.hf-qa-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--hf-cat-bg);
}
.hf-qa-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.38s ease;
}
.hf-qa-card:hover .hf-qa-media img {
  transform: scale(1.05);
}
.hf-qa-media-pill {
  position: absolute;
  left: 12px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1757D8 0%, #1E50D0 100%);
  color: #FFFFFF;
  font-family: var(--hf-font-ui);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  box-shadow: 0 3px 10px rgba(23, 87, 216, 0.35);
}
.hf-qa-ico {
  background: #1757D8 !important;
  color: #FFFFFF !important;
}
.hf-qa-cta {
  background: #E8F0FF;
  color: #1757D8;
}
.hf-qa-cta:hover {
  background: linear-gradient(90deg, #1757D8 0%, #1E50D0 100%);
  color: #FFFFFF;
}
.hf-qa-media-chip {
  position: absolute;
  right: 12px;
  top: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #1F1D2B;
  font-family: var(--hf-font-ui);
  font-size: 0.66rem;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}


/* 10. Symmetrical Featured Categories Deck Colors (Orange — Royal Blue — Orange) */
.hf-cat-deck.hf-cat-relationships,
.hf-cat-deck.hf-cat-fitness {
  --hf-cat-accent: #FF8533;
  --hf-cat-tint: #FFF3E5;
  --hf-cat-bg: #FFE6CC;
  --hf-cat-text: #B84700;
}
.hf-cat-deck.hf-cat-lifestyle {
  --hf-cat-accent: #1757D8;
  --hf-cat-tint: #EAF1FF;
  --hf-cat-bg: #DCE8FF;
  --hf-cat-text: #1757D8;
}
html[data-theme="dark"] .hf-cat-deck.hf-cat-relationships,
html[data-theme="dark"] .hf-cat-deck.hf-cat-fitness {
  --hf-cat-tint: #2D1F18;
  --hf-cat-text: #FFC294;
}
html[data-theme="dark"] .hf-cat-deck.hf-cat-lifestyle {
  --hf-cat-tint: #17233D;
  --hf-cat-text: #9CC0FF;
}


/* ==========================================================================
   11. UNIFIED THETIPSJOURNAL.COM BRAND PALETTE (Orange #FF8533 + Royal Blue #1757D8)
   Consistent across all 3 Categories, Titles, Kickers, Numbers, Chips & Cards
   ========================================================================== */
:root {
  --hf-brand: #1757D8;
  --hf-brand-hover: #1246B0;
  --hf-accent: #FF8533;
  --hf-accent-hover: #E56B1A;

  /* 1st Category (Relationships) -> Brand Orange */
  --hf-rel-bg: #FFE8D1;
  --hf-rel-tint: #FFF4E8;
  --hf-rel-accent: #FF8533;
  --hf-rel-text: #B84700;

  /* 2nd Category (Lifestyle) -> Brand Royal Blue */
  --hf-life-bg: #DCE8FF;
  --hf-life-tint: #EEF4FF;
  --hf-life-accent: #1757D8;
  --hf-life-text: #1447B3;

  /* 3rd Category (Fitness) -> Brand Orange */
  --hf-fit-bg: #FFE8D1;
  --hf-fit-tint: #FFF4E8;
  --hf-fit-accent: #FF8533;
  --hf-fit-text: #B84700;
}

/* Unified Hero Quick Wins Tiles: Orange / Royal Blue Alternating */
.hf-win-tile.is-mint,
.hf-win-tile.is-sky {
  background: #EEF4FF;
  border-left-color: #1757D8;
}
.hf-win-tile.is-mint .hf-win-tag,
.hf-win-tile.is-sky .hf-win-tag {
  color: #1757D8;
}
.hf-win-tile.is-peach,
.hf-win-tile.is-sun {
  background: #FFF4E8;
  border-left-color: #FF8533;
}
.hf-win-tile.is-peach .hf-win-tag,
.hf-win-tile.is-sun .hf-win-tag {
  color: #B84700;
}

/* Unified Trending 01-04 Real-Photo Cards: Orange / Blue / Orange / Blue */
.hf-trend-card.t1::before,
.hf-trend-card.t3::before {
  background: linear-gradient(180deg, rgba(255, 133, 51, 0.22) 0%, rgba(240, 108, 28, 0.76) 52%, rgba(224, 88, 12, 0.96) 100%);
}
.hf-trend-card.t2::before,
.hf-trend-card.t4::before {
  background: linear-gradient(180deg, rgba(23, 87, 216, 0.22) 0%, rgba(23, 87, 216, 0.76) 52%, rgba(20, 72, 186, 0.96) 100%);
}

/* Unified Most Read 1-5 Number Badges: Orange / Blue Alternating */
.hf-widget-popular .hf-widget-head-bar {
  background: linear-gradient(90deg, #FF7E36 0%, #FFA350 100%);
}
.hf-widget-popular .hf-sidebar-popular li:nth-child(odd)::before {
  background: #FF8533;
  color: #FFFFFF;
}
.hf-widget-popular .hf-sidebar-popular li:nth-child(even)::before {
  background: #1757D8;
  color: #FFFFFF;
}

/* Unified Topic Clusters Widget & Pills: Orange & Royal Blue */
.hf-widget-clusters {
  border-top-color: #1757D8;
  background: linear-gradient(180deg, #F5F8FF 0%, #FFFFFF 100%);
}
.hf-widget-clusters .hf-widget-title {
  color: #1757D8;
  border-bottom-color: #DCE8FF;
}
.hf-chip-rel,
.hf-chip-fit {
  background: #FFF3E5 !important;
  border-color: #FFD4AD !important;
  color: #B84700 !important;
}
.hf-chip-rel:hover,
.hf-chip-fit:hover {
  background: #FF8533 !important;
  border-color: #FF8533 !important;
  color: #FFFFFF !important;
}
.hf-chip-life {
  background: #EAF1FF !important;
  border-color: #C2D7FF !important;
  color: #1757D8 !important;
}
.hf-chip-life:hover {
  background: #1757D8 !important;
  border-color: #1757D8 !important;
  color: #FFFFFF !important;
}

/* Unified Editorial Promise Card -> Royal Blue matching Header/Footer */
.hf-widget-promise {
  background: linear-gradient(135deg, #1757D8 0%, #1E50D0 100%);
  box-shadow: 0 12px 26px rgba(23, 87, 216, 0.24);
}
.hf-promise-cta {
  background: #FF8533;
  color: #FFFFFF;
}
.hf-promise-cta:hover {
  background: #FFFFFF;
  color: #1757D8;
}

/* Unified Newsletter Band -> Royal Blue matching Header/Footer + Orange CTA */
.hf-newsletter-box {
  background: linear-gradient(90deg, #1757D8 0%, #1B54D4 50%, #1E50D0 100%);
}
.hf-newsletter-box .hf-btn-accent {
  background: #FF8533;
  color: #FFFFFF;
}
.hf-newsletter-box .hf-btn-accent:hover {
  background: #FFA350;
  color: #1F1D2B;
}

/* Unified Pillar Feature Split Numbered Steps -> Royal Blue */
.hf-feature-steps b {
  background: #EAF1FF;
  color: #1757D8;
}

/* Unified About Section Card -> Soft Orange-to-Blue Brand Wash */
.hf-about-box {
  background: linear-gradient(130deg, #FFF3E5 0%, #FFFFFF 50%, #EEF4FF 100%);
  border-color: #DCE8FF;
}
.hf-about-trust-pills svg {
  color: #1757D8;
}


/* Category Cluster Footer Bars: Relationships & Fitness = Hero Orange, Lifestyle = Royal Blue */
.hf-cat-relationships .hf-cat-cluster-footer,
.hf-cat-fitness .hf-cat-cluster-footer {
  background: linear-gradient(90deg, #FF8B36 0%, #FFA350 55%, #FFB162 100%);
  box-shadow: 0 8px 20px rgba(255, 139, 54, 0.24);
}
.hf-cat-relationships .hf-cat-cluster-chips a,
.hf-cat-fitness .hf-cat-cluster-chips a {
  background: rgba(255, 255, 255, 0.94);
  color: #B84700;
}
.hf-cat-relationships .hf-cat-cluster-chips a:hover,
.hf-cat-fitness .hf-cat-cluster-chips a:hover {
  background: #1757D8;
  color: #FFFFFF;
}
.hf-cat-relationships .hf-cat-cluster-cta,
.hf-cat-fitness .hf-cat-cluster-cta {
  color: #1F1D2B;
}
.hf-cat-relationships .hf-cat-cluster-cta:hover,
.hf-cat-fitness .hf-cat-cluster-cta:hover {
  color: #FFFFFF;
}


/* Center Hero 5-Article Cover Story Slider */
.hf-center-feature[data-hf-card-slider] {
  position: relative;
  display: flex;
  flex-direction: column;
}
.hf-center-slider-vp {
  position: relative;
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.hf-center-feature .hf-deck-track {
  flex: 1;
}
.hf-center-feature .hf-deck-slide {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.hf-center-feature .hf-deck-arrow {
  top: 32%;
  width: 38px;
  height: 38px;
}
.hf-center-feature .hf-deck-counter {
  top: 16px;
  right: 16px;
  font-size: 0.74rem;
  padding: 4px 11px;
}
.hf-center-slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px 18px;
  background: var(--hf-surface);
}
.hf-center-slider-dots .hf-deck-dot.is-active {
  background: #FF8533;
  width: 28px;
}


/* Dynamic Blurred Active Cover-Story Photo Backdrop for Hero */
.hf-vox-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hf-vox-hero-bg {
  position: absolute;
  inset: -8px;
  z-index: 0;
  background-size: cover;
  background-position: center;
  filter: blur(3px) saturate(1.1);
  transform: scale(1.02);
  transition: background-image 0.55s ease, opacity 0.45s ease;
}
.hf-vox-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    130deg,
    rgba(255, 133, 51, 0.34) 0%,
    rgba(255, 168, 76, 0.24) 52%,
    rgba(23, 87, 216, 0.22) 100%
  );
  pointer-events: none;
}
html[data-theme="dark"] .hf-vox-hero-scrim {
  background: linear-gradient(130deg, rgba(18, 22, 42, 0.78) 0%, rgba(28, 22, 38, 0.74) 100%);
}
.hf-vox-hero > .hf-container {
  position: relative;
  z-index: 2;
}


/* Bigger, Spacious 2x2 Quick Answers Grid with Large Magazine Photos */
@media (min-width: 720px) {
  .hf-qa-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 26px !important;
  }
}
.hf-qa-media {
  aspect-ratio: 16 / 9;
  min-height: 240px;
}
.hf-qa-card-body {
  padding: 22px 24px 18px;
  gap: 14px;
}
.hf-qa-card h3 {
  font-size: 1.32rem;
  line-height: 1.28;
}
.hf-qa-answer-box {
  padding: 14px 16px;
  font-size: 0.94rem;
}
.hf-qa-card-foot {
  padding: 0 24px 22px;
}
.hf-qa-cta {
  padding: 11px 18px;
  font-size: 0.88rem;
}


/* Clickable Author Profile Pill Cards */
a.hf-editor-pill {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.hf-editor-profile-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-family: var(--hf-font-ui);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--hf-cat-accent);
}
a.hf-editor-pill:hover .hf-editor-profile-cta {
  text-decoration: underline;
}


/* Soft Blurred Ambient Warm-Orange (#FFA350) Glass Backdrop for Quick Answers & About Box */
.hf-qa-strip {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, rgba(255, 162, 79, 0.72) 0%, rgba(255, 178, 102, 0.62) 52%, rgba(255, 196, 132, 0.56) 100%);
}
.hf-qa-strip::before {
  content: "";
  position: absolute;
  inset: -24px;
  z-index: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.55) 0%, transparent 45%),
    radial-gradient(circle at 82% 78%, rgba(255, 130, 46, 0.45) 0%, transparent 50%),
    radial-gradient(circle at 54% 12%, rgba(255, 226, 170, 0.52) 0%, transparent 46%),
    url('../images/life-habits.webp') center / cover no-repeat;
  filter: blur(22px) saturate(1.15);
  opacity: 0.42;
  pointer-events: none;
}
.hf-qa-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(255, 163, 80, 0.74) 0%, rgba(255, 176, 98, 0.66) 55%, rgba(255, 192, 126, 0.62) 100%);
  backdrop-filter: blur(10px);
  pointer-events: none;
}
.hf-qa-strip > .hf-container {
  position: relative;
  z-index: 2;
}

.hf-about-box {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, rgba(255, 163, 80, 0.74) 0%, rgba(255, 180, 106, 0.64) 55%, rgba(255, 198, 138, 0.58) 100%);
  border: 1.5px solid rgba(255, 163, 80, 0.45);
}
.hf-about-box::before {
  content: "";
  position: absolute;
  inset: -24px;
  z-index: 0;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.58) 0%, transparent 46%),
    radial-gradient(circle at 86% 80%, rgba(255, 128, 42, 0.42) 0%, transparent 52%),
    url('../images/rel-conversation.webp') center / cover no-repeat;
  filter: blur(22px) saturate(1.15);
  opacity: 0.38;
  pointer-events: none;
}
.hf-about-box::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(255, 163, 80, 0.72) 0%, rgba(255, 179, 102, 0.66) 55%, rgba(255, 196, 134, 0.62) 100%);
  backdrop-filter: blur(10px);
  pointer-events: none;
}
.hf-about-box > * {
  position: relative;
  z-index: 2;
}
.hf-about-box .hf-eyebrow {
  background: rgba(255, 255, 255, 0.88);
  color: #1757D8;
  padding: 4px 12px;
  border-radius: 999px;
}
.hf-about-box h2 {
  color: #1F1D2B;
}
.hf-about-box > div:first-child > p {
  color: rgba(31, 29, 43, 0.84) !important;
}
.hf-about-box .hf-editor-pill {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
}
.hf-about-box .hf-editor-pill.hf-cat-lifestyle {
  background: rgba(238, 244, 255, 0.96);
}
html[data-theme="dark"] .hf-qa-strip::after,
html[data-theme="dark"] .hf-about-box::after {
  background: linear-gradient(135deg, rgba(36, 24, 20, 0.82) 0%, rgba(28, 24, 34, 0.82) 100%);
}
html[data-theme="dark"] .hf-about-box h2,
html[data-theme="dark"] .hf-about-box > div:first-child > p {
  color: #F4F1EA !important;
}


/* ==========================================================================
   12. COMPLETE POLISHED DARK MODE (Authoritative Final Layer — Toggle Only)
   ========================================================================== */
.hf-theme-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  font-family: var(--hf-font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.hf-theme-pill:hover {
  background: #FFC83D;
  border-color: #FFC83D;
  color: #1F1D2B;
}
.hf-theme-label-light { display: none; }
html[data-theme="dark"] .hf-theme-label-dark { display: none; }
html[data-theme="dark"] .hf-theme-label-light { display: inline; }

html[data-theme="dark"] {
  --hf-bg: #0E1018;
  --hf-surface: #161925;
  --hf-surface-soft: #1E2233;
  --hf-footer-bg: #112A6B;
  --hf-border: #282E42;
  --hf-border-strong: #39425E;

  --hf-text: #F3F5FA;
  --hf-muted: #A4ACBE;

  --hf-brand: #5C98FF;
  --hf-brand-hover: #80B0FF;
  --hf-brand-soft: #1B2947;
  --hf-brand-on: #FFFFFF;

  --hf-accent: #FF944D;
  --hf-accent-hover: #FFAD75;
  --hf-accent-soft: #312119;

  --hf-rel-bg: #322119;
  --hf-rel-tint: #251B16;
  --hf-rel-accent: #FF944D;
  --hf-rel-text: #FFD2B3;

  --hf-life-bg: #19294A;
  --hf-life-tint: #15213B;
  --hf-life-accent: #5C98FF;
  --hf-life-text: #C9DFFF;

  --hf-fit-bg: #322119;
  --hf-fit-tint: #251B16;
  --hf-fit-accent: #FF944D;
  --hf-fit-text: #FFD2B3;

  --hf-tip-bg: #182C1E;
  --hf-tip-text: #B8ECC4;
  --hf-tip-border: #2B5238;

  --hf-mistake-bg: #361B20;
  --hf-mistake-text: #FABDC6;
  --hf-mistake-border: #612E37;

  --hf-example-bg: #1C2030;
  --hf-example-text: #ECEFF6;
  --hf-example-border: #313852;
}

/* Dark Mode Overrides for All Custom Sections */
html[data-theme="dark"] .hf-topic-strip {
  background: #131622;
  border-bottom-color: #252B3F;
}
html[data-theme="dark"] .hf-topic-mini-search {
  background: #1C2030;
  border-color: #343C57;
}
html[data-theme="dark"] .hf-vox-hero-scrim {
  background: linear-gradient(130deg, rgba(16, 20, 36, 0.72) 0%, rgba(28, 20, 32, 0.64) 55%, rgba(14, 28, 64, 0.68) 100%);
}
html[data-theme="dark"] .hf-start-here-pill {
  background: #362A14;
  color: #FFD36B;
}
html[data-theme="dark"] .hf-win-tile.is-mint,
html[data-theme="dark"] .hf-win-tile.is-sky {
  background: #182542;
  border-color: #263A66;
  border-left-color: #5C98FF;
}
html[data-theme="dark"] .hf-win-tile.is-mint .hf-win-tag,
html[data-theme="dark"] .hf-win-tile.is-sky .hf-win-tag {
  color: #8BB7FF;
}
html[data-theme="dark"] .hf-win-tile.is-peach,
html[data-theme="dark"] .hf-win-tile.is-sun {
  background: #2C1F18;
  border-color: #4D3426;
  border-left-color: #FF944D;
}
html[data-theme="dark"] .hf-win-tile.is-peach .hf-win-tag,
html[data-theme="dark"] .hf-win-tile.is-sun .hf-win-tag {
  color: #FFB480;
}

html[data-theme="dark"] .hf-cat-deck.hf-cat-relationships,
html[data-theme="dark"] .hf-cat-deck.hf-cat-fitness {
  --hf-cat-accent: #FF944D;
  --hf-cat-tint: #261B16;
  --hf-cat-bg: #35231A;
  --hf-cat-text: #FFD0AE;
}
html[data-theme="dark"] .hf-cat-deck.hf-cat-lifestyle {
  --hf-cat-accent: #5C98FF;
  --hf-cat-tint: #15223D;
  --hf-cat-bg: #1B2D52;
  --hf-cat-text: #C9DFFF;
}
html[data-theme="dark"] .hf-deck-arrow {
  background: rgba(22, 25, 37, 0.9);
  color: #F3F5FA;
}

html[data-theme="dark"] .hf-qa-strip::after {
  background: linear-gradient(135deg, rgba(46, 26, 18, 0.84) 0%, rgba(28, 22, 34, 0.84) 55%, rgba(20, 26, 46, 0.84) 100%);
}
html[data-theme="dark"] .hf-qa-strip .hf-section-head {
  border-bottom-color: rgba(255, 255, 255, 0.14);
}
html[data-theme="dark"] .hf-qa-strip .hf-eyebrow {
  background: rgba(255, 148, 77, 0.2);
  color: #FFB980;
}
html[data-theme="dark"] .hf-qa-strip .hf-section-head h2 { color: #F3F5FA; }
html[data-theme="dark"] .hf-qa-strip .hf-section-sub { color: #B4BCCF; }
html[data-theme="dark"] .hf-qa-cta {
  background: #1B2B4E;
  color: #8BB7FF;
}
html[data-theme="dark"] .hf-qa-cta:hover {
  background: #1757D8;
  color: #FFFFFF;
}

html[data-theme="dark"] .hf-feature-steps b {
  background: #1B2B4E;
  color: #8BB7FF;
}
html[data-theme="dark"] .hf-widget-clusters {
  background: #161925;
  border-top-color: #5C98FF;
}
html[data-theme="dark"] .hf-widget-clusters .hf-widget-title {
  color: #8BB7FF;
  border-bottom-color: #282E42;
}
html[data-theme="dark"] .hf-chip-rel,
html[data-theme="dark"] .hf-chip-fit {
  background: #302018 !important;
  border-color: #573828 !important;
  color: #FFC69E !important;
}
html[data-theme="dark"] .hf-chip-life {
  background: #182848 !important;
  border-color: #2A457A !important;
  color: #B4D2FF !important;
}

html[data-theme="dark"] .hf-about-box::after {
  background: linear-gradient(135deg, rgba(44, 26, 18, 0.84) 0%, rgba(22, 25, 38, 0.86) 55%, rgba(18, 30, 56, 0.84) 100%);
}
html[data-theme="dark"] .hf-about-box {
  border-color: #343C57;
}
html[data-theme="dark"] .hf-about-box .hf-eyebrow {
  background: rgba(92, 152, 255, 0.18);
  color: #9CC0FF;
}
html[data-theme="dark"] .hf-about-trust-pills span {
  background: rgba(22, 25, 37, 0.9);
  border-color: #343C57;
  color: #F3F5FA;
}
html[data-theme="dark"] .hf-about-box .hf-editor-pill {
  background: rgba(22, 25, 37, 0.92);
}
html[data-theme="dark"] .hf-about-box .hf-editor-pill.hf-cat-relationships,
html[data-theme="dark"] .hf-about-box .hf-editor-pill.hf-cat-fitness {
  border-color: #4D3222;
  border-left-color: #FF944D;
}
html[data-theme="dark"] .hf-about-box .hf-editor-pill.hf-cat-lifestyle {
  background: rgba(22, 34, 62, 0.94);
  border-color: #294173;
  border-left-color: #5C98FF;
}
html[data-theme="dark"] .hf-editor-role-badge {
  background: rgba(255, 255, 255, 0.08);
  color: #F3F5FA;
}

html[data-theme="dark"] .hf-footer {
  background: linear-gradient(90deg, #10327D 0%, #133177 50%, #152E72 100%);
}


/* 13. Colorful Single-Article Sidebar Widgets (Categories + Search + Popular) */
.hf-widget-search {
  border-top: 4px solid #1757D8;
}
.hf-widget-search .hf-sidebar-search button {
  background: #FF8533;
  color: #FFFFFF;
}
.hf-widget-search .hf-sidebar-search button:hover {
  background: #1757D8;
}

.hf-widget-cats {
  padding: 0;
}
.hf-widget-cats .hf-widget-head-bar {
  background: linear-gradient(90deg, #1757D8 0%, #1E50D0 100%);
  color: #FFFFFF;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--hf-font-ui);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.hf-widget-cats .hf-sidebar-cats {
  padding: 16px 18px 18px;
  gap: 10px;
}
.hf-widget-cats .hf-sidebar-cats a {
  padding: 11px 14px;
  border-radius: 13px;
  border: 1.5px solid transparent;
  font-weight: 700;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.hf-widget-cats .hf-sidebar-cats a:hover {
  transform: translateX(3px);
}
.hf-widget-cats .hf-sidebar-cats li:nth-child(odd) a {
  background: #FFF3E5;
  border-color: #FFD5AE;
  color: #9C3C00;
}
.hf-widget-cats .hf-sidebar-cats li:nth-child(odd) a span:last-child {
  background: #FF8533;
  color: #FFFFFF;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
}
.hf-widget-cats .hf-sidebar-cats li:nth-child(odd) a:hover {
  background: #FF8533;
  color: #FFFFFF;
}
.hf-widget-cats .hf-sidebar-cats li:nth-child(odd) a:hover span:last-child {
  background: #FFFFFF;
  color: #B84700;
}

.hf-widget-cats .hf-sidebar-cats li:nth-child(even) a {
  background: #EAF1FF;
  border-color: #C2D7FF;
  color: #1447B3;
}
.hf-widget-cats .hf-sidebar-cats li:nth-child(even) a span:last-child {
  background: #1757D8;
  color: #FFFFFF;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
}
.hf-widget-cats .hf-sidebar-cats li:nth-child(even) a:hover {
  background: #1757D8;
  color: #FFFFFF;
}
.hf-widget-cats .hf-sidebar-cats li:nth-child(even) a:hover span:last-child {
  background: #FFFFFF;
  color: #1757D8;
}

html[data-theme="dark"] .hf-widget-cats .hf-sidebar-cats li:nth-child(odd) a {
  background: #2E2018;
  border-color: #543625;
  color: #FFD0AE;
}
html[data-theme="dark"] .hf-widget-cats .hf-sidebar-cats li:nth-child(even) a {
  background: #182747;
  border-color: #2B4578;
  color: #C9DFFF;
}


/* Sidebar Popular & Most Read with Crisp Photo Thumbnails + Number Badges */
.hf-sidebar-popular.is-visual {
  counter-reset: hf-vpop;
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hf-sidebar-popular.is-visual li {
  counter-increment: hf-vpop;
  padding: 6px;
  border-radius: 13px;
  display: block;
}
.hf-sidebar-popular.is-visual li::before {
  display: none;
}
.hf-pop-link {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.hf-pop-thumb {
  position: relative;
  width: 66px;
  height: 54px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--hf-surface-soft);
  flex-shrink: 0;
}
.hf-pop-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.28s ease;
}
.hf-pop-link:hover .hf-pop-thumb img {
  transform: scale(1.07);
}
.hf-pop-num {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: #FF8533;
  color: #FFFFFF;
  font-family: var(--hf-font-ui);
  font-size: 0.68rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
}
.hf-sidebar-popular.is-visual li:nth-child(even) .hf-pop-num {
  background: #1757D8;
}
.hf-pop-text strong {
  display: block;
  font-family: var(--hf-font-ui);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.32;
  color: var(--hf-text);
  margin-bottom: 2px;
}
.hf-pop-link:hover .hf-pop-text strong {
  color: var(--hf-brand);
}
.hf-pop-text span {
  font-size: 0.74rem;
  color: var(--hf-muted);
}


/* TheTipsJournal Logo & Custom Logo Polish */
.hf-brand {
  gap: 9px;
}
.hf-brand-mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 3px 8px rgba(15, 32, 85, 0.24));
  transition: transform 0.2s ease;
}
.hf-brand:hover .hf-brand-mark {
  transform: translateY(-1px) scale(1.04);
}
.hf-brand-name {
  font-family: var(--hf-font-ui) !important;
  font-weight: 800 !important;
  white-space: nowrap;
  letter-spacing: -0.03em !important;
  font-size: clamp(1.16rem, 2.1vw, 1.38rem) !important;
}
.hf-header .hf-brand-name,
.hf-footer .hf-brand-name {
  color: #FFFFFF !important;
}
.hf-header .hf-brand-accent,
.hf-footer .hf-brand-accent {
  color: #FFC83D !important;
}
.hf-brand-accent {
  color: #1757D8;
}
.hf-header .hf-brand-tag,
.hf-footer .hf-brand-tag {
  color: rgba(255, 255, 255, 0.8) !important;
  letter-spacing: 0.14em !important;
}
.hf-brand .custom-logo-link {
  display: inline-flex;
  align-items: center;
}
.hf-brand .custom-logo {
  height: 40px;
  width: auto;
  max-height: 44px;
  object-fit: contain;
  display: block;
}
