/*
Theme Name: JDV Dance
Theme URI: https://joyfuldancevinita.com
Author: JoyfulDanceVinita
Description: Lightweight, fast-loading dance niche affiliate theme. Semantic HTML5, no external fonts, affiliate-optimised.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: jdv-dance
*/

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

:root {
  --c-dark:    #1c1c2b;
  --c-accent:  #e8613c;
  --c-accent2: #b84a29;
  --c-bg:      #ffffff;
  --c-body:    #2d2d2d;
  --c-muted:   #666666;
  --c-border:  #e8e8e8;
  --c-light:   #f7f7f7;
  --font:      -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --r:         6px;
  --max-w:     1180px;
  --shadow:    0 2px 12px rgba(0,0,0,.08);
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--c-body);
  background: var(--c-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--c-accent); text-decoration: none; }
a:hover { color: var(--c-accent2); text-decoration: underline; }

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

/* ── Skip Link ─────────────────────────────────────────────────────────────── */
.skip-link {
  position: absolute; top: -9999px; left: 1rem;
  background: var(--c-accent); color: #fff; padding: .5rem 1rem;
  border-radius: 0 0 var(--r) var(--r); z-index: 9999; font-weight: 600;
}
.skip-link:focus { top: 0; }

/* ── Site Header ───────────────────────────────────────────────────────────── */
.site-header {
  background: var(--c-dark);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 1rem;
}

/* Logo / Site Title */
.site-branding a {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -.02em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.site-branding a:hover { color: var(--c-accent); text-decoration: none; }
.site-branding .tagline {
  display: none;
  font-size: .72rem;
  color: rgba(255,255,255,.55);
  font-weight: 400;
  letter-spacing: .01em;
}
@media (min-width: 640px) { .site-branding .tagline { display: block; } }

/* Primary Nav */
.primary-nav { display: flex; align-items: center; }
.primary-nav ul {
  list-style: none;
  display: flex;
  gap: .25rem;
}
.primary-nav ul li a {
  color: rgba(255,255,255,.85);
  padding: .45rem .8rem;
  border-radius: var(--r);
  font-size: .88rem;
  font-weight: 500;
  transition: background .15s, color .15s;
  text-decoration: none;
}
.primary-nav ul li a:hover,
.primary-nav ul li.current-menu-item > a {
  background: rgba(255,255,255,.12);
  color: #fff;
  text-decoration: none;
}

/* Mobile hamburger — pure CSS */
.nav-toggle { display: none; }
.nav-toggle-label {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
}
.nav-toggle-label span {
  display: block; width: 24px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

@media (max-width: 767px) {
  .nav-toggle-label { display: flex; }
  .primary-nav {
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--c-dark);
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease;
  }
  .nav-toggle:checked ~ .primary-nav { max-height: 400px; }
  .primary-nav ul { flex-direction: column; padding: .75rem 1.25rem 1rem; gap: 0; }
  .primary-nav ul li a { display: block; padding: .6rem .8rem; }
  .nav-toggle:checked + .nav-toggle-label span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked + .nav-toggle-label span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked + .nav-toggle-label span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ── Layout ────────────────────────────────────────────────────────────────── */
.site-main { max-width: var(--max-w); margin: 0 auto; padding: 2rem 1.25rem; }

.content-sidebar-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .content-sidebar-wrap { grid-template-columns: minmax(0,1fr) 300px; }
}

/* ── Breadcrumbs ───────────────────────────────────────────────────────────── */
.breadcrumb-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: .6rem 1.25rem;
  font-size: .8rem;
  color: var(--c-muted);
  background: var(--c-light);
  border-bottom: 1px solid var(--c-border);
}
.breadcrumb-wrap a { color: var(--c-muted); }
.breadcrumb-wrap a:hover { color: var(--c-accent); }

/* ── Post Cards (index / archive) ─────────────────────────────────────────── */
.posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
@media (min-width: 640px) {
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
}

