/* ==========================================
   GLOBAL STYLES & VARIABLES
   ========================================== */

:root {
  --color-primary: #ef0b5b;
  /* Pink */
  --color-secondary: #c90849;
  /* Darker Pink/Red */
  --color-navy: #062b55;
  /* Deep Blue */
  --color-text: #1f2937;
  /* Dark Gray/Black for text */
  --color-muted: #6b7280;
  /* Medium Gray for secondary text */
  --color-background: #0b0d12;
  /* Near Black Background (header) */
  --color-body-background: #f7f8fa;
  /* Body/page background, kept separate from header so they can diverge */
  --color-line: #e5e7eb;
  /* Light border color */
  --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.08);
}


* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-body-background);
  color: #f3f4f6;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: var(--color-primary);
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-secondary);
  text-decoration: underline;
}

button,
input[type="submit"] {
  font: inherit;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
}

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

/* Utility Classes */
.container {
  width: min(1500px, 94%);
  margin: auto;
  padding: 0 1rem;
  /* Added padding for better mobile experience */
}

.contact-page {
  min-height: 62vh;
  padding: 76px 0 96px;
  background: linear-gradient(135deg, #111827 0%, #0b0d12 58%, #182b43 100%);
}

.contact-shell {
  max-width: 1120px;
}

.contact-intro {
  max-width: 760px;
  color: white;
}

.contact-eyebrow {
  margin: 0 0 12px;
  color: #f472b6;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 4px;
}

.contact-intro h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: -2px;
}

.contact-lede {
  margin: 0;
  color: #d1d5db;
  font-size: 19px;
  line-height: 1.65;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 52px;
}

.contact-card {
  display: flex;
  gap: 16px;
  min-height: 190px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  background: rgba(255, 255, 255, .96);
  color: var(--color-text);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .18);
}

.contact-card-icon {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 10px;
  background: var(--color-primary);
  color: white;
  font-size: 22px;
  font-weight: 800;
}

.contact-card h2 {
  margin: 2px 0 10px;
  font-size: 20px;
}

.contact-card p {
  margin: 0 0 14px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.6;
}

.contact-card a {
  font-size: 14px;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.sell-tickets-page {
  background: var(--color-body-background);
  color: var(--color-text);
}

.sell-hero {
  padding: 82px 0 88px;
  background: linear-gradient(135deg, #111827 0%, #0b0d12 58%, #182b43 100%);
  color: white;
  text-align: center;
}

.sell-hero-content {
  max-width: 900px;
}

.sell-hero h1 {
  margin: 0 0 20px;
  font-size: clamp(40px, 6vw, 68px);
  letter-spacing: -2px;
  line-height: 1.05;
}

.sell-hero p {
  max-width: 780px;
  margin: 0 auto 30px;
  color: #d1d5db;
  font-size: 19px;
  line-height: 1.65;
}

.sell-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 0;
  border-radius: 8px;
  background: var(--color-primary);
  color: white;
  cursor: pointer;
  font: inherit;
  font-size: 17px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}

.sell-button:hover,
.sell-button:focus-visible {
  background: var(--color-secondary);
  color: white;
  transform: translateY(-1px);
}

.sell-button-light {
  background: white;
  color: var(--color-text);
}

.sell-button-light:hover,
.sell-button-light:focus-visible {
  background: #f3f4f6;
  color: var(--color-text);
}

.sell-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-top: 64px;
  padding-bottom: 64px;
}

.sell-benefit {
  padding: 26px 24px;
  border: 1px solid var(--color-line);
  border-radius: 12px;
  background: white;
  box-shadow: var(--shadow-light);
  text-align: center;
}

.sell-benefit h2 {
  margin: 0 0 12px;
  font-size: 21px;
}

.sell-benefit p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.6;
}

.sell-proof {
  padding: 30px 0;
  background: #111827;
  color: white;
}

.sell-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  text-align: center;
}

.sell-proof-grid > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sell-proof-grid strong {
  color: white;
  font-size: clamp(28px, 4vw, 38px);
}

.sell-proof-grid span {
  color: #d1d5db;
  font-size: 14px;
}

.sell-platform,
.sell-testimonials {
  padding-top: 76px;
  padding-bottom: 76px;
}

.sell-section-heading {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
}

.sell-eyebrow {
  margin: 0 0 10px;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.sell-section-heading h2,
.sell-support-card h2,
.sell-pricing h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -.6px;
}

.sell-section-heading > p:last-child {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.65;
}

.sell-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sell-feature {
  padding: 24px;
  border: 1px solid var(--color-line);
  border-radius: 12px;
  background: white;
  box-shadow: var(--shadow-light);
}

.sell-feature h3 {
  margin: 0 0 10px;
  font-size: 19px;
}

.sell-feature p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.6;
}

.sell-tools {
  padding: 68px 0 72px;
  background: #eef0f4;
}

.sell-tools .sell-section-heading {
  margin-bottom: 28px;
}

.sell-tool-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sell-tool-list li {
  padding: 15px 18px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: white;
  font-weight: 700;
  text-align: center;
}

.sell-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sell-testimonial {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--color-line);
  border-radius: 12px;
  background: white;
  box-shadow: var(--shadow-light);
}

.sell-stars {
  margin-bottom: 14px;
  color: #d18b00;
  letter-spacing: 3px;
}

.sell-testimonial blockquote {
  flex: 1;
  margin: 0 0 22px;
  color: #374151;
  line-height: 1.7;
}

.sell-testimonial figcaption {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 14px;
}

.sell-testimonial figcaption span {
  color: var(--color-muted);
  font-size: 12px;
}

.sell-support {
  padding: 68px 0;
  background: #111827;
  color: white;
}

.sell-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.sell-support-card {
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
}

.sell-support-card h2 {
  font-size: clamp(25px, 3vw, 32px);
}

.sell-support-card > p:not(.sell-eyebrow) {
  color: #d1d5db;
  line-height: 1.65;
}

.sell-support-card ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding-left: 20px;
  color: #f3f4f6;
  line-height: 1.55;
}

.sell-support-card .sell-channel-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0;
  list-style: none;
}

.sell-channel-list li {
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 7px;
  background: rgba(255, 255, 255, .05);
  text-align: center;
}

.sell-pricing {
  padding: 54px 0;
  background: var(--color-primary);
  color: white;
}

.sell-pricing-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.sell-pricing .sell-eyebrow {
  color: #ffe2ec;
}

.sell-pricing h2 {
  margin-bottom: 10px;
}

.sell-pricing-inner > div > p:last-child {
  max-width: 760px;
  margin: 0;
  color: #fff1f5;
  line-height: 1.65;
}

.sell-inquiry {
  padding: 64px 0 80px;
  background: #eef0f4;
}

.sell-form-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px;
  border-radius: 14px;
  background: white;
  box-shadow: 0 12px 36px rgba(17, 24, 39, .1);
}

.sell-form-card > h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 36px);
  text-align: center;
}

.sell-form-intro {
  max-width: 660px;
  margin: 0 auto 32px;
  color: var(--color-muted);
  line-height: 1.6;
  text-align: center;
}

