/* DEPLOY CHECK 20260524D — if you cannot see this in /css/gig.css, the wrong file is live. */
/* =========================================================
   gig.css
   The Flying Birds — Gig Detail / Setlist Page
   Scoped detail page styling. Shared nav/footer live in core.css.
   ========================================================= */

:root {
  --fb-ink: #111111;
  --fb-muted: #625d54;
  --fb-soft: #f6f2ea;
  --fb-card: #ffffff;
  --fb-line: rgba(17, 17, 17, 0.10);
  --fb-gold: #c8a24a;
  --fb-gold-bright: #f0cf77;
  --fb-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
}

body.gig-detail-page {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(200, 162, 74, 0.16), transparent 34rem),
    linear-gradient(180deg, #f8f5ef 0%, #f1ece3 100%);
  color: var(--fb-ink);
}

body.gig-detail-page a:hover,
body.gig-detail-page a:focus {
  background-color: transparent;
}

/* =========================================================
   Hero
   ========================================================= */

.gig-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0,0,0,.35), rgba(0,0,0,.88)),
    var(--gig-hero-image) center center / cover no-repeat;
  border-bottom: 6px solid var(--fb-gold);
}

.gig-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 28%, rgba(240, 207, 119, 0.28), transparent 19rem),
    linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.25) 58%, rgba(0,0,0,.80));
  pointer-events: none;
}

.gig-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.90)),
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,.035) 0,
      rgba(255,255,255,.035) 1px,
      transparent 1px,
      transparent 74px
    );
  pointer-events: none;
}

.gig-hero-inner {
  position: relative;
  z-index: 2;
  padding: 5.8rem 1rem 4.4rem;
  max-width: 1120px;
}

.gig-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  margin-bottom: 1.2rem;
  color: rgba(255,255,255,.78);
  font-size: .86rem;
  font-weight: 750;
}

.gig-breadcrumb a {
  color: rgba(255,255,255,.86);
  text-decoration: none;
}

.gig-breadcrumb a:hover,
.gig-breadcrumb a:focus {
  color: var(--fb-gold-bright);
  text-decoration: none;
}

.gig-kicker,
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 0 0 1rem;
  color: var(--fb-gold-bright);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.gig-kicker::before,
.section-eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.gig-hero h1 {
  max-width: 1000px;
  margin: 0 0 1rem;
  font-size: clamp(2.35rem, 6vw, 5.45rem);
  line-height: .94;
  font-weight: 950;
  letter-spacing: -.065em;
  text-wrap: balance;
}

.gig-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 0 0 1.1rem;
  color: rgba(255,255,255,.90);
  font-size: clamp(.94rem, 1.6vw, 1.12rem);
  font-weight: 750;
}

.gig-hero-meta span,
.gig-hero-meta time {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: .4rem .7rem;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(8px);
}

.gig-hero-copy {
  max-width: 780px;
  margin: 0;
  color: rgba(255,255,255,.91);
  font-size: clamp(1.02rem, 2vw, 1.24rem);
  line-height: 1.65;
  font-weight: 500;
}

.gig-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 1.65rem;
}

.gig-hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .78rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.36);
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: .94rem;
  font-weight: 850;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

.gig-hero-actions a:first-child {
  background: var(--fb-gold);
  color: #111;
  border-color: var(--fb-gold);
  box-shadow: 0 18px 40px rgba(0,0,0,.34);
}

.gig-hero-actions a:hover,
.gig-hero-actions a:focus {
  transform: translateY(-2px);
  background: #fff;
  color: #111;
  border-color: #fff;
  text-decoration: none;
}

/* =========================================================
   Page shell / summary stats
   ========================================================= */

.gig-page-shell {
  padding: 0 0 4.5rem;
}

.gig-stats-panel {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
  margin: -2.5rem 0 2rem;
  padding: 1rem;
  border: 1px solid rgba(17,17,17,.08);
  border-radius: 28px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--fb-shadow);
  backdrop-filter: blur(12px);
}

