/* ============================================================
   GRITA! – Stylesheet
   Brand: Hot pink/magenta, gold, bright blue, black & white
   Fonts: Arial Black (display) + Georgia (body)
   ============================================================ */

:root {
  --pink:      #e8006a;
  --pink-dark: #b8005a;
  --gold:      #f0b800;
  --blue:      #3a9fd5;
  --black:     #0a0a0a;
  --white:     #ffffff;
  --offwhite:  #f5e6d0;
  --grey:      #666;
  --nav-h:     56px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--offwhite);
  color: var(--black);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--pink-dark); text-decoration: underline; }
ul { list-style: none; }
main { flex: 1; }

/* ── NAV ─────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--black);
  z-index: 100;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left { display: flex; align-items: baseline; gap: 0.75rem; }

.nav-logo {
  font-family: Arial Black, Arial, sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--white);
  text-decoration: none;
}
.nav-logo:hover { color: var(--pink); text-decoration: none; }

.nav-subtitle {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
  font-family: Arial, sans-serif;
  font-style: italic;
}

.nav-links { display: flex; gap: 0; }

.nav-links a {
  font-family: Arial, sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  padding: 0 1rem;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  border-bottom-color: var(--pink);
  text-decoration: none;
}

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

/* ── HERO (Home) ─────────────────────────────── */

.hero {
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  min-height: 500px;
  overflow: hidden;
  z-index: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

/* Home content scrolls OVER the hero */
.home-content {
  position: relative;
  z-index: 1;
  background: var(--offwhite);
  padding: 3.5rem 2rem;
}

.home-content-inner {
  max-width: 760px;
  margin: 0 auto;
}

.home-content p {
  margin-bottom: 1.4rem;
  font-size: 1.05rem;
  color: #222;
}

.home-divider {
  border: none;
  border-top: 1px solid rgba(232,0,106,0.25);
  margin: 2rem 0;
}

.spotify-block {
  text-align: center;
  margin: 1.5rem 0;
}

.spotify-block p {
  font-style: italic;
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 0.75rem;
}

.spotify-block img {
  height: 36px;
  width: auto;
  margin: 0 auto;
}

/* ── NEWS SIDEBAR ────────────────────────────── */

.news-sidebar {
  background: var(--black);
  color: var(--white);
  padding: 2.5rem 2rem;
}

.news-sidebar-inner {
  max-width: 760px;
  margin: 0 auto;
}

.news-sidebar h2, .news-sidebar h3 {
  font-family: Arial Black, Arial, sans-serif;
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.news-sidebar ul { list-style: none; }

.news-sidebar li {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: Arial, sans-serif;
  font-size: 0.88rem;
}

.news-sidebar li:last-child { border-bottom: none; }
.news-sidebar a { color: rgba(255,255,255,0.8); text-decoration: none; }
.news-sidebar a:hover { color: var(--gold); text-decoration: underline; }

.news-date {
  display: block;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  margin-top: 0.15rem;
}

/* ── PAGE HERO BANNERS ───────────────────────── */

.page-hero {
  margin-top: var(--nav-h);
  position: relative;
  height: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--black);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../wp-content/uploads/2020/12/Grita-Logo_BWCheckeredBG-scaled.jpg');
  background-size: cover;
  background-position: center;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.page-hero-title {
  position: relative;
  z-index: 2;
  font-family: Arial Black, Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 8vw, 5rem);
  color: var(--white);
  text-shadow: 3px 3px 0 var(--pink);
  text-align: center;
}

/* ── PAGE CONTENT ────────────────────────────── */

.page-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

.page-intro {
  font-size: 1rem;
  color: #333;
  margin-bottom: 2rem;
  max-width: 720px;
  line-height: 1.75;
}

/* ── RELEASES TABLE ──────────────────────────── */

.releases-table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  background: white;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.releases-table th {
  background: var(--black);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 1rem;
  text-align: left;
}

.releases-table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid #eee;
  color: #222;
  vertical-align: middle;
}

