/* Water Atlas: put the map first. Slim title, search and filters right above the map, the long story and the print below it. */
.coastal .atlas-grand-heading.atlas-invitation.atlas-slim{display:block;position:relative;isolation:isolate;overflow:hidden;min-height:0;padding:clamp(2.8rem,5vw,4.2rem) 7vw clamp(2.6rem,4.6vw,3.8rem);background:#06201f;color:#f8f0e2;border-bottom:0}
.atlas-band-media{position:absolute;inset:0;z-index:-3}
.atlas-band-media video{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 50%}
.coastal .atlas-slim:before{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,#041819ee 0%,#05211fcc 42%,#06221f8c 70%,#06221f66 100%),linear-gradient(0deg,#041819aa,transparent 55%)}
.coastal .atlas-slim:after{content:"";position:absolute;inset:clamp(8px,1.2vw,16px);z-index:-1;border:1px solid #e2b48f70;box-shadow:inset 0 0 0 5px #06201f00,inset 0 0 0 6px #e2b48f38;pointer-events:none}
.atlas-band-rose{position:absolute;right:7vw;top:50%;width:clamp(150px,17vw,250px);height:auto;transform:translateY(-50%);color:#e2b48f;opacity:.55;z-index:-1;pointer-events:none}
.atlas-slim .atlas-title-frame{position:relative;max-width:1200px;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:end;column-gap:3rem;padding-right:clamp(0px,20vw,300px)}
.atlas-slim .atlas-title-frame>.eyebrow{grid-column:1/-1;margin:0;color:#ecc6a6!important}
.coastal .atlas-slim h1{font-size:clamp(4.6rem,8.4vw,8.6rem);line-height:.86;margin:.9rem 0 0;color:#fbf5ea;text-shadow:0 6px 40px #0009}
.coastal .atlas-slim h1 span{color:#f8f0e2;margin-bottom:.55rem;letter-spacing:.32em}
.coastal .atlas-slim h1 em{color:#f1c4a3;font-style:italic;font-weight:400}
.coastal .atlas-slim .atlas-hero-lede{margin:0 0 .5rem;max-width:25rem;color:#efe6d6;font:italic 400 clamp(1.4rem,2.1vw,2rem)/1.3 var(--display-font,'Cormorant Garamond',Georgia,serif);text-shadow:0 2px 18px #0008}
.atlas-band-toggle{position:absolute;right:clamp(1.2rem,2vw,1.8rem);bottom:clamp(1.2rem,2vw,1.8rem);z-index:2;width:38px;height:38px;border-radius:50%;border:1px solid #f8f0e266;background:#06201f80;cursor:pointer;display:grid;place-items:center;padding:0}
.atlas-band-toggle span{display:block;width:10px;height:12px;border-left:3.5px solid #f8f0e2;border-right:3.5px solid #f8f0e2}
.atlas-band-toggle[aria-pressed=true] span{width:0;height:0;border-style:solid;border-width:7px 0 7px 11px;border-color:transparent transparent transparent #f8f0e2;margin-left:3px}
.atlas-band-toggle:focus-visible{outline:2px solid #f1c4a3;outline-offset:3px}
.atlas-page .atlas-slim+.atlas-controls{margin-top:0}

/* Filters: two columns on a computer so the map comes up sooner */
@media(min-width:1000px){
 .coastal.atlas-page .atlas-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.75fr);gap:1rem 1.2rem;align-items:start;padding:1.2rem 3vw}
 .coastal.atlas-page .atlas-controls>.atlas-control-group:nth-child(1){grid-column:1;grid-row:1/span 2;align-self:stretch}
 .coastal.atlas-page .atlas-controls>.atlas-control-group:nth-child(2){grid-column:2;grid-row:1}
 .coastal.atlas-page .atlas-controls>.atlas-control-group:nth-child(3){grid-column:2;grid-row:2}
 .coastal.atlas-page .atlas-controls .atlas-location-tools{display:flex;flex-wrap:wrap;align-items:flex-end;gap:.5rem}
 .coastal.atlas-page .atlas-controls .atlas-location-tools label{display:flex;flex-direction:column;gap:.2rem;margin:0}
 .coastal.atlas-page .atlas-controls .atlas-location-tools label[hidden]{display:none}
 .coastal.atlas-page .atlas-controls .atlas-search{margin-bottom:.7rem}
 .coastal.atlas-page .atlas-controls #atlas-search-note{line-height:1.5;margin-top:.4rem}
 .coastal .atlas-extra-filters{gap:.45rem}
 .coastal .atlas-extra-filters button{min-height:40px;padding:.5rem .8rem;font-size:.82rem}
 .coastal.atlas-page .atlas-control-group{padding:1.1rem 1.2rem}
 .coastal.atlas-page .atlas-controls .type-filters{gap:.4rem}
 .coastal.atlas-page .type-filters button{min-height:40px;padding:.5rem .8rem;font-size:.8rem}
}

/* Phone: one swipeable row of kinds of day, one row of details */
@media(max-width:800px){
 .coastal .atlas-grand-heading.atlas-invitation.atlas-slim{padding:2.4rem 1.6rem 2.2rem;text-align:center}
 .coastal .atlas-slim:before{background:linear-gradient(180deg,#041819b8 0%,#05211fa6 50%,#041819d9 100%)}
 .atlas-slim .atlas-title-frame{display:block;padding-right:0}
 .coastal .atlas-slim .atlas-title-frame>.eyebrow{justify-content:center;font-size:.6rem;letter-spacing:.16em;white-space:nowrap}
 .coastal .atlas-slim h1{font-size:5.6rem;margin-top:.9rem}
 .coastal .atlas-slim h1 span{font-size:.13em}
 .coastal .atlas-slim .atlas-hero-lede{margin:.9rem auto 0;font-size:1.35rem}
 .atlas-band-rose{right:50%;top:54%;transform:translate(50%,-50%);width:250px;opacity:.22}
 .atlas-band-toggle{right:1.1rem;top:1.1rem;bottom:auto;width:32px;height:32px}
 .coastal .atlas-grand-heading.atlas-invitation.atlas-slim{min-height:300px;display:flex;align-items:center;justify-content:center}
 .coastal.atlas-page .atlas-controls{padding:.9rem .9rem .3rem;margin:0 .6rem}
 .atlas-page .atlas-control-group{padding:.85rem;margin-bottom:.6rem}
 .atlas-page .atlas-control-group .control-kicker{margin-bottom:.6rem}
 .coastal.atlas-page .atlas-controls .type-filters,.coastal .atlas-controls .atlas-extra-filters{display:flex;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;gap:.5rem;padding:.15rem .1rem .7rem;-webkit-mask-image:linear-gradient(90deg,#000 86%,transparent);mask-image:linear-gradient(90deg,#000 86%,transparent)}
 .coastal.atlas-page .atlas-controls .type-filters button,.coastal .atlas-controls .atlas-extra-filters button{flex:0 0 auto;width:auto;white-space:nowrap;scroll-snap-align:start}
 .coastal .atlas-controls .atlas-location-tools{gap:.5rem}
}

/* The story and the print, now below the map */
.coastal .atlas-about.atlas-grand-heading.atlas-invitation{border-top:1px solid #5d806b33}
.coastal .atlas-about .atlas-about-title{font:400 clamp(3rem,5.4vw,5.6rem)/.92 var(--display-font,'Cormorant Garamond',Georgia,serif);letter-spacing:-.02em;color:#173e35;margin:1.1rem 0 1.4rem}
.coastal .atlas-about .atlas-about-title em{font-style:italic;color:#a96f53}
.atlas-about .scenic-route-note{margin:1.4rem 0}

/* Place card: every section with a purpose and its own look */
.atlas-page .atlas-detail{--pc-ink:#173e3f;--pc-copper:#b5703f;--pc-line:#e3d3b8}
.atlas-page .atlas-detail .save-detail{display:inline-flex;align-items:center;gap:.45rem;margin:.2rem 0 0;padding:.55rem 1rem;min-height:42px;border:1px solid #b5703f88;border-radius:999px;background:#fffaf2;color:var(--pc-ink);font-size:.86rem;letter-spacing:.02em}
.atlas-page .atlas-detail .save-detail[aria-pressed=true]{background:#b5703f;border-color:#b5703f;color:#fff9ef}
.atlas-page .atlas-detail .detail-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;margin:1.1rem 0 1.3rem}
.atlas-page .atlas-detail .detail-tabs a{justify-content:center;text-align:center;min-height:46px;padding:.55rem .8rem;border:1px solid #17403e40;border-radius:6px;background:#fffaf2;color:var(--pc-ink);font-size:.84rem;line-height:1.3;text-decoration:none}
.atlas-page .atlas-detail .detail-tabs a:last-child{grid-column:1/-1;background:var(--pc-ink);border-color:var(--pc-ink);color:#f8f0e2;font-weight:600;letter-spacing:.04em}
.atlas-page .atlas-detail .detail-tabs a:hover{border-color:var(--pc-copper)}
.atlas-page .atlas-detail .detail-accordion summary{font:italic 400 1.2rem/1.3 var(--display-font,'Cormorant Garamond',Georgia,serif);color:var(--pc-ink)}
.atlas-page .atlas-detail .detail-accordion p{font-size:.95rem;line-height:1.65}
.atlas-page .atlas-detail .detail-links a{font-size:.9rem}
.atlas-page .atlas-detail .source-date{font-size:.8rem!important;line-height:1.5;color:#6b7c74}

/* Shared card frame: cream card, inner hairline, a small badge for what it is */
.atlas-page .atlas-detail .shore-detail-card{position:relative;margin:1.3rem 0 0;padding:1.5rem 1.35rem 1.35rem;border:1px solid var(--pc-line);border-radius:8px;background:#fffaf2;box-shadow:0 18px 40px #5a41241a}
.atlas-page .atlas-detail .shore-detail-card:before{content:"";position:absolute;inset:5px;border:1px solid #efe3cd;border-radius:5px;pointer-events:none}
.atlas-page .atlas-detail .shore-detail-card h3{position:relative;font:400 1.75rem/1.12 var(--display-font,'Cormorant Garamond',Georgia,serif);margin:.15rem 0 .65rem;color:var(--pc-ink)}
.atlas-page .atlas-detail .shore-detail-card .eyebrow{margin:0 0 .3rem}

/* Your rating: big tappable stars, plain words, links on their own lines */
.atlas-page .atlas-detail .personal-rating{border-top:1px solid var(--pc-line);padding-top:1.5rem}
.atlas-page .atlas-detail .personal-rating h3:before{content:"★";display:inline-block;margin-right:.45rem;color:#c99a5e;font-size:.8em;transform:translateY(-.06em)}
.atlas-page .atlas-detail .personal-rating .rating-note{text-align:left;letter-spacing:0;margin:0 0 .9rem;font-size:.9rem;line-height:1.55;color:#4b6460}
.atlas-page .atlas-detail .personal-rating .rating-stars{display:flex;gap:.15rem;margin:.2rem 0 .5rem;background:none;-webkit-background-clip:border-box;background-clip:border-box;color:inherit;letter-spacing:0}
.atlas-page .atlas-detail .personal-rating .rating-stars button{width:48px;min-height:48px;border:0;background:none;color:#c99a5e;font-size:2.1rem;line-height:1;padding:0;cursor:pointer;transition:transform .15s,color .15s}
.atlas-page .atlas-detail .personal-rating .rating-stars button:hover,.atlas-page .atlas-detail .personal-rating .rating-stars button:focus-visible{transform:scale(1.12);color:#b5703f}
.atlas-page .atlas-detail .personal-rating .rating-stars button[aria-pressed=true]{background:none;color:#b5703f}
.atlas-page .atlas-detail .personal-rating [data-rating-status]{margin:0 0 .8rem;font-style:italic;font-size:.9rem}
.atlas-page .atlas-detail .personal-rating .rating-clear{display:inline-block;margin:0 1.2rem .4rem 0;padding:.3rem 0;font-size:.85rem;color:#6b7c74}
.atlas-page .atlas-detail .personal-rating>a{display:flex;align-items:center;justify-content:center;margin-top:.7rem;min-height:46px;padding:.55rem 1rem;border:1px solid #17403e40;border-radius:6px;color:var(--pc-ink);font-size:.86rem;text-decoration:none;background:#fff}

/* What's the sky doing: a little dawn sky with a sun */
.atlas-page .atlas-detail .weather-panel{background:linear-gradient(165deg,#dbe7e6 0%,#eef0e6 48%,#f6e4cf 100%);border-color:#c9d6d2}
.atlas-page .atlas-detail .weather-panel:after{content:"";position:absolute;right:1.2rem;top:1.1rem;width:46px;height:46px;border-radius:50%;background:radial-gradient(circle,#f3c58f 0 38%,#f3c58f55 39% 52%,transparent 53%);pointer-events:none}
.atlas-page .atlas-detail .weather-panel h3{padding-right:3.5rem}
.atlas-page .atlas-detail .weather-panel .button{width:100%;margin-top:.4rem;background:var(--pc-ink);border-color:var(--pc-ink);color:#f8f0e2;min-height:48px}
.atlas-page .atlas-detail .weather-panel .small-note{color:#4b6460}

/* Make a day of it: the warm, copper card */
.atlas-page .atlas-detail .plan-shore{background:linear-gradient(160deg,#f8e8d6,#f2dcc4);border-color:#e2bfa0}
.atlas-page .atlas-detail .plan-shore:before{border-color:#f6dcc2}
.atlas-page .atlas-detail .plan-shore .button{width:100%;margin-top:.6rem;min-height:48px}
.atlas-page .atlas-detail .plan-shore .under-link{margin-inline:auto}

/* The print, shown straight and at its own shape (it was tilted and squeezed into the old landscape frame) */
.coastal.atlas-page .atlas-about .atlas-country-window{width:min(100%,700px);perspective:none}
.coastal.atlas-page .atlas-about .atlas-country-window .atlas-coast-photo,.coastal.atlas-page .atlas-about .atlas-country-window:hover .atlas-coast-photo{transform:none!important;aspect-ratio:1300/1625!important;width:100%;height:auto!important;object-fit:cover!important;filter:drop-shadow(0 22px 26px #173b3933)}

/* Many places: numbered clusters on the map, and a "show more" under the list */
/* Clusters are little copper stamps, like the mermaid stamps on the printed Atlas (Andie: no more plain circles) */
.coast-cluster{position:relative;display:grid;place-items:center;cursor:pointer;filter:drop-shadow(0 5px 7px #3a241238);transition:transform .15s}
.coast-cluster svg{position:absolute;inset:0;width:100%;height:100%;z-index:0!important}
.coast-cluster b{position:relative;font:600 1.08rem/1 var(--display-font,'Cormorant Garamond',Georgia,serif);color:#15312d;letter-spacing:.01em;z-index:1}
.coast-cluster:hover{transform:scale(1.08)}
.atlas-more{display:flex;justify-content:center;padding:1rem 0 .5rem}
.atlas-more .button{min-height:48px}
/* One row does both jobs: the "kind of day" buttons filter the map and carry each pin symbol, so the separate symbol strip is gone (Andie, 2026-11-27 PT) */
.atlas-map-legend{display:none!important}
