﻿/* ==========================================================================
   HELLO FRIDAY â€” ELEGANT LIFESTYLE BLOG THEME
   ==========================================================================
   PART 1: BASE & COMPONENT STYLES (NORMAL CSS - NO MEDIA QUERIES)
     1. Design Tokens & CSS Variables
     2. Reset & Base Typography
     3. Layout & Grid System
     4. Site Header, Brand & Desktop Navigation
     5. Search Overlay Modal & Search Forms
     6. Mobile Navigation Drawer (Base Structure)
     7. Buttons, Badges & Interactive Controls
     8. Cards & Showcase Blocks
     9. Topic & Category Showcase (Pills, Filter, Guide Cards)
    10. Article & Details Page (Head, Author, Takeaways, TOC, Prose, Mid-Guides, Next Article)
    11. Contact Us & Privacy Policy
    12. Site Footer & Back to Top
    13. Utilities & Keyframe Animations

   PART 2: RESPONSIVE MEDIA QUERIES (DESKTOP-DOWN BREAKPOINTS)
     1. Tablet Landscape / Small Desktop (max-width: 1024px)
     2. Intermediate Tablet (max-width: 900px)
     3. Tablet Portrait (max-width: 860px)
     4. Mobile Landscape / Small Tablet (max-width: 768px)
     5. Medium Mobile / Horizontal Cards (max-width: 680px)
     6. Mobile Devices & Phones (max-width: 640px)
     7. Mobile Intermediate (max-width: 540px)
     8. Small Phones (max-width: 480px)
   ========================================================================== */


/* ==========================================================================
   PART 1: BASE & COMPONENT STYLES (NORMAL CSS - NO MEDIA QUERIES)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & CSS Variables
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette â€” Crisp Editorial White & Warm Rose-Gold */
  --hf-bg-body: #ffffff;
  --hf-bg-surface: #ffffff;
  --hf-bg-soft: #f8f7f5;
  --hf-bg-accent-tint: #faf5f2;
  --hf-bg-dark: #161616;
  --hf-bg-dark-elevated: #222222;

  --hf-text-primary: #1a1a1a;
  --hf-text-secondary: #555555;
  --hf-text-muted: #8e8e8e;
  --hf-text-inverse: #ffffff;

  --hf-accent: #c59b6d;
  --hf-accent-hover: #a87f52;
  --hf-accent-soft: #eadbc8;

  --hf-border: #ececec;
  --hf-border-strong: #d8d8d8;

  /* Typography */
  --hf-font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --hf-font-script: "Cormorant Garamond", Georgia, serif;
  --hf-font-sans: "Montserrat", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Type Scale */
  --hf-text-xs: 0.72rem;
  /* ~11.5px */
  --hf-text-sm: 0.875rem;
  /* 14px */
  --hf-text-base: 0.96875rem;
  /* 15.5px */
  --hf-text-md: 1.0625rem;
  /* 17px */
  --hf-text-lg: 1.25rem;
  /* 20px */
  --hf-text-xl: 1.625rem;
  /* 26px */
  --hf-text-2xl: 2.05rem;
  /* 33px */
  --hf-text-3xl: 2.65rem;
  /* 42px */

  /* Spacing & Layout */
  --hf-container-max: 1170px;
  --hf-container-narrow: 820px;
  --hf-gutter: 2rem;
  --hf-section-space: 3rem;

  /* Radii â€” Classic Editorial Crispness */
  --hf-radius-xs: 2px;
  --hf-radius-sm: 3px;
  --hf-radius-md: 4px;
  --hf-radius-lg: 6px;
  --hf-radius-pill: 9999px;

  /* Shadows */
  --hf-shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.04);
  --hf-shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.06);
  --hf-shadow-md: 0 12px 32px rgba(0, 0, 0, 0.08);
  --hf-shadow-lg: 0 22px 54px rgba(0, 0, 0, 0.16);

  /* Transitions & Z-Index */
  --hf-transition: 0.25s ease;
  --hf-z-header: 100;
  --hf-z-drawer: 200;
  --hf-z-modal: 300;
}

/* --------------------------------------------------------------------------
   2. Reset & Base Typography
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--hf-font-sans);
  font-size: var(--hf-text-base);
  line-height: 1.75;
  color: var(--hf-text-primary);
  background-color: var(--hf-bg-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body.no-scroll {
  overflow: hidden;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--hf-transition), background-color var(--hf-transition), border-color var(--hf-transition), opacity var(--hf-transition);
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
.font-serif {
  font-family: var(--hf-font-serif);
  font-weight: 500;
  line-height: 1.25;
  color: var(--hf-text-primary);
}

h1 {
  font-size: var(--hf-text-3xl);
}

h2 {
  font-size: var(--hf-text-2xl);
}

h3 {
  font-size: var(--hf-text-xl);
}

h4 {
  font-size: var(--hf-text-lg);
}

p {
  color: var(--hf-text-secondary);
}

/* --------------------------------------------------------------------------
   3. Layout & Grid System
   -------------------------------------------------------------------------- */
.container,
main .container,
.section>.container {
  width: 100%;
  max-width: var(--hf-container-max);
  margin-inline: auto;
  padding-inline: var(--hf-gutter);
}

.container--narrow {
  max-width: var(--hf-container-narrow);
}

.section {
  padding-block: var(--hf-section-space);
}

.section--compact {
  padding-block: 2.75rem;
}

.section--soft {
  background-color: var(--hf-bg-soft);
  border-top: 1px solid var(--hf-border);
  border-bottom: 1px solid var(--hf-border);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--hf-border);
}

.section-eyebrow {
  display: inline-block;
  font-size: var(--hf-text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--hf-accent);
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: var(--hf-text-2xl);
}

.section-subtitle {
  margin-top: 0.4rem;
  font-size: var(--hf-text-sm);
  color: var(--hf-text-muted);
  max-width: 540px;
}

.grid {
  display: grid;
  gap: 2.25rem;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.content-with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 3.25rem;
  align-items: start;
}

.content-with-sidebar>* {
  min-width: 0;
  max-width: 100%;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  position: sticky;
  top: 76px;
}

/* --------------------------------------------------------------------------
   4. Site Header, Brand & Desktop Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--hf-z-header);
  background-color: #242424;
  color: #ffffff;
}

.nav-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  gap: 1.5rem;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  max-width: 220px;
  min-height: 36px;
  color: #ffffff;
  font-family: var(--hf-font-serif);
  font-size: 1.15rem;
  line-height: 1.1;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 1.25rem;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.header-mark svg,
.header-mark img {
  width: auto;
  max-width: 140px;
  height: 28px;
  max-height: 32px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.header-mark svg {
  color: #ffffff;
}

.header-mark span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.desktop-nav {
  display: flex;
  align-items: center;
}

.desktop-nav__list {
  display: flex;
  align-items: center;
  gap: 1.85rem;
}

.desktop-nav__link {
  position: relative;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  padding-block: 0.5rem;
}

.desktop-nav__link:hover,
.desktop-nav__link.is-active {
  color: #ffffff;
}

/* Header Dropdown ("More") */
.nav-dropdown {
  position: relative;
}

