/* Penang cover. Keep these rules scoped so the rest of the landing page retains its layout. */
:root { --cover-accent: #008ACF; }
#top { padding-top: 0; }
.hero.map-cover { position: relative; isolation: isolate; min-height: 760px; min-height: max(760px, 100svh); padding: 0; background: #e8eff1; text-align: left; overflow: hidden; }
.cover-map { position: absolute; inset: 0; z-index: -1; background: #dfe9eb url('/picture/blog/malaysia/penang/penang_hill.JPEG') center / cover no-repeat; }
.map-cover.map-ready .cover-map { background-image: none; }
.cover-content { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; min-height: inherit; padding: 148px 32px 64px; box-sizing: border-box; pointer-events: none; }
.cover-intro, .cover-itinerary { pointer-events: auto; }
.cover-intro { width: min(43vw, 570px); padding: clamp(28px, 3vw, 48px); box-sizing: border-box; border-radius: 32px; background: #fff; box-shadow: 0 12px 45px #172d4010; }
.map-cover h1 { font-size: clamp(42px, 4.5vw, 68px); line-height: 1.02; letter-spacing: -.045em; margin: 0; color: #101113; font-weight: 750; }
.map-cover .hero-copy { margin: 24px 0 0; max-width: 480px; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.4; color: #596574; }
.map-cover .hero-actions { margin: 26px 0 0; justify-content: flex-start; }
.map-cover .store-button { padding: 0; border-radius: 12px; min-height: 0; display: inline-flex; background: transparent; box-shadow: none; }
.map-cover .app-store-badge { width: 208px; max-width: 100%; }
.map-cover .pricing-note { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: #596574; }
.cover-itinerary { align-self: flex-start; margin-top: 28px; width: 330px; flex-shrink: 0; padding: 24px 20px 18px; border: 1px solid #ffffffb8; border-radius: 28px; background: #ffffffb3; backdrop-filter: blur(24px) saturate(135%); -webkit-backdrop-filter: blur(24px) saturate(135%); box-shadow: 0 12px 40px #203d5614, inset 0 1px 0 #ffffffb3; box-sizing: border-box; }
.cover-trip-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 20px; }
.cover-trip-heading h2 { margin: 0; font-size: 24px; line-height: 1.15; letter-spacing: -.035em; color: #101113; }
.cover-trip-controls { display: none; }
.cover-stops { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.cover-stop { border: 0; background: transparent; border-radius: 16px; padding: 8px 4px; width: 100%; display: grid; grid-template-columns: 26px 68px 1fr; gap: 10px; align-items: start; text-align: left; cursor: pointer; color: #101113; font: inherit; }
.cover-stop:hover, .cover-stop[aria-pressed="true"] { background: #ffffff75; }
.cover-number { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--cover-accent); color: white; font-size: 14px; font-weight: 700; margin-top: 3px; }
.cover-stop img { display: block; width: 68px; height: 80px; border-radius: 12px; object-fit: cover; }
.cover-stop-copy strong { display: block; font-size: 16px; line-height: 1.25; margin: 3px 0 7px; }
.cover-stop-copy > span { display: block; color: #445468; font-size: 14px; line-height: 1.4; }
.cover-example { margin: 16px 4px 0; font-size: 11px; color: #445468; line-height: 1.4; }
.cover-scroll { position: absolute; bottom: 27px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 5px; text-decoration: none; color: #263a4d; font-size: 13px; font-weight: 600; background: #ffffffd9; padding: 8px 16px; border-radius: 24px; }
.cover-scroll .material-symbols-rounded { font-size: 24px; }
.cover-map-status { position: absolute; top: 110px; left: 32px; max-width: calc(100% - 64px); box-sizing: border-box; margin: 0; padding: 10px 15px; border-radius: 16px; color: #263a4d; background: #fffffff0; font-size: 13px; line-height: 1.4; }
.map-ready .cover-map-status { display: none; }
.map-cover button:focus-visible, .map-cover a:focus-visible { outline: 3px solid var(--cover-accent); outline-offset: 4px; }
@media (min-width: 861px) { #nav { width: min(1000px, calc(100% - 64px)); } }
@media (max-width: 1100px) and (min-width: 861px) { .cover-intro { width: 45vw; padding: 28px; } .cover-itinerary { width: 300px; padding: 22px 14px; } .cover-stop { grid-template-columns: 24px 56px 1fr; gap: 8px; } .cover-stop img { width: 56px; } }
@media (max-width: 860px) {
  .hero.map-cover { min-height: 100svh; }
  .cover-content { display: flex; flex-direction: column; gap: 12px; min-height: 100svh; padding: clamp(260px, 35svh, 340px) 16px 84px; align-items: stretch; justify-content: flex-end; }
  .cover-intro { width: 100%; padding: 22px; border-radius: 26px; }
  .map-cover h1 { font-size: clamp(32px, 8.6vw, 44px); line-height: 1.03; }
  .map-cover .hero-copy { font-size: 15px; line-height: 1.4; margin: 14px 0 0; }
  .map-cover .hero-actions { margin: 18px 0 0; }
  .map-cover .pricing-note { font-size: 11px; margin-top: 10px; }
  .map-cover .app-store-badge { width: 180px; }
  .cover-itinerary { width: 100%; padding: 14px 18px; border-radius: 24px; align-self: auto; margin-top: 0; }
  .cover-trip-heading { margin-bottom: 8px; }
  .cover-trip-heading h2 { font-size: 21px; }
  .cover-trip-controls { display: flex; align-items: center; gap: 10px; flex-shrink: 0; color: #445468; font-size: 13px; }
  .cover-next { width: 44px; height: 44px; border: 0; border-radius: 50%; background: #ffffffe6; color: #101113; display: grid; place-items: center; cursor: pointer; }
  .cover-stop { grid-template-columns: 26px 62px 1fr; padding: 4px 0; }
  .cover-stop img { width: 62px; height: 62px; }
  .cover-stop-copy strong { margin-top: 2px; font-size: 15px; }
  .cover-stop-copy > span { font-size: 13px; }
  .cover-stops li:not(.is-selected) { display: none; }
  .cover-example { margin: 8px 0 0; font-size: 10px; }
  .cover-scroll { bottom: 28px; font-size: 11px; padding: 5px 12px; }
  .cover-scroll .material-symbols-rounded { font-size: 20px; }
  .cover-map-status { top: 96px; left: 16px; max-width: calc(100% - 32px); font-size: 11px; }
  #nav .nav-download-label { display: inline; }
  #nav .wrapper a.nav-download { width: auto; min-width: 0; padding: 0 12px; gap: 4px; font-size: 12px; }
  #nav .mobile-nav-menu summary { font-size: 0; padding: 0 8px; }
  #nav .mobile-nav-menu summary::after { margin: 0; }
  #nav .wrapper { gap: 4px; padding: 0 10px; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) { .cover-itinerary { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; } }
@supports not (backdrop-filter: blur(1px)) { .cover-itinerary { background: #fffffff2; } }
