/* DS Events header: Lovable behavior with WordPress-safe spacing. */
html, body { max-width: 100%; overflow-x: clip; }
*, *::before, *::after { box-sizing: border-box; }

.ds-site-header {
  min-height: 80px;
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  transition: background-color .3s ease, border-color .3s ease, backdrop-filter .3s ease, box-shadow .3s ease;
}

.ds-site-header.ds-scrolled {
  background: rgba(10, 10, 10, .88) !important;
  border-bottom-color: rgba(212, 169, 76, .22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
}

.ds-header-inner {
  display: grid !important;
  grid-template-columns: minmax(205px, 1fr) auto minmax(205px, 1fr);
  align-items: center;
  gap: clamp(18px, 2.1vw, 42px);
  min-height: 80px;
  height: auto !important;
  width: 100%;
  max-width: none !important;
  padding-inline: clamp(20px, 3vw, 48px) !important;
}

.ds-brand {
  justify-self: start;
  min-width: 0;
  white-space: nowrap;
}

.ds-header-logo {
  display: block;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px;
  max-width: 48px !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.ds-brand > span {
  display: block;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1;
  font-size: 1.125rem !important;
}

.ds-desktop-nav {
  display: flex !important;
  justify-self: center;
  gap: clamp(20px, 2.2vw, 36px) !important;
  white-space: nowrap;
}

.ds-desktop-nav a {
  font-size: .875rem !important;
  transition: color .2s ease, transform .2s ease;
}

.ds-desktop-nav a:hover { transform: translateY(-1px); }

.ds-header-cta {
  display: block !important;
  justify-self: end;
}

.ds-header-cta a {
  min-width: 168px;
  min-height: 44px;
  justify-content: center;
  padding: .7rem 1.1rem !important;
  border-radius: 8px !important;
  white-space: nowrap;
  font-size: .875rem !important;
  transition: filter .2s ease, transform .2s ease, box-shadow .2s ease;
}

.ds-header-cta a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(212, 169, 76, .18);
}

.ds-home-hero {
  min-height: max(780px, 92vh) !important;
  padding-top: 80px;
}

.ds-home-hero > .container-x {
  padding-top: clamp(6rem, 11vh, 9rem) !important;
  padding-bottom: 13rem !important;
}

.ds-home-hero h1 {
  max-width: 950px;
  font-size: clamp(3.2rem, 6.8vw, 7rem) !important;
}

.ds-home-hero > .absolute.bottom-0 { z-index: 20; }

@media (min-width: 1024px) {
  .ds-site-header button[aria-label="Toggle menu"] { display: none !important; }
}

@media (max-width: 1023px) {
  .ds-site-header { min-height: 72px; background: rgba(10, 10, 10, .9) !important; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .ds-header-inner {
    display: flex !important;
    justify-content: space-between !important;
    min-height: 72px;
    gap: 16px;
  }
  .ds-desktop-nav, .ds-header-cta { display: none !important; }
  .ds-site-header button[aria-label="Toggle menu"] { display: inline-flex !important; flex: 0 0 auto; }
  .ds-header-logo { width: 44px !important; height: 44px !important; min-width: 44px; }
  .ds-brand > span { max-width: 138px; font-size: 1rem !important; }
  .ds-home-hero { padding-top: 72px; }
}

@media (max-width: 767px) {
  .ds-header-inner { padding-inline: 18px !important; }
  .ds-home-hero { min-height: 760px !important; }
  .ds-home-hero > .container-x { padding-top: 4.5rem !important; padding-bottom: 15rem !important; }
  .ds-home-hero h1 { font-size: clamp(2.7rem, 13vw, 4.25rem) !important; }
  .ds-home-hero > .absolute.bottom-0 > .container-x { gap: 1rem; padding-top: 1rem; padding-bottom: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .ds-site-header, .ds-desktop-nav a, .ds-header-cta a { transition: none !important; }
}