.nav-dropdown__menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  max-height: 320px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
  background-color: #242424;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--hf-transition), transform var(--hf-transition), visibility var(--hf-transition);
  z-index: calc(var(--hf-z-header) + 5);
}

.nav-dropdown__menu::-webkit-scrollbar {
  width: 5px;
}

.nav-dropdown__menu::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu,
.nav-dropdown.is-open .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown__menu a {
  display: block;
  padding: 0.55rem 1.15rem;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.nav-dropdown__menu a:hover,
.nav-dropdown__menu a.is-active {
  background-color: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--hf-radius-pill);
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--hf-transition), background-color var(--hf-transition);
}

.icon-btn:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu-btn {
  display: none;
}

/* Expandable Search Bar Under Dark Header */
.header-search-bar {
  background-color: #3f3f3f;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
}

.header-search-bar.is-open {
  max-height: 80px;
  opacity: 1;
}

.header-search-form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}

.header-search-form__input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: var(--hf-text-sm);
  letter-spacing: 0.04em;
}

.header-search-form__input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.header-search-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.25rem;
  padding: 0.4rem 0.6rem;
  transition: transform var(--hf-transition), opacity var(--hf-transition);
}

.header-search-form__submit:hover {
  transform: translateX(3px);
  opacity: 0.85;
}

/* Brand Typography & Image Logo (Used in Footer & Drawer) */
.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  line-height: 1;
  max-width: 100%;
}

.brand img,
.brand__logo {
  width: auto;
  max-width: 180px;
  max-height: 52px;
  height: auto;
  object-fit: contain;
  display: block;
}

.mobile-drawer__head .brand img,
.mobile-drawer__head .brand__logo {
  max-width: 140px;
  max-height: 36px;
}

.brand__title {
  font-family: var(--hf-font-serif);
  font-size: 3.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--hf-text-primary);
}

.brand__title span {
  font-family: var(--hf-font-script);
  font-style: italic;
  font-weight: 500;
  color: var(--hf-accent);
}

.brand__sub {
  margin-top: 0.55rem;
  font-size: 0.65rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--hf-text-muted);
}

/* --------------------------------------------------------------------------
   5. Search Overlay Modal & Search Forms
   -------------------------------------------------------------------------- */
.search-modal {
  position: fixed;
  inset: 0;
  z-index: var(--hf-z-modal);
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--hf-transition), visibility var(--hf-transition);
}

.search-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.search-modal__dialog {
  width: 100%;
  max-width: 680px;
  background-color: var(--hf-bg-surface);
  border: 1px solid var(--hf-border);
  padding: 2.75rem;
  box-shadow: var(--hf-shadow-lg);
  transform: translateY(-14px);
  transition: transform var(--hf-transition);
}

.search-modal.is-open .search-modal__dialog {
  transform: translateY(0);
}

.search-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.search-modal__title {
  font-family: var(--hf-font-serif);
  font-size: var(--hf-text-xl);
}

.search-form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--hf-bg-soft);
  border: 1px solid var(--hf-border-strong);
  padding: 0.35rem 0.35rem 0.35rem 1.25rem;
  transition: border-color var(--hf-transition);
}

.search-form:focus-within {
  border-color: var(--hf-accent);
}

.search-form__input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  outline: none;
  font-size: var(--hf-text-sm);
  color: var(--hf-text-primary);
}

.search-form__input::placeholder {
  color: var(--hf-text-muted);
}

.search-suggestions {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.search-suggestions__label {
  font-size: var(--hf-text-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--hf-text-muted);
  margin-right: 0.25rem;
}

.search-hero {
  background-color: var(--hf-bg-soft);
  border-bottom: 1px solid var(--hf-border);
  padding-block: 3.5rem;
  text-align: center;
}

.search-hero__inner {
  max-width: 680px;
  margin-inline: auto;
}

.search-hero__form {
  margin-top: 1.75rem;
}

.search-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--hf-border);
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  border: 1px dashed var(--hf-border-strong);
}

.empty-state h3 {
  margin-bottom: 0.5rem;
}

.empty-state p {
  margin-bottom: 1.5rem;
}

/* Search Result Horizontal List With Round Image */
.search-result-list {
  display: flex;
  flex-direction: column;
}

.search-result-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 1.75rem;
  align-items: center;
  padding-block: 1.85rem;
  border-bottom: 1px solid var(--hf-border);
}

.search-result-card:first-child {
  padding-top: 0;
}

.search-result-card__thumb {
  width: 112px;
  height: 112px;
  border-radius: var(--hf-radius-pill);
  overflow: hidden;
  background-color: var(--hf-bg-soft);
}

.search-result-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.search-result-card:hover .search-result-card__thumb img {
  transform: scale(1.06);
}

.search-result-card__title {
  font-family: var(--hf-font-serif);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 0.45rem;
}

.search-result-card__title a:hover {
  color: var(--hf-accent);
}

.search-result-card__excerpt {
  font-size: var(--hf-text-sm);
  color: var(--hf-text-secondary);
  margin-bottom: 0.65rem;
}

.search-result-card__meta {
  font-family: var(--hf-font-script);
  font-style: italic;
  font-size: 0.9rem;
  color: #b4928e;
}

/* --------------------------------------------------------------------------
   6. Mobile Navigation Drawer (Base Structure)
   -------------------------------------------------------------------------- */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: var(--hf-z-drawer);
  background-color: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--hf-transition), visibility var(--hf-transition);
}

.mobile-drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: calc(var(--hf-z-drawer) + 1);
  width: min(320px, 86vw);
  background-color: var(--hf-bg-surface);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  box-shadow: var(--hf-shadow-lg);
  transform: translateX(100%);
  transition: transform var(--hf-transition);
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.mobile-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--hf-border);
}

.mobile-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 1.5rem;
}

.mobile-drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0.5rem;
  border-bottom: 1px solid var(--hf-border);
  font-size: var(--hf-text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hf-text-primary);
}

.mobile-drawer__link:hover,
.mobile-drawer__link.is-active {
  color: var(--hf-accent);
}

.mobile-drawer__footer {
  padding-top: 1.5rem;
  font-size: var(--hf-text-xs);
  color: var(--hf-text-muted);
}

