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

:root {
  --ink:       #0f0f0a;
  --paper:     #f5f4ec;
  --red:       #d4e600;
  --muted:     #888776;
  --border:    #cccbb8;
  --white:     #fafaf4;

  --font-display: 'Bebas Neue', 'Arial Narrow', Arial, sans-serif;
  --font-body:    'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;

  --max-w:    1160px;
  --col-gap:  2rem;
}

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

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.7; }
ul, ol { list-style: none; }

/* ─── TYPOGRAPHY ───────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  line-height: 1.05;
  font-weight: 400;
}

.entry-title a:hover { opacity: 0.65; }

/* ─── LAYOUT ───────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-main { padding: 3rem 0; }

.site-branding { display: flex; align-items: center; }

.logo-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 12px 0 8px;
}

.site-tagline {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1;
  text-align: center;
  margin-top: 4px;
  padding: 3px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  width: 100%;
}

.custom-logo-link { display: flex; align-items: center; }

.custom-logo-link img {
  max-height: 52px;
  width: auto;
  display: block;
}

.custom-logo-link:hover img { opacity: 0.85; }

/* ─── HEADER ───────────────────────────────────────── */
.site-header {
  background: var(--ink);
  color: var(--white);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--red);
}

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

.site-title {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.12em;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1;
}

.site-title span { color: var(--red); }

.site-title a { color: inherit; }
.site-title a:hover { color: var(--white); }

/* ─── NAV ──────────────────────────────────────────── */
.main-nav ul {
  display: flex;
  gap: 0;
}

.main-nav ul { display: flex; height: 100%; }

.main-nav a {
  display: flex;
  align-items: center;
  padding: 0 1rem;
  min-height: 68px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: #b8b7a6;
  transition: color 0.15s, background 0.15s;
}

.main-nav a:hover,
.main-nav .current-menu-item a {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  padding: 0.5rem;
}

/* ─── TICKER / BREAKING ────────────────────────────── */
.ticker-bar {
  background: var(--red);
  color: var(--ink);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0;
  overflow: hidden;
  display: block;
  width: 100%;
  box-sizing: border-box;
}

