.official-home {
  --home-header-height: 73px;
  color: #172c43;
}

.site-navigation {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.site-navigation a,
.site-navigation button,
.site-menu-button {
  color: #172c43;
  font: inherit;
}

.site-navigation a,
.site-navigation button {
  white-space: nowrap;
}

.site-navigation button,
.site-menu-button,
.scenic-filters button {
  border: 1px solid #dce5ef;
  border-radius: 8px;
  background: #fff;
  padding: 8px 12px;
  cursor: pointer;
}

.site-more {
  position: relative;
}

.site-more > button {
  line-height: 1.375;
}

#site-tools {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 136px;
  padding: 6px;
  background: #fff;
  border: 1px solid #dce5ef;
  border-radius: 10px;
}

#site-tools a {
  display: block;
  padding: 8px;
}

.site-menu-button {
  display: none;
}

.official-home .hero-section {
  height: min(100vh, calc(720px + var(--home-header-height)));
  min-height: calc(440px + var(--home-header-height));
  padding: var(--home-header-height) 0 0;
}

.official-home .hero-content {
  padding-top: 0;
}

.official-home .hero-overlay {
  animation: none;
  background: linear-gradient(110deg, rgba(6, 22, 37, 0.56), rgba(6, 22, 37, 0.40));
}

.official-home main section[id],
#partner-certification {
  scroll-margin-top: 84px;
}

.ticket-search {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.ticket-search label {
  margin-bottom: 0;
  font-weight: 600;
}

.ticket-search input {
  width: min(100%, 340px);
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #aebfd1;
  border-radius: 8px;
}

.public-ticket-status {
  margin: 0 0 12px;
}

.public-ticket-status:empty {
  display: none;
}

.public-ticket[hidden],
.scenic-tile[hidden],
#site-tools[hidden] {
  display: none;
}

.public-ticket > img,
.scenic-tile img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.compact-section {
  padding: 34px 0;
  background: #f5f8fc;
}

.compact-section + .compact-section {
  border-top: 1px solid #dce5ef;
}

.compact-section h2 {
  font-size: 24px;
  font-weight: 700;
}

.support-links,
.contact-actions,
.ticket-purchase-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 24px;
}

.contact-address {
  margin: 16px 0 0;
}

.site-contact-form {
  max-width: 760px;
  margin-top: 22px;
  padding: 20px;
  background: #fff;
  border: 1px solid #dce5ef;
  border-radius: 12px;
}

.site-contact-form h3 {
  font-size: 18px;
}

.site-contact-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 185px), 1fr));
  gap: 10px;
}

.site-contact-form label {
  display: block;
  margin-bottom: 12px;
}

.site-contact-form :is(input, select, textarea) {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 8px;
  border: 1px solid #aebfd1;
  border-radius: 8px;
}

.site-contact-result {
  margin: 12px 0 0;
}

.site-contact-result:empty {
  display: none;
}

.cooperation-steps {
  padding-left: 22px;
}

.official-back-top {
  display: block;
  padding: 12px;
  text-align: center;
}

.scenic-filters,
.scenic-grid {
  display: grid;
  gap: 14px;
}

.scenic-filters {
  display: flex;
  margin: 16px 0 22px;
  flex-wrap: wrap;
}

.scenic-filters button {
  min-height: 44px;
  color: #172c43;
}

.scenic-filters button[aria-pressed=true] {
  border-color: #005ebc;
  background: #eaf4ff;
  color: #005ebc;
}

.scenic-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 225px), 1fr));
}

.scenic-tile {
  background: #fff;
  border: 1px solid #dce5ef;
  border-radius: 12px;
  overflow: hidden;
}

.scenic-tile > div {
  padding: 12px;
}

.scenic-tile h2,
.ticket-detail-spec-heading {
  font-size: 18px;
  margin: 0 0 8px;
}

.scenic-tile p {
  margin: 0 0 8px;
}

.ticket-detail-specs {
  margin: 0 0 16px;
  padding-left: 0;
  list-style: none;
}

.ticket-detail-specs li {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding: 8px 0;
  border-bottom: 1px solid #dce5ef;
}

.legacy-ticket-link,
.mini-program-link {
  display: inline-block;
  margin-top: 12px;
}

.mobile-ticket-button {
  display: none;
  cursor: pointer;
}

.mini-ticket-result:not(:empty) {
  margin-top: 12px;
}

.mini-ticket-result img {
  width: 180px;
  aspect-ratio: 1;
}

.official-home :focus-visible,
.ticket-detail :focus-visible {
  outline: 2px solid #005ebc;
  outline-offset: 3px;
}

.official-home .hero-buttons a:focus-visible {
  outline-color: #fff;
}

@media (max-width: 991px) {
  .official-home {
    --home-header-height: 69px;
  }

  .official-home #header .container {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .site-menu-ready .site-menu-button {
    display: block;
    min-height: 44px;
  }
  .site-navigation {
    width: 100%;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-top: 10px;
  }
  .site-menu-ready .site-navigation:not(.site-navigation-open) {
    display: none;
  }
  .site-navigation > a {
    display: flex;
    min-height: 40px;
    align-items: center;
  }
  .official-home #header .logo {
    width: min(72%, 260px);
  }
}

@media (max-width: 575px) {
  .official-home .hero-section {
    height: auto;
    min-height: min(100vh, calc(485px + var(--home-header-height)));
    padding: calc(28px + var(--home-header-height)) 0 28px;
  }
  .mobile-ticket-button {
    display: inline-block;
    padding-inline: 20px;
  }
  .ticket-purchase-actions > a {
    background: #edf5fd;
    color: #005ebc;
  }
}

@media (prefers-reduced-motion: reduce) {
  .official-home *,
  .ticket-detail * {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