/* --------------------------------------------------------------------------
   7. Buttons, Badges & Interactive Controls
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.65rem;
  border-radius: var(--hf-radius-xs);
  font-size: var(--hf-text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--hf-transition);
}

.btn--primary {
  background-color: var(--hf-accent);
  color: #ffffff;
}

.btn--primary:hover {
  background-color: var(--hf-accent-hover);
}

.btn--outline {
  background-color: transparent;
  border-color: var(--hf-border-strong);
  color: var(--hf-text-primary);
}

.btn--outline:hover {
  border-color: var(--hf-text-primary);
  background-color: var(--hf-text-primary);
  color: #ffffff;
}

.btn--dark {
  background-color: var(--hf-bg-dark);
  color: var(--hf-text-inverse);
}

.btn--dark:hover {
  background-color: var(--hf-accent);
}

.btn--sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.68rem;
}

.badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hf-accent);
}

.badge--pill {
  padding: 0.3rem 0.85rem;
  background-color: var(--hf-bg-accent-tint);
  border-radius: var(--hf-radius-pill);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--hf-text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--hf-text-primary);
}

.text-link:hover {
  color: var(--hf-accent);
}

/* --------------------------------------------------------------------------
   8. Cards & Showcase Blocks
   -------------------------------------------------------------------------- */
/* Hero Editorial Slider (Hello Friday Center-Mode Infinite Peek Carousel) */
.hero-slider {
  position: relative;
  padding-top: 2.5rem;
  width: 100%;
  overflow: hidden;
}

.hero-slider__viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-slider__track {
  display: flex;
  align-items: stretch;
  gap: 1.25rem;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hero-slide {
  position: relative;
  flex: 0 0 64%;
  min-height: 470px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--hf-bg-soft);
}

.hero-slide__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.04);
}

.hero-slide__card {
  position: relative;
  z-index: 2;
  background-color: #ffffff;
  padding: 2.1rem 2.75rem;
  max-width: 440px;
  width: calc(100% - 3rem);
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero-slide.is-center .hero-slide__card {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide__cat {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b4928e;
  font-weight: 500;
}

.hero-slide__cat em {
  font-family: var(--hf-font-script);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.9rem;
  margin-right: 0.25rem;
  color: var(--hf-text-muted);
}

.hero-slide__title {
  color: var(--hf-text-primary);
  font-family: var(--hf-font-serif);
  font-weight: 400;
  font-size: 1.65rem;
  line-height: 1.3;
  margin-block: 0.55rem 0.65rem;
}

.hero-slide__title a:hover {
  color: var(--hf-accent);
}

.hero-slide__meta {
  font-family: var(--hf-font-script);
  font-style: italic;
  font-size: 0.92rem;
  color: #b4928e;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 44px;
  height: 44px;
  background-color: transparent;
  color: var(--hf-text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  transition: color var(--hf-transition), transform var(--hf-transition);
}

.slider-arrow:hover {
  color: var(--hf-accent);
  transform: translateY(-50%) scale(1.1);
}

.slider-arrow--prev {
  left: calc(18% - 28px);
}

.slider-arrow--next {
  right: calc(18% - 28px);
}

/* Centered Hairline Divider Title */
.divider-title {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}

.divider-title::before,
.divider-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: var(--hf-border);
}

.divider-title h2 {
  font-family: var(--hf-font-serif);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--hf-text-secondary);
  white-space: nowrap;
}

/* Editorial Feed Stream (Hello Friday Single-Column Post + Related Strip) */
.editorial-feed {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.editorial-post {
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--hf-border);
}

.editorial-post__media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--hf-bg-soft);
  margin-bottom: 1.65rem;
}

.editorial-post__media img {
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
}

.editorial-post:hover .editorial-post__media img {
  transform: scale(1.03);
}

.editorial-post__cat {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b4928e;
  margin-bottom: 0.35rem;
}

.editorial-post__cat em {
  font-family: var(--hf-font-script);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.92rem;
  color: var(--hf-text-muted);
  margin-right: 0.25rem;
}

.editorial-post__title {
  font-family: var(--hf-font-serif);
  font-weight: 400;
  font-size: 1.85rem;
  line-height: 1.28;
  margin-bottom: 1rem;
  color: var(--hf-text-primary);
}

.editorial-post__title a:hover {
  color: var(--hf-accent);
}

.editorial-post__excerpt {
  font-size: var(--hf-text-sm);
  line-height: 1.78;
  color: var(--hf-text-secondary);
  margin-bottom: 1.15rem;
}

.editorial-post__continue {
  position: relative;
  display: inline-block;
  font-family: var(--hf-font-serif);
  font-size: 0.92rem;
  color: #b4928e;
  padding-bottom: 0.4rem;
  margin-bottom: 1.75rem;
}

.editorial-post__continue::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 1px;
  background-color: #d9c3c0;
  transition: width var(--hf-transition), background-color var(--hf-transition);
}

.editorial-post__continue:hover {
  color: var(--hf-accent-hover);
}

.editorial-post__continue:hover::after {
  width: 100%;
  background-color: var(--hf-accent-hover);
}

.editorial-post__meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
}

.editorial-post__byline {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--hf-font-script);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--hf-text-muted);
}

.editorial-post__byline strong,
.editorial-post__byline a {
  font-weight: 400;
  color: #b4928e;
}

.editorial-post__avatar {
  width: 34px;
  height: 34px;
  border-radius: var(--hf-radius-pill);
  opacity: 0.85;
}

/* Inline Related Articles Strip */
.related-strip {
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--hf-border);
}

.editorial-feed-item .related-strip {
  padding-top: 2.25rem;
}

.related-strip__title {
  font-family: var(--hf-font-serif);
  font-size: 0.95rem;
  font-weight: 400;
  text-align: center;
  color: var(--hf-text-secondary);
  margin-bottom: 1.75rem;
}

.related-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.related-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--hf-bg-soft);
  margin-bottom: 0.75rem;
}

.related-card__media img {
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.related-card:hover .related-card__media img {
  transform: scale(1.04);
}

.related-card__title {
  font-family: var(--hf-font-serif);
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.38;
  color: var(--hf-text-secondary);
  margin-bottom: 0.35rem;
}

.related-card__title a:hover {
  color: var(--hf-accent);
}

.related-card__date {
  font-family: var(--hf-font-script);
  font-style: italic;
  font-size: 0.85rem;
  color: #b4928e;
}

/* Editorial Post Card â€” Centered Classic Style */
.post-card {
  display: flex;
  flex-direction: column;
  background-color: var(--hf-bg-surface);
  transition: transform var(--hf-transition);
}

.post-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--hf-bg-soft);
  margin-bottom: 1.25rem;
}

.post-card__media img {
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
}

.post-card:hover .post-card__media img {
  transform: scale(1.04);
}

.post-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: center;
  padding-inline: 0.5rem;
}

.post-card__cat {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hf-accent);
  margin-bottom: 0.5rem;
}

.post-card__title {
  font-size: 1.45rem;
  margin-bottom: 0.55rem;
}

.post-card__title a:hover {
  color: var(--hf-accent);
}