.ticker-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.ticker-set {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.ticker-item {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.ticker-item a {
  padding: 0 1.8rem;
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}

.ticker-sep {
  color: var(--ink);
  opacity: 0.4;
}

/* ─── HERO / FEATURED ──────────────────────────────── */
.hero-section {
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: start;
  overflow: hidden;
}

.hero-main {
  padding-right: 2.5rem;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hero-thumbnail {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.hero-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.hero-thumbnail:hover img { transform: scale(1.03); }

.hero-text { flex: 1; min-width: 0; }

.hero-sidebar {
  padding-left: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-label::before {
  content: '';
  display: block;
  width: 18px;
  height: 2px;
  background: var(--red);
}

.hero-label span,
.hero-label {
  background: var(--red);
  color: var(--ink);
  padding: 0.2rem 0.55rem 0.18rem;
  display: inline-block;
}

.hero-label::before { display: none; }

.hero-main .entry-title {
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.95;
  margin-bottom: 1rem;
  text-transform: uppercase;
  min-width: 0;
  word-break: break-word;
}

.hero-main .entry-excerpt {
  font-size: 1.0625rem;
  color: #4a4938;
  line-height: 1.65;
  max-width: 52ch;
  margin-bottom: 1.25rem;
}

.hero-main .entry-meta {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* sidebar items */
.sidebar-post {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.sidebar-post:last-child { border-bottom: none; }

.sidebar-post .post-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--border);
  line-height: 1;
  min-width: 2.5rem;
  user-select: none;
}

.sidebar-post .entry-title {
  font-size: 1.25rem;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

.sidebar-post .entry-meta {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─── SECTION HEADING ──────────────────────────────── */
.section-heading {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--ink);
}

.section-heading h2 {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 700;
}

.section-heading .view-all {
  margin-left: auto;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 700;
  border-bottom: 2px solid var(--red);
  padding-bottom: 1px;
}

.section-heading .view-all:hover { opacity: 0.65; }

/* ─── CONTENT GRID ─────────────────────────────────── */
.content-section { padding: 2.5rem 0; border-bottom: 1px solid var(--border); }

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.post-grid .post-card {
  padding: 0 1.5rem 0 0;
  border-right: 1px solid var(--border);
  margin-right: 1.5rem;
}

.post-grid .post-card:last-child {
  padding-right: 0;
  margin-right: 0;
  border-right: none;
}

/* ─── POST CARD ────────────────────────────────────── */
.post-card { position: relative; }

.post-card .post-thumbnail {
  aspect-ratio: 3/2;
  overflow: hidden;
  margin-bottom: 1rem;
}

.post-card .post-thumbnail img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.post-card:hover .post-thumbnail img { transform: scale(1.04); }

.cat-label,
.post-card .cat-label,
.news-item .cat-label,
.sidebar-post .cat-label {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  background: var(--red);
  color: var(--ink);
  padding: 0.18rem 0.5rem 0.15rem;
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.cat-label a,
.post-card .cat-label a,
.news-item .cat-label a,
.sidebar-post .cat-label a {
  color: var(--ink);
}

.post-card .entry-title {
  font-size: 1.5rem;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 0.5rem;
}

.post-card .entry-excerpt {
  font-size: 0.875rem;
  color: #5a5948;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.post-card .entry-meta {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* No-image card variant — bold editorial */
.post-card.no-image {
  padding-top: 1.25rem;
  border-top: 3px solid var(--ink);
}

.post-card.no-image .entry-title { font-size: 1.85rem; }

/* ─── NEWS LIST ────────────────────────────────────── */
.news-list { display: flex; flex-direction: column; }

.news-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.news-item:last-child { border-bottom: none; }

.news-item .entry-title {
  font-size: 1.1rem;
  text-transform: uppercase;
}

.news-item .entry-date {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* ─── REVIEWS ──────────────────────────────────────── */
.reviews-section { padding: 2.5rem 0; border-bottom: 1px solid var(--border); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.review-card .album-art {
  aspect-ratio: 1;
  overflow: hidden;
  margin-bottom: 0.75rem;
  background: var(--ink);
  position: relative;
}

.review-card .album-art img { width: 100%; height: 100%; object-fit: cover; }

.review-card .album-art .no-art {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 3rem;
  color: rgba(255,255,255,0.12);
  letter-spacing: 0.1em;
}

.review-card .artist { font-weight: 700; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
.review-card .album  { font-size: 0.875rem; color: #5a5948; margin-bottom: 0.3rem; }

.review-card .score {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--red);
}

/* ─── SIDEBAR WIDGET ───────────────────────────────── */
.two-col-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
}

.widget-area {
  border-left: 1px solid var(--border);
  padding-left: 2rem;
}

.widget + .widget { margin-top: 2.5rem; }

.widget-title {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--ink);
}

/* ─── SINGLE POST ──────────────────────────────────── */
.single-article { max-width: 720px; }

.single-article .post-header { margin-bottom: 2rem; }

.single-article .post-cats {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* Full-bleed hero image above article */
.single-hero-image {
  width: 100%;
  max-height: 520px;
  overflow: hidden;
  margin-bottom: 0;
}

.single-hero-image img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

.single-article .entry-title {
  font-size: clamp(2.5rem, 4vw, 4rem);
  text-transform: uppercase;
  line-height: 0.97;
  margin-bottom: 1rem;
}

.single-article .entry-subtitle {
  font-size: 1.25rem;
  color: #444;
  line-height: 1.5;
  margin-bottom: 1rem;
  font-style: italic;
}

.single-article .post-meta-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.single-article .featured-image {
  margin-bottom: 2rem;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.single-article .featured-image img { width: 100%; height: 100%; object-fit: cover; }

/* Entry content typography */
.entry-content { font-size: 1.0625rem; line-height: 1.78; color: #1e1d14; }
.entry-content p { margin-bottom: 1.5em; }
.entry-content h2 { font-size: 1.8rem; text-transform: uppercase; margin: 2.5rem 0 1rem; }
.entry-content h3 { font-size: 1.4rem; text-transform: uppercase; margin: 2rem 0 0.75rem; }
.entry-content blockquote {
  border-left: 3px solid var(--red);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2rem 0;
  font-size: 1.3rem;
  font-style: italic;
  color: #333;
  line-height: 1.5;
}
.entry-content a { color: #1a4f8a; text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--ink); opacity: 1; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1.5em; list-style: revert; }
.entry-content li { margin-bottom: 0.4em; }

/* ─── PAGINATION ───────────────────────────────────── */
.pagination {
  display: flex;
  gap: 0.5rem;
  padding: 2rem 0;
  align-items: center;
}

.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: 1px solid var(--border);
}

.pagination .current { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pagination a:hover  { border-color: var(--red); color: var(--red); }

/* ─── FOOTER ───────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.55);
  font-size: 0.8rem;
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand .site-title {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

.footer-logo-link { display: inline-block; margin-bottom: 0.75rem; }
.footer-logo-link img {
  max-height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.footer-logo-link:hover img { opacity: 1; }

.footer-copyright {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.footer-brand p { line-height: 1.7; max-width: 28ch; }

/* Widget area renders widgets side by side, right-aligned */
.footer-widgets {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-end;
  text-align: right;
}

.footer-widgets .widget ul {
  list-style: none;
  padding: 0;
}

.footer-widgets .footer-col,
.footer-widgets .widget {
  flex: 0 1 auto;
  min-width: 120px;
}

.footer-widgets--empty {
  opacity: 0.4;
  font-size: 0.75rem;
  align-items: center;
}

.footer-col-title {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-col ul li,
.footer-widgets .widget ul li { margin-bottom: 0.5rem; }
.footer-col a,
.footer-widgets a { color: rgba(255,255,255,0.55); }
.footer-col a:hover,
.footer-widgets a:hover { color: var(--white); opacity: 1; }
.footer-empty { font-size: 0.72rem; opacity: 0.3; font-style: italic; color: rgba(255,255,255,0.4); }

/* Widget titles */
.footer-widgets .widget-title {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  border: none;
  padding: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom a:hover { color: var(--red); opacity: 1; }

/* ─── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-main {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    width: 100%;
    min-width: 0;
  }
  .hero-thumbnail {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .hero-sidebar { padding-left: 0; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .post-grid .post-card:nth-child(2n) { padding-right: 0; margin-right: 0; border-right: none; }
  .post-grid .post-card:nth-child(2n+1) { padding-right: 1.5rem; border-right: 1px solid var(--border); margin-right: 1.5rem; }
  .post-grid .post-card:nth-child(3) { padding-right: 0; border-right: none; margin-right: 0; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col-layout { grid-template-columns: 1fr; }
  .widget-area { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 2rem; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-widgets { gap: 1.5rem; }
}

@media (max-width: 600px) {
  .site-title { font-size: 1.5rem; }
  .main-nav { display: none; }
  .main-nav.open { display: block; background: #111; position: absolute; top: 68px; left: 0; right: 0; }
  .main-nav.open ul { flex-direction: column; }
  .main-nav.open a { height: 44px; line-height: 44px; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .nav-toggle { display: block; }
  .post-grid { grid-template-columns: 1fr; }
  .post-grid .post-card { padding: 0; margin: 0; border: none; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .footer-widgets { flex-direction: column; justify-content: flex-start; text-align: left; }

  /* Hero containment */
  .hero-section, .hero-grid, .hero-main, .hero-text {
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .hero-main .entry-title {
    font-size: clamp(1.4rem, 6vw, 2rem) !important;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  .hero-main .entry-excerpt {
    overflow: hidden;
    word-break: break-word;
  }
  .hero-thumbnail { width: 100%; margin: 0 0 1.25rem 0; }

  /* General content containment */
  .container { overflow: hidden; }
  .entry-title { word-break: break-word; overflow-wrap: break-word; }
}