.sell-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.sell-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sell-field label {
  font-size: 14px;
  font-weight: 750;
}

.sell-field label span {
  color: var(--color-primary);
}

.sell-field input,
.sell-field select {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 7px;
  background: white;
  color: var(--color-text);
  font: inherit;
}

.sell-field input:focus,
.sell-field select:focus {
  border-color: var(--color-primary);
  outline: 3px solid rgba(239, 11, 91, .16);
}

.sell-form-submit {
  grid-column: 1 / -1;
  margin-top: 8px;
}

.sell-form-submit .sell-button {
  width: 100%;
}

@media (max-width: 700px) {
  .sell-hero {
    padding: 64px 0;
  }

  .sell-hero h1 {
    letter-spacing: -1px;
  }

  .sell-benefits {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .sell-proof-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .sell-platform,
  .sell-testimonials {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .sell-feature-grid,
  .sell-testimonial-grid,
  .sell-support-grid {
    grid-template-columns: 1fr;
  }

  .sell-tools,
  .sell-support {
    padding: 48px 0;
  }

  .sell-tool-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .sell-tool-list li {
    padding: 13px 8px;
    font-size: 14px;
  }

  .sell-pricing-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .sell-pricing-inner .sell-button {
    width: 100%;
  }

  .sell-inquiry {
    padding: 40px 0 52px;
  }

  .sell-form-card {
    padding: 30px 22px;
  }

  .sell-form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.blogs-page,
.blog-page {
  background: #f7f8fa;
  color: var(--color-text);
}

.blogs-intro {
  padding: 76px 0 64px;
  background: linear-gradient(135deg, #111827 0%, #182b43 100%);
  color: white;
}

.blogs-intro h1 {
  max-width: 760px;
  margin: 0 0 16px;
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: -2px;
}

.blogs-intro > .container > p:last-child {
  margin: 0;
  color: #d1d5db;
  font-size: 19px;
}

.blogs-list {
  padding-top: 54px;
}

.blog-card .event-media {
  display: block;
  aspect-ratio: 16 / 9;
}

.blog-card .event-media img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
}

.blog-card-tags {
  margin-bottom: 12px;
}

.blog-card-date,
.blog-date {
  margin: 0 0 8px;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 750;
}

.blog-card .event-title {
  margin-bottom: 10px;
}

.blog-card .event-title a,
.recent-blogs .event-title a {
  color: var(--color-text);
}

.blog-card .event-location {
  min-height: 52px;
}

.blog-hero {
  position: relative;
  overflow: hidden;
  background: #101722;
  color: white;
}

.blog-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(7, 18, 32, .98), rgba(7, 18, 32, .7)), var(--event-image) center/cover;
  filter: saturate(.9);
}

.blog-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
  padding-top: 28px;
  padding-bottom: 76px;
}

.blog-hero .event-tag-row {
  margin: 0 0 22px;
}

.blog-hero h1 {
  max-width: 900px;
  margin: 0 0 14px;
  font-size: clamp(42px, 6vw, 78px);
  letter-spacing: -2px;
  line-height: .98;
}

.blog-hero .blog-date {
  color: #dbeafe;
}

.blog-highlight {
  max-width: 700px;
  margin: 24px 0 0;
  color: #f3f4f6;
  font-size: 20px;
  line-height: 1.55;
}

.blog-layout {
  padding-top: 58px;
  padding-bottom: 38px;
}

.blog-article {
  max-width: 820px;
  margin: 0 auto;
}

.blog-description {
  margin: 0 0 34px;
  color: var(--color-muted);
  font-size: 20px;
  line-height: 1.65;
}

.markdown-content {
  color: var(--color-text);
  font-size: 17px;
  line-height: 1.8;
}

.markdown-content h2,
.markdown-content h3 {
  margin: 38px 0 14px;
}

.markdown-content p,
.markdown-content ul,
.markdown-content ol,
.markdown-content blockquote {
  margin: 0 0 22px;
}

.markdown-content img {
  height: auto;
  margin: 28px 0;
  border-radius: 10px;
}

.markdown-content blockquote {
  padding: 4px 0 4px 22px;
  border-left: 4px solid var(--color-primary);
  color: var(--color-muted);
}

.recent-blogs {
  padding-top: 42px;
  padding-bottom: 84px;
  border-top: 1px solid var(--color-line);
}

/* ==========================================
   EVENT DETAIL EXPERIENCE
   ========================================== */
.event-detail-page {
  background: #f7f8fa;
  color: var(--color-text);
}

.event-detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  background: #f7f8fa;
  color: white;
}

/* @media (max-width: 900px) {
  .event-detail-hero {
    min-height: 56.25vw;
  }
}

@media (max-width: 640px) {
  .event-detail-hero {
    min-height: 66.6667vw;
  }
}

@media (max-width: 480px) {
  .event-detail-hero {
    min-height: 100vw;
  }
} */

.event-detail-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(247, 248, 250, 0) 70%, rgba(247, 248, 250, .12) 80%, rgba(247, 248, 250, .48) 93%, #f7f8fa 100%), linear-gradient(90deg, rgba(7, 18, 32, .98) 0%, rgba(7, 18, 32, .88) 46%, rgba(7, 18, 32, .58) 100%), var(--event-image) center/cover;
  filter: saturate(.9);
}

@media (max-width: 640px) {
  .event-detail-hero::before {
    background: linear-gradient(180deg, rgba(247, 248, 250, 0) 70%, rgba(247, 248, 250, .12) 80%, rgba(247, 248, 250, .48) 93%, #f7f8fa 100%), linear-gradient(90deg, rgba(7, 18, 32, .98) 0%, rgba(7, 18, 32, .88) 46%, rgba(7, 18, 32, .58) 100%), var(--event-image-mobile, var(--event-image)) center/cover;
  }
}

.event-detail-hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 28px;
  padding-bottom: 64px;
}

.back-link {
  display: inline-block;
  margin-bottom: 44px;
  color: #dbeafe;
  font-size: 14px;
  font-weight: 700;
}

.back-link:hover {
  color: white;
}

.event-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  align-items: center;
  gap: 56px;
}

.event-hero-copy {
  max-width: 720px;
}

.event-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.event-tag,
.featured-pill,
.trending-label {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.event-tag {
  background: rgba(255, 255, 255, .13);
  color: #e5e7eb;
}

.featured-pill {
  background: var(--color-primary);
  color: white;
}

.event-hero-copy h1 {
  max-width: 780px;
  max-height: 570px;
  margin: 0 0 18px;
  font-size: clamp(42px, 6vw, 78px);
  letter-spacing: -2px;
  line-height: .98;
}

.event-hero-location {
  margin: 0;
  color: #dbeafe;
  font-size: 16px;
  font-weight: 700;
}

.event-hero-details-link {
  display: inline-block;
  margin-top: 14px;
  color: white;
  font-size: 14px;
  font-weight: 800;
}

.event-hero-details-link:hover {
  color: #f9a8d4;
}

.event-hero-summary {
  max-width: 650px;
  margin: 24px 0 0;
  color: #d1d5db;
  font-size: 18px;
  line-height: 1.65;
}

.event-hero-image-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
}

