/* Final active catalogue layer. */
:root {
  --page: min(1540px, calc(100vw - 80px));
  --paper: #fff;
  --paper-deep: #f5f7fa;
  --ticket: #fff;
  --rule: #e2e8ef;
  --card-rule: transparent;
  --signal: #0878d1;
  --signal-strong: #0565b5;
  --signal-pale: #eaf4ff;
  --accent: #0878d1;
  --catalogue-muted: #737d89;
  --catalogue-soft: #f1f4f7;
}

/* 2026-08-25 final mobile product pass: one rhythm for discovery and account tools. */
body:not([data-route="home"]) .site-footer {
  display: none !important;
}

.home-filter-dialog {
  width: min(680px, calc(100vw - 24px));
  max-height: min(760px, calc(100dvh - 24px));
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 90px rgba(15, 23, 42, 0.18);
}

.home-filter-dialog::backdrop {
  background: rgba(17, 24, 39, 0.38);
  backdrop-filter: blur(5px);
}

.home-filter-form {
  max-height: inherit;
  padding: 20px;
  overflow-y: auto;
}

.home-filter-dialog__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.home-filter-dialog__head h2 {
  margin: 2px 0 0;
  font-size: 30px;
  font-weight: 620;
  line-height: 1;
}

.home-filter-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.home-filter-form legend,
.home-filter-form label > span {
  display: block;
  margin-bottom: 6px;
  color: #66717e;
  font-size: 11px;
  font-weight: 520;
}

.home-filter-form__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.home-filter-form__categories label input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.home-filter-form__categories label span {
  min-height: 38px;
  margin: 0;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #dce3ea;
  border-radius: 11px;
  color: #252b33;
  background: #fff;
  font-size: 12px;
  cursor: pointer;
}

.home-filter-form__categories input:checked + span {
  border-color: #15191f;
  color: #fff;
  background: #15191f;
}

.home-filter-form__fields {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.home-filter-form__fields input,
.home-filter-form__fields select {
  width: 100%;
  min-height: 44px;
  padding: 0 11px;
  border: 1px solid #dce3ea;
  border-radius: 11px;
  background: #f8fafc;
  color: #171b22;
  font: inherit;
  font-size: 13px;
}

.home-filter-form__actions {
  position: sticky;
  bottom: -20px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 8px;
  margin: 18px -20px -20px;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid #e3e8ed;
  background: rgba(255, 255, 255, 0.98);
}

.home-filter-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px 12px;
}

@media (max-width: 720px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  body.is-focused #route-outlet {
    padding-top: 0 !important;
  }

  body:not(.is-focused) #route-outlet {
    padding-top: calc(124px + env(safe-area-inset-top)) !important;
  }

  .home-filter-dialog {
    inset: auto 0 0 !important;
    width: 100vw !important;
    max-width: none !important;
    max-height: min(82dvh, 720px) !important;
    margin: auto 0 0 !important;
    border-radius: 20px 20px 0 0 !important;
  }

  .home-filter-form {
    padding: 16px 14px !important;
  }

  .home-filter-dialog__head {
    margin-bottom: 14px !important;
  }

  .home-filter-dialog__head h2 {
    font-size: 24px !important;
  }

  .home-filter-form__fields {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  .home-filter-form__fields label:nth-child(n + 3) {
    grid-column: 1 / -1;
  }

  .home-filter-form__actions {
    bottom: -16px;
    margin: 16px -14px -16px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  }

  .home-page--template .feed-section,
  .home-page--template .feed-section + .feed-section,
  .home-page--template .party-programme,
  .home-page--template .concert-programme,
  .home-page--template .workshop-programme,
  .home-page--template .theatre-programme {
    margin-top: 18px !important;
  }

  .home-page--template .section-heading,
  .home-page--template .section-heading--controls,
  .home-page--template .section-heading--action,
  .home-page--template .culture-heading {
    margin-bottom: 8px !important;
  }

  .home-page--template .section-heading h2,
  .home-page--template .section-heading__title-link,
  .home-page--template .theatre-programme .section-heading h2 {
    font-size: clamp(27px, 7.4vw, 31px) !important;
    font-weight: 600 !important;
    line-height: 1 !important;
  }

  .home-page--template .event-tile-grid,
  .home-page--template .poster-rail,
  .home-page--template .workshop-list,
  .home-page--template .theatre-grid,
  .home-page--template .people-rail,
  .programme-days__rail {
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-x: contain !important;
    touch-action: pan-x !important;
  }

  .home-page--template .event-card__hit,
  .home-page--template .sponsor-slide__hit {
    touch-action: pan-x !important;
  }

  body:not(.is-focused) .home-page--template .event-tile-grid .event-card,
  body:not(.is-focused) .home-page--template .poster-rail .event-card,
  body:not(.is-focused) .home-page--template .workshop-list .event-card,
  body:not(.is-focused) .home-page--template .theatre-grid .event-card {
    flex-basis: min(64vw, 238px) !important;
    width: min(64vw, 238px) !important;
    min-width: min(64vw, 238px) !important;
    max-width: 238px !important;
  }

  body:not(.is-focused) .home-page--template .event-card__copy,
  body:not(.is-focused) .home-page--template .event-tile-grid .event-card__copy,
  body:not(.is-focused) .home-page--template .poster-rail .event-card__copy,
  body:not(.is-focused) .home-page--template .workshop-list .event-card__copy,
  body:not(.is-focused) .home-page--template .theatre-grid .event-card__copy {
    height: auto !important;
    padding: 9px 1px 0 !important;
    gap: 4px 8px !important;
  }

  body:not(.is-focused) .home-page--template .event-card__copy h3,
  body:not(.is-focused) .home-page--template .event-tile-grid .event-card__copy h3,
  body:not(.is-focused) .home-page--template .poster-rail .event-card__copy h3,
  body:not(.is-focused) .home-page--template .workshop-list .event-card__copy h3,
  body:not(.is-focused) .home-page--template .theatre-grid .event-card__copy h3 {
    margin: 0 0 5px !important;
    font-size: 19px !important;
    font-weight: 460 !important;
    line-height: 1.06 !important;
  }

  body:not(.is-focused) .home-page--template .event-card__meta {
    min-height: 34px !important;
    gap: 2px !important;
    align-self: start !important;
  }

  body:not(.is-focused) .home-page--template .event-card__date {
    font-size: 11.5px !important;
    font-weight: 460 !important;
    line-height: 1.15 !important;
  }

  body:not(.is-focused) .home-page--template .event-card__venue {
    font-size: 10.5px !important;
    font-weight: 390 !important;
    line-height: 1.14 !important;
  }

  body:not(.is-focused) .home-page--template .event-card__bottom {
    align-self: end !important;
  }

  body:not(.is-focused) .home-page--template .event-card__price {
    font-size: 11.5px !important;
    font-weight: 540 !important;
    line-height: 1.1 !important;
  }

  .upcoming-section--filtered .programme-calendar {
    margin-bottom: 0 !important;
  }

  .upcoming-section--filtered .mobile-home-filter-shell {
    margin-bottom: 12px !important;
  }

  .home-filter-results {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    gap: 18px !important;
  }

  body:not(.is-focused) .home-page--template .home-filter-results .event-card {
    width: min(100%, 260px) !important;
    min-width: 0 !important;
    max-width: 260px !important;
  }

  /* Event pages have no hidden header, so they start immediately at the top. */
  .event-detail,
  .event-detail .detail-stage,
  .event-detail .detail-flow {
    width: 100% !important;
    max-width: none !important;
  }

  .event-detail .detail-stage,
  .event-detail .detail-flow {
    padding-right: 10px !important;
    padding-left: 10px !important;
  }

  .event-detail .detail-stage {
    padding-top: 8px !important;
  }

  .event-detail .back-link {
    min-height: 38px !important;
    margin: 0 0 7px !important;
    font-size: 12px !important;
  }

  .event-detail .detail-hero {
    min-height: 0 !important;
    aspect-ratio: 4 / 3 !important;
    border-radius: 15px !important;
  }

  .event-detail .detail-hero__copy {
    right: 14px !important;
    bottom: 14px !important;
    left: 14px !important;
    max-width: calc(100% - 28px) !important;
  }

  .event-detail .detail-hero__copy h1 {
    margin: 4px 0 !important;
    font-size: clamp(24px, 7.4vw, 30px) !important;
    font-weight: 570 !important;
    line-height: 1 !important;
  }

  .event-detail .detail-hero__copy span,
  .event-detail .detail-hero__copy p {
    font-size: 10.5px !important;
    line-height: 1.2 !important;
  }

  .event-detail .detail-facts {
    margin-top: 9px !important;
    border-radius: 13px !important;
  }

  .event-detail .detail-facts > div {
    min-height: 0 !important;
    padding: 11px 12px !important;
    grid-template-columns: 19px minmax(0, 1fr) !important;
  }

  .event-detail .detail-facts .icon,
  .event-detail .detail-facts .asset-icon {
    width: 17px !important;
    height: 17px !important;
  }

  .event-detail .detail-facts span {
    font-size: 9px !important;
  }

  .event-detail .detail-facts strong {
    font-size: 12px !important;
    line-height: 1.25 !important;
  }

  .event-detail .detail-copy,
  .event-detail .detail-lineup,
  .event-detail .detail-gallery,
  .event-detail .ticket-preview {
    padding: 19px 0 !important;
    border-top: 1px solid #e5e9ee !important;
  }

  .event-detail .detail-copy .detail-lead,
  .event-detail .detail-copy p {
    margin-top: 8px !important;
    font-size: 13px !important;
    line-height: 1.48 !important;
  }

  .event-detail .section-heading {
    margin-bottom: 9px !important;
  }

  .event-detail .section-heading h2 {
    font-size: 23px !important;
    font-weight: 580 !important;
    line-height: 1.02 !important;
  }

  .event-detail .section-heading p {
    margin-top: 3px !important;
    font-size: 10.5px !important;
  }

  .event-detail .detail-flow {
    padding-bottom: 96px !important;
  }

  .event-detail .event-legal {
    margin: 18px 0 0 !important;
    padding: 12px 0 0 !important;
    border-top: 1px solid #e5e9ee !important;
    gap: 8px !important;
    color: #98a2ad !important;
    font-size: 9px !important;
    line-height: 1.3 !important;
  }

  .event-detail .purchase-dock {
    right: 10px !important;
    bottom: max(8px, env(safe-area-inset-bottom)) !important;
    left: 10px !important;
    width: auto !important;
    min-height: 58px !important;
    padding: 8px 8px 8px 13px !important;
    border-radius: 14px !important;
    transform: none !important;
  }

  .event-detail .purchase-dock span {
    font-size: 8px !important;
  }

  .event-detail .purchase-dock strong {
    font-size: 15px !important;
  }

  .event-detail .purchase-dock .button--signal {
    min-height: 42px !important;
    padding-inline: 15px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
  }

  /* Organizer editor is a phone workspace, not a squeezed desktop dialog. */
  .org-editor[open] {
    inset: 0 !important;
    width: 100vw !important;
    max-width: none !important;
    height: 100dvh !important;
    max-height: none !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
  }

  .org-editor .auth-dialog__close {
    top: 9px !important;
    right: 9px !important;
    z-index: 20 !important;
    width: 38px !important;
    height: 38px !important;
  }

  .org-editor__head {
    flex: 0 0 auto !important;
    padding: 12px 50px 0 13px !important;
    background: #fff !important;
  }

  .org-editor__head .eyebrow {
    font-size: 8.5px !important;
  }

  .org-editor__head h2 {
    margin-top: 2px !important;
    font-size: 22px !important;
    font-weight: 620 !important;
    line-height: 1.02 !important;
  }

  .org-tabs {
    width: calc(100vw - 13px) !important;
    margin-top: 9px !important;
    gap: 0 !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x !important;
  }

  .org-tab {
    min-height: 39px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
    font-weight: 520 !important;
  }

  .org-editor__body {
    flex: 1 1 auto !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 13px 13px calc(86px + env(safe-area-inset-bottom)) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .org-editor__section + .org-editor__section {
    margin-top: 18px !important;
  }

  .org-editor__section h3 {
    margin-bottom: 9px !important;
    font-size: 17px !important;
    font-weight: 580 !important;
  }

  .org-editor__grid,
  .org-toggle-grid,
  .org-poster-slots {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 9px !important;
  }

  .org-cats {
    flex-wrap: nowrap !important;
    gap: 6px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x !important;
  }

  .org-cat {
    flex: 0 0 auto !important;
    min-height: 38px !important;
    padding: 0 11px !important;
    font-size: 11.5px !important;
  }

  .org-field > span,
  .org-editor .form-note,
  .org-cat-note {
    font-size: 10px !important;
    line-height: 1.3 !important;
  }

  .org-field input,
  .org-field select,
  .org-field textarea,
  .org-ticket-row input {
    min-height: 43px !important;
    padding-inline: 10px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
  }

  .org-slot,
  .org-slot__frame,
  .org-lineup,
  .org-ticket-row {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .org-ticket-row--head {
    display: none !important;
  }

  .org-ticket-row {
    position: relative !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 7px !important;
    padding: 9px !important;
    border-radius: 12px !important;
    background: #f5f7f9 !important;
  }

  .org-ticket-row input:first-child,
  .org-ticket-row input:nth-child(4) {
    grid-column: 1 / -1 !important;
  }

  .org-ticket-row > .icon-button {
    position: absolute !important;
    top: 11px !important;
    right: 11px !important;
    width: 34px !important;
    height: 34px !important;
  }

  .org-ticket-row input:first-child {
    padding-right: 46px !important;
  }

  .org-editor__actions {
    position: fixed !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 12 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)) !important;
    border-top: 1px solid #dde4eb !important;
    background: rgba(255, 255, 255, 0.98) !important;
  }

  .org-editor__actions .button {
    min-width: 0 !important;
    min-height: 40px !important;
    padding: 0 8px !important;
    border-radius: 10px !important;
    font-size: 10.5px !important;
    white-space: normal !important;
  }

  .organizer-page.page-frame,
  .search-page.page-frame,
  .profile-page.page-frame,
  .tickets-page.page-frame,
  .orders-page.page-frame {
    width: calc(100vw - 20px) !important;
    max-width: none !important;
    margin-inline: auto !important;
    padding-top: 8px !important;
  }

  .organizer-mobile-head h1 {
    font-size: 18px !important;
  }

  .organizer-panel .section-heading h2,
  .organizer-hero h2,
  .organizer-hero h1 {
    font-size: 21px !important;
  }

  .organizer-panel {
    padding: 10px !important;
  }

  .organizer-nav {
    scroll-snap-type: x proximity !important;
    touch-action: pan-x !important;
    -webkit-overflow-scrolling: touch !important;
  }
}


