/*
Theme Name: DigSousa Blog Musical
Theme URI: https://digsousa.art
Author: DigSousa
Description: Blog musical dark, moderno e profissional.
Version: 1.1.0
Text Domain: digsousa-music
*/

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600&family=Space+Grotesk:wght@400;600;700&display=swap');

/* ============================================================
   VARIAVEIS
============================================================ */
:root {
  --bg:      #0a0a14;
  --bg2:     #111120;
  --bg3:     #16162a;
  --card:    #12121f;
  --border:  rgba(255,255,255,0.09);
  --green:   #00e87a;
  --green2:  #1db954;
  --purple:  #9333ea;
  --pink:    #f0006a;
  --cyan:    #00c8f0;
  --yellow:  #f5c518;
  --white:   #ffffff;
  --light:   #d4dce8;
  --muted:   #8896a8;
  --fdisp:   'Bebas Neue', sans-serif;
  --fbody:   'Inter', sans-serif;
  --fhead:   'Space Grotesk', sans-serif;
}

/* ============================================================
   RESET
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--light);
  font-family: var(--fbody);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--fhead);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--green2); border-radius: 3px; }

/* ============================================================
   LAYOUT
============================================================ */
.container { max-width: 1260px; margin: 0 auto; padding: 0 24px; }

/* ============================================================
   TICKER
============================================================ */
.ticker-bar {
  background: linear-gradient(90deg, #0d0520, #1a0a3a, #0d0520);
  border-bottom: 1px solid rgba(147,51,234,0.25);
  padding: 9px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 0;
}
.ticker-label {
  flex-shrink: 0;
  background: var(--green2);
  color: #000;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  padding: 4px 14px;
  margin: 0 20px 0 16px;
  border-radius: 4px;
}
.ticker-track {
  display: flex;
  animation: ticker-scroll 25s linear infinite;
  white-space: nowrap;
}
.ticker-item {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ticker-item .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  opacity: 0.6;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   HEADER / NAV
============================================================ */
.site-header {
  background: rgba(10,10,20,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 32px;
}
.site-logo {
  font-family: var(--fdisp);
  font-size: 26px;
  letter-spacing: 0.1em;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 2px;
}
.site-logo .accent { color: var(--green); }
.site-logo .tag {
  font-family: var(--fbody);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
  margin-left: 10px;
  margin-top: 4px;
}

/* Primary nav menu */
.primary-navigation ul {
  display: flex;
  gap: 4px;
}
.primary-navigation a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 7px 14px;
  border-radius: 6px;
  transition: color 0.25s, background 0.25s;
}
.primary-navigation a:hover,
.primary-navigation .current-menu-item > a {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--green2);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 100px;
  transition: box-shadow 0.3s, transform 0.2s;
  flex-shrink: 0;
}
.header-cta svg { width: 14px; height: 14px; }
.header-cta:hover { transform: scale(1.04); box-shadow: 0 0 24px rgba(29,185,84,0.4); }

/* Mobile toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.mobile-menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}

/* ============================================================
   MAIN LAYOUT: content + sidebar
============================================================ */
.site-main { padding: 48px 0 80px; }
.main-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

/* ============================================================
   HERO POST (first/featured)
============================================================ */
.hero-section { margin-bottom: 48px; }
.hero-post {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  transition: border-color 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.hero-post:hover { border-color: rgba(0,232,122,0.25); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }

/* Hero WITH image */
.hero-image-wrap {
  position: relative;
  height: 440px;
  overflow: hidden;
}
.hero-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.hero-post:hover .hero-image-wrap img { transform: scale(1.03); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,20,0.95) 0%, rgba(10,10,20,0.4) 50%, transparent 100%);
}
.hero-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 36px 40px;
}

/* Hero WITHOUT image */
.hero-no-image {
  height: 220px;
  background: linear-gradient(135deg, #0f0820 0%, #1a0e38 40%, #0e1a30 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.hero-no-image::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(0,232,122,0.08), transparent 60%),
              radial-gradient(circle at 70% 50%, rgba(147,51,234,0.08), transparent 60%);
}
.hero-no-image-content { padding: 32px 40px 36px; }

/* Hero common text */
.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.hero-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-title {
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 14px;
}
.hero-excerpt {
  font-size: 16px;
  color: rgba(212,220,232,0.8);
  line-height: 1.7;
  max-width: 700px;
  margin-bottom: 28px;
}
.hero-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================================
   SECTION HEADER
============================================================ */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.section-title {
  font-family: var(--fdisp);
  font-size: 22px;
  letter-spacing: 0.1em;
  color: var(--white);
}
.section-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  transition: gap 0.3s;
}
.section-link:hover { gap: 10px; }

/* ============================================================
   POSTS GRID
============================================================ */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

/* POST CARD */
.post-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,232,122,0.2);
  box-shadow: 0 12px 48px rgba(0,0,0,0.4);
}
.post-card > a { display: flex; flex-direction: column; height: 100%; color: inherit; }