.post-card__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: var(--hf-text-xs);
  color: var(--hf-text-muted);
  margin-bottom: 0.85rem;
}

.post-card__excerpt {
  font-size: var(--hf-text-sm);
  margin-bottom: 1.35rem;
  flex: 1;
}

.post-card__footer {
  padding-top: 0.25rem;
}

/* Featured Lead / Horizontal Post Variant */
.post-card--horizontal {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 2.25rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--hf-border);
}

.post-card--horizontal .post-card__media {
  width: 52%;
  aspect-ratio: 16 / 11;
  margin-bottom: 0;
}

.post-card--horizontal .post-card__body {
  width: 48%;
  text-align: left;
  padding-inline: 0;
}

.post-card--horizontal .post-card__meta {
  justify-content: flex-start;
}

.post-card--horizontal .post-card__title {
  font-size: 1.9rem;
}

/* Classic Sidebar Widgets */
.widget {
  background-color: transparent;
  padding: 0;
}

.widget__title {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--hf-font-serif);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #b4928e;
  margin-bottom: 1.5rem;
}

.widget__title::before,
.widget__title::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: var(--hf-border);
}

.mini-post-list {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.mini-post {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 1.1rem;
  align-items: center;
}

.mini-post__thumb {
  width: 84px;
  height: 84px;
  border-radius: var(--hf-radius-pill);
  overflow: hidden;
  background-color: var(--hf-bg-soft);
}

.mini-post__thumb img {
  width: 100%;
  height: 100%;
}

.mini-post__title {
  font-family: var(--hf-font-serif);
  font-size: 0.96rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--hf-text-secondary);
}

.mini-post__title a:hover {
  color: var(--hf-accent);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag-cloud a {
  display: inline-block;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--hf-border);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hf-text-muted);
  transition: all var(--hf-transition);
}

.tag-cloud a:hover {
  border-color: var(--hf-accent);
  color: var(--hf-accent);
}

.widget-cat-list {
  display: flex;
  flex-direction: column;
}

.widget-cat-list li {
  border-bottom: 1px solid var(--hf-border);
}

.widget-cat-list li:last-child {
  border-bottom: none;
}

.widget-cat-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.65rem;
  font-size: var(--hf-text-sm);
  color: var(--hf-text-secondary);
}

.widget-cat-list a:hover {
  color: var(--hf-accent);
}

.insta-widget-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.insta-widget-grid a {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: block;
}

.insta-widget-grid img {
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}

.insta-widget-grid a:hover img {
  transform: scale(1.06);
}

.newsletter-banner {
  background-color: var(--hf-bg-soft);
  border: 1px solid var(--hf-border);
  padding: 2.75rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}

.newsletter-banner__form {
  display: flex;
  gap: 0.65rem;
  min-width: 360px;
}

.newsletter-banner__input {
  flex: 1;
  padding: 0.8rem 1.1rem;
  border: 1px solid var(--hf-border-strong);
  background-color: var(--hf-bg-surface);
  outline: none;
  font-size: var(--hf-text-sm);
}

/* --------------------------------------------------------------------------
   9. Topic & Category Showcase (Pills, Filter, Guide Cards)
   -------------------------------------------------------------------------- */
.category-hero {
  background-color: var(--hf-bg-soft);
  border-bottom: 1px solid var(--hf-border);
  padding-block: 3.25rem;
  text-align: center;
}

.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--hf-text-muted);
  margin-bottom: 0.85rem;
}

.breadcrumbs a:hover {
  color: var(--hf-accent);
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--hf-border);
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1.05rem;
  border: 1px solid var(--hf-border-strong);
  background-color: var(--hf-bg-surface);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hf-text-secondary);
  transition: all var(--hf-transition);
}

.pill-btn:hover {
  border-color: var(--hf-accent);
  color: var(--hf-accent);
}

.pill-btn.is-active {
  background-color: var(--hf-bg-dark);
  border-color: var(--hf-bg-dark);
  color: var(--hf-text-inverse);
}

.sort-select {
  padding: 0.48rem 1rem;
  border: 1px solid var(--hf-border-strong);
  background-color: var(--hf-bg-surface);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--hf-text-secondary);
  outline: none;
}

.guide-card {
  position: relative;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  color: #ffffff;
  background-color: var(--hf-bg-dark);
}

.guide-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
}

.guide-card:hover img {
  transform: scale(1.06);
}

.guide-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.36);
}

.guide-card__content {
  position: relative;
  z-index: 2;
  background-color: rgba(255, 255, 255, 0.92);
  padding: 0.85rem 1.5rem;
  min-width: 170px;
}

.guide-card__title {
  color: var(--hf-text-primary);
  font-size: 1.15rem;
  margin-bottom: 0.1rem;
}

.guide-card__count {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hf-accent);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   10. Article & Details Page (Head, Author, Takeaways, TOC, Prose, Mid-Guides, Next Article)
   -------------------------------------------------------------------------- */
.article-head {
  text-align: center;
  padding-block: 3.25rem 2.25rem;
  max-width: 780px;
  margin-inline: auto;
}

.article-head__title {
  font-size: 2.75rem;
  margin-block: 0.85rem;
}

.article-head__subtitle {
  font-size: var(--hf-text-md);
  color: var(--hf-text-secondary);
  margin-bottom: 1.5rem;
}

.article-author {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.55rem 1.25rem;
  border: 1px solid var(--hf-border);
  border-radius: var(--hf-radius-pill);
}

.article-author__avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--hf-radius-pill);
}

.article-author__info {
  text-align: left;
  font-size: var(--hf-text-xs);
}

.article-author__name {
  font-weight: 600;
  color: var(--hf-text-primary);
  display: block;
}

.article-hero-media {
  max-width: 1020px;
  margin: 0 auto 3rem;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.article-hero-media img {
  width: 100%;
  height: 100%;
}

.article-takeaways {
  background-color: var(--hf-bg-soft);
  border-left: 3px solid var(--hf-accent);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.article-takeaways h3 {
  font-size: var(--hf-text-lg);
  margin-bottom: 0.75rem;
}

.article-takeaways ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: disc;
  padding-left: 1.25rem;
  color: var(--hf-text-secondary);
  font-size: var(--hf-text-sm);
}

.article-toc {
  border: 1px solid var(--hf-border);
  padding: 1.15rem 1.4rem;
  margin-bottom: 1.5rem;
}

.article-toc__title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hf-text-muted);
  margin-bottom: 0.8rem;
}

.article-toc__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1.5rem;
}

.article-toc__list a {
  font-size: var(--hf-text-sm);
  color: var(--hf-text-secondary);
}

.article-toc__list a:hover,
.article-toc__list a.is-active {
  color: var(--hf-accent);
}

.article-toc__list a.is-active {
  font-weight: 600;
}

.article-prose h2,
.article-prose h3 {
  scroll-margin-top: 84px;
}