.search-filter-shell {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.search-quick-chip {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 560;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.search-quick-chip.is-active {
  background: var(--ink);
  color: #fff;
}

.mobile-home-filter-shell {
  display: none;
}

@media (max-width: 720px) {
  .mobile-home-filter-shell {
    display: flex !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 0 10px !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
  }

  .mobile-home-filter-shell::-webkit-scrollbar {
    display: none !important;
  }

  .mobile-home-filter {
    flex: 0 0 auto !important;
    min-height: 48px !important;
    padding: 0 18px !important;
    border: 0 !important;
    border-radius: 18px !important;
    background: #f3f4f6 !important;
    color: #0f1217 !important;
    font: inherit !important;
    font-size: 18px !important;
    font-weight: 570 !important;
    letter-spacing: -0.03em !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    white-space: nowrap !important;
  }

  .mobile-home-filter--all,
  .mobile-home-filter.is-active {
    background: #050505 !important;
    color: #fff !important;
  }

  .mobile-home-filter b {
    width: 28px !important;
    height: 28px !important;
    display: inline-grid !important;
    place-items: center !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #050505 !important;
    font-size: 15px !important;
    font-weight: 650 !important;
  }

  .mobile-home-filter .icon {
    width: 20px !important;
    height: 20px !important;
    opacity: 0.75 !important;
  }

  .home-page--template .upcoming-section {
    margin-top: 10px !important;
  }
}

/* 2026-08-25 phone-width hotfix: real mobile header, chips and one-column event cards. */
@media (max-width: 720px) {
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body {
    min-width: 0 !important;
  }

  #route-outlet,
  .page-frame,
  .home-page,
  .home-page--template,
  .search-page,
  .focused-page,
  .profile-page,
  .tickets-page,
  .orders-page,
  .plans-page {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    padding-inline: 10px !important;
    box-sizing: border-box !important;
  }

  .site-header {
    padding: calc(10px + env(safe-area-inset-top)) 10px 8px !important;
    border-bottom: 0 !important;
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(18px) !important;
  }

  .site-header__inner {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 112px !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 48px 48px !important;
    grid-template-rows: 52px 48px !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .wordmark,
  .header-tickets,
  .mobile-dock,
  .mobile-menu-toggle,
  .mobile-menu-panel,
  .mobile-menu-scrim {
    display: none !important;
  }

  .header-actions {
    display: contents !important;
  }

  .city-picker {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    justify-self: start !important;
  }

  .city-chip {
    min-width: 0 !important;
    width: auto !important;
    height: 52px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #12161d !important;
    font-size: clamp(32px, 10vw, 42px) !important;
    font-weight: 650 !important;
    line-height: 1 !important;
    letter-spacing: -0.055em !important;
    box-shadow: none !important;
  }

  .city-chip span[data-icon],
  .city-chip .icon {
    display: none !important;
  }

  .city-chip::after {
    content: "" !important;
    width: 12px !important;
    height: 12px !important;
    margin-left: 8px !important;
    border-right: 3px solid #a3a8af !important;
    border-bottom: 3px solid #a3a8af !important;
    transform: translateY(-4px) rotate(45deg) !important;
  }

  .city-picker__menu {
    top: 56px !important;
    left: 0 !important;
    right: auto !important;
    min-width: min(280px, calc(100vw - 20px)) !important;
    z-index: 260 !important;
  }

  .header-profile {
    grid-column: 3 !important;
    grid-row: 1 !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    padding: 0 !important;
    justify-self: end !important;
    border: 2px solid #e7edf5 !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #0b80e8 !important;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06) !important;
  }

  .header-profile span:not([data-icon]),
  .header-profile small,
  .header-profile strong {
    display: none !important;
  }

  .header-profile [data-icon],
  .header-profile .icon {
    width: 24px !important;
    height: 24px !important;
  }

  .header-search {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #f3f5f7 !important;
    box-shadow: none !important;
    display: grid !important;
    place-items: center !important;
  }

  .header-search [data-icon],
  .header-search .icon {
    width: 23px !important;
    height: 23px !important;
    color: #76808d !important;
  }

  .header-search input {
    width: 1px !important;
    min-width: 1px !important;
    opacity: 0 !important;
    pointer-events: auto !important;
    font-size: 16px !important;
  }

  .header-search:focus-within,
  .header-search.is-open {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    height: 48px !important;
    min-width: 0 !important;
    padding: 0 44px 0 16px !important;
    border-radius: 17px !important;
    background: #f1f5f9 !important;
    display: flex !important;
    justify-content: flex-start !important;
  }

  .header-search:focus-within input,
  .header-search.is-open input {
    width: 100% !important;
    min-width: 0 !important;
    opacity: 1 !important;
  }

  .header-search__clear {
    right: 12px !important;
    width: 28px !important;
    height: 28px !important;
  }

  .header-search__results {
    position: fixed !important;
    top: calc(118px + env(safe-area-inset-top)) !important;
    left: 10px !important;
    right: 10px !important;
    width: auto !important;
    max-height: min(62dvh, 520px) !important;
    overflow-y: auto !important;
    border-radius: 22px !important;
    z-index: 280 !important;
  }

  .home-page--template {
    padding-top: 8px !important;
  }

  .home-page--template .sponsor-stage {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 0 14px !important;
    border-radius: 22px !important;
  }

  .home-page--template .sponsor-stage__viewport {
    min-height: 0 !important;
    aspect-ratio: 1 / 1.22 !important;
    border-radius: 22px !important;
  }

  .home-page--template .sponsor-stage__copy {
    left: 18px !important;
    right: 18px !important;
    bottom: 18px !important;
    max-width: calc(100% - 36px) !important;
    gap: 8px !important;
  }

  .home-page--template .sponsor-stage__copy h2 {
    max-width: 92% !important;
    font-size: clamp(31px, 10vw, 42px) !important;
    font-weight: 650 !important;
    line-height: 0.96 !important;
    letter-spacing: -0.06em !important;
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 4 !important;
  }

  .home-page--template .sponsor-stage__copy p {
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
  }

  .home-page--template .feed-section,
  .feed-section,
  .person-section,
  .detail-flow > section {
    margin-top: 14px !important;
    margin-bottom: 0 !important;
  }

  .home-page--template .feed-section + .feed-section,
  .feed-section + .feed-section {
    margin-top: 16px !important;
  }

  .section-heading,
  .section-heading--controls,
  .section-heading--action {
    margin-bottom: 8px !important;
    gap: 4px !important;
  }

  .section-heading h2,
  .section-heading__title-link {
    font-size: clamp(30px, 9vw, 38px) !important;
    line-height: 0.96 !important;
    letter-spacing: -0.06em !important;
  }

  .section-heading p {
    margin-top: 3px !important;
    font-size: 13px !important;
    line-height: 1.15 !important;
  }

  .programme-calendar {
    margin: 0 0 10px !important;
    padding: 0 !important;
  }

  .programme-calendar__head {
    margin: 0 0 6px !important;
  }

  .range-button {
    min-height: 38px !important;
    padding: 0 12px !important;
    border-radius: 13px !important;
    font-size: 12px !important;
  }

  .day-rail {
    gap: 8px !important;
    padding-bottom: 0 !important;
  }

  .day-pill {
    width: 54px !important;
    min-width: 54px !important;
    min-height: 70px !important;
    padding: 8px 6px !important;
    border-radius: 16px !important;
  }

  .day-pill strong {
    font-size: 24px !important;
    line-height: 1 !important;
  }

  .home-page--template .event-tile-grid,
  .home-page--template .poster-rail,
  .home-page--template .workshop-list,
  .home-page--template .theatre-grid,
  .search-result-list {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .rail-viewport {
    overflow: visible !important;
  }

  .rail-controls,
  .heading-controls {
    display: none !important;
  }

  .event-card,
  .event-card--tile,
  .event-card--wide,
  .event-card--poster,
  .event-card--workshop {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .event-card__media {
    width: 100% !important;
    aspect-ratio: 364 / 243 !important;
    height: auto !important;
    border-radius: 20px !important;
  }

  .event-card__copy {
    padding: 9px 2px 0 !important;
    gap: 3px !important;
  }

  .event-card__copy h3 {
    margin: 0 !important;
    font-size: clamp(24px, 7.4vw, 32px) !important;
    font-weight: 520 !important;
    line-height: 1.02 !important;
    letter-spacing: -0.055em !important;
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
  }

  .event-card__meta {
    margin-top: 3px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 4px 8px !important;
    align-items: baseline !important;
  }

  .event-card__date,
  .event-card__venue {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 14px !important;
    line-height: 1.12 !important;
  }

  .event-card__venue {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  .event-card__bottom {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    align-self: center !important;
  }

  .event-card__price {
    font-size: 15px !important;
    font-weight: 580 !important;
    white-space: nowrap !important;
  }

  .search-page {
    padding-top: 8px !important;
  }

  .search-page__header {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    border: 0 !important;
  }

  .search-page__header h1 {
    font-size: clamp(28px, 9vw, 36px) !important;
    line-height: 0.98 !important;
  }

  .search-page__header p {
    margin-top: 3px !important;
    font-size: 13px !important;
    line-height: 1.15 !important;
  }

  .search-filter-shell {
    display: flex !important;
    gap: 8px !important;
    width: 100% !important;
    overflow-x: auto !important;
    padding: 0 0 2px !important;
    scrollbar-width: none !important;
  }

  .search-filter-shell::-webkit-scrollbar {
    display: none !important;
  }

  .search-filter-panel,
  .search-quick-chip {
    flex: 0 0 auto !important;
  }

  .search-filter-panel > summary,
  .search-quick-chip {
    min-height: 48px !important;
    border: 0 !important;
    border-radius: 18px !important;
    padding: 0 18px !important;
    background: #f3f4f6 !important;
    color: #0f1217 !important;
    font: inherit !important;
    font-size: 18px !important;
    font-weight: 570 !important;
    letter-spacing: -0.03em !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    white-space: nowrap !important;
  }

  .search-filter-panel > summary {
    background: #050505 !important;
    color: #fff !important;
  }

  .search-filter-panel > summary b {
    width: 28px !important;
    height: 28px !important;
    display: inline-grid !important;
    place-items: center !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #050505 !important;
    font-size: 15px !important;
    font-weight: 650 !important;
  }

  .search-filter-panel > summary b:empty::before {
    content: "0";
  }

  .search-filter-panel > summary .icon,
  .search-quick-chip .icon {
    width: 20px !important;
    height: 20px !important;
    opacity: 0.75 !important;
  }

  .search-quick-chip.is-active {
    background: #050505 !important;
    color: #fff !important;
  }

  .search-filter-form {
    top: calc(122px + env(safe-area-inset-top)) !important;
    left: 10px !important;
    right: 10px !important;
    padding: 12px !important;
    border-radius: 20px !important;
  }

  .search-results__bar {
    margin: 0 0 8px !important;
  }

  .search-results__bar h2 {
    font-size: 24px !important;
    line-height: 1 !important;
  }

  .search-event-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    height: auto !important;
    min-height: 0 !important;
    gap: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .search-event-row__media {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 364 / 243 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
  }

  .search-event-row__image,
  .search-event-row__media .image-fallback {
    width: 100% !important;
    height: 100% !important;
    border-radius: inherit !important;
  }

  .search-event-row__copy {
    min-height: 0 !important;
    padding: 9px 2px 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 3px 8px !important;
    align-content: start !important;
  }

  .search-event-row__category,
  .search-event-row__copy p {
    display: none !important;
  }

  .search-event-row__copy h2 {
    grid-column: 1 / -1 !important;
    margin: 0 !important;
    font-size: clamp(24px, 7.4vw, 32px) !important;
    font-weight: 520 !important;
    line-height: 1.02 !important;
    letter-spacing: -0.055em !important;
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
  }

  .search-event-row__facts {
    grid-column: 1 !important;
    display: grid !important;
    gap: 2px !important;
    min-width: 0 !important;
    margin-top: 3px !important;
    color: #8b95a1 !important;
    font-size: 14px !important;
    font-weight: 450 !important;
    line-height: 1.12 !important;
  }

  .search-event-row__facts span {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .search-event-row__copy strong {
    grid-column: 2 !important;
    grid-row: 2 !important;
    align-self: center !important;
    margin: 0 !important;
    color: #4f555d !important;
    font-size: 15px !important;
    font-weight: 580 !important;
    white-space: nowrap !important;
  }

  .search-event-row__save {
    top: 12px !important;
    right: 12px !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
  }
}

/* SHYNE icon set and a real city selector. */
.dock-icon--brand {
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
}

.dock-icon--brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.city-picker {
  position: relative;
  min-width: 0;
}

.city-chip {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.city-chip:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 4px;
  border-radius: 10px;
}

.city-picker__menu {
  position: absolute;
  z-index: 80;
  top: calc(100% + 12px);
  right: 0;
  width: min(280px, calc(100vw - 24px));
  padding: 8px;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.16);
}

.city-picker__menu[hidden] {
  display: none;
}

.city-picker__menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 520;
  text-align: left;
  cursor: pointer;
}

.city-picker__menu button:hover,
.city-picker__menu button:focus-visible {
  background: #f1f5f9;
  outline: none;
}

.city-picker__menu button[aria-checked="true"] {
  color: var(--signal);
  background: var(--signal-pale);
}

.city-picker__menu button[aria-checked="true"]::after {
  content: "✓";
}

@media (max-width: 760px) {
  .city-picker__menu {
    position: fixed;
    top: 66px;
    right: 12px;
  }
}

body {
  background: #fff;
  background-image: none;
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}

.site-header {
  height: 92px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--rule);
}

.site-header__inner {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) minmax(380px, 560px) minmax(330px, 1fr);
  gap: 34px;
  width: var(--page);
  height: 100%;
  margin: 0 auto;
  align-items: center;
}

.wordmark {
  gap: 12px;
  letter-spacing: 0;
}

.wordmark__image {
  display: block;
  width: 130px;
  height: 48px;
  object-fit: contain;
}

.wordmark__mark {
  width: 42px;
  height: 42px;
  overflow: hidden;
  background: transparent;
  border-radius: 8px;
  transform: none;
}

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

.wordmark__copy strong {
  display: block;
  color: var(--ink);
  font-size: 19px;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
}

.wordmark__copy small {
  display: block;
  margin-top: 2px;
  color: #5f6975;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0;
}

.header-search {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  min-width: 0;
  height: 52px;
  padding: 0 22px;
  color: #68717c;
  background: #f0f2f4;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 650;
  text-decoration: none;
}

.header-search:hover,
.header-search.is-active {
  color: var(--signal);
  background: var(--signal-pale);
  border-color: #bad8f5;
}

.header-search .icon,
.city-chip .icon,
.header-tickets .icon,
.header-profile .icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
}

.city-chip,
.header-tickets {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: max-content;
  color: var(--ink);
  font-size: 15px;
  font-weight: 780;
  text-decoration: none;
}

.city-chip::before {
  display: none;
}

.header-profile {
  width: 44px;
  height: 44px;
  color: var(--signal);
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 50%;
}

.home-page--template.page-frame {
  width: var(--page);
}

.home-page--template {
  padding-top: 28px;
  padding-bottom: 110px;
  --party-accent: var(--signal);
  --concert-accent: var(--signal);
  --theatre-accent: var(--signal);
  --workshop-accent: var(--signal);
}

.home-page--template .sponsor-stage {
  height: 500px;
  margin: 0 0 58px;
  border-radius: 8px;
}

.home-page--template .sponsor-stage__viewport,
.home-page--template .sponsor-stage__track,
.home-page--template .sponsor-slide,
.home-page--template .sponsor-slide__image {
  height: 500px;
}

.home-page--template .sponsor-slide__copy {
  bottom: 46px;
  left: 46px;
}

.home-page--template .sponsor-slide__copy h2 {
  max-width: 820px;
  color: #fff;
  font-size: 56px;
  line-height: 0.96;
  letter-spacing: 0;
}

.home-page--template .sponsor-slide__copy p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
}

.home-page--template .feed-section {
  margin-top: 66px;
}

.home-page--template .section-heading,
.home-page--template .section-heading--controls,
.home-page--template .section-heading--action {
  width: 100%;
  margin: 0 0 28px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 0;
}

.home-page--template .section-heading h2 {
  color: var(--ink);
  font-size: 46px;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
}

.home-page--template .section-heading p {
  margin-top: 8px;
  color: var(--catalogue-muted);
  font-size: 15px;
  font-weight: 560;
}

.section-show-all,
.home-page--template .section-show-all,
.home-page--template .text-action {
  min-height: 48px;
  padding: 0 18px;
  color: var(--ink);
  background: #f0f3f6;
  border: 0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0;
}

.section-show-all .icon {
  width: 18px;
  height: 18px;
}

.home-page--template .programme-calendar {
  padding: 0 0 30px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.home-page--template .programme-calendar__head {
  min-height: 34px;
  padding: 0 0 12px;
}

.home-page--template .programme-calendar__head > span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.home-page--template .programme-calendar .range-button {
  min-height: 36px;
  padding: 0 12px;
  color: var(--signal);
  background: transparent;
  border: 1px solid #b8d5f1;
  border-radius: 8px;
  font-weight: 780;
}

.home-page--template .day-rail {
  gap: 0;
  padding: 0;
  background: #fff;
  border-top: 1px solid #d8e3ee;
  border-bottom: 1px solid #d8e3ee;
}

.home-page--template .day-pill,
.home-page--template .day-pill.is-active {
  width: 76px;
  min-width: 76px;
  min-height: 82px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.home-page--template .day-pill:hover {
  color: var(--signal);
  background: #f6f9fc;
}

.home-page--template .day-pill.is-active {
  color: #fff;
  background: var(--signal);
}

.home-page--template .day-pill.is-active span,
.home-page--template .day-pill.is-active strong,
.home-page--template .day-pill.is-active small {
  color: #fff;
}

.home-page--template .day-pill strong {
  color: var(--ink);
  font-size: 30px;
  font-weight: 900;
  line-height: 0.95;
}

.home-page--template .day-pill span,
.home-page--template .day-pill small {
  color: #7a8490;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0;
}

.event-card,
.event-card--search,
.home-page--template .event-card,
.home-page--template .theatre-grid .event-card,
.home-page--template .poster-rail .event-card,
.home-page--template .workshop-list .event-card {
  --event-accent: var(--signal);
  --event-tint: var(--signal-pale);
  position: relative;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.event-card__media,
.event-card--search .event-card__media,
.home-page--template .event-card__media {
  overflow: hidden;
  background: var(--paper-deep);
  border-radius: 8px;
}

.event-card__image,
.image-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-card__copy,
.event-card--search .event-card__copy,
.home-page--template .event-card__copy,
.home-page--template .theatre-grid .event-card__copy,
.home-page--template .poster-rail .event-card__copy,
.home-page--template .workshop-list .event-card__copy {
  display: block;
  min-height: 0;
  padding: 14px 0 0;
  background: transparent;
}

.event-card__foot {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin: 0 0 10px;
  padding: 0;
  color: var(--catalogue-muted);
  font-size: 13px;
}

.event-card__foot strong {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  color: #3a4048;
  background: #eef2f6;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.event-card__age {
  color: #7b8490;
  font-size: 12px;
  font-weight: 700;
}

.event-card__type {
  display: none;
}

.home-page--template .event-card__copy h3,
.event-card__copy h3 {
  display: -webkit-box;
  min-height: 54px;
  margin: 0 0 9px;
  overflow: hidden;
  color: var(--ink);
  font-size: 24px;
  font-weight: 890;
  line-height: 1.12;
  letter-spacing: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.event-card__date {
  display: block;
  margin: 0 0 5px;
  color: #737d89;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.event-card__venue {
  display: block;
  margin: 0;
  color: #737d89;
  font-size: 16px;
  font-weight: 540;
  line-height: 1.35;
}

.event-card__venue .icon {
  display: none;
}

.home-page--template .event-tile-grid,
.home-page--template .poster-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  overflow: visible;
}

.home-page--template .event-tile-grid .event-card,
.home-page--template .poster-rail .event-card {
  min-width: 0;
  min-height: 0;
}

.home-page--template .event-tile-grid .event-card__media,
.home-page--template .poster-rail .event-card__media,
.home-page--template .poster-rail .event-card--poster .event-card__media {
  width: 100%;
  height: auto;
  flex-basis: auto;
  aspect-ratio: 1.52 / 1;
}

.home-page--template .theatre-programme,
.home-page--template .party-programme,
.home-page--template .workshop-programme {
  padding: 42px 0 0;
  color: var(--ink);
  background: transparent;
  border-top: 2px solid var(--ink);
  border-radius: 0;
}

.home-page--template .theatre-programme .section-heading h2 {
  font-size: 50px;
}

.home-page--template .culture-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 430px);
  gap: 42px;
  align-items: start;
}

.home-page--template .theatre-carousel {
  position: relative;
  min-width: 0;
}

.home-page--template .theatre-grid {
  display: flex !important;
  grid-template-columns: none;
  gap: 18px;
  min-width: 0;
  padding: 0 0 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.home-page--template .theatre-grid::-webkit-scrollbar {
  display: none;
}

.home-page--template .theatre-grid .event-card {
  flex: 0 0 calc((100% - 36px) / 3);
  min-width: 220px;
  min-height: 0;
  scroll-snap-align: start;
}

.home-page--template .theatre-grid .event-card__media,
.home-page--template .theatre-grid .event-card--theatre .event-card__media {
  width: 100%;
  height: auto;
  flex-basis: auto;
  aspect-ratio: 1.34 / 1;
}

.home-page--template .theatre-grid .event-card__copy {
  min-height: 0;
}

.home-page--template .theatre-grid .event-card__copy h3 {
  min-height: 46px;
  font-size: 21px;
}

.home-page--template .theatre-grid .event-card__date,
.home-page--template .theatre-grid .event-card__venue {
  font-size: 14px;
}

.rail-arrow {
  position: absolute;
  z-index: 5;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--ink);
  background: #eef2f6;
  border: 0;
  border-radius: 50%;
  box-shadow: none;
  transform: none;
}

.theatre-carousel .rail-arrow {
  top: -78px;
}

.theatre-carousel .rail-arrow--previous {
  right: 62px;
  left: auto;
}

.theatre-carousel .rail-arrow--next {
  right: 0;
  left: auto;
}

.rail-arrow .icon {
  width: 23px;
  height: 23px;
}

.home-page--template .culture-people {
  margin-top: 0;
  padding: 0 0 0 28px;
  border-top: 0;
  border-left: 1px solid var(--rule);
}

.home-page--template .culture-people > header {
  margin-bottom: 22px;
}

.home-page--template .culture-people > header h3 {
  color: var(--ink);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
}

.home-page--template .culture-people > header p {
  margin-top: 7px;
  color: var(--catalogue-muted);
  font-size: 14px;
  font-weight: 560;
}

.home-page--template .culture-people .people-rail {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 18px;
  overflow: visible;
}

.home-page--template .culture-people .person-card {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  align-items: center;
  color: inherit;
}

.home-page--template .culture-people .person-card__image {
  width: 78px;
  height: 78px;
  margin: 0;
  border-radius: 8px;
  filter: none;
}

.home-page--template .culture-people .person-card__name {
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.12;
}

.home-page--template .culture-people .person-card p,
.home-page--template .culture-people .person-card small {
  color: #68727e;
  font-size: 12px;
  line-height: 1.25;
}

.home-page--template .workshop-list {
  display: grid;
  gap: 0;
}

.home-page--template .workshop-list .event-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
}

.home-page--template .workshop-list .event-card:first-child {
  border-top: 0;
}

.home-page--template .workshop-list .event-card__media,
.home-page--template .event-card--workshop .event-card__media {
  width: 100%;
  height: auto;
  aspect-ratio: 1.42 / 1;
}

.home-page--template .workshop-list .event-card__copy {
  padding-top: 4px;
}

.home-page--template .workshop-list .event-card__copy h3 {
  min-height: 0;
  font-size: 26px;
}

.search-page .search-console {
  background: #f4f8fd;
  border-top: 4px solid var(--signal);
}

@media (hover: hover) {
  .event-card:hover {
    transform: none;
    box-shadow: none;
  }

  .event-card:hover .event-card__image {
    transform: scale(1.015);
  }

  .section-show-all:hover,
  .rail-arrow:hover {
    color: #fff;
    background: var(--signal);
  }
}

@media (max-width: 1280px) {
  :root {
    --page: min(1180px, calc(100vw - 48px));
  }

  .site-header__inner {
    grid-template-columns: auto minmax(320px, 1fr) auto;
    gap: 24px;
  }

  .home-page--template .event-tile-grid,
  .home-page--template .poster-rail {
    gap: 22px;
  }

  .home-page--template .culture-layout {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
    gap: 32px;
  }

  .home-page--template .culture-people {
    padding-left: 22px;
  }
}

@media (max-width: 1100px) {
  :root {
    --page: calc(100vw - 40px);
  }

  .site-header__inner {
    grid-template-columns: auto minmax(300px, 1fr) auto;
    gap: 20px;
  }

  .header-actions {
    gap: 16px;
  }

  .header-tickets span:last-child {
    display: none;
  }

  .home-page--template .event-tile-grid,
  .home-page--template .poster-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page--template .culture-layout {
    grid-template-columns: 1fr;
  }

  .home-page--template .culture-people {
    padding: 28px 0 0;
    border-top: 1px solid var(--rule);
    border-left: 0;
  }

  .home-page--template .culture-people .people-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  :root {
    --page: calc(100vw - 28px);
  }

  .site-header {
    height: 64px;
  }

  .site-header__inner {
    grid-template-columns: auto 44px;
    gap: 12px;
    width: var(--page);
  }

  .wordmark__mark {
    width: 36px;
    height: 36px;
  }

  .wordmark__image {
    width: 108px;
    height: 40px;
  }

  .wordmark__copy strong {
    font-size: 16px;
  }

  .wordmark__copy small {
    font-size: 9px;
  }

  .header-search {
    grid-column: 2;
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .header-search > span:last-child,
  .header-actions {
    display: none;
  }

  .home-page--template {
    padding-top: 16px;
  }

  .home-page--template .sponsor-stage,
  .home-page--template .sponsor-stage__viewport,
  .home-page--template .sponsor-stage__track,
  .home-page--template .sponsor-slide,
  .home-page--template .sponsor-slide__image {
    height: 380px;
  }

  .home-page--template .sponsor-stage {
    margin-bottom: 42px;
  }

  .home-page--template .sponsor-slide__copy {
    left: 22px;
    right: 22px;
    bottom: 32px;
  }

  .home-page--template .sponsor-slide__copy h2 {
    font-size: 38px;
  }

  .home-page--template .feed-section {
    margin-top: 46px;
  }

  .home-page--template .section-heading h2,
  .home-page--template .theatre-programme .section-heading h2 {
    font-size: 32px;
  }

  .home-page--template .section-heading {
    gap: 14px;
  }

  .home-page--template .day-pill,
  .home-page--template .day-pill.is-active {
    width: 62px;
    min-width: 62px;
    min-height: 74px;
  }

  .home-page--template .day-pill strong {
    font-size: 25px;
  }

  .home-page--template .event-tile-grid,
  .home-page--template .poster-rail {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .home-page--template .event-tile-grid::-webkit-scrollbar,
  .home-page--template .poster-rail::-webkit-scrollbar {
    display: none;
  }

  .home-page--template .event-tile-grid .event-card,
  .home-page--template .poster-rail .event-card {
    flex: 0 0 min(84vw, 330px);
    min-width: min(84vw, 330px);
  }

  .home-page--template .event-card__copy h3,
  .event-card__copy h3 {
    min-height: 48px;
    font-size: 21px;
  }

  .event-card__date,
  .event-card__venue {
    font-size: 14px;
  }

  .home-page--template .theatre-programme,
  .home-page--template .party-programme,
  .home-page--template .workshop-programme {
    padding-top: 30px;
  }

  .home-page--template .theatre-grid .event-card {
    flex: 0 0 min(72vw, 280px);
    min-width: min(72vw, 280px);
  }

  .theatre-carousel .rail-arrow {
    top: -64px;
    width: 44px;
    height: 44px;
  }

  .theatre-carousel .rail-arrow--previous {
    right: 52px;
  }

  .home-page--template .culture-people .people-rail {
    display: flex !important;
    gap: 14px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .home-page--template .culture-people .people-rail::-webkit-scrollbar {
    display: none;
  }

  .home-page--template .culture-people .person-card {
    flex: 0 0 210px;
    min-width: 210px;
  }

  .home-page--template .workshop-list .event-card {
    display: block;
    padding: 18px 0;
  }

  .home-page--template .workshop-list .event-card__copy {
    padding-top: 14px;
  }

  .home-page--template .workshop-list .event-card__copy h3 {
    font-size: 22px;
  }
}

/* Mobile navigation is intentionally a compact menu, not an app-style dock. */
.mobile-menu-toggle,
.mobile-menu-panel,
.mobile-menu-scrim {
  display: none;
}

.mobile-menu-panel[hidden],
.mobile-menu-scrim[hidden] {
  display: none !important;
}

.section-heading__title-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-align: left;
  cursor: pointer;
}

.section-heading__title-link .icon {
  width: 0.62em;
  height: 0.62em;
  flex: 0 0 auto;
  transition: transform 160ms ease;
}

.section-heading__title-link:hover,
.section-heading__title-link:focus-visible {
  color: var(--signal);
  outline: none;
}

.section-heading__title-link:hover .icon,
.section-heading__title-link:focus-visible .icon {
  transform: translateX(4px);
}

@media (max-width: 820px) {
  body.mobile-menu-open {
    overflow: hidden;
  }

  .site-header__inner {
    grid-template-columns: minmax(0, 1fr) 44px 44px !important;
  }

  .header-search {
    grid-column: 2 !important;
  }

  .mobile-menu-toggle {
    position: relative;
    z-index: 182;
    grid-column: 3;
    width: 44px;
    height: 44px;
    display: grid;
    place-content: center;
    gap: 6px;
    padding: 0;
    border: 1px solid var(--rule);
    border-radius: 50%;
    color: var(--ink);
    background: #fff;
  }

  .mobile-menu-toggle span {
    width: 18px;
    height: 1.5px;
    display: block;
    border-radius: 2px;
    background: currentColor;
    transition: transform 160ms ease;
  }

  .mobile-menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.75px) rotate(45deg);
  }

  .mobile-menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
  }

  .mobile-menu-scrim {
    position: fixed;
    z-index: 178;
    inset: 64px 0 0;
    width: 100%;
    height: calc(100dvh - 64px);
    display: block;
    padding: 0;
    border: 0;
    background: rgba(15, 23, 42, 0.34);
    backdrop-filter: blur(3px);
  }

  .mobile-menu-panel {
    position: fixed;
    z-index: 180;
    top: 72px;
    right: 14px;
    width: min(340px, calc(100vw - 28px));
    max-height: calc(100dvh - 88px);
    display: grid;
    gap: 4px;
    padding: 12px;
    overflow-y: auto;
    border: 1px solid var(--rule);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 26px 80px rgba(15, 23, 42, 0.22);
  }

  .mobile-menu-panel__brand {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 4px 6px 12px;
    border-bottom: 1px solid var(--rule);
  }

  .mobile-menu-panel__brand img {
    width: 36px;
    height: 36px;
    border-radius: 9px;
  }

  .mobile-menu-panel__brand span {
    display: grid;
  }

  .mobile-menu-panel__brand strong {
    font-size: 14px;
    font-weight: 760;
  }

  .mobile-menu-panel__brand small,
  .mobile-menu-panel__cities > span {
    color: var(--catalogue-muted);
    font-size: 10px;
    font-weight: 520;
  }

  .mobile-menu-panel__cities {
    padding: 10px 6px;
    border-bottom: 1px solid var(--rule);
  }

  .mobile-menu-panel__cities > div {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 8px;
  }

  .mobile-menu-panel__cities button {
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid var(--rule);
    border-radius: 999px;
    color: var(--ink);
    background: #fff;
    font-size: 11px;
    font-weight: 560;
  }

  .mobile-menu-panel__cities button[aria-checked="true"] {
    border-color: var(--signal);
    color: var(--signal);
    background: var(--signal-pale);
  }

  .mobile-menu-panel > a {
    min-height: 50px;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    padding: 0 10px;
    border-radius: 11px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 610;
  }

  .mobile-menu-panel > a:hover,
  .mobile-menu-panel > a:focus-visible,
  .mobile-menu-panel > a.is-active {
    color: var(--signal);
    background: var(--signal-pale);
    outline: none;
  }

  .mobile-menu-panel__icon,
  .mobile-menu-panel__icon .icon {
    width: 24px;
    height: 24px;
  }

  .mobile-menu-panel__icon--brand {
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 6px;
  }

  .mobile-menu-panel__icon--brand img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .mobile-dock {
    display: none !important;
  }

  .home-page,
  .home-page--template {
    padding-bottom: 42px !important;
  }

  .home-page--template .section-heading h2,
  .home-page--template .theatre-programme .section-heading h2 {
    max-width: 100%;
  }

  .section-heading__title-link {
    gap: 8px;
  }

  .section-heading__title-link .icon {
    width: 0.58em;
    height: 0.58em;
  }

  body.is-focused .mobile-menu-panel,
  body.is-focused .mobile-menu-scrim,
  body.is-focused .mobile-menu-toggle {
    display: none !important;
  }
}

/* Search stays in context: typing in the header opens compact event results. */
.header-search {
  position: relative;
  overflow: visible !important;
}

.header-search input {
  min-width: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
}

.header-search input::placeholder {
  color: #68717c;
  opacity: 1;
}

.header-search:focus-within,
.header-search.is-open {
  color: var(--signal);
  background: #fff;
  border-color: #bad8f5;
  box-shadow: 0 12px 38px rgba(27, 38, 54, 0.12);
}

.header-search__clear {
  display: none;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #66717e;
  background: #eef2f6;
  font: 500 22px/1 Geologica, sans-serif;
  cursor: pointer;
}

.header-search.is-open .header-search__clear {
  display: inline-grid;
  place-items: center;
}

.header-search__results {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 150;
  width: min(720px, calc(100vw - 40px));
  padding: 8px;
  overflow: hidden;
  border: 1px solid rgba(23, 34, 48, 0.1);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(24, 33, 47, 0.18);
}

.header-search__item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 84px;
  padding: 8px;
  border-radius: 16px;
  color: var(--ink);
  text-decoration: none;
}

.header-search__item:hover,
.header-search__item:focus-visible {
  background: #f3f7fb;
  outline: 0;
}

.header-search__item img,
.header-search__media {
  width: 68px;
  height: 68px;
  border-radius: 12px;
  background: #edf1f4;
  object-fit: cover;
}

.header-search__copy {
  min-width: 0;
}

.header-search__copy strong,
.header-search__copy small,
.header-search__copy > span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-search__copy strong {
  font-size: 16px;
  font-weight: 560;
  letter-spacing: -0.035em;
}

.header-search__copy small,
.header-search__copy > span {
  margin-top: 3px;
  color: #7b8693;
  font-size: 12px;
  font-weight: 400;
}

.header-search__item > b {
  color: #4e5965;
  font-size: 13px;
  font-weight: 560;
  white-space: nowrap;
}

.header-search__all {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  border-radius: 14px;
  color: var(--signal);
  background: var(--signal-pale);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.header-search__empty {
  display: grid;
  gap: 5px;
  padding: 24px;
  color: #7b8693;
  font-size: 13px;
  text-align: center;
}

.header-search__empty img {
  width: 112px;
  max-height: 76px;
  justify-self: center;
  object-fit: contain;
  opacity: 0.56;
}

.header-search__empty strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 560;
}

.state-sheet--illustrated {
  overflow: hidden;
  text-align: center;
}

.empty-state__illustration {
  display: block;
  width: clamp(220px, 29vw, 350px);
  max-height: 235px;
  margin: 0 auto 10px;
  object-fit: contain;
  opacity: 0.78;
}

.empty-state__illustration--organizer {
  width: clamp(180px, 24vw, 280px);
  max-height: 180px;
  opacity: 0.86;
}

@media (max-width: 640px) {
  .empty-state__illustration {
    width: min(260px, 82vw);
    max-height: 190px;
  }

  .empty-state__illustration--organizer {
    width: min(220px, 70vw);
    max-height: 150px;
  }
}

.image-fallback {
  background: #eef1f4 !important;
}

.status-pill--action {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.status-pill--action:hover,
.status-pill--action:focus-visible {
  outline: 2px solid rgba(20, 126, 226, 0.28);
  outline-offset: 2px;
}

.review-submit-dialog {
  position: fixed;
  inset: 0;
  z-index: 1000;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  padding: 20px;
  border: 0;
  background: rgba(18, 24, 32, 0.44);
}

.review-submit-dialog__card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(480px, calc(100vw - 32px));
  padding: 30px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(10, 18, 28, 0.24);
  transform: translate(-50%, -50%);
}

.review-submit-dialog__card h2 {
  margin: 8px 0 10px;
  font-size: 28px;
  font-weight: 620;
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.review-submit-dialog__card p {
  margin: 0;
  color: #687481;
  font-size: 14px;
  line-height: 1.5;
}

.review-submit-dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}

.refund-review-dialog__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.refund-review-dialog__facts div {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #e1e7ee;
  border-radius: 12px;
  background: #f8fafc;
}

.refund-review-dialog__facts dt,
.refund-review-dialog__facts dd {
  margin: 0;
}