.event-hero-image-wrap picture {
  display: block;
  width: 100%;
  height: 100%;
}

.event-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-hero-layout-banner-only {
  display: block;
  max-height: 570px;
  object-fit: cover;
}

.event-hero-image-banner-only {
  width: 100%;
  height: 100%;
  aspect-ratio: 21 / 9;
  border-radius: 14px;
  object-fit: cover;
}

.event-carousel {
  position: relative;
  overflow: hidden;
  background: #101722;
  color: white;
}

.event-carousel-track {
  display: grid;
  position: relative;
  min-height: 570px;
}

.event-carousel-slide {
  grid-area: 1 / 1;
  visibility: hidden;
  opacity: 0;
  transition: opacity .55s ease, visibility .55s ease;
}

/* The server marks the first slide active so one event is visible before JS loads. */
.event-carousel-slide:not(.is-active) {
  pointer-events: none;
}

.event-carousel-slide.is-active {
  position: relative;
  visibility: visible;
  opacity: 1;
}

.event-hero-image-wrap {
  display: block;
}

.event-hero-image-wrap:hover .event-hero-image {
  transform: scale(1.03);
}

.event-hero-image {
  transition: transform .45s ease;
}

.event-carousel-controls {
  position: absolute;
  right: max(3%, 24px);
  bottom: 30px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  visibility: hidden;
  opacity: 0;
  transition: opacity .2s ease;
}

.event-carousel.is-ready .event-carousel-controls {
  visibility: visible;
  opacity: 1;
}

.carousel-arrow,
.carousel-dot {
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(7, 18, 32, .7);
  color: white;
}

.carousel-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
}

.carousel-arrow:hover,
.carousel-arrow:focus-visible {
  background: var(--color-primary);
}

.carousel-dots {
  display: flex;
  gap: 7px;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
}

.carousel-dot.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.carousel-arrow:focus-visible,
.carousel-dot:focus-visible,
.event-hero-image-wrap:focus-visible {
  outline: 3px solid #f9a8d4;
  outline-offset: 3px;
}

.event-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: 54px;
  padding-top: 48px;
  padding-bottom: 84px;
}

.related-events {
  padding: 52px 0 88px;
  background: #f7f8fa;
  border-top: 1px solid var(--color-line);
}

.related-events .section-head {
  margin-bottom: 16px;
}

.event-detail-main {
  min-width: 0;
}

.event-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-bottom: 42px;
  border-bottom: 1px solid #e5e7eb;
}

.event-fact {
  display: flex;
  gap: 12px;
  min-width: 0;
}

.event-fact-icon {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  background: var(--color-body-background);
  color: var(--color-primary);
  font-size: 17px;
}