.post-card {
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--c-bg);
  box-shadow: var(--shadow);
  transition: transform .18s, box-shadow .18s;
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0,0,0,.12);
}
.post-card__thumb { aspect-ratio: 16/9; overflow: hidden; }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.post-card:hover .post-card__thumb img { transform: scale(1.04); }
.post-card__thumb-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--c-dark) 0%, #2d2d50 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
}

.post-card__body { padding: 1.1rem 1.25rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.post-card__cat {
  display: inline-block;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  background: var(--c-accent); color: #fff;
  padding: .2rem .55rem; border-radius: 3px;
  margin-bottom: .55rem; text-decoration: none;
}
.post-card__cat:hover { background: var(--c-accent2); color: #fff; text-decoration: none; }
.post-card__title {
  font-size: 1.05rem; font-weight: 700; line-height: 1.35;
  margin-bottom: .6rem;
}
.post-card__title a { color: var(--c-body); text-decoration: none; }
.post-card__title a:hover { color: var(--c-accent); }
.post-card__excerpt { font-size: .88rem; color: var(--c-muted); flex: 1; margin-bottom: .9rem; }
.post-card__meta { font-size: .78rem; color: var(--c-muted); }

/* ── Single Post ───────────────────────────────────────────────────────────── */
.article-header { margin-bottom: 1.5rem; }
.article-cat {
  display: inline-block;
  font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  background: var(--c-accent); color: #fff;
  padding: .22rem .6rem; border-radius: 3px;
  margin-bottom: .75rem; text-decoration: none;
}
.article-cat:hover { background: var(--c-accent2); color: #fff; text-decoration: none; }

.entry-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800; line-height: 1.25;
  color: var(--c-dark);
  margin-bottom: .75rem;
}
.article-meta { font-size: .82rem; color: var(--c-muted); }
.article-meta a { color: var(--c-muted); }
.article-meta a:hover { color: var(--c-accent); }

.article-featured-image {
  border-radius: var(--r); overflow: hidden;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow);
}
.article-featured-image img { width: 100%; }

/* ── Affiliate Disclosure ──────────────────────────────────────────────────── */
.jdv-disclosure {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--r);
  padding: .6rem 1rem;
  font-size: .8rem;
  color: #92400e;
  margin-bottom: 1.5rem;
}

/* ── Article Content ───────────────────────────────────────────────────────── */
.entry-content h2 {
  font-size: 1.45rem; font-weight: 700;
  color: var(--c-dark);
  margin: 2rem 0 .75rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--c-accent);
}
.entry-content h3 {
  font-size: 1.15rem; font-weight: 700;
  color: var(--c-dark);
  margin: 1.5rem 0 .5rem;
}
.entry-content p { margin-bottom: 1.1rem; }
.entry-content ul, .entry-content ol {
  margin: .75rem 0 1.1rem 1.5rem;
}
.entry-content li { margin-bottom: .35rem; }
.entry-content strong { font-weight: 700; color: var(--c-dark); }
.entry-content blockquote {
  border-left: 4px solid var(--c-accent);
  padding: .75rem 1.25rem;
  margin: 1.25rem 0;
  background: var(--c-light);
  border-radius: 0 var(--r) var(--r) 0;
  color: var(--c-muted);
  font-style: italic;
}
.entry-content table {
  width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: .9rem;
}
.entry-content th {
  background: var(--c-dark); color: #fff;
  padding: .6rem .9rem; text-align: left; font-weight: 600;
}
.entry-content td { padding: .55rem .9rem; border-bottom: 1px solid var(--c-border); }
.entry-content tr:nth-child(even) td { background: var(--c-light); }
.entry-content img { border-radius: var(--r); margin: 1rem 0; box-shadow: var(--shadow); }

