/* Drift Avenue – base styles */

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

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  color: #f5f5f7;
  background: radial-gradient(circle at top, #191825 0, #050509 55%, #020207);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(5, 5, 12, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: #fefefe;
}

.main-nav {
  display: flex;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.main-nav .main-menu {
  list-style: none;
  display: flex;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

.main-nav .main-menu > li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav .main-menu > li::marker {
  content: "";
}

.main-nav a {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  color: #d4d4dd;
  border: 1px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease,
    transform 0.12s ease;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  transform: translateY(-1px);
}

.main-nav a.active {
  background: linear-gradient(135deg, #ff7e5f, #feb47b);
  color: #050509;
  border-color: rgba(255, 255, 255, 0.2);
}

.site-main {
  padding: 1.5rem 0 3.5rem;
  flex: 1;
}

/* media section uses shared .media-grid */

.hero {
  min-height: 350px;
  position: relative;
  overflow: hidden;
  padding: 3rem 1.5rem 2.25rem;
  background: linear-gradient(160deg, #10101c, #050509);
  margin-bottom: 1.5rem;
}

.page-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: radial-gradient(circle at top left, #ff7e5f33 0, transparent 50%),
    radial-gradient(circle at bottom right, #feb47b1f 0, transparent 55%),
    /* Left-to-right overlay fade (transparent on the right) */
    linear-gradient(90deg, rgba(16, 16, 28, 0.92) 0%, rgba(5, 5, 9, 0.96) 35%,
      rgba(5, 5, 9, 0) 100%);
  pointer-events: none;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 900ms ease, transform 6000ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1.03);
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.hero p {
  font-size: 1.05rem;
  color: #d0d0dd;
  max-width: 32rem;
}

.hero-banner {
  margin-bottom: 0.9rem;
}

.hero-tagline {
  font-size: 1rem;
  color: #ffbfa0;
}

.hero-description {
  font-size: 1.05rem;
  color: #d0d0dd;
  max-width: 32rem;
}

.hero-description p,
.description p,
.media-event-description p {
  padding-bottom: 0.6rem;
}

.home-layout {
  display: grid;
  grid-template-columns: 2fr 1fr; /* 66 / 33 */
  gap: 1.75rem;
}

.home-main,
.home-sidebar {
  align-self: flex-start;
}

.events-layout {
  display: grid;
  grid-template-columns: 2fr 1fr; /* 66 / 33 */
  gap: 1.75rem;
}

.events-main,
.events-sidebar {
  align-self: flex-start;
}

.events-sidebar {
  position: sticky;
  top: 4.5rem; /* below sticky header */
  height: fit-content;
}

.featured-show-banner {
  margin-top: 1.6rem;
  padding: 1.4rem 1.3rem;
  border-radius: 18px;
  background: radial-gradient(circle at top left, #ff7e5f44 0, transparent 60%),
    linear-gradient(145deg, #181828, #070710);
  color: #f5f5f7;
}

.featured-show-banner .eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffcfaa;
  margin-bottom: 0.35rem;
}

.featured-show-banner h2 {
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

.featured-show-banner .meta {
  font-size: 0.9rem;
  color: #e0e0ea;
  margin-bottom: 0.9rem;
}

.featured-button {
  width: 100%;
  justify-content: center;
}

.section-header {
  margin-bottom: 1.25rem;
}

.section-header h2 {
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f5f5f7;
}

.section-header p {
  font-size: 0.9rem;
  color: #b8b8c9;
  margin-top: 0.25rem;
}

.section-header.small {
  margin-bottom: 0.9rem;
}

.section-header.small h2 {
  font-size: 1rem;
}

.post-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.post-card {
  padding: 1.1rem 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.post-card-hidden {
  display: none;
}

.button.home-feed-more {
  margin-top: 0.9rem;
  background: linear-gradient(135deg, #141424, #07070f);
  color: #d7d7e2;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: none;
  filter: none;
  transform: none;
}

.button.home-feed-more:hover,
.button.home-feed-more:focus-visible,
.button.home-feed-more:active {
  background: linear-gradient(135deg, #1a1a2d, #0a0a14);
  color: #f5f5f7;
  box-shadow: none;
  filter: none;
  transform: none;
}

.post-card-link {
  display: block;
  border-radius: 12px;
  padding: 0.4rem;
  margin: -0.4rem;
  transition: background 0.18s ease;
}

.post-card-link:hover {
  background: rgba(255, 255, 255, 0.04);
}

.post-card-link:focus-visible {
  outline: 2px solid rgba(254, 180, 123, 0.75);
  outline-offset: 2px;
}

.post-meta {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.post-type-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #f5f5f7;
}

.post-type-show .post-type-label {
  background: linear-gradient(135deg, #00f5a0, #00d9f5);
  color: #021013;
}

.post-type-video .post-type-label {
  background: linear-gradient(135deg, #ff4b6e, #ff9a8b);
  color: #050509;
}

.post-type-photo .post-type-label {
  background: linear-gradient(135deg, #9b5eff, #ff7e5f);
  color: #050509;
}

.post-type-post .post-type-label {
  background: linear-gradient(135deg, #7dd3fc, #c4b5fd);
  color: #050509;
}

.post-date {
  font-size: 0.8rem;
  color: #a3a3b8;
}

.post-card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.3rem;
}

.post-card p,
.post-card-excerpt {
  font-size: 0.9rem;
  color: #c4c4d0;
  margin-bottom: 0.4rem;
}

.post-card-embed {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  max-width: 100%;
}

.post-card-embed .wp-playlist,
.post-card-embed .mejs-container,
.post-card-embed video,
.post-card-embed iframe {
  max-width: 100% !important;
}

.post-card-embed .wp-playlist {
  border-radius: 12px;
  overflow: hidden;
  background: #0a0a12 !important;
  border: none !important;
  box-shadow: none !important;
  color: #f5f5f7 !important;
}

/* Hide caption + track list (often raw filenames) on home cards */
.post-card-embed .wp-playlist-caption {
  display: none !important;
}

.post-card-embed .wp-playlist-tracks {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  list-style: none !important;
}

/* MediaElement / core video: remove default light/white chrome */
.post-card-embed .mejs-container {
  background: #000 !important;
  background-color: #000 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.post-card-embed .mejs-container .mejs-mediaelement,
.post-card-embed .mejs-iframe,
.post-card-embed .mejs-overlay,
.post-card-embed .mejs-layer,
.post-card-embed .mejs-poster {
  background: #000 !important;
  background-color: #000 !important;
}

.post-card-embed .mejs-controls {
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 18, 0.2),
    rgba(5, 5, 12, 0.94)
  ) !important;
}

.post-card-embed .mejs-time,
.post-card-embed .mejs-time * {
  color: #f5f5f7 !important;
}

/* Hide MediaElement title strip if it shows filename */
.post-card-embed .mejs-chapters,
.post-card-embed .mejs-chapter,
.post-card-embed .mejs-title,
.post-card-embed [class*="mejs-title"] {
  display: none !important;
}

.post-card-embed video {
  background-color: #000 !important;
}

.post-card-embed .wp-playlist-item {
  background: transparent !important;
  border: none !important;
  border-bottom: none !important;
}

.post-card-embed .wp-playlist-current-item {
  background: transparent !important;
  border: none !important;
}

.post-card-embed .wp-playlist-item a {
  color: #f5f5f7 !important;
}

.post-show-meta {
  font-size: 0.84rem;
  color: #ffbfa0;
  letter-spacing: 0.03em;
}

.post-media-thumbs {
  margin-top: 0.55rem;
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  align-items: center;
  max-width: 100%;
}

.post-media-thumb {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.25);
}

.post-media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-link {
  font-size: 0.86rem;
  color: #ffcfaa;
  text-decoration: none;
}

.post-link:hover {
  text-decoration: underline;
}

.home-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sidebar-block {
  padding: 0.5rem 0 0.8rem;
  border-radius: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Avoid clipping sidebar content below the feed; contain horizontal bleed on the grid only */
.sidebar-instagram {
  overflow: visible;
}

.sidebar-instagram .instagram-grid,
.sidebar-instagram .spotlight-instagram {
  max-width: 100%;
  overflow-x: hidden;
}

/* Contact block directly under Instagram in the sidebar (sibling section, not inside overflow) */
.sidebar-contact .section-header.small {
  margin-bottom: 0.65rem;
}

.sidebar-contact .home-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0;
}

.sidebar-contact .home-contact-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f5f5f7;
  letter-spacing: 0.04em;
}

.sidebar-contact .home-contact-line {
  font-size: 0.88rem;
  color: #c4c4d0;
  line-height: 1.45;
}

.sidebar-contact .home-contact-line a {
  color: #ffcfaa;
  text-decoration: none;
  transition: color 0.16s ease;
}

.sidebar-contact .home-contact-line a:hover {
  color: #feb47b;
  text-decoration: underline;
}

.sidebar-events {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.sidebar-event-link {
  display: block;
  border-radius: 12px;
  padding: 0.35rem 0.4rem;
  margin: -0.35rem -0.4rem;
  transition: background 0.18s ease;
}

.sidebar-event-link:hover {
  background: rgba(255, 255, 255, 0.04);
}

.sidebar-event-link:focus-visible {
  outline: 2px solid rgba(254, 180, 123, 0.75);
  outline-offset: 2px;
}

.sidebar-event {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
}

.sidebar-event-date {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, #ff7e5f33, #151525);
}

.sidebar-event-date .day {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
}

.sidebar-event-date .month {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffbfa0;
}

.sidebar-event-body h3 {
  font-size: 0.95rem;
}

.sidebar-event-body .meta {
  font-size: 0.8rem;
  color: #b3b3c5;
}

.instagram-grid {
  margin-top: 0.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
}

.instagram-grid-link {
  display: block;
  margin: 0;
}

.insta-tile {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  font-size: 0.7rem;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0.4rem;
  color: #f5f5f7;
  background: radial-gradient(circle at top left, #ff7e5f55, #9b5eff44),
    linear-gradient(135deg, #18182b, #060610);
}

.grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

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

.card {
  background: transparent;
  border-radius: 0;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.card p {
  font-size: 0.98rem;
  color: #c4c4d0;
  margin-bottom: 1.1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #ff7e5f, #feb47b);
  color: #050509;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  transition: transform 0.12s ease, box-shadow 0.12s ease,
    filter 0.16s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.75);
  filter: brightness(1.04);
}

.site-footer {
  padding: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: #89899a;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: radial-gradient(circle at top, #151523, #050509);
}

.page-header {
  margin-bottom: 1.75rem;
}

.page-header h1 {
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
}

.page-header-main {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.page-header-main-left {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.copy-link-button {
  padding-inline: 0.9rem;
  font-size: 0.8rem;
}

.page-header p {
  font-size: 0.98rem;
  color: #c4c4d0;
}

.band-vertical-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.member-section {
  padding: 0.4rem 0 1.2rem;
  border-radius: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  row-gap: 0.9rem;
}

.member-header h2 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.member-header .role {
  font-size: 0.9rem;
  color: #ffbfa0;
}

.member-photo-large {
  border-radius: 12px;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.member-photo-large.has-image {
  padding: 0;
  align-items: stretch;
}

.member-photo-large.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.member-section .bio {
  font-size: 0.9rem;
  color: #c4c4d0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 10px;
}

.member-section .bio > * {
  margin: 0;
}

.member-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.member-thumb {
  cursor: pointer;
  border-radius: 10px;
  background: linear-gradient(135deg, #181828, #070710);
  border: 1px solid rgba(255, 255, 255, 0.06);
  aspect-ratio: 1 / 1;
}

.member-thumb.photo {
  background: linear-gradient(135deg, #ff7e5f44, #feb47b33);
}

.member-thumb.video {
  background: radial-gradient(circle at center, #ff4b6e66, #151525);
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-overlay[hidden] {
  display: none !important;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

.lightbox-dialog {
  position: relative;
  max-width: 960px;
  width: 90%;
  max-height: 92vh;
  background: #050509;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 1.2rem 1.4rem 1.4rem;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
}

.lightbox-close {
  position: absolute;
  top: 0.6rem;
  right: 0.8rem;
  border: none;
  background: rgba(0, 0, 0, 0.7);
  color: #f5f5f7;
  font-size: 1.4rem;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(0, 0, 0, 0.7);
  color: #f5f5f7;
  font-size: 1.4rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.lightbox-prev {
  left: 0.75rem;
}

.lightbox-next {
  right: 0.75rem;
}

.lightbox-body {
  margin-top: 0.6rem;
}

.lightbox-photo,
.lightbox-video {
  display: none;
  width: auto;
  height: auto;
}

.lightbox-video {
  width: min(92vw, 1100px);
}

.lightbox-inner {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: calc(92vh - 3rem);
}

.lightbox-photo img,
.lightbox-video video,
.lightbox-video iframe {
  width: 100%;
  max-width: 100%;
  max-height: calc(92vh - 4rem);
  aspect-ratio: 16 / 9;
  height: min(calc(92vh - 4rem), 62vw);
  object-fit: contain;
}

.lightbox-photo-placeholder,
.lightbox-video-placeholder {
  border-radius: 16px;
  background: linear-gradient(135deg, #181828, #070710);
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c4c4d0;
  font-size: 0.95rem;
  text-align: center;
}

@media (max-width: 900px) {
  .band-vertical-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .band-vertical-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.event-filters {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.6rem;
}

.chip {
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: #d4d4dd;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease,
    border-color 0.16s ease;
}

.chip:hover {
  background: rgba(255, 255, 255, 0.08);
}

.chip-active {
  background: linear-gradient(135deg, #ff7e5f, #feb47b);
  color: #050509;
  border-color: rgba(255, 255, 255, 0.24);
}

.event-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.event-card-link {
  display: block;
  color: inherit;
}

.event-card-link:hover .event-card {
  background: rgba(255, 255, 255, 0.02);
}

.event-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.1rem;
  align-items: center;
  padding: 0.9rem 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.event-card.event-past {
  opacity: 0.7;
}

.event-date {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, #ff7e5f22, #151525);
}

.event-date .day {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}

.event-date .month {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffbfa0;
}

.event-details h2 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.event-details .meta {
  font-size: 0.9rem;
  color: #c4c4d0;
  margin-bottom: 0.3rem;
}

.event-featured-image {
  margin: 0.75rem 0 0.9rem;
  border-radius: 16px;
  overflow: hidden;
}

.event-featured-image img {
  width: auto;
  max-height: 400px;
  height: auto;
  display: block;
  margin-left: auto;
  object-fit: cover;
}

.single-event-layout {
  display: grid;
  grid-template-columns: 1fr 2fr; /* 33 / 66 */
  gap: 1.75rem;
  align-items: flex-start;
}

.single-event-description .description {
  width: 450px;
  max-width: 100%;
  font-size: 0.95rem;
  color: #c4c4d0;
}

@media (max-width: 800px) {
  .single-event-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.event-details .description {
  font-size: 0.88rem;
  color: #a9a9bc;
}

.event-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.tag {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.tag.upcoming {
  background: linear-gradient(135deg, #00f5a0, #00d9f5);
  color: #021013;
  border-color: transparent;
}

.tag.past {
  background: rgba(255, 255, 255, 0.04);
  color: #c4c4d0;
}

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

.media-row {
  margin-top: 0.6rem;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.media-row-block {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.media-row-block-video {
  flex: 0 0 120px;
  padding-right: 0.9rem;
  margin-right: 0.9rem;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.media-row-block-photo {
  flex: 1;
}

.media-row-photo-thumbs {
  display: flex;
  gap: 0.65rem;
}

.media-row-photo-thumbs .media-item {
  flex: 0 0 120px;
}

.media-col-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #b8b8c9;
}

@media (max-width: 900px) {
  .media-row {
    flex-direction: column;
    gap: 0.8rem;
  }

  .media-row-block-video {
    flex: 0 0 auto;
    padding-right: 0;
    margin-right: 0;
    border-right: none;
    width: 100%;
  }

  .media-row-block-photo {
    flex: 1 1 auto;
    width: 100%;
  }

  .media-row-photo-thumbs {
    flex-wrap: wrap;
  }

  .media-row-photo-thumbs .media-item {
    flex: 0 0 110px;
  }
}

@media (max-width: 600px) {
  .media-row-photo-thumbs .media-item {
    flex: 0 0 95px;
  }
}

.FeedGridLayout__cell {
  width: 100px;
}

.media-thumb {
  border: 0;
}

.media-thumb:focus-visible {
  outline: 2px solid rgba(254, 180, 123, 0.75);
  outline-offset: 2px;
}

.media-item {
  border-radius: 12px;
  padding: 0;
  background: transparent;
}

.media-thumb {
  border-radius: 12px;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.media-grid-detail {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.media-detail-image,
.media-detail-video {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.media-event-videos {
  display: block;
  margin-bottom: 1.25rem;
}

.media-event-video {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  display: block;
  background: #000;
  border: 0;
  margin-bottom: 1rem;
}

.media-type-chip {
  align-self: flex-start;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.16rem 0.5rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.media-type-chip.video {
  background: linear-gradient(135deg, #ff4b6e, #ff9a8b);
  color: #050509;
  border-color: transparent;
}

.photo-placeholder .media-thumb {
  background: linear-gradient(135deg, #ff7e5f44, #feb47b33),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0.12) 1px,
      transparent 1px,
      transparent 6px
    );
}

/* Video thumbnail: poster + branded play control */
.video-placeholder .media-thumb {
  position: relative;
  cursor: pointer;
  isolation: isolate;
  background-color: #0a0a12;
  background-image: radial-gradient(
      ellipse 80% 60% at 50% 40%,
      rgba(255, 126, 95, 0.22),
      transparent 65%
    ),
    linear-gradient(155deg, #1a1a2e 0%, #0d0d18 45%, #050509 100%);
  box-shadow: inset 0 0 48px rgba(5, 5, 12, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* Outer glow ring */
.video-placeholder .media-thumb::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(
    circle at 30% 28%,
    rgba(255, 180, 123, 0.35),
    rgba(5, 5, 12, 0.88) 70%
  );
  border: 2px solid rgba(254, 180, 123, 0.95);
  box-shadow: 0 0 0 1px rgba(255, 126, 95, 0.35),
    0 12px 32px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  transition: transform 0.22s ease, border-color 0.22s ease,
    box-shadow 0.22s ease;
}

/* Play triangle */
.video-placeholder .media-thumb::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(calc(-50% + 3px), -50%);
  z-index: 3;
  pointer-events: none;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.55rem 0 0.55rem 0.95rem;
  border-color: transparent transparent transparent #f8f8fc;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45));
  transition: transform 0.22s ease, filter 0.22s ease;
}

.video-placeholder .media-thumb:hover::after {
  transform: translate(-50%, -50%) scale(1.07);
  border-color: rgba(255, 207, 170, 1);
  box-shadow: 0 0 0 1px rgba(255, 126, 95, 0.5),
    0 14px 36px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.video-placeholder .media-thumb:hover::before {
  transform: translate(calc(-50% + 3px), -50%) scale(1.05);
  filter: drop-shadow(0 2px 8px rgba(255, 126, 95, 0.45));
}

.video-placeholder .media-thumb:focus-visible::after {
  border-color: #feb47b;
}

.media-item figcaption {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: #c4c4d0;
}

.media-event {
  padding: 0.4rem 0 1.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.media-event-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.media-event-heading {
  min-width: 0;
}

.media-event-actions {
  flex: 0 0 auto;
}

.button.button-small {
  padding: 0.45rem 0.95rem;
  font-size: 0.82rem;
}

.media-event-header h2 {
  font-size: 1.1rem;
}

.media-event-meta {
  font-size: 0.9rem;
  color: #ffbfa0;
  margin-top: 0.15rem;
  margin-bottom: 0.4rem;
}

.media-event-description {
  font-size: 0.9rem;
  color: #c4c4d0;
  margin-bottom: 0.8rem;
}

@media (max-width: 920px) {
  .media-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

.videos-grid .media-item h2 {
  font-size: 1rem;
  margin-top: 0.7rem;
  margin-bottom: 0.2rem;
}

.videos-grid .media-item .meta {
  font-size: 0.86rem;
  color: #b2b2c6;
}

@media (max-width: 768px) {
  .hero-banner .hero-title-hide-mobile {
    display: none;
  }

  /* Hide show date on narrow screens; keep venue/location line */
  .post-show-meta-date,
  .post-show-meta-sep {
    display: none;
  }

  /* No visible text if the card only had a date */
  .post-show-meta-date-only {
    display: none;
  }

  .site-header {
    padding-inline: 1rem;
  }

  .main-nav {
    gap: 0.4rem;
    font-size: 0.8rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .site-main {
    padding: 1.2rem 1rem 3rem;
  }

  .hero {
    padding: 2.2rem 1.6rem 2.4rem;
    margin-bottom: 1.5rem;
  }

  .grid.two-cols {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .media-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .event-card {
    grid-template-columns: minmax(0, 1fr);
    align-items: flex-start;
  }

  .event-actions {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