/* Card image */
.card-image {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: linear-gradient(135deg, #0f0820, #1a0e38);
  flex-shrink: 0;
}
.card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.post-card:hover .card-image img { transform: scale(1.05); }
.card-image-overlay {
  position: absolute; inset: 0;
  background: rgba(10,10,20,0.2);
  transition: background 0.3s;
}
.post-card:hover .card-image-overlay { background: rgba(10,10,20,0.1); }
.card-no-image {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: rgba(255,255,255,0.08);
  background: linear-gradient(135deg, #0f0820 0%, #1a0e38 50%, #0e1a30 100%);
}
.card-badge-pos {
  position: absolute;
  top: 12px; left: 12px;
}

/* Card body */
.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.card-title {
  font-family: var(--fhead);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card:hover .card-title { color: var(--green); }
.card-excerpt {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.card-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.card-meta .date { font-size: 11px; color: var(--muted); }
.card-meta .author-name { font-size: 12px; color: var(--light); font-weight: 500; }
.card-arrow {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.post-card:hover .card-arrow {
  background: var(--green);
  color: #000;
  border-color: var(--green);
}

/* ============================================================
   CATEGORY BADGES
============================================================ */
.cat-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}
.cat-noticias    { background: rgba(0,232,122,0.15);  color: var(--green);  border: 1px solid rgba(0,232,122,0.3); }
.cat-lancamentos { background: rgba(0,200,240,0.12);  color: var(--cyan);   border: 1px solid rgba(0,200,240,0.3); }
.cat-tendencias  { background: rgba(147,51,234,0.15); color: #c084fc;       border: 1px solid rgba(147,51,234,0.35); }
.cat-bastidores  { background: rgba(240,0,106,0.12);  color: #fb7bb0;       border: 1px solid rgba(240,0,106,0.3); }
.cat-reviews     { background: rgba(245,197,24,0.12); color: var(--yellow); border: 1px solid rgba(245,197,24,0.3); }
.cat-playlists   { background: rgba(29,185,84,0.12);  color: var(--green2); border: 1px solid rgba(29,185,84,0.3); }
.cat-entrevistas { background: rgba(0,200,240,0.12);  color: var(--cyan);   border: 1px solid rgba(0,200,240,0.3); }
.cat-default     { background: rgba(255,255,255,0.08); color: var(--light); border: 1px solid var(--border); }

/* ============================================================
   POST META
============================================================ */
.post-meta-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.post-meta-info .author { color: var(--light); font-weight: 500; }
.post-meta-info .separator { opacity: 0.4; }

/* ============================================================
   READ MORE BUTTON
============================================================ */
.btn-read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  border-bottom: 1px solid rgba(0,232,122,0.35);
  padding-bottom: 2px;
  transition: gap 0.3s, border-color 0.3s;
}
.btn-read:hover { gap: 12px; border-color: var(--green); }
.btn-read svg { flex-shrink: 0; }

/* ============================================================
   PAGINATION
============================================================ */
.pagination-wrap { margin-top: 40px; }
.pagination-wrap .nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pagination-wrap .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s;
}
.pagination-wrap .page-numbers:hover,
.pagination-wrap .page-numbers.current {
  background: var(--green2);
  color: #000;
  border-color: var(--green2);
}

/* ============================================================
   SIDEBAR
============================================================ */
.sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.widget-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
.widget-box-title {
  font-family: var(--fdisp);
  font-size: 16px;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

/* Spotify widget */
.spotify-widget {
  background: linear-gradient(135deg, #0d2818, #0a1f12);
  border-color: rgba(29,185,84,0.25);
}
.spotify-widget .widget-box-title { color: var(--green2); border-color: rgba(29,185,84,0.2); }
.spotify-widget-link {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--green2);
  color: #000;
  font-weight: 700;
  font-size: 13px;
  padding: 14px 18px;
  border-radius: 10px;
  transition: box-shadow 0.3s, transform 0.2s;
}
.spotify-widget-link:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(29,185,84,0.35); }
.spotify-widget-link svg { width: 20px; height: 20px; flex-shrink: 0; }
.spotify-widget-text { display: flex; flex-direction: column; gap: 1px; }
.spotify-widget-text strong { display: block; }
.spotify-widget-text span { font-size: 11px; opacity: 0.7; font-weight: 400; }

/* Search */
.search-form {
  display: flex;
  gap: 8px;
}
.search-form input[type="search"] {
  flex: 1;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  padding: 10px 14px;
  font-size: 13px;
  outline: none;
  transition: border-color 0.3s;
}
.search-form input[type="search"]::placeholder { color: var(--muted); }
.search-form input[type="search"]:focus { border-color: var(--green); }
.search-form input[type="submit"] {
  background: var(--green2);
  color: #000;
  font-weight: 700;
  font-size: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.3s;
}
.search-form input[type="submit"]:hover { box-shadow: 0 4px 16px rgba(29,185,84,0.3); }

/* Recent posts in sidebar */
.recent-post-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.recent-post-item:last-child { border-bottom: none; padding-bottom: 0; }
.recent-post-item:first-child { padding-top: 0; }
.recent-post-item a { display: flex; gap: 12px; width: 100%; }
.recent-post-item img {
  width: 68px; height: 52px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.recent-post-no-img {
  width: 68px; height: 52px;
  border-radius: 8px;
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.recent-post-text { display: flex; flex-direction: column; gap: 4px; }
.recent-post-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--light);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s;
}
.recent-post-item:hover .recent-post-title { color: var(--green); }
.recent-post-date { font-size: 11px; color: var(--muted); }

/* Categories in sidebar */
.cat-list { display: flex; flex-direction: column; gap: 4px; }
.cat-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--light);
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.25s;
}
.cat-list-item:hover {
  background: rgba(255,255,255,0.04);
  border-color: var(--border);
  color: var(--white);
}
.cat-list-item .count {
  font-size: 11px;
  background: var(--bg2);
  color: var(--muted);
  padding: 2px 8px;
  border-radius: 100px;
}

/* ============================================================
   SINGLE POST
============================================================ */
.post-header { padding: 48px 0 36px; }
.post-header-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.post-header h1 {
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.15;
  margin-bottom: 20px;
}
.post-header-info {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
}
.post-header-info .author { color: var(--light); font-weight: 600; }

.post-featured-image {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 40px;
  border: 1px solid var(--border);
}

.post-content {
  font-size: 17px;
  line-height: 1.85;
  color: var(--light);
  max-width: 760px;
}
.post-content p { margin-bottom: 24px; color: var(--light); }
.post-content h2 { font-size: 26px; margin: 40px 0 16px; color: var(--white); }
.post-content h3 { font-size: 20px; margin: 32px 0 12px; color: var(--white); }
.post-content a { color: var(--green); border-bottom: 1px solid rgba(0,232,122,0.3); }
.post-content a:hover { border-color: var(--green); }
.post-content ul, .post-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
}
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li { margin-bottom: 8px; color: var(--light); }
.post-content blockquote {
  border-left: 3px solid var(--green);
  background: var(--bg2);
  padding: 20px 28px;
  border-radius: 0 12px 12px 0;
  margin: 28px 0;
  font-style: italic;
  color: var(--muted);
}
.post-content strong { color: var(--white); font-weight: 600; }
.post-content em { color: rgba(212,220,232,0.85); }

.post-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.post-tags .tag {
  font-size: 11px;
  padding: 5px 14px;
  border-radius: 100px;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all 0.3s;
}
.post-tags .tag:hover { border-color: var(--green); color: var(--green); }
.post-tags-label { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 32px;
  transition: gap 0.3s;
}
.back-link:hover { gap: 4px; }

/* ============================================================
   NO POSTS
============================================================ */
.no-posts {
  text-align: center;
  padding: 80px 24px;
}
.no-posts-icon { font-size: 64px; margin-bottom: 24px; opacity: 0.3; }
.no-posts h2 { color: var(--white); margin-bottom: 12px; }
.no-posts p { color: var(--muted); }

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 52px 0 32px;
}
.footer-main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  margin-bottom: 40px;
  align-items: start;
}
.footer-brand .logo {
  font-family: var(--fdisp);
  font-size: 32px;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 8px;
}
.footer-brand .logo span { color: var(--green); }
.footer-brand p { font-size: 13px; color: var(--muted); max-width: 280px; line-height: 1.7; }
.footer-links { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.footer-links a {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--green); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: var(--muted); transition: color 0.3s; }
.footer-bottom a:hover { color: var(--green); }

