/* ================================================
   WALL OF SOUND — Design System v1.0
   Minimal éditorial | Space Grotesk | #FF5500
   ================================================ */

:root {
  --accent:   #FF5500;
  --accent-d: #E04A00;
  --text:     #111111;
  --muted:    #666666;
  --bg:       #FFFFFF;
  --border:   #E8E8E8;
  --max-w:    1080px;
  --col-w:    720px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ── HEADER ─────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
  border-bottom: 2px solid var(--accent);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.site-logo::after {
  content: ' ◼';
  color: var(--accent);
  font-size: 0.5rem;
  vertical-align: super;
}

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

/* Nav */
.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-list li a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 2px;
  transition: color 0.15s, background 0.15s;
}

.nav-list li a:hover,
.nav-list li.current-menu-item a {
  color: var(--accent);
  background: rgba(255,85,0,0.07);
}

/* ── MAIN ────────────────────────────────────── */
.site-main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px 60px;
}

/* ── LISTE ARTICLES ──────────────────────────── */
.post-list {
  padding-top: 32px;
}

.post-card {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.post-card:first-child { border-top: 1px solid var(--border); }
.post-card:hover { background: #FAFAFA; }

.post-thumb {
  display: block;
  width: 148px;
  height: 110px;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 2px;
}

.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.post-card:hover .post-thumb img { transform: scale(1.03); }

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

.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.post-cat {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  background: rgba(255,85,0,0.08);
  padding: 2px 7px;
  border-radius: 2px;
}

.post-cat:hover { background: rgba(255,85,0,0.18); }

.post-date {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.post-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.post-title a {
  color: var(--text);
  text-decoration: none;
}

.post-title a:hover { color: var(--accent); }

.post-excerpt {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── PAGINATION ──────────────────────────────── */
.pagination {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

.pagination .page-numbers {
  list-style: none;
  display: flex;
  gap: 6px;
  align-items: center;
}

.pagination .page-numbers li { display: block; }

.pagination .page-numbers a,
.pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text);
  text-decoration: none;
  transition: all 0.15s;
}

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

/* ── ARTICLE SINGLE ──────────────────────────── */
.single-main {
  padding-top: 0;
}

.single-article {
  max-width: var(--col-w);
  margin: 0 auto;
  padding-top: 40px;
}

.article-header {
  margin-bottom: 28px;
}

.article-header .post-meta {
  margin-bottom: 14px;
}

.article-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: var(--text);
}

.article-title::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background: var(--accent);
  margin-top: 16px;
  border-radius: 2px;
}

.article-thumb {
  margin-bottom: 32px;
  border-radius: 3px;
  overflow: hidden;
}

.article-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

/* Corps article */
.article-content {
  font-size: 1.0625rem;
  line-height: 1.8;
}

.article-content p { margin-bottom: 1.35em; }

.article-content h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 2em 0 0.75em;
}

.article-content h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  margin: 1.5em 0 0.5em;
}

.article-content a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(255,85,0,0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-content a:hover { text-decoration-color: var(--accent); }

.article-content strong, .article-content b { font-weight: 600; }

.article-content blockquote {
  border-left: 3px solid var(--accent);
  margin: 1.75em 0;
  padding: 2px 20px;
  font-style: italic;
  color: var(--muted);
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 3px;
  margin: 16px 0;
}

/* Iframes (YouTube, SC, Spotify) */
.article-content iframe {
  max-width: 100%;
  border-radius: 4px;
  display: block;
  margin: 24px 0;
}

.article-content iframe[src*="spotify"] {
  height: 80px;
  border-radius: 8px;
}

.article-content iframe[src*="youtube"] {
  width: 100%;
  aspect-ratio: 16/9;
  height: auto;
}

/* Embeds WordPress */
.wp-block-embed, .embed-responsive {
  margin: 24px 0;
}

/* ── NAVIGATION ARTICLE (prev/next) ──────────── */
.article-nav {
  max-width: var(--col-w);
  margin: 56px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.nav-prev, .nav-next {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 3px;
  transition: border-color 0.15s;
}

.nav-prev { align-items: flex-start; }
.nav-next { align-items: flex-end; text-align: right; }

.nav-prev:hover, .nav-next:hover {
  border-color: var(--accent);
}

.nav-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.nav-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
}

/* ── FOOTER ──────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 80px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text);
}

.footer-nav { list-style: none; display: flex; gap: 4px; }

.footer-nav li a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 2px;
  transition: color 0.15s;
}

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

.footer-copy {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.6875rem;
  color: var(--muted);
}

/* ── UTILS ───────────────────────────────────── */
::selection { background: var(--accent); color: #fff; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #f0f0f0; }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 640px) {
  .post-card { grid-template-columns: 1fr; }
  .post-thumb { width: 100%; height: 180px; }
  .header-inner { height: 52px; }
  .site-logo { font-size: 0.9375rem; }
  .nav-list li a { font-size: 0.6875rem; padding: 3px 6px; }
  .article-nav { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (min-width: 641px) and (max-width: 900px) {
  .post-card { grid-template-columns: 120px 1fr; }
  .post-thumb { width: 120px; height: 90px; }
}
