/* ═══════════════════════════════════════════════════════════════
   Home Fitness for Busy People — Bunzo "Home Two" Theme
   Vanilla CSS • Design Tokens • Components • Responsive
   ═══════════════════════════════════════════════════════════════ */

/* ─── Google Font ────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* ─── Design Tokens ──────────────────────────────────────────── */
:root {
  /* Colors */
  --bg: #FFFFFF;
  --bg-soft: #F7F7FB;
  --ink: #14133B;
  --body: #5B5B78;
  --muted: #8E8EA9;
  --border: #E9E9F2;
  --primary: #FF6B57;
  --primary-hover: #F2543C;
  --footer-bg: #14133B;
  --hero-gradient: linear-gradient(120deg, #241C6E 0%, #1B1A5C 45%, #123A6B 100%);
  --hero-radial: radial-gradient(60% 90% at 20% 40%, #1C63A8 0%, transparent 60%);

  /* Typography */
  --font-main: 'Poppins', 'Sofia Pro', 'Outfit', sans-serif;

  /* Spacing */
  --container: 1200px;
  --gutter: 24px;
  --section-pad: 110px;
  --section-pad-mobile: 64px;
  --grid-gap: 30px;

  /* Shape */
  --radius-chip: 12px;
  --radius-card: 16px;
  --radius-img: 20px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow: 0 12px 40px rgba(20, 19, 59, .08);
  --shadow-hover: 0 20px 50px rgba(20, 19, 59, .14);

  /* Motion */
  --ease: cubic-bezier(.2, .7, .3, 1);
  --duration: 250ms;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.75;
  color: var(--body);
  background-color: var(--bg);
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

a:hover {
  color: var(--primary-hover);
}

button {
  font-family: var(--font-main);
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  color: var(--ink);
  line-height: 1.2;
  font-weight: 700;
}

input, textarea, select {
  font-family: var(--font-main);
}

/* ─── Focus Rings (Accessibility) ────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Skip to content */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 8px 16px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-chip);
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
  color: #fff;
}

/* ─── Container ──────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ─── Eyebrow Text ───────────────────────────────────────────── */
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--primary);
}

/* ═══════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 var(--gutter);
  transition: background var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

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

/* Transparent state (on hero) */
.site-header--transparent {
  background: transparent;
}
.site-header--transparent .nav-link,
.site-header--transparent .header-logo-text {
  color: #fff;
}
.site-header--transparent .logo-icon {
  color: #fff;
}
.site-header--transparent .hamburger span {
  background: #fff;
}

/* Stuck state (scrolled) */
.site-header--stuck {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 20px rgba(20, 19, 59, .06);
  backdrop-filter: blur(12px);
}
.site-header--stuck .nav-link {
  color: var(--ink);
}
.site-header--stuck .nav-link:hover {
  color: var(--primary);
}
.site-header--stuck .header-logo-text {
  color: var(--ink);
}
.site-header--stuck .logo-icon {
  color: var(--primary);
}
.site-header--stuck .hamburger span {
  background: var(--ink);
}

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.header-logo img {
  height: 40px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}
/* SVG inline logo */
.logo-icon {
  flex-shrink: 0;
  color: var(--primary);
  transition: color var(--duration) var(--ease);
}
.header-logo-text {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.15;
  transition: color var(--duration) var(--ease);
}
.header-logo-text .logo-sub {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* Desktop Nav */
.header-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-link {
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--duration) var(--ease);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--duration) var(--ease);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Nav dropdown indicator */
.nav-link .dropdown-arrow {
  display: inline-block;
  margin-left: 4px;
  font-size: 10px;
  transition: transform var(--duration) var(--ease);
}