/* ============================================================
   ARCHIVE / CATEGORY
============================================================ */
.archive-header {
  padding: 40px 0 36px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}
.archive-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.archive-header h1 {
  font-family: var(--fdisp);
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: 0.05em;
}
.archive-desc { font-size: 15px; color: var(--muted); margin-top: 10px; }

/* ============================================================
   SEARCH
============================================================ */
.search-header { padding: 40px 0 36px; border-bottom: 1px solid var(--border); margin-bottom: 40px; }
.search-header h1 { font-size: 32px; }
.search-header h1 span { color: var(--green); }

/* ============================================================
   404
============================================================ */
.error-404-wrap { text-align: center; padding: 100px 24px; }
.error-404-num {
  font-family: var(--fdisp);
  font-size: clamp(100px, 20vw, 200px);
  background: linear-gradient(90deg, var(--green), var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 24px;
}
.error-404-wrap h2 { font-size: 28px; color: var(--white); margin-bottom: 12px; }
.error-404-wrap p { color: var(--muted); margin-bottom: 32px; }
.btn-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #000;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 100px;
  transition: box-shadow 0.3s;
}
.btn-home:hover { box-shadow: 0 0 32px rgba(0,232,122,0.35); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .main-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .posts-grid { grid-template-columns: 1fr; }
  .header-inner { gap: 16px; }
  .primary-navigation { display: none; }
  .mobile-menu-toggle { display: flex; }
  .hero-no-image-content, .hero-content { padding: 24px; }
  .hero-title { font-size: 22px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-links { align-items: flex-start; flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .header-cta .cta-text { display: none; }
}
