/* Amenities v1. Source: supplied page-amenities.php.
   Approved AmanDagat palette; all selectors scoped to this page. */
body.amandagat-amenities {
  --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-amenities .util-strip { background: #f4f8f9; border-color: #ccd6df; }
body.amandagat-amenities .util-strip a { color: #0c2340; }
body.amandagat-amenities .util-strip a:hover { color: #14549e; }
body.amandagat-amenities .util-strip > span { color: #14549e !important; }
body.amandagat-amenities #nav.solid { background: rgba(255,255,255,.98); }
body.amandagat-amenities #nav .nav-dd-menu { background: #0c2340; border-color: #ccd6df; }
body.amandagat-amenities footer.starry { background: #0c2340; color: #fff; }
body.amandagat-amenities footer .fg h4 { color: #d6a8a8; }
body.amandagat-amenities .btn-brass { background: #14549e; color: #fff !important; border: 1px solid #14549e; box-shadow: none; }
body.amandagat-amenities .btn-brass:hover { background: #0c2340; border-color: #0c2340; box-shadow: none; }
body.amandagat-amenities :focus-visible { outline: 3px solid #14549e; outline-offset: 5px; }

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

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


#amandagat-amenities .am-wrap { max-width: 1280px; margin: 0 auto; padding: 88px 50px; }
#amandagat-amenities .am-eyebrow { display: block; margin-bottom: 16px; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #14549e; }
#amandagat-amenities .am-top .am-eyebrow { color: #d6a8a8; }
#amandagat-amenities .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-amenities .am-back:hover { border-color: #fff; }
#amandagat-amenities .pgx-head :focus-visible { outline-color: #fff; }

/* The six original photographs and descriptions, kept in their original order. */
#amandagat-amenities .wc-head { max-width: 760px; margin: 0 0 50px; }
#amandagat-amenities .wc-head h2 { margin: 0; font-size: clamp(36px,4.5vw,58px); line-height: 1.12; }
#amandagat-amenities .wc-head h2 em { color: #14549e; }
#amandagat-amenities .wc-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 52px 32px; align-items: start; }
#amandagat-amenities .wc-card { min-width: 0; }
#amandagat-amenities .wc-card:nth-child(3n+2) { margin-top: 42px; }
#amandagat-amenities .am-photo { overflow: hidden; aspect-ratio: 4 / 3; background: #e5eef5; border-radius: 50% 50% 6px 6px / 42% 42% 6px 6px; }
#amandagat-amenities .wc-card:nth-child(n+4) .am-photo { aspect-ratio: 3 / 2; border-radius: 6px 52px 6px 6px; }
#amandagat-amenities .am-photo img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .6s ease; }
#amandagat-amenities .am-feature-copy { padding: 24px 4px 0; }
#amandagat-amenities .wc-card h3 { margin: 0 0 12px; color: #0c2340; font-size: 34px; line-height: 1.1; }
#amandagat-amenities .wc-card p { margin: 0; color: #44515d; font-size: 17px; line-height: 1.75; }

/* Existing search and categories; a quieter, more legible amenities index. */
#amandagat-amenities .am-catalog { background: #f4f8f9; border-top: 1px solid #ccd6df; }
#amandagat-amenities .am-catalog .am-wrap { padding-top: 64px; padding-bottom: 76px; }
#amandagat-amenities .am-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 22px 32px; margin-bottom: 36px; }
#amandagat-amenities #amSearch { width: 100%; max-width: 340px; flex: 1 1 280px; min-width: 0; min-height: 52px; margin: 0; padding: 13px 17px; border: 1px solid #ccd6df; border-radius: 6px; background: #fff; color: #0c2340; font: 400 16px/1.5 'Karla','Segoe UI',sans-serif; }
#amandagat-amenities #amSearch::placeholder { color: #44515d; opacity: 1; }
#amandagat-amenities #amSearch:focus-visible { border-color: #14549e; outline: 2px solid #14549e; outline-offset: 3px; }
#amandagat-amenities #amFilters { display: flex; flex-wrap: wrap; gap: 8px; }
#amandagat-amenities .am-chip { min-height: 44px; padding: 10px 16px; border: 1px solid #ccd6df; border-radius: 24px; background: transparent; color: #0c2340; cursor: pointer; font: 600 14px/1.5 'Karla','Segoe UI',sans-serif; transition: background .18s,color .18s,border-color .18s; }
#amandagat-amenities .am-chip:hover { border-color: #14549e; background: #e5eef5; }
#amandagat-amenities .am-chip.on { background: #14549e; border-color: #14549e; color: #fff; }
#amandagat-amenities #amGrid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0 28px; }
#amandagat-amenities .am-card { display: flex; align-items: center; gap: 16px; min-width: 0; min-height: 92px; padding: 18px 0; border-bottom: 1px solid #ccd6df; }
#amandagat-amenities .am-card i { display: flex; align-items: center; justify-content: center; flex: 0 0 40px; width: 40px; height: 40px; font-size: 29px; color: #14549e; }
#amandagat-amenities .am-card i.am-gym { flex-basis: 40px; width: 40px; height: 30px; background-color: #14549e; }
#amandagat-amenities .am-card span { font-size: 16px; font-weight: 600; line-height: 1.45; color: #0c2340; }
#amandagat-amenities #amEmpty { margin: 24px 0 0; padding: 22px; border: 1px solid #ccd6df; border-radius: 6px; background: #fff; color: #44515d; font-size: 17px; text-align: center; }
#amandagat-amenities #amEmpty[hidden] { display: none; }

@media(hover:hover) and (pointer:fine) {
  #amandagat-amenities .wc-card:hover img { transform: scale(1.025); }
}
@media(max-width:1080px) {
  body.amandagat-amenities #nav ul.open { background: #fff; }
  body.amandagat-amenities #nav .nav-dd-menu { background: transparent; }
  body.amandagat-amenities #nav ul.open :is(a,.nav-dd-btn) { color: #0c2340 !important; }
  body.amandagat-amenities #nav ul.open .btn-brass { color: #fff !important; }
  #amandagat-amenities .am-back { top: 100px; }
  #amandagat-amenities .am-wrap { padding-inline: 32px; }
  #amandagat-amenities .wc-grid { gap: 42px 24px; }
  #amandagat-amenities #amGrid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media(max-width:820px) {
  #amandagat-amenities .am-wrap { padding: 64px 24px; }
  #amandagat-amenities .wc-head { margin-bottom: 36px; }
  #amandagat-amenities .wc-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 36px 24px; }
  #amandagat-amenities .wc-card:nth-child(3n+2) { margin-top: 0; }
  #amandagat-amenities .wc-card:nth-child(even) { margin-top: 34px; }
  #amandagat-amenities #amSearch { max-width: none; flex-basis: 100%; }
  #amandagat-amenities #amGrid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 24px; }
}
@media(max-width:560px) {
  #amandagat-amenities .pgx-head { min-height: 540px; padding: 150px 22px 102px; }
  #amandagat-amenities .pgx-head h1 { font-size: clamp(43px,10.5vw,58px); }
  #amandagat-amenities .pgx-head .sub { font-size: 17px; }
  #amandagat-amenities .am-wrap { padding: 50px 22px; }
  #amandagat-amenities .am-catalog .am-wrap { padding: 44px 22px 56px; }
  #amandagat-amenities .wc-grid { grid-template-columns: minmax(0,1fr); gap: 36px; }
  #amandagat-amenities .wc-card:nth-child(even) { margin-top: 0; }
  #amandagat-amenities .am-photo { aspect-ratio: 4 / 3; }
  #amandagat-amenities .am-feature-copy { padding-top: 22px; }
  #amandagat-amenities #amFilters { gap: 8px; }
  #amandagat-amenities .am-chip { padding-inline: 14px; }
  #amandagat-amenities .am-controls { gap: 18px; margin-bottom: 24px; }
  #amandagat-amenities #amGrid { grid-template-columns: minmax(0,1fr); }
  #amandagat-amenities .am-card { min-height: 76px; }
}
@media(prefers-reduced-motion:reduce) {
  #amandagat-amenities .pgx-stars i { animation: none; opacity: .45; }
  #amandagat-amenities .scroll-cue::after { animation: none; }
  #amandagat-amenities .am-photo img { transition: none; transform: none !important; }
}