.event-fact div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.event-fact-label,
.ticket-panel-label,
.detail-kicker {
  color: var(--color-muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.event-fact strong {
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.35;
}

.event-fact div>span:last-child:not(.event-fact-label) {
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.35;
}

.event-fact-detail {
  white-space: pre-line;
}

.event-fact div.event-fact-when>span.event-fact-detail {
  color: var(--color-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.event-calendar-section {
  padding-top: 34px;
}

.event-calendar-section h2 {
  margin-bottom: 18px;
}

.event-calendar-legend {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 14px;
  color: var(--color-muted);
  font-size: 12px;
}

.event-calendar-legend-mark {
  width: 10px;
  height: 10px;
  border: 1px solid var(--color-primary);
  border-radius: 50%;
  background: var(--color-primary);
}

.event-calendar-today-mark {
  margin-left: 10px;
  color: #0f766e;
  font-size: 15px;
  line-height: 1;
}

.event-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
  padding: 10px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
}

.event-calendar-weekdays {
  display: contents;
  color: var(--color-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .4px;
  text-align: center;
  text-transform: uppercase;
}

.event-calendar-weekdays span {
  padding: 2px 0 6px;
}

.event-calendar-day {
  display: grid;
  min-height: 48px;
  padding: 7px 4px 5px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 5px;
  background: #fff;
  color: var(--color-muted);
  font-size: 11px;
}

.event-calendar-empty {
  min-height: 48px;
}

.event-calendar-day strong {
  color: var(--color-text);
  font-size: 16px;
}

.event-calendar-marker {
  height: 8px;
  color: var(--color-primary);
  font-size: 9px;
  line-height: 8px;
}

.event-calendar-today-icon {
  color: #0f766e;
  font-size: 11px;
  line-height: 10px;
}

.event-calendar-day.is-event {
  border-color: var(--color-primary);
  background: #fff3f8;
}

.event-calendar-day.is-today {
  border-color: #0f766e;
  background: #ccfbf1;
  box-shadow: inset 0 0 0 1px #0f766e;
}

.event-calendar-day.is-today strong {
  color: #115e59;
}

.detail-section {
  padding: 48px 0;
  border-bottom: 1px solid #e5e7eb;
}

.detail-kicker {
  margin: 0 0 12px;
  color: var(--color-primary);
}

.detail-section h2 {
  margin: 0 0 18px;
  color: var(--color-navy);
  font-size: 32px;
  letter-spacing: -.8px;
}

.detail-description {
  max-width: 760px;
  margin: 0;
  color: #4b5563;
  font-size: 17px;
  line-height: 1.8;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.notes-grid>div {
  padding: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: white;
}

.notes-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--color-navy);
  font-size: 14px;
}

.notes-grid p,
.location-line {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.55;
}

.detail-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

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

.detail-section-heading a {
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.location-line {
  margin: 14px 0 18px;
}

.event-map {
  height: 260px;
  overflow: hidden;
  border-radius: 12px;
  background: #dbe3ec;
}

.event-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.event-detail-sidebar {
  position: sticky;
  top: 98px;
}

.ticket-panel {
  border-radius: 12px;
  background: white;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .09);
}

.ticket-panel {
  padding: 24px;
  border-top: 4px solid var(--color-primary);
}

.ticket-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.trending-label {
  padding: 5px 8px;
  background: #fff4df;
  color: #a16207;
  font-size: 10px;
}

.ticket-price {
  margin: 26px 0 6px;
  color: var(--color-navy);
  font-size: 23px;
  font-weight: 850;
  line-height: 1.2;
}

.ticket-date {
  margin: 0 0 22px;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.55;
}

.ticket-date span {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 500;
}

.ticket-panel-primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border-radius: 8px;
  background: var(--color-primary);
  color: white;
  padding: 4px 15px;
  font-size: 14px;
  font-weight: 850;
}

.event-ticket-icon {
  font-size: 32px;
}

.ticket-panel-primary:hover {
  background: var(--color-secondary);
  color: white;
  text-decoration: none;
}

.official-site {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
  overflow-wrap: anywhere;
}

.official-site-label {
  color: var(--color-muted);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.official-site a,
.official-site>span:last-child {
  color: var(--color-navy);
  font-size: 13px;
  font-weight: 800;
}

.official-site a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.official-site a span {
  color: var(--color-primary);
  margin-left: 4px;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.not-found-page {
  display: grid;
  /* min-height: 62vh; */
  flex: 1;
  place-items: center;
  padding: 80px 0;
  background: linear-gradient(135deg, #111827 0%, #0b0d12 58%, #182b43 100%);
  text-align: center;
}

.not-found-content {
  max-width: 680px;
}

.not-found-code {
  margin: 0;
  color: var(--color-primary);
  font-size: clamp(76px, 14vw, 150px);
  font-weight: 900;
  line-height: .9;
}

.not-found-content h1 {
  margin: 24px 0 14px;
  color: white;
  font-size: clamp(30px, 5vw, 52px);
}

.not-found-content>p:not(.not-found-code) {
  margin: 0 auto;
  color: #d1d5db;
  font-size: 17px;
  line-height: 1.65;
}

.not-found-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.not-found-primary,
.not-found-secondary {
  border-radius: 8px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 800;
}

.not-found-primary {
  background: var(--color-primary);
  color: white;
}

.not-found-secondary {
  border: 1px solid #64748b;
  color: white;
}

.not-found-primary:hover,
.not-found-secondary:hover {
  color: white;
  text-decoration: none;
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  display: block;
  width: auto;
  height: 80px;
  max-width: 240px;
  object-fit: contain;
}

/* Ticket Mark Styling */
.ticket-mark {
  width: 36px;
  height: 28px;
  background: var(--color-primary);
  border-radius: 8px;
  transform: rotate(-14deg);
  position: relative;
}

.ticket-mark:before,
.ticket-mark:after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: white;
  top: 50%;
  transform: translateY(-50%);
}

.ticket-mark:before {
  left: -5px;
}

.ticket-mark:after {
  right: -5px;
}


/* Navigation Links */
.navlinks {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 700;
}

.navlinks a {
  color: #9ca3af !important;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.category-strip {
  flex: 1 1 auto;
  min-width: 0;
  margin-left: auto;
}

.category-menu {
  position: relative;
}

.category-menu-toggle {
  display: none;
}

.category-menu-checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.category-row {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
}

.cat {
  color: #d1d5db;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  text-decoration: none;
}

.cat:hover,
.cat:focus-visible {
  color: white;
  text-decoration: none;
}

.destination-intro {
  padding: 76px 0 64px;
  background: linear-gradient(135deg, #111827 0%, #182b43 100%);
  color: white;
}

.destination-intro h1 {
  max-width: 760px;
  margin: 0 0 16px;
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: -2px;
}

.destination-intro p:last-child {
  margin: 0;
  color: #d1d5db;
  font-size: 19px;
}

.destination-content {
  padding: 48px 0 88px;
  background: #f7f8fa;
  color: var(--color-text);
}

.destination-shell {
  max-width: 1180px;
}

.destination-record {
  padding-bottom: 48px;
  border-bottom: 1px solid var(--color-line);
}

.destination-detail-image {
  width: 100%;
  max-height: 360px;
  margin-bottom: 28px;
  border-radius: 10px;
  object-fit: cover;
}

.destination-record h2 {
  margin-bottom: 12px;
  color: var(--color-navy);
  font-size: 40px;
}

.destination-description {
  max-width: 760px;
  color: var(--color-muted);
  font-size: 18px;
}

.destination-html {
  overflow-x: auto;
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: white;
}

.destination-html table {
  width: 100%;
  border-collapse: collapse;
}

.viator-widget {
  min-height: 320px;
}

.destination-embed {
  position: relative;
  margin-top: 28px;
}

.destination-embed-loading {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 240px;
  color: var(--color-muted);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: white;
}

.destination-embed.is-loading .destination-embed-loading {
  display: flex;
}

.destination-embed.is-loading .destination-html {
  display: none;
}

.destination-embed-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--color-line);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: destination-embed-spin 0.8s linear infinite;
}

@keyframes destination-embed-spin {
  to {
    transform: rotate(360deg);
  }
}

.destination-html th,
.destination-html td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--color-line);
  text-align: left;
}

.mobile-category-picker {
  display: none;
}

/* Header specific overrides */
header.topbar {
  background-color: var(--color-background) !important;
  border-bottom: 1px solid #1f2937;
}

header.topbar .brand {
  color: white !important;
  font-weight: 800;
}

header.topbar .navlinks a {
  color: #9ca3af !important;
  font-weight: 500;
}

/* Action Buttons */
.list-btn {
  background: var(--color-primary);
  color: white;
  font-weight: 800;
  border-radius: 10px;
  padding: 13px 20px;
  transition: background-color 0.2s;
}

.list-btn:hover {
  background: var(--color-secondary);
}

/* Search Icon Button */
.icon-btn {
  background: #e5e7eb;
  /* Light gray background for contrast */
  color: var(--color-text);
  /* Dark text color for icon */
  border: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.2s;
}

.icon-btn:hover {
  background: #d1d5db;
}

/* ==========================================
   HERO SECTION & SEARCH BAR
   ========================================== */
.hero {
  min-height: 500px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 57%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  padding: 64px 0 44px;
}

/* Typography */
h1,
h2,
h3 {
  font-weight: 800;
  line-height: 1.1;
  margin-top: 0;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 7px;
  font-weight: 900;
  margin-bottom: 10px;
  text-transform: uppercase;
  color: #dbeafe;
  /* Light blue/white for contrast */
}

.hero h1 {
  font-size: clamp(44px, 5vw, 76px);
  letter-spacing: -2.5px;
  text-shadow: 0 3px 15px rgba(0, 0, 0, .3);
}

.hero p {
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 400;
  margin: 0 0 22px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}

/* Search Bar */
.search-wrap {
  margin: 0 auto;
  width: min(820px, 92%);
  background: white;
  border-radius: 16px;
  padding: 4px;
  /* Reduced padding for a cleaner look */
  display: flex;
  align-items: center;
  box-shadow: 0 15px 50px rgba(0, 0, 0, .2);
}

.search-wrap input {
  flex: 1;
  border: none;
  outline: none;
  padding: 15px;
  color: var(--color-text);
  min-width: 0;
  font-size: 16px;
}

.search-btn {
  background: var(--color-primary);
  color: white;
  border-radius: 12px;
  padding: 15px 26px;
  /* Removed font-weight: 850 to rely on button base styles */
}

.quick-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.quick-filters button {
  border: 1px solid rgba(255, 255, 255, .8);
  background: rgba(255, 255, 255, .94);
  color: var(--color-text);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

/* ==========================================
   EVENT LISTING GRID & CARDS
   ========================================== */
.events-section {
  padding: 40px 0 24px;
  background: #f7f8fa;
  color: var(--color-text);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  /* Increased spacing */
}

#events > .container > .section-head {
  margin-bottom: 24px;
}

.landing-section-heading {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 8px;
}

.landing-section-title {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.landing-section-title .section-title {
  margin: 0;
  color: var(--color-navy);
}

.landing-section-icon {
  display: grid;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--color-body-background);
  color: var(--color-primary);
  font-size: 18px;
  line-height: 1;
}

.landing-section-link {
  flex: 0 0 auto;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.landing-section-link:hover {
  color: var(--color-secondary);
  text-decoration: none;
}

.landing-hero-image-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
}

.title-wrap h2 {
  font-size: 36px;
  /* Larger title */
  color: var(--color-navy);
  letter-spacing: -1px;
}

.title-wrap p {
  margin: 4px 0 0;
  color: var(--color-muted);
  font-size: 16px;
}

/* Tabs */
.event-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.event-time-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -12px 0 24px;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 700;
}

