/* Sea atmosphere is confined to the brand hero. Working surfaces stay still. */
.yam-live main .yam-coast-grid { gap:16px; }
.yam-live main .yam-motion-hero {
    position:relative; isolation:isolate; overflow:hidden; min-height:425px;
    background:#082a3f url('assets/yam-sea-poster.webp') center 43%/cover no-repeat;
    border-radius:15px; box-shadow:0 12px 35px #082c491f;
}
.yam-hero-film { position:absolute; inset:0; z-index:-2; width:100%; height:100%; object-fit:cover; object-position:center 43%; opacity:0; transition:opacity .45s ease; pointer-events:none; }
.yam-motion-hero.has-motion-frame .yam-hero-film { opacity:1; }
.yam-motion-hero::before { content:''; position:absolute; inset:0; z-index:-1; background:linear-gradient(270deg,#061e32f7 0%,#082a41df 31%,#082e498a 60%,#08283b22 100%),linear-gradient(0deg,#061e325c,transparent 48%); pointer-events:none; }
.yam-live main .yam-motion-hero .yam-coast-copy { position:relative; padding:34px clamp(24px,4vw,50px) 56px; }
.yam-live main .yam-motion-hero h1 { font-size:clamp(35px,4.65vw,60px); line-height:1.08; text-shadow:0 3px 18px #02182755; }
.yam-live main .yam-motion-hero .yam-coast-label { display:inline-flex; align-items:center; gap:8px; padding:6px 10px; border:1px solid #c7e8ff54; border-radius:20px; background:#123c5775; }
.yam-motion-toggle { position:absolute; inset-inline-end:14px; inset-block-end:13px; display:inline-flex; gap:7px; align-items:center; min-height:40px; padding:7px 10px; background:#082437e8; color:#fff; border:1px solid #d8efff61; border-radius:7px; font:inherit; font-size:11px; cursor:pointer; }
.yam-motion-toggle[hidden] { display:none; }
.yam-motion-toggle:hover { background:#0b4869; }
.yam-motion-toggle:focus-visible { outline:2px solid #a9e4ff; outline-offset:3px; }
.yam-live main .yam-coast-tools { background:linear-gradient(145deg,#e7f4fb,#f9fcfe); border:1px solid #cfe4f0; color:#123e5b; border-radius:15px; padding:19px; }
.yam-live main .yam-coast-tools .front-eyebrow { color:#286f91; }
.yam-live main .yam-coast-tools h2 { color:#153f5d; font-size:22px; }
.yam-live main .yam-coast-tools nav { display:grid; gap:5px; }
.yam-live main .yam-coast-tools nav>a { padding:9px 8px; border:1px solid transparent; border-radius:8px; background:#ffffffb8; color:#173f5b; }
.yam-live main .yam-coast-tools nav>a strong { color:#153f5d; }
.yam-live main .yam-coast-tools nav>a small { color:#4b6d83; }
.yam-live main .yam-coast-tools nav>a .yam-coast-icon { background:#e5f3fc!important; border-color:#c8e1f0; color:#146d99!important; }
.yam-live main .yam-coast-tools nav>a:nth-child(3) .yam-coast-icon { background:#dcf1f6!important; color:#126e86!important; }
.yam-live main .yam-coast-tools nav>a:nth-child(4) .yam-coast-icon { background:#fbf0df!important; color:#805823!important; }
.yam-live main .yam-coast-tools nav>a>span:last-child { color:#19769d; }
.yam-live main .yam-coast-tools nav>a:hover { background:white; border-color:#9cc6dd; transform:none; }

/* Differentiate browsing, conditions and booking without changing their behavior. */
.yam-live:not(.yam-console) main .portal-masthead-feature { background:linear-gradient(122deg,#0c3856,#082437 72%); }
.yam-live:not(.yam-console) main .portal-masthead-feature .yam-activity-photo>div { border:1px solid #c1e9ff45; box-shadow:0 8px 26px #041f3455; }
.yam-live:not(.yam-console) main .entity-hero { box-shadow:0 8px 26px #102e4512; }
.yam-live:not(.yam-console) main .entity-hero .entity-cover::after { background:linear-gradient(270deg,#102d43 0%,#102d4300 52%),linear-gradient(0deg,#07213642,transparent 70%); }
.yam-live:not(.yam-console) main .ymb { background:linear-gradient(145deg,#e9f4fb,#f9fcfe); border-color:#cbdfea; }
.yam-live:not(.yam-console) main .ymb-status { background:#e6f3fa; border-inline-start-color:#267da6; color:#244f6a; }
.yam-live:not(.yam-console) main .ymb-metrics article { background:#fff; border-color:#d4e4ef; border-block-start:3px solid #2e82ad; }
.yam-live:not(.yam-console) main .ymb-metrics article:nth-child(2) { border-block-start-color:#18869b; }
.yam-live:not(.yam-console) main .ymb-metrics article:nth-child(3) { border-block-start-color:#95743b; }
.yam-live:not(.yam-console) main .ymb-metrics article:nth-child(4) { border-block-start-color:#655ca0; }
.yam-live:not(.yam-console) main .ymb-metrics strong { font-variant-numeric:tabular-nums; }
.yam-live:not(.yam-console) main .yam-register-filters { background:#fff; border-radius:8px; }
.yam-live:not(.yam-console) main .yam-register .leaflet-container { border:1px solid #c4d9e7; }
.yam-live:not(.yam-console) main .yam-register [data-beach-results] button:focus-visible { outline-offset:2px; }
.yam-live:not(.yam-console) main .yam-lead-form :is(select,input[type=text],input[type=tel],input[type=email]):hover { border-color:#91b6cc; }
.yam-live:not(.yam-console) main .yam-lead-form .yam-choice-title { color:#164360; }
.yam-live:not(.yam-console) main :is(.yam-topic-cards>a,.yam-card,.products li.product):focus-within { border-color:#72aac9; }
.yam-live:not(.yam-console) main .portal-calendar .portal-day:has(.day-event-count):not([aria-pressed=true]) { background:#f0f8fd; border-color:#c1deed; }
.yam-live:not(.yam-console) main #bbpress-forums .bbp-forum-title { color:#154a6c; }
.yam-live:not(.yam-console) main .yam-food-reviews .yam-review-heading h2 { color:#123f5c; }
@media(max-width:980px) {
    .yam-live main .yam-motion-hero { min-height:390px; }
    .yam-live main .yam-coast-tools nav>a:last-child { grid-column:1/-1; }
}
@media(max-width:740px) {
    .yam-live main .yam-motion-hero { min-height:365px; border-radius:11px; }
    .yam-live main .yam-motion-hero .yam-coast-copy { padding:23px 21px 55px; }
    .yam-live main .yam-motion-hero h1 { font-size:clamp(33px,9vw,43px); }
    .yam-motion-hero::before { background:linear-gradient(270deg,#051f33f4,#072a40b0 62%,#062c4554),linear-gradient(0deg,#061e3277,transparent 55%); }
    .yam-live main .yam-coast-tools { padding:14px; border-radius:11px; }
    .yam-live main .yam-coast-tools nav>a { padding:8px 5px; }
    .yam-live:not(.yam-console) main .entity-hero .entity-cover::after { background:linear-gradient(0deg,#102d43,transparent 65%); }
}
@media(prefers-reduced-motion:reduce) { .yam-hero-film { display:none; transition:none; } }

.yam-live main .yam-lesson-finder {
    margin-block:16px 18px; padding:15px 18px!important; gap:12px!important;
    border-radius:11px!important; background:#f4faff!important;
}
.yam-live main .yam-lesson-finder h2 { font-size:19px; }
.yam-live main .yam-lesson-finder :is(select,button) { min-height:44px; }
.yam-live main .yam-directory-filter { margin-block-end:12px; }
.yam-directory-results { scroll-margin-block-start:110px; }
.yam-directory-summary { display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; min-height:36px; margin-block-end:14px; color:#234d68; font-size:13px; }
.yam-directory-summary .yam-directory-chips { display:flex; flex-wrap:wrap; gap:6px; list-style:none; padding:0; margin:0; }
.yam-directory-chips a, .yam-directory-pages a {
    display:inline-flex; align-items:center; justify-content:center; gap:7px;
    min-height:36px; padding:5px 11px; color:#155679;
    background:#eff7fc; border:1px solid #c5dfed; border-radius:8px; text-decoration:none;
}
.yam-directory-chips a { overflow-wrap:anywhere; }
.yam-directory-chips a:hover,.yam-directory-pages a:hover { background:#dceefa; border-color:#9ac4de; }
.yam-directory-chips a:focus-visible,.yam-directory-pages a:focus-visible { outline:2px solid #1472a3; outline-offset:2px; }
.yam-directory-pages { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:10px; margin-block:20px 4px; font-size:13px; color:#365870; }
.yam-directory-pages a { min-height:42px; font-weight:700; }
.yam-live main .yam-directory-empty { padding:clamp(18px,4vw,32px); }
.yam-live main .yam-directory-empty h2 { font-size:20px; }
@media(max-width:740px) {
    .yam-live main .yam-lesson-finder { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .yam-live main .yam-lesson-finder > :is(div,button) { grid-column:1/-1; }
    .yam-live main .yam-lesson-finder label { min-width:0; }
    .yam-directory-results { scroll-margin-block-start:90px; }
}

/* Public navigation stays visible. A separate surface makes the active section easier to spot. */
.yam-live:not(.yam-console)>.site-header {
    background:linear-gradient(110deg,#fff 45%,#f4faff);
    border-block-start:3px solid #0e587f;
    box-shadow:0 3px 14px #123b5410;
}
.yam-live:not(.yam-console) .site-header .yam-brand-mark {
    box-sizing:border-box;
    padding:4px;
    border:1px solid #c9e2ef;
    border-radius:10px;
    background:#eaf6fc;
}
.yam-live:not(.yam-console) .site-header .header-account {
    color:#fff; background:#10496d; border-color:#10496d;
}
.yam-live:not(.yam-console) .site-header .header-account:hover {
    background:#17638d; border-color:#17638d;
}
.yam-live:not(.yam-console) .site-header .public-more-links section {
    min-width:0; padding:12px; background:#f5faff; border:1px solid #e1edf5; border-radius:8px;
}
.yam-live:not(.yam-console) .site-header .public-more-links h2 {
    margin-block-end:5px; padding:3px 8px 7px; border-block-end:1px solid #dcebf4;
}
.yam-live:not(.yam-console) main .portal-masthead-compact {
    background:linear-gradient(110deg,#edf7fd,#f8fbfd 58%,#edf6fb)!important;
}

/* Activity photography gets one consistent caption and a clear link cue. */
.yam-live main .yam-activity-discovery .front-section-heading { align-items:baseline; gap:8px 18px; }
.yam-live main .yam-activity-discovery .yam-activity-tile {
    border-radius:12px; box-shadow:0 4px 12px #0b32571b;
}
.yam-live main .yam-activity-discovery .yam-activity-tile::after {
    background:linear-gradient(0deg,#062236f7 0%,#092a42c7 27%,#092a4240 56%,transparent 82%);
}
.yam-live main .yam-activity-discovery .yam-activity-tile-copy {
    position:relative; padding-inline-end:53px; gap:4px;
}
.yam-live main .yam-activity-discovery .yam-activity-tile-copy::after {
    content:''; position:absolute; inset-inline-end:15px; inset-block-end:17px;
    width:30px; height:30px; border:1px solid #c2e9fe80; border-radius:50%;
    background:#0a2c44b0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M15 10H5m4-4-4 4 4 4' fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.6'/%3E%3C/svg%3E") center/18px no-repeat;
    transition:background-color .2s;
}
.yam-live main .yam-activity-discovery .yam-activity-tile:is(:hover,:focus-visible) .yam-activity-tile-copy::after {
    background-color:#1678a7;
}
.yam-live main .yam-activity-discovery .yam-activity-tile:focus-visible {
    outline:3px solid #1682b3; outline-offset:3px;
}

/* Keep card actions aligned when directory titles and descriptions vary. */
.yam-live main .yam-directory-results .yam-card>a {
    display:flex; flex-direction:column; height:100%;
}
.yam-live main .yam-directory-results .yam-card-media {
    flex:none; height:auto; aspect-ratio:2/1; border-block-end:1px solid #dbe9f1;
}
.yam-live main .yam-directory-results .yam-card-body {
    display:flex; flex-direction:column; flex:1; min-width:0;
}
.yam-live main .yam-directory-results .yam-card-copy { flex:1; margin-block-end:0; }
.yam-live main .yam-directory-results .yam-card-action { margin-block-start:12px; }
@media (min-width:741px) and (max-width:980px) {
    .yam-live main .yam-activity-discovery .yam-activity-tile:last-child { grid-column:1/-1; aspect-ratio:4.4; }
}
@media (max-width:980px) {
    .yam-live:not(.yam-console) .site-header #main-nav {
        background:#f1f7fb; border:1px solid #dcebf3; border-radius:9px; padding:4px;
    }
    .yam-live:not(.yam-console) .site-header #main-nav>a[aria-current] {
        background:#dceffa; color:#0b5882; font-weight:800;
    }
}
@media (max-width:620px) {
    .yam-live:not(.yam-console) .site-header .public-more-links { padding:10px; gap:8px; }
    .yam-live:not(.yam-console) .site-header .public-more-links section { padding:6px 9px; }
    .yam-live main .yam-activity-discovery .yam-activity-tile-copy { padding-inline-end:38px; }
    .yam-live main .yam-activity-discovery .yam-activity-tile-copy strong { font-size:clamp(15px,4.2vw,18px); }
    .yam-live main .yam-activity-discovery .yam-activity-tile-copy::after {
        width:23px; height:23px; inset-inline-end:8px; inset-block-end:12px; background-size:15px;
    }
    .yam-live main .yam-directory-results .yam-grid { grid-template-columns:minmax(0,1fr); gap:10px; }
    .yam-live main .yam-directory-results .yam-card>a {
        display:grid; grid-template-columns:clamp(86px,28vw,142px) minmax(0,1fr);
    }
    .yam-live main .yam-directory-results .yam-card-media {
        aspect-ratio:auto; height:100%; min-height:126px; border:0; border-inline-end:1px solid #dbe9f1;
    }
    .yam-live main .yam-directory-results .yam-card-media>img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
    .yam-live main .yam-directory-results .yam-card-media>.yam-activity-art::before {
        inset:auto; left:50%; top:50%; width:auto; min-width:100%; height:100%;
        transform:translate(-50%,-50%);
    }
    .yam-live main .yam-directory-results .yam-card-category { display:none; }
    .yam-live main .yam-directory-results .yam-card-body { padding:10px 12px!important; }
    .yam-live main .yam-directory-results .yam-card h3 { font-size:16px; margin-block-end:5px; }
    .yam-live main .yam-directory-results .yam-card-copy { min-height:0; font-size:12px; line-height:1.55; }
    .yam-live main .yam-directory-results .yam-card-action { margin-block-start:8px; padding-block-start:6px; }
}
@media(prefers-reduced-motion:reduce) {
    .yam-live main .yam-activity-discovery .yam-activity-tile-copy::after { transition:none; }
}

/* Detail pages use a clear path from the offer to booking. */
.yam-live main .entity-hero { background:#0a2b43; border-radius:15px; }
.yam-live main .entity-hero .entity-cover::after {
    background:linear-gradient(270deg,#0a2b43 0%,#0a2b4300 54%),linear-gradient(0deg,#08263a54,transparent 70%);
}
.yam-live main .entity-category {
    display:inline-flex; align-items:center; gap:7px; width:fit-content;
    padding:4px 9px; border:1px solid #acd9ee66; border-radius:16px;
    background:#194564a6; color:#d8f1ff;
}
.yam-live main .entity-category::before {
    content:''; width:6px; height:6px; border-radius:50%; background:#81d6ef;
}
.yam-live main .entity-hero .entity-intro { max-width:53ch; }
.yam-live main .entity-sections {
    gap:4px; margin-block:12px 18px; padding:4px;
    border:1px solid #dceaf3; border-radius:8px; background:#f2f8fc;
}
.yam-live main .entity-sections a { border:0; padding:9px 12px; border-radius:5px; }
.yam-live main .entity-sections a:is(:hover,:focus-visible,[aria-current]) { background:#e0f0fa; color:#075b83; }
.yam-live main .entity-booking { border-block-start:0; border-radius:11px; }
.yam-live main .entity-booking .entity-booking-head { background:linear-gradient(120deg,#123f5f,#0c5b7e); border:0; }
.yam-live main .entity-booking-head :is(h2,p,span) { color:#fff; }
.yam-live main .entity-booking-head>span { color:#c7eafd; }
.yam-live main .entity-booking-head p { margin-block-start:8px; }
.yam-live main .entity-reading>h2:first-child {
    border-block-end:1px solid #dce9f2; padding-block-end:12px;
}

/* Article leads and checklists use the same reading rhythm as offer pages. */
.yam-live main .portal-reading .yam-guide-lead {
    padding:14px 16px; border-inline-start:3px solid #2e8ab7; border-radius:8px;
    background:#eef7fd; color:#214d68; line-height:1.75;
}
.yam-live main .portal-reading .yam-guide-example {
    padding:14px 16px; border:1px solid #d7e6ef; border-radius:8px;
    background:#f7fafc; color:#214d68;
}
.yam-live main .portal-reading .yam-guide-next {
    display:flex; flex-wrap:wrap; align-items:center; gap:8px 18px;
    margin-block:22px 0; padding-block-start:15px; border-block-start:1px solid #dce9f2;
}
.yam-live main .portal-reading .yam-guide-next a {
    display:inline-flex; align-items:center; min-height:40px; padding:6px 11px;
    border:1px solid #c5ddea; border-radius:6px; background:#f2f9fd; color:#155679;
}
.yam-live main .portal-reading .yam-guide-next a:hover { background:#e0f0fa; }
@media(max-width:740px) {
    .yam-live main .entity-hero .entity-cover { height:clamp(102px,32vw,156px); }
    .yam-live main .entity-hero .entity-cover::after { background:linear-gradient(0deg,#0a2b43,transparent 70%); }
    .yam-live main .entity-hero-body { padding-inline:17px; padding-block-end:18px; }
    .yam-live main .entity-hero h1 { font-size:clamp(24px,7.1vw,29px); }
    .yam-live main .entity-actions { margin-block-start:14px; gap:9px 16px; }
    .yam-live main .entity-sections a { padding:8px; }
}
.yam-live main .yam-review-verified {
    display:inline-flex; margin-inline-start:7px; padding:3px 8px;
    color:#125678; background:#e9f5fc; border:1px solid #c8e3f1;
    border-radius:5px; font-size:11px; font-weight:650;
}

/* Homepage planning and discovery */
.yam-live main .yam-coast-home .yam-coast-grid { grid-template-columns:minmax(0,2.75fr) minmax(255px,1fr); gap:12px; }
.yam-live main .yam-coast-home .yam-motion-hero { min-height:365px; border-radius:21px; background-position:center 57%; }
.yam-coast-home .yam-motion-hero::before { background:linear-gradient(270deg,#041e32f7,#08293ebd 46%,#082e4933 83%),linear-gradient(0deg,#061e3269,transparent 52%); }
.yam-live main .yam-coast-home .yam-motion-hero h1 { max-width:17ch; font-size:clamp(37px,5vw,68px); letter-spacing:-.04em; }
.yam-live main .yam-coast-home .yam-coast-tools { background:#f4f9fd; border-color:#d8e6ee; border-radius:21px; padding:16px; }
.yam-live main .yam-coast-home .yam-coast-tools h2 { font-size:19px; }
.yam-live main .yam-coast-home .yam-coast-tools nav>a { min-height:49px; background:#fff; border-color:#e0ebf2; }
.yam-live main .yam-coast-home .yam-coast-tools nav>a:hover { border-color:#77aec8; background:#eaf7ff; }
.yam-coast-home .home-coast-directory,.yam-coast-home .home-reading,.yam-coast-home .home-next-grid { margin-block:clamp(24px,3.6vw,43px); }
.yam-live main .yam-coast-home :is(.home-coast-directory,.home-reading,.home-next-grid) h2 { margin:0; color:#0d3a57; font-size:clamp(20px,2.5vw,27px); }
.home-region-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:8px; }
.home-region {
    display:flex; align-items:start; justify-content:space-between; gap:6px; min-height:94px; padding:14px;
    background:radial-gradient(ellipse at bottom left,#73c6e63b,transparent 74%),var(--region-bg,#eaf6fc);
    color:#133f59; border:1px solid #bed7e4; border-radius:11px; text-decoration:none;
}
.home-region strong,.home-region small { display:block; }
.home-region strong { font-size:16px; margin-block-end:5px; }
.home-region small { font-size:12px; line-height:1.45; }
.home-region b { font-size:15px; }
.home-region-center { --region-bg:#e3f3fa; }
.home-region-south { --region-bg:#f8f2e7; }
.home-region-lake { --region-bg:#e0f2f7; }
.home-region-salt { --region-bg:#f4edf9; }
.home-region-reef { --region-bg:#dff2fb; }
.home-region:hover,.home-region:focus-visible { border-color:#387d9b; box-shadow:0 4px 12px #0c46641a; }
.home-next-grid { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:12px; }
.home-agenda,.home-experts { min-width:0; padding:clamp(15px,2.8vw,26px); border:1px solid #d2e5ef; border-radius:14px; }
.home-agenda { background:#eff7fc; }
.home-experts { background:#fff; }
.home-agenda-header { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:7px 14px; }
.home-agenda-list { list-style:none; padding:0; margin:10px 0 0; }
.home-agenda-list a { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:12px; border-block-start:1px solid #cee1ec; padding:10px 5px; color:#143b56; }
.home-agenda-list a:hover { background:#fff; }
.home-agenda-list time { padding:6px 8px; border-radius:8px; background:#fff; text-align:center; color:#175c7f; font-weight:700; font-variant-numeric:tabular-nums; }
.home-agenda-list small { display:block; font-size:12px; color:#3b6278; }
.home-agenda-empty p,.home-experts p { color:#325972; font-size:14px; margin:12px 0; }
.home-experts nav { display:flex; flex-wrap:wrap; gap:7px; }
.home-experts nav a { padding:8px 12px; border:1px solid #b7d9eb; border-radius:8px; background:#f1f8fc; color:#154b69; }
.home-experts nav a:hover { border-color:#377c9e; background:#e0f1fa; }
.home-reading-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.home-reading-grid a { display:flex; flex-direction:column; align-items:start; padding:clamp(15px,2.4vw,24px); border:1px solid #cfe2ed; border-radius:14px; color:#103952; background:#f4f9fc; }
.home-reading-grid a:hover,.home-reading-grid a:focus-visible { border-color:#508eb0; box-shadow:0 6px 16px #123e5a14; }
.home-reading-grid .home-reading-beach { background:linear-gradient(132deg,#e5f4fc,#f4f9fc); }
.home-reading-grid .home-reading-family { background:linear-gradient(132deg,#f8f1e4,#fffdf9); }
.home-reading-grid a>span { color:#216285; font-size:12px; font-weight:700; }
.home-reading-grid h3 { margin:6px 0; font-size:clamp(17px,2vw,22px); line-height:1.33; }
.home-reading-grid p { margin:0 0 7px; color:#31576d; font-size:13px; line-height:1.55; }
.home-reading-grid b { margin-block-start:auto; margin-inline-start:auto; color:#1a6185; }
@media (max-width:1020px) {
    .home-region-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:760px) {
    .yam-live main .yam-coast-home .yam-coast-grid { grid-template-columns:minmax(0,1fr); }
    .yam-live main .yam-coast-home .yam-motion-hero { min-height:320px; }
    .yam-live main .yam-coast-home .yam-coast-tools nav { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .home-next-grid,.home-reading-grid { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:440px) {
    .home-region-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .home-region { min-height:76px; padding:11px; }
}

/* Compact reference cards and the encyclopedia search. */
.yam-live .knowledge-search { display:block; padding:15px 17px; }
.yam-live .knowledge-search form { display:grid; width:100%; gap:6px; margin:0; }
.yam-live .knowledge-search form label { font-weight:700; color:#133f59; font-size:14px; }
.knowledge-search-fields { display:flex; flex-wrap:wrap; gap:7px; }
.knowledge-search-fields input { flex:1 1 180px; min-width:0; }
.yam-live .knowledge-card { min-height:0; padding:16px; border-block-start:3px solid var(--knowledge-accent,#377a9c); }
.knowledge-card-animals { --knowledge-accent:#247597; }
.knowledge-card-habitats { --knowledge-accent:#457569; }
.knowledge-card-science,.knowledge-card-concepts { --knowledge-accent:#645788; }
.knowledge-card-coasts { --knowledge-accent:#a47741; }
.yam-live .knowledge-card h3 { margin-block:7px 1px; }
.knowledge-card-subtitle { display:block; unicode-bidi:isolate; align-self:start; font-size:12px; color:#335a72; }
.yam-live .knowledge-card p { min-height:0; margin-block:7px 12px; }
.yam-library-detail { border-block-start:1px solid #cfe1eb; margin-block-start:25px; padding-block-start:8px; }
.yam-library-detail .yam-guide-next { display:flex; flex-wrap:wrap; gap:8px; }
.yam-library-detail .yam-guide-next a { padding:7px 10px; border:1px solid #c8dfe9; border-radius:7px; background:#f4f9fc; }

.yam-live main .yam-coast-home .yam-motion-hero .yam-coast-copy { padding-block:25px 42px; }
.yam-live main .yam-coast-home .yam-motion-hero h1 { font-size:clamp(35px,4.3vw,59px); margin-block:10px; }
.yam-reference-detail .knowledge-title { padding-block:14px 19px; margin-block:0 16px; }
.yam-live .yam-reference-detail .knowledge-title h1 { margin:0; font-size:clamp(28px,4.2vw,45px); }
.yam-reference-detail .knowledge-subtitle { margin-block:5px 0; text-align:start; }
.yam-reference-detail .knowledge-source h2 { margin:0 0 10px; font-size:18px; }
.yam-reference-detail .knowledge-source .outline { display:inline-block; margin-block-end:8px; }
.yam-reference-detail .yam-library-detail { border:0; margin:0; padding:0; }
.yam-reference-detail .yam-library-detail h2 { font-size:clamp(19px,2.25vw,25px); margin:20px 0 6px; }
.yam-reference-detail .home-reading { margin-block:30px; }
.yam-beach-facts { margin-block:20px; padding:16px; background:#f0f7fc; border:1px solid #cbdfeb; border-radius:12px; }
.yam-beach-facts h2 { margin:0 0 8px; font-size:19px; color:#133f59; }
.yam-beach-facts dl { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr)); gap:8px; margin:0 0 11px; }
.yam-beach-facts dl>div { border:1px solid #d9e8f1; padding:9px; border-radius:8px; background:#fff; }
.yam-beach-facts dt { font-weight:700; color:#123e59; }
.yam-beach-facts dd { margin:3px 0 0; color:#315a72; font-size:13px; }
.yam-beach-facts p.directory-note { margin:7px 0 0; }

/* Homepage conditions selector and four readings */
.yam-live .yam-coast-home .ymb.ymb-compact { padding:clamp(13px,2vw,22px); background:linear-gradient(145deg,#f0f8fe,#fff 73%); }
.ymb-home-heading { display:flex; flex-wrap:wrap; align-items:center; gap:9px 19px; margin-block-end:12px; }
.yam-live .ymb-home-heading h2 { color:#113d5d; font-size:clamp(21px,2.8vw,29px); line-height:1.16; margin:0; }
.ymb-home-location { display:flex; align-items:center; flex-wrap:wrap; gap:6px 12px; }
.ymb-home-location form { display:flex; align-items:center; flex-wrap:wrap; gap:7px; margin:0; }
.yam-live .ymb-home-location label { color:#204e6a; font-size:13px; }
.yam-live .ymb-home-location select { min-width:122px; min-height:40px; padding:5px 11px; color:#143e61; border-color:#9bbdce; background-color:#fff; }
.ymb-home-location select:focus-visible { outline:2px solid #1b71a0; outline-offset:2px; }
.ymb-home-location>span { font-size:12px; color:#365e77; font-weight:650; }
.ymb-home-location>span:not(:empty)::before { content:''; display:inline-block; width:6px; height:6px; margin-inline-end:5px; border-radius:100%; background:#1f79a5; vertical-align:middle; }
.ymb-compact .ymb-coastal-readings { grid-template-columns:minmax(0,1.22fr) repeat(3,minmax(0,1fr)); gap:7px; border:0; border-radius:0; overflow:visible; background:none; }
.ymb-compact .ymb-coastal-readings>div { display:block; padding:clamp(10px,1.5vw,17px); border:1px solid #cfe3ef; border-radius:12px; background:#edf7fe; min-width:0; }
.ymb-compact .ymb-coastal-readings>.ymb-coastal-gust { background:#f4f1fa; border-color:#dfd8ee; }
.ymb-compact .ymb-coastal-readings>.ymb-coastal-water { background:#eef8f8; border-color:#cee5e9; }
.ymb-compact .ymb-coastal-readings>.ymb-coastal-wave { background:repeating-radial-gradient(ellipse at 8% 140%,transparent 0 13px,#8fe5ff24 14px 15px,transparent 16px 24px),linear-gradient(135deg,#103351,#0c6081); border-color:#154e6a; }
.ymb-compact .ymb-coastal-readings dt { font-size:clamp(12px,1.35vw,15px); }
.ymb-compact .ymb-coastal-readings dd:first-of-type { margin-block:6px 5px; }
.ymb-compact .ymb-coastal-readings dd strong { font-size:clamp(25px,3.4vw,42px); }
.ymb-compact .ymb-coastal-readings dd:first-of-type>span:not([hidden]) { font-weight:650; }
.ymb-compact .ymb-wind-caption { display:flex; align-items:center; flex-wrap:wrap; gap:4px 7px; }
.ymb-compact .ymb-wind-caption .ymb-direction { background:#fff; border:1px solid #cce0eb; border-radius:7px; padding:2px 4px; font-size:12px; }
.ymb-compact .ymb-coastal-wind .ymb-arrow { width:20px; height:20px; }
.yam-live main .ymb.ymb-compact .ymb-status { padding:3px 0; border:0; background:transparent; }
@media(max-width:690px) {
    .ymb-home-heading { display:grid; }
    .ymb-compact .ymb-coastal-readings { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .ymb-compact .ymb-coastal-readings>.ymb-coastal-wave,.ymb-compact .ymb-coastal-readings>.ymb-coastal-water { grid-column:auto; }
    .ymb-compact .ymb-coastal-water dd:first-of-type { margin-block:6px 5px; }
}
.ymb-home-overview { position:relative; }
.ymb-overview-link { position:absolute; inset:0; border-radius:12px; }
.ymb-overview-link:focus-visible,.ymb-overview-link:hover { outline:2px solid #2681af; outline-offset:3px; }
.ymb-hourly-dialog { width:min(880px,calc(100% - 24px)); max-height:calc(100dvh - 32px); box-sizing:border-box; padding:clamp(14px,3vw,24px); border:1px solid #bed9e9; border-radius:16px; background:#fbfdff; color:#143d58; box-shadow:0 20px 70px #0b223a70; overflow:auto; }
.ymb-hourly-dialog::backdrop { background:#061f34b8; }
.ymb-hourly-dialog header,.ymb-hourly-dialog footer,.ymb-dialog-context { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px 14px; }
.ymb-hourly-dialog header h2 { font-size:clamp(22px,3vw,29px); color:#103d5d; margin:0; }
.ymb-hourly-dialog header p { margin:2px 0 0; color:#3a6078; font-size:14px; }
.ymb-hourly-dialog header button { min-width:40px; min-height:40px; padding:4px 8px; line-height:1; font-size:25px; }
.ymb-dialog-context { margin-block:12px; padding:10px 12px; background:#e9f5fc; border-radius:10px; }
.ymb-dialog-context strong,.ymb-dialog-context span { display:block; }
.ymb-dialog-context span,.ymb-dialog-context label { font-size:13px; }
.ymb-dialog-context label { display:flex; align-items:center; gap:6px; }
.ymb-dialog-hours { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(132px,100%),1fr)); gap:6px; }
.ymb-dialog-hours article { display:grid; grid-template-columns:1fr auto; align-items:center; gap:3px 6px; border:1px solid #d4e6ef; border-radius:9px; padding:8px; background:#fff; }
.ymb-dialog-hours article time { grid-column:1/-1; font-size:13px; font-weight:700; color:#43687e; }
.ymb-dialog-hours article strong { font-size:14px; }
.ymb-dialog-hours article small { grid-column:1/-1; font-size:11px; color:#466a80; }
.ymb-dialog-hours article .ymb-arrow { width:18px; height:18px; }
.ymb-hourly-dialog footer { border-block-start:1px solid #d5e6f1; margin:13px 0 0!important; padding:12px 0 0!important; background:none!important; }
.ymb-hourly-dialog footer small { font-size:11px; }
@media(max-width:460px) {
    .ymb-hourly-dialog { max-height:calc(100dvh - 20px); }
    .ymb-dialog-hours { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
.yam-registry-rows,.yam-registry-nearby ul { list-style:none; padding:0; margin:8px 0 13px; }
.yam-registry-rows li { display:flex; align-items:center; flex-wrap:wrap; gap:4px 12px; padding:8px 5px; border-block-end:1px solid #d3e6f0; color:#244e69; font-size:13px; }
.yam-registry-profile summary { cursor:pointer; font-weight:700; font-size:14px; }
.yam-registry-profile .actions { margin-block-start:11px; }
.yam-registry-nearby h2 { font-size:20px; }
.yam-registry-nearby li a { display:flex; justify-content:space-between; flex-wrap:wrap; gap:5px 12px; padding:9px 11px; border-block-end:1px solid #d7e7f0; color:#164c6a; }
.yam-registry-nearby li a:hover { background:#eaf6fc; }
.yam-registry-nearby small { color:#3f6176; }
.ymb-hourly-dialog footer { border-block-start:0; border-block-end:1px solid #d5e6f1; margin:0 0 12px!important; padding:0 0 10px!important; }
