/* Local Guides v1. Source: supplied page-guides.php.
   Approved AmanDagat palette; all selectors scoped to this page. */
body.amandagat-guides {
  --ink: #0c2340;
  --deep: #0c2340;
  --night: #0c2340;
  --limewash: #f4f8f9;
  --sand: #fff;
  --brass: #14549e;
  --brass-light: #d6a8a8;
  --gold: #d6a8a8;
  --white: #fff;
  background: #fff;
  color: #0c2340;
}
/* The existing header, logo, navigation and footer retain their structure. */
body.amandagat-guides .util-strip { background: #f4f8f9; border-color: #ccd6df; }
body.amandagat-guides .util-strip a { color: #0c2340; }
body.amandagat-guides .util-strip a:hover { color: #14549e; }
body.amandagat-guides .util-strip > span { color: #14549e !important; }
body.amandagat-guides #nav.solid { background: rgba(255,255,255,.98); }
body.amandagat-guides #nav .nav-dd-menu { background: #0c2340; border-color: #ccd6df; }
body.amandagat-guides footer.starry { background: #0c2340; color: #fff; }
body.amandagat-guides footer .fg h4 { color: #d6a8a8; }
body.amandagat-guides .btn-brass { background: #14549e; color: #fff !important; border: 1px solid #14549e; box-shadow: none; }
body.amandagat-guides .btn-brass:hover { background: #0c2340; border-color: #0c2340; box-shadow: none; }
body.amandagat-guides :focus-visible { outline: 3px solid #14549e; outline-offset: 5px; }

#amandagat-guides {
  --night: #0c2340;
  --deep: #0c2340;
  --brass-light: #d6a8a8;
  font-size: 17px;
  line-height: 1.7;
}
#amandagat-guides :is(h1,h2,h3) { font-weight: 400; letter-spacing: -.025em; }
#amandagat-guides .pgx-wrap { max-width: 1180px; }
#amandagat-guides .pgx-section { padding: 88px max(24px,5vw); }
#amandagat-guides .pgx-eyebrow { font-size: 12px; letter-spacing: .2em; }

/* One uninterrupted hero, with the source photograph and approved dimensions. */
#amandagat-guides .pgx-head { min-height: 560px; padding: 186px 24px 110px; background: #0c2340; color: #fff; }
#amandagat-guides .pgx-head .pgx-wrap { position: relative; z-index: 1; }
#amandagat-guides .pgx-head h1 { max-width: 1040px; margin-inline: auto; font-size: clamp(52px,7vw,92px); line-height: 1.08; color: #fff; }
#amandagat-guides .pgx-head h1 em { color: #d6a8a8; }
#amandagat-guides .pgx-head .sub { max-width: 600px; color: #e6eef4; opacity: 1; font-size: 18px; }
#amandagat-guides .scroll-cue { border-width: 1px; }


#amandagat-guides .guides-hero-photo { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
#amandagat-guides .guides-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(12,35,64,.55),rgba(12,35,64,.75)); }
#amandagat-guides .am-back { position: absolute; top: 128px; left: max(24px,5vw); z-index: 3; color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.45); padding-bottom: 5px; }
#amandagat-guides .am-back:hover { border-color: #fff; }
#amandagat-guides .pgx-head :focus-visible { outline-color: #fff; }

/* The same five guides, in order: a larger trip-planning feature followed by four guides. */
#amandagat-guides .guides-page { padding: 80px max(24px,5vw) 90px; background: #f4f8f9; }
#amandagat-guides .guides-page > .wrap { max-width: 1180px; padding: 0; }
#amandagat-guides .guide-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 48px 36px; margin: 0; align-items: start; }
#amandagat-guides .guide-card { min-width: 0; background: #fff; border: 1px solid #ccd6df; border-radius: 6px; box-shadow: none; color: #0c2340; transform: none; }
#amandagat-guides .guide-card .ph { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; overflow: hidden; background: #e5eef5; }
#amandagat-guides .guide-card .ph::after { background: linear-gradient(180deg,rgba(12,35,64,0) 55%,rgba(12,35,64,.28)); }
#amandagat-guides .guide-card .ph img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
#amandagat-guides .guide-card .ph.p-glamping img { object-position: 50% 62%; }
#amandagat-guides .guide-card .cat { position: absolute; z-index: 2; bottom: 20px; left: 20px; margin: 0; padding: 8px 14px; border-radius: 22px; color: #0c2340; background: rgba(255,255,255,.95); font: 700 11px/1.5 'Karla','Segoe UI',sans-serif; letter-spacing: .14em; }
#amandagat-guides .guide-card .gbody { padding: 30px 32px 26px; gap: 16px; min-width: 0; }
#amandagat-guides .guide-card h3 { margin: 0; color: #0c2340; font-size: clamp(29px,3.2vw,38px); line-height: 1.17; overflow-wrap: break-word; }
#amandagat-guides .guide-card h3 em { color: #14549e; }
#amandagat-guides .guide-card p { margin: 0; color: #44515d; font-size: 17px; line-height: 1.75; flex: none; }
#amandagat-guides .guide-card .read { display: inline-flex; align-items: center; min-height: 44px; margin-top: 5px; color: #14549e; font-size: 12px; letter-spacing: .1em; }
#amandagat-guides .guide-card:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr); align-items: stretch; background: #0c2340; border-color: #0c2340; }
#amandagat-guides .guide-card:first-child .ph { height: 100%; min-height: 430px; aspect-ratio: auto; border-radius: 46% 46% 0 0 / 30% 30% 0 0; }
#amandagat-guides .guide-card:first-child .gbody { justify-content: center; padding: 38px; gap: 20px; }
#amandagat-guides .guide-card:first-child h3 { color: #fff; font-size: clamp(32px,3.6vw,46px); }
#amandagat-guides .guide-card:first-child h3 em { color: #d6a8a8; }
#amandagat-guides .guide-card:first-child p { color: #e6eef4; }
#amandagat-guides .guide-card:first-child .read { color: #fff; }
#amandagat-guides .guide-card:first-child:focus-visible { outline-offset: 5px; }
#amandagat-guides .guide-card:nth-child(3) .ph { border-top-left-radius: 90px; }
#amandagat-guides .guide-card:nth-child(5) .ph { border-top-right-radius: 80px; }

@media(hover:hover) and (pointer:fine) {
  #amandagat-guides .guide-card:hover img { transform: scale(1.025); }
  #amandagat-guides .guide-card:hover .read { text-decoration: underline; text-underline-offset: 5px; }
}
@media(max-width:1080px) {
  body.amandagat-guides #nav ul.open { background: #fff; }
  body.amandagat-guides #nav .nav-dd-menu { background: transparent; }
  body.amandagat-guides #nav ul.open :is(a,.nav-dd-btn) { color: #0c2340 !important; }
  body.amandagat-guides #nav ul.open .btn-brass { color: #fff !important; }
  #amandagat-guides .am-back { top: 100px; }
  #amandagat-guides .guide-grid { gap: 36px 26px; }
  #amandagat-guides .guide-card:first-child .gbody { padding: 30px; }
}
@media(max-width:820px) {
  #amandagat-guides .guides-page { padding: 64px 24px; }
  #amandagat-guides .guide-card:first-child { grid-template-columns: minmax(0,1fr); }
  #amandagat-guides .guide-card:first-child .ph { height: auto; min-height: 0; aspect-ratio: 8 / 5; border-radius: 45% 45% 0 0 / 35% 35% 0 0; }
  #amandagat-guides .guide-card:first-child .gbody { padding: 30px; }
  #amandagat-guides .guide-card .gbody { padding: 24px; }
  #amandagat-guides .guide-card h3 { font-size: 29px; }
}
@media(max-width:560px) {
  #amandagat-guides .pgx-head { min-height: 540px; padding: 150px 22px 102px; }
  #amandagat-guides .pgx-head h1 { font-size: clamp(43px,10.5vw,58px); }
  #amandagat-guides .pgx-head .sub { font-size: 17px; }
  #amandagat-guides .guides-page { padding: 46px 22px 56px; }
  #amandagat-guides .guide-grid { grid-template-columns: minmax(0,1fr); gap: 30px; }
  #amandagat-guides .guide-card:first-child { grid-column: auto; }
  #amandagat-guides .guide-card .ph,
  #amandagat-guides .guide-card:first-child .ph { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  #amandagat-guides .guide-card .gbody,
  #amandagat-guides .guide-card:first-child .gbody { padding: 24px; gap: 16px; }
  #amandagat-guides .guide-card h3,
  #amandagat-guides .guide-card:first-child h3 { font-size: 31px; }
  #amandagat-guides .guide-card .cat { bottom: 16px; left: 16px; padding: 7px 12px; font-size: 10px; }
  #amandagat-guides .guide-card:nth-child(3) .ph { border-top-left-radius: 60px; }
  #amandagat-guides .guide-card:nth-child(5) .ph { border-top-right-radius: 55px; }
}
@media(prefers-reduced-motion:reduce) {
  #amandagat-guides .scroll-cue::after { animation: none; }
  #amandagat-guides .guide-card .ph img { transition: none; transform: none !important; }
}