.event-time-filter select {
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: white;
  color: var(--color-text);
  padding: 9px 32px 9px 12px;
  font: inherit;
}

.event-tab {
  border: 1px solid var(--color-line);
  background: white;
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}

.event-tab.active,
.event-tab:hover {
  background: var(--color-navy);
  color: white;
  border-color: var(--color-navy);
}

/* Grid Layout */
.events-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  /* Default: 5 columns on large screens */
  gap: 20px;
  /* Increased gap for better visual separation */
}

.landing-events-grid,
.destination-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.landing-events-grid .event-card,
.destination-grid .destination-card {
  border: 1px solid #e6eaf0;
  border-radius: 10px;
  box-shadow: 0 5px 18px rgba(15, 23, 42, .08);
}

.landing-events-grid .event-card:hover,
.destination-grid .destination-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .13);
}

.landing-events-grid .event-media,
.destination-grid .event-media {
  height: auto;
  aspect-ratio: 16 / 9;
}

.landing-events-grid .card-body,
.destination-grid .card-body {
  padding: 17px;
}

.destination-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.destination-grid .card-body {
  padding: 20px;
}

.destination-grid .event-title {
  font-size: 18px;
  margin-bottom: 8px;
}

.destination-grid .event-location {
  font-size: 14px;
  line-height: 1.55;
  display: -webkit-box;
  line-clamp: 6;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.landing-blogs-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.landing-section-head {
  margin-top: 32px;
}

.load-more-container {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding: 12px 0 8px;
}

.btn-load-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--color-navy);
  border-radius: 8px;
  background: white;
  color: var(--color-navy);
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: .1px;
}

.btn-load-more span {
  color: var(--color-primary);
  font-size: 18px;
  line-height: 1;
  transition: transform .2s ease;
}

.btn-load-more:hover {
  background: var(--color-navy);
  color: white;
}

.btn-load-more:hover span {
  transform: translateX(3px);
}

.event-card {
  border: none;
  /* Removed hard border for modern look */
  border-radius: 14px;
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  /* Ensure content stacks vertically */
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, .12);
}

/* Media and Overlays */
.event-media {
  position: relative;
  overflow: hidden;
  background: #ddd;
}

.event-media img {
  width: 100%;
  aspect-ratio: 16 / 9; /* Guarantees uniform grid cards */
  object-fit: cover;
  object-position: center center; /* Keeps the subject centered */
  border-radius: 12px;
}

/* Badges and Overlays */
.badge {
  position: absolute;
  top: 15px;
  left: 15px;
  color: white;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 6px 12px;
  z-index: 10;
  /* Ensure badges are above media */
}

.badge.blue {
  background: #1478ff;
}

.badge.green {
  background: #13a765;
}

.badge.orange {
  background: #f27a00;
}

.badge.purple {
  background: #7b28d9;
}

/* Heart Icon */
.heart {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .4);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Card Body Content */
.card-body {
  padding: 15px;
  flex-grow: 1;
  /* Allows card body to take available space */
  display: flex;
  flex-direction: column;
}

/* Event card details: fixed structure so cards stay aligned regardless of text length */
.event-details {
  min-width: 0;
  margin-bottom: 15px;
}

.event-destination {
  min-height: 16px;
  margin: 0 0 4px;
  overflow: hidden;
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .8px;
  line-height: 16px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.event-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.featured-indicator {
  flex: 0 0 auto;
  font-size: 20px;
  line-height: 1;
}

/* Shared with blog and destination cards */
.event-title {
  font-weight: 800;
  font-size: 16px;
  line-height: 1.3;
  margin: 0 0 4px;
  color: var(--color-text);
}

.event-location {
  font-size: 12px;
  color: #4b5563;
  line-height: 1.4;
  margin: 0;
}

.event-title-row .event-title {
  display: -webkit-box;
  min-height: 2.6em;
  margin: 0 0 10px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 10px 0 0;
  border-top: 1px solid var(--color-line);
  list-style: none;
}

.event-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 20px;
  margin: 0;
  color: #4b5563;
  font-size: 13px;
  line-height: 20px;
}

.event-meta-icon {
  flex: 0 0 18px;
  color: var(--color-primary);
  font-size: 14px;
  line-height: 1;
  text-align: center;
}

.event-meta-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-card-date .event-meta-text {
  color: var(--color-text);
  font-weight: 600;
}

/* Buttons */
.ticket-btn {
  margin-top: auto;
  /* Push button to the bottom */
  width: 100%;
  border: none;
  border-radius: 8px;
  background: var(--color-primary);
  color: white;
  padding: 12px;
  font-size: 14px;
  font-weight: 700;
}

.ticket-btn:hover {
  background: var(--color-secondary);
  color: white;
  text-decoration: none;
}

/* Empty State */
.no-results {
  display: none;
  text-align: center;
  padding: 60px;
  color: var(--color-muted);
  border: 1px dashed var(--color-line);
  border-radius: 16px;
}

/* ==========================================
   PROMO STRIPS & POPULAR CATEGORIES
   ========================================== */
.discover {
  margin-top: 40px;
  min-height: 250px;
  background: linear-gradient(90deg, rgba(5, 64, 113, .8), rgba(5, 64, 113, .3)), url("https://images.unsplash.com/photo-1535498730771-e735b998cd64?auto=format&fit=crop&w=1800&q=85") center/cover;
  color: white;
  display: flex;
  align-items: center;
}

.discover-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 26px 0;
}

.discover h3 {
  font-size: 32px;
  /* Larger heading */
  margin: 0 0 5px;
}

.discover p {
  margin: 0;
  opacity: 0.9;
}

.discover-btn {
  border: 2px solid white;
  border-radius: 999px;
  padding: 13px 30px;
  font-weight: 700;
  white-space: nowrap;
  background: rgba(5, 43, 85, .2);
  /* Slightly lighter background */
}

.popular {
  padding: 24px 0 24px;
}

.popular h2 {
  font-size: 32px;
  margin: 0 0 24px;
  color: var(--color-navy);
}

.category-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.visual-cat {
  flex: 0 0 calc((100% - 60px) / 4);
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-light);
  transition: transform 0.3s ease;
}

.visual-cat:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, .15);
}

/* Visual Cat Image/Overlay */
.visual-cat img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.visual-cat:hover img {
  transform: scale(1.05);
}

/* Visual Cat Overlay */
.visual-cat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(0, 0, 0, .7));
  /* Adjusted gradient */
}