.refund-review-dialog__facts dt,
.refund-review-dialog__note > span,
.finance-event-filter > span {
  color: #7a8491;
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.refund-review-dialog__facts dd {
  margin-top: 4px;
  overflow-wrap: anywhere;
  color: #171b22;
  font-size: 14px;
  font-weight: 650;
}

.refund-review-dialog__note,
.finance-event-filter {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.refund-review-dialog__note textarea,
.finance-event-filter select {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1.5px solid #d5dde5;
  border-radius: 12px;
  background: #fbfcfd;
  color: #171b22;
  font: inherit;
  font-size: 15px;
  resize: vertical;
}

.finance-event-filter {
  width: min(420px, 100%);
  margin: 0 0 16px;
}

.organizer-row__lifecycle {
  display: contents;
}

@media (max-width: 820px) {
  .header-search input {
    position: absolute;
    inset: 0;
    opacity: 0;
  }

  .header-search:focus-within input,
  .header-search.is-open input {
    position: fixed;
    top: 70px;
    left: 16px;
    z-index: 160;
    width: calc(100vw - 32px);
    height: 48px;
    padding: 0 48px 0 18px;
    border: 1px solid #bad8f5;
    border-radius: 16px;
    opacity: 1;
    background: #fff;
    box-shadow: 0 12px 38px rgba(27, 38, 54, 0.14);
  }

  .header-search__clear {
    position: fixed;
    top: 77px;
    right: 23px;
    z-index: 170;
  }

  .header-search__results {
    position: fixed;
    top: 126px;
    left: 16px;
    width: calc(100vw - 32px);
    max-height: calc(100dvh - 150px);
    overflow-y: auto;
  }

  .header-search__item {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .header-search__item img,
  .header-search__media {
    width: 58px;
    height: 58px;
  }

  .header-search__item > b {
    grid-column: 2;
    margin-top: -12px;
  }

  .review-submit-dialog__actions {
    flex-direction: column-reverse;
  }

  .review-submit-dialog__actions .button {
    width: 100%;
  }
}

.site-header .wordmark__mark {
  width: 42px;
  height: 42px;
  transform: none;
}

.site-header .wordmark__image {
  width: 130px;
  height: 48px;
}

.home-page--template .event-tile-grid .event-card__copy,
.home-page--template .poster-rail .event-card__copy,
.home-page--template .theatre-grid .event-card__copy,
.home-page--template .workshop-list .event-card__copy {
  padding: 14px 0 0;
}

.home-page--template .event-tile-grid .event-card__foot,
.home-page--template .poster-rail .event-card__foot,
.home-page--template .theatre-grid .event-card__foot,
.home-page--template .workshop-list .event-card__foot {
  margin: 0 0 10px;
  padding: 0;
}

.home-page--template .event-tile-grid .event-card__foot strong,
.home-page--template .poster-rail .event-card__foot strong,
.home-page--template .theatre-grid .event-card__foot strong,
.home-page--template .workshop-list .event-card__foot strong {
  min-height: 28px;
  padding: 0 9px;
  color: #3a4048;
  background: #eef2f6;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 760;
}

.home-page--template .event-tile-grid .event-card__copy h3,
.home-page--template .poster-rail .event-card__copy h3 {
  min-height: 58px;
  margin: 0 0 9px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 780;
  line-height: 1.12;
  letter-spacing: 0;
}

.home-page--template .theatre-grid .event-card__copy h3 {
  min-height: 48px;
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 780;
  line-height: 1.12;
  letter-spacing: 0;
}

.home-page--template .workshop-list .event-card__copy h3 {
  min-height: 0;
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 26px;
  font-weight: 780;
  line-height: 1.12;
  letter-spacing: 0;
}

.home-page--template .event-tile-grid .event-card__date,
.home-page--template .poster-rail .event-card__date,
.home-page--template .workshop-list .event-card__date,
.home-page--template .event-tile-grid .event-card__venue,
.home-page--template .poster-rail .event-card__venue,
.home-page--template .workshop-list .event-card__venue {
  color: #737d89;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
}

.home-page--template .theatre-grid .event-card__date,
.home-page--template .theatre-grid .event-card__venue {
  color: #737d89;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.34;
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 820px) {
  .site-header .wordmark__mark {
    width: 36px;
    height: 36px;
  }

  .site-header .wordmark__image {
    width: 108px;
    height: 40px;
  }

  .home-page--template .event-tile-grid .event-card__copy h3,
  .home-page--template .poster-rail .event-card__copy h3 {
    min-height: 50px;
    font-size: 21px;
  }

  .home-page--template .workshop-list .event-card__copy h3 {
    font-size: 22px;
  }

  .home-page--template .event-tile-grid .event-card__date,
  .home-page--template .poster-rail .event-card__date,
  .home-page--template .workshop-list .event-card__date,
  .home-page--template .event-tile-grid .event-card__venue,
  .home-page--template .poster-rail .event-card__venue,
  .home-page--template .workshop-list .event-card__venue {
    font-size: 14px;
  }
}

.home-page--template .theatre-programme,
.home-page--template .party-programme,
.home-page--template .concert-programme,
.home-page--template .workshop-programme {
  padding-top: 18px;
  background: transparent;
  border-top: 0;
}

.home-page--template .party-programme,
.home-page--template .concert-programme,
.home-page--template .workshop-programme {
  margin-top: 74px;
}

.home-page--template .culture-layout {
  grid-template-columns: minmax(0, 620px) minmax(0, 1fr);
  gap: 34px;
}

.home-page--template .theatre-grid {
  gap: 18px;
  padding-bottom: 10px;
}

.home-page--template .theatre-grid .event-card {
  flex: 0 0 calc((100% - 36px) / 3);
  min-width: 176px;
}

.home-page--template .theatre-grid .event-card__media,
.home-page--template .theatre-grid .event-card--theatre .event-card__media {
  aspect-ratio: 0.72 / 1;
  border-radius: 16px;
}

.home-page--template .theatre-grid .event-card__copy h3 {
  min-height: 68px;
  font-size: 20px;
  line-height: 1.14;
}

.home-page--template .theatre-grid .event-card__foot strong {
  font-size: 13px;
}

.home-page--template .theatre-carousel .rail-arrow {
  top: -70px;
}

.home-page--template .culture-people {
  padding-left: 0;
  border-left: 0;
}

.home-page--template .culture-people .people-rail {
  display: flex !important;
  gap: 18px;
  overflow-x: auto;
  padding: 2px 0 10px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.home-page--template .culture-people .people-rail::-webkit-scrollbar {
  display: none;
}

.home-page--template .culture-people .person-card {
  display: block;
  flex: 0 0 calc((100% - 54px) / 4);
  min-width: 122px;
  scroll-snap-align: start;
}

.home-page--template .culture-people .person-card__image {
  width: 100%;
  height: auto;
  aspect-ratio: 0.76 / 1;
  margin: 0 0 12px;
  border-radius: 16px;
  object-fit: cover;
}

.home-page--template .culture-people .person-card__name {
  font-size: 16px;
  line-height: 1.12;
}

.home-page--template .culture-people .person-card small {
  margin-top: 5px;
  font-size: 12px;
}

.home-page--template .event-tile-grid,
.home-page--template .poster-rail,
.home-page--template .workshop-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  overflow: visible;
}

.home-page--template .event-tile-grid .event-card,
.home-page--template .poster-rail .event-card,
.home-page--template .workshop-list .event-card {
  display: block;
  min-width: 0;
  padding: 0;
  border-top: 0;
}

.home-page--template .event-tile-grid .event-card__media,
.home-page--template .poster-rail .event-card__media,
.home-page--template .poster-rail .event-card--poster .event-card__media,
.home-page--template .workshop-list .event-card__media,
.home-page--template .event-card--workshop .event-card__media {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1.44 / 1;
  border-radius: 20px;
}

.home-page--template .event-card__media::after {
  content: none;
}

.home-page--template .event-card__foot strong {
  min-height: 31px;
  padding: 0 10px;
  color: #353b44;
  background: #eef1f5;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 880;
}

.home-page--template .event-card__age {
  display: none;
}

.home-page--template .event-tile-grid .event-card__copy h3,
.home-page--template .poster-rail .event-card__copy h3,
.home-page--template .workshop-list .event-card__copy h3 {
  min-height: 0;
  margin-bottom: 10px;
  color: #20242b;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.1;
}

.home-page--template .event-tile-grid .event-card__date,
.home-page--template .poster-rail .event-card__date,
.home-page--template .workshop-list .event-card__date,
.home-page--template .event-tile-grid .event-card__venue,
.home-page--template .poster-rail .event-card__venue,
.home-page--template .workshop-list .event-card__venue {
  color: #747b84;
  font-size: 17px;
  font-weight: 560;
}

.home-page--template .workshop-empty {
  max-width: 740px;
  padding: 30px 0 8px;
  border-top: 1px solid var(--rule);
}

.home-page--template .workshop-empty span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 11px;
  color: var(--signal);
  background: var(--signal-pale);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 850;
}

.home-page--template .workshop-empty h3 {
  margin-top: 14px;
  color: var(--ink);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
}

.home-page--template .workshop-empty p {
  max-width: 560px;
  margin-top: 8px;
  color: var(--catalogue-muted);
  font-size: 16px;
  line-height: 1.45;
}

@media (max-width: 1280px) {
  .home-page--template .culture-layout {
    grid-template-columns: minmax(0, 600px) minmax(0, 1fr);
  }

  .home-page--template .event-tile-grid,
  .home-page--template .poster-rail,
  .home-page--template .workshop-list {
    gap: 22px;
  }
}

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

  .home-page--template .culture-people {
    padding-top: 22px;
    border-top: 1px solid var(--rule);
  }

  .home-page--template .event-tile-grid,
  .home-page--template .poster-rail,
  .home-page--template .workshop-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .home-page--template .event-tile-grid,
  .home-page--template .poster-rail,
  .home-page--template .workshop-list {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .home-page--template .workshop-list::-webkit-scrollbar {
    display: none;
  }

  .home-page--template .event-tile-grid .event-card,
  .home-page--template .poster-rail .event-card,
  .home-page--template .workshop-list .event-card {
    flex: 0 0 min(84vw, 330px);
    min-width: min(84vw, 330px);
  }

  .home-page--template .theatre-grid .event-card {
    flex-basis: min(58vw, 220px);
    min-width: min(58vw, 220px);
  }

  .home-page--template .theatre-grid .event-card__copy h3 {
    min-height: 58px;
    font-size: 18px;
  }

  .home-page--template .culture-people .person-card {
    flex-basis: 142px;
    min-width: 142px;
  }

  .home-page--template .event-tile-grid .event-card__copy h3,
  .home-page--template .poster-rail .event-card__copy h3,
  .home-page--template .workshop-list .event-card__copy h3 {
    min-height: 0;
    font-size: 22px;
  }

  .home-page--template .workshop-empty h3 {
    font-size: 26px;
  }
}

/* Final visual polish for the poster-style catalogue. Keep it last on purpose:
   earlier experimental blocks still exist in this file and this layer owns the
   current home-page proportions. */
.home-page--template .culture-layout {
  align-items: start;
  grid-template-columns: minmax(0, 600px) minmax(0, 1fr);
  gap: 42px;
}

.home-page--template .culture-people {
  align-self: start;
  padding-left: 0;
  border-left: 0;
  transform: translateY(-8px);
}

.home-page--template .culture-people > header {
  margin: 0 0 24px;
}

.home-page--template .culture-people > header h3 {
  font-size: 34px;
  font-weight: 860;
  line-height: 1;
}

.home-page--template .culture-people > header p {
  margin-top: 7px;
  font-size: 15px;
  font-weight: 480;
}

.home-page--template .culture-people .people-rail {
  display: grid !important;
  grid-auto-columns: calc((100% - 42px) / 4);
  grid-auto-flow: column;
  grid-template-columns: none;
  grid-template-rows: repeat(2, auto);
  gap: 26px 14px;
  overflow-x: auto;
  padding: 0 0 10px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.home-page--template .culture-people .people-rail::-webkit-scrollbar {
  display: none;
}

.home-page--template .culture-people .person-card {
  display: block;
  min-width: 0;
  color: inherit;
  scroll-snap-align: start;
}

.home-page--template .culture-people .person-card__image {
  width: 100%;
  height: auto;
  aspect-ratio: 0.76 / 1;
  margin: 0 0 11px;
  background: #efe8e1;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(31, 36, 43, 0.08);
  object-fit: cover;
}

.home-page--template .culture-people .person-card__name {
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.12;
}

.home-page--template .culture-people .person-card small {
  margin-top: 5px;
  color: #69737f;
  font-size: 12px;
  font-weight: 460;
  line-height: 1.28;
}

.home-page--template .event-card__copy,
.home-page--template .event-tile-grid .event-card__copy,
.home-page--template .poster-rail .event-card__copy,
.home-page--template .theatre-grid .event-card__copy,
.home-page--template .workshop-list .event-card__copy {
  padding-top: 13px;
}

.home-page--template .event-card__foot,
.home-page--template .event-tile-grid .event-card__foot,
.home-page--template .poster-rail .event-card__foot,
.home-page--template .theatre-grid .event-card__foot,
.home-page--template .workshop-list .event-card__foot {
  margin: 0 0 9px;
}

.home-page--template .event-card__foot strong,
.home-page--template .event-tile-grid .event-card__foot strong,
.home-page--template .poster-rail .event-card__foot strong,
.home-page--template .theatre-grid .event-card__foot strong,
.home-page--template .workshop-list .event-card__foot strong {
  min-height: 28px;
  padding: 0 9px;
  color: #39414a;
  background: #eef2f6;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 650;
}

.home-page--template .event-card__copy h3,
.home-page--template .event-tile-grid .event-card__copy h3,
.home-page--template .poster-rail .event-card__copy h3,
.home-page--template .workshop-list .event-card__copy h3 {
  min-height: 0;
  margin: 0 0 8px;
  color: #20252c;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: 0;
}

.home-page--template .theatre-grid .event-card__copy h3 {
  min-height: 0;
  margin: 0 0 8px;
  color: #20252c;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: 0;
}

.home-page--template .event-card__date,
.home-page--template .event-card__venue,
.home-page--template .event-tile-grid .event-card__date,
.home-page--template .poster-rail .event-card__date,
.home-page--template .workshop-list .event-card__date,
.home-page--template .event-tile-grid .event-card__venue,
.home-page--template .poster-rail .event-card__venue,
.home-page--template .workshop-list .event-card__venue,
.home-page--template .theatre-grid .event-card__date,
.home-page--template .theatre-grid .event-card__venue {
  color: #727c88;
  font-weight: 470;
  letter-spacing: 0;
  text-transform: none;
}

.home-page--template .event-tile-grid .event-card__date,
.home-page--template .poster-rail .event-card__date,
.home-page--template .workshop-list .event-card__date,
.home-page--template .event-tile-grid .event-card__venue,
.home-page--template .poster-rail .event-card__venue,
.home-page--template .workshop-list .event-card__venue {
  font-size: 16px;
  line-height: 1.34;
}

.home-page--template .theatre-grid .event-card__date,
.home-page--template .theatre-grid .event-card__venue {
  font-size: 14px;
  line-height: 1.32;
}

@media (max-width: 1280px) {
  .home-page--template .culture-layout {
    grid-template-columns: minmax(0, 590px) minmax(0, 1fr);
    gap: 36px;
  }

  .home-page--template .culture-people .people-rail {
    grid-auto-columns: calc((100% - 36px) / 4);
    gap: 24px 12px;
  }
}

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

  .home-page--template .culture-people {
    padding-top: 24px;
    border-top: 1px solid var(--rule);
    transform: none;
  }

  .home-page--template .culture-people .people-rail {
    grid-auto-columns: 150px;
  }
}

@media (max-width: 820px) {
  .home-page--template .culture-people > header h3 {
    font-size: 29px;
  }

  .home-page--template .culture-people .people-rail {
    grid-auto-columns: 142px;
    gap: 22px 14px;
  }

  .home-page--template .event-card__copy h3,
  .home-page--template .event-tile-grid .event-card__copy h3,
  .home-page--template .poster-rail .event-card__copy h3,
  .home-page--template .workshop-list .event-card__copy h3 {
    font-size: 21px;
  }
}

:root {
  --page: min(1760px, calc(100vw - 56px));
}

.site-header__inner {
  grid-template-columns: minmax(190px, 1fr) minmax(460px, 680px) minmax(300px, 1fr);
  gap: 38px;
}

.home-page--template.page-frame {
  width: var(--page) !important;
  max-width: var(--page) !important;
}

.home-page--template .upcoming-section .programme-calendar {
  margin: -8px 0 34px;
  padding-bottom: 18px;
}

.home-page--template .upcoming-section .section-heading {
  margin-bottom: 32px;
}

.home-page--template .event-tile-grid,
.home-page--template .poster-rail,
.home-page--template .workshop-list {
  display: grid !important;
  grid-auto-columns: auto;
  grid-auto-flow: row;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px;
  align-items: start;
  overflow: visible;
}

.home-page--template .event-tile-grid .event-card,
.home-page--template .poster-rail .event-card,
.home-page--template .workshop-list .event-card {
  display: flex;
  min-height: 372px;
  flex-direction: column;
}

.home-page--template .event-tile-grid .event-card__media,
.home-page--template .poster-rail .event-card__media,
.home-page--template .poster-rail .event-card--poster .event-card__media,
.home-page--template .workshop-list .event-card__media,
.home-page--template .event-card--workshop .event-card__media {
  aspect-ratio: 1.56 / 1;
  border-radius: 18px;
}

.home-page--template .event-card__copy,
.home-page--template .event-tile-grid .event-card__copy,
.home-page--template .poster-rail .event-card__copy,
.home-page--template .workshop-list .event-card__copy {
  display: flex;
  min-height: 142px;
  flex: 1 1 auto;
  flex-direction: column;
  padding-top: 14px;
}

.home-page--template .event-card__foot,
.home-page--template .event-tile-grid .event-card__foot,
.home-page--template .poster-rail .event-card__foot,
.home-page--template .workshop-list .event-card__foot {
  min-height: 28px;
  margin-bottom: 11px;
}

.home-page--template .event-card__copy h3,
.home-page--template .event-tile-grid .event-card__copy h3,
.home-page--template .poster-rail .event-card__copy h3,
.home-page--template .workshop-list .event-card__copy h3 {
  display: -webkit-box;
  min-height: 52px;
  max-height: 52px;
  overflow: hidden;
  font-size: 22px;
  font-weight: 680;
  line-height: 1.16;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-page--template .event-card__date,
.home-page--template .event-card__venue,
.home-page--template .event-tile-grid .event-card__date,
.home-page--template .poster-rail .event-card__date,
.home-page--template .workshop-list .event-card__date,
.home-page--template .event-tile-grid .event-card__venue,
.home-page--template .poster-rail .event-card__venue,
.home-page--template .workshop-list .event-card__venue {
  font-size: 15px;
  font-weight: 450;
  line-height: 1.3;
}

.home-page--template .poster-rail .event-card__venue,
.home-page--template .event-tile-grid .event-card__venue,
.home-page--template .workshop-list .event-card__venue {
  display: -webkit-box;
  min-height: 20px;
  max-height: 40px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-page--template .culture-layout {
  grid-template-columns: minmax(0, 820px) minmax(0, 1fr);
  gap: 56px;
}

.home-page--template .theatre-grid {
  gap: 20px;
}

.home-page--template .theatre-grid .event-card {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 200px;
}

.home-page--template .theatre-grid .event-card__media,
.home-page--template .theatre-grid .event-card--theatre .event-card__media {
  aspect-ratio: 0.76 / 1;
  border-radius: 18px;
}

.home-page--template .theatre-grid .event-card__copy {
  min-height: 124px;
}

.home-page--template .theatre-grid .event-card__copy h3 {
  display: -webkit-box;
  min-height: 48px;
  max-height: 48px;
  overflow: hidden;
  font-size: 20px;
  font-weight: 680;
  line-height: 1.18;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-page--template .culture-people {
  transform: translateY(-14px);
}

.home-page--template .culture-people .people-rail {
  grid-auto-columns: clamp(112px, 7vw, 126px);
  gap: 24px 14px;
}

.home-page--template .culture-people .person-card__image {
  border-radius: 13px;
}

.home-page--template .culture-people .person-card__name {
  font-size: 15px;
  font-weight: 680;
}

.home-page--template .culture-people .person-card small {
  font-size: 11px;
}

@media (max-width: 1280px) {
  :root {
    --page: calc(100vw - 48px);
  }

  .site-header__inner {
    grid-template-columns: minmax(170px, 1fr) minmax(390px, 620px) minmax(260px, 1fr);
    gap: 26px;
  }

  .home-page--template .event-tile-grid,
  .home-page--template .poster-rail,
  .home-page--template .workshop-list {
    gap: 26px;
  }

  .home-page--template .culture-layout {
    grid-template-columns: minmax(0, 640px) minmax(0, 1fr);
    gap: 34px;
  }

  .home-page--template .theatre-grid .event-card {
    min-width: 188px;
  }

  .home-page--template .culture-people .people-rail {
    grid-auto-columns: 112px;
    gap: 22px 12px;
  }
}

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

  .home-page--template .culture-people {
    transform: none;
  }
}

@media (max-width: 820px) {
  :root {
    --page: calc(100vw - 28px);
  }

  .site-header__inner {
    grid-template-columns: 1fr auto;
    gap: 14px;
  }

  .home-page--template .upcoming-section .programme-calendar {
    margin: 0 0 24px;
    padding-bottom: 14px;
  }

  .home-page--template .event-tile-grid,
  .home-page--template .poster-rail,
  .home-page--template .workshop-list {
    display: flex !important;
    grid-auto-flow: column;
    gap: 18px;
    overflow-x: auto;
  }

  .home-page--template .event-tile-grid .event-card,
  .home-page--template .poster-rail .event-card,
  .home-page--template .workshop-list .event-card {
    min-height: 344px;
    flex: 0 0 min(84vw, 330px);
    min-width: min(84vw, 330px);
  }

  .home-page--template .event-card__copy h3,
  .home-page--template .event-tile-grid .event-card__copy h3,
  .home-page--template .poster-rail .event-card__copy h3,
  .home-page--template .workshop-list .event-card__copy h3 {
    min-height: 48px;
    max-height: 48px;
    font-size: 20px;
  }

  .home-page--template .theatre-grid .event-card {
    flex-basis: min(61vw, 230px);
    min-width: min(61vw, 230px);
  }

  .home-page--template .culture-people .people-rail {
    grid-auto-columns: 132px;
  }
}

:root {
  --font: "Unbounded", "Geologica", "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

html,
body,
button,
input,
select,
textarea {
  font-family: var(--font);
}

.event-card__media {
  position: relative;
  overflow: hidden;
}

.event-card__price {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 3;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 14px;
  color: #3a424d;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(10, 18, 30, 0.14);
  font-size: 17px;
  font-weight: 730;
  line-height: 1;
  white-space: nowrap;
}

.event-card__foot {
  display: none;
}

.home-page--template .event-tile-grid,
.home-page--template .poster-rail,
.home-page--template .workshop-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 30px;
}

.home-page--template .event-tile-grid .event-card,
.home-page--template .poster-rail .event-card,
.home-page--template .workshop-list .event-card {
  min-height: 330px;
}

.home-page--template .event-card__media,
.home-page--template .event-tile-grid .event-card__media,
.home-page--template .poster-rail .event-card__media,
.home-page--template .poster-rail .event-card--poster .event-card__media,
.home-page--template .workshop-list .event-card__media,
.home-page--template .event-card--workshop .event-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.48 / 1;
  border-radius: 22px;
}

.home-page--template .event-card__price {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 3;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 17px;
  color: #3a424d;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(10, 18, 30, 0.14);
  font-size: 20px;
  font-weight: 760;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.home-page--template .event-card__foot,
.home-page--template .event-tile-grid .event-card__foot,
.home-page--template .poster-rail .event-card__foot,
.home-page--template .theatre-grid .event-card__foot,
.home-page--template .workshop-list .event-card__foot {
  display: none;
}

.home-page--template .event-card__copy,
.home-page--template .event-tile-grid .event-card__copy,
.home-page--template .poster-rail .event-card__copy,
.home-page--template .workshop-list .event-card__copy {
  min-height: 112px;
  padding-top: 14px;
}

.home-page--template .event-card__copy h3,
.home-page--template .event-tile-grid .event-card__copy h3,
.home-page--template .poster-rail .event-card__copy h3,
.home-page--template .workshop-list .event-card__copy h3 {
  min-height: 54px;
  max-height: 54px;
  margin-bottom: 9px;
  color: #242a32;
  font-size: 24px;
  font-weight: 760;
  line-height: 1.12;
}

.home-page--template .event-card__date,
.home-page--template .event-card__venue,
.home-page--template .event-tile-grid .event-card__date,
.home-page--template .poster-rail .event-card__date,
.home-page--template .workshop-list .event-card__date,
.home-page--template .event-tile-grid .event-card__venue,
.home-page--template .poster-rail .event-card__venue,
.home-page--template .workshop-list .event-card__venue {
  color: #75808c;
  font-size: 15px;
  font-weight: 430;
  line-height: 1.28;
}

.home-page--template .theatre-grid .event-card__price {
  left: 12px;
  bottom: 12px;
  min-height: 30px;
  padding: 0 11px;
  font-size: 14px;
  font-weight: 700;
}

.home-page--template .theatre-grid .event-card__copy {
  min-height: 110px;
}

@media (max-width: 1440px) {
  .home-page--template .event-tile-grid,
  .home-page--template .poster-rail,
  .home-page--template .workshop-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
  }
}

@media (max-width: 820px) {
  .home-page--template .event-tile-grid,
  .home-page--template .poster-rail,
  .home-page--template .workshop-list {
    display: flex !important;
    gap: 18px;
  }

  .home-page--template .event-tile-grid .event-card,
  .home-page--template .poster-rail .event-card,
  .home-page--template .workshop-list .event-card {
    min-height: 330px;
    flex-basis: min(82vw, 320px);
    min-width: min(82vw, 320px);
  }

  .home-page--template .event-card__price {
    left: 13px;
    bottom: 12px;
    min-height: 34px;
    padding: 0 14px;
    font-size: 17px;
  }

  .home-page--template .event-card__copy h3,
  .home-page--template .event-tile-grid .event-card__copy h3,
  .home-page--template .poster-rail .event-card__copy h3,
  .home-page--template .workshop-list .event-card__copy h3 {
    min-height: 50px;
    max-height: 50px;
    font-size: 22px;
  }
}

/* Final reference lock: loaded after styles.css, so this owns the catalogue look. */
.home-page--template {
  width: min(1440px, calc(100% - 64px));
  max-width: 1440px;
}

.home-page--template .feed-section {
  width: 100%;
}

.home-page--template .section-heading,
.home-page--template .section-heading--action,
.home-page--template .section-heading--controls,
.home-page--template .culture-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 26px;
}

.home-page--template .section-heading h2 {
  margin: 0;
  color: #171b22;
  font-size: clamp(42px, 4.8vw, 58px);
  font-weight: 950;
  line-height: 0.95;
  letter-spacing: 0;
}

.home-page--template .section-heading p {
  margin: 8px 0 0;
  color: #20252d;
  font-size: 15px;
  font-weight: 650;
}

.culture-heading__main {
  flex: 0 1 520px;
  min-width: 0;
}

.culture-heading__people {
  flex: 0 1 360px;
  min-width: 0;
}

.culture-heading__people h3 {
  margin: 0;
  color: #171b22;
  font-size: 34px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
}

.culture-heading__people p {
  margin: 8px 0 0;
  color: #8a94a0;
  font-size: 15px;
  font-weight: 650;
}

.section-show-all {
  min-width: 156px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  background: #f1f4f7;
  color: #171b22;
  font-size: 14px;
  font-weight: 850;
  white-space: nowrap;
}

.home-page--template .event-tile-grid,
.home-page--template .poster-rail,
.home-page--template .workshop-list {
  display: flex !important;
  grid-template-columns: none !important;
  flex-wrap: nowrap;
  gap: 24px;
  padding: 0 0 22px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.home-page--template .event-tile-grid::-webkit-scrollbar,
.home-page--template .poster-rail::-webkit-scrollbar,
.home-page--template .workshop-list::-webkit-scrollbar,
.home-page--template .theatre-grid::-webkit-scrollbar,
.home-page--template .culture-people .people-rail::-webkit-scrollbar {
  display: none;
}

.home-page--template .event-card,
.home-page--template .event-tile-grid .event-card,
.home-page--template .poster-rail .event-card,
.home-page--template .workshop-list .event-card {
  flex: 0 0 370px !important;
  min-width: 370px !important;
  min-height: 334px !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: visible;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  scroll-snap-align: start;
}

.home-page--template .event-card__media,
.home-page--template .event-tile-grid .event-card__media,
.home-page--template .poster-rail .event-card__media,
.home-page--template .poster-rail .event-card--poster .event-card__media,
.home-page--template .workshop-list .event-card__media,
.home-page--template .event-card--workshop .event-card__media {
  position: relative;
  width: 100% !important;
  height: 230px !important;
  flex: 0 0 230px !important;
  overflow: hidden;
  border-radius: 22px !important;
  background: #e8edf2;
  aspect-ratio: auto !important;
}

.home-page--template .event-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-card__save {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #fff;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.42));
}

.event-card__save .icon {
  width: 30px;
  height: 30px;
  stroke-width: 2.4;
}

.home-page--template .event-card__copy,
.home-page--template .event-tile-grid .event-card__copy,
.home-page--template .poster-rail .event-card__copy,
.home-page--template .workshop-list .event-card__copy {
  min-height: 98px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "title title"
    "meta price";
  align-items: end;
  column-gap: 18px;
  row-gap: 4px;
  padding: 18px 6px 0 !important;
  background: transparent !important;
}

.event-card__topline,
.event-card__type,
.home-page--template .event-card__type {
  display: none !important;
}

.home-page--template .event-card__copy h3,
.home-page--template .event-tile-grid .event-card__copy h3,
.home-page--template .poster-rail .event-card__copy h3,
.home-page--template .workshop-list .event-card__copy h3,
.event-card__copy h3 {
  grid-area: title;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  overflow: hidden;
  color: #242a32;
  font-size: 25px !important;
  font-weight: 950 !important;
  line-height: 1.02 !important;
  letter-spacing: 0;
  text-transform: uppercase;
  -webkit-line-clamp: 2;
}

.event-card__meta {
  grid-area: meta;
  min-width: 0;
}

.home-page--template .event-card__date,
.home-page--template .event-tile-grid .event-card__date,
.home-page--template .poster-rail .event-card__date,
.home-page--template .workshop-list .event-card__date {
  display: block;
  margin: 0 0 3px !important;
  color: #87919e !important;
  font-size: 16px !important;
  font-weight: 650 !important;
  line-height: 1.15;
  text-transform: none;
}

.home-page--template .event-card__venue,
.home-page--template .event-tile-grid .event-card__venue,
.home-page--template .poster-rail .event-card__venue,
.home-page--template .workshop-list .event-card__venue {
  margin: 0 !important;
  color: #9aa3ad !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  line-height: 1.15;
}

.event-card__venue span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-card__bottom {
  grid-area: price;
  align-self: end;
  margin: 0 0 2px;
}

.event-card__price,
.home-page--template .event-card__price,
.home-page--template .theatre-grid .event-card__price {
  position: static !important;
  inset: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #5f6064 !important;
  font-size: 17px !important;
  font-weight: 950 !important;
  line-height: 1;
}

.home-page--template .event-card__foot {
  display: none !important;
}

.home-page--template .theatre-programme {
  padding: 34px 0 38px;
  background: #fff;
  border: 0;
}

.home-page--template .culture-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 660px) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.home-page--template .theatre-grid {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 34px;
  padding: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.home-page--template .theatre-grid .event-card {
  flex: 0 0 310px !important;
  min-width: 310px !important;
  min-height: 500px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.home-page--template .theatre-grid .event-card__media,
.home-page--template .theatre-grid .event-card--theatre .event-card__media {
  position: relative;
  height: 410px !important;
  flex: 0 0 410px !important;
  overflow: hidden;
  border-radius: 14px !important;
  background: #e8edf2;
  aspect-ratio: auto !important;
}

.home-page--template .theatre-grid .event-card__copy,
.home-page--template .theatre-grid .event-card--theatre .event-card__copy {
  min-height: 96px !important;
  padding: 18px 4px 0 !important;
  background: transparent !important;
}

.home-page--template .culture-people {
  margin: 0;
  padding: 0;
  border: 0;
  transform: none;
}

.home-page--template .culture-people > header {
  display: none;
}

.home-page--template .culture-people .people-rail {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  grid-auto-flow: row;
  grid-auto-columns: unset;
  gap: 26px 14px;
  padding: 0;
  overflow: visible !important;
}

.home-page--template .culture-people .person-card {
  min-width: 0 !important;
  flex: none !important;
  color: #242a32;
  background: transparent !important;
  box-shadow: none !important;
}

.home-page--template .culture-people .person-card__image {
  width: 100%;
  aspect-ratio: 1 / 1.34;
  height: auto;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  object-fit: cover;
}

.home-page--template .culture-people .person-card__name {
  display: block;
  margin-top: 12px;
  color: #242a32;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.1;
}

.home-page--template .culture-people .person-card small {
  display: block;
  margin-top: 5px;
  color: #8b96a2;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
}

.home-page--template .rail-arrow {
  width: 52px;
  height: 52px;
  border: 0;
  background: #f1f4f7;
  color: #171b22;
  box-shadow: none;
}

.home-page--template .theatre-carousel .rail-arrow {
  top: -72px;
}

.home-page--template .theatre-carousel .rail-arrow--previous {
  left: auto;
  right: -16px;
  transform: translateX(72px);
}

.home-page--template .theatre-carousel .rail-arrow--next {
  right: -16px;
  transform: translateX(136px);
}

.home-page--template .party-programme,
.home-page--template .concert-programme,
.home-page--template .workshop-programme {
  padding: 36px 0 38px;
  background: #fff;
  border: 0;
}

@media (max-width: 1180px) {
  .home-page--template .culture-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-page--template .culture-people .people-rail {
    overflow-x: auto !important;
    grid-auto-flow: column;
    grid-auto-columns: 132px;
    grid-template-columns: none !important;
  }
}

@media (max-width: 820px) {
  .home-page--template {
    width: calc(100% - 24px);
  }

  .home-page--template .section-heading,
  .home-page--template .culture-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .home-page--template .section-heading h2 {
    font-size: 36px;
  }

  .culture-heading__main {
    flex-basis: 100%;
  }

  .culture-heading__people {
    flex: 1 1 180px;
  }

  .culture-heading__people h3 {
    font-size: 26px;
  }

  .home-page--template .event-card,
  .home-page--template .event-tile-grid .event-card,
  .home-page--template .poster-rail .event-card,
  .home-page--template .workshop-list .event-card,
  .home-page--template .theatre-grid .event-card {
    flex-basis: min(84vw, 340px) !important;
    min-width: min(84vw, 340px) !important;
    min-height: 320px !important;
  }

  .home-page--template .event-card__media,
  .home-page--template .event-tile-grid .event-card__media,
  .home-page--template .poster-rail .event-card__media,
  .home-page--template .workshop-list .event-card__media,
  .home-page--template .theatre-grid .event-card__media,
  .home-page--template .theatre-grid .event-card--theatre .event-card__media {
    height: 210px !important;
    flex-basis: 210px !important;
    border-radius: 18px !important;
  }

  .home-page--template .rail-arrow {
    display: none;
  }
}

/* Cultural section reference geometry: two theatre cards + a 4 by 2 cast grid. */
@media (min-width: 1280px) {
  .home-page--template .theatre-programme {
    position: relative;
    transform: translateX(20px);
  }

  .home-page--template .culture-heading {
    display: grid !important;
    grid-template-columns: 620px 504px;
    column-gap: 52px;
    align-items: end;
    margin-bottom: 42px;
  }

  .home-page--template .culture-heading__main h2 {
    font-size: 58px !important;
  }

  .home-page--template .culture-heading__main {
    grid-column: 1;
    grid-row: 1;
  }

  .home-page--template .culture-heading__people {
    grid-column: 2;
    grid-row: 1;
    width: min(100%, 360px);
    align-self: end;
  }

  .home-page--template .culture-heading__people h3 {
    font-size: 40px;
  }

  .home-page--template .culture-heading__people p {
    color: #8a94a0 !important;
  }

  .home-page--template .culture-heading .section-show-all {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: end;
    margin-right: 5px;
  }

  .home-page--template .culture-layout {
    grid-template-columns: 620px 504px !important;
    gap: 52px !important;
  }

  .home-page--template .theatre-grid {
    gap: 24px;
  }

  .home-page--template .theatre-grid .event-card {
    flex-basis: 298px !important;
    min-width: 298px !important;
    min-height: 480px !important;
  }

  .home-page--template .theatre-grid .event-card__media,
  .home-page--template .theatre-grid .event-card--theatre .event-card__media {
    height: 390px !important;
    flex-basis: 390px !important;
  }

  .home-page--template .culture-people .people-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 26px 14px;
  }

  .home-page--template .culture-people .person-card:nth-child(n + 7) {
    display: none !important;
  }

  .home-page--template .culture-people .person-card__name {
    font-size: 17px;
  }

  .home-page--template .culture-people .person-card small {
    font-size: 13px;
  }

  .home-page--template .theatre-carousel .rail-arrow {
    top: -52px !important;
    transform: none !important;
  }

  .home-page--template .theatre-carousel .rail-arrow--previous {
    left: auto !important;
    right: 48px !important;
  }

  .home-page--template .theatre-carousel .rail-arrow--next {
    left: auto !important;
    right: -12px !important;
  }
}

.home-page--template .event-card__copy h3,
.home-page--template .event-tile-grid .event-card__copy h3,
.home-page--template .poster-rail .event-card__copy h3,
.home-page--template .workshop-list .event-card__copy h3 {
  font-family: "Unbounded", "Geologica", "Helvetica Neue", sans-serif;
  font-weight: 700 !important;
}

/* ────────────────────────────────────────────────────────────────
   Auth modal + header login button + calendar month label (2026-08-24)
   ──────────────────────────────────────────────────────────────── */

/* «Войти» в шапке: мягкая нейтральная кнопка в одну строку. */
.header-profile--login {
  width: auto;
  gap: 8px;
  min-width: 0;
  height: 40px;
  padding: 0 16px 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(23, 27, 34, 0.55);
  border-radius: 999px;
  color: #171b22;
  font-size: 13.5px;
  font-weight: 750;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.header-profile--login .icon {
  width: 17px;
  height: 17px;
  color: inherit;
}

.header-profile--login:hover {
  background: #171b22;
  border-color: #171b22;
  color: #f6f2ec;
  transform: translateY(-1px);
}

/* Модальное окно входа/регистрации. */
.auth-dialog {
  width: min(460px, calc(100vw - 28px));
  overflow: hidden;
}

.auth-dialog[open] {
  animation: auth-pop 0.24s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

@keyframes auth-pop {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-dialog__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
}

.auth-dialog__brand {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px 28px 20px;
  border-bottom: 1px solid #dfe6ee;
}

.auth-dialog__mark {
  width: 46px;
  height: 60px;
  object-fit: contain;
  flex: 0 0 auto;
}

.auth-dialog__brand .eyebrow {
  color: #87919e;
}

.auth-dialog__brand h2 {
  margin: 2px 0 0;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.05;
}

.auth-dialog__body {
  padding: 20px 28px 26px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border: 1px solid #dfe6ee;
  border-radius: 12px;
  background: #f1f4f7;
}

.auth-tab {
  min-height: 38px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #5f6064;
  font-family: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.auth-tab.is-active {
  background: #fff;
  color: #171b22;
  box-shadow: 0 2px 8px rgba(23, 27, 34, 0.1);
}

.auth-dialog__sub {
  margin: 14px 2px 4px;
  color: #6b7683;
  font-size: 13.5px;
  line-height: 1.4;
}

.auth-dialog .auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
}

.auth-dialog .auth-field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-dialog .auth-field > span {
  color: #3d4552;
  font-size: 12.5px;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.auth-dialog .auth-field input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1.5px solid #d5dde5;
  border-radius: 12px;
  background: #fbfcfd;
  color: #171b22;
  font-family: inherit;
  font-size: 15.5px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.auth-dialog .auth-field input::placeholder {
  color: #a7b0ba;
}

.auth-dialog .auth-field input:focus {
  outline: none;
  border-color: #171b22;
  box-shadow: 0 0 0 3px rgba(23, 27, 34, 0.08);
}

.auth-dialog .auth-field--password input {
  padding-right: 52px;
}

.auth-peek {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #87919e;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.auth-peek:hover {
  background: #eef2f6;
  color: #171b22;
}

.auth-peek .icon {
  width: 19px;
  height: 19px;
}

.auth-dialog .auth-submit {
  margin-top: 6px;
  min-height: 52px;
  font-size: 16px;
}

.auth-demo {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed #d5dde5;
}

.auth-demo > p {
  margin: 0 0 10px;
  color: #87919e;
  font-size: 12.5px;
  font-weight: 700;
}

.auth-demo__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.auth-demo__chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #d5dde5;
  border-radius: 12px;
  background: #fbfcfd;
  color: #171b22;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.auth-demo__chip:hover {
  border-color: #171b22;
  background: #fff;
  transform: translateY(-1px);
}

.auth-demo__chip .icon {
  width: 20px;
  height: 20px;
  color: #5f6064;
  flex: 0 0 auto;
}

.auth-demo__chip strong {
  display: block;
  font-size: 13.5px;
  font-weight: 850;
  line-height: 1.15;
}

.auth-demo__chip small {
  display: block;
  margin-top: 2px;
  color: #87919e;
  font-size: 11.5px;
  line-height: 1.2;
}

.auth-dialog .inline-error {
  margin: 0;
}

/* Заголовок месяца календаря: мягкая смена при скролле ленты дат. */
.programme-calendar__head [data-month-label] {
  display: inline-block;
}

.programme-calendar__head [data-month-label].is-month-flip {
  animation: month-flip 0.32s ease;
}

@keyframes month-flip {
  0% { opacity: 0.2; transform: translateY(-6px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ────────────────────────────────────────────────────────────────
   Like button on cards: one solid chip, no drop-shadow ghosting,
   clickable, fills when active (2026-08-24d).
   ──────────────────────────────────────────────────────────────── */
.event-card__save {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 6;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #2a323d;
  cursor: pointer;
  filter: none;
  box-shadow: 0 4px 14px rgba(23, 27, 34, 0.18);
  transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.event-card__save:hover {
  transform: scale(1.08);
  background: #fff;
}

.event-card__save:active {
  transform: scale(0.92);
}

.event-card__save .icon {
  width: 20px;
  height: 20px;
  stroke-width: 2;
  fill: none;
  transition: fill 0.16s ease;
}

.event-card__save.is-active {
  background: #fff;
  color: #e0356d;
}

.event-card__save.is-active .icon {
  fill: currentColor;
}

/* ────────────────────────────────────────────────────────────────
   Wider sponsor stage, big theatre titles, button-like rail arrows,
   organizer cabinet typography (2026-08-24e).
   ──────────────────────────────────────────────────────────────── */
@media (min-width: 1181px) {
  /* Спонсорский блок: размеры полностью оригинальные (styles.css). */

  /* Главный текст слайда — у левого нижнего угла, не по центру. */
  .home-page--template .sponsor-slide__copy {
    justify-content: flex-end !important;
    align-items: flex-start !important;
    text-align: left !important;
    padding: 0 36px 34px 36px !important;
  }

  .home-page--template .sponsor-slide__copy h2 {
    font-size: clamp(34px, 3.4vw, 54px) !important;
    line-height: 1.0 !important;
    text-align: left !important;
  }

  .home-page--template .sponsor-slide__venue {
    margin-bottom: 10px !important;
  }

  /* Названия спектаклей в «Культурном досуге» — крупнее в разы. */
  .home-page--template .theatre-grid .event-card__copy h3 {
    font-size: clamp(28px, 2.6vw, 40px) !important;
    line-height: 1.02 !important;
  }
}

/* Стрелки листания — той же формы и высоты, что кнопка «Все концерты». */
.home-page--template .section-heading .rail-arrow {
  width: 42px !important;
  min-width: 42px !important;
  height: 42px !important;
  border: 1px solid #c7d7e8 !important;
  border-radius: 9px !important;
  background: #f1f5f8 !important;
  color: #171b22 !important;
}

/* Кабинет организатора: крупные заголовки разделов, компактная шапка. */
.organizer-panel .section-heading h2 {
  font-size: clamp(30px, 2.6vw, 40px) !important;
  line-height: 1.04 !important;
}

.organizer-panel .section-heading p {
  font-size: 14.5px;
}

.organizer-hero {
  padding: 18px 0 14px !important;
  margin-bottom: 12px !important;
}

.organizer-hero h1 {
  font-size: 28px !important;
  line-height: 1.05 !important;
}

.organizer-hero p {
  max-width: 560px;
  font-size: 13.5px !important;
  margin-top: 6px !important;
}

.organizer-hero__actions {
  margin-top: 10px !important;
}

.organizer-kpis {
  margin-top: 6px;
}

/* ────────────────────────────────────────────────────────────────
   Редактор события в кабинете организатора (2026-08-24g)
   ──────────────────────────────────────────────────────────────── */
.org-editor {
  width: min(1280px, calc(100vw - 24px));
  height: min(92vh, 1020px);
  max-height: none;
  overflow: hidden;
}

.org-editor[open] {
  animation: auth-pop 0.24s cubic-bezier(0.2, 0.9, 0.3, 1.1);
}

.org-editor__head {
  padding: 20px 30px 0;
  border-bottom: 1px solid #dfe6ee;
}

.org-editor__head h2 {
  margin: 2px 0 0;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.05;
}

.org-editor__head p {
  margin: 6px 0 0;
  color: #6b7683;
  font-size: 13px;
}

/* Вкладки редактора. */
.org-tabs {
  display: flex;
  gap: 4px;
  margin-top: 14px;
  overflow-x: auto;
  scrollbar-width: none;
}

.org-tab {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #5f6064;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.org-tab:hover {
  color: #171b22;
}

.org-tab.is-active {
  color: #171b22;
  border-bottom-color: #171b22;
}

.org-editor__panel {
  display: none;
}

.org-editor__panel.is-active {
  display: block;
}

.org-editor__body {
  height: calc(100% - 118px);
  overflow-y: auto;
  padding: 18px 30px 12px;
}

/* Кнопки сохранения всегда на виду: липкая нижняя строка. */
.org-editor__actions {
  position: sticky;
  bottom: -12px;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 0 4px;
  margin-top: 8px;
  background: #fff;
  border-top: 1px solid #dfe6ee;
}

.org-editor__section h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.org-editor__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px 14px;
  margin-bottom: 12px;
}

.org-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.org-field > span {
  color: #3d4552;
  font-size: 12px;
  font-weight: 750;
}

.org-field input,
.org-field select,
.org-field textarea,
.org-ticket-row input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1.5px solid #d5dde5;
  border-radius: 10px;
  background: #fbfcfd;
  color: #171b22;
  font-family: inherit;
  font-size: 14px;
}

.org-field textarea {
  padding: 10px 12px;
  resize: vertical;
  line-height: 1.45;
}

.org-field input:focus,
.org-field select:focus,
.org-field textarea:focus,
.org-ticket-row input:focus {
  outline: none;
  border-color: #171b22;
  box-shadow: 0 0 0 3px rgba(23, 27, 34, 0.07);
}

.org-editor__tickets {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.org-ticket-row {
  display: grid;
  grid-template-columns: minmax(140px, 1.6fr) 90px 90px 180px 38px;
  gap: 8px;
  align-items: center;
}

.org-ticket-row--head {
  color: #87919e;
  font-size: 11.5px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.org-editor__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid #dfe6ee;
}

/* Категории: чипы + зависимые секции. */
.org-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.org-cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1.5px solid #d5dde5;
  border-radius: 999px;
  background: #fbfcfd;
  color: #3d4552;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.org-cat .icon {
  width: 17px;
  height: 17px;
}

.org-cat:hover {
  border-color: #9aa8b6;
}

.org-cat.is-active {
  border-color: #171b22;
  background: #171b22;
  color: #f6f2ec;
}

.org-cat-note {
  margin: 0 0 12px;
  color: #87919e;
  font-size: 12.5px;
  font-weight: 650;
}

.org-editor [data-depends] {
  display: none;
}

.org-editor [data-depends].is-active {
  display: block;
}

.org-field__hint {
  color: #98a2ad;
  font-size: 11.5px;
  line-height: 1.25;
}

/* Афиши: сетка слотов, у каждого своя картинка и область показа. */
.org-poster-slots {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.org-poster-slots .org-slot {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(140px, 1fr);
  gap: 14px;
  padding: 12px;
  border: 1px solid #e2e6eb;
  border-radius: 16px;
  background: #fbfcfd;
}

.org-slot figure {
  margin: 0;
  min-width: 0;
}

.org-slot figcaption {
  margin-bottom: 6px;
  color: #87919e;
  font-size: 11.5px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.org-slot__controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.org-slot__controls > p {
  margin: 0;
  color: #6b7683;
  font-size: 12.5px;
  line-height: 1.35;
}

.org-crop {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.org-crop span {
  color: #3d4552;
  font-size: 13.5px;
  font-weight: 750;
}

.org-crop input {
  width: 100%;
  accent-color: #171b22;
}

.org-slot__frame {
  overflow: hidden;
  border: 1.5px solid #e2e6eb;
  border-radius: 14px;
  background: #fff;
}

.org-slot__frame.is-empty {
  background: #fff;
}

.org-slot__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: object-position 0.08s linear, transform 0.08s linear;
}

.org-poster-add {
  position: relative;
  overflow: hidden;
  width: 100%;
  justify-content: center;
  cursor: pointer;
}

.org-poster-add input[type="file"] {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
  font-size: 64px;
}

/* Рамки предпросмотра — ровно те же пропорции, что на сайте. */
.org-slot__frame--stage {
  aspect-ratio: 1384 / 500;
  width: 100%;
}

.org-slot__frame--card {
  aspect-ratio: 364 / 243;
  width: 100%;
}

.org-slot__frame--detail {
  aspect-ratio: 1552 / 447;
  width: 100%;
}

.org-slot__frame--mobile {
  aspect-ratio: 9 / 10;
  width: min(100%, 360px);
  margin-inline: auto;
}

.org-field--wide {
  display: flex;
  width: 100%;
  margin-top: 10px;
}

.org-field--wide > span,
.org-field > .label-with-info {
  font-size: 14px;
}

.org-field input,
.org-field select,
.org-field textarea {
  font-size: 15px;
}

@media (max-width: 760px) {
  .org-poster-slots .org-slot {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Покупатели: сплошная таблица с раскрывающимися карточками. */
.org-customers-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 16px;
}

table.org-customers {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.org-customers-scroll {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}

.org-customers-scroll:focus-visible {
  outline: 2px solid #171b22;
  outline-offset: 3px;
}

table.org-customers th {
  padding: 10px 14px;
  border-bottom: 2px solid #171b22;
  color: #171b22;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

table.org-customers td {
  padding: 13px 14px;
  border-bottom: 1px solid #e4e8ed;
  color: #2a323d;
  font-size: 14.5px;
}

tr.org-customer {
  cursor: pointer;
  transition: background 0.14s ease;
}

tr.org-customer:hover {
  background: #f6f8fa;
}

tr.org-customer.is-open {
  background: #f1f5f8;
}

.org-customer__chev .icon {
  width: 16px;
  height: 16px;
  color: #87919e;
  transition: transform 0.18s ease;
}

tr.org-customer.is-open .org-customer__chev .icon {
  transform: rotate(90deg);
}

tr.org-customer-detail {
  display: none;
}

tr.org-customer-detail.is-open {
  display: table-row;
}

tr.org-customer-detail > td {
  background: #fbfcfd;
  padding: 16px 18px 18px;
}

.org-customer-detail__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px 18px;
  margin-bottom: 14px;
}

.org-customer-detail__grid span {
  display: block;
  color: #87919e;
  font-size: 11.5px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.org-customer-detail__grid strong {
  display: block;
  margin-top: 3px;
  color: #171b22;
  font-size: 15px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.org-customer-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Промокоды. */
.org-map__frame {
  margin: 0 0 12px;
  overflow: hidden;
  border: 1px solid #e2e6eb;
  border-radius: 16px;
  background: #eef1f4;
}

.org-map__frame iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

/* Сеансы. */
.org-session-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 110px 38px;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.org-session-row input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1.5px solid #d5dde5;
  border-radius: 10px;
  background: #fbfcfd;
  font-family: inherit;
  font-size: 14px;
}

/* Ссылки. */
.org-link-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 38px;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.org-link-row input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1.5px solid #d5dde5;
  border-radius: 10px;
  background: #fbfcfd;
  font-family: inherit;
  font-size: 14px;
}

.org-link-row input[readonly] {
  color: #5f6064;
  background: #f1f4f7;
}

.org-promo-row {
  display: grid;
  grid-template-columns: 150px 110px 110px 170px 38px;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.org-promo-row--head {
  color: #87919e;
  font-size: 11.5px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.org-promo-row code {
  padding: 10px 12px;
  border: 1.5px solid #d5dde5;
  border-radius: 10px;
  background: #f6f8fa;
  color: #171b22;
  font-family: ui-monospace, monospace;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.org-promo-row input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1.5px solid #d5dde5;
  border-radius: 10px;
  background: #fbfcfd;
  font-family: inherit;
  font-size: 14px;
}

/* Карта места. */
.org-map {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.org-map svg {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid #e2e6eb;
  background: #f2f5f2;
}

.org-map__side {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

/* Строки лайнапа. */
.org-lineup {
  display: grid;
  grid-template-columns: 96px 1fr 38px;
  gap: 12px;
  align-items: start;
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid #e2e6eb;
  border-radius: 14px;
  background: #fbfcfd;
}

.org-lineup__photo {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.org-lineup__photo img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 12px;
}

.org-photo-input {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #5f6064;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.org-photo-input .icon {
  width: 15px;
  height: 15px;
}

.org-lineup__fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.org-lineup__fields textarea {
  width: 100%;
  min-height: 54px;
  padding: 8px 12px;
  border: 1.5px solid #d5dde5;
  border-radius: 10px;
  background: #fbfcfd;
  font-family: inherit;
  font-size: 13.5px;
  resize: vertical;
}

/* ────────────────────────────────────────────────────────────────
   Страница события — геометрия iOS-версии (2026-08-24h):
   крупный заголовок, hairline-разделители, карточки участников
   158×190 со скруглением 22, капсульные кнопки.
   ──────────────────────────────────────────────────────────────── */
.detail-hero__copy h1 {
  font-size: clamp(34px, 3.6vw, 52px) !important;
  line-height: 1.1 !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em;
  padding-bottom: 0.04em;
  overflow: visible;
}

.detail-hero__copy p {
  font-size: 17px;
}

.detail-flow {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.detail-flow .section-heading h2 {
  font-size: clamp(26px, 2.2vw, 34px) !important;
  line-height: 1.05 !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em;
}

.detail-flow .section-heading p {
  font-size: 14px;
}

.detail-facts,
.detail-copy,
.detail-lineup,
.detail-gallery,
.ticket-preview {
  padding-top: 22px;
  border-top: 1px solid #e7e2d8;
}

.detail-lead {
  font-size: 18px;
  line-height: 1.5;
}

.detail-copy p {
  line-height: 1.55;
}

.lineup-rail {
  gap: 20px;
}

.lineup-person {
  flex: 0 0 210px;
  width: 210px;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.lineup-person__image {
  width: 210px;
  height: 260px;
  border-radius: 24px;
  object-fit: cover;
}

.lineup-person h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.15;
}

.lineup-person p {
  margin: 0;
  color: #6b7683;
  font-size: 14px;
  line-height: 1.3;
}

.lineup-person__badge {
  order: -1;
  margin-bottom: -2px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #f1f4f7;
  color: #5f6064;
  font-size: 11px;
  font-weight: 750;
}

.purchase-dock .button--signal {
  min-width: 116px;
  min-height: 52px;
  border-radius: 999px;
  font-size: 17px;
}

.purchase-dock strong {
  font-size: 22px;
}

/* ────────────────────────────────────────────────────────────────
   Culture section reference geometry, final layer (2026-08-23b).
   Two big theatre cards fill the left half exactly like the mockup,
   the cast grid is a strict 3 x 2 stretched to the same top and
   bottom edges, and the section keeps the frame of every other
   home block. Regular rails (upcoming / party / concert) stay at
   their native card scale with a peeking next card.
   ──────────────────────────────────────────────────────────────── */
@media (min-width: 1181px) {
  .home-page--template .theatre-programme {
    position: static !important;
    transform: none !important;
  }

  .home-page--template .culture-heading {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    column-gap: 40px !important;
  }

  .home-page--template .culture-heading__people {
    width: 100% !important;
  }

  .home-page--template .culture-layout {
    position: relative !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 40px !important;
    align-items: start !important;
  }

  /* Общий верхний край обеих колонок. */
  .home-page--template .theatre-carousel,
  .home-page--template .theatre-carousel .rail-shell,
  .home-page--template .theatre-grid {
    margin: 0 !important;
    padding: 0 !important;
  }

  /*
   * Высоту блока задаёт только левая колонка; правая снята с потока
   * и растянута абсолютно от её верха до её низа — низы совпадают точно.
   */
  .home-page--template .culture-people {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    height: 100% !important;
    width: calc((100% - 40px) / 2) !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden;
  }

  .home-page--template .culture-people .people-rail {
    margin: 0 !important;
    padding: 0 !important;
    flex: 1 1 auto;
    grid-template-rows: 1fr 1fr !important;
    gap: 14px 16px !important;
  }

  .home-page--template .theatre-grid {
    gap: 24px !important;
  }

  .home-page--template .theatre-grid .event-card {
    flex: 0 0 calc(50% - 12px) !important;
    flex-basis: calc(50% - 12px) !important;
    min-width: calc(50% - 12px) !important;
    min-height: 0 !important;
  }

  .home-page--template .theatre-grid .event-card__media,
  .home-page--template .theatre-grid .event-card--theatre .event-card__media {
    width: 100% !important;
    height: auto !important;
    flex: 0 0 auto !important;
    aspect-ratio: 1 / 1.46 !important;
    border-radius: 16px !important;
  }

  /* Карточки артистов: имя и роль прижаты влево, без лишнего «молока». */
  .home-page--template .culture-people .person-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    text-align: left !important;
  }

  .home-page--template .culture-people .person-card__image {
    flex: 1 1 auto;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
    min-height: 0;
    object-fit: cover;
    border-radius: 12px !important;
  }

  .home-page--template .culture-people .person-card__name {
    flex: 0 0 auto;
    margin-top: 8px !important;
    text-align: left !important;
  }

  .home-page--template .culture-people .person-card small {
    flex: 0 0 auto;
    margin-top: 3px !important;
    text-align: left !important;
  }

  .home-page--template .culture-people .person-card:nth-child(n + 7) {
    display: none !important;
  }

  /*
   * Стрелки карусели культуры — под блоком спектаклей, у правого края
   * второй карточки (уровень конца блока спектаклей).
   */
  .home-page--template .feed-section .theatre-carousel .rail-shell .rail-arrow {
    top: auto !important;
    bottom: -22px !important;
    left: auto !important;
    width: 42px !important;
    height: 42px !important;
    transform: none !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: #f1f5f8 !important;
    color: #171b22 !important;
    box-shadow: 0 4px 14px rgba(23, 27, 34, 0.16) !important;
  }

  .home-page--template .feed-section .theatre-carousel .rail-shell .rail-arrow--previous {
    right: 52px !important;
  }

  .home-page--template .feed-section .theatre-carousel .rail-shell .rail-arrow--next {
    right: 0 !important;
  }

  /* Цена не прячется за стрелками на нижней кромке спектаклей. */
  .home-page--template .theatre-grid .event-card__bottom {
    margin-right: 104px;
  }

  /*
   * Обычные разделы (Ближайшие / Тусовки / Концерты / Мастер-классы):
   * стрелки листания живут в заголовке, слева от кнопки «Все …»,
   * той же формы, что кнопка, но меньше.
   */
  .home-page--template .section-heading .heading-controls {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
  }

  .home-page--template .section-heading .rail-controls {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .home-page--template .section-heading .rail-arrow {
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: #f1f5f8 !important;
    color: #171b22 !important;
    box-shadow: none !important;
  }

  .home-page--template .section-heading .rail-arrow .icon {
    width: 16px;
    height: 16px;
  }

  /* Единая геометрия карточек всех обычных разделов — как в «Ближайших». */
  .home-page--template .event-tile-grid .event-card,
  .home-page--template .poster-rail .event-card,
  .home-page--template .workshop-list .event-card {
    flex: 0 0 440px !important;
    flex-basis: 440px !important;
    min-width: 440px !important;
  }

  .home-page--template .event-tile-grid .event-card__media,
  .home-page--template .event-tile-grid--upcoming .event-card__media,
  .home-page--template .poster-rail .event-card__media,
  .home-page--template .poster-rail .event-card--poster .event-card__media,
  .home-page--template .workshop-list .event-card__media {
    height: 250px !important;
    flex: 0 0 250px !important;
  }

  /* Названия событий — заметно тоньше. */
  .home-page--template .event-card__copy h3,
  .home-page--template .event-tile-grid .event-card__copy h3,
  .home-page--template .poster-rail .event-card__copy h3,
  .home-page--template .theatre-grid .event-card__copy h3,
  .home-page--template .workshop-list .event-card__copy h3 {
    font-weight: 600 !important;
  }

  .home-page--template .event-tile-grid .event-card__copy h3,
  .home-page--template .poster-rail .event-card__copy h3 {
    font-size: 27px !important;
  }

  .home-page--template .event-tile-grid .event-card__date,
  .home-page--template .poster-rail .event-card__date {
    font-size: 17px !important;
  }

  /* Плавное «живое» перетаскивание рейлов: без щелчков snap во время драга. */
  .home-page--template [data-drag-rail].is-dragging {
    scroll-snap-type: none !important;
  }

  .home-page--template [data-drag-rail] {
    overscroll-behavior-x: contain;
  }
}

/* Final measured geometry: each public placement matches the organizer preview. */
.event-detail .detail-stage {
  padding-bottom: 8px;
}

.event-detail .detail-hero {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1600 / 620;
  border-radius: 16px;
}

.event-detail .detail-hero__image {
  width: 100%;
  height: 100%;
}

.event-detail .detail-hero__copy {
  left: 24px;
  right: 24px;
  bottom: 28px;
}

.org-slot__frame--detail {
  aspect-ratio: 1600 / 620;
}

.org-customer-edit {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.org-customer-edit label {
  display: grid;
  gap: 5px;
}

.org-customer-edit label > span {
  color: #68727e;
  font-size: 12px;
  font-weight: 700;
}

.org-customer-edit input,
.org-customer-edit textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #ccd5df;
  border-radius: 7px;
  background: #fff;
  color: #171b22;
  font: inherit;
}

.org-customer-edit textarea {
  min-height: 84px;
  resize: vertical;
}

.org-customer-edit__note {
  grid-column: 1 / -1;
}

.org-customer-edit__actions {
  display: none;
}

.org-customer-detail.is-editing [data-customer-view],
.org-customer-detail.is-editing [data-customer-view-actions] {
  display: none;
}

.org-customer-detail.is-editing .org-customer-edit {
  display: grid;
}

.org-customer-detail.is-editing .org-customer-edit__actions {
  display: flex;
}

.org-customer-orders {
  margin: 4px 0 16px;
  padding-top: 14px;
  border-top: 1px solid #e1e6eb;
}

.org-customer-orders h3 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 800;
}

.org-customer-orders > div {
  display: grid;
  grid-template-columns: minmax(100px, 0.8fr) minmax(180px, 1.5fr) minmax(145px, 1fr) minmax(90px, auto) minmax(90px, auto);
  gap: 12px;
  align-items: center;
  padding: 9px 0;
  border-top: 1px solid #edf0f3;
  font-size: 13px;
}

.org-customer-orders small {
  color: #68727e;
  font-size: 12px;
}

@media (min-width: 821px) {
  .home-page--template {
    --feed-card-width: 440px;
    --feed-card-media-height: 250px;
  }

  .home-page--template .event-tile-grid .event-card,
  .home-page--template .poster-rail .event-card,
  .home-page--template .workshop-list .event-card {
    flex: 0 0 var(--feed-card-width) !important;
    min-width: var(--feed-card-width) !important;
  }

  .home-page--template .event-tile-grid .event-card__media,
  .home-page--template .poster-rail .event-card__media,
  .home-page--template .workshop-list .event-card__media {
    height: var(--feed-card-media-height) !important;
    flex-basis: var(--feed-card-media-height) !important;
    aspect-ratio: 44 / 25 !important;
  }
}

.home-page--template .event-card__copy h3,
.home-page--template .event-tile-grid .event-card__copy h3,
.home-page--template .poster-rail .event-card__copy h3,
.home-page--template .theatre-grid .event-card__copy h3,
.home-page--template .workshop-list .event-card__copy h3 {
  font-family: "Unbounded", "Geologica", "Helvetica Neue", sans-serif;
  font-weight: 700 !important;
  letter-spacing: 0;
}

@media (max-width: 820px) {
  .event-detail .detail-hero {
    aspect-ratio: 390 / 360;
  }

  .event-detail .detail-hero__copy {
    left: 16px;
    right: 16px;
    bottom: 20px;
  }

  .org-customer-edit {
    grid-template-columns: minmax(0, 1fr);
  }

  .org-customer-edit__note {
    grid-column: auto;
  }

  .org-customer-orders {
    overflow-x: auto;
  }

  .org-customer-orders > div {
    min-width: 720px;
  }

  table.org-customers {
    min-width: 660px;
  }
}

/* 2026-08-24 measured desktop polish: match the 34" layout reference. */
:root {
  --page: min(1552px, calc(100vw - 64px));
}

.site-header__inner,
.page-frame,
.home-page--template,
.home-page--template.page-frame {
  width: var(--page) !important;
  max-width: var(--page) !important;
}

.home-page--template .feed-section {
  width: 100%;
}

@media (min-width: 821px) {
  .home-page--template {
    --feed-card-width: 364px;
    --feed-card-media-height: 243px;
    --feed-card-height: 379px;
  }

  .home-page--template .event-tile-grid,
  .home-page--template .poster-rail,
  .home-page--template .workshop-list {
    gap: 24px !important;
    min-height: 0 !important;
    padding-bottom: 8px !important;
  }

  .home-page--template .event-tile-grid .event-card,
  .home-page--template .poster-rail .event-card,
  .home-page--template .workshop-list .event-card {
    flex: 0 0 var(--feed-card-width) !important;
    flex-basis: var(--feed-card-width) !important;
    min-width: var(--feed-card-width) !important;
    height: var(--feed-card-height) !important;
    min-height: var(--feed-card-height) !important;
  }

  .home-page--template .event-tile-grid .event-card__media,
  .home-page--template .event-tile-grid--upcoming .event-card__media,
  .home-page--template .poster-rail .event-card__media,
  .home-page--template .poster-rail .event-card--poster .event-card__media,
  .home-page--template .workshop-list .event-card__media,
  .home-page--template .event-card--workshop .event-card__media {
    height: var(--feed-card-media-height) !important;
    flex: 0 0 var(--feed-card-media-height) !important;
    aspect-ratio: 364 / 243 !important;
    border-radius: 18px !important;
  }

  .home-page--template .event-card__copy,
  .home-page--template .event-tile-grid .event-card__copy,
  .home-page--template .poster-rail .event-card__copy,
  .home-page--template .workshop-list .event-card__copy {
    min-height: 136px !important;
    height: calc(var(--feed-card-height) - var(--feed-card-media-height)) !important;
    grid-template-rows: auto auto !important;
    align-items: start !important;
    align-content: start !important;
    row-gap: 8px !important;
    padding: 12px 4px 0 !important;
  }

  .home-page--template .event-card__copy h3,
  .home-page--template .event-tile-grid .event-card__copy h3,
  .home-page--template .poster-rail .event-card__copy h3,
  .home-page--template .theatre-grid .event-card__copy h3,
  .home-page--template .workshop-list .event-card__copy h3,
  .event-card__copy h3 {
    font-size: 24px !important;
    font-weight: 520 !important;
    line-height: 1.12 !important;
    text-transform: none !important;
  }

  .home-page--template .event-card__meta {
    align-self: start !important;
  }

  .home-page--template .event-card__date,
  .home-page--template .event-tile-grid .event-card__date,
  .home-page--template .poster-rail .event-card__date,
  .home-page--template .workshop-list .event-card__date {
    margin-bottom: 2px !important;
    font-size: 15px !important;
    line-height: 1.12 !important;
  }

  .home-page--template .event-card__venue,
  .home-page--template .event-tile-grid .event-card__venue,
  .home-page--template .poster-rail .event-card__venue,
  .home-page--template .workshop-list .event-card__venue {
    font-size: 12px !important;
    line-height: 1.08 !important;
  }

  .home-page--template .event-card__bottom {
    align-self: start !important;
    margin-top: 0 !important;
  }

  .home-page--template .feed-section {
    margin-top: 42px !important;
  }

  .home-page--template .feed-section + .feed-section {
    margin-top: 46px !important;
  }

  .home-page--template .section-heading,
  .home-page--template .section-heading--controls,
  .home-page--template .section-heading--action {
    margin-bottom: 18px !important;
  }
}

.event-detail .detail-stage.page-frame {
  width: var(--page) !important;
  max-width: var(--page) !important;
}

.event-detail .detail-hero {
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  aspect-ratio: 1552 / 447 !important;
  border-radius: 16px !important;
}

.org-slot figcaption .label-with-info {
  justify-content: space-between;
}

.org-slot__frame--stage,
.org-slot__frame--detail {
  aspect-ratio: 1552 / 447 !important;
}

.org-slot__frame--card {
  aspect-ratio: 364 / 243 !important;
}

.org-poster-add {
  min-height: 48px;
  margin: 2px 0 4px;
  border-radius: 10px;
}

.org-poster-add .icon {
  width: 18px;
  height: 18px;
}

.label-with-info,
.org-editor__section h3,
.section-heading h2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.info-tip {
  position: relative;
  z-index: 12;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  display: inline-grid;
  place-items: center;
  vertical-align: 0.15em;
  border: 1px solid #c7d3df;
  border-radius: 999px;
  background: #f7f9fb;
  color: #607086;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1;
  cursor: help;
}

.info-tip--heading {
  transform: translateY(-0.18em);
}

.info-tip--nav {
  display: none;
}

.info-tip::after {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  width: min(280px, 72vw);
  padding: 10px 12px;
  border: 1px solid #d8e1ea;
  border-radius: 10px;
  background: #fff;
  color: #28313b;
  box-shadow: 0 14px 34px rgba(24, 36, 54, 0.16);
  content: attr(data-tooltip);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  text-align: left;
  text-transform: none;
  transform: translate(-50%, 6px);
  transition: opacity 0.14s ease, transform 0.14s ease;
  white-space: normal;
}

.info-tip:hover::after,
.info-tip:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 820px) {
  :root {
    --page: min(390px, calc(100vw - 28px));
  }

  .event-detail .detail-hero {
    aspect-ratio: 390 / 360 !important;
  }

  .info-tip::after {
    left: auto;
    right: 0;
    transform: translate(0, 6px);
  }

  .info-tip:hover::after,
  .info-tip:focus-visible::after {
    transform: translate(0, 0);
  }
}

/* Final compact pass: fewer hints, no broken nav text, tighter section rhythm. */
@media (min-width: 821px) {
  .home-page--template {
    padding-top: 18px !important;
    padding-bottom: 72px !important;
  }

  .home-page--template .sponsor-stage {
    margin-bottom: 28px !important;
  }

  .home-page--template .feed-section,
  .home-page--template .party-programme,
  .home-page--template .concert-programme,
  .home-page--template .workshop-programme {
    margin-top: 34px !important;
    padding-top: 0 !important;
  }

  .home-page--template .feed-section + .feed-section {
    margin-top: 36px !important;
  }

  .home-page--template .section-heading,
  .home-page--template .section-heading--controls,
  .home-page--template .section-heading--action,
  .home-page--template .culture-heading {
    margin-bottom: 14px !important;
    gap: 14px !important;
  }

  .home-page--template .event-tile-grid,
  .home-page--template .poster-rail,
  .home-page--template .workshop-list {
    min-height: 0 !important;
    padding-bottom: 0 !important;
  }

  .home-page--template .event-card__copy,
  .home-page--template .event-tile-grid .event-card__copy,
  .home-page--template .poster-rail .event-card__copy,
  .home-page--template .workshop-list .event-card__copy {
    height: auto !important;
    min-height: 104px !important;
    padding-top: 10px !important;
    row-gap: 6px !important;
  }
}

.font-demo {
  padding-top: 34px;
  padding-bottom: 96px;
}

.font-demo__hero {
  display: grid;
  gap: 14px;
  max-width: 940px;
  margin-bottom: 28px;
}

.font-demo__hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 890;
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.font-demo__hero p {
  max-width: 720px;
  margin: 0;
  color: var(--catalogue-muted);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.35;
}

.font-demo__hero .button {
  justify-self: start;
}

.font-demo__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(364px, 1fr));
  gap: 28px;
  align-items: start;
}

.font-demo__sample {
  --font-demo-family: "Unbounded";
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(151, 164, 181, 0.22);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 42px rgba(24, 36, 54, 0.08);
  font-family: var(--font-demo-family), "Geologica", sans-serif;
}

.font-demo__sample header {
  display: grid;
  gap: 5px;
}

.font-demo__sample header strong {
  color: var(--ink);
  font-size: 24px;
  font-weight: 850;
  line-height: 1;
}

.font-demo__sample header small {
  color: #747f8d;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
}

.font-demo__card {
  width: 364px;
  max-width: 100%;
  font-family: inherit;
}

.font-demo__card .event-card,
.font-demo__card .event-card__copy,
.font-demo__card .event-card__copy h3,
.font-demo__card .event-card__date,
.font-demo__card .event-card__venue,
.font-demo__card .event-card__price {
  font-family: inherit !important;
}

.font-demo__sample--unbounded .event-card__copy h3 {
  font-size: 20px;
  line-height: 1.18;
  letter-spacing: -0.045em;
}

@media (max-width: 820px) {
  .font-demo {
    padding-top: 22px;
  }

  .font-demo__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .font-demo__sample {
    padding: 14px;
    border-radius: 20px;
  }
}

/* Unbounded is wider than Geologica: compact the final typography layer. */
.home-page--template .sponsor-slide__copy h2 {
  max-width: min(760px, 72vw) !important;
  font-size: clamp(36px, 4.1vw, 62px) !important;
  font-weight: 640 !important;
  line-height: 0.98 !important;
  letter-spacing: -0.055em !important;
}

.home-page--template .section-heading h2,
.home-page--template .section-heading--controls h2,
.home-page--template .section-heading--action h2,
.home-page--template .theatre-programme .section-heading h2,
.section-heading h2 {
  font-size: clamp(34px, 3.2vw, 48px) !important;
  font-weight: 760 !important;
  line-height: 1 !important;
  letter-spacing: -0.055em !important;
}

.home-page--template .section-heading p,
.home-page--template .culture-people > header p {
  font-size: 14px !important;
  font-weight: 460 !important;
  line-height: 1.25 !important;
}

.home-page--template .event-card__copy h3,
.home-page--template .event-tile-grid .event-card__copy h3,
.home-page--template .poster-rail .event-card__copy h3,
.home-page--template .theatre-grid .event-card__copy h3,
.home-page--template .workshop-list .event-card__copy h3,
.event-card__copy h3 {
  min-height: 0 !important;
  margin-bottom: 7px !important;
  font-size: clamp(18px, 1.35vw, 21px) !important;
  font-weight: 470 !important;
  line-height: 1.16 !important;
  letter-spacing: -0.045em !important;
  -webkit-line-clamp: 2;
}

.home-page--template .theatre-grid .event-card__copy h3 {
  font-size: clamp(17px, 1.15vw, 19px) !important;
  font-weight: 460 !important;
}

.home-page--template .event-card__date,
.home-page--template .event-card__venue,
.event-card__date,
.event-card__venue {
  font-size: 13.5px !important;
  font-weight: 430 !important;
  line-height: 1.28 !important;
  letter-spacing: -0.02em !important;
}

.home-page--template .event-card__price,
.event-card__price,
.event-card__copy .event-card__price {
  font-size: 13.5px !important;
  font-weight: 560 !important;
  letter-spacing: -0.025em !important;
}

.home-page--template .culture-people {
  overflow: hidden !important;
}

.home-page--template .culture-people > header h3 {
  font-size: clamp(26px, 2.25vw, 34px) !important;
  font-weight: 660 !important;
  line-height: 1 !important;
  letter-spacing: -0.055em !important;
}

.home-page--template .culture-people .people-rail {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-auto-columns: minmax(0, 1fr) !important;
  gap: 18px 16px !important;
  overflow: hidden !important;
  align-items: start !important;
}

.home-page--template .culture-people .person-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 8px !important;
  min-width: 0 !important;
  overflow: hidden !important;
  align-content: start !important;
}

.home-page--template .culture-people .person-card__image {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1.08 !important;
  max-height: 258px !important;
  object-fit: cover !important;
}

.home-page--template .culture-people .person-card__name {
  display: -webkit-box !important;
  overflow: hidden !important;
  color: var(--ink) !important;
  font-size: clamp(15px, 1.15vw, 18px) !important;
  font-weight: 500 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.045em !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-page--template .culture-people .person-card p,
.home-page--template .culture-people .person-card small {
  display: -webkit-box !important;
  overflow: hidden !important;
  font-size: 12px !important;
  font-weight: 430 !important;
  line-height: 1.22 !important;
  letter-spacing: -0.025em !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (max-width: 1100px) {
  .home-page--template .culture-people .people-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 820px) {
  .home-page--template .sponsor-slide__copy h2 {
    max-width: 88vw !important;
    font-size: clamp(30px, 9vw, 40px) !important;
  }

  .home-page--template .section-heading h2,
  .home-page--template .theatre-programme .section-heading h2,
  .section-heading h2 {
    font-size: clamp(28px, 8vw, 36px) !important;
  }

  .home-page--template .event-card__copy h3,
  .event-card__copy h3 {
    font-size: 18px !important;
    font-weight: 470 !important;
  }

  .home-page--template .culture-people .people-rail {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(136px, 1fr)) !important;
    gap: 14px !important;
    overflow-x: auto !important;
  }
}

/* Unbounded compact QA: prevent price drift, text collisions and oversized hero/header. */
.site-header__inner {
  grid-template-columns: minmax(190px, 0.8fr) minmax(320px, 560px) minmax(360px, auto) !important;
  gap: 24px !important;
}

.header-actions,
.header-tickets,
.header-profile,
.city-chip {
  min-width: 0 !important;
}

.header-tickets,
.header-profile,
.city-chip {
  min-height: 46px !important;
  padding-inline: 14px !important;
  font-size: 14px !important;
  font-weight: 560 !important;
  letter-spacing: -0.035em !important;
  white-space: nowrap !important;
}

.header-search {
  min-width: 0 !important;
  font-size: 14px !important;
  font-weight: 520 !important;
  letter-spacing: -0.035em !important;
}

.header-search span:last-child,
.header-tickets span:last-child,
.city-chip {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.home-page--template .sponsor-stage {
  overflow: hidden !important;
}

.home-page--template .sponsor-slide__copy {
  top: 50% !important;
  bottom: auto !important;
  left: clamp(28px, 5.2vw, 104px) !important;
  max-width: min(690px, 58vw) !important;
  transform: translateY(-50%) !important;
}

.home-page--template .sponsor-slide__copy h2 {
  display: -webkit-box !important;
  max-width: 100% !important;
  overflow: hidden !important;
  font-size: clamp(34px, 3.75vw, 56px) !important;
  font-weight: 620 !important;
  line-height: 1.01 !important;
  letter-spacing: -0.065em !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.home-page--template .sponsor-slide__copy p {
  display: -webkit-box !important;
  max-width: 560px !important;
  overflow: hidden !important;
  font-size: clamp(14px, 1.2vw, 17px) !important;
  font-weight: 430 !important;
  line-height: 1.3 !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-page--template .event-card__copy,
.home-page--template .event-tile-grid .event-card__copy,
.home-page--template .poster-rail .event-card__copy,
.home-page--template .theatre-grid .event-card__copy,
.home-page--template .workshop-list .event-card__copy,
.event-card__copy {
  display: grid !important;
  grid-template-rows: auto 1fr auto !important;
  gap: 5px !important;
  height: auto !important;
  min-height: 112px !important;
  overflow: hidden !important;
  padding-top: 9px !important;
}

.home-page--template .event-card__copy h3,
.home-page--template .event-tile-grid .event-card__copy h3,
.home-page--template .poster-rail .event-card__copy h3,
.home-page--template .theatre-grid .event-card__copy h3,
.home-page--template .workshop-list .event-card__copy h3,
.event-card__copy h3 {
  display: -webkit-box !important;
  min-height: 0 !important;
  max-height: 2.34em !important;
  margin: 0 !important;
  overflow: hidden !important;
  font-size: clamp(17px, 1.18vw, 20px) !important;
  font-weight: 430 !important;
  line-height: 1.17 !important;
  letter-spacing: -0.055em !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-page--template .event-card__meta,
.event-card__meta {
  display: grid !important;
  min-width: 0 !important;
  gap: 2px !important;
  overflow: hidden !important;
}

.home-page--template .event-card__date,
.home-page--template .event-card__venue,
.event-card__date,
.event-card__venue,
.event-card__venue span {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #8c96a3 !important;
  font-size: 13px !important;
  font-weight: 390 !important;
  line-height: 1.18 !important;
  letter-spacing: -0.035em !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.home-page--template .event-card__bottom,
.event-card__bottom {
  display: flex !important;
  min-width: 0 !important;
  margin: 0 !important;
  align-items: center !important;
  justify-content: flex-start !important;
  overflow: hidden !important;
}

.home-page--template .event-card__price,
.event-card__price,
.event-card__copy .event-card__price {
  display: inline-flex !important;
  max-width: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  color: #555b64 !important;
  background: transparent !important;
  border-radius: 0 !important;
  font-size: 13px !important;
  font-weight: 520 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.045em !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.home-page--template .culture-people .people-rail {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px 14px !important;
}

.home-page--template .culture-people .person-card {
  grid-template-rows: auto auto auto !important;
}

.home-page--template .culture-people .person-card__image {
  aspect-ratio: 1.08 / 0.88 !important;
  max-height: 230px !important;
  border-radius: 10px !important;
}

.home-page--template .culture-people .person-card__name {
  max-height: 2.16em !important;
  font-size: clamp(14px, 1vw, 16px) !important;
  font-weight: 470 !important;
  line-height: 1.08 !important;
}

.home-page--template .culture-people .person-card p,
.home-page--template .culture-people .person-card small {
  max-height: 2.4em !important;
  font-size: 11.5px !important;
  font-weight: 390 !important;
}

@media (max-width: 1100px) {
  .site-header__inner {
    grid-template-columns: minmax(150px, 0.75fr) minmax(260px, 1fr) minmax(250px, auto) !important;
    gap: 14px !important;
  }

  .header-tickets,
  .header-profile,
  .city-chip {
    padding-inline: 10px !important;
    font-size: 12.5px !important;
  }
}

@media (max-width: 820px) {
  .home-page--template .sponsor-slide__copy {
    left: 22px !important;
    max-width: calc(100% - 44px) !important;
  }

  .home-page--template .sponsor-slide__copy h2 {
    font-size: clamp(27px, 8vw, 38px) !important;
    -webkit-line-clamp: 4;
  }

  .home-page--template .event-card__copy,
  .event-card__copy {
    min-height: 100px !important;
  }

  .home-page--template .culture-people .people-rail {
    grid-template-columns: repeat(2, minmax(132px, 1fr)) !important;
  }
}

/* Actor cards frame-fit: larger names, smaller subtitles, no giant gaps. */
.home-page--template .culture-people {
  padding-left: 22px !important;
}

.home-page--template .culture-people .people-rail {
  gap: 10px 18px !important;
}

.home-page--template .culture-people .person-card {
  display: grid !important;
  grid-template-rows: auto 2.38em 2.32em !important;
  gap: 4px !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

.home-page--template .culture-people .person-card__image {
  width: 100% !important;
  aspect-ratio: 364 / 330 !important;
  max-height: none !important;
  margin: 0 0 4px !important;
  object-fit: cover !important;
}

.home-page--template .culture-people .person-card__name {
  display: -webkit-box !important;
  max-height: 2.38em !important;
  margin: 0 !important;
  overflow: hidden !important;
  font-size: clamp(18px, 1.32vw, 22px) !important;
  font-weight: 520 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.058em !important;
  text-overflow: ellipsis !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-page--template .culture-people .person-card p,
.home-page--template .culture-people .person-card small {
  display: -webkit-box !important;
  max-height: 2.32em !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #98a2af !important;
  font-size: clamp(11px, 0.82vw, 13px) !important;
  font-weight: 360 !important;
  line-height: 1.16 !important;
  letter-spacing: -0.04em !important;
  text-overflow: ellipsis !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-page--template .event-card__copy h3,
.home-page--template .event-tile-grid .event-card__copy h3,
.home-page--template .poster-rail .event-card__copy h3,
.home-page--template .theatre-grid .event-card__copy h3,
.home-page--template .workshop-list .event-card__copy h3,
.event-card__copy h3 {
  font-size: clamp(21px, 1.55vw, 26px) !important;
  font-weight: 470 !important;
}

.home-page--template .event-card__date,
.home-page--template .event-card__venue,
.event-card__date,
.event-card__venue,
.event-card__venue span {
  font-size: 12px !important;
  font-weight: 340 !important;
  line-height: 1.12 !important;
}

@media (max-width: 820px) {
  .home-page--template .culture-people {
    padding-left: 0 !important;
  }

  .home-page--template .culture-people .person-card__name {
    font-size: 17px !important;
  }

  .home-page--template .culture-people .person-card p,
  .home-page--template .culture-people .person-card small {
    font-size: 11px !important;
  }

  .home-page--template .culture-people .people-rail {
    gap: 12px !important;
  }

  .home-page--template .culture-people .person-card__image {
    aspect-ratio: 1 / 1.06 !important;
  }
}

/* Final event workflow polish: sponsor copy bottom-left, editor toggles, legal footer. */
.home-page--template .sponsor-stage {
  position: relative !important;
  overflow: visible !important;
}

.home-page--template .sponsor-stage__viewport {
  position: relative !important;
  overflow: hidden !important;
}

.home-page--template .sponsor-slide__copy {
  top: auto !important;
  bottom: clamp(26px, 3.2vw, 46px) !important;
  left: clamp(28px, 4vw, 64px) !important;
  max-width: min(640px, 54vw) !important;
  transform: none !important;
}

.home-page--template .sponsor-slide__copy h2 {
  margin: 6px 0 8px !important;
  font-size: clamp(32px, 3.45vw, 52px) !important;
  line-height: 1.02 !important;
  -webkit-line-clamp: 4;
}

.home-page--template .sponsor-slide__copy p {
  margin: 0 !important;
  max-width: 520px !important;
}

.home-page--template .sponsor-slide__price {
  margin-top: 12px !important;
}

.home-page--template .sponsor-stage__rail {
  position: absolute !important;
  right: clamp(22px, 3vw, 42px) !important;
  bottom: clamp(22px, 2.8vw, 38px) !important;
  z-index: 8 !important;
}

.org-toggle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.org-toggle {
  min-height: 68px;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 18px;
  background: #f8fbff;
}

.org-toggle input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--signal);
}

.org-toggle strong,
.org-toggle small {
  display: block;
}

.org-toggle strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 620;
  line-height: 1.15;
}

.org-toggle small {
  margin-top: 3px;
  color: var(--steel);
  font-size: 11px;
  font-weight: 380;
  line-height: 1.2;
}

.detail-flow .section-heading {
  margin-bottom: 18px !important;
}

.detail-lineup .lineup-rail,
.detail-gallery .gallery-rail {
  margin-top: 4px !important;
}

body[data-route="event"] .site-footer,
body:has(.event-detail) .site-footer {
  display: none !important;
}

.event-detail .event-legal {
  margin: 34px 0 0;
  padding: 0;
  border: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  color: #9aa4b2;
  font-size: 11px;
  font-weight: 340;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.event-detail .event-legal span:last-child {
  text-align: right;
}

.organizer-row {
  grid-template-columns: 108px minmax(320px, 1fr) minmax(112px, auto) auto !important;
  gap: 16px !important;
}

.organizer-row__main {
  min-width: 0;
}

.organizer-row__main h3,
.organizer-row__main p,
.organizer-row__main span {
  max-width: 100%;
}

.organizer-row__main h3 {
  display: -webkit-box;
  margin: 2px 0 4px !important;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none;
  line-height: 1.08;
}

.organizer-row__state {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  white-space: nowrap;
}

.organizer-row__state:empty {
  display: none;
}

.organizer-row__actions {
  justify-content: flex-end;
  flex-wrap: nowrap;
}

.organizer-row__actions .button {
  min-height: 44px;
  padding-inline: 18px;
}

@media (max-width: 820px) {
  .home-page--template .sponsor-slide__copy {
    bottom: 24px !important;
    left: 22px !important;
    max-width: calc(100% - 44px) !important;
  }

  .home-page--template .sponsor-stage__rail {
    right: 18px !important;
    bottom: 18px !important;
  }

  .org-toggle-grid {
    grid-template-columns: 1fr;
  }

  .event-detail .event-legal {
    margin-bottom: 112px;
    flex-direction: column;
    gap: 4px;
  }

  .event-detail .event-legal span:last-child {
    text-align: left;
  }

  .organizer-row {
    grid-template-columns: 82px minmax(0, 1fr) !important;
  }

  .organizer-row__state,
  .organizer-row__actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .organizer-row__actions {
    flex-wrap: wrap;
  }

  .refund-review-dialog__facts {
    grid-template-columns: 1fr;
  }
}

/* Search is driven by the single header field; this page only presents results. */
.search-page {
  padding-top: 32px !important;
}

.search-page__header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
  padding: 12px 0 22px;
  border-bottom: 1px solid var(--rule);
}

.search-page__header .eyebrow {
  color: var(--signal);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-page__header h1 {
  margin: 5px 0 4px;
  font-size: clamp(30px, 3.4vw, 46px) !important;
  font-weight: 620 !important;
  line-height: 1 !important;
  letter-spacing: -0.055em !important;
}

.search-page__header p {
  margin: 0;
  color: var(--steel);
  font-size: 14px;
  font-weight: 430;
}

.search-filter-panel {
  position: relative;
  flex: 0 0 auto;
}

.search-filter-panel > summary {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 17px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 580;
  list-style: none;
  transition: border-color 150ms ease, background 150ms ease;
}

.search-filter-panel > summary::-webkit-details-marker {
  display: none;
}

.search-filter-panel > summary:hover,
.search-filter-panel > summary:focus-visible,
.search-filter-panel[open] > summary {
  border-color: var(--signal);
  background: var(--signal-pale);
  outline: 0;
}

.search-filter-panel > summary .icon {
  width: 18px;
  height: 18px;
}

.search-filter-panel > summary b {
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--signal);
  color: #fff;
  font-size: 10px;
}

.search-filter-form {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  z-index: 60;
  width: min(820px, calc(100vw - 64px));
  padding: 22px;
  border: 1px solid var(--rule);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 60px rgba(20, 35, 55, 0.16);
  backdrop-filter: blur(18px);
}

.search-filter-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.search-filter-form legend,
.search-filter-form label > span {
  display: block;
  margin-bottom: 8px;
  color: var(--steel);
  font-size: 11px;
  font-weight: 580;
}

.search-filter-form__categories > div {
  display: flex;
  gap: 7px;
  padding: 1px 0 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.search-filter-form__categories label {
  flex: 0 0 auto;
  cursor: pointer;
}

.search-filter-form__categories input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.search-filter-form__categories label > span {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  white-space: nowrap;
}

.search-filter-form__categories label > span .icon {
  width: 16px;
  height: 16px;
}

.search-filter-form__categories input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.search-filter-form__categories input:focus-visible + span {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

.search-filter-form__fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.search-filter-form__fields input,
.search-filter-form__fields select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
}

.search-filter-form__fields input:focus,
.search-filter-form__fields select:focus {
  border-color: var(--signal);
  outline: 2px solid color-mix(in srgb, var(--signal) 18%, transparent);
}

.search-filter-form__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 18px;
}

.search-filter-form__actions .button {
  min-height: 44px;
  padding-inline: 18px;
}

.search-results {
  margin-top: 0 !important;
}

.search-results__bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.search-results__bar h2 {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 580;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.search-results__bar span {
  color: var(--steel);
  font-size: 12px;
  font-weight: 520;
}

.search-result-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.search-event-row {
  position: relative;
  height: 190px;
  min-height: 190px;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: #fff;
  transition: border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.search-event-row:hover {
  z-index: 2;
  border-color: #bccbdc;
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(28, 45, 68, 0.08);
}

.search-event-row__media {
  min-width: 0;
  height: 100%;
  overflow: hidden;
  background: var(--paper-deep);
}

.search-event-row__image,
.search-event-row__media .image-fallback {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.search-event-row__copy {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 20px 72px 20px 24px;
}

.search-event-row__category {
  color: var(--signal);
  font-size: 10px;
  font-weight: 620;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.search-event-row__copy h2 {
  display: -webkit-box;
  max-width: 920px;
  margin: 0;
  overflow: hidden;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 530;
  line-height: 1.08;
  letter-spacing: -0.045em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.search-event-row__facts {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: #667282;
  font-size: 12px;
  font-weight: 470;
}

.search-event-row__facts span {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.search-event-row__facts .icon {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.search-event-row__copy p {
  display: -webkit-box;
  max-width: 880px;
  margin: 0;
  overflow: hidden;
  color: #7b8796;
  font-size: 12px;
  font-weight: 380;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.search-event-row__copy strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 620;
}

.search-event-row__save {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.search-event-row__save .icon {
  width: 20px;
  height: 20px;
}

.search-event-row__save.is-active {
  color: var(--signal);
}

.search-event-row__hit {
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.search-results > .state-sheet--illustrated {
  min-height: 430px;
  display: grid;
  place-content: center;
  margin-top: 0;
  padding-block: 48px;
  border: 0;
  background: transparent;
}

@media (max-width: 820px) {
  .search-page {
    padding-top: 18px !important;
  }

  .search-page__header {
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 16px;
  }

  .search-page__header h1 {
    font-size: 29px !important;
  }

  .search-page__header p {
    max-width: 230px;
    font-size: 11px;
  }

  .search-filter-panel > summary {
    min-height: 42px;
    padding-inline: 13px;
  }

  .search-filter-form {
    position: fixed;
    top: 72px;
    right: 12px;
    left: 12px;
    width: auto;
    max-height: calc(100dvh - 92px);
    padding: 16px;
    overflow-y: auto;
    border-radius: 14px;
  }

  .search-filter-form__fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-event-row {
    height: 148px;
    min-height: 148px;
    grid-template-columns: 116px minmax(0, 1fr);
    border-radius: 11px;
  }

  .search-event-row__copy {
    gap: 6px;
    padding: 14px 42px 14px 14px;
  }

  .search-event-row__category {
    font-size: 8px;
  }

  .search-event-row__copy h2 {
    font-size: 17px;
    line-height: 1.06;
  }

  .search-event-row__facts {
    display: grid;
    gap: 4px;
    font-size: 10px;
  }

  .search-event-row__facts span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .search-event-row__copy p {
    display: none;
  }

  .search-event-row__copy strong {
    font-size: 12px;
  }

  .search-event-row__save {
    top: 9px;
    right: 9px;
    width: 32px;
    height: 32px;
  }

  .search-event-row__save .icon {
    width: 16px;
    height: 16px;
  }

  .search-results > .state-sheet--illustrated {
    min-height: 340px;
  }
}

/* Event page: compact editorial flow with no synthetic media or dead ticket rows. */
body[data-route="event"] .site-footer {
  display: none;
}

.event-detail {
  background: #fff;
}

.event-detail .detail-hero__copy {
  max-width: min(880px, calc(100% - 48px));
}

.event-detail .detail-hero__copy h1 {
  max-width: 880px;
  margin: 7px 0 8px;
  overflow-wrap: break-word;
  font-size: clamp(30px, 3.2vw, 50px) !important;
  font-weight: 540 !important;
  line-height: 1.02 !important;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.event-detail .detail-hero__copy > span {
  margin-bottom: 0;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 620;
}

.event-detail .detail-hero__copy p {
  max-width: 760px;
  margin: 0;
  overflow: hidden;
  font-size: 14px;
  font-weight: 420;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-detail .detail-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 0 44px;
}

.event-detail .detail-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.event-detail .detail-facts > div {
  min-height: 108px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  gap: 5px 10px;
  padding: 20px 22px;
  border-right: 1px solid var(--rule);
}

.event-detail .detail-facts > div:last-child {
  border-right: 0;
}

.event-detail .detail-facts .icon {
  width: 21px;
  height: 21px;
  grid-row: 1 / span 2;
  margin-top: 1px;
  color: var(--signal);
}

.event-detail .detail-facts span {
  color: #7b8794;
  font-size: 10px;
  font-weight: 520;
}

.event-detail .detail-facts strong {
  min-width: 0;
  align-self: start;
  color: var(--ink);
  font-size: 14px;
  font-weight: 580;
  line-height: 1.3;
  overflow-wrap: break-word;
}

.event-detail .detail-copy {
  width: min(900px, 100%);
  max-width: none;
  margin: 0;
  padding: 36px 0;
  border: 0;
}

.event-detail .detail-copy .eyebrow {
  margin-bottom: 12px;
  color: #7b8794;
  font-size: 10px;
  font-weight: 620;
  letter-spacing: 0.08em;
}

.event-detail .detail-copy p,
.event-detail .detail-copy .detail-lead {
  max-width: 820px;
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.012em;
}

.event-detail .detail-copy .detail-lead {
  color: var(--ink);
  font-size: 18px;
  font-weight: 460;
  line-height: 1.48;
}

.event-detail .detail-lineup,
.event-detail .detail-gallery,
.event-detail .ticket-preview {
  margin: 0;
  padding: 34px 0;
  border-top: 1px solid var(--rule);
}

.event-detail .detail-flow .section-heading {
  width: 100%;
  margin: 0 0 18px !important;
}

.event-detail .detail-flow .section-heading h2 {
  font-size: clamp(23px, 2vw, 30px) !important;
  font-weight: 560 !important;
  line-height: 1.08 !important;
}

.event-detail .detail-flow .section-heading p {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 400;
}

.event-detail .lineup-rail,
.event-detail .gallery-rail {
  gap: 14px;
}

.event-detail .lineup-person {
  flex: 0 0 230px;
  width: 230px;
  gap: 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.event-detail .lineup-person__image {
  width: 230px;
  height: 300px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: #f0f3f6;
  object-fit: cover;
}

.event-detail .lineup-person__placeholder img {
  width: 116px;
  height: auto;
  opacity: 0.28;
  filter: grayscale(1);
}

.event-detail .lineup-person > div {
  padding: 0;
}

.event-detail .lineup-person__badge {
  display: none;
}

.event-detail .lineup-person h3 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 540;
  line-height: 1.12;
}

.event-detail .lineup-person p {
  margin: 0;
  color: #84909d;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
}

.event-detail .gallery-card {
  flex: 0 0 min(620px, 74vw);
  border-radius: 12px;
}

.event-detail .gallery-image {
  height: clamp(260px, 38vw, 460px);
}

.event-detail .ticket-type-list {
  display: grid;
  gap: 10px;
  border: 0;
}

.event-detail .ticket-type {
  min-height: 92px;
  padding: 18px 20px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: #fff;
}

.event-detail .ticket-type h3 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 560;
}

.event-detail .ticket-type p {
  margin: 0;
  color: #7b8794;
  font-size: 11px;
  font-weight: 400;
}

.event-detail .ticket-type__price {
  gap: 16px;
}

.event-detail .ticket-type__price > strong {
  font-size: 16px;
  font-weight: 620;
}

.event-detail .ticket-type__select {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border-radius: 8px;
  color: #fff;
  background: var(--signal);
  font-size: 11px;
  font-weight: 600;
}

.event-detail .ticket-type__select .icon {
  width: 14px;
  height: 14px;
}

.event-detail .purchase-dock {
  left: 50%;
  right: auto;
  bottom: 14px;
  width: min(760px, calc(100vw - 32px));
  min-height: 72px;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 56px rgba(15, 23, 42, 0.16);
  transform: translateX(-50%);
}

.event-detail .purchase-dock span {
  font-size: 9px;
}

.event-detail .purchase-dock strong {
  font-size: 18px;
  font-weight: 620;
}

.event-detail .purchase-dock .button--signal {
  min-height: 48px;
  padding-inline: 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 620;
}

@media (max-width: 820px) {
  .event-detail .detail-stage {
    padding-top: 2px;
  }

  .event-detail .detail-hero__copy {
    right: 18px !important;
    bottom: 22px !important;
    left: 18px !important;
    max-width: calc(100% - 36px);
  }

  .event-detail .detail-hero__copy h1 {
    font-size: clamp(26px, 9vw, 36px) !important;
    line-height: 1.02 !important;
  }

  .event-detail .detail-hero__copy p {
    font-size: 12px;
  }

  .event-detail .detail-facts {
    grid-template-columns: 1fr;
    margin-top: 12px;
  }

  .event-detail .detail-facts > div {
    min-height: 76px;
    padding: 15px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .event-detail .detail-facts > div:last-child {
    border-bottom: 0;
  }

  .event-detail .detail-copy,
  .event-detail .detail-lineup,
  .event-detail .detail-gallery,
  .event-detail .ticket-preview {
    padding: 26px 0;
  }

  .event-detail .detail-copy p,
  .event-detail .detail-copy .detail-lead {
    font-size: 15px;
  }

  .event-detail .lineup-person {
    flex-basis: 196px;
    width: 196px;
  }

  .event-detail .lineup-person__image {
    width: 196px;
    height: 264px;
  }

  .event-detail .ticket-type {
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
  }

  .event-detail .ticket-type__price {
    width: 100%;
    justify-content: space-between;
  }

  .event-detail .purchase-dock {
    bottom: max(10px, env(safe-area-inset-bottom));
    width: calc(100vw - 20px);
    min-height: 66px;
  }

  .event-detail .event-legal {
    margin: 28px 0 0;
  }
}

/* 2026-08-25 mobile live polish: phone header and search use the same data as desktop. */
@media (max-width: 820px) {
  body {
    padding-bottom: 0 !important;
  }

  .mobile-dock,
  .mobile-menu-toggle,
  .mobile-menu-panel,
  .mobile-menu-scrim {
    display: none !important;
  }

  body.is-focused .site-header {
    display: none !important;
  }

  body:not(.is-focused) .site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 120 !important;
    height: auto !important;
    min-height: 124px !important;
    padding: max(10px, env(safe-area-inset-top)) 0 10px !important;
    border-bottom: 1px solid var(--rule) !important;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 8px 26px rgba(17, 24, 39, 0.05) !important;
    backdrop-filter: saturate(1.25) blur(14px) !important;
  }

  body:not(.is-focused) .site-header__inner {
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
    height: auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 48px !important;
    grid-template-rows: 44px 50px !important;
    gap: 10px 12px !important;
    align-items: center !important;
  }

  body:not(.is-focused) .site-header .wordmark,
  body:not(.is-focused) .header-tickets {
    display: none !important;
  }

  body:not(.is-focused) .header-actions {
    display: contents !important;
  }

  body:not(.is-focused) .city-picker {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    min-width: 0 !important;
  }

  body:not(.is-focused) .city-chip {
    max-width: calc(100vw - 98px) !important;
    min-height: 44px !important;
    padding: 0 !important;
    gap: 8px !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--ink) !important;
    font-size: clamp(28px, 9vw, 42px) !important;
    font-weight: 620 !important;
    line-height: 1 !important;
    letter-spacing: -0.045em !important;
  }

  body:not(.is-focused) .city-chip .icon {
    order: 2;
    width: 20px !important;
    height: 20px !important;
    color: #a3abb5 !important;
  }

  body:not(.is-focused) .city-picker__menu {
    position: fixed !important;
    top: calc(62px + env(safe-area-inset-top)) !important;
    left: 16px !important;
    right: auto !important;
    width: min(300px, calc(100vw - 32px)) !important;
    border-radius: 18px !important;
  }

  body:not(.is-focused) .header-profile {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
    color: var(--signal) !important;
    background: #fff !important;
    border: 1px solid #dbe4ed !important;
    border-radius: 50% !important;
  }

  body:not(.is-focused) .header-profile .icon {
    width: 23px !important;
    height: 23px !important;
  }

  body:not(.is-focused) .header-search {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    height: 50px !important;
    min-height: 50px !important;
    display: flex !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    padding: 0 14px !important;
    border: 1px solid #dfe7ef !important;
    border-radius: 18px !important;
    background: #f3f6f9 !important;
    color: #697482 !important;
    box-shadow: none !important;
  }

  body:not(.is-focused) .header-search > span:first-child,
  body:not(.is-focused) .header-search .icon {
    width: 20px !important;
    height: 20px !important;
    flex: 0 0 20px !important;
  }

  body:not(.is-focused) .header-search input {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    opacity: 1 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--ink) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
  }

  body:not(.is-focused) .header-search input::placeholder {
    color: #929aa4 !important;
  }

  body:not(.is-focused) .header-search__clear {
    position: static !important;
    width: 30px !important;
    height: 30px !important;
    flex: 0 0 30px !important;
  }

  body:not(.is-focused) .header-search__results {
    position: fixed !important;
    top: calc(118px + env(safe-area-inset-top)) !important;
    left: 16px !important;
    right: 16px !important;
    width: auto !important;
    max-height: calc(100dvh - 140px - env(safe-area-inset-top)) !important;
    padding: 8px !important;
    overflow-y: auto !important;
    border-radius: 18px !important;
  }

  body:not(.is-focused) .header-search__item {
    grid-template-columns: 64px minmax(0, 1fr) !important;
    min-height: 78px !important;
    gap: 10px !important;
  }

  body:not(.is-focused) .header-search__item img,
  body:not(.is-focused) .header-search__media {
    width: 64px !important;
    height: 64px !important;
  }

  body:not(.is-focused) .header-search__item > b {
    grid-column: 2 !important;
    justify-self: start !important;
    margin: -6px 0 0 !important;
    font-size: 12px !important;
  }

  .home-page,
  .home-page--template,
  .search-page,
  .profile-page,
  .tickets-page,
  .orders-page,
  .plans-page,
  .organizer-workspace {
    padding-bottom: 24px !important;
  }

  .search-page {
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
    padding-top: 14px !important;
  }

  .search-page__header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin-bottom: 14px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid var(--rule) !important;
  }

  .search-page__header .eyebrow {
    display: none !important;
  }

  .search-page__header h1 {
    margin: 0 !important;
    font-size: clamp(24px, 8vw, 32px) !important;
    font-weight: 560 !important;
    line-height: 1.04 !important;
    letter-spacing: -0.035em !important;
  }

  .search-page__header p {
    max-width: 220px !important;
    margin: 5px 0 0 !important;
    color: #818b96 !important;
    font-size: 11px !important;
    font-weight: 420 !important;
    line-height: 1.24 !important;
  }

  .search-filter-panel {
    flex: 0 0 auto !important;
    position: relative !important;
  }

  .search-filter-panel > summary {
    min-width: 118px !important;
    min-height: 44px !important;
    padding: 0 14px !important;
    border: 0 !important;
    border-radius: 16px !important;
    background: #111318 !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
  }

  .search-filter-panel > summary b {
    width: 22px !important;
    height: 22px !important;
    display: inline-grid !important;
    place-items: center !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #111318 !important;
    font-size: 11px !important;
  }

  .search-filter-form {
    position: fixed !important;
    z-index: 180 !important;
    top: calc(132px + env(safe-area-inset-top)) !important;
    left: 14px !important;
    right: 14px !important;
    width: auto !important;
    max-height: calc(100dvh - 150px - env(safe-area-inset-top)) !important;
    padding: 14px !important;
    overflow-y: auto !important;
    border: 1px solid var(--rule) !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 22px 70px rgba(17, 24, 39, 0.18) !important;
  }

  .search-filter-form__categories > div {
    display: flex !important;
    gap: 8px !important;
    overflow-x: auto !important;
    padding-bottom: 2px !important;
    scrollbar-width: none;
  }

  .search-filter-form__categories > div::-webkit-scrollbar {
    display: none;
  }

  .search-filter-form__categories label {
    flex: 0 0 auto !important;
  }

  .search-filter-form__categories label span {
    min-height: 42px !important;
    border-radius: 14px !important;
    white-space: nowrap !important;
  }

  .search-filter-form__fields {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .search-filter-form__actions {
    grid-template-columns: 1fr 1fr !important;
  }

  .search-results__bar {
    margin: 0 0 10px !important;
  }

  .search-results__bar h2 {
    font-size: 20px !important;
    font-weight: 560 !important;
    letter-spacing: -0.025em !important;
  }

  .search-results__bar span {
    display: none !important;
  }

  .search-result-list {
    gap: 10px !important;
  }

  .search-event-row {
    height: 132px !important;
    min-height: 132px !important;
    grid-template-columns: 104px minmax(0, 1fr) !important;
    border: 1px solid #e0e7ef !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06) !important;
  }

  .search-event-row__media {
    height: 100% !important;
    border-radius: 17px 0 0 17px !important;
  }

  .search-event-row__copy {
    min-height: 0 !important;
    gap: 4px !important;
    padding: 12px 42px 12px 12px !important;
    align-content: center !important;
  }

  .search-event-row__category {
    font-size: 8px !important;
    font-weight: 560 !important;
    letter-spacing: 0.04em !important;
  }

  .search-event-row__copy h2 {
    display: -webkit-box !important;
    margin: 0 !important;
    overflow: hidden !important;
    font-size: 17px !important;
    font-weight: 540 !important;
    line-height: 1.08 !important;
    letter-spacing: -0.025em !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .search-event-row__facts {
    display: grid !important;
    gap: 3px !important;
    color: #778390 !important;
    font-size: 10px !important;
    font-weight: 430 !important;
    line-height: 1.12 !important;
  }

  .search-event-row__facts span {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .search-event-row__facts .icon {
    width: 12px !important;
    height: 12px !important;
  }

  .search-event-row__copy p {
    display: none !important;
  }

  .search-event-row__copy strong {
    margin-top: 2px !important;
    color: #4f565f !important;
    font-size: 12px !important;
    font-weight: 560 !important;
  }

  .search-event-row__save {
    top: 9px !important;
    right: 9px !important;
    width: 30px !important;
    height: 30px !important;
  }

  .organizer-workspace,
  .organizer-shell,
  .organizer-panel {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
  }

  .organizer-row {
    grid-template-columns: 76px minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 10px !important;
  }

  .organizer-row__media,
  .organizer-row__media img {
    width: 76px !important;
    height: 76px !important;
  }

  .organizer-row__main h3,
  .organizer-row__main p,
  .organizer-row__main span {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .organizer-row__state,
  .organizer-row__actions {
    grid-column: 1 / -1 !important;
    justify-content: flex-start !important;
  }

  .organizer-row__actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
}

/* 2026-08-25 final mobile override: this must stay at the end of the file. */
@media (max-width: 720px) {
  html,
  body,
  #route-outlet {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }

  .page-frame,
  .home-page,
  .home-page--template,
  .search-page,
  .focused-page,
  .profile-page,
  .tickets-page,
  .orders-page,
  .plans-page,
  .organizer-workspace {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    padding-inline: 10px !important;
    box-sizing: border-box !important;
  }

  .site-header {
    padding: calc(10px + env(safe-area-inset-top)) 10px 8px !important;
    border-bottom: 0 !important;
  }

  .site-header__inner {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 112px !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 48px 48px !important;
    grid-template-rows: 52px 48px !important;
    gap: 8px !important;
    align-items: center !important;
  }

  .wordmark,
  .header-tickets,
  .mobile-dock,
  .mobile-menu-toggle,
  .mobile-menu-panel,
  .mobile-menu-scrim {
    display: none !important;
  }

  .header-actions {
    display: contents !important;
  }

  .city-picker {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    min-width: 0 !important;
  }

  .city-chip {
    height: 52px !important;
    min-width: 0 !important;
    width: auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #11151b !important;
    font-size: clamp(32px, 10vw, 42px) !important;
    font-weight: 650 !important;
    line-height: 1 !important;
    letter-spacing: -0.055em !important;
  }

  .city-chip span[data-icon],
  .city-chip .icon {
    display: none !important;
  }

  .city-chip::after {
    content: "" !important;
    width: 12px !important;
    height: 12px !important;
    margin-left: 8px !important;
    border-right: 3px solid #a3a8af !important;
    border-bottom: 3px solid #a3a8af !important;
    transform: translateY(-4px) rotate(45deg) !important;
  }

  .header-search {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #f3f5f7 !important;
    box-shadow: none !important;
    display: grid !important;
    place-items: center !important;
  }

  .header-search input {
    width: 1px !important;
    min-width: 1px !important;
    opacity: 0 !important;
    font-size: 16px !important;
  }

  .header-search:focus-within,
  .header-search.is-open {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 48px !important;
    padding: 0 44px 0 16px !important;
    border-radius: 17px !important;
    background: #f1f5f9 !important;
    display: flex !important;
  }

  .header-search:focus-within input,
  .header-search.is-open input {
    width: 100% !important;
    min-width: 0 !important;
    opacity: 1 !important;
  }

  .header-profile {
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
    padding: 0 !important;
    border-radius: 50% !important;
  }

  .mobile-home-filter-shell,
  .search-filter-shell {
    display: flex !important;
    gap: 8px !important;
    width: 100% !important;
    overflow-x: auto !important;
    padding: 0 0 2px !important;
    margin: 0 0 10px !important;
    scrollbar-width: none !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
  }

  .mobile-home-filter-shell::-webkit-scrollbar,
  .search-filter-shell::-webkit-scrollbar {
    display: none !important;
  }

  .mobile-home-filter,
  .search-filter-panel > summary,
  .search-quick-chip {
    flex: 0 0 auto !important;
    min-height: 48px !important;
    padding: 0 18px !important;
    border: 0 !important;
    border-radius: 18px !important;
    background: #f3f4f6 !important;
    color: #0f1217 !important;
    font: inherit !important;
    font-size: 18px !important;
    font-weight: 570 !important;
    letter-spacing: -0.03em !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    white-space: nowrap !important;
  }

  .mobile-home-filter--all,
  .mobile-home-filter.is-active,
  .search-filter-panel > summary,
  .search-quick-chip.is-active {
    background: #050505 !important;
    color: #fff !important;
  }

  .mobile-home-filter b,
  .search-filter-panel > summary b {
    width: 28px !important;
    height: 28px !important;
    display: inline-grid !important;
    place-items: center !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #050505 !important;
    font-size: 15px !important;
    font-weight: 650 !important;
  }

  .home-page--template .sponsor-stage {
    width: 100% !important;
    margin: 0 0 12px !important;
    border-radius: 22px !important;
  }

  .home-page--template .sponsor-stage__viewport {
    aspect-ratio: 1 / 1.22 !important;
    min-height: 0 !important;
    border-radius: 22px !important;
  }

  .home-page--template .sponsor-stage__copy h2 {
    font-size: clamp(31px, 10vw, 42px) !important;
    font-weight: 650 !important;
    line-height: 0.96 !important;
    letter-spacing: -0.06em !important;
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 4 !important;
  }

  .feed-section,
  .home-page--template .feed-section,
  .home-page--template .feed-section + .feed-section,
  .person-section,
  .detail-flow > section {
    margin-top: 14px !important;
    margin-bottom: 0 !important;
  }

  .section-heading,
  .section-heading--controls,
  .section-heading--action {
    margin-bottom: 8px !important;
    gap: 4px !important;
  }

  .section-heading h2,
  .section-heading__title-link {
    font-size: clamp(30px, 9vw, 38px) !important;
    line-height: 0.96 !important;
  }

  .section-heading p {
    margin-top: 3px !important;
    font-size: 13px !important;
    line-height: 1.15 !important;
  }

  .programme-calendar {
    margin: 0 0 10px !important;
    padding: 0 !important;
  }

  .home-page--template .event-tile-grid,
  .home-page--template .poster-rail,
  .home-page--template .workshop-list,
  .home-page--template .theatre-grid,
  .search-result-list {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .rail-viewport {
    overflow: visible !important;
  }

  .rail-controls,
  .heading-controls {
    display: none !important;
  }

  .event-card,
  .event-card--tile,
  .event-card--wide,
  .event-card--poster,
  .event-card--workshop,
  .search-event-row {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .event-card__media,
  .search-event-row__media {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 364 / 243 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
  }

  .event-card__copy,
  .search-event-row__copy {
    padding: 9px 2px 0 !important;
    gap: 3px !important;
  }

  .event-card__copy h3,
  .search-event-row__copy h2 {
    margin: 0 !important;
    font-size: clamp(24px, 7.4vw, 32px) !important;
    font-weight: 520 !important;
    line-height: 1.02 !important;
    letter-spacing: -0.055em !important;
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
  }

  .event-card__date,
  .event-card__venue,
  .search-event-row__facts span {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 14px !important;
    line-height: 1.12 !important;
  }

  .event-card__price,
  .search-event-row__copy strong {
    font-size: 15px !important;
    font-weight: 580 !important;
    white-space: nowrap !important;
  }

  .search-page__header {
    display: grid !important;
    gap: 10px !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    border: 0 !important;
  }

  .search-page__header h1 {
    font-size: clamp(28px, 9vw, 36px) !important;
  }

  .search-event-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    height: auto !important;
    min-height: 0 !important;
    gap: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .search-event-row__copy {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 3px 8px !important;
  }

  .search-event-row__category,
  .search-event-row__copy p {
    display: none !important;
  }

  .search-event-row__copy h2 {
    grid-column: 1 / -1 !important;
  }

  .search-event-row__facts {
    grid-column: 1 !important;
    display: grid !important;
    gap: 2px !important;
    margin-top: 3px !important;
    color: #8b95a1 !important;
  }

  .search-event-row__copy strong {
    grid-column: 2 !important;
    grid-row: 2 !important;
    align-self: center !important;
    margin: 0 !important;
    color: #4f555d !important;
  }
}
/* 2026-08-25 mobile alignment pass: full-width layout without legacy 390px clamp. */
@media (max-width: 720px) {
  :root {
    --page: calc(100vw - 20px) !important;
  }

  html,
  body,
  #route-outlet {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    overflow-x: hidden !important;
  }

  #route-outlet {
    padding-inline: 0 !important;
  }

  .page-frame,
  .home-page.page-frame,
  .home-page--template.page-frame,
  .home-page--template,
  .search-page.page-frame,
  .focused-page.page-frame,
  .profile-page.page-frame,
  .tickets-page.page-frame,
  .orders-page.page-frame,
  .plans-page.page-frame,
  .organizer-page.page-frame,
  .organizer-workspace.page-frame {
    width: calc(100vw - 20px) !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
    box-sizing: border-box !important;
  }

  .site-header {
    height: auto !important;
    min-height: 0 !important;
    padding: calc(8px + env(safe-area-inset-top)) 10px 8px !important;
    border-bottom: 1px solid #edf0f3 !important;
    background: rgba(255, 255, 255, 0.96) !important;
  }

  .site-header__inner {
    width: calc(100vw - 20px) !important;
    max-width: none !important;
    min-height: 102px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 44px !important;
    grid-template-rows: 44px 50px !important;
    gap: 8px !important;
    align-items: center !important;
  }

  .wordmark,
  .header-tickets,
  .mobile-dock,
  .mobile-menu-toggle,
  .mobile-menu-panel,
  .mobile-menu-scrim {
    display: none !important;
  }

  .header-actions {
    display: contents !important;
  }

  .city-picker {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    min-width: 0 !important;
  }

  .city-chip {
    width: auto !important;
    min-width: 0 !important;
    height: 40px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #15191f !important;
    font-size: 21px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    letter-spacing: -0.04em !important;
  }

  .city-chip span[data-icon],
  .city-chip .icon,
  .city-chip .asset-icon {
    display: inline-block !important;
    flex: 0 0 auto !important;
    width: 17px !important;
    height: 17px !important;
    color: #87919d !important;
  }

  .city-chip::after {
    width: 7px !important;
    height: 7px !important;
    margin: 0 0 4px 3px !important;
    border-right: 2px solid #9aa3ad !important;
    border-bottom: 2px solid #9aa3ad !important;
  }

  .header-profile,
  .header-profile.header-profile--login {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
    border: 1px solid #dbe3ec !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #087fe0 !important;
    box-shadow: 0 8px 24px rgba(35, 53, 73, 0.08) !important;
  }

  .header-profile > span[data-icon],
  .header-profile .icon,
  .header-profile .asset-icon,
  .header-profile span:not([data-icon]).asset-icon {
    display: inline-block !important;
    width: 22px !important;
    height: 22px !important;
    color: currentColor !important;
  }

  .header-profile.header-profile--login > span:not([data-icon]):not(.asset-icon) {
    display: none !important;
  }

  .header-search,
  .header-search:focus-within,
  .header-search.is-open {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    justify-self: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 50px !important;
    padding: 0 44px 0 15px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    border: 1px solid #dde4ec !important;
    border-radius: 16px !important;
    background: #f3f6f9 !important;
    box-shadow: none !important;
  }

  .header-search > span[data-icon],
  .header-search > .icon,
  .header-search > .asset-icon {
    display: inline-block !important;
    flex: 0 0 auto !important;
    width: 20px !important;
    height: 20px !important;
    color: #798594 !important;
  }

  .header-search input,
  .header-search:focus-within input,
  .header-search.is-open input {
    width: 100% !important;
    min-width: 0 !important;
    opacity: 1 !important;
    color: #171b21 !important;
    font-size: 15px !important;
    font-weight: 460 !important;
    letter-spacing: -0.025em !important;
  }

  .header-search input::placeholder {
    color: #99a3af !important;
    opacity: 1 !important;
  }

  .header-search__results {
    top: 58px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-height: min(58vh, 480px) !important;
    border-radius: 16px !important;
  }

  .mobile-home-filter-shell,
  .search-filter-shell {
    width: 100% !important;
    gap: 7px !important;
    margin: 5px 0 8px !important;
    padding: 0 0 2px !important;
  }

  .mobile-home-filter,
  .search-filter-panel > summary,
  .search-quick-chip {
    min-height: 44px !important;
    padding: 0 15px !important;
    gap: 8px !important;
    border-radius: 15px !important;
    font-size: 15px !important;
    font-weight: 560 !important;
  }

  .mobile-home-filter b,
  .search-filter-panel > summary b {
    width: 24px !important;
    height: 24px !important;
    font-size: 13px !important;
  }

  .home-page--template .sponsor-stage {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    margin: 3px 0 10px !important;
    overflow: hidden !important;
    border-radius: 20px !important;
  }

  .home-page--template .sponsor-stage__viewport {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 5 !important;
    border-radius: 20px !important;
  }

  .home-page--template .sponsor-stage__track,
  .home-page--template .sponsor-slide,
  .home-page--template .sponsor-slide__image,
  .home-page--template .sponsor-slide__image img {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
  }

  .home-page--template .sponsor-slide__copy {
    top: auto !important;
    right: auto !important;
    bottom: 17px !important;
    left: 17px !important;
    width: calc(100% - 88px) !important;
    max-width: none !important;
    transform: none !important;
  }

  .home-page--template .sponsor-slide__copy h2,
  .home-page--template .sponsor-stage__copy h2 {
    margin: 4px 0 6px !important;
    max-width: 100% !important;
    font-size: clamp(27px, 8.1vw, 34px) !important;
    font-weight: 590 !important;
    line-height: 0.99 !important;
    letter-spacing: -0.055em !important;
    -webkit-line-clamp: 4 !important;
  }

  .home-page--template .sponsor-slide__copy p {
    max-width: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
    color: rgba(255, 255, 255, 0.84) !important;
    font-size: 12px !important;
    line-height: 1.18 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .home-page--template .sponsor-slide__price {
    min-height: 34px !important;
    margin-top: 9px !important;
    padding-inline: 12px !important;
    font-size: 12px !important;
  }

  .home-page--template .sponsor-stage__rail {
    right: 13px !important;
    bottom: 13px !important;
    gap: 8px !important;
  }

  .home-page--template .sponsor-stage__rail button {
    width: 40px !important;
    height: 40px !important;
  }

  .home-page--template .sponsor-stage__progress {
    width: 48px !important;
  }

  .feed-section,
  .home-page--template .feed-section,
  .home-page--template .feed-section + .feed-section,
  .home-page--template .party-programme,
  .home-page--template .concert-programme,
  .home-page--template .workshop-programme,
  .home-page--template .theatre-programme,
  .person-section,
  .detail-flow > section {
    margin-top: 17px !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
  }

  .section-heading,
  .section-heading--controls,
  .section-heading--action,
  .home-page--template .culture-heading {
    margin-bottom: 8px !important;
    gap: 4px !important;
  }

  .section-heading h2,
  .section-heading__title-link,
  .home-page--template .section-heading h2,
  .home-page--template .theatre-programme .section-heading h2 {
    font-size: clamp(25px, 7.2vw, 29px) !important;
    font-weight: 620 !important;
    line-height: 0.99 !important;
    letter-spacing: -0.055em !important;
  }

  .section-heading p,
  .home-page--template .section-heading p {
    margin-top: 2px !important;
    font-size: 12px !important;
    font-weight: 410 !important;
    line-height: 1.15 !important;
  }

  .programme-calendar {
    margin: 0 0 8px !important;
  }

  .home-page--template .event-tile-grid,
  .home-page--template .poster-rail,
  .home-page--template .workshop-list,
  .home-page--template .theatre-grid,
  .search-result-list {
    gap: 12px !important;
  }

  .event-card__media,
  .search-event-row__media {
    border-radius: 17px !important;
  }

  .event-card__copy,
  .search-event-row__copy,
  .home-page--template .event-card__copy {
    min-height: 0 !important;
    padding: 7px 1px 0 !important;
    gap: 2px !important;
    row-gap: 2px !important;
  }

  .event-card__copy h3,
  .search-event-row__copy h2,
  .home-page--template .event-card__copy h3,
  .home-page--template .theatre-grid .event-card__copy h3 {
    min-height: 0 !important;
    margin: 0 0 3px !important;
    font-size: clamp(22px, 6.5vw, 27px) !important;
    font-weight: 470 !important;
    line-height: 1.03 !important;
    letter-spacing: -0.052em !important;
    -webkit-line-clamp: 2 !important;
  }

  .event-card__date,
  .event-card__venue,
  .search-event-row__facts span,
  .home-page--template .event-card__date,
  .home-page--template .event-card__venue {
    font-size: 12px !important;
    font-weight: 390 !important;
    line-height: 1.13 !important;
  }

  .event-card__price,
  .search-event-row__copy strong,
  .home-page--template .event-card__price {
    font-size: 13px !important;
    font-weight: 540 !important;
  }

  .home-page--template .culture-layout {
    width: 100% !important;
    display: block !important;
    gap: 0 !important;
  }

  .home-page--template .theatre-carousel,
  .home-page--template .culture-people {
    width: 100% !important;
    min-width: 0 !important;
  }

  .home-page--template .culture-people {
    margin: 10px 0 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
  }

  .home-page--template .culture-people > header {
    display: none !important;
  }

  .home-page--template .culture-people .people-rail {
    width: 100% !important;
    display: flex !important;
    grid-template-columns: none !important;
    grid-auto-columns: initial !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 0 4px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x proximity !important;
    scrollbar-width: none !important;
  }

  .home-page--template .culture-people .people-rail::-webkit-scrollbar {
    display: none !important;
  }

  .home-page--template .culture-people .person-card,
  .home-page--template .culture-people .person-card:nth-child(n + 7) {
    flex: 0 0 152px !important;
    width: 152px !important;
    min-width: 152px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 6px !important;
    overflow: hidden !important;
    scroll-snap-align: start !important;
  }

  .home-page--template .culture-people .person-card__image {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: 0.82 / 1 !important;
    border-radius: 14px !important;
    object-fit: cover !important;
  }

  .home-page--template .culture-people .person-card__name {
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: 520 !important;
    line-height: 1.05 !important;
    letter-spacing: -0.04em !important;
  }

  .home-page--template .culture-people .person-card p,
  .home-page--template .culture-people .person-card small {
    margin: -2px 0 0 !important;
    font-size: 10.5px !important;
    font-weight: 390 !important;
    line-height: 1.14 !important;
  }

  .organizer-page.page-frame {
    padding-top: 8px !important;
    padding-bottom: 48px !important;
  }

  .organizer-mobile-head {
    width: 100% !important;
    margin: 0 0 9px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
  }

  .organizer-mobile-head h1 {
    margin: 0 !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 1.05 !important;
    letter-spacing: -0.045em !important;
  }

  .organizer-mobile-head p {
    margin: 3px 0 0 !important;
    color: #8a949f !important;
    font-size: 11px !important;
    line-height: 1.1 !important;
  }

  .organizer-mobile-head > a {
    flex: 0 0 40px !important;
    width: 40px !important;
    height: 40px !important;
    display: grid !important;
    place-items: center !important;
    border: 1px solid #dfe6ed !important;
    border-radius: 50% !important;
    color: #087fe0 !important;
  }

  .organizer-mobile-head > a .icon,
  .organizer-mobile-head > a .asset-icon {
    width: 20px !important;
    height: 20px !important;
  }

  .organizer-shell,
  .organizer-main,
  .organizer-panel,
  .organizer-workspace,
  .organizer-page .organizer-shell,
  .organizer-page .organizer-panel {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .organizer-shell {
    display: block !important;
  }

  .organizer-nav {
    position: static !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 0 9px !important;
    padding: 4px !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    overflow-x: auto !important;
    border: 0 !important;
    border-radius: 15px !important;
    background: #f3f6f9 !important;
    box-shadow: none !important;
    scrollbar-width: none !important;
  }

  .organizer-nav::-webkit-scrollbar {
    display: none !important;
  }

  .organizer-nav__brand,
  .organizer-nav section h2 {
    display: none !important;
  }

  .organizer-nav section {
    display: contents !important;
  }

  .organizer-nav__item {
    flex: 0 0 auto !important;
    width: auto !important;
    min-height: 39px !important;
    padding: 0 13px !important;
    display: inline-flex !important;
    align-items: center !important;
    border: 0 !important;
    border-radius: 11px !important;
    background: transparent !important;
    color: #68727e !important;
    font-size: 12.5px !important;
    font-weight: 480 !important;
    white-space: nowrap !important;
  }

  .organizer-nav__item.is-active {
    background: #fff !important;
    color: #087fe0 !important;
    box-shadow: 0 1px 6px rgba(25, 42, 61, 0.08) !important;
  }

  .organizer-panel {
    padding: 13px !important;
    border: 0 !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  .organizer-panel .section-heading,
  .organizer-panel .section-heading--controls,
  .organizer-panel .section-heading--action {
    margin-bottom: 9px !important;
  }

  .organizer-panel .section-heading h2,
  .organizer-hero h2 {
    font-size: 23px !important;
    font-weight: 600 !important;
    line-height: 1.02 !important;
  }

  .organizer-panel .section-heading p,
  .organizer-hero p {
    max-width: 100% !important;
    margin-top: 3px !important;
    font-size: 11.5px !important;
    line-height: 1.18 !important;
  }

  .organizer-hero {
    margin: 0 0 10px !important;
    padding: 0 !important;
  }

  .organizer-hero .eyebrow {
    font-size: 9px !important;
  }

  .organizer-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  .organizer-kpis article,
  .organizer-card-grid article {
    min-width: 0 !important;
    padding: 12px !important;
    border-radius: 13px !important;
  }

  .organizer-toolbar {
    margin: 0 0 10px !important;
  }

  .organizer-toolbar .button {
    width: 100% !important;
    min-height: 43px !important;
    padding-inline: 14px !important;
    border-radius: 13px !important;
    font-size: 13px !important;
  }

  .organizer-list {
    gap: 8px !important;
  }

  .organizer-row {
    width: 100% !important;
    min-width: 0 !important;
    grid-template-columns: 68px minmax(0, 1fr) !important;
    gap: 8px !important;
    padding: 8px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: #f6f8fa !important;
  }

  .organizer-row__media,
  .organizer-row__media img {
    width: 68px !important;
    height: 68px !important;
    border-radius: 10px !important;
  }

  .organizer-row__main h3 {
    margin: 2px 0 !important;
    font-size: 15px !important;
    line-height: 1.05 !important;
  }

  .organizer-row__main span,
  .organizer-row__main p {
    font-size: 10px !important;
    line-height: 1.12 !important;
    white-space: nowrap !important;
  }

  .organizer-row__state,
  .organizer-row__actions {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-width: 0 !important;
    justify-content: flex-start !important;
  }

  .organizer-row__state {
    gap: 6px !important;
    font-size: 11px !important;
  }

  .organizer-row__actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  .organizer-row__actions .button {
    min-height: 38px !important;
    padding: 0 8px !important;
    border-radius: 11px !important;
    font-size: 11px !important;
  }

  .organizer-panel .state-sheet,
  .organizer-panel .state-sheet--illustrated {
    min-height: 0 !important;
    padding: 26px 8px !important;
    gap: 7px !important;
  }

  .organizer-panel .state-sheet h2 {
    font-size: 22px !important;
    line-height: 1.04 !important;
  }

  .organizer-panel .state-sheet p {
    max-width: 290px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
  }

  .organizer-panel .state-symbol {
    width: 40px !important;
    height: 40px !important;
  }
}

@media (max-width: 720px) {
  body:not(.is-focused) .site-header__inner {
    width: calc(100vw - 20px) !important;
    max-width: none !important;
    min-height: 102px !important;
    margin: 0 auto !important;
    grid-template-columns: minmax(0, 1fr) 44px !important;
    grid-template-rows: 44px 50px !important;
    gap: 8px !important;
  }

  body:not(.is-focused) .site-header .city-chip {
    max-width: calc(100vw - 78px) !important;
    min-height: 40px !important;
    gap: 6px !important;
    color: #15191f !important;
    font-size: 21px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    letter-spacing: -0.04em !important;
  }

  body:not(.is-focused) .site-header .city-chip .icon,
  body:not(.is-focused) .site-header .city-chip .asset-icon {
    order: 0 !important;
    width: 17px !important;
    height: 17px !important;
    color: #87919d !important;
  }

  body:not(.is-focused) .city-picker__menu {
    left: 10px !important;
    width: min(300px, calc(100vw - 20px)) !important;
  }

  body:not(.is-focused) .header-search {
    border-radius: 16px !important;
  }

  body:not(.is-focused) .header-profile,
  body:not(.is-focused) .header-profile.header-profile--login {
    border-color: #cfe2f4 !important;
    background: #edf6ff !important;
    color: #087fe0 !important;
    box-shadow: none !important;
  }

  body:not(.is-focused) .header-profile > span {
    display: none !important;
  }

  body:not(.is-focused) .header-profile::before {
    content: "" !important;
    width: 21px !important;
    height: 21px !important;
    display: block !important;
    background: currentColor !important;
    -webkit-mask: url("/assets/icons/06_profile.svg") center / contain no-repeat !important;
    mask: url("/assets/icons/06_profile.svg") center / contain no-repeat !important;
  }
}

/* 2026-08-25 mobile rhythm pass: fixed header, equal rails and compact auth. */
@media (max-width: 720px) {
  body:not(.is-focused) .site-header,
  body.is-focused .site-header {
    position: fixed !important;
    inset: 0 0 auto !important;
    z-index: 1000 !important;
  }

  #route-outlet {
    padding-top: calc(124px + env(safe-area-inset-top)) !important;
  }

  body:not(.is-focused) .site-header__inner {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  body:not(.is-focused) .site-header .city-chip {
    max-width: calc(100vw - 108px) !important;
    min-height: 36px !important;
    height: 36px !important;
    gap: 5px !important;
    font-size: 14px !important;
    font-weight: 520 !important;
    letter-spacing: -0.025em !important;
  }

  body:not(.is-focused) .site-header .city-chip .icon,
  body:not(.is-focused) .site-header .city-chip .asset-icon,
  body:not(.is-focused) .site-header .city-chip [data-icon] {
    width: 20px !important;
    height: 20px !important;
  }

  body:not(.is-focused) .header-profile:not(.header-profile--login) {
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
  }

  body:not(.is-focused) .header-profile.header-profile--login {
    width: auto !important;
    min-width: 76px !important;
    height: 40px !important;
    padding: 0 13px 0 11px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #0878d1 !important;
    font-size: 13px !important;
    font-weight: 560 !important;
    white-space: nowrap !important;
  }

  body:not(.is-focused) .header-profile.header-profile--login::before {
    display: none !important;
  }

  body:not(.is-focused) .header-profile.header-profile--login > span {
    display: inline-flex !important;
    align-items: center !important;
  }

  body:not(.is-focused) .header-profile.header-profile--login > span[data-icon] {
    width: 18px !important;
    height: 18px !important;
  }

  body:not(.is-focused) .header-profile.header-profile--login .asset-icon {
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
  }

  .home-page--template .upcoming-section {
    margin-top: 16px !important;
  }

  .home-page--template .programme-calendar {
    margin: 0 !important;
  }

  .home-page--template .mobile-home-filter-shell {
    margin: 10px 0 15px !important;
    padding-bottom: 2px !important;
  }

  .home-page--template .mobile-home-filter {
    min-height: 42px !important;
    padding-inline: 14px !important;
    border-radius: 14px !important;
    font-size: 14px !important;
  }

  .home-page--template .feed-section,
  .home-page--template .feed-section + .feed-section,
  .home-page--template .party-programme,
  .home-page--template .concert-programme,
  .home-page--template .workshop-programme,
  .home-page--template .theatre-programme {
    width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    margin-top: 22px !important;
  }

  .home-page--template .section-heading,
  .home-page--template .section-heading--controls,
  .home-page--template .section-heading--action,
  .home-page--template .culture-heading {
    margin-bottom: 10px !important;
  }

  .home-page--template .section-heading h2,
  .home-page--template .section-heading__title-link,
  .home-page--template .theatre-programme .section-heading h2 {
    font-size: clamp(32px, 8.5vw, 35px) !important;
    font-weight: 740 !important;
    line-height: 0.98 !important;
  }

  .home-page--template .section-heading p {
    display: none !important;
  }

  .home-page--template .section-heading__title-link .icon {
    width: 22px !important;
    height: 22px !important;
  }

  .home-page--template .rail-shell {
    width: 100% !important;
    min-width: 0 !important;
  }

  .home-page--template .rail-shell > .rail-arrow {
    display: none !important;
  }

  .home-page--template .event-tile-grid,
  .home-page--template .event-tile-grid--upcoming,
  .home-page--template .poster-rail,
  .home-page--template .workshop-list,
  .home-page--template .theatre-grid {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    grid-template-columns: none !important;
    align-items: flex-start !important;
    gap: 10px !important;
    padding: 0 0 4px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x proximity !important;
    scrollbar-width: none !important;
  }

  .home-page--template .event-tile-grid::-webkit-scrollbar,
  .home-page--template .poster-rail::-webkit-scrollbar,
  .home-page--template .workshop-list::-webkit-scrollbar,
  .home-page--template .theatre-grid::-webkit-scrollbar {
    display: none !important;
  }

  body:not(.is-focused) .home-page--template .event-tile-grid .event-card,
  body:not(.is-focused) .home-page--template .poster-rail .event-card,
  body:not(.is-focused) .home-page--template .workshop-list .event-card,
  body:not(.is-focused) .home-page--template .theatre-grid .event-card {
    flex: 0 0 min(70vw, 260px) !important;
    width: min(70vw, 260px) !important;
    min-width: min(70vw, 260px) !important;
    max-width: 260px !important;
    min-height: 0 !important;
    height: auto !important;
    display: block !important;
    scroll-snap-align: start !important;
  }

  body:not(.is-focused) .home-page--template .event-tile-grid .event-card__media,
  body:not(.is-focused) .home-page--template .poster-rail .event-card__media,
  body:not(.is-focused) .home-page--template .workshop-list .event-card__media,
  body:not(.is-focused) .home-page--template .theatre-grid .event-card__media,
  body:not(.is-focused) .home-page--template .theatre-grid .event-card--theatre .event-card__media {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    flex: 0 0 auto !important;
    flex-basis: auto !important;
    aspect-ratio: 364 / 243 !important;
    border-radius: 16px !important;
  }

  body:not(.is-focused) .home-page--template .event-tile-grid .event-card__copy,
  body:not(.is-focused) .home-page--template .poster-rail .event-card__copy,
  body:not(.is-focused) .home-page--template .workshop-list .event-card__copy,
  body:not(.is-focused) .home-page--template .theatre-grid .event-card__copy {
    min-height: 0 !important;
    padding: 7px 1px 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto !important;
    align-content: start !important;
    gap: 3px 8px !important;
  }

  body:not(.is-focused) .home-page--template .event-tile-grid .event-card__copy h3,
  body:not(.is-focused) .home-page--template .poster-rail .event-card__copy h3,
  body:not(.is-focused) .home-page--template .workshop-list .event-card__copy h3,
  body:not(.is-focused) .home-page--template .theatre-grid .event-card__copy h3 {
    grid-column: 1 / -1 !important;
    margin: 0 0 3px !important;
    font-size: 20px !important;
    font-weight: 470 !important;
    line-height: 1.04 !important;
  }

  body:not(.is-focused) .home-page--template .event-card__meta {
    grid-column: 1 !important;
    grid-row: 2 !important;
    min-width: 0 !important;
    align-self: start !important;
    gap: 1px !important;
  }

  body:not(.is-focused) .home-page--template .event-card__bottom {
    grid-column: 2 !important;
    grid-row: 2 !important;
    align-self: start !important;
    justify-self: end !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .search-result-list {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }

  .search-event-row {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 92px minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 8px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: #f5f7f9 !important;
  }

  .search-event-row__media {
    width: 92px !important;
    height: 92px !important;
    aspect-ratio: 1 !important;
    border-radius: 11px !important;
  }

  .search-event-row__copy {
    min-width: 0 !important;
    padding: 2px 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-content: start !important;
    gap: 3px 8px !important;
  }

  .search-event-row__copy h2 {
    grid-column: 1 / -1 !important;
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 520 !important;
    line-height: 1.06 !important;
    -webkit-line-clamp: 2 !important;
  }

  .search-event-row__facts {
    grid-column: 1 !important;
    gap: 2px !important;
    margin-top: 2px !important;
  }

  .search-event-row__facts span {
    font-size: 10.5px !important;
  }

  .search-event-row__copy strong {
    grid-column: 2 !important;
    grid-row: 2 !important;
    align-self: end !important;
    font-size: 11px !important;
  }

  .auth-dialog {
    width: calc(100vw - 20px) !important;
    max-width: none !important;
    max-height: calc(100dvh - 20px) !important;
    margin: auto !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border-radius: 20px !important;
  }

  .auth-dialog__close {
    top: 10px !important;
    right: 10px !important;
    width: 38px !important;
    height: 38px !important;
  }

  .auth-dialog__brand {
    gap: 10px !important;
    padding: 17px 48px 14px 16px !important;
  }

  .auth-dialog__mark {
    width: 34px !important;
    height: 42px !important;
  }

  .auth-dialog__brand h2 {
    font-size: 21px !important;
    font-weight: 650 !important;
  }

  .auth-dialog__brand .eyebrow {
    font-size: 9px !important;
  }

  .auth-dialog__body {
    padding: 14px 16px 17px !important;
  }

  .auth-tabs {
    border-radius: 11px !important;
  }

  .auth-tab {
    min-height: 40px !important;
    font-size: 13px !important;
  }

  .auth-dialog__sub {
    margin: 10px 2px 2px !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
  }

  .auth-dialog .auth-form {
    gap: 10px !important;
  }

  .auth-dialog .auth-field {
    gap: 4px !important;
  }

  .auth-dialog .auth-field input {
    height: 46px !important;
    border-radius: 11px !important;
    font-size: 14px !important;
  }

  .auth-dialog .auth-submit {
    min-height: 48px !important;
    margin-top: 2px !important;
    font-size: 14px !important;
  }

  .auth-demo {
    margin-top: 13px !important;
    padding-top: 12px !important;
  }

  .auth-demo__row {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }

  .auth-demo__chip {
    min-height: 48px !important;
    padding: 8px 10px !important;
    border-radius: 11px !important;
  }
}

/* Active mobile product layer. Keep this last so legacy catalogue rules cannot resize it. */
body:not([data-route="home"]) .site-footer {
  display: none !important;
}

.home-filter-dialog {
  width: min(680px, calc(100vw - 24px)) !important;
  max-height: min(760px, calc(100dvh - 24px)) !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 20px !important;
  background: #fff !important;
}

.home-filter-results {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  gap: 18px 12px !important;
}

@media (max-width: 720px) {
  html,
  body {
    max-width: 100% !important;
    overflow-x: clip !important;
  }

  body.is-focused #route-outlet {
    padding-top: 0 !important;
  }

  body:not(.is-focused) #route-outlet {
    padding-top: calc(124px + env(safe-area-inset-top)) !important;
  }

  .home-filter-dialog {
    inset: auto 0 0 !important;
    width: 100vw !important;
    max-width: none !important;
    max-height: min(82dvh, 720px) !important;
    margin: auto 0 0 !important;
    border-radius: 20px 20px 0 0 !important;
  }

  .home-filter-form {
    padding: 16px 14px !important;
  }

  .home-filter-dialog__head {
    margin-bottom: 14px !important;
  }

  .home-filter-dialog__head h2 {
    font-size: 24px !important;
  }

  .home-filter-form__fields {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  .home-filter-form__fields label:nth-child(n + 3) {
    grid-column: 1 / -1 !important;
  }

  .home-filter-form__categories label input {
    width: 1px !important;
    min-width: 1px !important;
    height: 1px !important;
    min-height: 1px !important;
  }

  .home-filter-form__actions {
    bottom: -16px !important;
    margin: 16px -14px -16px !important;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)) !important;
  }

  .home-page--template .feed-section,
  .home-page--template .feed-section + .feed-section,
  .home-page--template .party-programme,
  .home-page--template .concert-programme,
  .home-page--template .workshop-programme,
  .home-page--template .theatre-programme {
    margin-top: 18px !important;
  }

  .home-page--template .section-heading,
  .home-page--template .section-heading--controls,
  .home-page--template .section-heading--action,
  .home-page--template .culture-heading {
    margin-bottom: 8px !important;
  }

  .home-page--template .section-heading h2,
  .home-page--template .section-heading__title-link,
  .home-page--template .theatre-programme .section-heading h2 {
    font-size: clamp(23px, 6.4vw, 26px) !important;
    font-weight: 600 !important;
    line-height: 1 !important;
  }

  .home-page--template .sponsor-stage {
    margin: 3px 0 8px !important;
    border-radius: 16px !important;
  }

  .home-page--template .sponsor-stage__viewport {
    height: auto !important;
    aspect-ratio: 16 / 7 !important;
    border-radius: 16px !important;
  }

  .home-page--template .sponsor-slide__copy {
    bottom: 13px !important;
    left: 14px !important;
    width: calc(100% - 82px) !important;
  }

  .home-page--template .sponsor-slide__venue {
    font-size: 8px !important;
  }

  .home-page--template .sponsor-slide__copy h2,
  .home-page--template .sponsor-stage__copy h2 {
    margin: 2px 0 3px !important;
    font-size: clamp(19px, 5.6vw, 23px) !important;
    line-height: 1 !important;
    -webkit-line-clamp: 2 !important;
  }

  .home-page--template .sponsor-slide__copy p {
    font-size: 9px !important;
  }

  .home-page--template .sponsor-slide__price {
    min-height: 27px !important;
    margin-top: 5px !important;
    padding-inline: 9px !important;
    font-size: 9.5px !important;
  }

  .home-page--template .sponsor-stage__rail {
    right: 10px !important;
    bottom: 10px !important;
  }

  .home-page--template .sponsor-stage__rail button {
    width: 34px !important;
    height: 34px !important;
  }

  .home-page--template .event-tile-grid,
  .home-page--template .poster-rail,
  .home-page--template .workshop-list,
  .home-page--template .theatre-grid,
  .home-page--template .people-rail,
  .programme-days__rail {
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-x: contain !important;
    touch-action: pan-x !important;
  }

  .home-page--template .event-card__hit,
  .home-page--template .sponsor-slide__hit {
    touch-action: pan-x !important;
  }

  body:not(.is-focused) .home-page--template .event-tile-grid .event-card,
  body:not(.is-focused) .home-page--template .poster-rail .event-card,
  body:not(.is-focused) .home-page--template .workshop-list .event-card,
  body:not(.is-focused) .home-page--template .theatre-grid .event-card {
    flex-basis: min(64vw, 238px) !important;
    width: min(64vw, 238px) !important;
    min-width: min(64vw, 238px) !important;
    max-width: 238px !important;
  }

  body:not(.is-focused) .home-page--template .event-card__copy,
  body:not(.is-focused) .home-page--template .event-tile-grid .event-card__copy,
  body:not(.is-focused) .home-page--template .poster-rail .event-card__copy,
  body:not(.is-focused) .home-page--template .workshop-list .event-card__copy,
  body:not(.is-focused) .home-page--template .theatre-grid .event-card__copy {
    height: auto !important;
    padding: 9px 1px 0 !important;
    gap: 4px 8px !important;
  }

  body:not(.is-focused) .home-page--template .event-card__copy h3,
  body:not(.is-focused) .home-page--template .event-tile-grid .event-card__copy h3,
  body:not(.is-focused) .home-page--template .poster-rail .event-card__copy h3,
  body:not(.is-focused) .home-page--template .workshop-list .event-card__copy h3,
  body:not(.is-focused) .home-page--template .theatre-grid .event-card__copy h3 {
    margin: 0 0 5px !important;
    font-size: 19px !important;
    font-weight: 460 !important;
    line-height: 1.06 !important;
  }

  body:not(.is-focused) .home-page--template .event-card__meta {
    min-height: 34px !important;
    align-self: start !important;
    gap: 2px !important;
  }

  body:not(.is-focused) .home-page--template .event-card__date {
    font-size: 11.5px !important;
    font-weight: 460 !important;
    line-height: 1.15 !important;
  }

  body:not(.is-focused) .home-page--template .event-card__venue {
    font-size: 10.5px !important;
    font-weight: 390 !important;
    line-height: 1.14 !important;
  }

  body:not(.is-focused) .home-page--template .event-card__bottom {
    align-self: end !important;
  }

  body:not(.is-focused) .home-page--template .event-card__price {
    font-size: 11.5px !important;
    font-weight: 540 !important;
    line-height: 1.1 !important;
  }

  .upcoming-section--filtered .mobile-home-filter-shell {
    margin-bottom: 12px !important;
  }

  .home-filter-results {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    gap: 18px !important;
  }

  body:not(.is-focused) .home-page--template .home-filter-results .event-card {
    width: min(100%, 260px) !important;
    min-width: 0 !important;
    max-width: 260px !important;
  }

  .event-detail,
  .event-detail .detail-stage,
  .event-detail .detail-flow {
    width: 100% !important;
    max-width: none !important;
  }

  .event-detail .detail-stage,
  .event-detail .detail-flow {
    padding-right: 10px !important;
    padding-left: 10px !important;
  }

  .event-detail .detail-stage {
    padding-top: 8px !important;
  }

  .event-detail .back-link {
    min-height: 38px !important;
    margin: 0 0 7px !important;
    font-size: 12px !important;
  }

  .event-detail .detail-hero {
    min-height: 0 !important;
    aspect-ratio: 4 / 3 !important;
    border-radius: 15px !important;
  }

  .event-detail .detail-hero__copy {
    right: 14px !important;
    bottom: 14px !important;
    left: 14px !important;
    max-width: calc(100% - 28px) !important;
  }

  .event-detail .detail-hero__copy h1 {
    margin: 4px 0 !important;
    font-size: clamp(24px, 7.4vw, 30px) !important;
    font-weight: 570 !important;
    line-height: 1 !important;
  }

  .event-detail .detail-hero__copy span,
  .event-detail .detail-hero__copy p {
    font-size: 10.5px !important;
    line-height: 1.2 !important;
  }

  .event-detail .detail-facts {
    margin-top: 9px !important;
    border-radius: 13px !important;
  }

  .event-detail .detail-facts > div {
    min-height: 0 !important;
    padding: 11px 12px !important;
    grid-template-columns: 19px minmax(0, 1fr) !important;
  }

  .event-detail .detail-facts .icon,
  .event-detail .detail-facts .asset-icon {
    width: 17px !important;
    height: 17px !important;
  }

  .event-detail .detail-facts span {
    font-size: 9px !important;
  }

  .event-detail .detail-facts strong {
    font-size: 12px !important;
    line-height: 1.25 !important;
  }

  .event-detail .detail-copy,
  .event-detail .detail-lineup,
  .event-detail .detail-gallery,
  .event-detail .ticket-preview {
    padding: 19px 0 !important;
    border-top: 1px solid #e5e9ee !important;
  }

  .event-detail .detail-copy .detail-lead,
  .event-detail .detail-copy p {
    margin-top: 8px !important;
    font-size: 13px !important;
    line-height: 1.48 !important;
  }

  .event-detail .section-heading {
    margin-bottom: 9px !important;
  }

  .event-detail .section-heading h2 {
    font-size: 23px !important;
    font-weight: 580 !important;
    line-height: 1.02 !important;
  }

  .event-detail .section-heading p {
    margin-top: 3px !important;
    font-size: 10.5px !important;
  }

  .event-detail .detail-flow {
    padding-bottom: 96px !important;
  }

  .event-detail .event-legal {
    margin: 18px 0 0 !important;
    padding: 12px 0 0 !important;
    border-top: 1px solid #e5e9ee !important;
    gap: 8px !important;
    color: #98a2ad !important;
    font-size: 9px !important;
    line-height: 1.3 !important;
  }

  .event-detail .purchase-dock {
    right: 10px !important;
    bottom: max(8px, env(safe-area-inset-bottom)) !important;
    left: 10px !important;
    width: auto !important;
    min-height: 58px !important;
    padding: 8px 8px 8px 13px !important;
    border-radius: 14px !important;
    transform: none !important;
  }

  .event-detail .purchase-dock strong {
    font-size: 15px !important;
  }

  .event-detail .purchase-dock .button--signal {
    min-height: 42px !important;
    padding-inline: 15px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
  }

  .org-editor[open] {
    inset: 0 !important;
    width: 100vw !important;
    max-width: none !important;
    height: 100dvh !important;
    max-height: none !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
  }

  .org-editor .auth-dialog__close {
    top: 9px !important;
    right: 9px !important;
    z-index: 20 !important;
    width: 38px !important;
    height: 38px !important;
  }

  .org-editor__head {
    flex: 0 0 auto !important;
    padding: 12px 50px 0 13px !important;
    background: #fff !important;
  }

  .org-editor__head h2 {
    margin-top: 2px !important;
    font-size: 22px !important;
    font-weight: 620 !important;
    line-height: 1.02 !important;
  }

  .org-tabs {
    width: calc(100vw - 13px) !important;
    margin-top: 9px !important;
    gap: 0 !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x !important;
  }

  .org-tab {
    min-height: 39px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
    font-weight: 520 !important;
  }

  .org-editor__body {
    flex: 1 1 auto !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 13px 13px calc(86px + env(safe-area-inset-bottom)) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .org-editor__section + .org-editor__section {
    margin-top: 18px !important;
  }

  .org-editor__section h3 {
    margin-bottom: 9px !important;
    font-size: 17px !important;
    font-weight: 580 !important;
  }

  .org-editor__grid,
  .org-toggle-grid,
  .org-poster-slots {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 9px !important;
  }

  .org-cats {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x !important;
  }

  .org-field input,
  .org-field select,
  .org-field textarea,
  .org-ticket-row input {
    min-height: 43px !important;
    padding-inline: 10px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
  }

  .org-slot,
  .org-slot__frame,
  .org-lineup,
  .org-ticket-row {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .org-ticket-row--head {
    display: none !important;
  }

  .org-ticket-row {
    position: relative !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 7px !important;
    padding: 9px !important;
    border-radius: 12px !important;
    background: #f5f7f9 !important;
  }

  .org-ticket-row input:first-child,
  .org-ticket-row input:nth-child(4) {
    grid-column: 1 / -1 !important;
  }

  .org-ticket-row > .icon-button {
    position: absolute !important;
    top: 11px !important;
    right: 11px !important;
    width: 34px !important;
    height: 34px !important;
  }

  .org-ticket-row input:first-child {
    padding-right: 46px !important;
  }

  .org-editor__actions {
    position: fixed !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 12 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)) !important;
    border-top: 1px solid #dde4eb !important;
    background: rgba(255, 255, 255, 0.98) !important;
  }

  .org-editor__actions .button {
    min-width: 0 !important;
    min-height: 40px !important;
    padding: 0 8px !important;
    border-radius: 10px !important;
    font-size: 10.5px !important;
    white-space: normal !important;
  }

  .organizer-page.page-frame,
  .search-page.page-frame,
  .profile-page.page-frame,
  .tickets-page.page-frame,
  .orders-page.page-frame {
    width: calc(100vw - 20px) !important;
    max-width: none !important;
    margin-inline: auto !important;
    padding-top: 8px !important;
  }

  .organizer-mobile-head h1 {
    font-size: 18px !important;
  }

  .organizer-panel .section-heading h2,
  .organizer-hero h2,
  .organizer-hero h1 {
    font-size: 21px !important;
  }

  .organizer-panel {
    padding: 10px !important;
  }
}

/* 2026-08-25 v12: real-iPhone sizing, stable filters and compact checkout. */
@media (max-width: 720px) {
  /* iOS zooms pages when a focused field is smaller than 16px. */
  input,
  select,
  textarea,
  .header-search input,
  .header-search:focus-within input,
  .header-search.is-open input {
    font-size: 16px !important;
  }

  body:not(.is-focused) .header-profile.header-profile--login {
    min-width: 82px !important;
    height: 40px !important;
    padding: 0 13px !important;
    gap: 6px !important;
    border: 1.5px solid #171b22 !important;
    background: #fff !important;
    color: #171b22 !important;
    font-family: "Geologica", sans-serif !important;
    font-size: 13px !important;
    font-weight: 560 !important;
  }

  body:not(.is-focused) .header-profile.header-profile--login > span:last-child {
    display: inline-flex !important;
  }

  .home-page.page-frame {
    width: calc(100vw - 20px) !important;
    max-width: none !important;
    margin-inline: auto !important;
  }

  .home-page--template .programme-calendar {
    margin-bottom: 6px !important;
  }

  .home-page--template .day-rail {
    gap: 0 !important;
  }

  .home-page--template .day-pill,
  .home-page--template .day-pill.is-active {
    width: 52px !important;
    min-width: 52px !important;
    min-height: 62px !important;
    padding: 6px 4px !important;
  }

  .home-page--template .day-pill strong {
    font-size: 21px !important;
  }

  .home-page--template .day-pill span,
  .home-page--template .day-pill small {
    font-size: 8.5px !important;
  }

  .home-page--template .mobile-home-filter-shell {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto auto !important;
    gap: 6px !important;
    margin: 7px 0 12px !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .home-page--template .mobile-home-filter {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 40px !important;
    padding: 0 10px !important;
    gap: 5px !important;
    border-radius: 13px !important;
    overflow: hidden !important;
    font-size: 12px !important;
    font-weight: 550 !important;
  }

  .home-page--template .mobile-home-filter > span {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .home-page--template .mobile-home-filter b {
    width: 21px !important;
    min-width: 21px !important;
    height: 21px !important;
    font-size: 11px !important;
  }

  .home-page--template .mobile-home-filter .icon,
  .home-page--template .mobile-home-filter .asset-icon {
    width: 15px !important;
    min-width: 15px !important;
    height: 15px !important;
  }

  /* Restore the editorial hero instead of flattening it into a banner. */
  .home-page--template .sponsor-stage {
    margin: 3px 0 9px !important;
    border-radius: 19px !important;
  }

  .home-page--template .sponsor-stage__viewport {
    height: auto !important;
    aspect-ratio: 0.84 / 1 !important;
    border-radius: 19px !important;
  }

  .home-page--template .sponsor-slide__copy {
    bottom: 16px !important;
    left: 16px !important;
    width: calc(100% - 86px) !important;
  }

  .home-page--template .sponsor-slide__venue {
    font-size: 9px !important;
  }

  .home-page--template .sponsor-slide__copy h2,
  .home-page--template .sponsor-stage__copy h2 {
    margin: 3px 0 5px !important;
    font-size: clamp(25px, 7.7vw, 32px) !important;
    line-height: 0.99 !important;
    -webkit-line-clamp: 4 !important;
  }

  .home-page--template .sponsor-slide__copy p {
    font-size: 11px !important;
  }

  .home-page--template .sponsor-slide__price {
    min-height: 32px !important;
    margin-top: 8px !important;
    padding-inline: 11px !important;
    font-size: 11px !important;
  }

  .home-page--template .sponsor-stage__rail {
    right: 12px !important;
    bottom: 12px !important;
  }

  .home-page--template .sponsor-stage__rail button {
    width: 38px !important;
    height: 38px !important;
  }

  body:not(.is-focused) .home-page--template .event-tile-grid .event-card,
  body:not(.is-focused) .home-page--template .poster-rail .event-card,
  body:not(.is-focused) .home-page--template .workshop-list .event-card,
  body:not(.is-focused) .home-page--template .theatre-grid .event-card {
    flex-basis: min(66vw, 244px) !important;
    width: min(66vw, 244px) !important;
    min-width: min(66vw, 244px) !important;
    max-width: 244px !important;
  }

  body:not(.is-focused) .home-page--template .event-card__copy {
    min-height: 0 !important;
    height: auto !important;
    padding: 7px 1px 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto !important;
    align-content: start !important;
    gap: 2px 8px !important;
  }

  body:not(.is-focused) .home-page--template .event-card__copy h3 {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    margin: 0 0 2px !important;
    font-size: 19px !important;
    font-weight: 460 !important;
    line-height: 1.04 !important;
  }

  body:not(.is-focused) .home-page--template .event-card__meta {
    grid-column: 1 !important;
    grid-row: 2 !important;
    min-height: 0 !important;
    gap: 1px !important;
    align-self: start !important;
  }

  body:not(.is-focused) .home-page--template .event-card__bottom {
    grid-column: 2 !important;
    grid-row: 2 !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    align-self: end !important;
    justify-self: end !important;
  }

  body:not(.is-focused) .home-page--template .event-card__date {
    font-size: 11.5px !important;
    line-height: 1.13 !important;
  }

  body:not(.is-focused) .home-page--template .event-card__venue {
    font-size: 10.5px !important;
    line-height: 1.12 !important;
  }

  body:not(.is-focused) .home-page--template .event-card__price {
    font-size: 11.5px !important;
    line-height: 1.12 !important;
  }

  .home-filter-results {
    width: 100% !important;
    justify-items: stretch !important;
    gap: 14px !important;
  }

  body:not(.is-focused) .home-page--template .home-filter-results .event-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  .home-filter-form__fields {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  .home-filter-form__fields label,
  .home-filter-form__fields label:nth-child(n + 3) {
    grid-column: 1 !important;
    min-width: 0 !important;
  }

  .home-filter-form__fields input,
  .home-filter-form__fields select,
  .search-filter-form__fields input,
  .search-filter-form__fields select,
  .date-fields input {
    width: 100% !important;
    min-width: 0 !important;
    font-family: "Geologica", sans-serif !important;
    font-size: 16px !important;
  }

  .home-filter-form legend,
  .home-filter-form label > span,
  .search-filter-form label > span {
    font-family: "Geologica", sans-serif !important;
  }

  .event-detail .purchase-dock {
    right: 8px !important;
    bottom: max(6px, env(safe-area-inset-bottom)) !important;
    left: 8px !important;
    min-height: 50px !important;
    padding: 6px 6px 6px 11px !important;
    border-radius: 12px !important;
  }

  .event-detail .purchase-dock span {
    font-size: 9px !important;
  }

  .event-detail .purchase-dock strong {
    font-size: 13px !important;
  }

  .event-detail .purchase-dock .button--signal {
    min-height: 38px !important;
    padding-inline: 13px !important;
    border-radius: 9px !important;
    font-size: 11px !important;
  }

  .checkout-page.page-frame {
    width: calc(100vw - 20px) !important;
    max-width: none !important;
    padding-top: 7px !important;
  }

  .checkout-page > .back-link {
    min-height: 34px !important;
    margin-bottom: 5px !important;
    font-size: 11px !important;
  }

  .checkout-heading {
    margin-bottom: 16px !important;
  }

  .checkout-heading h1 {
    margin: 3px 0 5px !important;
    font-size: 24px !important;
    line-height: 1.02 !important;
  }

  .checkout-heading p {
    font-size: 11px !important;
    line-height: 1.25 !important;
  }

  .checkout-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  .checkout-section {
    padding: 14px 0 17px 27px !important;
  }

  .checkout-section > div:nth-child(2) h2 {
    font-size: 18px !important;
  }

  .checkout-section > div:nth-child(2) p {
    font-size: 11px !important;
    line-height: 1.3 !important;
  }

  .checkout-section .step-number {
    top: 17px !important;
    font-size: 9px !important;
  }

  .checkout-page .ticket-type {
    gap: 8px !important;
    padding: 10px !important;
    border-radius: 11px !important;
  }

  .checkout-page .ticket-type h3,
  .checkout-page .ticket-type__price > strong {
    font-size: 14px !important;
  }

  .checkout-page .ticket-type p,
  .checkout-page .order-summary small {
    font-size: 10px !important;
  }

  .checkout-page .order-summary {
    padding: 13px !important;
    border-radius: 13px !important;
  }

  .checkout-page .order-summary h2 {
    font-size: 19px !important;
  }
}

@media (max-width: 720px) {
  body:not(.is-focused) .site-header .header-search input,
  body:not(.is-focused) .site-header .header-search:focus-within input,
  body:not(.is-focused) .site-header .header-search.is-open input {
    font-size: 16px !important;
  }

  body:not(.is-focused) .home-page--template .day-pill,
  body:not(.is-focused) .home-page--template .day-pill.is-active {
    flex: 0 0 52px !important;
    width: 52px !important;
    min-width: 52px !important;
    min-height: 62px !important;
  }

  body:not(.is-focused) .home-page--template .event-tile-grid .event-card__copy,
  body:not(.is-focused) .home-page--template .poster-rail .event-card__copy,
  body:not(.is-focused) .home-page--template .workshop-list .event-card__copy,
  body:not(.is-focused) .home-page--template .theatre-grid .event-card__copy,
  body:not(.is-focused) .home-page--template .home-filter-results .event-card__copy {
    min-height: 0 !important;
    height: auto !important;
    padding: 7px 1px 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto !important;
    align-content: start !important;
    gap: 2px 8px !important;
  }

  body:not(.is-focused) .home-page--template .event-tile-grid .event-card__copy h3,
  body:not(.is-focused) .home-page--template .poster-rail .event-card__copy h3,
  body:not(.is-focused) .home-page--template .workshop-list .event-card__copy h3,
  body:not(.is-focused) .home-page--template .theatre-grid .event-card__copy h3,
  body:not(.is-focused) .home-page--template .home-filter-results .event-card__copy h3 {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    margin: 0 0 2px !important;
    font-size: 19px !important;
    font-weight: 460 !important;
    line-height: 1.04 !important;
  }

  body:not(.is-focused) .home-page--template .event-tile-grid .event-card__meta,
  body:not(.is-focused) .home-page--template .poster-rail .event-card__meta,
  body:not(.is-focused) .home-page--template .workshop-list .event-card__meta,
  body:not(.is-focused) .home-page--template .theatre-grid .event-card__meta,
  body:not(.is-focused) .home-page--template .home-filter-results .event-card__meta {
    grid-column: 1 !important;
    grid-row: 2 !important;
    min-height: 0 !important;
    gap: 1px !important;
  }

  body:not(.is-focused) .home-page--template .event-tile-grid .event-card__bottom,
  body:not(.is-focused) .home-page--template .poster-rail .event-card__bottom,
  body:not(.is-focused) .home-page--template .workshop-list .event-card__bottom,
  body:not(.is-focused) .home-page--template .theatre-grid .event-card__bottom,
  body:not(.is-focused) .home-page--template .home-filter-results .event-card__bottom {
    grid-column: 2 !important;
    grid-row: 2 !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    align-self: end !important;
    justify-self: end !important;
  }
}

/* 2026-08-26 local mobile concept: separate discovery controls and natural page gestures. */
@media (max-width: 720px) {
  .home-page--template .sponsor-stage {
    margin-bottom: 0 !important;
  }

  .home-page--template .home-discovery-panel {
    width: 100vw !important;
    margin: 10px calc(50% - 50vw) 14px !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .home-page--template .home-discovery-panel .programme-calendar {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
  }

  .home-page--template .home-discovery-panel .programme-calendar__head {
    display: none !important;
  }

  .home-page--template .home-discovery-panel .day-rail {
    width: 100vw !important;
    height: 58px !important;
    margin: 0 !important;
    padding: 0 10px 6px !important;
    gap: 4px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x proximity !important;
    scroll-padding-inline: 10px !important;
    overscroll-behavior-inline: contain !important;
    -webkit-overflow-scrolling: touch !important;
  }

  body:not(.is-focused) .home-page--template .home-discovery-panel .day-pill,
  body:not(.is-focused) .home-page--template .home-discovery-panel .day-pill.is-active {
    flex: 0 0 49px !important;
    width: 49px !important;
    min-width: 49px !important;
    min-height: 52px !important;
    height: 52px !important;
    padding: 4px 3px !important;
    gap: 0 !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: transparent !important;
    box-shadow: none !important;
    scroll-snap-align: start !important;
  }

  body:not(.is-focused) .home-page--template .home-discovery-panel .day-pill.is-active {
    background: #171b22 !important;
    color: #fff !important;
  }

  .home-page--template .home-discovery-panel .day-pill strong {
    font-size: 18px !important;
    line-height: 1 !important;
  }

  .home-page--template .home-discovery-panel .day-pill span,
  .home-page--template .home-discovery-panel .day-pill small {
    font-size: 7.5px !important;
    line-height: 1.05 !important;
  }

  .home-page--template .home-discovery-panel .mobile-home-filter-shell {
    grid-template-columns: minmax(0, 1.2fr) minmax(72px, 0.72fr) minmax(82px, 0.9fr) !important;
    gap: 6px !important;
    width: calc(100% - 20px) !important;
    margin: 8px 10px 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  .home-page--template .home-discovery-panel .mobile-home-filter {
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 9px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: #f1f3f5 !important;
    font-size: 11.5px !important;
  }

  .home-page--template .home-discovery-panel .mobile-home-filter--all,
  .home-page--template .home-discovery-panel .mobile-home-filter.is-active {
    border-color: #171b22 !important;
    background: #171b22 !important;
    color: #fff !important;
  }

  .home-page--template .home-discovery-panel .mobile-home-filter b {
    width: 17px !important;
    min-width: 17px !important;
    height: 17px !important;
    font-size: 9px !important;
  }

  .home-page--template .home-discovery-panel .mobile-home-filter .icon,
  .home-page--template .home-discovery-panel .mobile-home-filter .asset-icon {
    width: 13px !important;
    min-width: 13px !important;
    height: 13px !important;
  }

  .home-page--template .home-discovery-panel + .section-heading,
  .home-page--template .home-discovery-panel + .home-filter-results,
  .home-page--template .home-discovery-panel + .state-sheet {
    margin-top: 0 !important;
  }

  .home-page--template .home-filter-results {
    gap: 6px !important;
  }

  body:not(.is-focused) .home-page--template .home-filter-results .event-card {
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: 0 !important;
  }

  body:not(.is-focused) .home-page--template .home-filter-results .event-card__copy {
    flex: 0 0 auto !important;
    padding-bottom: 8px !important;
  }

  .home-page--template [data-drag-rail],
  .home-page--template .event-card__hit,
  .home-page--template .day-pill {
    touch-action: auto !important;
    overscroll-behavior-x: contain !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .home-page--template .sponsor-stage__viewport,
  .home-page--template .sponsor-slide__hit {
    touch-action: pan-y pinch-zoom !important;
  }

  .home-filter-dialog {
    position: fixed !important;
    inset: auto 6px max(6px, env(safe-area-inset-bottom)) !important;
    width: calc(100vw - 12px) !important;
    max-width: 430px !important;
    max-height: min(74dvh, 590px) !important;
    margin: auto !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 22px !important;
  }

  .home-filter-dialog .home-filter-form {
    display: grid !important;
    gap: 10px !important;
    max-height: min(74dvh, 590px) !important;
    padding: 12px !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
  }

  .home-filter-dialog__head {
    position: sticky !important;
    top: -12px !important;
    z-index: 2 !important;
    margin: -12px -12px 0 !important;
    padding: 12px !important;
    background: rgba(255, 255, 255, 0.97) !important;
  }

  .home-filter-dialog__head h2 {
    font-size: 21px !important;
  }

  .home-filter-form fieldset {
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }

  .home-filter-form__categories {
    display: flex !important;
    gap: 6px !important;
    width: 100% !important;
    padding: 1px 0 5px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    overscroll-behavior-inline: contain !important;
    touch-action: manipulation !important;
    scrollbar-width: none !important;
  }

  .home-filter-form__categories::-webkit-scrollbar {
    display: none !important;
  }

  .home-filter-form__categories label {
    flex: 0 0 auto !important;
  }

  .home-filter-form__categories label > span {
    min-height: 34px !important;
    padding: 0 11px !important;
    border-radius: 10px !important;
    white-space: nowrap !important;
    font-size: 10px !important;
  }

  .home-filter-form__fields,
  .search-filter-form__fields {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .home-filter-form__fields label,
  .home-filter-form__fields label:nth-child(n + 3),
  .search-filter-form__fields label {
    grid-column: auto !important;
    min-width: 0 !important;
  }

  .home-filter-form__fields label > span,
  .search-filter-form__fields label > span {
    margin-bottom: 4px !important;
    font-size: 9px !important;
  }

  .home-filter-form__fields input,
  .home-filter-form__fields select,
  .search-filter-form__fields input,
  .search-filter-form__fields select {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 42px !important;
    padding: 0 9px !important;
    border-radius: 10px !important;
    font-family: "Geologica", sans-serif !important;
    font-size: 16px !important;
  }

  .home-filter-form__actions {
    position: sticky !important;
    bottom: -12px !important;
    z-index: 2 !important;
    margin: 0 -12px -12px !important;
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom)) !important;
    background: rgba(255, 255, 255, 0.98) !important;
  }

  .home-filter-form__actions .button {
    min-height: 40px !important;
    border-radius: 11px !important;
    font-size: 11px !important;
  }

  .search-filter-form__categories > div {
    display: flex !important;
    gap: 6px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    touch-action: manipulation !important;
    scrollbar-width: none !important;
  }

  .search-filter-form__categories > div::-webkit-scrollbar {
    display: none !important;
  }

  .search-filter-form__categories label {
    flex: 0 0 auto !important;
  }

  .search-result-list {
    gap: 8px !important;
  }

  .search-event-row {
    margin: 0 !important;
  }

  .event-detail .event-legal {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin-top: 18px !important;
    padding: 10px 0 calc(70px + env(safe-area-inset-bottom)) !important;
    border-top: 1px solid #e2e6ea !important;
    color: #8b929c !important;
    font-family: "Geologica", sans-serif !important;
    font-size: 9px !important;
    line-height: 1.35 !important;
  }

  .event-detail .event-legal span:last-child {
    text-align: right !important;
  }
}

/* 2026-08-26: organizer editor reliability, mobile upload controls and legal line. */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.org-editor__error {
  display: block;
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid #f2c8c8;
  border-radius: 14px;
  background: #fff2f2;
  color: #a32727;
  font-family: "Geologica", sans-serif;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}

.org-editor__error[hidden] {
  display: none !important;
}

.org-poster-add,
.org-photo-input {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  touch-action: manipulation;
}

.org-photo-input {
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid #d8e0e8;
  border-radius: 12px;
  background: #fff;
  color: #303844;
  box-shadow: 0 6px 16px rgba(23, 27, 34, 0.05);
}

.org-poster-add input[type="file"],
.org-photo-input input[type="file"] {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  font-size: 80px;
}

.auth-dialog {
  max-height: min(90dvh, 820px);
}

.auth-dialog__body {
  max-height: calc(min(90dvh, 820px) - 94px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.auth-kind {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 4px;
  border: 1px solid #dfe6ee;
  border-radius: 14px;
  background: #f1f4f7;
}

.auth-kind label {
  min-width: 0;
  margin: 0;
  cursor: pointer;
}

.auth-kind input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.auth-kind span {
  display: grid;
  min-height: 38px;
  place-items: center;
  border-radius: 10px;
  color: #687382;
  font-size: 13px;
  font-weight: 760;
}

.auth-kind input:checked + span {
  background: #fff;
  color: #087fe0;
  box-shadow: 0 2px 8px rgba(23, 27, 34, 0.08);
}

.auth-organization-fields {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
  border: 1px solid #e2e8ef;
  border-radius: 16px;
  background: #f8fafc;
}

.auth-form:has(input[name="accountType"][value="organizer"]:checked) .auth-organization-fields {
  display: grid;
}

.auth-dialog .auth-field select,
.auth-dialog .auth-field textarea,
.org-team-form input,
.org-team-form select,
.org-refund-form input,
.org-refund-form select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1.5px solid #d5dde5;
  border-radius: 12px;
  background: #fbfcfd;
  color: #171b22;
  font-family: "Geologica", sans-serif;
  font-size: 16px;
}

.auth-dialog .auth-field textarea {
  min-height: 74px;
  padding-block: 12px;
  resize: vertical;
}

.auth-field--wide,
.auth-check--wide,
.org-refund-form__reason {
  grid-column: 1 / -1;
}

.auth-check {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  margin: 0;
  color: #384250;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
}

.auth-check input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.org-team-form,
.org-refund-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 10px;
  align-items: end;
  margin: 0 0 16px;
}

.org-team-form label,
.org-refund-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.org-team-form label span,
.org-refund-form label span {
  color: #7a8491;
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.org-team-grid,
.org-requisites-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.org-team-grid article,
.org-requisites-grid article,
.org-team-row {
  padding: 14px;
  border: 1px solid #e1e7ee;
  border-radius: 16px;
  background: #fff;
}

.org-team-grid p,
.org-requisites-grid p,
.org-requisites-grid small,
.org-team-row span {
  color: #7c8794;
  font-size: 13px;
  line-height: 1.35;
}

.org-requisites-grid span {
  display: block;
  margin-bottom: 6px;
  color: #87919e;
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.org-requisites-grid strong,
.org-team-row strong {
  display: block;
  color: #171b22;
  font-size: 15px;
  line-height: 1.2;
}

.org-team-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.org-team-row > div:last-child {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.event-detail .event-legal {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 18px !important;
  margin-top: 24px !important;
  padding: 0 0 18px !important;
  border-top: 0 !important;
  color: #8b929c !important;
  font-family: "Geologica", sans-serif !important;
  font-size: 13px !important;
  font-weight: 520 !important;
  line-height: 1.45 !important;
  white-space: pre-line !important;
}

.event-detail .event-legal span:last-child {
  text-align: right !important;
  white-space: pre-line !important;
}

@media (max-width: 720px) {
  input,
  select,
  textarea,
  button,
  .auth-dialog input,
  .auth-dialog select,
  .auth-dialog textarea,
  .org-field input,
  .org-field select,
  .org-field textarea,
  .org-lineup input,
  .org-lineup textarea,
  .org-team-form input,
  .org-team-form select,
  .org-refund-form input,
  .org-refund-form select {
    font-size: 16px !important;
  }

  .org-editor__body {
    padding-top: 10px !important;
    padding-bottom: calc(74px + env(safe-area-inset-bottom)) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .org-editor__error {
    position: sticky;
    top: 0;
    z-index: 5;
    margin-bottom: 10px;
    font-size: 13px;
  }

  .auth-dialog {
    width: 100vw !important;
    max-width: none !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
  }

  .auth-dialog__body {
    max-height: calc(100dvh - 96px);
    padding: 14px !important;
  }

  .auth-organization-fields {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
  }

  .auth-demo__row {
    grid-template-columns: 1fr !important;
  }

  .org-team-form,
  .org-refund-form,
  .org-team-grid,
  .org-requisites-grid {
    grid-template-columns: 1fr;
  }

  .org-team-row,
  .org-team-row > div:last-child {
    align-items: flex-start;
    flex-direction: column;
  }

  .event-detail .event-legal {
    font-size: 11.5px !important;
    gap: 10px !important;
    margin-top: 14px !important;
    padding-bottom: calc(82px + env(safe-area-inset-bottom)) !important;
  }

  body:not(.is-focused) .header-profile.header-profile--login {
    display: inline-flex !important;
    width: auto !important;
    min-width: 76px !important;
    height: 40px !important;
    padding: 0 13px !important;
  }
}

/* 2026-08-27: final visible section titles and organizer empty art. */
.home-page--template .section-heading h2,
.home-page--template .section-heading__title-link,
.home-page--template .section-heading--controls h2,
.home-page--template .section-heading--action h2,
.home-page--template .theatre-programme .section-heading h2,
.section-heading h2 {
  font-weight: 820 !important;
}

.organizer-panel .state-sheet--illustrated .empty-state__illustration--organizer,
.organizer-workspace .state-sheet--illustrated .empty-state__illustration--organizer,
.organizer-page .state-sheet--illustrated .empty-state__illustration--organizer {
  width: clamp(260px, 34vw, 420px) !important;
  max-height: 275px !important;
  margin-bottom: 14px !important;
  opacity: 0.98 !important;
}

.organizer-panel .state-sheet--organizer-empty .state-symbol,
.organizer-workspace .state-sheet--organizer-empty .state-symbol,
.organizer-page .state-sheet--organizer-empty .state-symbol {
  display: none !important;
}

@media (max-width: 820px) {
  .home-page--template .section-heading h2,
  .home-page--template .section-heading__title-link,
  .home-page--template .section-heading--controls h2,
  .home-page--template .section-heading--action h2,
  .home-page--template .theatre-programme .section-heading h2,
  .section-heading h2 {
    font-weight: 820 !important;
  }

  .organizer-panel .state-sheet--illustrated .empty-state__illustration--organizer,
  .organizer-workspace .state-sheet--illustrated .empty-state__illustration--organizer,
  .organizer-page .state-sheet--illustrated .empty-state__illustration--organizer {
    width: min(340px, 84vw) !important;
    max-height: 250px !important;
    margin-bottom: 12px !important;
  }
}