.article-prose {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--hf-text-secondary);
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.article-prose>*:first-child {
  margin-top: 0;
}

.article-prose>*:last-child {
  margin-bottom: 0;
}

.article-prose h1,
.article-prose h2,
.article-prose h3,
.article-prose h4,
.article-prose h5,
.article-prose h6 {
  scroll-margin-top: 5.5rem;
  color: var(--hf-text-primary);
  margin: 1.5rem 0 0.65rem;
  line-height: 1.28;
}

.article-prose h1 {
  font-size: 2.2rem;
}

.article-prose h2 {
  font-size: 1.85rem;
}

.article-prose h3 {
  font-size: 1.48rem;
}

.article-prose h4 {
  font-size: 1.22rem;
}

.article-prose h5,
.article-prose h6 {
  font-family: var(--hf-font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article-prose p {
  margin-bottom: 1.35rem;
}

.article-prose strong,
.article-prose b {
  font-weight: 600;
  color: var(--hf-text-primary);
}

.article-prose a {
  color: var(--hf-accent-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.article-prose a:hover {
  color: var(--hf-text-primary);
}

.article-prose ul,
.article-prose ol {
  margin: 1.25rem 0 1.5rem;
  padding-left: 1.5rem;
}

.article-prose ul {
  list-style: disc;
}

.article-prose ol {
  list-style: decimal;
}

.article-prose li {
  margin-bottom: 0.5rem;
}

.article-prose li>ul,
.article-prose li>ol {
  margin: 0.45rem 0 0.5rem;
}

.article-prose img,
.article-prose video,
.article-prose iframe {
  display: block;
  max-width: 100%;
  margin: 1.85rem auto;
}

.article-prose iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
}

.article-prose figure {
  margin: 2rem 0;
}

.article-prose figure img {
  margin: 0 auto;
  width: 100%;
}

.article-prose figcaption {
  margin-top: 0.65rem;
  font-family: var(--hf-font-script);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--hf-text-muted);
  text-align: center;
}

.article-prose hr {
  border: none;
  border-top: 1px solid var(--hf-border);
  margin: 2.25rem auto;
  max-width: 180px;
}

.article-prose table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: var(--hf-text-sm);
  display: block;
  overflow-x: auto;
}

.article-prose th,
.article-prose td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--hf-border);
  text-align: left;
  vertical-align: top;
}

.article-prose th {
  background-color: var(--hf-bg-soft);
  font-weight: 600;
  color: var(--hf-text-primary);
}

.article-prose th p,
.article-prose td p {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}

.article-prose img {
  width: 100%;
  height: auto;
}

.iframe-container,
#relatedsearches1,
#afscontainer1 {
  width: 100%;
  margin: 1rem 0;
}

.article-prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.88em;
  background-color: var(--hf-bg-soft);
  padding: 0.15rem 0.4rem;
  border-radius: var(--hf-radius-xs);
  color: var(--hf-text-primary);
}

.article-prose pre {
  margin: 1.75rem 0;
  padding: 1.25rem 1.4rem;
  background-color: var(--hf-bg-soft);
  border: 1px solid var(--hf-border);
  overflow-x: auto;
  line-height: 1.6;
}

.article-prose pre code {
  background: transparent;
  padding: 0;
  font-size: 0.85rem;
}

.article-prose .dropcap::first-letter {
  font-family: var(--hf-font-serif);
  float: left;
  font-size: 3.9rem;
  line-height: 0.82;
  padding-right: 0.6rem;
  padding-top: 0.25rem;
  color: var(--hf-accent);
  font-weight: 600;
}

.article-prose blockquote {
  margin: 2.25rem 0;
  padding: 1.65rem 2rem;
  border-top: 1px solid var(--hf-border);
  border-bottom: 1px solid var(--hf-border);
  font-family: var(--hf-font-serif);
  font-size: 1.45rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--hf-text-primary);
  text-align: center;
}

.article-prose blockquote p:last-child {
  margin-bottom: 0;
}

.mid-guide-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.65rem 1.85rem;
  margin: 2.25rem 0;
  background-color: var(--hf-bg-accent-tint);
  border: 1px solid var(--hf-accent-soft);
}

.next-article-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  margin-top: 3rem;
  border: 1px solid var(--hf-border);
}

.next-article-card__img {
  width: 160px;
  height: 110px;
  overflow: hidden;
}

.next-article-card__img img {
  width: 100%;
  height: 100%;
}

.article-byline-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--hf-font-script);
  font-style: italic;
  font-size: 0.96rem;
  color: var(--hf-text-muted);
  margin-bottom: 0.85rem;
}

.article-subdetail {
  font-size: var(--hf-text-md);
  line-height: 1.65;
  color: var(--hf-text-secondary);
  margin-bottom: 1.25rem;
}

[data-article-root] .section {
  /* padding-block: 2.5rem; */
}

[data-article-root]+.site-footer {
  margin-top: 2rem !important;
}

.article-toc--mobile {
  display: none;
}

.article-toc--desktop .article-toc__list {
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

.article-toc__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.article-toc__summary::-webkit-details-marker {
  display: none;
}

.article-toc__summary .article-toc__title {
  margin-bottom: 0;
}

.article-toc[open] .article-toc__summary {
  margin-bottom: 0.85rem;
}

.article-toc__chevron {
  color: var(--hf-text-muted);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.article-toc[open] .article-toc__chevron {
  transform: rotate(180deg);
}

.article-toc--mobile nav {
  max-height: 195px;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-width: thin;
}

.article-tags {
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

/* Mid-Article Trending Component */
.mid-article-trending {
  background-color: var(--hf-bg-soft);
  border: 1px solid var(--hf-border);
  border-left: 3px solid var(--hf-accent);
  border-radius: var(--hf-radius-md);
  padding: 1.5rem 1.5rem 0.9rem;
  margin: 2rem 0;
  box-shadow: var(--hf-shadow-xs);
}

.mid-article-trending .sidebar-module-title {
  font-family: var(--hf-font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--hf-text-primary);
  margin: 0 0 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--hf-text-primary);
  display: block;
}

.article-prose .mid-article-trending .trending-list,
.mid-article-trending .trending-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-prose .mid-article-trending .trending-list li,
.mid-article-trending .trending-list li {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  padding: 0.7rem 0.6rem;
  margin: 0;
  border-bottom: 1px solid var(--hf-border);
  border-radius: var(--hf-radius-sm);
  transition: background-color var(--hf-transition);
}

.article-prose .mid-article-trending .trending-list li:last-child,
.mid-article-trending .trending-list li:last-child {
  border-bottom: none;
}

.mid-article-trending .trending-list li:hover {
  background-color: var(--hf-bg-surface);
}

.mid-article-trending .trending-list .rank {
  font-family: var(--hf-font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--hf-accent);
  flex-shrink: 0;
  min-width: 1.25rem;
}

.mid-article-trending .trending-list li a {
  font-size: var(--hf-text-sm);
  font-weight: 500;
  line-height: 1.45;
  color: var(--hf-text-primary);
  text-decoration: none;
  transition: color var(--hf-transition);
}

.mid-article-trending .trending-list li a:hover {
  color: var(--hf-accent);
}

@media (max-width: 768px) {
  .mid-article-trending {
    padding: 1.15rem 1.1rem 0.75rem;
    margin: 1.5rem 0;
  }

  .mid-article-trending .sidebar-module-title {
    font-size: 1.05rem;
    margin-bottom: 0.65rem;
  }

  .article-prose .mid-article-trending .trending-list li,
  .mid-article-trending .trending-list li {
    padding: 0.6rem 0.4rem;
    gap: 0.7rem;
  }

  .mid-article-trending .trending-list .rank {
    font-size: 1.15rem;
  }
}

@media (max-width: 480px) {
  .mid-article-trending {
    padding: 0.9rem 0.85rem 0.55rem;
    margin: 0.5rem 0;
  }

  .mid-article-trending .sidebar-module-title {
    font-size: 0.98rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.4rem;
  }

  .article-prose .mid-article-trending .trending-list li,
  .mid-article-trending .trending-list li {
    padding: 0.5rem 0.25rem;
    gap: 0.55rem;
  }

  .mid-article-trending .trending-list .rank {
    font-size: 1.05rem;
    min-width: 1rem;
  }

  .mid-article-trending .trending-list li a {
    font-size: 0.85rem;
    line-height: 1.4;
  }
}

.article-meta-bar {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--hf-border);
}

.article-prev-next {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
  padding-block: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--hf-border);
}

