/*
Theme Name: IndoVibeStudio
Theme URI: https://indovibestudio.com
Author: IndoVibeStudio
Author URI: https://indovibestudio.com
Description: A clean, minimal music sample pack store and blog theme built for IndoVibeStudio. Ad-friendly, SEO-optimized, and built for music producers.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: indovibestudio
Tags: music, minimal, blog, ecommerce, sample-packs, phonk
*/

/* =============================================
   DESIGN TOKENS
   ============================================= */
:root {
  --color-bg:         #FFFFFF;
  --color-surface:    #F7F7F7;
  --color-border:     #E8E8E8;
  --color-text:       #111111;
  --color-muted:      #777777;
  --color-accent:     #FF4500;   /* burnt orange — heat, energy, sound */
  --color-accent-dk:  #CC3700;
  --color-free:       #1A9E5C;   /* green = free */
  --color-premium:    #C0872A;   /* gold = premium */

  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius:    6px;
  --radius-lg: 12px;
  --shadow:    0 2px 12px rgba(0,0,0,0.07);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.11);

  --max-width: 1180px;
  --sidebar-w: 300px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { color: var(--color-accent-dk); }
ul { list-style: none; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; color: var(--color-text); }

.text-muted { color: var(--color-muted); font-size: 0.875rem; }
.text-accent { color: var(--color-accent); }

/* =============================================
   LAYOUT UTILITIES
   ============================================= */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 64px 0; }
.section--sm { padding: 40px 0; }
.section--lg { padding: 96px 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 24px; }

/* =============================================
   BADGES
   ============================================= */
.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 99px;
}

.badge--free {
  background: #E6F7EF;
  color: var(--color-free);
  border: 1px solid #B2E4CA;
}

.badge--premium {
  background: #FDF5E6;
  color: var(--color-premium);
  border: 1px solid #F0D89B;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.btn--primary:hover {
  background: var(--color-accent-dk);
  border-color: var(--color-accent-dk);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255,69,0,0.3);
}

.btn--outline {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}
.btn--outline:hover {
  background: var(--color-accent);
  color: #fff;
}

.btn--free {
  background: var(--color-free);
  color: #fff;
  border-color: var(--color-free);
}
.btn--free:hover {
  background: #158048;
  border-color: #158048;
  color: #fff;
  transform: translateY(-1px);
}

.btn--premium {
  background: var(--color-premium);
  color: #fff;
  border-color: var(--color-premium);
}
.btn--premium:hover {
  background: #A06E1A;
  border-color: #A06E1A;
  color: #fff;
  transform: translateY(-1px);
}

.btn--lg { padding: 16px 36px; font-size: 1rem; }
.btn--sm { padding: 8px 16px; font-size: 0.8rem; }
.btn--full { width: 100%; justify-content: center; }

/* =============================================
   HEADER & NAV
   ============================================= */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo img {
  height: 40px;
  width: auto;
}

.site-logo .logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.03em;
}

.site-logo .logo-text span { color: var(--color-accent); }

/* Primary Nav */
#primary-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

#primary-nav ul li a {
  display: block;
  padding: 8px 14px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
  border-radius: var(--radius);
  transition: all 0.15s;
}

#primary-nav ul li a:hover,
#primary-nav ul li.current-menu-item a {
  background: var(--color-surface);
  color: var(--color-accent);
}

.nav-cta {
  background: var(--color-accent) !important;
  color: #fff !important;
  border-radius: var(--radius) !important;
}
.nav-cta:hover {
  background: var(--color-accent-dk) !important;
  color: #fff !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: all 0.3s;
}

/* Mobile Nav */
#mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 999;
  padding: 32px 24px;
  overflow-y: auto;
}
#mobile-nav.open { display: block; }
#mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
#mobile-nav ul li a {
  display: block;
  padding: 14px 16px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  border-radius: var(--radius);
  border-bottom: 1px solid var(--color-border);
}
#mobile-nav ul li a:hover { color: var(--color-accent); }

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  background: var(--color-bg);
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

/* Signature element: subtle sound-wave line pattern behind hero */
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 40px,
    rgba(255,69,0,0.03) 40px,
    rgba(255,69,0,0.03) 41px
  );
  pointer-events: none;
}

.hero-content {
  max-width: 680px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-accent);
}

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

.hero-sub {
  font-size: 1.1rem;
  color: var(--color-muted);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-top: 4px;
  font-weight: 500;
}

