/* Larger, high-contrast controls for the homepage market explorer. */
#markets {
  background: radial-gradient(ellipse at 9% 0, #234884 0, transparent 49%), #102442;
}
#markets .eyebrow,
#markets .market-navigation > .overline { font-size: 12px; line-height: 1.7; color: #b5cefa; }
#markets h2 > span { color: #b3c9e9; }
#markets .section-intro { font-size: 16px; line-height: 1.85; color: #cad8ec; max-width: 365px; }
#markets .market-layout { grid-template-columns: 270px minmax(0, 1fr); gap: 32px; margin-top: 40px; }
#markets .market-tab { font-size: 16px; line-height: 1.5; padding: 15px 16px; gap: 16px; color: #c5d7f0; min-height: 54px; }
#markets .market-tab.active { background: #2b5d9c; color: #fff; box-shadow: inset 3px 0 #70dfcf; }
#markets .market-tab:hover { background: #244b7d; color: #fff; }
#markets .market-tab > span:first-child { min-width: 0; }
#markets .market-tab > span:last-child { font-size: 14px; color: #bcd8ff; flex-shrink: 0; }
#markets .market-tab i { font-style: normal; margin-left: 4px; }
#markets .market-photo { height: 194px; }
#markets .market-photo span { font-size: 12px; }
#markets .market-photo strong { font-size: 23px; line-height: 1.35; }
#markets .market-panel { padding: 30px; min-width: 0; background: #183152; border-color: #a0c7ff30; }
#markets .market-panel-heading { gap: 26px; }
#markets .market-panel-heading > div:first-child { min-width: 0; }
#markets .market-panel h3 { font-size: 32px; line-height: 1.2; }
#markets .market-panel-heading p { font-size: 16px; color: #c3d3e9; line-height: 1.75; margin-top: 13px; }
#markets .market-route-count { font-size: 40px; color: #87e1d4; flex-shrink: 0; line-height: 1.05; }
#markets .market-route-count span { font-size: 12px; line-height: 1.6; color: #bfd1ec; letter-spacing: .06em; max-width: 82px; }
#markets .country-group + .country-group { margin-top: 28px; }
#markets .country-group h4 { font-size: 18px; line-height: 1.5; color: #fff; margin-bottom: 13px; }
#markets .route-chips { gap: 10px; }
#markets .route-chip,
#markets .route-chip.has-guide { padding: 8px 12px 8px 8px; gap: 10px; font-size: 16px; min-height: 48px; border-radius: 8px; border-color: #729bcb66; background: #234268; color: #f0f5ff; max-width: 100%; overflow-wrap: anywhere; }
#markets .route-chip:hover { background: #315b91; border-color: #8ee4d6; color: #fff; }
#markets .route-chip > span:not(.route-logo) { font-size: 17px; color: #a2dcff; }
#markets .route-logo { width: 40px; height: 30px; padding: 4px; }
#markets .route-logo.editorial-route { font-size: 10px; line-height: 1; }
#markets .market-panel-footer { font-size: 16px !important; color: #bdd0e9 !important; line-height: 1.9; }