/* ── Affiliate Components ──────────────────────────────────────────────────── */
.jdv-cta-box {
  background: linear-gradient(135deg, #fff8f6 0%, #fff 100%);
  border: 1px solid #fbd5c8;
  border-left: 4px solid var(--c-accent);
  border-radius: var(--r);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  box-shadow: var(--shadow);
}
.jdv-cta-box h4 {
  font-size: 1rem; font-weight: 700;
  color: var(--c-dark); margin-bottom: .5rem;
}
.jdv-cta-box p { font-size: .9rem; color: var(--c-muted); margin-bottom: .9rem; }

.jdv-btn {
  display: inline-block;
  background: var(--c-accent);
  color: #fff !important;
  font-weight: 700; font-size: .9rem;
  padding: .65rem 1.4rem;
  border-radius: var(--r);
  text-decoration: none !important;
  transition: background .15s, transform .12s;
  border: none; cursor: pointer;
}
.jdv-btn:hover {
  background: var(--c-accent2);
  transform: translateY(-1px);
  color: #fff !important;
  text-decoration: none !important;
}
.jdv-btn--outline {
  background: transparent;
  border: 2px solid var(--c-accent);
  color: var(--c-accent) !important;
}
.jdv-btn--outline:hover {
  background: var(--c-accent);
  color: #fff !important;
}

.jdv-comparison-table {
  width: 100%; border-collapse: collapse; margin: 1.5rem 0;
  font-size: .9rem; overflow-x: auto; display: block;
}
.jdv-comparison-table thead th {
  background: var(--c-dark); color: #fff;
  padding: .7rem 1rem; text-align: left; white-space: nowrap;
}
.jdv-comparison-table tbody td {
  padding: .6rem 1rem;
  border-bottom: 1px solid var(--c-border);
}
.jdv-comparison-table tbody tr:nth-child(even) td { background: var(--c-light); }
.jdv-comparison-table tbody tr:hover td { background: #fff3ef; }

.jdv-pro-con {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}
@media (max-width: 540px) { .jdv-pro-con { grid-template-columns: 1fr; } }

.jdv-pros, .jdv-cons {
  border-radius: var(--r);
  padding: 1rem 1.25rem;
}
.jdv-pros { background: #f0fdf4; border: 1px solid #bbf7d0; }
.jdv-cons { background: #fff1f2; border: 1px solid #fecdd3; }
.jdv-pros h4 { color: #166534; margin-bottom: .5rem; font-size: .9rem; }
.jdv-cons h4 { color: #9f1239; margin-bottom: .5rem; font-size: .9rem; }
.jdv-pros ul, .jdv-cons ul { list-style: none; margin: 0; padding: 0; }
.jdv-pros li::before { content: '✓ '; color: #16a34a; font-weight: 700; }
.jdv-cons li::before { content: '✗ '; color: #dc2626; font-weight: 700; }
.jdv-pros li, .jdv-cons li { font-size: .88rem; margin-bottom: .3rem; }

/* ── Sidebar ───────────────────────────────────────────────────────────────── */
.sidebar { font-size: .9rem; }
.widget {
  background: var(--c-light);
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}
.widget-title {
  font-size: .85rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--c-dark);
  margin-bottom: .9rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--c-accent);
}
.widget ul { list-style: none; }
.widget ul li { padding: .3rem 0; border-bottom: 1px solid var(--c-border); }
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: var(--c-body); font-size: .88rem; }
.widget ul li a:hover { color: var(--c-accent); text-decoration: none; }

/* ── Pagination ────────────────────────────────────────────────────────────── */
.pagination {
  display: flex; justify-content: center; gap: .4rem;
  margin: 2.5rem 0;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px;
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  font-size: .88rem; font-weight: 600;
  color: var(--c-body);
  transition: background .15s, color .15s, border-color .15s;
  text-decoration: none;
  padding: 0 .6rem;
}
.pagination a:hover { background: var(--c-accent); color: #fff; border-color: var(--c-accent); text-decoration: none; }
.pagination .current { background: var(--c-dark); color: #fff; border-color: var(--c-dark); }

/* ── Post Navigation ───────────────────────────────────────────────────────── */
.post-navigation {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  margin: 2rem 0;
}
.post-navigation a {
  display: block;
  background: var(--c-light);
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  padding: 1rem 1.1rem;
  font-size: .88rem;
  color: var(--c-body);
  text-decoration: none;
  transition: background .15s;
}
.post-navigation a:hover { background: #fff3ef; border-color: var(--c-accent); text-decoration: none; }
.post-navigation .nav-label {
  display: block; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
  color: var(--c-accent); margin-bottom: .25rem;
}
.post-navigation .nav-next { text-align: right; }

/* ── Footer ────────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--c-dark);
  color: rgba(255,255,255,.7);
  margin-top: 3rem;
}
.footer-widgets {
  max-width: var(--max-w); margin: 0 auto;
  padding: 2.5rem 1.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.footer-widget-title {
  color: #fff; font-size: .85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  margin-bottom: .9rem;
}
.footer-widget ul { list-style: none; }
.footer-widget ul li { margin-bottom: .35rem; }
.footer-widget ul li a { color: rgba(255,255,255,.65); font-size: .88rem; text-decoration: none; }
.footer-widget ul li a:hover { color: var(--c-accent); }
.footer-widget p { font-size: .88rem; line-height: 1.6; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  max-width: var(--max-w); margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .5rem;
  font-size: .8rem;
}
.footer-bottom a { color: rgba(255,255,255,.65); text-decoration: none; }
.footer-bottom a:hover { color: var(--c-accent); }

/* ── Utility ───────────────────────────────────────────────────────────────── */
.screen-reader-text {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}
.aligncenter { text-align: center; }
.text-muted { color: var(--c-muted); }
.page-title {
  font-size: 1.6rem; font-weight: 800; color: var(--c-dark);
  margin-bottom: 1.5rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--c-accent);
}
.no-results { text-align: center; padding: 3rem 0; color: var(--c-muted); }
.search-form { display: flex; gap: .5rem; margin-bottom: 1.5rem; }
.search-form input[type="search"] {
  flex: 1; padding: .6rem 1rem;
  border: 1px solid var(--c-border); border-radius: var(--r);
  font-family: var(--font); font-size: .9rem;
}
.search-form button {
  background: var(--c-accent); color: #fff;
  border: none; border-radius: var(--r);
  padding: .6rem 1.1rem; cursor: pointer;
  font-weight: 600; font-size: .9rem;
  transition: background .15s;
}
.search-form button:hover { background: var(--c-accent2); }

@media print {
  .site-header, .site-footer, .sidebar, .post-navigation, .pagination { display: none; }
  .content-sidebar-wrap { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   HOMEPAGE — front-page.php
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hp-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0f0f1e 0%, #1c1c2b 55%, #2a1a2e 100%);
  overflow: hidden;
}
.hp-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="40" fill="rgba(232,97,60,.06)"/><circle cx="80" cy="80" r="60" fill="rgba(232,97,60,.04)"/><circle cx="80" cy="20" r="30" fill="rgba(255,255,255,.02)"/></svg>') no-repeat center/cover;
}
.hp-hero__inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  width: 100%;
}
@media (min-width: 768px) {
  .hp-hero__inner { grid-template-columns: 1fr auto; align-items: center; }
}
.hp-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(232,97,60,.15);
  border: 1px solid rgba(232,97,60,.35);
  color: #f9a88e;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .3rem .8rem;
  border-radius: 100px;
  margin-bottom: 1.1rem;
}
.hp-hero__headline {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.12;
  color: #fff;
  letter-spacing: -.03em;
  margin-bottom: 1.1rem;
}
.hp-hero__headline span { color: var(--c-accent); }
.hp-hero__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.72);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 2rem;
}
.hp-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
}
.hp-hero__ctas .jdv-btn {
  font-size: 1rem;
  padding: .8rem 1.8rem;
  box-shadow: 0 4px 20px rgba(232,97,60,.4);
}
.hp-hero__ctas .jdv-btn--ghost {
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.25);
  color: #fff !important;
  font-size: 1rem;
  padding: .8rem 1.6rem;
  border-radius: var(--r);
  font-weight: 700;
  text-decoration: none !important;
  transition: background .15s;
}
.hp-hero__ctas .jdv-btn--ghost:hover { background: rgba(255,255,255,.18); text-decoration: none !important; }

.hp-hero__stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.hp-hero__stat { text-align: left; }
.hp-hero__stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.hp-hero__stat span {
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
}

.hp-hero__visual {
  display: none;
}
@media (min-width: 768px) {
  .hp-hero__visual {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    align-items: flex-end;
  }
}
.hp-hero__card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: .9rem 1.1rem;
  width: 220px;
  backdrop-filter: blur(6px);
}
.hp-hero__card-label { font-size: .7rem; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .07em; margin-bottom: .25rem; }
.hp-hero__card-val { font-size: .95rem; font-weight: 700; color: #fff; }
.hp-hero__card-val .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; margin-right: .4rem; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

/* ── Trust Bar ─────────────────────────────────────────────────────────────── */
.hp-trust {
  background: var(--c-dark);
  border-top: 1px solid rgba(255,255,255,.06);
}
.hp-trust__inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
}
.hp-trust__item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.hp-trust__item svg { flex-shrink: 0; opacity: .6; }