/* Dropdown panel */
.nav-item {
  position: relative;
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 200px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(20, 19, 59, .12);
  padding: 10px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
  z-index: 200;
}
/* Bridge the 12px gap so hover doesn't drop when moving mouse down */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: color var(--duration) ease, background var(--duration) ease;
}
.nav-dropdown a:hover {
  color: var(--primary);
  background: var(--bg-soft);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 150;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Panel */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 19, 59, .5);
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration) ease;
}
.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: #fff;
  z-index: 130;
  transform: translateX(100%);
  transition: transform var(--duration) var(--ease);
  overflow-y: auto;
  padding: 30px;
}
.mobile-nav-panel.open {
  transform: translateX(0);
}
.mobile-nav-panel .mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}
.mobile-nav-panel .mobile-nav-header span {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.mobile-nav-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  font-size: 18px;
  color: var(--ink);
  cursor: pointer;
  transition: all var(--duration) ease;
}
.mobile-nav-close:hover {
  background: var(--bg-soft);
  border-color: var(--primary);
  color: var(--primary);
}
.mobile-nav-link {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  transition: color var(--duration) ease;
}
.mobile-nav-link:hover {
  color: var(--primary);
}
.mobile-accordion-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: color var(--duration) ease;
}
.mobile-accordion-btn:hover {
  color: var(--primary);
}
.mobile-accordion-btn .acc-arrow {
  transition: transform var(--duration) ease;
  font-size: 12px;
}
.mobile-accordion-btn.open .acc-arrow {
  transform: rotate(180deg);
}
.mobile-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration) ease;
}
.mobile-accordion-content a {
  display: block;
  padding: 8px 0 8px 16px;
  font-size: 14px;
  color: var(--body);
  transition: color var(--duration) ease;
}
.mobile-accordion-content a:hover {
  color: var(--primary);
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('../images/hero-bg.png') center/cover no-repeat;
  background-color: var(--ink); /* fallback */
  overflow: hidden;
  padding: 120px var(--gutter) 80px;
}
/* Overlay to ensure white text remains fully readable on top of the image */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(20, 19, 59, 0.85), rgba(20, 19, 59, 0.5));
  z-index: 1;
}
/* Noise overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  opacity: 0.08;
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
}

.hero .eyebrow {
  margin-bottom: 20px;
}

.hero-title {
  color: #fff;
  margin-bottom: 10px;
}
.hero-title .line1 {
  display: block;
  font-size: 92px;
  font-weight: 700;
  line-height: 0.98;
}
.hero-title .line2 {
  display: block;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
  margin-top: 8px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--duration) var(--ease);
}
.hero-chip:hover {
  background: var(--primary);
  color: #fff;
}

/* Ghost marquee at bottom */
.hero-marquee {
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  z-index: 2;
  overflow: hidden;
  white-space: nowrap;
  pointer-events: none;
}
.hero-marquee-track {
  display: inline-flex;
  animation: marquee 30s linear infinite;
}
.hero-marquee-track:hover {
  animation-play-state: paused;
}
.hero-marquee-text {
  font-size: 150px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.06);
  padding-right: 80px;
  user-select: none;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════════════════
   SECTION LAYOUT
   ═══════════════════════════════════════════════════════════════ */
.section {
  padding: var(--section-pad) 0;
}
.section--soft {
  background: var(--bg-soft);
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}
.section-title {
  font-size: 40px;
  font-weight: 700;
  color: var(--ink);
}
.section-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Arrow buttons */
.arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}
.arrow-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(255, 107, 87, .08);
}
.arrow-btn svg {
  width: 20px;
  height: 20px;
}

/* See more link */
.see-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: gap var(--duration) var(--ease);
}
.see-more:hover {
  gap: 10px;
  color: var(--primary-hover);
}
.see-more svg {
  width: 18px;
  height: 18px;
}

/* ═══════════════════════════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════════════════════════ */
.card {
  border-radius: var(--radius-card);
  background: var(--bg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.card-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  aspect-ratio: 16 / 10;
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration) var(--ease);
}
.card:hover .card-img-wrap img {
  transform: scale(1.06);
}

/* Gradient overlay on image */
.card-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(20, 19, 59, .5), transparent);
  pointer-events: none;
}

/* Category tag on image */
.card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.card-body {
  padding: 24px;
}

.card-author {
  font-size: 14px;
  color: var(--body);
  margin-bottom: 8px;
}
.card-author a,
.card-author span.coral {
  color: var(--primary);
  font-weight: 600;
}

.card-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--duration) var(--ease);
}
.card:hover .card-title,
.card-title:hover {
  color: var(--primary);
}

.card-excerpt {
  font-size: 15px;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}
.card-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted);
}

/* Image placeholder when no image */
.card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 48px;
}

/* ═══════════════════════════════════════════════════════════════
   MOST POPULAR — SLIDER
   ═══════════════════════════════════════════════════════════════ */