.visual-cat strong {
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 15px;
  color: white;
  z-index: 2;
  font-size: 18px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

/* ==========================================
   EVENT DETAIL PAGE LAYOUTS
   ========================================== */
.breadcrumb-wrap {
  padding: 16px 0;
  font-size: 13px;
  color: var(--color-muted);
}

.detail-hero {
  min-height: 450px;
  /* Increased height for impact */
  background-size: cover;
  background-position: center;
  color: white;
  display: flex;
  align-items: center;
  padding: 60px 0;
}

.detail-hero-inner {
  width: 100%;
  max-width: 800px;
  /* Constrain content width */
}

.hero-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.hero-tags .badge {
  position: static;
  /* Override default absolute positioning for grid badges */
}

.detail-hero h1 {
  font-size: clamp(36px, 5vw, 54px);
  /* Responsive size increase */
  margin: 0 0 12px;
}

.hero-desc {
  font-size: 18px;
  /* Slightly larger description text */
  margin-bottom: 30px;
  line-height: 1.5;
  color: #e2e8f0;
}

/* Metadata List */
.hero-meta-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  /* Increased gap */
  margin-bottom: 30px;
  font-size: 15px;
}

.hero-meta-list small {
  opacity: 0.8;
  display: block;
}

.cta-wrapper {
  display: flex;
  justify-content: center; /* Aligns the item horizontally in the middle */
  width: 100%;
  margin: 32px 0;         /* Optional: Adds spatial breathing room above/below */
}

/* CTA Buttons */
.cta-btn-primary {
  display: inline-block;
  background: var(--color-primary);
  color: white;
  padding: 16px 32px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 17px;
  text-decoration: none; /* Ensures anchor tags don't get default underlines */
  text-align: center;
  
  /* Initial shadow state */
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  
  /* Upgraded, buttery-smooth transition config */
  transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.cta-btn-primary:hover {
  background: var(--color-secondary);
  color: white !important;
  /* Combines your -2px lift with a clean 2% size expansion */
  transform: translateY(-2px) scale(1.02);
  /* Enhanced shadow state to mimic depth during the lift */
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Snappy tactile click feel for anchor tags */
.cta-btn-primary:active {
  transform: translateY(0px) scale(0.98); 
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.06);
}

.affiliate-link-disclosure {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 8px auto 0;
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}


/* Detail Content Layout */
.detail-main {
  padding: 40px 0 60px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  /* Adjusted ratio for better balance */
  gap: 50px;
  /* Increased gap */
}

/* Overview Column (Main Content) */
.overview-column h2 {
  font-size: 30px;
  color: var(--color-navy);
  margin-top: 0;
  border-bottom: 1px solid var(--color-line);
  padding-bottom: 10px;
}

.event-description {
  line-height: 1.7;
  color: var(--color-text);
  font-size: 16px;
}

/* Quick Take Box */
.quick-take-box {
  background: #fefce8;
  border: 1px solid #fef08a;
  border-radius: 12px;
  padding: 24px;
  /* Increased padding */
  margin-top: 30px;
}

.quick-take-box strong {
  color: #854d0e;
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

/* Details Sidebar */
.details-card {
  background: white;
  border: 1px solid var(--color-line);
  border-radius: 16px;
  padding: 24px;
  position: sticky;
  top: 90px;
}

.details-card h3 {
  margin-top: 0;
  font-size: 20px;
  color: var(--color-navy);
  border-bottom: 1px solid var(--color-line);
  padding-bottom: 12px;
}

.details-list {
  display: grid;
  grid-template-columns: 1fr;
  /* Stacked on mobile/smaller screens */
  gap: 8px;
  font-size: 15px;
  margin: 0 0 20px;
}

.details-list dt {
  font-weight: 700;
  color: var(--color-muted);
  padding-top: 8px;
}

.details-list dd {
  margin: 0;
  color: var(--color-text);
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--color-line);
}

/* ==========================================
   RESPONSIVE MEDIA QUERIES
   ========================================== */
@media (max-width: 1200px) {
  .events-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    /* Tablet view: 3 columns */
    gap: 20px;
  }

  .landing-events-grid,
  .destination-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-cards {
    gap: 20px;
  }

  .category-cards .visual-cat {
    flex-basis: calc((100% - 40px) / 3);
  }

  .detail-grid {
    grid-template-columns: 1fr;
    /* Stack details on medium screens */
    gap: 30px;
  }
}

@media (max-width: 900px) {

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .event-hero-layout,
  .event-detail-layout {
    grid-template-columns: 1fr;
  }

  /* .event-hero-copy,
  .event-hero-image-wrap,
  .event-detail-sidebar {
    min-width: 0;
  } */

  .event-hero-image-wrap {
    max-width: 620px;
  }

  .event-detail-sidebar {
    position: static;
  }

  .ticket-panel {
    max-width: 620px;
  }

  /* Grid adjustments */
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .landing-events-grid,
  .destination-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-cards {
    gap: 15px;
  }

  .category-cards .visual-cat {
    flex-basis: calc((100% - 15px) / 2);
  }

  /* Detail adjustments */
  .detail-hero {
    min-height: 350px;
  }

  .details-list {
    grid-template-columns: 1fr;
    /* Ensure full stacking on smaller screens */
  }
}