.releases-table tr:hover td { background: rgba(232,0,106,0.04); }
.releases-table td:first-child { width: 80px; padding: 0.4rem; }
.releases-table td:first-child a { display: block; line-height: 0; width: 64px; height: 64px; overflow: hidden; }
.releases-table td:first-child img { width: 64px !important; height: 64px !important; min-width: 64px; min-height: 64px; object-fit: cover; object-position: center; cursor: pointer; transition: opacity 0.2s; display: block; }
.releases-table a img:hover { opacity: 0.8; }

/* ── MEDIA ARCHIVE ───────────────────────────── */

.archive-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

.archive-section-title {
  font-family: Arial Black, Arial, sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--pink);
  margin: 3rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--pink);
}

.archive-section-title:first-child { margin-top: 0; }

.archive-caption {
  font-style: italic;
  font-size: 0.88rem;
  color: var(--grey);
  margin: 0.5rem 0 1.5rem;
}

.archive-img { margin: 0.75rem 0; }

.archive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1rem 0;
}

.archive-grid img { width: 100%; }

.archive-audio {
  margin: 1.5rem 0;
  background: var(--black);
  color: var(--white);
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--gold);
}

.archive-audio p {
  font-style: italic;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.75rem;
}

.archive-audio audio { width: 100%; }

.archive-video {
  margin: 1.5rem 0;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: var(--black);
}

.archive-video iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* ── GRATITUD ────────────────────────────────── */

.gratitud-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

.gratitud-sign {
  width: 100%;
  margin: 0 auto 2.5rem;
}

.gratitud-intro {
  font-size: 1.05rem;
  color: #333;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.gratitud-thanks {
  font-family: Arial Black, Arial, sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--pink);
  margin-bottom: 0.4rem;
  text-align: center;
}

.gratitud-sub {
  font-style: italic;
  color: var(--grey);
  margin-bottom: 2rem;
  text-align: center;
}

.gratitud-names {
  columns: 2;
  gap: 2rem;
  list-style: none;
}

.gratitud-names li {
  padding: 0.4rem 0;
  border-bottom: 1px solid #ddd;
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  break-inside: avoid;
}

/* ── NEWS ────────────────────────────────────── */

.news-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

.news-article {
  padding: 2.5rem 0;
  border-bottom: 1px solid #ddd;
}

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

.news-article-title {
  font-family: Arial Black, Arial, sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.news-article-title a { color: var(--black); }
.news-article-title a:hover { color: var(--pink); text-decoration: none; }

.news-article-meta {
  font-family: Arial, sans-serif;
  font-size: 0.75rem;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.news-article-body { color: #333; line-height: 1.75; }

/* ── SINGLE POST ─────────────────────────────── */

.post-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

.post-title {
  font-family: Arial Black, Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  color: var(--black);
  margin-bottom: 0.5rem;
  line-height: 1.15;
}

.post-meta {
  font-family: Arial, sans-serif;
  font-size: 0.75rem;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--pink);
}

.post-body { color: #333; line-height: 1.8; }
.post-body p { margin-bottom: 1.2rem; }

.post-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #ddd;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  gap: 1rem;
}

/* ── FOOTER ──────────────────────────────────── */

.footer {
  background: var(--black);
  padding: 2.5rem 2rem;
  text-align: center;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  font-family: Arial Black, Arial, sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--white);
  text-decoration: none;
}
.footer-logo:hover { color: var(--pink); text-decoration: none; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.footer-links a {
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  padding: 0.2rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.12);
  text-decoration: none;
}

.footer-links li:last-child a { border-right: none; }
.footer-links a:hover { color: var(--gold); text-decoration: none; }

.footer-copy {
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.2);
}

/* ── RESPONSIVE ──────────────────────────────── */

@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .nav-subtitle { display: none; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--black);
    flex-direction: column;
    border-bottom: 2px solid var(--pink);
  }

  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    height: auto;
    padding: 0.9rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    border-left: none;
  }

  .archive-grid { grid-template-columns: 1fr; }
  .gratitud-names { columns: 1; }
  .releases-table td:first-child { display: none; }
  .post-nav { flex-direction: column; }
}