.slider-container {
  overflow: hidden;
  position: relative;
}
.slider-track {
  display: flex;
  gap: var(--grid-gap);
  cursor: grab;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  padding-bottom: 4px;
}
.slider-track::-webkit-scrollbar {
  display: none;
}
.slider-track.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}
.slider-card {
  flex: 0 0 calc((100% - 2 * var(--grid-gap)) / 3);
  scroll-snap-align: start;
  min-width: 0;
}

/* ═══════════════════════════════════════════════════════════════
   RECENT ARTICLES — GRID
   ═══════════════════════════════════════════════════════════════ */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}

/* ═══════════════════════════════════════════════════════════════
   EDITOR'S PICK — SPLIT LAYOUT
   ═══════════════════════════════════════════════════════════════ */
.editor-split {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--grid-gap);
  align-items: start;
}

/* Large feature card */
.editor-feature {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}
.editor-feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.editor-feature .feature-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 12;
}
.editor-feature .feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration) var(--ease);
}
.editor-feature:hover .feature-img img {
  transform: scale(1.06);
}
.editor-feature .feature-body {
  padding: 28px;
  background: var(--bg);
}
.editor-feature .feature-body .card-tag {
  position: static;
  display: inline-block;
  margin-bottom: 12px;
}
.editor-feature .card-title {
  font-size: 28px;
  -webkit-line-clamp: 3;
}

/* Compact horizontal cards list */
.editor-list {
  display: flex;
  flex-direction: column;
}
.editor-list-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: transform var(--duration) var(--ease);
}
.editor-list-item:last-child {
  border-bottom: none;
}
.editor-list-item:hover {
  transform: translateX(4px);
}
.editor-list-item .list-thumb {
  flex: 0 0 96px;
  width: 96px;
  height: 96px;
  border-radius: var(--radius-chip);
  overflow: hidden;
}
.editor-list-item .list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.editor-list-item .list-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.editor-list-item .list-content .card-title {
  font-size: 16px;
  margin-bottom: 6px;
  -webkit-line-clamp: 2;
}
.editor-list-item:hover .card-title {
  color: var(--primary);
}

/* ═══════════════════════════════════════════════════════════════
   CATEGORIES STRIP
   ═══════════════════════════════════════════════════════════════ */
.categories-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.category-tile {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: pointer;
}
.category-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration) var(--ease);
}
.category-tile:hover img {
  transform: scale(1.08);
}
.category-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20, 19, 59, .40);
  transition: background var(--duration) var(--ease);
}
.category-tile:hover::after {
  background: rgba(20, 19, 59, .25);
}
.category-tile-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}
.category-tile-name {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.category-tile-count {
  font-size: 14px;
  color: rgba(255, 255, 255, .8);
}

/* ═══════════════════════════════════════════════════════════════
   NEWSLETTER CTA
   ═══════════════════════════════════════════════════════════════ */
.newsletter {
  background: var(--hero-gradient);
  position: relative;
  overflow: hidden;
  padding: var(--section-pad) 0;
}
.newsletter::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-radial);
}
.newsletter-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.newsletter-title {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.newsletter-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, .75);
  margin-bottom: 32px;
}
.newsletter-form {
  display: flex;
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: #fff;
  padding: 6px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .15);
}
.newsletter-form input[type="email"] {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 20px;
  font-size: 15px;
  background: transparent;
  color: var(--ink);
  min-width: 0;
}
.newsletter-form input[type="email"]::placeholder {
  color: var(--muted);
}
.newsletter-form .btn-subscribe {
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background var(--duration) var(--ease);
  white-space: nowrap;
}
.newsletter-form .btn-subscribe:hover {
  background: var(--primary-hover);
}
.newsletter-privacy {
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
  margin-top: 16px;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--footer-bg);
  color: rgba(255, 255, 255, .65);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}
.footer-brand-text {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, .55);
}
.footer-brand .header-logo img {
  height: 36px;
  max-width: 180px;
  margin-bottom: 16px;
}
.footer-brand .header-logo .logo-icon {
  color: rgba(255, 255, 255, .8);
}
.footer-brand .header-logo .header-logo-text {
  color: #fff;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .6);
  transition: all var(--duration) var(--ease);
}
.footer-social a:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}
.footer-col-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
}
.footer-links a {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, .55);
  transition: color var(--duration) var(--ease);
}
.footer-links a:hover {
  color: var(--primary);
}
.footer-contact p {
  font-size: 14px;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.footer-contact svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--primary);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p {
  font-size: 14px;
  color: rgba(255, 255, 255, .4);
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, .4);
  transition: color var(--duration) var(--ease);
}
.footer-bottom-links a:hover {
  color: var(--primary);
}