#markets .market-map-preview { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, 1fr); gap: 55px; align-items: center; margin-top: 35px; padding: 34px 38px; border: 1px solid #83dccc70; border-radius: 18px; background: radial-gradient(ellipse at 80% 110%, #256e7880, transparent 65%), linear-gradient(120deg, #1e4b88, #153855); box-shadow: 0 14px 40px #06192b26; }
#markets .market-map-kicker { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 600; letter-spacing: .1em; line-height: 1.6; color: #a1eadd; margin-bottom: 13px; }
#markets .market-map-kicker > span { font-size: 21px; }
#markets .market-map-copy h3 { font-size: clamp(25px, 2.7vw, 34px); line-height: 1.25; color: #fff; }
#markets .market-map-copy > p:not(.market-map-kicker) { font-size: 16px; line-height: 1.8; margin-top: 15px; color: #d1e2f5; max-width: 610px; }
#markets .market-map-button { margin-top: 24px; background: #a4efe0; color: #113955; font-size: 16px; gap: 30px; padding: 14px 20px; border: 1px solid #c7faee; box-shadow: 0 6px 20px #081d3e33; }
#markets .market-map-button:hover { background: #c4f8ed; box-shadow: 0 10px 24px #081d3e4d; }
#markets .market-map-journey { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
#markets .market-map-journey li { display: flex; align-items: center; gap: 17px; padding: 14px 17px; border: 1px solid #a1cef230; border-radius: 11px; background: #ffffff08; min-width: 0; }
#markets .market-map-journey li:nth-child(2) { margin-left: 20px; }
#markets .market-map-journey li:nth-child(3) { margin-left: 40px; border-color: #9ae8d567; background: #9ae8d512; }
#markets .market-journey-number { font-size: 13px; font-weight: 600; color: #a7cffe; border: 1px solid #80b6f455; width: 33px; height: 33px; display: grid; place-items: center; border-radius: 50%; flex-shrink: 0; }
#markets .market-journey-label { display: block; font-size: 12px; letter-spacing: .09em; line-height: 1.6; color: #b1cde9; }
#markets .market-map-journey strong { display: block; font-family: var(--heading); font-size: 18px; line-height: 1.55; letter-spacing: -.02em; font-weight: 600; }
#markets .market-journey-arrow,
#markets .market-journey-check { margin-left: auto; font-size: 23px; color: #9fe8d9; }

@media (max-width: 1080px) {
  #markets .market-map-preview { gap: 30px; padding: 30px; grid-template-columns: minmax(0, 1.15fr) minmax(240px, 1fr); }
  #markets .market-layout { grid-template-columns: 235px minmax(0, 1fr); gap: 24px; }
  #markets .market-panel { padding: 26px; }
}
@media (max-width: 900px) {
  #markets .section-heading { align-items: flex-start; }
  #markets .section-intro { max-width: 285px; }
  #markets .market-layout { grid-template-columns: minmax(0, 1fr); }
  #markets #market-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  #markets .market-tab { width: 100%; border: 1px solid #ffffff24; padding: 13px; }
  #markets .market-photo { display: none; }
  #markets .market-map-journey li:nth-child(2),
  #markets .market-map-journey li:nth-child(3) { margin-left: 0; }
}
@media (max-width: 650px) {
  #markets .section-heading .section-intro { font-size: 16px; max-width: 100%; margin-top: 22px; }
  #markets .market-map-preview { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 25px 22px; margin-top: 28px; }
  #markets .market-map-kicker { font-size: 12px; letter-spacing: .05em; align-items: flex-start; }
  #markets .market-map-copy h3 { font-size: 28px; }
  #markets .market-map-journey { gap: 9px; }
  #markets .market-map-journey li { padding: 11px 13px; }
  #markets .market-map-journey strong { font-size: 17px; }
  #markets .market-journey-label { font-size: 12px; letter-spacing: .055em; }
  #markets .market-layout { margin-top: 28px; }
  #markets #market-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 0; }
  #markets .market-tab { gap: 9px; padding: 11px; }
  #markets .market-tab > span:last-child { font-size: 12px; }
  #markets .market-panel { padding: 24px 20px; }
  #markets .market-panel h3 { font-size: 29px; }
  #markets .market-panel-heading { flex-direction: column; gap: 19px; }
  #markets .market-route-count { display: flex; align-items: center; gap: 12px; text-align: left; font-size: 36px; }
  #markets .market-route-count span { margin-top: 0; }
  #markets .market-panel-footer { font-size: 16px !important; }
}
@media (max-width: 380px) {
  #markets #market-tabs { grid-template-columns: minmax(0, 1fr); gap: 7px; }
  #markets .market-tab { padding: 12px 14px; min-height: 48px; }
  #markets .market-tab > span:last-child { font-size: 14px; }
  #markets .market-map-preview { padding: 23px 18px; }
  #markets .market-map-button { width: 100%; justify-content: space-between; gap: 12px; }
  #markets .market-panel { padding: 23px 17px; }
}
