
.hero {
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
  min-height: 520px;
  color: #fff;
  position: relative;
  padding: 0 0 72px;
  overflow: visible;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
  background:
    linear-gradient(rgba(8, 10, 35, 0.28), rgba(8, 10, 35, 0.46)),
    url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  z-index: -1;
}


.topbar { margin-bottom: 72px; position: relative; z-index: 1; }

.menu-icon span,
.menu-icon::before,
.menu-icon::after {
  background: #edf6f7;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 30px;
  text-align: center;
}

.hero-title {
  font-size: 4rem;
  line-height: 1;
  margin: 0;
  font-weight: 400;
  text-shadow: 0 8px 30px rgba(0,0,0,0.28);
  white-space: nowrap;
}

.search-panel {
  width: min(calc((100vw - 64px) * 0.7), 924px);
  margin-left: calc(50% - 50vw + 32px);
  margin-right: calc(50% - 50vw + 32px);
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  padding: 10px 18px 10px;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: center;
}

.search-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  align-content: center;
  width: 100%;
}

.field,
.field-split,
.dropdown-trigger,
.dropdown-menu,
.currency-select .dropdown-menu,
.custom-dropdown .dropdown-menu {
  background: #ffffff !important;
}

.section-title {
  font-size: 2rem;
  margin: 0 0 28px;
  line-height: 1;
}

.promo-copy {
  max-width: 680px;
  margin: 0 0 26px;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.socials {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.socials a {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--indigo);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.socials a:hover {
  background: var(--accent);
  color: var(--navy);
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(244, 190, 58, 0.25);
}

@media (max-width: 1024px) {
  .search-panel {
    width: min(calc((100vw - 32px) * 0.8), 792px);
    margin-left: calc(50% - 50vw + 16px);
    margin-right: calc(50% - 50vw + 16px);
    padding: 18px 18px 0;
    border-radius: 28px;
  }
}

@media (max-width: 720px) {
  .hero-title {
    font-size: 3rem;
    white-space: normal;
    line-height: 1.05;
  }
  .hero { min-height: auto; }
  .topbar { margin-bottom: 46px; }
  .search-panel {
    width: min(calc(100vw - 32px), 1320px);
    margin-left: calc(50% - 50vw + 16px);
    margin-right: calc(50% - 50vw + 16px);
    padding: 18px 18px 0;
    border-radius: 28px;
  }
}


/* --- v3 home corrections --- */
.cards + .link-row-wrap {
  margin-top: 32px;
}

/* v10: reduce promo-copy font size */
.promo-copy { font-size: 1.2rem !important; }

/* v11 override */
.promo-copy { font-size: 1.2rem !important; }

/* v12 override */
.promo-copy { font-size: 1.2rem !important; }


/* --- v12 homepage search correction --- */
.search-panel {
  width: min(calc((100vw - 64px) * 0.7), 924px) !important;
  margin-left: calc(50% - 50vw + 32px) !important;
  margin-right: calc(50% - 50vw + 32px) !important;
  background: #fff !important;
  color: var(--text);
  border-radius: 999px !important;
  padding: 10px 18px 10px !important;
  box-shadow: var(--shadow);
  overflow: visible !important;
  display: flex;
  justify-content: center;
}

.search-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto !important;
  gap: 18px !important;
  align-items: center !important;
  align-content: center !important;
  width: 100%;
}

.field,
.field-split {
  min-height: 40px;
  border: 0;
  border-radius: 14px;
  background: #fff !important;
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-size: 0.75rem;
  color: var(--muted);
  position: relative;
}

.field-split {
  padding: 0;
  overflow: visible;
}

.field-split .left,
.field-split .right {
  height: 40px;
  display: flex;
  align-items: center;
}

.field-split .left {
  flex: 1;
  color: var(--muted);
  padding: 0 14px;
  min-width: 0;
}

.field-split .right {
  width: 92px;
  padding: 0 14px;
  color: var(--text);
  font-weight: 700;
  position: relative;
  justify-content: center;
  flex-shrink: 0;
  overflow: visible;
}

.dropdown-trigger {
  width: 100%;
  min-height: 40px;
  border: 0;
  border-radius: 14px;
  background: transparent !important;
  font: inherit;
  color: var(--muted);
  text-align: left;
  padding: 0 28px 0 0;
  cursor: pointer;
}

.search-cta {
  width: 184px;
  height: 40px;
  margin: auto;
  border: 0;
  background: var(--accent);
  color: var(--navy);
  border-radius: 999px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  align-self: center;
}

@media (max-width: 1024px) {
  .search-grid {
    grid-template-columns: 1fr !important;
  }

  .field,
  .field-split {
    border: 2px solid var(--border);
  }

  .search-panel {
    width: min(calc((100vw - 32px) * 0.6), 792px) !important;
    margin-left: calc(50% - 50vw + 16px) !important;
    margin-right: calc(50% - 50vw + 16px) !important;
    padding: 18px 18px 0 !important;
    border-radius: 28px !important;
  }

  .search-cta {
    width: 184px;
    height: 66px;
    margin: 20px auto -33px;
  }
}

@media (max-width: 720px) {
  .search-panel {
    width: min(calc(100vw - 32px), 1320px) !important;
    margin-left: calc(50% - 50vw + 16px) !important;
    margin-right: calc(50% - 50vw + 16px) !important;
    padding: 18px 18px 0 !important;
    border-radius: 28px !important;
  }

  .field,
  .field-split {
    min-height: 52px;
    font-size: 0.9rem;
  }

  .field-split .right {
    width: 110px;
  }
}