/* ═══════════════════════════════════════════════════════════════
   BACK TO TOP
   ═══════════════════════════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(255, 107, 87, .35);
  cursor: pointer;
  z-index: 90;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity var(--duration) var(--ease),
              transform var(--duration) var(--ease),
              background var(--duration) var(--ease);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--primary-hover);
}
.back-to-top svg {
  width: 22px;
  height: 22px;
}

/* ═══════════════════════════════════════════════════════════════
   SCROLL FADE-UP ANIMATION
   ═══════════════════════════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════
   BLOG POST PAGE
   ═══════════════════════════════════════════════════════════════ */
.blog-header {
  padding: 120px 0 40px;
  background: var(--bg-soft);
}
.blog-header .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}
.blog-header .breadcrumb a {
  color: var(--muted);
  transition: color var(--duration) ease;
}
.blog-header .breadcrumb a:hover {
  color: var(--primary);
}
.blog-header .breadcrumb .sep {
  color: var(--border);
}
.blog-header .blog-post-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 800px;
}
.blog-header .blog-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}
.blog-header .blog-post-meta .author-name {
  font-weight: 600;
  color: var(--ink);
}

.blog-cover {
  max-width: 900px;
  margin: -20px auto 40px;
  padding: 0 var(--gutter);
}
.blog-cover img {
  width: 100%;
  border-radius: var(--radius-img);
  box-shadow: var(--shadow);
}

/* Prose Typography */
.prose {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  color: var(--body);
  font-size: 17px;
  line-height: 1.85;
}
.prose h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.prose h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--ink);
}

.prose h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.prose h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.prose h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.prose h6 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  color: var(--muted);
}
.prose p {
  margin-bottom: 20px;
}
.prose ul, .prose ol {
  margin-bottom: 20px;
  padding-left: 24px;
}
.prose ul {
  list-style: disc;
}
.prose ol {
  list-style: decimal;
}
.prose li {
  margin-bottom: 8px;
}
.prose blockquote {
  margin: 32px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--primary);
  background: var(--bg-soft);
  border-radius: 0 var(--radius-chip) var(--radius-chip) 0;
  font-style: italic;
  color: var(--ink);
}
.prose code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.875em;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--bg-soft);
  color: var(--primary);
}
.prose pre {
  margin: 24px 0;
  padding: 20px;
  border-radius: var(--radius-chip);
  background: var(--ink);
  color: #E8EDE9;
  overflow-x: auto;
}
.prose pre code {
  background: none;
  color: inherit;
  padding: 0;
}
.prose img {
  border-radius: var(--radius-card);
  margin: 24px 0;
}
.prose a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose a:hover {
  color: var(--primary-hover);
}
.prose hr {
  margin: 32px 0;
  border: none;
  border-top: 1px solid var(--border);
}
.prose strong {
  font-weight: 600;
  color: var(--ink);
}

/* Related posts section */
.related-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  margin-top: 60px;
}

/* ═══════════════════════════════════════════════════════════════
   CATEGORY PAGE
   ═══════════════════════════════════════════════════════════════ */
.category-header {
  padding: 120px 0 40px;
  background: var(--bg-soft);
}
.category-header .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
  transition: color var(--duration) ease;
}
.category-header .back-link:hover {
  color: var(--primary);
}
.category-header h1 {
  font-size: 48px;
  margin-bottom: 8px;
}
.category-header p {
  font-size: 18px;
  color: var(--body);
  max-width: 600px;
}

.category-grid-section {
  padding: 60px 0 100px;
}

/* ═══════════════════════════════════════════════════════════════
   404 PAGE
   ═══════════════════════════════════════════════════════════════ */