/* ── Section Wrapper ───────────────────────────────────────────────────────── */
.hp-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
}
.hp-section + .hp-section { padding-top: 0; }
.hp-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.hp-section__title {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--c-dark);
  letter-spacing: -.02em;
  line-height: 1.2;
}
.hp-section__title span { color: var(--c-accent); }
.hp-section__sub {
  font-size: .88rem;
  color: var(--c-muted);
  margin-top: .3rem;
}
.hp-section__link {
  font-size: .85rem;
  font-weight: 700;
  color: var(--c-accent);
  white-space: nowrap;
  text-decoration: none;
}
.hp-section__link:hover { color: var(--c-accent2); }

/* ── Category Cards ────────────────────────────────────────────────────────── */
.hp-cats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 540px) { .hp-cats { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .hp-cats { grid-template-columns: repeat(5, 1fr); } }

.hp-cat {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none !important;
  background: var(--c-dark);
  transition: transform .2s, box-shadow .2s;
  box-shadow: var(--shadow);
}
.hp-cat:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.2); }
.hp-cat__bg {
  position: absolute; inset: 0;
  font-size: 4rem;
  display: flex; align-items: center; justify-content: center;
  opacity: .15;
  transition: opacity .2s, transform .3s;
}
.hp-cat:hover .hp-cat__bg { opacity: .22; transform: scale(1.08); }
.hp-cat__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.15) 60%, transparent 100%);
}
.hp-cat__body {
  position: relative;
  padding: .9rem 1rem;
}
.hp-cat__icon { font-size: 1.6rem; margin-bottom: .3rem; display: block; }
.hp-cat__name {
  font-size: .95rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  display: block;
}
.hp-cat__count {
  font-size: .72rem;
  color: rgba(255,255,255,.55);
  font-weight: 600;
  display: block;
  margin-top: .15rem;
}

