/* Beach Guides public surfaces */
.yam-live {
    --yam-navy:#082b3d;
    --yam-blue:#086f8a;
    --yam-sky:#a8eee8;
    --yam-wash:#edf6f5;
    --yam-line:#cbdee2;
    --yam-paper:#f5f8f7;
    --yam-sand:#f5c881;
    --yam-radius:16px;
}
body.yam-live:not(.yam-console) { background:var(--yam-paper); color:var(--yam-navy); }
.yam-live :is(a,button,input,select,textarea,summary):focus-visible { outline:2px solid #167eae; outline-offset:3px; }
.yam-live :is(h1,h2,h3) { text-wrap:balance; }
.yam-live main :is(p,dd,li) { overflow-wrap:anywhere; }
.yam-live main [id] { scroll-margin-block-start:96px; }
.yam-live:not(.yam-console)>.site-header { border-block-end-color:#c9dce1; background:#fbfdfd; box-shadow:0 4px 18px #0734480c; }
.yam-live:not(.yam-console) .site-header .header { min-height:68px; }
.yam-live .site-header #main-nav>a { font-weight:720; }
.yam-live .site-header #main-nav>a[aria-current] { color:#086a75; border-block-end-color:#078189; }
.yam-live .site-header .site-search>summary { background:#f2f8fc; border-radius:10px; }
.yam-live .site-header .header-account { background:#0a4055; color:#fff; border-color:#0a4055; border-radius:9px; }
.yam-live .site-header .header-account:hover { background:#165275; color:white; }
.yam-live:not(.yam-console)>.site-footer { border-block-start-color:#4db3af; background:radial-gradient(ellipse at 8% -15%,#147279,transparent 58%),#072b3d!important; }
.yam-live .site-footer-columns section>h2 { padding-block-end:7px; border-block-end:1px solid #8bbdd53b; color:#eff9ff; }
.yam-live .site-footer .footer-business { background:#ffffff0e; border-radius:10px; }
.yam-live .site-footer-friends { gap:8px 20px; }
.yam-live .site-footer-friends>a { padding:7px 10px; border-radius:7px; background:#ffffff0d; }

/* Shared titles, actions and forms */
.yam-live:not(.yam-console) main .portal-masthead-compact {
    background:linear-gradient(270deg,#fff 10%,#edf7f6 66%,#dceeedac),repeating-radial-gradient(ellipse at 3% 110%,#b6d8d9 0 1px,#dceeed 2px 14px)!important;
    border-color:var(--yam-line)!important;
}
.yam-live:not(.yam-console) main .portal-masthead-compact .portal-masthead-grid { padding-block:12px 21px; }
.yam-live:not(.yam-console) main .portal-masthead-compact h1 { color:var(--yam-navy); font-weight:790; letter-spacing:-.035em; }
.yam-live:not(.yam-console) main .portal-masthead-compact .portal-masthead-grid p { color:#375c73; }
.yam-live:is(.yam-page-explore,.yam-page-beaches,.yam-page-trips) main .portal-masthead-compact {
    background:linear-gradient(270deg,#f9fdfc 10%,#ecf7f5 62%,#dceeed22 100%),
        url('assets/yam-coast-editorial.webp') left 48%/min(62%,850px) auto no-repeat,#f9fdfc!important;
}
.yam-live:not(.yam-console) main .yam-section-nav a[aria-current] { color:#0a507b; background:#dceff9; border-color:#a6cada; border-radius:8px; }
.yam-live:not(.yam-console) main :is(.primary,.outline,.woocommerce a.button,.woocommerce button.button) { border-radius:10px; font-weight:720; }
.yam-live:not(.yam-console) main :is(.entity-actions,.entity-booking,.portal-page,.yam-lesson-finder) .primary {
    background:#086c82; border-color:#086c82; color:#fff;
}
.yam-live:not(.yam-console) main :is(.entity-actions,.entity-booking,.portal-page,.yam-lesson-finder) .primary:hover { background:#07546a; border-color:#07546a; }
.yam-live:not(.yam-console) main :is(.primary,.outline):not(.yam-motion-toggle) { min-height:40px; }
.yam-live:not(.yam-console) main :is(.primary,.outline):focus-visible { outline-offset:3px; }
.yam-live:not(.yam-console) main .primary:hover { box-shadow:0 6px 14px #07538022; }
.yam-live:not(.yam-console) main :is(.yam-filter,.yam-form,.yam-account-form,.portal-detail-aside,.entity-booking) {
    border-color:var(--yam-line); border-radius:var(--yam-radius);
}
.yam-live:not(.yam-console) main :is(.yam-filter,.yam-form,.yam-account-form) :is(select,input:not([type=checkbox],[type=radio],[type=hidden]),textarea) {
    border-color:#b9cfdd; border-radius:8px; font-size:16px; color:#163e59;
}
.yam-live:not(.yam-console) main :is(.yam-filter,.yam-form,.yam-account-form) :is(select,input,textarea):focus { border-color:#2b81ac; background:#fff; }
.yam-live:not(.yam-console) main :is(.yam-card,.knowledge-card,.portal-calendar,.entity-surface,.yam-product-card,.products li.product,.yam-food-card) {
    border-radius:var(--yam-radius); border-color:var(--yam-line);
}
.yam-live:not(.yam-console) main :is(.yam-card,.knowledge-card,.yam-product-card,.products li.product,.yam-food-card):hover {
    border-color:#89b9d2; box-shadow:0 8px 24px #103c5814;
}
.yam-live:not(.yam-console) main :is(.entity-hero,.portal-detail-aside,.entity-surface,.portal-calendar,.yam-register) { box-shadow:0 6px 20px #153e550b; }
.yam-live:not(.yam-console) main :is(.entity-surface,.portal-detail-aside,.portal-calendar) { background:#fff; border-color:var(--yam-line); }
.yam-live:not(.yam-console) main .entity-booking { border-block-start-color:#088393; }
.yam-live:not(.yam-console) main .entity-booking-head { background:linear-gradient(112deg,#e3f2ef,#f4faf8); }
.yam-live.single-product main .product_title { color:var(--yam-navy); }
.yam-live.single-product main .yam-product-inquiry>summary { border-radius:9px; }
.yam-live:not(.yam-console) main :is(.entity-reading,.portal-reading) p { color:#2b4b60; }
.yam-live:not(.yam-console) main :is(.entity-reading,.portal-reading) h2 { color:#0b3653; }
.yam-live main .yam-register { border:1px solid var(--yam-line); border-radius:18px; background:#fff; }
.yam-live main .yam-register .leaflet-container { border-radius:12px; }
.yam-live main .portal-day[aria-pressed=true] { background:#dbeffd; color:#0b3b5c; }
.yam-live main #bbpress-forums :is(.bbp-forums,.bbp-topics,.bbp-replies) { background:white; border-color:var(--yam-line); }
.yam-live main #bbpress-forums :is(.bbp-header,.bbp-footer) { background:#e4f2fa; color:#123a56; }

/* Full-width photograph and a planning panel over the coastline */
.yam-live main .yam-coast-home .yam-coast-grid {
    grid-template-columns:minmax(0,1fr) minmax(250px,.40fr);
    gap:0; align-items:center; padding-block-start:clamp(12px,2.2vw,26px);
}
.yam-live main .yam-coast-home .yam-motion-hero {
    grid-column:1/-1; grid-row:1; align-self:stretch; min-height:418px;
    border-radius:19px; background-image:url('assets/yam-coast-editorial.webp'); background-position:center 50%;
}
.yam-coast-home .yam-motion-hero::before {
    background:linear-gradient(270deg,#052735eb 2%,#06394bcf 32%,#06394822 72%,#092f425c),
        linear-gradient(0deg,#0627388a,transparent 56%);
}
.yam-live main .yam-coast-home .yam-motion-hero .yam-coast-copy {
    width:72%; padding:clamp(26px,4vw,56px) clamp(20px,4.6vw,62px) 46px;
}
.yam-live main .yam-coast-home .yam-motion-hero .yam-coast-label {
    color:#d7f2ff; border-color:#afddf84f; background:#082f4c80;
}
.yam-live main .yam-coast-home .yam-motion-hero h1 { font-size:clamp(38px,5vw,72px); margin:13px 0 9px; max-width:15ch; }
.yam-live main .yam-coast-home .yam-motion-hero h1 span { display:block; color:var(--yam-sky); }
.yam-live main .yam-coast-home .yam-motion-hero p { font-size:clamp(14px,1.45vw,17px); line-height:1.55; }
.yam-coast-actions { gap:8px 15px; }
.yam-live main .yam-coast-home .yam-motion-hero .yam-coast-actions .primary {
    color:#133747!important; background:var(--yam-sand)!important; border-color:var(--yam-sand)!important;
}
.yam-live main .yam-coast-home .yam-motion-hero .yam-coast-actions .primary:hover {
    background:#ffdb9e!important; border-color:#ffdb9e!important;
}
.yam-coast-home .yam-coast-actions .yam-coast-map-link { display:inline-flex; align-items:center; min-height:40px; padding:6px 12px; color:#fff; border:1px solid #bde8ff62; border-radius:9px; text-decoration:none; }
.yam-coast-home .yam-coast-actions .yam-coast-map-link:hover { background:#ffffff22; }
.yam-coast-home .yam-coast-shortcuts { margin-block-start:13px; }
.yam-coast-home .yam-motion-toggle { inset-inline-end:auto; inset-inline-start:16px; }
.yam-live main .yam-coast-home .yam-coast-tools {
    grid-column:2; grid-row:1; z-index:1; margin:14px clamp(12px,2vw,28px) 14px 0;
    margin-inline-start:0; margin-inline-end:clamp(12px,2vw,28px); padding:14px; min-width:0;
    border-radius:14px; background:#072e41eb; border:1px solid #bce8e348; box-shadow:0 12px 28px #031d33a0;
}
.yam-live main .yam-coast-home .yam-coast-tools-title { padding:0 4px 4px; }
.yam-live main .yam-coast-home .yam-coast-tools-title h2 { color:#effbf9; }
.yam-live main .yam-coast-home .yam-coast-tools nav { gap:3px; }
.yam-live main .yam-coast-home .yam-coast-tools nav>a { padding:7px 6px; min-height:44px; border-color:#bbdce222; background:#ffffff09; color:#e7fafb; box-shadow:none; }
.yam-live main .yam-coast-home .yam-coast-tools nav>a :is(strong,small) { color:inherit; }
.yam-live main .yam-coast-home .yam-coast-tools nav>a small { opacity:.82; }
.yam-live main .yam-coast-home .yam-coast-tools nav>a .yam-coast-icon { color:#a3e5e0; background:#a3e5e017; }
.yam-live main .yam-coast-home .yam-coast-tools nav>a>span:last-child { color:#a8e9e5; }
.yam-live main .yam-coast-home .yam-coast-tools nav>a:hover { background:#ffffff1b; border-color:#b6ecea77; }
.yam-live main .yam-coast-home .ymb.ymb-compact { margin-block:15px 12px; border-color:#bfd8e8; box-shadow:0 8px 22px #0e426017; }
.yam-live main .yam-coast-home .yam-lesson-finder { border-radius:15px; background:#fff; border-color:#c8deeb; }
.yam-live main .yam-coast-home .home-region-grid { gap:8px; }
.yam-live main .yam-coast-home .home-region { border-radius:12px; box-shadow:inset 0 -4px #0a62900c; }
.yam-live main .yam-coast-home .home-region:hover { transform:translateY(-2px); }
.yam-live main .yam-coast-home .yam-activity-tile { border-radius:13px; box-shadow:0 6px 18px #0e395420; }
.yam-live main .yam-coast-home .home-next-grid .home-agenda { background:linear-gradient(128deg,#e1f0ed,#f8fbfa); }
.yam-live main .yam-coast-home .front-newsletter { background:linear-gradient(130deg,#082f43,#0c646e); border-radius:18px; }
.yam-live main .yam-coast-home .home-reading-grid>a.home-reading-beach {
    background:linear-gradient(0deg,#072b3e 0%,#0a3549d9 32%,#1246541a 100%),url('assets/yam-coast-editorial.webp') center 58%/cover;
    color:#fff;
}
.yam-live main .yam-coast-home .home-reading-grid>a.home-reading-beach :is(h3,p,span,b) { color:#fff; }

/* The destination hub and beach pages */
.yam-page-explore .portal-page-content>nav { padding:12px; background:#e5f3fb; border:1px solid #c4deed; border-radius:14px; }
.yam-page-explore .portal-page-content>nav ul { list-style:none; display:flex; flex-wrap:wrap; gap:6px; margin:0; padding:0; }
.yam-page-explore .portal-page-content>nav a { display:block; padding:8px 11px; border-radius:7px; background:#fff; color:#134e70; font-weight:700; }
.yam-page-explore .portal-page-content>.yam-library-detail { border:0; border-inline-start:4px solid #2c85a6; background:#fff; padding:15px 17px; border-radius:12px; }
.yam-page-explore .portal-page-content>.yam-library-detail h2 { margin:0 0 10px; font-size:clamp(19px,2.5vw,25px); color:#0d3854; }
.yam-page-explore .portal-page-content>.yam-library-detail ul { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr)); gap:7px; padding:0; margin:0; list-style:none; }
.yam-page-explore .portal-page-content>.yam-library-detail li a { display:block; height:100%; padding:10px 11px; background:#edf7fd; border:1px solid #d2e5f0; border-radius:8px; color:#144f70; }
.yam-page-explore .portal-page-content>.yam-library-detail li a:hover { background:#dceff9; border-color:#8ebad0; }
.yam-beach-page { padding-block:18px 35px; }
.yam-beach-breadcrumb { display:flex; flex-wrap:wrap; gap:6px; margin:0 0 10px; color:#527185; font-size:13px; }
.yam-beach-heading { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px 20px; padding:clamp(12px,2.1vw,22px); border:1px solid #c9e0ed; border-radius:16px; background:radial-gradient(ellipse at left bottom,#c9eafa,transparent 63%),#fff; }
.yam-beach-heading>div { flex:1 1 300px; min-width:0; }
.yam-beach-context { display:flex; flex-wrap:wrap; gap:5px; }
.yam-beach-context span { padding:3px 8px; border-radius:6px; background:#dceffa; color:#195777; font-size:12px; font-weight:700; }
.yam-beach-heading h1 { color:#0b3655; font-size:clamp(23px,3.3vw,34px); line-height:1.2; margin:6px 0 0; }
.yam-beach-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(210px,.35fr); align-items:start; gap:clamp(12px,2.6vw,29px); margin-block-start:18px; }
.yam-beach-reading { min-width:0; background:#fff; border:1px solid #d7e7f0; padding:clamp(15px,3vw,29px); border-radius:14px; }
.yam-beach-reading>p:first-child { margin-block-start:0; }
.yam-beach-sidebar { position:sticky; inset-block-start:105px; padding:15px; background:#eaf5fc; border:1px solid #c9e0ee; border-radius:14px; }
.yam-beach-sidebar h2 { margin:0 0 5px; font-size:20px; color:#103d5b; }
.yam-beach-sidebar p { margin:0 0 8px; color:#325f77; font-size:13px; }
.yam-beach-sidebar ul { list-style:none; padding:0; margin:0; display:grid; gap:5px; }
.yam-beach-sidebar li a { display:flex; justify-content:space-between; gap:8px; padding:8px 9px; border:1px solid #cde2ef; border-radius:8px; background:#fff; color:#174f70; font-size:13px; font-weight:700; }
.yam-beach-sidebar li a:hover { border-color:#79b0ce; background:#eff9ff; }
@media(max-width:850px) {
    .yam-live main .yam-coast-home .yam-coast-grid { grid-template-columns:minmax(0,1fr); gap:8px; }
    .yam-live main .yam-coast-home .yam-motion-hero { min-height:320px; }
    .yam-live main .yam-coast-home .yam-motion-hero .yam-coast-copy { width:100%; max-width:570px; }
    .yam-live main .yam-coast-home .yam-coast-tools { grid-column:1; grid-row:2; margin:0; box-shadow:none; }
    .yam-live main .yam-coast-home .yam-coast-tools nav { grid-template-columns:repeat(3,minmax(0,1fr)); }
    .yam-live main .yam-coast-home .yam-coast-tools nav>a:last-child { grid-column:auto; }
}
@media(max-width:630px) {
    .yam-live main .yam-coast-home .yam-coast-tools nav { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .yam-live main .yam-coast-home .yam-coast-tools nav>a:last-child { grid-column:1/-1; }
    .yam-live main .yam-coast-home .yam-coast-tools nav>a small { display:none; }
    .yam-live main .yam-coast-home .yam-motion-hero { border-radius:16px; min-height:320px; }
    .yam-beach-layout { grid-template-columns:minmax(0,1fr); }
    .yam-beach-sidebar { position:static; }
}
@media(prefers-reduced-motion:reduce) {
    .yam-live main :is(a,button,.yam-card,.knowledge-card) { transition:none!important; }
    .yam-live main :is(a,button,.yam-card,.knowledge-card):hover { transform:none!important; }
}

/* The homepage outlook keeps the place picker, readings and details in one panel. */
.yam-live main .yam-coast-home #coastal-outlook {
    --outlook-border:#cee1ed;
    padding:0;
    border:1px solid var(--outlook-border);
    border-radius:16px;
    background:#fff;
    box-shadow:0 5px 18px #143f5310;
}
#coastal-outlook .ymb-home-heading {
    display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap;
    gap:10px 24px; margin:0; padding:14px 20px;
    border:0; border-block-end:1px solid var(--outlook-border);
    border-radius:15px 15px 0 0;
    background:linear-gradient(105deg,#edf8ff,#f8fbfe 65%,#fff);
}
#coastal-outlook .ymb-home-title { display:flex; align-items:center; gap:11px; }
#coastal-outlook .ymb-home-title svg { flex:none; width:38px; height:38px; padding:6px; box-sizing:border-box; border-radius:10px; color:#0a638e; background:#e0f2fc; }
#coastal-outlook .ymb-home-title h2 { margin:0; font-size:clamp(19px,2vw,25px); color:#133d58; }
#coastal-outlook .ymb-home-location { display:flex; align-items:center; gap:5px 10px; }
#coastal-outlook .ymb-home-location form { display:flex; flex-wrap:nowrap; gap:8px; padding:0; border:0; background:none; box-shadow:none; }
#coastal-outlook .ymb-home-location label { margin:0; white-space:nowrap; font-weight:700; }
#coastal-outlook .ymb-home-location select { width:clamp(165px,19vw,230px); min-height:38px; margin:0; font-size:14px; }
#coastal-outlook .ymb-home-location>span:not(:empty) { padding:4px 8px; border-radius:5px; background:#e5f2fa; white-space:nowrap; }
#coastal-outlook .ymb-home-overview { margin:14px 20px 0; }
#coastal-outlook .ymb-coastal-readings {
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px; margin:0; background:none; border:0; overflow:visible;
}
#coastal-outlook .ymb-coastal-readings>div {
    display:block; position:relative; grid-column:auto; padding:12px 14px;
    border:1px solid var(--outlook-border); border-radius:11px;
    background:#f4f9fd; transition:border-color .16s,background-color .16s,box-shadow .16s;
}
#coastal-outlook .ymb-coastal-readings>.ymb-coastal-wave {
    border-color:#145d80;
    background:repeating-radial-gradient(ellipse at 0 158%,transparent 0 14px,#70ccf120 15px 16px,transparent 17px 24px),linear-gradient(145deg,#0b3658,#075873);
}
#coastal-outlook .ymb-coastal-readings>.ymb-coastal-gust { background:#eff2fb; border-color:#d8e1f3; }
#coastal-outlook .ymb-coastal-readings>.ymb-coastal-water { background:#edf7fa; border-color:#cee3ec; }
#coastal-outlook .ymb-tile-link { display:flex; justify-content:space-between; align-items:center; gap:4px; color:#15455f; text-decoration:none; }
#coastal-outlook .ymb-coastal-wave .ymb-tile-link { color:#f4fbff; }
#coastal-outlook .ymb-tile-link::after { content:""; position:absolute; inset:0; border-radius:inherit; }
#coastal-outlook .ymb-tile-arrow { flex:none; display:grid; place-items:center; width:22px; height:22px; border-radius:50%; color:#185473; background:#e1eef8; }
#coastal-outlook .ymb-coastal-wave .ymb-tile-arrow { color:#fff; background:#ffffff26; }
#coastal-outlook .ymb-tile-link:focus-visible { outline:none; }
#coastal-outlook .ymb-tile-link:focus-visible::after { outline:2px solid #1575aa; outline-offset:3px; border-radius:10px; }
@media(hover:hover) {
    #coastal-outlook .ymb-coastal-readings>div:hover { border-color:#4c9abe; box-shadow:0 5px 12px #134e6c25; }
    #coastal-outlook .ymb-coastal-readings>div:hover .ymb-tile-arrow { background:#136b95; color:white; }
}
#coastal-outlook .ymb-coastal-readings dt { font-size:13px; font-weight:730; }
#coastal-outlook .ymb-coastal-readings dd:first-of-type { margin:7px 0 4px; }
#coastal-outlook .ymb-coastal-readings dd strong { font-size:clamp(25px,3vw,36px); letter-spacing:-.035em; }
#coastal-outlook .ymb-coastal-readings dd small { font-size:11px; line-height:1.5; }
#coastal-outlook .ymb-home-footer { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 14px; padding:9px 20px 12px; }
#coastal-outlook .ymb-home-meta :is(.ymb-status,.ymb-home-credits) { margin:0; padding:0; font-size:11px; line-height:1.5; color:#416479; }
#coastal-outlook .ymb-home-credits a { color:#225672; text-decoration:underline; text-underline-offset:2px; }
#coastal-outlook .ymb-links { display:flex; align-items:center; gap:12px; margin:0; }
#coastal-outlook .ymb-warning-link { display:inline-flex; align-items:center; gap:4px; min-height:36px; color:#2f586f; font-size:12px; font-weight:650; }
#coastal-outlook .ymb-warning-link:hover { text-decoration:underline; text-underline-offset:3px; }
#coastal-outlook .ymb-links .primary { min-height:38px; padding:6px 13px; font-size:13px; }
#coastal-outlook .ymb-hourly-dialog header { border:0; border-block-end:1px solid var(--outlook-border); padding:0 0 8px; }
#coastal-outlook .ymb-hourly-dialog footer {
    border:0; border-block-start:1px solid var(--outlook-border);
    margin:10px 0 0!important; padding:10px 0 0!important; gap:6px 12px;
}
#coastal-outlook .ymb-hourly-dialog footer small { color:#416479; }
#coastal-outlook .ymb-dialog-context label { white-space:nowrap; }
#coastal-outlook .ymb-dialog-context label select { min-width:0; }
#coastal-outlook .ymb-hourly-dialog [hidden] { display:none!important; }
#coastal-outlook .ymb-dialog-source-note { margin:8px 0 0; color:#436479; font-size:12px; }
#coastal-outlook .ymb-dialog-peak { margin-block:10px; padding:9px 12px; border-inline-start:3px solid #4d74aa; border-radius:7px; background:#edf3ff; color:#234766; font-size:13px; }
#coastal-outlook .ymb-dialog-hours>p { grid-column:1/-1; margin:0; padding:8px 10px; border-radius:6px; color:#2a546d; background:#edf6fc; font-size:13px; }
#coastal-outlook .ymb-dialog-marine { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr)); gap:8px; margin-block-start:12px; }
#coastal-outlook .ymb-dialog-marine article { display:grid; gap:4px; padding:12px; border:1px solid var(--outlook-border); border-radius:9px; background:#eff8fc; }
#coastal-outlook .ymb-dialog-marine article>span { font-size:13px; color:#345b70; }
#coastal-outlook .ymb-dialog-marine article>strong { font-size:23px; color:#104866; }
#coastal-outlook .ymb-dialog-marine article>small { font-size:12px; color:#345b70; }
@media(max-width:680px) {
    .yam-live:is(.yam-page-explore,.yam-page-beaches,.yam-page-trips) main .portal-masthead-compact {
        background:linear-gradient(270deg,#f9fdfc 25%,#e4f3ef 100%)!important;
    }
    #coastal-outlook .ymb-home-heading { padding:11px 12px; }
    #coastal-outlook .ymb-home-location { width:100%; }
    #coastal-outlook .ymb-home-location form { flex:1 1 190px; min-width:0; }
    #coastal-outlook .ymb-home-location select { width:auto; min-width:0; flex:1; font-size:16px; }
    #coastal-outlook .ymb-home-overview { margin:10px 12px 0; }
    #coastal-outlook .ymb-coastal-readings { grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
    #coastal-outlook .ymb-coastal-readings>div { padding:10px; }
    #coastal-outlook .ymb-home-footer { padding:8px 12px 12px; }
    #coastal-outlook .ymb-links { justify-content:space-between; width:100%; }
}

.yam-camera-page { padding-block:14px 36px; }
.yam-camera-heading { margin-block:14px 8px; }
.yam-camera-heading h1 { color:#0b3655; margin:0; font-size:clamp(24px,3.5vw,36px); }
.yam-camera-heading p { margin:5px 0; color:#3b6177; }
.yam-camera-player { display:block; width:min(100%,960px); aspect-ratio:16/9; margin-block:14px; border:0; border-radius:12px; background:#0b263d; }
.yam-camera-actions { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-block:12px 20px; }
.yam-camera-directory .yam-card h2 { font-size:clamp(17px,2vw,21px); margin-block:4px; }
.yam-camera-directory .yam-card h2 a:hover { text-decoration:underline; text-underline-offset:4px; }
.yam-camera-directory .yam-camera-region { font-size:12px; font-weight:700; color:#356582; margin:0; }

/* Public calendar controls and request links */
.yam-live main .portal-calendar .calendar-toolbar { background:linear-gradient(110deg,#0b5b69,#0c354d 70%); }
.yam-live main .portal-calendar .calendar-toolbar h2 { color:white; margin:0; }
.yam-live main .portal-calendar .yam-calendar-types { display:flex; flex-wrap:wrap; gap:5px 7px; padding:9px clamp(12px,2vw,20px); border-block-end:1px solid #d8e8eb; background:#f1f8f7; }
.yam-calendar-types a { border:1px solid transparent; border-radius:7px; padding:6px 9px; color:#225066; font-size:13px; font-weight:650; }
.yam-calendar-types a:hover,.yam-calendar-types a[aria-current] { border-color:#b9d9dc; background:#fff; color:#075667; }
.yam-live main .portal-calendar .portal-day[aria-current] { background:#d9eff0; border-color:#147a89; color:#123e55; }
.yam-live main .portal-calendar .calendar-side-bottom { background:#edf6f6; border-color:#c9e0e2; }
.yam-live main .portal-calendar .calendar-side-bottom h4 { color:#103f53; margin:0; }
.yam-live main .portal-calendar .yam-calendar-requests { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:5px; }
.yam-calendar-requests a { display:flex; justify-content:space-between; gap:5px; padding:7px 9px; border:1px solid #c4dce2; border-radius:7px; background:#fff; color:#174d64; font-size:13px; font-weight:650; }
.yam-calendar-requests a:hover { background:#e1f0f2; border-color:#85b5bc; }
.yam-calendar-requests a:last-child { grid-column:1/-1; }
.yam-live main .portal-calendar .calendar-list-empty { color:#31566a; padding:12px 14px; }

/* Interactive map results and place details */
.yam-live main .yam-register .yam-map-controls { display:flex; flex-wrap:wrap; gap:6px; }
.yam-live main .yam-register .yam-map-controls button { min-height:36px; padding:5px 10px; }
.yam-live main .yam-register .yam-map-controls [aria-pressed="true"] { color:#fff; background:#08677a; border-color:#08677a; }
.yam-register-sidebar { min-width:0; }
.yam-live main .yam-register .yam-map-selection { padding:13px; margin-block-end:10px; border:1px solid #b8d7dc; border-block-start:3px solid #167e8c; border-radius:12px; background:#f7fbfb; color:#123f53; }
.yam-map-selection-head { display:flex; align-items:start; justify-content:space-between; gap:7px; }
.yam-map-selection-head h3 { margin:0; font-size:clamp(18px,2vw,22px); line-height:1.3; }
.yam-map-selection-head h3:focus { outline:none; }
.yam-live main .yam-map-selection-head .outline { display:grid; place-items:center; flex:none; padding:0; width:34px; min-height:34px; font-size:20px; line-height:1; }
.yam-map-selection>p { margin:3px 0 6px; color:#426674; font-size:13px; }
.yam-map-selection a { font-weight:700; color:#086175; }
.yam-map-selection a:hover { text-decoration:underline; text-underline-offset:3px; }
.yam-map-selection .yam-map-dining { padding:9px; margin-block:10px 8px; border:1px solid #d3e5e8; border-radius:8px; background:#fff; }
.yam-map-selection .yam-map-dining ul { margin-block:5px; }
.yam-map-selection .yam-map-dining>label { display:flex; align-items:center; gap:6px; margin:5px 0; color:#30566a; font-size:12px; }
.yam-map-selection .yam-map-dining>label input { width:16px; height:16px; min-height:0; margin:0; accent-color:#08677a; }
.yam-map-selection .yam-map-dining li { display:grid; gap:1px; padding-block:3px; }
.yam-map-selection .yam-map-dining small { color:#456572; }
.yam-live main .yam-register [data-beach-results] button[aria-pressed="true"] { color:#075d6f; text-decoration:underline; text-underline-offset:3px; }
.yam-live main .yam-register .yam-map-no-results { padding:11px; color:#3c5f72; }
.yam-map-cluster { display:grid; place-items:center; border:2px solid #fff; border-radius:50%; background:#0d5971; box-shadow:0 2px 8px #12334d67; color:#fff; font:700 12px/1 Heebo,Arial,sans-serif; }
.yam-map-cluster:hover,.yam-map-cluster:focus-visible { background:#0c7283; outline:2px solid #0c7283; outline-offset:2px; }
@media(min-width:900px) {
    .yam-register .yam-register-canvas { position:sticky; inset-block-start:90px; align-self:start; min-width:0; }
}

/* Forum reports are secondary actions inside the discussion. */
.yam-forum-report { margin:8px 0; color:#2d5365; }
.yam-forum-report summary { width:fit-content; padding:4px 0; color:#2e6278; font-size:13px; font-weight:700; cursor:pointer; }
.yam-forum-report[open] summary { color:#0c6377; }
.yam-live main .yam-forum-report form { display:grid; gap:8px; max-width:420px; padding:10px 12px; margin-block-start:4px; border:1px solid #c5dfe4; border-radius:9px; background:#f5fafb; }
.yam-forum-report form label { display:grid; gap:4px; color:#1c4b60; font-size:13px; }
.yam-live main .yam-forum-report form :is(select,textarea) { width:100%; padding:7px 9px; border:1px solid #b9d1d9; border-radius:6px; background:#fff; color:#14384a; font-size:16px; }
.yam-live main .yam-forum-report form button { justify-self:start; padding:5px 11px; }
.yam-forum-report-feedback { padding:9px 12px; border-inline-start:3px solid #248392; background:#ecf7f6; color:#184b5d; }
.yam-map-overlap { display:grid; gap:4px; }
.yam-map-overlap button { border:1px solid #c5dce0; border-radius:6px; padding:5px 8px; color:#15485e; background:#f4fafb; text-align:start; }
.yam-map-overlap button:hover { background:#e1f0f1; }

/* Map categories, individual pins and nearby mode */
.yam-live main .yam-register .yam-map-categories { display:flex; flex-wrap:wrap; gap:5px; margin-block:8px; }
.yam-map-categories button { min-height:32px; padding:4px 11px; border:1px solid #c2dce1; border-radius:7px; background:#fff; color:#194a60; font-size:13px; font-weight:700; }
.yam-map-categories button:hover { background:#e5f3f5; }
.yam-map-categories button[aria-pressed="true"] { border-color:#0b6677; background:#0b6677; color:#fff; }
.yam-map-pin { --pin:#13677c; display:grid; place-items:center; border:2px solid #fff; border-radius:50%; background:var(--pin); color:white; box-shadow:0 2px 7px #0b273e70; }
.yam-map-pin svg { width:18px; height:18px; pointer-events:none; }
.yam-map-pin--beach { --pin:#086d77; }
.yam-map-pin--forecast { --pin:#245da3; }
.yam-map-pin--yam_camera { --pin:#674a96; }
.yam-map-pin--yam_food { --pin:#a1442d; }
.yam-map-pin--yam_trip { --pin:#685627; }
.yam-map-pin--activity { --pin:#346854; }
.yam-map-pin:is(:hover,:focus-visible,.is-hovered,.is-selected) { outline:2px solid var(--pin); outline-offset:2px; box-shadow:0 2px 8px #0b273e96; }
.yam-map-pin.is-selected { outline-width:3px; }
.yam-map-you { display:grid; place-items:center; border:2px solid #fff; border-radius:50%; background:#2276d6; box-shadow:0 0 0 5px #237ce146,0 1px 7px #163a6f88; }
.yam-map-you>span { width:7px; height:7px; border-radius:50%; background:white; }
.yam-live main .yam-map-near-settings { display:flex; align-items:center; flex-wrap:wrap; gap:6px 12px; padding:8px 11px; border:1px solid #bfdce5; border-radius:8px; background:#eef7fc; }
.yam-live main .yam-map-near-settings[hidden] { display:none; }
.yam-live main .yam-map-near-settings p { margin:0; color:#23576d; font-size:13px; font-weight:700; }
.yam-map-near-settings label { display:flex; align-items:center; gap:6px; font-size:13px; }
.yam-live main .yam-map-near-settings select { min-height:36px; margin:0; padding-block:3px; }
.yam-live main .yam-map-near-settings .outline { min-height:35px; padding:4px 8px; font-size:12px; }
.yam-live main .yam-register .yam-register-filters { display:grid; grid-template-columns:minmax(0,1.45fr) repeat(2,minmax(0,1fr)); }
.yam-live main .yam-register .yam-register-filters label { min-width:0; }
.yam-live main .yam-register .yam-register-filters :is(input,select) { width:100%; }
@media(max-width:620px) {
    .yam-live main .yam-register .yam-register-filters { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .yam-live main .yam-register .yam-register-filters label:first-child { grid-column:1/-1; }
    .yam-live main .yam-register .yam-register-filters :is(input,select) { font-size:16px; }
}

/* Place card actions and focused visit planning */
.yam-live main .yam-register .yam-map-selection { padding:0; border:1px solid #b6d5db; border-radius:13px; background:#fff; overflow:hidden; box-shadow:0 6px 18px #0c405216; }
.yam-map-selection .yam-map-selection-head { display:grid; grid-template-columns:38px minmax(0,1fr) auto; align-items:start; gap:8px; padding:12px; background:linear-gradient(105deg,#0c5a70,#103a52 82%); color:#fff; }
.yam-map-selection .yam-map-selection-head h3 { color:#fff; }
.yam-map-selection-head p { margin:3px 0 0; color:#dceef4; font-size:12px; line-height:1.5; }
.yam-map-place-symbol { display:grid; place-items:center; width:36px; height:36px; border:1px solid #c0e9f15c; border-radius:9px; background:var(--pin,#176780); }
.yam-map-place-symbol svg { width:21px; height:21px; }
.yam-live main .yam-map-selection-head .outline { min-height:34px; border-color:#8bbacb; background:#ffffff12; color:#fff; }
.yam-live main .yam-map-selection-head .outline:hover { background:#ffffff2a; }
.yam-map-place-actions { display:flex; flex-wrap:wrap; align-items:center; gap:5px; padding:10px 11px; }
.yam-live main .yam-map-place-actions :is(.primary,.outline) { min-height:35px; padding:5px 8px; font-size:12px; line-height:1.4; }
.yam-live main .yam-map-place-actions .primary { background:#08667d; border-color:#08667d; color:#fff; }
.yam-map-share-feedback:not(:empty) { margin:0 11px 8px; color:#2c5264; font-size:12px; }
.yam-map-share-feedback input { width:100%; min-width:0; }
.yam-map-place-views { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px; padding:4px; margin-inline:11px; border:1px solid #d2e5e8; border-radius:8px; background:#edf6f7; }
.yam-map-place-views button { min-height:35px; padding:4px; border:1px solid transparent; border-radius:6px; color:#28586d; background:none; font-size:13px; font-weight:700; }
.yam-map-place-views button[aria-pressed="true"] { border-color:#b5d4db; color:#064c60; background:#fff; box-shadow:0 1px 4px #16475a10; }
.yam-map-place-views button:hover { color:#064c60; }
.yam-map-place-pane { padding:10px 11px 11px; font-size:13px; }
.yam-map-place-pane[hidden] { display:none; }
.yam-map-place-pane .yam-map-dining { margin-block:0 8px; }
.yam-map-planner form { display:grid; gap:7px; }
.yam-map-planner label { display:grid; gap:3px; }
.yam-live main .yam-map-planner input[type=date] { min-height:40px; width:100%; padding:5px 9px; font-size:16px; border:1px solid #bfd9df; border-radius:7px; }
.yam-map-planner button { min-height:37px; padding:5px 9px; border:1px solid #08667d; border-radius:7px; background:#08667d; color:#fff; font-weight:700; }
.yam-map-planner .yam-map-trip-plan:not(:empty) { display:grid; gap:6px; padding:8px; background:#eff7fa; border:1px solid #cde2e9; border-radius:8px; }

.yam-live main .yam-lead-form .yam-lead-error { margin:8px 0; padding:8px 10px; border:1px solid #e1b4a8; border-inline-start:3px solid #aa4636; border-radius:7px; background:#fff3ef; color:#773629; font-size:13px; }
.yam-live main .yam-lead-form .yam-lead-error[hidden] { display:none; }
.yam-live main .yam-lead-form button[disabled] { opacity:.78; cursor:progress; }

.yam-live main .yam-register [data-beach-results] .yam-map-result { display:grid; grid-template-columns:28px minmax(0,1fr) auto; gap:7px; align-items:center; padding:8px 9px; }
.yam-map-result-icon { display:grid; place-items:center; width:26px; height:26px; border-radius:6px; background:var(--pin,#176780); color:#fff; }
.yam-map-result-icon svg { width:16px; height:16px; }
.yam-live main .yam-register [data-beach-results] .yam-map-result-link { display:grid; place-items:center; width:30px; min-height:34px; margin:0; border:1px solid #d3e7ec; border-radius:6px; background:#f3fafb; color:#0c5770; }
.yam-live main .yam-register [data-beach-results] .yam-map-result-link:hover { background:#e2f1f5; }
@media(max-width:420px) {
    .yam-map-place-actions:has(button) { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:stretch; }
    .yam-live main .yam-map-place-actions:has(button) :is(.primary,.outline) { display:grid; place-items:center; padding-inline:3px; text-align:center; }
}

/* Local guide card inside the map */
.yam-map-selection .yam-map-beach-cover { position:relative; min-height:91px; padding-block-end:24px; align-items:end; background:linear-gradient(122deg,#09596d,#103b54 78%); }
.yam-map-selection .yam-map-beach-cover[data-sea="med"] { background:linear-gradient(270deg,#06334be9 14%,#083850af 70%,#0d3d536e),url('assets/yam-coast-editorial.webp') center 64%/cover; }
.yam-map-selection .yam-map-beach-cover[data-sea="kinneret"] { background:linear-gradient(270deg,#0b364aeb 14%,#154b5aa3 68%,#1b3f5060),url('assets/yam-map-kinneret.webp') center 55%/cover; }
.yam-map-selection .yam-map-beach-cover[data-sea="red"] { background:linear-gradient(270deg,#092e44ed 14%,#114b62a3 66%,#244a5059),url('assets/yam-map-redsea.webp') center 56%/cover #174c62; }
.yam-map-selection .yam-map-beach-cover[data-sea="dead"] { background:linear-gradient(270deg,#21354bec 14%,#355062a3 66%,#594b5259),url('assets/yam-map-deadsea.webp') center 58%/cover #344b61; }
.yam-map-beach-cover .outline { align-self:start; }
.yam-map-cover-credit { position:absolute; inset-inline-end:11px; inset-block-end:5px; color:#fff; background:#082d40a6; border-radius:4px; padding:1px 5px; font-size:10px; }
.yam-map-place-views { grid-template-columns:repeat(3,minmax(0,1fr)); }
.yam-map-place-intro { margin:0 0 9px; color:#284f63; line-height:1.55; }
.yam-map-local-facts { display:grid; gap:5px; margin:0 0 7px; }
.yam-map-local-facts>div { display:grid; grid-template-columns:minmax(64px,.3fr) minmax(0,1fr); gap:5px; padding:5px 6px; background:#f3f8f9; border-radius:5px; }
.yam-map-local-facts dt { font-weight:700; color:#18586d; }
.yam-map-local-facts dd { margin:0; color:#31566a; }
.yam-map-weather,.yam-map-local-cameras { display:grid; gap:4px; margin-block-start:8px; padding:8px 9px; border:1px solid #c6dfeb; border-radius:8px; background:#eaf5fb; color:#143e58; }
.yam-map-local-cameras { margin-block:7px; background:#f4f0fa; border-color:#e1d8ed; }
.yam-map-weather small { color:#3e6178; font-size:11px; }
.yam-map-readings { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:5px; margin:0; }
.yam-map-readings>div { padding:5px 7px; border-radius:6px; background:#fff; }
.yam-map-readings dt { font-size:11px; color:#355c73; }
.yam-map-readings dd { margin:0; font-weight:750; color:#13485e; font-size:16px; font-variant-numeric:tabular-nums; }
.yam-map-classification { width:fit-content; margin:0 0 8px; padding:3px 7px; border:1px solid #e4d5b8; border-radius:6px; background:#fcf5e8; color:#63512e; font-size:11px; font-weight:700; }
.yam-map-overlap>strong { color:#143e56; font-size:13px; }
.yam-map-overlap button { display:flex; align-items:center; gap:7px; }
.yam-map-overlap .yam-map-result-icon { flex:none; width:23px; height:23px; }
.yam-map-readings { grid-template-columns:repeat(auto-fit,minmax(75px,1fr)); }
.yam-map-readings[hidden] { display:none; }
.yam-map-readings dd { font-size:15px; }

/* Compact preview beside an individual map pin */
.yam-register .yam-map-preview.leaflet-tooltip { padding:0; border:1px solid #b9dbe4; border-radius:12px; background:#fff; color:#123c53; box-shadow:0 8px 24px #0b344038; white-space:normal; }
.yam-register .yam-map-preview.leaflet-tooltip-left::before { border-left-color:#fff; }
.yam-register .yam-map-preview.leaflet-tooltip-right::before { border-right-color:#fff; }
.yam-register .yam-map-preview.leaflet-tooltip-top::before { border-top-color:#fff; }
.yam-register .yam-map-preview.leaflet-tooltip-bottom::before { border-bottom-color:#fff; }
.yam-map-pin-preview { display:grid; grid-template-columns:minmax(0,1fr) 42px; align-items:center; gap:9px; box-sizing:border-box; width:min(220px,55vw); padding:8px; text-align:start; }
.yam-map-pin-preview-copy { min-width:0; line-height:1.3; overflow-wrap:anywhere; }
.yam-map-pin-preview-copy strong { display:block; color:#103d56; font-size:14px; }
.yam-register .yam-map-preview .yam-map-pin-preview-copy small { margin-block-start:3px; color:#476779; font-size:11px; }
.yam-map-pin-preview-hint { display:block; margin-block-start:5px; color:#086379; font-size:11px; font-weight:750; }
.yam-map-pin-preview-visual { display:grid; place-items:center; align-self:stretch; min-height:42px; border-radius:7px; background:var(--pin,#176780) center/cover; color:#fff; }
.yam-map-pin-preview-visual[data-sea="med"] { background-image:linear-gradient(#083a5470,#083a548c),url('assets/yam-coast-editorial.webp'); }
.yam-map-pin-preview-visual[data-sea="kinneret"] { background-image:linear-gradient(#0b364a66,#0b364a90),url('assets/yam-map-kinneret.webp'); }
.yam-map-pin-preview-visual[data-sea="red"] { background-image:linear-gradient(#092e4466,#092e4490),url('assets/yam-map-redsea.webp'); }
.yam-map-pin-preview-visual[data-sea="dead"] { background-image:linear-gradient(#21354b66,#21354b90),url('assets/yam-map-deadsea.webp'); }
.yam-map-pin-preview-visual svg { width:20px; height:20px; filter:drop-shadow(0 1px 2px #133844); }
.yam-map-gestures { display:flex; flex-wrap:wrap; align-items:center; gap:5px 10px; margin-block-start:7px; color:#3c596c; }
.yam-map-gestures button { min-height:36px; padding:5px 10px; border:1px solid #bed9e3; border-radius:7px; background:#f2f9fc; color:#175573; font:inherit; font-size:12px; font-weight:700; line-height:1.35; cursor:pointer; }
.yam-map-gestures button[aria-pressed="true"] { border-color:#0c6278; background:#0c6278; color:#fff; }
.yam-map-gestures small { font-size:11px; }
.yam-register .yam-map-touch-idle { touch-action:pan-y pinch-zoom; }
.yam-register .yam-map-gestures-active { outline:2px solid #277d94; outline-offset:1px; }
.yam-map-selection { scroll-margin-block-start:95px; }
@media(max-width:900px) {
    .yam-live main .yam-register [data-beach-results] { max-height:none; overflow:visible; }
}
@media(max-width:820px) {
    .yam-live main .yam-register .yam-register-layout { grid-template-columns:minmax(0,1fr); }
    .yam-live main .yam-register .yam-register-map { height:clamp(300px,56svh,380px); }
}
.yam-calendar-no-dates { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 14px; margin-block:10px; padding:10px 13px; border:1px solid #cfdfeb; border-radius:9px; background:#f0f7fc; color:#153e56; }
.yam-calendar-no-dates p { margin:2px 0 0; font-size:13px; }
.yam-live main .yam-register .yam-map-near-feedback { margin:6px 0 10px; padding:8px 10px; border-inline-start:3px solid #2788a0; border-radius:6px; background:#eaf6fa; color:#1c4c61; font-size:13px; }

.yam-measure-choice:not([hidden]) { position:fixed; inset-inline:12px; inset-block-end:12px; z-index:90; display:flex; flex-wrap:wrap; align-items:center; gap:7px 12px; width:min(560px,calc(100% - 24px)); padding:12px; border:1px solid #b9d8e6; border-radius:10px; background:#fff; box-shadow:0 8px 24px #143d5840; color:#153e56; }
.yam-measure-choice p { flex:1 0 100%; margin:0; font-size:13px; }
.yam-measure-settings { margin:10px; }

/* Shop discovery and product cards */
.yam-gear-discovery { margin-block:14px 20px; padding:14px; border:1px solid #c7dfea; border-radius:12px; background:linear-gradient(120deg,#eaf6fa,#f2f8fd); }
.yam-gear-filters { display:flex; flex-wrap:wrap; align-items:end; gap:9px 12px; }
.yam-gear-filters label { display:grid; gap:4px; min-width:0; color:#234e66; font-size:13px; font-weight:700; }
.yam-gear-filters label:first-child { flex:1 1 210px; }
.yam-gear-filters :is(input[type=search],select) { width:100%; min-height:42px; padding:6px 9px; background:white; border:1px solid #afcfdf; border-radius:7px; color:#173c54; font:inherit; }
.yam-gear-filters .yam-gear-stock { display:flex; align-items:center; gap:5px; min-height:42px; }
.yam-gear-filters .yam-gear-stock input[type=checkbox] { flex:none; width:16px; height:16px; margin:0; padding:0; accent-color:#0d7086; }
.yam-gear-filters .primary { min-height:42px; }
.yam-gear-discovery>.text-link { display:inline-block; margin-block-start:7px; font-size:13px; }
.yam-gear-card-facts { display:flex; flex-wrap:wrap; gap:4px 8px; align-items:center; margin:5px 0; color:#355c70; font-size:12px; }
.yam-gear-card-facts>span { padding:2px 6px; border-radius:5px; background:#eaf5fb; font-weight:700; }
.yam-gear-card-action { display:flex; justify-content:space-between; gap:6px; margin-top:8px; padding-top:8px; border-top:1px solid #e0edf3; color:#145f84; font-size:13px; font-weight:750; }
@media(max-width:560px) {
    .yam-gear-filters { display:grid; grid-template-columns:minmax(0,1fr) auto; }
    .yam-gear-filters label:first-child { grid-column:1/-1; }
    .yam-gear-filters .primary { grid-column:1/-1; }
    .yam-gear-filters .yam-gear-stock { white-space:nowrap; }
}

.yam-member-prompt,.yam-forum-discovery { margin-block:12px; padding:clamp(12px,2vw,19px); border:1px solid #c0deeb; border-radius:12px; background:linear-gradient(115deg,#eaf7fb,#f5faff); color:#173e54; }
.yam-member-prompt { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:8px 14px; }
.yam-member-prompt p,.yam-forum-discovery .yam-forum-discovery-head p { margin:3px 0; color:#42677b; font-size:14px; line-height:1.55; }
.yam-member-actions { display:flex; flex-wrap:wrap; gap:7px; }
.yam-member-actions :is(.primary,.outline) { min-height:41px; padding:6px 12px; font-size:13px; }
.yam-forum-discovery-head { display:flex; align-items:center; gap:10px; margin-block-end:10px; }
.yam-forum-discovery-head h2 { margin:0; color:#154b64; font-size:clamp(17px,2vw,21px); }
.yam-forum-discovery-icon { display:grid; place-items:center; flex:none; width:41px; height:41px; border-radius:9px; background:#0b6780; color:#fff; }
.yam-forum-discovery-icon svg { width:23px; height:23px; }
.yam-forum-discovery ul { display:grid; gap:4px; padding:0; margin:0 0 9px; list-style:none; }
.yam-forum-discovery li a { display:flex; justify-content:space-between; gap:8px; padding:6px 9px; background:#fff; border:1px solid #d4e7ef; border-radius:6px; color:#155a78; }
.yam-fish-facts { display:grid; grid-template-columns:auto minmax(0,1fr); gap:4px 14px; padding:12px; background:#f1f8fb; border:1px solid #d4e7ef; border-radius:9px; }
.yam-fish-facts dt { font-weight:700; }
.yam-fish-facts dd { margin:0; overflow-wrap:anywhere; }
.yam-live main:has(.yam-forum-tools .yam-member-prompt) #bbpress-forums .bbp-login-form { display:none; }

.yam-card-topic { display:inline-block; padding:2px 7px; margin-block-end:5px; border-radius:5px; background:#eaf5fb; color:#205e77; font-size:11px; font-weight:700; }
.yam-card-text-only { border-block-start:3px solid #9bcddd; }
/* Direct supplier orders */
.yam-order-box { margin-block: 1rem; padding: clamp(1rem, 3vw, 1.4rem); border: 1px solid #c5dae8; border-radius: 1rem; background: linear-gradient(150deg, #eef7fc, #fff 75%); scroll-margin-block-start: 8rem; color: #102d45; }
.yam-order-box h2 { margin: 0; font-size: 1.22rem; }
.yam-order-box p { margin: .4rem 0 1rem; line-height: 1.6; }
.yam-order-box form { display: grid; gap: .9rem; }
.yam-order-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.yam-order-fields label { display: grid; gap: .25rem; font-size: .87rem; font-weight: 700; min-width: 0; }
.yam-order-fields :is(input,select) { min-width: 0; width: 100%; min-height: 44px; box-sizing: border-box; padding: .5rem .65rem; border: 1px solid #9fb7c9; border-radius: .55rem; background: #fff; color: #102d45; font-size: 1rem; }
.yam-order-fields :focus-visible, .yam-order-box button:focus-visible { outline: 2px solid #176f9a; outline-offset: 2px; }
.yam-order-delivery { min-width: 0; margin: 0; border: 1px solid #c5dae8; border-radius: .7rem; padding: .6rem .75rem; }
.yam-order-delivery legend { padding-inline: .3rem; font-weight: 700; font-size: .9rem; }
.yam-order-method { display: inline-flex; align-items: center; min-height: 36px; gap: .35rem; margin-inline-end: .8rem; }
.yam-order-address { margin-block: .45rem .15rem; }
.yam-order-delivery:has([value="pickup"]:checked) .yam-order-address { display: none; }
.yam-order-box .primary { justify-content: center; min-height: 44px; cursor: pointer; }
.yam-order-box :is(.yam-order-error,.yam-order-demo) { padding: .55rem .7rem; border-radius: .5rem; }
.yam-order-error { background: #fdefec; color: #8b261d; }
.yam-order-demo { margin: 1rem 0; color: #385670; font-size: .9rem; }
.yam-order-totals { margin: 0; padding: .45rem .7rem; border: 1px solid #c5dae8; border-radius: .65rem; background: white; }
.yam-order-totals div { display: flex; justify-content: space-between; gap: .8rem; padding-block: .38rem; }
.yam-order-totals div:last-child { border-block-start: 1px solid #c5dae8; font-weight: 800; }
.yam-order-totals dd { margin: 0; white-space: nowrap; }
.yam-order-consent { display: flex; align-items: flex-start; gap: .55rem; font-size: .9rem; }
.yam-order-consent input { flex: none; margin-block-start: .35rem; }
.yam-order-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; }
.yam-order-back { background: transparent; border: 0; color: #145777; font: inherit; text-decoration: underline; cursor: pointer; }
@media (max-width: 390px) { .yam-order-fields { grid-template-columns: 1fr; } }
.yam-shop-icon { width: 1.05em; height: 1.05em; flex: 0 0 auto; vertical-align: -.15em; }
.yam-gear-card-action .yam-shop-icon { transition: transform .18s ease; }
.woocommerce li.product a:hover .yam-gear-card-action .yam-shop-icon { transform: translateX(-.2rem); }
.woocommerce ul.products li.product a.yam-shop-buy { display: flex; justify-content: center; align-items: center; gap: .45rem; padding: .55rem .9rem; min-height: 42px; margin: 0 .85rem .85rem; border-radius: .55rem; background: #0c5075; color: white; font-size: .92rem; font-weight: 800; }
.woocommerce ul.products li.product a.yam-shop-buy:hover { background: #073650; }
.woocommerce ul.products li.product a.yam-shop-buy:focus-visible { outline: 2px solid #176f9a; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .yam-gear-card-action .yam-shop-icon { transition: none; } }

/* Encyclopedia and contextual discussions */
.yam-live .yam-knowledge-featured { margin-block: 1.3rem 1.8rem; }
.yam-knowledge-featured h2 { margin-block: 0 .65rem; color: #112e48; font-size: clamp(1.25rem, 2.4vw, 1.7rem); }
.yam-knowledge-featured-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .9rem; }
.yam-knowledge-featured-grid > a { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #cbdce8; border-radius: .85rem; background: #fff; color: #142e46; transition: box-shadow .18s, border-color .18s; }
.yam-knowledge-featured-grid > a:hover { border-color: #6ca0bd; box-shadow: 0 9px 20px #103a5319; }
.yam-knowledge-featured-grid img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
.yam-knowledge-featured-copy { display: grid; gap: .24rem; padding: .8rem .9rem 1rem; }
.yam-knowledge-featured-copy small { color: #1a6382; font-weight: 750; }
.yam-knowledge-featured-copy strong { font-size: 1.08rem; line-height: 1.4; }
.yam-knowledge-featured-copy > span { color: #3d5368; font-size: .89rem; line-height: 1.6; }
.yam-knowledge-figure { margin: 0 0 1rem; }
.yam-knowledge-figure img { display: block; width: 100%; height: auto; border-radius: .8rem; }
.yam-knowledge-figure figcaption { margin-block-start: .35rem; color: #52677a; font-size: .8rem; }
.yam-reference-intro { font-weight: 650; color: #174e69; }
.yam-knowledge-share { display: flex; flex-wrap: wrap; gap: .45rem .7rem; align-items: center; margin-block: 1.3rem .3rem; padding-block-start: .85rem; border-block-start: 1px solid #d7e5ee; font-size: .88rem; }
.yam-knowledge-share a { display: inline-flex; align-items: center; min-height: 42px; padding-inline: .7rem; background: #edf5fb; border-radius: .45rem; color: #145777; }
.yam-live .yam-community-topics { display: grid; grid-template-columns: 1fr; gap: .4rem; list-style: none; padding: 0; margin: .55rem 0; }
.yam-live .yam-community-topics > li { min-width: 0; margin: 0; }
.yam-live .yam-community-topics > li > a { min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: .65rem; padding: .5rem .75rem; border: 1px solid #d4e4ef; border-radius: .55rem; background: #fff; color: #183c55; line-height: 1.4; }
.yam-live .yam-community-topics a:hover { background: #edf7fc; border-color: #8bb5ce; }
.yam-community-topics strong,.yam-community-topics small { display: block; }
.yam-community-topics small { margin-block-start: .12rem; color: #536f84; font-size: .77rem; }
@media (max-width: 710px) { .yam-knowledge-featured-grid { grid-template-columns: 1fr; } .yam-knowledge-featured-grid > a { display: grid; grid-template-columns: minmax(85px,29%) 1fr; } .yam-knowledge-featured-grid img { aspect-ratio: auto; height: 100%; min-height: 106px; } .yam-knowledge-featured-copy { padding: .6rem .7rem; } }
@media (prefers-reduced-motion: reduce) { .yam-knowledge-featured-grid > a { transition: none; } }

.yam-forum-start { margin-block: 1rem 1.5rem; padding: 1rem; border: 1px solid #c8deec; border-radius: .8rem; background: #f0f7fb; }
.yam-forum-start h2 { margin: 0 0 .65rem; color: #183c55; font-size: clamp(1.13rem,2vw,1.42rem); }
.yam-live .yam-forum-start .yam-community-topics { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .55rem; }
.yam-live .yam-forum-start .yam-community-topics > li > a { height: 100%; box-sizing: border-box; }
@media (max-width: 630px) { .yam-live .yam-forum-start .yam-community-topics { grid-template-columns: 1fr; } }

/* Editorial layout for phones, tablets and desktop */
.yam-live .yam-library-search { background: #eef5fa; border: 1px solid #d2e2ee; border-radius: 14px; }
.yam-live .yam-library-search form { max-width: 760px; }
.yam-live .yam-library-search .knowledge-search-fields { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: stretch; }
.yam-live .yam-library-search input { width: 100%; font-size: max(16px,1rem); }
.yam-live .yam-library-search button { justify-content: center; min-height: 46px; padding-inline: 1rem; white-space: nowrap; }
.yam-live .knowledge-topics a { display: inline-flex; gap: .32rem; align-items: center; min-height: 42px; }
.yam-live .knowledge-topics a small { margin: 0; font-variant-numeric: tabular-nums; }
.yam-live .knowledge-topics a[aria-current] { background: #154e70; color: #fff; }
.yam-live .yam-knowledge-featured-grid { grid-template-columns: minmax(0,1.24fr) minmax(0,1fr); grid-auto-rows: minmax(118px,auto); }
.yam-live .yam-knowledge-featured-grid > a { position: relative; isolation: isolate; }
.yam-knowledge-featured-grid > .yam-knowledge-lead { grid-row: span 2; min-height: clamp(240px,34vw,360px); justify-content: flex-end; background: #15384d; }
.yam-knowledge-lead img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; aspect-ratio: auto; }
.yam-knowledge-lead::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg,#071d2a 4%,#071d2ad9 29%,#071d2a28 74%); }
.yam-knowledge-lead .yam-knowledge-featured-copy { padding: clamp(1rem,3vw,1.6rem); }
.yam-knowledge-lead .yam-knowledge-featured-copy small { color: #bce8fa; }
.yam-knowledge-lead .yam-knowledge-featured-copy strong { color: white; font-size: clamp(1.25rem,2.6vw,2rem); }
.yam-knowledge-lead .yam-knowledge-featured-copy > span { color: #f0f8fd; }
.yam-knowledge-featured-grid > .yam-knowledge-brief { display: grid; grid-template-columns: minmax(82px,36%) minmax(0,1fr); align-items: stretch; }
.yam-knowledge-brief img { height: 100%; min-height: 100px; aspect-ratio: auto; }
.yam-knowledge-brief .yam-knowledge-featured-copy { align-content: center; }
.yam-live .yam-reference-detail .knowledge-detail-grid { grid-template-columns: minmax(0,1fr) minmax(190px,24%); gap: clamp(1rem,3vw,2rem); }
.yam-reference-detail :is(.knowledge-breadcrumb,.knowledge-title,.portal-reading,.knowledge-source) { min-width: 0; overflow-wrap: anywhere; }
.yam-reference-detail .knowledge-breadcrumb { display: flex; flex-wrap: wrap; gap: .3rem .55rem; align-items: center; }
.yam-live .yam-reference-detail .knowledge-title { padding-block: .9rem 1.15rem !important; }
.yam-live .yam-reference-detail .knowledge-title h1 { margin-block: 0 .3rem; font-size: clamp(1.75rem,4.2vw,3rem); line-height: 1.14; }
.yam-reference-detail .knowledge-source .outline { white-space: normal; justify-content: flex-start; }
.yam-reference-detail .yam-knowledge-share a { min-height: 44px; }

.yam-community-hub .yam-forum-tool-main { align-items: flex-start; gap: .7rem; }
.yam-community-hub .yam-forum-tools form { max-width: 760px; margin-block-start: .85rem; }
.yam-community-hub .yam-forum-tools form > div { display: grid; grid-template-columns: minmax(0,1fr) auto; }
.yam-community-hub .yam-forum-tools input { min-width: 0; width: 100%; font-size: max(16px,1rem); }
.yam-forum-directory { scroll-margin-block-start: 7rem; min-width: 0; }
.yam-live .yam-community-topics > li > a { min-height: 60px; }
.yam-topic-copy { min-width: 0; overflow-wrap: anywhere; }
.yam-topic-copy .yam-topic-forum { display: none; }
:is(.yam-forum-start,.front-forum) .yam-topic-copy .yam-topic-forum { display: block; color: #215a7a; font-weight: 750; margin: 0 0 .12rem; }
.yam-topic-arrow { display: grid; place-items: center; width: 2rem; height: 2rem; flex: 0 0 2rem; border-radius: 50%; background: #e7f3fa; color: #135476; }
.yam-community-topics a:hover .yam-topic-arrow { background: #154e70; color: white; }
.yam-live .yam-forum-discovery .yam-member-actions { gap: .55rem; }
.yam-live .yam-forum-discovery .yam-member-actions a { min-height: 44px; }

@media (max-width: 980px) {
    .yam-live .yam-library-results { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; }
    .yam-live .yam-reference-detail .knowledge-detail-grid { grid-template-columns: minmax(0,1fr); }
    .yam-live .yam-reference-detail .knowledge-source { position: static; }
    .yam-live .yam-reference-detail .knowledge-source dl { display: grid; grid-template-columns: max-content minmax(0,1fr); gap: .35rem .8rem; }
    .yam-reference-detail .knowledge-source dd { margin: 0; }
}
@media (max-width: 680px) {
    .yam-live .yam-knowledge-featured-grid { grid-template-columns: minmax(0,1fr); gap: .65rem; }
    .yam-knowledge-featured-grid > .yam-knowledge-lead { display: flex; grid-row: auto; min-height: 228px; }
    .yam-knowledge-featured-grid > .yam-knowledge-brief { grid-template-columns: minmax(76px,28%) minmax(0,1fr); }
    .yam-live .knowledge-topics { gap: .35rem; margin-block: .7rem 1rem; }
    .yam-live .knowledge-topics a { padding: .28rem .6rem; font-size: .79rem; }
    .yam-live .yam-library-search { padding: .7rem; }
    .yam-live .yam-library-results { grid-template-columns: minmax(0,1fr); }
    .yam-live .yam-library-results .knowledge-card { padding: .75rem .9rem; }
    .yam-live .yam-library-results .knowledge-card > div:last-child { margin-block-start: .5rem; padding-block-start: .5rem; }
    .yam-community-hub .yam-forum-tool-main { flex-wrap: wrap; }
    .yam-community-hub .yam-forum-tools form > div { gap: .4rem; }
    .yam-forum-start { padding: .7rem; }
    .yam-live .yam-forum-discovery .yam-member-actions { display: grid; grid-template-columns: minmax(0,1fr); }
    .yam-live .yam-forum-discovery .yam-member-actions a { justify-content: center; text-align: center; }
}
.yam-live .yam-knowledge-featured-grid { grid-auto-rows: minmax(118px,max-content); }
.yam-knowledge-featured-grid > .yam-knowledge-brief { grid-template-columns: minmax(0,1fr); padding-inline-start: 36%; }
.yam-knowledge-brief img { position: absolute; inset-block: 0; inset-inline-start: 0; width: 36%; height: 100%; min-height: 0; }
@media (max-width: 680px) {
    .yam-knowledge-featured-grid > .yam-knowledge-brief { grid-template-columns: minmax(0,1fr); padding-inline-start: 28%; }
    .yam-knowledge-brief img { width: 28%; }
}