.page-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px var(--gutter) 80px;
}
.page-404 .icon-404 {
  font-size: 96px;
  margin-bottom: 24px;
}
.page-404 h1 {
  font-size: 42px;
  margin-bottom: 12px;
}
.page-404 p {
  font-size: 18px;
  color: var(--body);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-chip);
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 87, .3);
  color: #fff;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-chip);
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  text-decoration: none;
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ═══════════════════════════════════════════════════════════════
   BADGE / PILL
   ═══════════════════════════════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  background: rgba(255, 107, 87, .1);
  color: var(--primary);
  transition: all var(--duration) ease;
}
.badge:hover {
  background: var(--primary);
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════════
   ADMIN PANEL STYLES
   ═══════════════════════════════════════════════════════════════ */

/* Admin header */
.admin-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0 var(--gutter);
  position: sticky;
  top: 0;
  z-index: 50;
}
.admin-header-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.admin-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.admin-header-left img {
  height: 36px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}
.admin-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(255, 107, 87, .1);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
}
.admin-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.admin-header-right a,
.admin-header-right button {
  font-size: 14px;
  color: var(--body);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--duration) ease;
}
.admin-header-right a:hover {
  color: var(--primary);
}
.admin-header-right .logout-btn:hover {
  color: #e53e3e;
}

/* Admin nav tabs */
.admin-nav {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.admin-nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  gap: 4px;
}
.admin-nav a {
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all var(--duration) ease;
}
.admin-nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--border);
}
.admin-nav a.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* Admin main content */
.admin-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 32px var(--gutter);
}

/* Admin page header */
.admin-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.admin-page-header h1 {
  font-size: 24px;
  font-weight: 700;
}
.admin-page-header .subtitle {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}

/* Admin card panels */
.admin-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}

/* Admin table */
.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-table th {
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.admin-table th.center {
  text-align: center;
}
.admin-table th.right {
  text-align: right;
}
.admin-table td {
  padding: 12px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.admin-table tr:last-child td {
  border-bottom: none;
}
.admin-table tr:hover {
  background: var(--bg-soft);
}
.admin-table .title-cell {
  font-weight: 500;
  color: var(--ink);
}
.admin-table .slug-cell {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.admin-table .actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.admin-table .actions a {
  font-size: 14px;
  color: var(--primary);
}
.admin-table .actions a:hover {
  text-decoration: underline;
}
.admin-table .actions .delete-btn {
  font-size: 14px;
  color: #e53e3e;
  cursor: pointer;
  background: none;
  border: none;
}
.admin-table .actions .delete-btn:hover {
  text-decoration: underline;
}

/* Status badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
}
.status-badge .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.status-badge--published {
  background: #f0fdf4;
  color: #16a34a;
}
.status-badge--published .status-dot {
  background: #16a34a;
}
.status-badge--draft {
  background: #fefce8;
  color: #ca8a04;
}
.status-badge--draft .status-dot {
  background: #ca8a04;
}

/* Featured toggle */
.featured-toggle {
  font-size: 18px;
  cursor: pointer;
  transition: transform var(--duration) ease;
  background: none;
  border: none;
}
.featured-toggle:hover {
  transform: scale(1.15);
}

/* Admin form elements */
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-label .required {
  color: var(--primary);
}
.form-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-chip);
  background: var(--bg);
  color: var(--ink);
  transition: border-color var(--duration) ease, box-shadow var(--duration) ease;
  outline: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 87, .12);
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted);
}
.form-textarea {
  resize: vertical;
}

/* Admin form group */
.form-group {
  margin-bottom: 20px;
}

/* Admin sidebar card */
.admin-sidebar-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px;
  margin-bottom: 20px;
}
.admin-sidebar-card h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

/* Checkbox */
.form-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

/* Mobile post cards (admin) */
.admin-mobile-card {
  padding: 16px;
  border-bottom: 1px solid var(--border);
}
.admin-mobile-card:last-child {
  border-bottom: none;
}

/* Admin empty state */
.admin-empty {
  text-align: center;
  padding: 60px 20px;
}
.admin-empty .icon {
  font-size: 48px;
  margin-bottom: 12px;
}
.admin-empty p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 16px;
}

/* Admin alert/error */
.admin-alert {
  padding: 12px 16px;
  border-radius: var(--radius-chip);
  font-size: 14px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.admin-alert--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
}