.article-prev-next__img {
  display: block;
  width: 160px;
  height: 110px;
  overflow: hidden;
  background-color: var(--hf-bg-soft);
}

.article-prev-next__img img {
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.article-prev-next:hover .article-prev-next__img img {
  transform: scale(1.04);
}

.article-prev-next__label {
  display: block;
  font-family: var(--hf-font-script);
  font-style: italic;
  font-size: 0.92rem;
  color: #b4928e;
  margin-bottom: 0.25rem;
}

.article-prev-next__title {
  display: block;
  font-family: var(--hf-font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--hf-text-primary);
  margin-bottom: 0.35rem;
}

.article-prev-next__title:hover {
  color: var(--hf-accent);
}

.article-prev-next__desc {
  font-size: var(--hf-text-sm);
  color: var(--hf-text-secondary);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   11. Contact Us & Privacy Policy
   -------------------------------------------------------------------------- */
.page-hero {
  background-color: var(--hf-bg-soft);
  border-bottom: 1px solid var(--hf-border);
  padding-block: 3.5rem;
  text-align: center;
}

.page-hero__inner {
  max-width: 660px;
  margin-inline: auto;
}

.page-hero__desc {
  margin-top: 0.85rem;
  font-size: var(--hf-text-md);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-card {
  border: 1px solid var(--hf-border);
  padding: 1.5rem;
}

.contact-card__label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--hf-accent);
  margin-bottom: 0.35rem;
}

.contact-form-card {
  border: 1px solid var(--hf-border);
  padding: 2.5rem;
  background-color: var(--hf-bg-surface);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hf-text-primary);
}

.form-control {
  width: 100%;
  padding: 0.82rem 1rem;
  border: 1px solid var(--hf-border-strong);
  background-color: var(--hf-bg-soft);
  outline: none;
  transition: border-color var(--hf-transition), background-color var(--hf-transition);
}

.form-control:focus {
  border-color: var(--hf-accent);
  background-color: var(--hf-bg-surface);
}

.form-feedback {
  margin-top: 1rem;
  padding: 0.95rem 1.2rem;
  font-size: var(--hf-text-sm);
  display: none;
}

.form-feedback.is-success {
  display: block;
  background-color: #edf5ee;
  border: 1px solid #b8d8be;
  color: #295932;
}

.form-feedback.is-error {
  display: block;
  background-color: #fdf0ed;
  border: 1px solid #e6b8ad;
  color: #8f331e;
}

.policy-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

.policy-nav {
  position: sticky;
  top: 5rem;
  border: 1px solid var(--hf-border);
  padding: 1.5rem;
}

.policy-nav__title {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--hf-text-muted);
  margin-bottom: 1rem;
}

.policy-nav__list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.policy-nav__list a {
  font-size: var(--hf-text-sm);
  color: var(--hf-text-secondary);
}

.policy-nav__list a:hover {
  color: var(--hf-accent);
}

.policy-content {
  border: 1px solid var(--hf-border);
  padding: 2.75rem;
}

.policy-section+.policy-section {
  margin-top: 2.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--hf-border);
}

.policy-section h2 {
  font-size: 1.65rem;
  margin-bottom: 0.8rem;
}

.policy-section p,
.policy-section li {
  font-size: var(--hf-text-base);
  color: var(--hf-text-secondary);
  margin-bottom: 0.85rem;
}

.policy-section ul {
  list-style: disc;
  padding-left: 1.4rem;
}

/* --------------------------------------------------------------------------
   12. Site Footer & Back to Top
   -------------------------------------------------------------------------- */
.insta-strip {
  position: relative;
  margin-top: 2rem;
}

.insta-strip__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.insta-strip__item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: block;
}

.insta-strip__item img {
  width: 100%;
  height: 100%;
  transition: transform 0.55s ease;
}

.insta-strip__item:hover img,
.insta-strip__item:focus-visible img {
  transform: scale(1.07);
}

.insta-strip__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(16, 16, 16, 0.25) 0%, rgba(16, 16, 16, 0.86) 100%);
  color: #ffffff;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity var(--hf-transition);
}

.insta-strip__item:hover .insta-strip__overlay,
.insta-strip__item:focus-visible .insta-strip__overlay {
  opacity: 1;
}

.insta-strip__cat {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hf-accent-soft);
  margin-bottom: 0.3rem;
}

.insta-strip__title {
  font-family: var(--hf-font-serif);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.insta-strip__meta {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.04em;
}

.insta-strip__badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--hf-text-primary);
  padding: 0.75rem 1.75rem;
  font-size: var(--hf-text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: var(--hf-shadow-sm);
  pointer-events: none;
  transition: opacity var(--hf-transition);
}

.insta-strip:hover .insta-strip__badge {
  opacity: 0;
}

.site-footer {
  background-color: #242424;
  color: var(--hf-text-inverse);
  padding-block: 4rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand {
  align-items: flex-start;
}

.footer-brand .brand__title {
  color: #ffffff;
  font-size: 2.2rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.68);
  font-size: var(--hf-text-sm);
  margin-top: 1rem;
  max-width: 300px;
}