/* =============================================
   AD SLOTS
   ============================================= */
.ad-slot {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  background: var(--color-surface);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius);
  margin: 32px 0;
  overflow: hidden;
  position: relative;
}

.ad-slot--leaderboard { min-height: 90px; }
.ad-slot--rectangle { min-height: 250px; max-width: 336px; }
.ad-slot--sidebar { min-height: 250px; }
.ad-slot--in-content { min-height: 250px; margin: 40px 0; }

.ad-label {
  position: absolute;
  top: 4px;
  right: 8px;
  font-size: 0.65rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* =============================================
   PACK CARDS
   ============================================= */
.pack-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.pack-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.pack-card__thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-surface);
}

.pack-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.pack-card:hover .pack-card__thumb img {
  transform: scale(1.04);
}

.pack-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
}

.pack-card__body {
  padding: 20px;
}

.pack-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-text);
}

.pack-card__meta {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-bottom: 16px;
  display: flex;
  gap: 12px;
}

.pack-card__meta span::before {
  content: '·';
  margin-right: 4px;
}
.pack-card__meta span:first-child::before { content: none; }

.pack-card__actions { display: flex; gap: 8px; }

/* =============================================
   SECTION HEADINGS
   ============================================= */
.section-heading {
  margin-bottom: 40px;
}

.section-heading__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.section-heading h2 { margin-bottom: 12px; }

.section-heading p {
  color: var(--color-muted);
  font-size: 1rem;
  max-width: 520px;
}

.section-heading--centered { text-align: center; }
.section-heading--centered p { margin: 0 auto; }

/* =============================================
   BLOG CARDS
   ============================================= */
.blog-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.blog-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.blog-card__thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-surface);
}

.blog-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.blog-card:hover .blog-card__thumb img { transform: scale(1.04); }

.blog-card__body { padding: 20px; }

.blog-card__cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.blog-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
  color: var(--color-text);
}

.blog-card__title a { color: inherit; }
.blog-card__title a:hover { color: var(--color-accent); }

.blog-card__date { font-size: 0.78rem; color: var(--color-muted); }

/* =============================================
   SINGLE POST / PAGE LAYOUT
   ============================================= */
.content-area {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-w);
  gap: 48px;
  align-items: start;
}

.post-content { min-width: 0; }

.post-content h2,
.post-content h3 { margin: 32px 0 12px; }

.post-content p { margin-bottom: 16px; }

.post-content ul,
.post-content ol {
  margin: 0 0 16px 24px;
  list-style: disc;
}

.post-content ol { list-style: decimal; }

.post-content img {
  border-radius: var(--radius);
  margin: 24px 0;
}

.post-content blockquote {
  border-left: 3px solid var(--color-accent);
  padding: 12px 20px;
  margin: 24px 0;
  background: var(--color-surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--color-muted);
}

/* Post Header */
.post-header { margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--color-border); }
.post-header h1 { margin-bottom: 16px; }
.post-meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: 0.85rem; color: var(--color-muted); }
.post-meta a { color: var(--color-accent); }

/* Download Box (for pack single posts) */
.download-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 36px 0;
}

.download-box__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.download-box__meta {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 20px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.download-box__meta span { display: flex; align-items: center; gap: 6px; }

.download-box__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* =============================================
   SIDEBAR
   ============================================= */
.sidebar { position: sticky; top: 80px; }

.widget {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.widget-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

/* Search Widget */
.widget-search { display: flex; gap: 8px; }
.widget-search input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.widget-search input:focus { border-color: var(--color-accent); }
.widget-search button {
  padding: 10px 14px;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
}

/* Categories Widget */
.widget-categories li {
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
}
.widget-categories li:last-child { border-bottom: none; }
.widget-categories li a { color: var(--color-text); }
.widget-categories li a:hover { color: var(--color-accent); }
.widget-categories .count { color: var(--color-muted); font-size: 0.8rem; }

/* Recent Posts Widget */
.widget-recent-posts li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}
.widget-recent-posts li:last-child { border-bottom: none; }
.widget-recent-posts .rp-thumb {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-surface);
}
.widget-recent-posts .rp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.widget-recent-posts .rp-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
  margin-bottom: 4px;
}
.widget-recent-posts .rp-title a { color: inherit; }
.widget-recent-posts .rp-title a:hover { color: var(--color-accent); }
.widget-recent-posts .rp-date { font-size: 0.75rem; color: var(--color-muted); }