/* Admin login page */
.admin-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hero-gradient);
  position: relative;
  padding: 20px;
}
.admin-login-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-radial);
}
.admin-login-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
}
.admin-login-logo {
  text-align: center;
  margin-bottom: 32px;
}
.admin-login-logo img {
  height: 56px;
  margin: 0 auto 12px;
}
.admin-login-logo p {
  font-size: 14px;
  color: rgba(255, 255, 255, .65);
}
.admin-login-box {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 36px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
}
.admin-login-box h1 {
  font-size: 22px;
  margin-bottom: 24px;
}
.admin-login-back {
  text-align: center;
  margin-top: 24px;
}
.admin-login-back a {
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
}
.admin-login-back a:hover {
  color: #fff;
}

/* Admin editor toolbar */
.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.editor-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: var(--body);
  cursor: pointer;
  transition: all var(--duration) ease;
  background: none;
  border: none;
}
.editor-btn:hover {
  background: var(--border);
  color: var(--ink);
}
.editor-separator {
  width: 1px;
  height: 20px;
  background: var(--border);
  margin: 0 4px;
}
.editor-area {
  min-height: 320px;
  padding: 20px;
  outline: none;
  font-size: 15px;
  line-height: 1.8;
  color: var(--body);
}

/* Admin grid layout */
.admin-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}
.admin-grid--categories {
  grid-template-columns: 1fr 2fr;
}

/* Cover image preview */
.cover-preview {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-chip);
  overflow: hidden;
  background: var(--bg-soft);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cover-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cover-actions {
  display: flex;
  gap: 8px;
}
.cover-actions label,
.cover-actions button {
  flex: 1;
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════════════════════════ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.mb-4 { margin-bottom: 4px; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.hidden { display: none !important; }
.inline { display: inline; }
.block { display: block; }
.w-full { width: 100%; }
.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

/* Tablet: 992–1199 */
@media (max-width: 1199px) {
  :root {
    --section-pad: 80px;
  }
  .hero-title .line1 {
    font-size: 72px;
  }
  .hero-title .line2 {
    font-size: 50px;
  }
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .slider-card {
    flex: 0 0 calc((100% - var(--grid-gap)) / 2);
  }
  .categories-strip {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .editor-split {
    grid-template-columns: 1fr 1fr;
  }
  .admin-grid,
  .admin-grid--categories {
    grid-template-columns: 1fr;
  }
}

/* Tablet small: 768–991 */
@media (max-width: 991px) {
  .hero-title .line1 {
    font-size: 56px;
  }
  .hero-title .line2 {
    font-size: 40px;
  }
  .hero {
    min-height: 600px;
    padding-top: 100px;
  }
  .header-nav {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .section-title {
    font-size: 32px;
  }
  .hero-marquee-text {
    font-size: 100px;
  }
  .editor-split {
    grid-template-columns: 1fr;
  }
  .editor-feature .card-title {
    font-size: 24px;
  }
  .blog-header .blog-post-title {
    font-size: 32px;
  }
  .category-header h1 {
    font-size: 36px;
  }
}

/* Mobile: <768 */
@media (max-width: 767px) {
  :root {
    --section-pad: 64px;
    --grid-gap: 20px;
    --gutter: 16px;
  }
  .hero {
    min-height: 500px;
    padding: 100px 16px 60px;
    background-position: 85% center;
  }
  .hero-title .line1 {
    font-size: 40px;
  }
  .hero-title .line2 {
    font-size: 32px;
  }
  .hero-chips {
    display: none;
  }
  .hero-chip {
    padding: 8px 18px;
    font-size: 13px;
  }
  .hero-marquee-text {
    font-size: 70px;
  }
  .slider-card {
    flex: 0 0 85%;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .categories-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-title {
    font-size: 28px;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .newsletter-form {
    flex-direction: column;
    border-radius: var(--radius-card);
    gap: 8px;
    padding: 12px;
  }
  .newsletter-form .btn-subscribe {
    width: 100%;
  }
  .newsletter-title {
    font-size: 28px;
  }
  .blog-header .blog-post-title {
    font-size: 26px;
  }
  .category-header h1 {
    font-size: 28px;
  }
  .page-404 h1 {
    font-size: 32px;
  }
  .card-title {
    font-size: 17px;
  }
  .admin-grid,
  .admin-grid--categories {
    grid-template-columns: 1fr;
  }
  .admin-table-wrap {
    overflow-x: auto;
  }
}

/* Lazy loading placeholder */
img[loading="lazy"] {
  background: var(--bg-soft);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