.gig-stats-panel div {
  min-width: 0;
  border: 1px solid var(--fb-line);
  border-radius: 20px;
  padding: .95rem 1rem;
  background: linear-gradient(180deg, #fff, #fbf8f1);
}

.gig-stats-panel span {
  display: block;
  overflow: hidden;
  color: #111;
  font-size: clamp(1.02rem, 2vw, 1.35rem);
  font-weight: 950;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gig-stats-panel small {
  display: block;
  margin-top: .28rem;
  color: var(--fb-muted);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.gig-night-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin: 0 0 1.5rem;
}

.gig-night-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: .58rem .9rem;
  border-radius: 999px;
  border: 1px solid rgba(17,17,17,.12);
  background: #fff;
  color: #111;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0,0,0,.06);
}

.gig-night-nav a:hover,
.gig-night-nav a:focus {
  background: #111;
  color: #fff;
  text-decoration: none;
}

/* =========================================================
   Layout / cards
   ========================================================= */

.gig-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.35rem;
  align-items: start;
}

.gig-main-column {
  display: grid;
  gap: 1.25rem;
  min-width: 0;
}

.gig-card,
.gig-sidebar-card {
  overflow: hidden;
  border: 1px solid rgba(17,17,17,.08);
  border-radius: 26px;
  background: var(--fb-card);
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

.gig-card {
  padding: 1.25rem;
}

.gig-card h2,
.gig-sidebar-card h2 {
  margin: 0 0 .9rem;
  color: #111;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.05em;
}

.section-heading-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
  margin-bottom: 1rem;
}

.section-heading-row h2 {
  margin-bottom: 0;
}

.section-heading-row > span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: .45rem .75rem;
  border-radius: 999px;
  background: #f3eee5;
  color: #111;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.gig-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin: 0;
}

.gig-detail-list div {
  min-width: 0;
  padding: .9rem;
  border: 1px solid rgba(17,17,17,.09);
  border-radius: 18px;
  background: #fbf8f1;
}

.gig-detail-list dt {
  margin: 0 0 .25rem;
  color: var(--fb-muted);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.gig-detail-list dd {
  margin: 0;
  color: #111;
  font-size: .98rem;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.gig-detail-list a {
  color: #111;
  text-decoration: underline;
  text-decoration-color: var(--fb-gold);
  text-decoration-thickness: 2px;
  text-underline-offset: .18em;
}

/* =========================================================
   Media
   ========================================================= */

.gig-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
}

.gig-media-item {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: #ded8ce;
  aspect-ratio: 4 / 3;
  text-decoration: none;
}

.gig-media-item img,
.gig-media-item video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .32s ease;
}

.gig-media-item:hover img {
  transform: scale(1.05);
}

.gig-media-video {
  aspect-ratio: 16 / 9;
}

