/* ==========================================
   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 */
  --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-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;
}

.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;
}

.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);
}

.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;
}

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

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

.event-detail-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: 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);
}

.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;
  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 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.event-carousel-track {
  position: relative;
  min-height: 620px;
}

.event-carousel-slide {
  position: absolute;
  inset: 0;
  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: 24px;
}

.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: #ffe4ef;
  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-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: 13px 15px;
  font-size: 14px;
  font-weight: 850;
}

.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;
}

.not-found-page {
  display: grid;
  min-height: 62vh;
  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-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;
}

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

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

.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: #ffe4ef;
  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;
}

.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 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

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

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

.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;
  height: 180px;
  /* Slightly taller media area */
  overflow: hidden;
  background: #ddd;
}

.event-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 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;
}

/* Date and Location Styling */
.date-info-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin-bottom: 15px;
}

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

.date-location {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  align-items: center;
}

.datebox {
  width: 42px;
  min-width: 42px;
  height: 60px;
  /* Taller date box */
  border-radius: 99px;
  background: white;
  box-shadow: var(--shadow-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: -10px;
  /* Reduced negative margin for more visible gap */
  position: relative;
  z-index: 2;
  border: 2px solid #ddd;
}

.datebox span:first-child {
  font-size: 14px;
  font-weight: 750;
  color: var(--color-text);
}

.datebox span:last-child {
  font-size: 18px;
  font-weight: 999;
  color: var(--color-text);
}

/* Text Elements */
.event-title {
  font-weight: 800;
  font-size: 16px;
  line-height: 1.3;
  margin-bottom: 4px;
  color: var(--color-text);
  /* Ensure title is dark */
}

.event-location {
  font-size: 12px;
  color: #4b5563;
  /* Darker gray for better contrast than --color-muted */
  line-height: 1.4;
}

/* 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);
}

/* 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: 60px 0 80px;
}

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

.category-cards {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 16px;
  /* Increased gap */
}

.visual-cat {
  height: 120px;
  /* Taller cards */
  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 Buttons */
.cta-btn-primary {
  display: inline-block;
  background: var(--color-primary);
  color: white;
  padding: 16px 32px;
  /* Larger padding */
  border-radius: 10px;
  font-weight: 800;
  font-size: 17px;
  transition: background-color 0.2s, transform 0.1s;
}

.cta-btn-primary:hover {
  background: var(--color-secondary);
  transform: translateY(-2px);
}

/* 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 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-cards {
    grid-template-columns: repeat(4, 1fr);
  }

  .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-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 {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-cards {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

@media (max-width: 650px) {

  /* General layout adjustments */
  .nav {
    height: auto;
    flex-direction: row;
    justify-content: space-between;
    gap: 16px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

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

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

  .category-menu-toggle {
    display: block;
    padding: 6px 8px;
    border: 1px solid #374151;
    border-radius: 6px;
    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: 210px;
    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;
  }


  .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;
  }

  .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 {
    grid-template-columns: 1fr;
  }

  .event-media {
    height: 200px;
  }

  /* Datebox adjustment for smaller screens */
  .datebox {
    margin-top: -10px;
  }
}

/* ==========================================
   FOOTER STYLES
   ========================================== */
.site-footer {
  background-color: #12161e;
  /* Slightly darker than background for separation */
  padding: 40px 0 20px;
  border-top: 1px solid var(--color-line);
  margin-top: 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding-bottom: 20px;
}

.footer-col h4 {
  font-size: 18px;
  color: white;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--color-primary);
  display: inline-block;
  padding-bottom: 5px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

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

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

/* Legal/Social Links */
.social-links a {
  margin-right: 10px;
  font-size: 16px;
  cursor: pointer;
}

/* ==========================================
   RESPONSIVE MEDIA QUERIES (Footer adjustments)
   ========================================== */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-col.explore-links {
    display: none;
  }
}

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

  .footer-col h4 {
    /* Center titles */
    display: block;
    margin-bottom: 15px;
  }

  .footer-col ul {
    padding-bottom: 20px;
  }

  .social-links a {
    display: inline-block;
    margin: 0 8px;
  }
}


/* --- 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;
  }
}