.footer-col__title {
  font-family: var(--hf-font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--hf-accent);
  margin-bottom: 1.15rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: var(--hf-text-sm);
  color: rgba(255, 255, 255, 0.75);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.75rem;
  font-size: var(--hf-text-xs);
  color: rgba(255, 255, 255, 0.52);
}

.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 90;
  width: 42px;
  height: 42px;
  background-color: var(--hf-bg-dark);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--hf-shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--hf-transition);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--hf-accent);
}

/* --------------------------------------------------------------------------
   13. Utilities & Keyframe Animations
   -------------------------------------------------------------------------- */
.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;
}

.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fadeUp 0.5s var(--hf-transition) both;
}


/* ==========================================================================
   PART 2: RESPONSIVE MEDIA QUERIES (DESKTOP-DOWN BREAKPOINTS)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tablet Landscape / Small Desktop (max-width: 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root {
    --hf-gutter: 1.5rem;
    --hf-section-space: 2.5rem;
  }

  .hero-slide {
    flex: 0 0 70%;
    min-height: 430px;
  }

  .content-with-sidebar {
    grid-template-columns: minmax(0, 1fr) 275px;
    gap: 2.25rem;
  }

  .editorial-feed {
    gap: 2.5rem;
  }

  .editorial-post__title {
    font-size: 1.7rem;
  }

  .article-prose {
    font-size: 1rem;
  }

  .article-prose h2 {
    font-size: 1.7rem;
  }

  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid,
  .policy-layout {
    gap: 2.25rem;
  }

  .policy-content,
  .contact-form-card {
    padding: 2.15rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* --------------------------------------------------------------------------
   2. Intermediate Tablet (max-width: 900px)
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .article-toc--desktop {
    display: none;
  }

  .article-toc--mobile {
    display: block;
    margin-bottom: 1.75rem;
  }

  .content-with-sidebar {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .sidebar {
    position: static;
    max-height: none;
    overflow-y: visible;
  }

  .page-hero,
  .category-hero,
  .search-hero {
    padding-block: 2.75rem;
  }

  .contact-grid,
  .policy-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .policy-nav {
    position: static;
  }
}

/* --------------------------------------------------------------------------
   3. Tablet Portrait (max-width: 860px)
   -------------------------------------------------------------------------- */