.gig-download-file {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .6rem .9rem;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

/* =========================================================
   Setlist
   ========================================================= */

.gig-setlist-card {
  position: relative;
}

.setlist-wrap {
  display: grid;
  gap: 1rem;
}

.setlist-wrap h3 {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin: .5rem 0 .2rem;
  color: var(--fb-muted);
  font-size: .82rem;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.setlist-list {
  display: grid;
  gap: .52rem;
  margin: 0;
  padding: 0;
  counter-reset: setlist;
  list-style: none;
}

.setlist-list li {
  counter-increment: setlist;
  display: grid;
  grid-template-columns: 2.7rem minmax(0, 1fr);
  align-items: center;
  gap: .75rem;
  padding: .65rem .75rem;
  border: 1px solid rgba(17,17,17,.08);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #fbf8f1);
}

.setlist-list li::before {
  content: counter(setlist);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  background: #111;
  color: var(--fb-gold-bright);
  font-size: .78rem;
  font-weight: 950;
}

.setlist-list a {
  color: #111;
  font-size: 1.02rem;
  font-weight: 850;
  text-decoration: none;
}

.setlist-list a:hover,
.setlist-list a:focus {
  color: #000;
  text-decoration: underline;
  text-decoration-color: var(--fb-gold);
  text-decoration-thickness: 2px;
  text-underline-offset: .18em;
}

.gig-empty-note {
  margin: 0 0 1rem;
  color: var(--fb-muted);
}

.gig-pdf-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 1rem;
  padding: .68rem 1rem;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: .9rem;
  font-weight: 950;
  text-decoration: none;
}

.gig-pdf-button:hover,
.gig-pdf-button:focus {
  background: var(--fb-gold);
  color: #111;
  text-decoration: none;
}

/* =========================================================
   Related / comments
   ========================================================= */

.related-gigs-list {
  display: grid;
  gap: .75rem;
}

.related-gig-item {
  display: grid;
  gap: .2rem;
  padding: .95rem 1rem;
  border: 1px solid rgba(17,17,17,.09);
  border-radius: 18px;
  background: #fbf8f1;
  color: #111;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.related-gig-item strong {
  font-weight: 950;
  letter-spacing: -.02em;
}

.related-gig-item span {
  color: #25211d;
  font-weight: 800;
}

.related-gig-item small {
  color: var(--fb-muted);
  font-weight: 650;
}

.related-gig-item:hover,
.related-gig-item:focus {
  transform: translateY(-2px);
  border-color: rgba(200,162,74,.65);
  background: #fff;
  text-decoration: none;
}

.gig-comments-wrap {
  min-width: 0;
}

.gig-comments-wrap .card,
.gig-comments-wrap .comments,
.card.comments {
  overflow: hidden;
  border: 1px solid rgba(17,17,17,.08);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

.gig-comments-wrap .card-header,
.card.comments .card-header {
  background: #111;
  color: #fff;
  font-weight: 900;
}

.gig-comments-wrap .card-body {
  padding: 1rem;
}

.comment-form textarea,
.gig-comments-wrap textarea {
  width: 100%;
  min-height: 130px;
  border: 1px solid rgba(17,17,17,.13);
  border-radius: 18px;
  padding: .85rem 1rem;
  background: #fbf8f1;
  resize: vertical;
}

.comment-form button,
.gig-comments-wrap button,
.gig-comments-wrap .btn {
  border-radius: 999px;
}

/* =========================================================
   Sidebar
   ========================================================= */

.gig-sidebar {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 1rem;
}

.gig-sidebar-card {
  padding: 1.05rem;
}

.gig-sidebar-card p {
  color: var(--fb-muted);
  font-size: .95rem;
  line-height: 1.6;
}

.gig-sidebar-card > a:not(.sidebar-donate-button) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  margin-top: .55rem;
  padding: .62rem .78rem;
  border: 1px solid rgba(17,17,17,.10);
  border-radius: 999px;
  background: #fbf8f1;
  color: #111;
  font-size: .9rem;
  font-weight: 900;
  text-decoration: none;
}

.gig-sidebar-card > a:not(.sidebar-donate-button)::after {
  content: "→";
}

.gig-sidebar-card > a:not(.sidebar-donate-button):hover,
.gig-sidebar-card > a:not(.sidebar-donate-button):focus {
  background: #111;
  color: #fff;
  text-decoration: none;
}

.sidebar-donate-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: 100%;
  margin-top: .45rem;
  padding: .68rem 1rem;
  border-radius: 999px;
  background: var(--fb-gold);
  color: #111;
  font-weight: 950;
  text-decoration: none;
}

.sidebar-donate-button:hover,
.sidebar-donate-button:focus {
  background: #111;
  color: #fff;
  text-decoration: none;
}

/* =========================================================
   Legacy support for older markup if cached
   ========================================================= */

.jumbotron {
  border-radius: 0;
}

.jumbotron-caption,
.release-title,
.tour-hub-title {
  font-family: Inter, system-ui, sans-serif;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1100px) {
  .gig-content-layout {
    grid-template-columns: 1fr;
  }

  .gig-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .gig-hero {
    min-height: 430px;
  }

  .gig-hero-inner {
    padding: 4.8rem 1rem 3.5rem;
  }

  .gig-stats-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gig-detail-list {
    grid-template-columns: 1fr;
  }

  .gig-media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .gig-sidebar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .gig-hero {
    min-height: 470px;
  }

  .gig-hero h1 {
    font-size: clamp(2.35rem, 13vw, 3.8rem);
  }

  .gig-hero-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .gig-hero-actions {
    flex-direction: column;
  }

  .gig-hero-actions a {
    width: 100%;
  }

  .gig-stats-panel {
    grid-template-columns: 1fr;
    margin-top: -1.35rem;
    border-radius: 22px;
    padding: .85rem;
  }

  .gig-card {
    border-radius: 22px;
    padding: 1rem;
  }

  .gig-media-grid {
    grid-template-columns: 1fr;
  }

  .setlist-list li {
    grid-template-columns: 2.35rem minmax(0, 1fr);
    padding: .6rem;
  }
}