/* =============================================
   FEATURES / ICON GRID
   ============================================= */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.feature-item {
  padding: 28px 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: box-shadow 0.2s;
}
.feature-item:hover { box-shadow: var(--shadow); }

.feature-icon {
  width: 44px;
  height: 44px;
  background: #FFF0EB;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.feature-item h4 { margin-bottom: 6px; }
.feature-item p { font-size: 0.9rem; color: var(--color-muted); margin: 0; }

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
  background: var(--color-text);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
}

.cta-banner h2 { color: #fff; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.7); margin-bottom: 28px; font-size: 1rem; }
.cta-banner .btn--primary {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

/* =============================================
   PAGINATION
   ============================================= */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 48px 0 16px;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  transition: all 0.2s;
}

.pagination a:hover { border-color: var(--color-accent); color: var(--color-accent); }
.pagination .current { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }

/* =============================================
   FOOTER
   ============================================= */
#site-footer {
  background: #0F0F0F;
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-text { color: #fff; }
.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  margin: 16px 0 24px;
  max-width: 280px;
}

.footer-col h5 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--color-accent); }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--color-accent); }

/* =============================================
   ARCHIVE / PACK LISTING PAGE
   ============================================= */
.archive-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 48px 0;
  margin-bottom: 48px;
}

.archive-header h1 { margin-bottom: 8px; }
.archive-header p { color: var(--color-muted); }

.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 18px;
  border: 1px solid var(--color-border);
  border-radius: 99px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  background: var(--color-bg);
  transition: all 0.15s;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 { margin-bottom: 16px; }
.contact-info p { color: var(--color-muted); margin-bottom: 32px; }

.contact-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-detail__icon {
  width: 44px;
  height: 44px;
  background: #FFF0EB;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail__text strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.contact-detail__text span { font-size: 0.9rem; color: var(--color-muted); }

/* Contact Form */
.contact-form { background: var(--color-surface); padding: 40px; border-radius: var(--radius-lg); }

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--color-bg);
  color: var(--color-text);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus { border-color: var(--color-accent); }
.form-group textarea { min-height: 140px; resize: vertical; }

/* =============================================
   404 PAGE
   ============================================= */
.error-404 {
  text-align: center;
  padding: 100px 0;
}

.error-404__code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 15vw, 10rem);
  font-weight: 900;
  color: var(--color-border);
  line-height: 1;
  margin-bottom: 24px;
}

.error-404 h2 { margin-bottom: 12px; }
.error-404 p { color: var(--color-muted); margin-bottom: 32px; }

/* =============================================
   NO RESULTS
   ============================================= */
.no-results {
  text-align: center;
  padding: 80px 0;
}
.no-results h2 { margin-bottom: 12px; }
.no-results p { color: var(--color-muted); }

/* =============================================
   PRIVACY / STATIC PAGE
   ============================================= */
.page-prose {
  max-width: 720px;
  margin: 0 auto;
}

.page-prose h1 { margin-bottom: 8px; }
.page-prose .page-date { color: var(--color-muted); font-size: 0.85rem; margin-bottom: 40px; }
.page-prose h2 { margin: 40px 0 12px; }
.page-prose h3 { margin: 28px 0 8px; }
.page-prose ul, .page-prose ol { margin: 0 0 16px 24px; list-style: disc; }
.page-prose ol { list-style: decimal; }

/* =============================================
   SEARCH RESULTS
   ============================================= */
.search-header {
  padding: 48px 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 48px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-area { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

@media (max-width: 768px) {
  #primary-nav, .nav-cta-desktop { display: none; }
  .hamburger { display: flex; }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .hero { padding: 48px 0 40px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }

  .cta-banner { padding: 40px 24px; }
  .contact-form { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .download-box__actions { flex-direction: column; }
}

/* =============================================
   ACCESSIBILITY
   ============================================= */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =============================================
   WORDPRESS CORE CLASSES
   ============================================= */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 0 auto 16px; }
.alignwide { margin-left: -40px; margin-right: -40px; }
.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); width: 100vw; }

.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.8rem; color: var(--color-muted); text-align: center; margin-top: 6px; }

.sticky { border-left: 3px solid var(--color-accent); padding-left: 16px; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; }
.gallery-item img { border-radius: var(--radius); }
