/* Final layout system. Kept separate from the original theme styles for clarity. */
:root { --amy-header-height: 82px; }

body { background: #fff; }
.amy-site-header { background: #fff; box-shadow: none; backdrop-filter: none; }
.amy-site-header::before { display: none; }
.amy-header-inner { min-height: var(--amy-header-height); padding: 10px 0; gap: 40px; }
.amy-site-header .amy-logo { flex: 0 0 110px; align-items: center; gap: 8px; }
.amy-site-header .amy-logo-mark { flex: 0 0 31px; width: 31px; height: 49px; margin: 0; }
.amy-site-header .amy-logo-mark::before,
.amy-site-header .amy-logo-mark::after { bottom: 0; width: 9px; height: 39px; border-width: 4px; border-radius: 10px 10px 0 0; }
.amy-site-header .amy-logo-mark::before { left: 3px; }
.amy-site-header .amy-logo-mark::after { right: 3px; }
.amy-site-header .amy-logo-globe { width: 11px; height: 11px; }
.amy-site-header .amy-logo-text { font-size: 13px; line-height: .92; }
.amy-nav-wrap { justify-content: flex-end; gap: 32px; }
.amy-nav-list, .amy-footer-menu { display: flex; align-items: center; gap: 25px; margin: 0; padding: 0; list-style: none; }
.amy-nav-list li { margin: 0; }
.amy-nav { font-size: 14px; font-weight: 700; }
.amy-nav a { min-height: 44px; padding: 5px 0; border-radius: 0; white-space: nowrap; }
.amy-nav a:hover { transform: none; color: var(--amy-gold-dark); }
.amy-nav a::after { left: 0; bottom: 0; width: 100%; height: 2px; transform: scaleX(0); transform-origin: left; }
.amy-nav .current-menu-item > a,
.amy-nav .current_page_item > a,
.amy-nav a.is-active { color: var(--amy-navy); }
.amy-nav .current-menu-item > a::after,
.amy-nav .current_page_item > a::after,
.amy-nav a.is-active::after { transform: scaleX(1); opacity: 1; }
.amy-language-switcher { flex: 0 0 auto; gap: 2px; padding: 2px; border-color: #dfe4e9; }
.amy-language-switcher a { display: inline-flex; height: 34px; min-height: 34px; align-items: center; justify-content: center; line-height: 34px; padding: 0 10px; }

.amy-section { padding: 84px 0; }
.amy-travel-map { padding: 58px 0 32px; background: #fff; }
.amy-map-layout { gap: 12px 44px; }
.amy-map-copy { min-width: 0; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 12px; }
.amy-map-copy .amy-title { max-width: none; font-size: 42px; font-weight: 800; line-height: 1.2; text-wrap: balance; overflow-wrap: anywhere; }
.amy-map-title-accent { color: #795b19; }
.amy-map-copy p { max-width: 500px; margin: 0 0 4px; padding: 0; color: #4c5867; font-size: 15px; line-height: 1.7; }
.amy-map-stage { min-width: 0; }
.amy-map-globe { width: min(100%, 405px); }
.amy-map-panels { min-height: 0; justify-content: center; }
.amy-map-card { min-height: 0; border: 0; border-radius: 0; background: transparent; }
.amy-map-card img { height: auto; aspect-ratio: 1.68; border-radius: 3px; }
.amy-map-card-body { padding: 20px 0 8px; }
.amy-map-card h3 { font-size: 25px; }
.amy-map-card p { max-width: 45ch; color: #506071; }
.amy-map-navigation { padding-top: 4px; }
.amy-map-destinations { margin-top: 24px; }
.amy-map-destination { min-height: 58px; padding: 8px 14px; }
.amy-map-destination::after { left: 14px; right: 14px; }

.amy-home-hero { padding: 76px 0; }
.amy-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 6%; }
.amy-hero-grid > div:first-child { grid-column: 1; }
.amy-hero-media { grid-column: 2; }
.amy-hero-media img { height: 430px; border-radius: 2px; object-position: center; }
.amy-hero-title { max-width: 15ch; margin-bottom: 26px; font-size: 46px; font-weight: 800; line-height: 1.12; }
.amy-hero-title::before { display: none; }
.amy-hero-copy { gap: 12px; font-size: 15px; font-weight: 500; line-height: 1.7; }
.amy-hero-copy p { max-width: 55ch; }

.amy-destination-finder { padding: 82px 0 90px; background: #f7f8f9; text-align: left; }
.amy-destination-finder .amy-title { max-width: 26ch; margin: 0; font-size: 36px; line-height: 1.3; text-align: left; }
.amy-search { display: block; width: min(430px, 100%); margin: 23px 0 30px; }
.amy-search input { height: 48px; border-radius: 3px; padding-left: 46px; }
.amy-search svg { left: 15px; width: 17px; height: 17px; color: var(--amy-navy); }
.amy-find-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; gap: 20px; margin-bottom: 18px; }
.amy-polaroid, .amy-polaroid:hover { transform: none; box-shadow: none; }
.amy-polaroid { border: 0; border-radius: 0; background: transparent; }
.amy-polaroid:hover { transform: none; box-shadow: none; }
.amy-polaroid img { aspect-ratio: 1.22; border-radius: 2px; transition: filter 180ms ease; }
.amy-polaroid:hover img { filter: brightness(.93); }
.amy-finder-label { min-height: 52px; padding: 10px 0; font-size: 15px; font-weight: 750; }
.amy-finder-label span { font-size: 19px; }
.amy-destination-finder .amy-button { margin-top: 12px; border: 0; border-bottom: 2px solid var(--amy-gold); border-radius: 0; padding: 7px 0; background: transparent; box-shadow: none; }
.amy-destination-finder .amy-button:hover { color: var(--amy-gold-dark); background: transparent; transform: none; }

.amy-destination-list { background: #fff; }
.amy-destination-list .amy-title { font-size: 42px; text-align: left; }
.amy-list-grid { gap: 24px; margin-top: 34px; }
.amy-list-card { min-height: 290px; border: 0; border-radius: 2px; box-shadow: none; }
.amy-list-card:hover { transform: none; box-shadow: none; }
.amy-list-card img { transition: transform 240ms ease; }
.amy-list-card:hover img { transform: scale(1.035); }
.amy-destination-page { padding: 76px 0 90px; }
.amy-destination-grid { gap: 6%; }
.amy-destination-copy p { color: #303c4c; font-size: 17px; font-weight: 500; line-height: 1.7; }
.amy-blog-page { background: #fff; }
.amy-blog-card { border: 0; border-radius: 0; border-top: 1px solid #d8dde3; }
.amy-blog-card:hover { transform: none; border-top-color: var(--amy-gold-dark); }
.amy-blog-card-body { padding: 18px 0 8px; }
.amy-blog-empty { border: 0; border-top: 1px solid #d8dde3; border-radius: 0; padding: 26px 0; box-shadow: none; }

.amy-site-footer { background: var(--amy-navy-2); }
.amy-footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.15fr); align-items: start; gap: 40px; min-height: 0; padding: 64px 0 58px; }
.amy-footer-brand .amy-logo.is-footer { flex-direction: row; align-items: center; gap: 10px; margin: 0; }
.amy-footer-brand .amy-logo.is-footer .amy-logo-mark { flex: 0 0 32px; width: 32px; height: 49px; margin: 0; }
.amy-footer-brand .amy-logo.is-footer .amy-logo-mark::before,
.amy-footer-brand .amy-logo.is-footer .amy-logo-mark::after { width: 9px; height: 39px; border-width: 4px; }
.amy-footer-brand .amy-logo.is-footer .amy-logo-text { font-size: 14px; }
.amy-footer-brand p { max-width: 26ch; margin: 18px 0 0; color: #c4cbd5; font-size: 14px; line-height: 1.6; }
.amy-footer-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 14px 20px; }
.amy-footer-menu li { margin: 0; }
.amy-footer-links { display: block; font-size: 14px; font-weight: 600; }
.amy-footer-links a { display: inline-flex; min-height: 32px; color: #e0e6ed; }
.amy-footer-action h2 { margin: 0 0 12px; color: #fff; font-size: 24px; font-weight: 750; line-height: 1.3; }
.amy-footer-action p { max-width: 32ch; margin: 0 0 18px; color: #c4cbd5; font-size: 14px; line-height: 1.6; }
.amy-footer-action > a:not(.amy-footer-email) { display: inline-flex; align-items: center; gap: 14px; min-height: 34px; border-bottom: 2px solid var(--amy-gold); color: #fff; font-size: 14px; font-weight: 750; }
.amy-footer-action > a span { color: var(--amy-gold); font-size: 20px; }
.amy-footer-email { display: block; width: fit-content; margin-top: 18px; color: #c4cbd5; font-size: 14px; }
.amy-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; padding: 14px 0; border-top: 1px solid #3d4c61; color: #bac3ce; font-size: 12px; }
.amy-footer-social { gap: 8px; margin: 0; }
.amy-footer-social a { width: 34px; height: 34px; border: 1px solid #526177; border-radius: 50%; background: transparent; }
.amy-footer-social svg { width: 19px; height: 19px; }

@media (max-width: 1100px) {
  :root { --amy-header-height: 72px; }
  .amy-header-inner { min-height: var(--amy-header-height); padding: 8px 0; }
  .amy-menu-toggle { position: relative; display: block; width: 44px; height: 44px; margin-left: auto; border: 1px solid #d7dde4; border-radius: 3px; color: var(--amy-navy); background: #fff; box-shadow: none; }
  .amy-menu-toggle span, .amy-menu-toggle::before, .amy-menu-toggle::after { position: absolute; top: 50%; left: 50%; width: 22px; height: 2px; margin: 0; transition: transform 180ms ease, opacity 180ms ease; }
  .amy-menu-toggle span { transform: translate(-50%, -50%); }
  .amy-menu-toggle::before { transform: translate(-50%, -50%) translateY(-7px); }
  .amy-menu-toggle::after { transform: translate(-50%, -50%) translateY(7px); }
  body.is-menu-open .amy-menu-toggle span { opacity: 0; }
  body.is-menu-open .amy-menu-toggle::before { transform: translate(-50%, -50%) rotate(45deg); }
  body.is-menu-open .amy-menu-toggle::after { transform: translate(-50%, -50%) rotate(-45deg); }
  body.is-menu-open { overflow: hidden; }
  .amy-nav-wrap { position: fixed; inset: var(--amy-header-height) 0 0; z-index: 30; display: flex; flex-direction: column; align-items: stretch; justify-content: space-between; gap: 28px; max-height: none; overflow-y: auto; padding: 28px max(24px, calc((100vw - var(--amy-container))/2)) 42px; border: 0; border-radius: 0; background: #fff; box-shadow: none; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px); transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease; }
  body.is-menu-open .amy-nav-wrap { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .amy-nav { display: block; width: 100%; }
  .amy-nav-list { display: block; width: 100%; }
  .amy-nav-list li { border-bottom: 1px solid #e5e9ed; }
  .amy-nav a { display: flex; justify-content: space-between; width: 100%; min-height: 68px; padding: 10px 0; text-align: left; font-size: 23px; line-height: 1.3; white-space: normal; }
  .amy-nav a::after { bottom: 0; width: 44px; }
  .amy-language-switcher { align-self: flex-start; margin-top: auto; }
  .amy-map-layout { gap: 18px 28px; }
  .amy-footer-inner { grid-template-columns: 1fr 1fr; gap: 38px; }
  .amy-footer-action { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .amy-container { width: calc(100% - 40px); }
  .amy-section { padding: 58px 0; }
  .amy-travel-map { padding: 44px 0 20px; }
  .amy-map-layout, .amy-map-copy { grid-template-columns: 1fr; }
  .amy-map-copy .amy-title, .amy-destination-finder .amy-title, .amy-destination-list .amy-title { font-size: 31px; }
  .amy-map-copy p { font-size: 14px; }
  .amy-map-globe { width: min(100%, 390px); }
  .amy-map-panels { min-height: 0; }
  .amy-map-card img { height: auto; aspect-ratio: 1.55; }
  .amy-map-destinations { grid-column: 1; margin-top: 4px; }
  .amy-map-destination { min-height: 52px; padding: 8px 12px; }
  .amy-home-hero { padding: 50px 0 60px; }
  .amy-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .amy-hero-grid > div:first-child, .amy-hero-media { grid-column: 1; grid-row: auto; }
  .amy-hero-media { order: -1; }
  .amy-hero-media img { height: 270px; }
  .amy-hero-title { font-size: 34px; }
  .amy-destination-finder { padding: 58px 0; }
  .amy-find-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .amy-finder-label { min-height: 52px; padding: 8px 0; font-size: 13px; }
  .amy-list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .amy-list-card { min-height: 220px; }
  .amy-destination-page { padding: 46px 0 76px; }
  .amy-destination-grid { gap: 30px; }
  .amy-destination-copy p { font-size: 15px; }
  .amy-blog-grid { grid-template-columns: 1fr; }
  .amy-footer-inner { grid-template-columns: 1fr; gap: 30px; padding: 46px 0 38px; text-align: left; }
  .amy-footer-inner .amy-logo { margin: 0; }
  .amy-footer-links { justify-content: start; }
  .amy-footer-action { grid-column: 1; }
  .amy-footer-menu { gap: 9px 16px; }
  .amy-footer-action h2 { font-size: 21px; }
}

@media (max-width: 420px) {
  .amy-container { width: calc(100% - 32px); }
  .amy-nav-wrap { padding: 22px 16px 34px; }
  .amy-nav a { min-height: 62px; font-size: 21px; }
  .amy-find-grid { gap: 12px 10px; }
  .amy-list-grid { grid-template-columns: 1fr; }
  .amy-list-card { min-height: 270px; }
}

@media (prefers-reduced-motion: reduce) {
  .amy-nav-wrap, .amy-menu-toggle span, .amy-menu-toggle::before, .amy-menu-toggle::after,
  .amy-polaroid img, .amy-list-card img { transition-duration: .01ms; }
}