/* Hamburger menu at every width (desktop included) */
.nav {
  min-height: 76px;
  flex-direction: row;
  justify-content: space-between;
  gap: 16px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.brand {
  min-width: unset;
  font-size: 20px;
}

.category-strip {
  flex: 0 0 auto;
}

.category-menu-toggle {
  display: block;
  padding: 8px 12px;
  border: 1px solid #374151;
  border-radius: 8px;
  transition: background .2s ease, border-color .2s ease;
  color: white;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  list-style: none;
}

.category-menu-toggle::-webkit-details-marker {
  display: none;
}

.category-row {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 2;
  display: flex;
  min-width: 230px;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 8px 14px;
  border: 1px solid #374151;
  border-radius: 8px;
  background: #111827;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .25);
}

.category-menu .category-row {
  display: none;
}

.category-menu-checkbox:checked + .category-menu-toggle + .category-menu .category-row {
  display: flex;
}

.cat {
  display: block;
  padding: 9px 0;
}

.category-menu-toggle:hover,
.category-menu-checkbox:focus-visible + .category-menu-toggle,
.category-menu-checkbox:checked + .category-menu-toggle {
  border-color: var(--color-primary);
  background: rgba(255, 255, 255, .06);
}

.category-row .cat {
  padding: 10px 8px;
  border-radius: 6px;
}

.category-row .cat:hover,
.category-row .cat:focus-visible {
  background: rgba(255, 255, 255, .08);
}

@media (max-width: 650px) {


  .event-detail-hero-inner {
    padding-top: 22px;
    padding-bottom: 40px;
  }

  .back-link {
    margin-bottom: 30px;
  }

  .event-hero-layout {
    gap: 28px;
  }

  .event-hero-copy h1 {
    font-size: 43px;
  }

  .event-hero-summary {
    font-size: 16px;
    /* padding-bottom: 2px; */
  }

  .event-detail-layout {
    gap: 8px;
    padding-top: 28px;
    padding-bottom: 54px;
  }

  .event-facts,
  .notes-grid {
    grid-template-columns: 1fr;
  }

  .event-facts {
    gap: 18px;
    padding-bottom: 28px;
  }

  .event-calendar {
    gap: 3px;
    padding: 6px;
  }

  .event-calendar-day {
    min-height: 42px;
    padding-inline: 2px;
  }

  .detail-section {
    padding: 34px 0;
  }

  .detail-section h2 {
    font-size: 27px;
  }

  .detail-section-heading {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

  .event-map {
    height: 220px;
  }

  /* Search Bar adjustments */
  .search-wrap {
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
  }

  .search-wrap input,
  .search-btn {
    width: 100%;
    border-radius: 8px !important;
    /* Make buttons look better stacked */
  }

  /* Event Card adjustments */
  .events-grid {
    grid-template-columns: 1fr;
    /* Single column stack */
    gap: 15px;
  }

  .landing-events-grid,
  .destination-grid {
    grid-template-columns: 1fr;
  }

  .event-media {
    height: 200px;
  }

}

/* Desktop-only header Sell Tickets button */
.header-sell-btn {
  display: none;
}

@media (min-width: 900px) {
  .header-sell-btn {
    display: inline-block;
    margin-left: auto;
    padding: 10px 20px;
    border-radius: 8px;
    background: var(--color-primary);
    color: white;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color .2s ease;
  }

  .header-sell-btn:hover,
  .header-sell-btn:focus-visible {
    background: var(--color-secondary);
    color: white;
    text-decoration: none;
  }

  .category-strip {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .topbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
  }

  body {
    padding-top: 77px;
  }
}

/* ==========================================
   FOOTER STYLES
   ========================================== */
.site-footer {
  background-color: #12161e;
  padding: 28px 0;
  border-top: 1px solid var(--color-line);
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 24px;
}

.footer-col h3 {
  margin: 0 0 6px;
  font-size: 16px;
  letter-spacing: .06em;
  color: white;
}

.footer-col p {
  margin: 0;
  font-size: 14px;
  color: var(--color-muted);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 22px;
}

.footer-col a {
  color: var(--color-muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--color-primary);
  text-decoration: underline;
}

.footer-legal {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--color-line);
}

.footer-legal p {
  margin: 0;
  font-size: 13px;
  color: var(--color-muted);
  text-align: center;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col ul {
    justify-content: center;
  }
}

/* --- HTMX Indicator Rules --- */
.htmx-indicator {
  display: none;
}

.htmx-request.htmx-indicator {
  display: grid !important;
}

.htmx-request .htmx-indicator {
  display: grid !important;
}

.htmx-request.btn-load-more {
  display: none;
  /* Hides the load-more button cleanly while fetching */
}

/* --- HTMX Indicator Rules --- */
.htmx-indicator {
  display: none;
}

.htmx-request .htmx-indicator {
  display: grid !important;
}

.htmx-request.btn-load-more {
  display: none;
  /* Hides the load-more button cleanly while fetching */
}

/* --- Skeleton Grid Layout Match --- */
.skeleton-grid {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  width: 100%;
  margin-top: 1.5rem;
}

/* --- Skeleton Structural Elements --- */
.skeleton-card {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.skeleton-element {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite linear;
}

/* --- Individual Field Approximations --- */
.skeleton-hero {
  height: 180px;
  width: 100%;
}

.skeleton-content {
  padding: 1rem;
}

.skeleton-badge {
  height: 1rem;
  width: 60px;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.skeleton-title {
  height: 1.5rem;
  width: 85%;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.skeleton-text-line {
  height: 0.875rem;
  width: 100%;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.skeleton-meta {
  height: 1rem;
  width: 50%;
  border-radius: 4px;
}

/* --- Pulse Shimmer Keyframes --- */
@keyframes skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* Homepage sections: single horizontally scrolling row */
.landing-row {
  display: flex;
  grid-template-columns: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-left: 2px;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.landing-row::-webkit-scrollbar {
  display: none;
}

.landing-row > .event-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
}

.landing-row.destination-grid > .event-card {
  flex-basis: 320px;
}

@media (max-width: 480px) {
  .landing-row > .event-card,
  .landing-row.destination-grid > .event-card {
    flex-basis: 82%;
  }
}

/* Scroll hints for homepage rows */
.scroll-row {
  position: relative;
}

.scroll-row::before,
.scroll-row::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 16px;
  width: 56px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease;
  z-index: 2;
}

.scroll-row::before {
  left: 0;
  background: linear-gradient(to right, #f7f8fa, rgba(247, 248, 250, 0));
}

.scroll-row::after {
  right: 0;
  background: linear-gradient(to left, #f7f8fa, rgba(247, 248, 250, 0));
}

.scroll-row.can-scroll-prev::before,
.scroll-row.can-scroll-next::after {
  opacity: 1;
}

.scroll-row-btn {
  position: absolute;
  top: calc(50% - 8px);
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #e6eaf0;
  background: #fff;
  color: var(--color-navy);
  font-size: 26px;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(15, 23, 42, .18);
  cursor: pointer;
  z-index: 3;
  display: none;
  align-items: center;
  justify-content: center;
}

.scroll-row-prev { left: -8px; }
.scroll-row-next { right: -8px; }

.scroll-row.can-scroll-prev .scroll-row-prev,
.scroll-row.can-scroll-next .scroll-row-next {
  display: inline-flex;
}

@media (hover: none) {
  .scroll-row-btn { display: none !important; }
}

.category-cards.landing-row {
  flex-wrap: nowrap;
  justify-content: flex-start;
}

.category-cards.landing-row > .visual-cat {
  flex: 0 0 280px;
  aspect-ratio: 1 / 1;
  scroll-snap-align: start;
}

@media (max-width: 640px) {
  .category-cards.landing-row > .visual-cat {
    flex-basis: 44%;
  }

  .category-cards.landing-row > .visual-cat strong,
  .category-cards.landing-row > .visual-cat::after {
    display: none;
  }
}

.home-banner {
  position: relative;
  background: #0b0d12;
}

.home-banner::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(7, 18, 32, .35) 0%, rgba(7, 18, 32, .55) 55%, rgba(247, 248, 250, 0) 70%, #f7f8fa 100%);
  pointer-events: none;
}

.home-banner-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 24px;
  text-align: center;
  color: #fff;
}

.home-banner-title {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(2rem, 5vw, 3.75rem);
  line-height: 1.1;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .55);
}

.home-banner-cta {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  background: var(--color-primary);
  color: white;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  transition: transform .2s ease, background .2s ease;
}

.home-banner-cta:hover {
  background: var(--color-secondary);
  color: white;
  transform: translateY(-2px);
}

.home-banner-cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.home-banner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  object-position: center;
}

/* Poster-style event tiles: square thumb, text overlaid on a gradient, whole tile is the link */
.event-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  background: #0b0d12;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}

.event-tile:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .35);
}

.event-tile .event-media {
  position: absolute;
  inset: 0;
  height: 100%;
}

.event-tile .event-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 0;
  transition: transform .4s ease;
}

.event-tile:hover .event-media img {
  transform: scale(1.05);
}

.event-tile .card-body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: 48px 14px 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .6) 60%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}

.event-tile .event-details {
  margin-bottom: 0;
}

.event-tile .event-destination {
  color: #f9a8d4;
}