@media (max-width: 860px) {
  .hero-slide {
    flex: 0 0 80%;
    min-height: 390px;
  }

  .hero-slide__card {
    padding: 1.75rem 2rem;
  }

  .hero-slide__title {
    font-size: 1.45rem;
  }

  .slider-arrow--prev {
    left: 0.5rem;
  }

  .slider-arrow--next {
    right: 0.5rem;
  }

  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .insta-strip__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* --------------------------------------------------------------------------
   4. Mobile Landscape / Small Tablet (max-width: 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --hf-gutter: 1.125rem;
    --hf-section-space: 2rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2,
  .section-title {
    font-size: 1.55rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  .divider-title h2 {
    font-size: 1.15rem;
  }

  .guide-card__title {
    font-size: 1.12rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .editorial-feed {
    gap: 2.25rem;
  }

  .editorial-post {
    padding-bottom: 1.75rem;
  }

  .editorial-post__media {
    margin-bottom: 1.25rem;
  }

  .editorial-post__title {
    font-size: 1.52rem;
  }

  .editorial-post__excerpt {
    font-size: 0.92rem;
    line-height: 1.65;
  }

  .related-card__title {
    font-size: 0.98rem;
  }

  .grid--2 {
    grid-template-columns: 1fr;
  }

  .related-strip__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .article-subdetail {
    font-size: 1rem;
    margin-bottom: 1.35rem;
  }

  .article-prose {
    font-size: 0.98rem;
    line-height: 1.75;
  }

  .article-prose h2 {
    font-size: 1.55rem;
    margin: 1.75rem 0 0.75rem;
  }

  .article-prose h3 {
    font-size: 1.3rem;
    margin: 1.5rem 0 0.65rem;
  }

  .article-prose h4 {
    font-size: 1.12rem;
    margin: 1.25rem 0 0.55rem;
  }

  .article-toc__list {
    grid-template-columns: 1fr;
  }

  .article-toc--mobile nav {
    max-height: 175px;
  }

  .policy-content,
  .contact-form-card {
    padding: 1.65rem;
  }

  .policy-section+.policy-section {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
  }

  .site-footer {
    padding-block: 3rem 1.75rem;
  }
}

/* --------------------------------------------------------------------------
   5. Medium Mobile / Horizontal Cards (max-width: 680px)
   -------------------------------------------------------------------------- */
@media (max-width: 680px) {
  .editorial-post__meta-bar {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .next-article-card,
  .article-prev-next {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-block: 1.35rem;
  }

  .next-article-card__img,
  .article-prev-next__img {
    width: 100%;
    height: 190px;
  }
}

/* --------------------------------------------------------------------------
   6. Mobile Devices & Phones (max-width: 640px)
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  :root {
    --hf-gutter: 12px;
    --hf-section-space: 1.85rem;
  }

  .section--compact {
    padding-block: 1.35rem;
  }

  .hero-slider {
    padding-top: 0.75rem;
  }

  .hero-slide {
    flex: 0 0 90%;
    min-height: 330px;
  }

  .hero-slide__card {
    padding: 1.25rem 1rem;
    width: calc(100% - 1.5rem);
  }

  .content-with-sidebar {
    gap: 1.85rem;
  }

  .sidebar {
    gap: 1.65rem;
  }

  .editorial-feed {
    gap: 1.65rem;
  }

  .editorial-post {
    padding-bottom: 1.35rem;
  }

  .editorial-post__continue {
    margin-bottom: 0rem;
  }

  .related-strip {
    padding-bottom: 1.65rem;
  }

  .editorial-feed-item .related-strip {
    padding-top: 1.5rem;
  }

  .related-strip__title {
    margin-bottom: 1.15rem;
  }

  .related-strip__grid,
  .grid--3,
  .grid--4,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .slider-arrow {
    width: 34px;
    height: 34px;
  }

  .insta-strip {
    margin-top: 1rem;
  }

  .site-footer {
    padding-block: 2.25rem 1.25rem;
  }

  .footer-grid {
    gap: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding-top: 1rem;
  }
}

/* --------------------------------------------------------------------------
   7. Mobile Intermediate (max-width: 540px)
   -------------------------------------------------------------------------- */
@media (max-width: 540px) {
  body {
    font-size: 0.9375rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2,
  .section-title {
    font-size: 1.4rem;
  }

  .brand__title {
    font-size: 1.95rem;
  }

  .page-hero,
  .category-hero,
  .search-hero {
    padding-block: 1.65rem;
  }

  .page-hero__desc {
    font-size: 0.92rem;
    margin-top: 0.55rem;
  }

  .divider-title {
    gap: 0.85rem;
    margin-bottom: 1.25rem;
  }

  .editorial-post__media {
    margin-bottom: 1rem;
  }

  .editorial-post__title {
    font-size: 1.35rem;
    margin-bottom: 0.65rem;
  }

  .editorial-post__excerpt {
    margin-bottom: 0.85rem;
  }

  .article-takeaways {
    padding: 1rem 1.15rem;
    margin-bottom: 1.25rem;
  }

  .article-byline-top {
    font-size: 0.9rem;
    margin-bottom: 0.85rem;
  }

  .article-subdetail {
    font-size: 0.94rem;
    line-height: 1.58;
    margin-bottom: 1.15rem;
  }

  .article-toc {
    padding: 1.1rem 1.2rem;
    margin-bottom: 1.35rem;
  }

  .article-prose {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .article-prose h1 {
    font-size: 1.65rem;
    margin: 1.4rem 0 0.65rem;
  }

  .article-prose h2 {
    font-size: 1.4rem;
    margin: 1.35rem 0 0.6rem;
  }

  .article-prose h3 {
    font-size: 1.2rem;
    margin: 1.2rem 0 0.5rem;
  }

  .article-prose h4 {
    font-size: 1.06rem;
    margin: 1.1rem 0 0.45rem;
  }

  .article-prose ul,
  .article-prose ol {
    padding-left: 1.25rem;
    margin: 1rem 0 1.2rem;
  }

  .article-prose p {
    margin-bottom: 1rem;
  }

  .policy-section h2 {
    font-size: 1.38rem;
  }

  .policy-section p,
  .policy-section li {
    font-size: 0.94rem;
    margin-bottom: 0.7rem;
  }

  .article-prose blockquote {
    padding: 1rem;
    font-size: 1.15rem;
    margin: 1.25rem 0;
  }

  .article-prose figure,
  .article-prose img,
  .article-prose video,
  .article-prose iframe {
    margin: 1.25rem auto;
  }

  .article-prose th,
  .article-prose td {
    padding: 0.55rem 0.7rem;
  }

  .article-prose pre {
    padding: 1rem;
  }

  .article-tags {
    margin-top: 1.25rem;
    margin-bottom: 1rem;
  }

  .article-meta-bar {
    padding-bottom: 1.15rem;
  }

  .article-prev-next {
    padding-block: 1.15rem;
    margin-bottom: 1.35rem;
  }

  .search-result-card {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 0.9rem;
    padding-block: 1.1rem;
  }

  .search-result-card__thumb {
    width: 76px;
    height: 76px;
  }

  .search-result-card__title {
    font-size: 1.15rem;
  }

  .policy-content,
  .contact-form-card,
  .contact-card,
  .policy-nav {
    padding: 1.1rem;
  }

  .policy-section+.policy-section {
    margin-top: 1.35rem;
    padding-top: 1.25rem;
  }

  .insta-strip__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* --------------------------------------------------------------------------
   8. Small Phones (max-width: 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  :root {
    --hf-gutter: 12px;
    --hf-section-space: 0.8rem;
  }

  body {
    font-size: 0.9rem;
  }

  h1 {
    font-size: 1.55rem;
  }

  h2,
  .section-title {
    font-size: 1.28rem;
  }

  h3 {
    font-size: 1.12rem;
  }

  .nav-bar__inner {
    min-height: 48px;
    gap: 0.5rem;
  }

  .header-left {
    gap: 0.5rem;
    min-width: 0;
  }

  .header-mark {
    max-width: 170px;
    font-size: 1rem;
    padding-right: 0.75rem;
  }

  .header-mark img,
  .header-mark svg {
    max-width: 110px;
    height: 24px;
  }

  .hero-slide {
    flex: 0 0 94%;
    min-height: 290px;
  }

  .hero-slide__card {
    padding: 1rem 0.9rem;
  }

  .hero-slide__title {
    font-size: 1.18rem;
  }

  .slider-arrow {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }

  .editorial-post__title {
    font-size: 1.24rem;
  }

  .editorial-post__cat {
    margin-bottom: 0;
  }

  .editorial-post__excerpt {
    font-size: 0.88rem;
    margin-bottom: 0.75rem;
  }

  .editorial-post__meta-bar {
    font-size: 0.82rem;
  }

  .related-strip__title {
    font-size: 1.12rem;
  }

  .related-card__title {
    font-size: 0.94rem;
  }

  .search-result-card__excerpt {
    font-size: 0.84rem;
  }

  .article-detail .editorial-post__title {
    margin-bottom: 0.5rem;
  }

  .article-byline-top {
    margin-bottom: 0.5rem;
  }

  .article-subdetail {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }

  .article-takeaways {
    padding: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .article-takeaways h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .article-takeaways ul {
    gap: 0.3rem;
  }

  .article-takeaways li {
    font-size: 0.86rem;
    margin-bottom: 0;
  }

  .article-toc {
    padding: 0.8rem 0.95rem;
    margin-bottom: 0.5rem;
  }

  .article-prose {
    font-size: 0.875rem;
    line-height: 1.65;
  }

  .article-prose p,
  .article-prose li {
    font-size: 0.875rem;
  }

  .article-prose p {
    margin-bottom: 0.5rem;
  }

  .article-prose ul,
  .article-prose ol {
    margin: 0.65rem 0 0.85rem;
  }

  .article-prose h1 {
    font-size: 1.38rem;
    margin: 1.05rem 0 0.45rem;
  }

  .article-prose h2 {
    font-size: 1.22rem;
    margin: 0rem 0 0.45rem;
  }

  .article-prose h3 {
    font-size: 1.08rem;
    margin: 0rem 0 0.4rem;
  }

  .article-prose figure,
  .article-prose img,
  .article-prose video,
  .article-prose iframe,
  .article-prose table {
    margin: 0.5rem auto;
  }

  .article-tags {
    margin-top: 0.9rem;
    margin-bottom: 0.75rem;
  }

  .article-meta-bar {
    padding-bottom: 0.85rem;
  }

  .article-prev-next {
    padding-block: 0.85rem;
    margin-bottom: 1rem;
    gap: 0.75rem;
  }

  .site-footer {
    margin-top: 2rem !important;
  }

  .article-prose .dropcap::first-letter {
    font-size: 3rem;
  }

  .article-prev-next__title {
    font-size: 1.05rem;
  }

  .article-prev-next__desc {
    font-size: 0.84rem;
  }

  .widget__title {
    margin-bottom: 1.1rem;
  }

  .mini-post {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 0.8rem;
  }

  .mini-post__thumb {
    width: 64px;
    height: 64px;
  }

  .mobile-drawer {
    padding: 1.35rem 1.15rem;
  }

  .back-to-top {
    right: 0.75rem;
    bottom: 0.75rem;
    width: 36px;
    height: 36px;
  }
}