/* Category accent colors */
.hp-cat--shoes  { background: linear-gradient(135deg,#1c2b3a,#2a3f55); }
.hp-cat--styles { background: linear-gradient(135deg,#1e1c2b,#362254); }
.hp-cat--begin  { background: linear-gradient(135deg,#1c2b20,#254832); }
.hp-cat--online { background: linear-gradient(135deg,#2b1c1c,#4a2222); }
.hp-cat--gear   { background: linear-gradient(135deg,#2b2a1c,#4a4222); }

/* ── Featured Posts Grid ───────────────────────────────────────────────────── */
.hp-posts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .hp-posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .hp-posts { grid-template-columns: repeat(3, 1fr); } }

.hp-post {
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .18s, box-shadow .18s;
  text-decoration: none !important;
}
.hp-post:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,.12); }
.hp-post__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--c-dark), #2d2d50);
}
.hp-post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.hp-post:hover .hp-post__img img { transform: scale(1.05); }
.hp-post__placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; opacity: .3;
}
.hp-post__cat {
  position: absolute; top: .6rem; left: .6rem;
  background: var(--c-accent); color: #fff;
  font-size: .66rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em;
  padding: .2rem .5rem; border-radius: 3px;
}
.hp-post__body { padding: 1rem 1.1rem 1.2rem; flex: 1; display: flex; flex-direction: column; }
.hp-post__title {
  font-size: .98rem; font-weight: 800; line-height: 1.35;
  color: var(--c-dark); margin-bottom: .5rem;
  flex: 1;
}
.hp-post__meta { font-size: .75rem; color: var(--c-muted); }

/* ── Value Strip ───────────────────────────────────────────────────────────── */
.hp-value {
  background: linear-gradient(135deg, var(--c-dark) 0%, #2a1a2e 100%);
  padding: 3.5rem 1.25rem;
}
.hp-value__inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .hp-value__inner { grid-template-columns: 1fr 1fr; align-items: center; }
}
.hp-value__headline {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 900; color: #fff;
  line-height: 1.2; letter-spacing: -.02em;
  margin-bottom: 1rem;
}
.hp-value__headline span { color: var(--c-accent); }
.hp-value__body { color: rgba(255,255,255,.7); line-height: 1.7; margin-bottom: 1.5rem; }
.hp-value__pills {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem;
}
.hp-value__pill {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.8);
  font-size: .8rem; font-weight: 700;
  padding: .3rem .8rem; border-radius: 100px;
}
.hp-value__features {
  display: grid; grid-template-columns: 1fr 1fr; gap: .9rem;
}
.hp-value__feat {
  display: flex; align-items: flex-start; gap: .6rem;
}
.hp-value__feat-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(232,97,60,.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.hp-value__feat-text { font-size: .85rem; color: rgba(255,255,255,.7); line-height: 1.4; }
.hp-value__feat-text strong { display: block; color: #fff; font-size: .88rem; margin-bottom: .1rem; }

/* ── Newsletter ────────────────────────────────────────────────────────────── */
.hp-newsletter {
  background: #fff8f5;
  border-top: 3px solid var(--c-accent);
  border-bottom: 1px solid #fbd5c8;
  padding: 3rem 1.25rem;
}
.hp-newsletter__inner {
  max-width: 640px; margin: 0 auto; text-align: center;
}
.hp-newsletter__eyebrow {
  font-size: .75rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .1em; color: var(--c-accent);
  margin-bottom: .6rem;
}
.hp-newsletter__title {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 900; color: var(--c-dark);
  letter-spacing: -.02em; margin-bottom: .6rem;
}
.hp-newsletter__sub { font-size: .9rem; color: var(--c-muted); margin-bottom: 1.5rem; }
.hp-newsletter__form {
  display: flex; gap: .5rem; max-width: 480px; margin: 0 auto;
}
.hp-newsletter__form input[type="email"] {
  flex: 1; padding: .75rem 1rem;
  border: 1.5px solid var(--c-border); border-radius: var(--r);
  font-family: var(--font); font-size: .9rem;
  transition: border-color .15s;
}
.hp-newsletter__form input[type="email"]:focus { outline: none; border-color: var(--c-accent); }
.hp-newsletter__form button {
  background: var(--c-accent); color: #fff;
  border: none; border-radius: var(--r);
  padding: .75rem 1.4rem; cursor: pointer;
  font-weight: 800; font-size: .9rem;
  white-space: nowrap;
  transition: background .15s;
}
.hp-newsletter__form button:hover { background: var(--c-accent2); }
.hp-newsletter__note { font-size: .75rem; color: var(--c-muted); margin-top: .75rem; }
@media (max-width: 480px) {
  .hp-newsletter__form { flex-direction: column; }
  .hp-newsletter__form button { width: 100%; }
}

/* ── Latest Posts strip (full width bg alt) ────────────────────────────────── */
.hp-latest-wrap { background: var(--c-light); padding: 3.5rem 0; }