.event-tile .event-title-row .event-title {
  min-height: 0;
  margin: 0 0 6px;
  color: #fff;
  font-size: 17px;
  line-height: 1.25;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .6);
}

.event-tile .event-meta {
  gap: 3px;
  padding: 0;
  border-top: none;
}

.event-tile .event-meta-row {
  min-height: 0;
  color: #e5e7eb;
  font-size: 12px;
  line-height: 1.4;
}

.event-tile .event-meta-icon {
  color: #fff;
  font-size: 12px;
}

.event-tile .event-card-date:empty {
  display: none;
}

.event-tile .event-card-date .event-meta-text {
  color: #fff;
  font-weight: 600;
}

/* The button becomes an invisible overlay covering the whole tile; its aria-label still names it. */
.event-tile .ticket-btn {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: auto;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
  background: transparent;
  color: transparent;
  font-size: 0;
  pointer-events: auto;
}

.event-tile .ticket-btn:hover {
  background: transparent;
}

.event-tile .ticket-btn:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: -3px;
}

.event-tile .featured-indicator {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  font-size: 22px;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .7));
  pointer-events: none;
}

/* Destination and blog tiles share the poster look; plain text lines replace the event meta rows */
.event-tile .card-body > .event-title,
.event-tile .card-body > .event-title a {
  margin: 0 0 6px;
  color: #fff;
  font-size: 17px;
  line-height: 1.25;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .6);
}

.event-tile .card-body > p.event-location {
  display: -webkit-box;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  color: #e5e7eb;
  font-size: 12px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.event-tile .blog-card-date {
  margin: 0 0 4px;
  color: #f9a8d4;
  font-size: 11px;
}

.landing-row.destination-grid > .event-card.event-tile {
  flex-basis: 280px;
}

/* Mobile: two-up compact tiles without location */
@media (max-width: 640px) {
  .events-grid:not(.destination-grid) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .landing-row > .event-card.event-tile {
    flex: 0 0 44%;
  }

  .event-tile {
    border-radius: 10px;
  }

  .event-tile:hover {
    transform: none;
  }

  .event-tile .card-body {
    padding: 28px 9px 9px;
  }

  .event-tile .event-destination,
  .event-tile .event-location,
  .event-tile .event-meta-icon {
    display: none;
  }

  .event-tile .event-title-row .event-title {
    margin: 0;
    font-size: 13px;
  }

  .event-tile .featured-indicator {
    top: 6px;
    right: 6px;
    width: 26px;
    height: 26px;
    font-size: 17px;
  }

  .event-tile .event-meta {
    padding-top: 3px;
  }

  .event-tile .event-meta-row {
    font-size: 11px;
    line-height: 1.3;
  }

  .event-tile .event-card-date .event-meta-text {
    font-weight: 500;
  }

  .event-tile .ticket-btn {
    border-radius: 10px;
  }
}

@media (max-width: 640px) {
  .landing-row.destination-grid > .event-card.event-tile {
    flex-basis: 44%;
  }

  .event-tile .card-body > .event-title,
  .event-tile .card-body > .event-title a {
    margin: 0;
    font-size: 13px;
  }

  .event-tile .blog-card-date {
    margin: 0 0 2px;
    font-size: 10px;
  }
}

/* Home page: tighter vertical rhythm, with the banner fading into the page background */
.home-banner + .events-section {
  padding-top: 8px;
}

.home-banner + .events-section .landing-section-head {
  margin-top: 0;
}

.home-banner + .events-section .section-head {
  margin-bottom: 10px;
}

.home-banner + .events-section .landing-row {
  padding-bottom: 6px;
}

.home-banner + .events-section section + section {
  margin-top: 28px;
}

.home-banner + .events-section .popular {
  padding: 0;
}

@media (max-width: 640px) {
  .landing-section-link .link-suffix {
    display: none;
  }
}

/* Borderless tiles: square poster image with the text underneath, no card chrome */
.event-tile {
  aspect-ratio: auto;
  overflow: visible;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.event-tile:hover {
  transform: none;
  box-shadow: none;
}

.event-tile .event-media {
  position: relative;
  inset: auto;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  background: #1f2937;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
  transition: box-shadow .3s ease;
}

.event-tile:hover .event-media {
  box-shadow: 0 12px 28px rgba(0, 0, 0, .28);
}

.event-tile .card-body {
  position: static;
  padding: 10px 2px 0;
  background: none;
}

.event-tile .event-destination,
.event-tile .blog-card-date {
  color: var(--color-primary);
}

.event-tile .event-title-row .event-title,
.event-tile .card-body > .event-title,
.event-tile .card-body > .event-title a {
  color: var(--color-text);
  text-shadow: none;
}

.event-tile .event-meta-row,
.event-tile .card-body > p.event-location {
  color: var(--color-muted);
}

.event-tile .event-meta-icon {
  color: inherit;
}

.event-tile .event-card-date .event-meta-text {
  color: var(--color-text);
}

@media (max-width: 640px) {
  .event-tile .event-media {
    border-radius: 10px;
  }

  .event-tile .card-body {
    padding: 7px 1px 0;
  }
}

/* Remove the leftover card border/shadow/backdrop from the grid-scoped card rules */
.landing-events-grid .event-card.event-tile,
.destination-grid .event-card.event-tile,
.events-grid .event-card.event-tile {
  border: none;
  background: transparent;
  box-shadow: none;
}

.landing-events-grid .event-card.event-tile:hover,
.destination-grid .event-card.event-tile:hover {
  transform: none;
  box-shadow: none;
}

.event-tile .event-media {
  background: transparent;
  box-shadow: none;
}

.event-tile:hover .event-media {
  box-shadow: none;
}

.landing-events-grid .event-tile .event-media,
.destination-grid .event-tile .event-media {
  aspect-ratio: 1 / 1;
}

/* Lock the media box to a square so an off-size image can never stretch the row */
.event-tile {
  max-width: 600px;
  min-width: 0;
}

.event-tile .event-media {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.event-tile .event-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

/* Infinite row arrows (desktop only); styled to match .scroll-row-btn */
.infinite-row-wrap {
  position: relative;
}

.infinite-row-btn {
  display: none;
  position: absolute;
  top: calc(50% - 8px);
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #e6eaf0;
  background: #fff;
  color: var(--color-navy);
  font-size: 26px;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(15, 23, 42, .18);
  cursor: pointer;
  z-index: 3;
  align-items: center;
  justify-content: center;
}

.infinite-row-prev { left: -8px; }
.infinite-row-next { right: -8px; }

@media (hover: hover) and (min-width: 901px) {
  .infinite-row-btn {
    display: inline-flex;
  }
}

/* Edge fades matching .scroll-row; infinite rows always loop so they are always shown */
.infinite-row-wrap::before,
.infinite-row-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 16px;
  width: 15px;
  pointer-events: none;
  z-index: 2;
}

.infinite-row-wrap::before {
  left: 0;
  background: linear-gradient(to right, #f7f8fa, rgba(247, 248, 250, 0));
}

.infinite-row-wrap::after {
  right: 0;
  background: linear-gradient(to left, #f7f8fa, rgba(247, 248, 250, 0));
}

