/* BlueWater route detail v1.8 — scoped, theme agnostic and mobile first. */
.bw-detail{max-width:min(100%,1240px);margin-inline:auto}
.bw-v18-route,.bw-v18-itinerary{margin:clamp(25px,5vw,60px) 0;color:#153f53}
.bw-v18-heading{margin:0 0 22px}
.bw-v18-heading>span{display:block;font:750 12px/1.3 system-ui;letter-spacing:.16em;color:#147d98}
.bw-v18-heading h2{font:750 clamp(25px,3vw,38px)/1.2 system-ui;margin:8px 0 10px;color:#123b50}
.bw-v18-heading p{font:16px/1.6 system-ui;color:#607685;margin:0}
.bw-v18-map{border:1px solid #d5e2e8;border-radius:16px;overflow:hidden;box-shadow:0 9px 28px #08344817}
.bw-v18-map .leaflet-container{min-height:400px;z-index:1}
.bw-v18-map-empty{padding:32px;border:1px dashed #c2d8df;border-radius:13px;background:#f1f8fa;font:16px system-ui}
.bw-v18-route-index{display:flex;gap:9px 17px;flex-wrap:wrap;list-style:none;margin:16px 0!important;padding:0!important}
.bw-v18-route-index li{font:600 13px system-ui;border-radius:99px;padding:8px 13px;background:#f3f8fa;border:1px solid #dce9ec}
.bw-v18-route-index a{color:#145c77;text-decoration:none}
.bw-v18-route-index a:hover{text-decoration:underline}
.bw-v18-route>small,.bw-v18-admin-note{color:#607887;font:13px/1.5 system-ui}
.bw-v18-admin-note{background:#fff5d8;padding:12px 15px;border-radius:9px}
.bw-v18-day-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.bw-v18-day-card{border:1px solid #e1e9ed;border-radius:14px;background:#f9fbfc;overflow:hidden;box-shadow:0 4px 13px #08324a08;min-width:0}
.bw-v18-day-inner{padding:23px 24px;display:flex;flex-direction:column;gap:10px;height:100%;box-sizing:border-box}
.bw-v18-day-photo{height:210px;width:100%;object-fit:cover;display:block}
.bw-v18-day-top{display:flex;gap:14px;align-items:flex-start}
.bw-v18-day-number{flex:none;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:#d9eef3;color:#0c5e7d;font:800 19px system-ui}
.bw-v18-day-title{flex:1;min-width:0}
.bw-v18-day-title small{color:#647d89;font:750 12px system-ui;letter-spacing:.08em;text-transform:uppercase}
.bw-v18-day-title h3{font:750 clamp(17px,2vw,21px)/1.3 system-ui;color:#173e50;margin:4px 0 0;overflow-wrap:anywhere}
.bw-v18-icon{display:flex;align-items:center;justify-content:center;width:37px;height:37px;border-radius:10px;background:white;color:#267c94;border:1px solid #d7e7ec;font-size:20px}
.bw-v18-harbors{font:650 14px/1.5 system-ui!important;margin:4px 0!important;color:#1f647c;overflow-wrap:anywhere}
.bw-v18-day-text{font:15px/1.65 system-ui;color:#435f6b}
.bw-v18-day-text p{margin:0 0 10px}
.bw-v18-day-activity{margin-top:auto;font:700 12px system-ui;color:#31788a;letter-spacing:.025em}
.bw-detail>h2#bw-vertrekdata{margin-top:44px}
@media(max-width:820px){.bw-v18-day-grid{grid-template-columns:1fr}.bw-v18-map .leaflet-container{min-height:330px}}
@media(max-width:560px){.bw-v18-day-inner{padding:19px}.bw-v18-day-photo{height:180px}.bw-v18-day-top{gap:10px}.bw-v18-day-number{width:40px;height:40px}.bw-v18-map .leaflet-container{min-height:290px}.bw-v18-route-index{gap:7px}}
@media(prefers-reduced-motion:reduce){.bw-v18-route *, .bw-v18-itinerary *{animation-duration:0s!important;transition-duration:0s!important}}

/* 1.8.2.3: rustige kaart, subtiele beheernotitie en monochrome maritieme pictogrammen */
.bw-v18-map .leaflet-container{background:#e5eeef!important}
.bw-v18-admin-note{border:1px solid #d7e6eb!important;background:#f3f8fa!important;padding:0!important;color:#506e7d!important;overflow:hidden}
.bw-v18-admin-note>summary{display:list-item;cursor:pointer;padding:11px 14px;font-size:13px;font-weight:650}
.bw-v18-admin-note>p{margin:0!important;padding:5px 14px 14px!important;font-size:13px;line-height:1.55}
.bw-v18-icon,.bw-v18-day-activity i,.bw-v18-harbors i{color:#087f9d!important}


/* Routekaart B (1.8.2.4): natuurlijk blauw water, leesbare havens en toegankelijke popups. */
.bw-v18-map .leaflet-container{background:#cfe6f1!important}
.bw-v18-map .leaflet-popup-content-wrapper{border-radius:10px!important;box-shadow:0 8px 24px rgba(10,51,76,.21)!important}
.bw-v18-map .leaflet-popup-content{margin:15px 18px!important;min-width:156px;max-width:240px!important}
.bw-v18-map .bw-v18-map-popup{display:flex;flex-direction:column;gap:6px;color:#173c51;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.45}
.bw-v18-map .bw-v18-map-popup strong{font-size:17px;line-height:1.3;font-weight:750;color:#074e6d}
.bw-v18-map .bw-v18-map-popup span{font-size:13px;color:#647f8d}
.bw-v18-map .bw-v18-map-popup a.bw-v18-map-popup-link{margin-top:7px;padding:8px 0;border-top:1px solid #e0e9ef;font-size:13px;color:#087c9c;font-weight:700;text-decoration:none}
.bw-v18-map .bw-v18-map-popup a.bw-v18-map-popup-link:hover{text-decoration:underline}
.bw-v18-map .bw-v18-map-popup a.bw-v18-map-popup-link:focus-visible{outline:2px solid #087c9c;outline-offset:3px}
.bw-v18-map .leaflet-marker-icon{cursor:pointer}
@media(max-width:560px){
 .bw-v18-map .leaflet-popup-content{min-width:135px;max-width:200px!important}
}


/* 1.8.2.5: compact day cards in 3–4 columns, using only actual optional photos. */
.bw-v18-day-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:13px!important;align-items:stretch!important}
.bw-v18-day-card{display:flex!important;flex-direction:column!important;border-radius:11px!important;background:#fff!important;box-shadow:0 2px 10px rgba(12,56,74,.055)!important;min-width:0!important;scroll-margin-top:95px}
.bw-v18-day-inner{flex:1!important;min-height:0!important;padding:15px 15px 16px!important;gap:9px!important}
.bw-v18-day-top{gap:10px!important;align-items:flex-start!important}
.bw-v18-day-number{width:34px!important;height:34px!important;font:800 16px/1 system-ui!important;border-radius:9px!important}
.bw-v18-day-title{min-width:0!important;flex:1!important}
.bw-v18-day-title h3{font:700 17px/1.25 Georgia,serif!important;margin-top:3px!important}
.bw-v18-day-title small{font-size:10px!important;letter-spacing:.08em!important}
.bw-v18-icon{width:27px!important;height:27px!important;min-width:27px!important;font-size:14px!important;border-radius:7px!important}
.bw-v18-day-photo{height:120px!important;width:100%!important;object-fit:cover!important}
.bw-v18-harbors{font:650 12px/1.4 system-ui!important;margin:0!important}
.bw-v18-day-text{font:13px/1.55 system-ui!important}
.bw-v18-day-text p{margin:0 0 5px!important}
.bw-v18-day-activity{font:700 11px/1.35 system-ui!important;border-top:1px solid #e7eff2!important;padding-top:9px!important;margin-top:auto!important}
@media(min-width:850px) and (max-width:1540px){.bw-v18-day-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(min-width:560px) and (max-width:849px){.bw-v18-day-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:559px){.bw-v18-day-grid{grid-template-columns:1fr!important}.bw-v18-day-photo{height:165px!important}.bw-v18-day-inner{padding:17px!important}}
/* Route chips become map controls. Unrecognised day names keep a normal day link. */
.bw-v18-route-index li{padding:0!important;background:transparent!important;border:0!important}
.bw-v18-route-index .bw-v18-route-point{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:36px!important;padding:7px 12px!important;border:1px solid #d5e6eb!important;border-radius:99px!important;background:#f8fbfc!important;color:#145d78!important;text-decoration:none!important;font:700 12px/1.3 system-ui!important;text-align:center!important}
.bw-v18-route-index .bw-v18-route-point:hover{background:#e4f2f6!important;border-color:#96c9d6!important;text-decoration:none!important}
.bw-v18-route-index .bw-v18-route-point.is-active{background:#0d7899!important;border-color:#0d7899!important;color:#fff!important;box-shadow:0 2px 9px rgba(11,96,128,.22)!important}
.bw-v18-route-index .bw-v18-route-point.is-unmapped{border-style:dashed!important;opacity:.7!important}
.bw-v18-route-index .bw-v18-route-point:focus-visible{outline:3px solid #80cadc!important;outline-offset:2px!important}
.bw-v18-map .leaflet-marker-icon.bw-v18-marker-selected{filter:drop-shadow(0 0 7px #ffad23) drop-shadow(0 0 3px #fff)!important;outline:3px solid #fba630!important;outline-offset:2px!important;border-radius:50%!important}
@media(prefers-reduced-motion:reduce){.bw-v18-route-index .bw-v18-route-point{transition:none!important}}

/* Public FAQ: preserve category headings in all themes, with accessible accordion rows. */
.bw-faq-categorized{width:100%;max-width:1000px;margin-inline:auto}
.bw-faq-categorized .bw-faq-topic{margin:0 0 27px;padding:0}
.bw-faq-categorized .bw-faq-topic>h3{font:700 clamp(20px,2.4vw,25px)/1.3 system-ui,-apple-system,"Segoe UI",sans-serif!important;color:#153f57!important;margin:0 0 12px!important;padding:0 0 9px!important;border-bottom:1px solid #d9e6eb!important}
.bw-faq-categorized .bw-faq-topic details{border:1px solid #dce8ed!important;border-radius:9px!important;background:#fff!important;margin:8px 0!important;overflow:hidden!important}
.bw-faq-categorized .bw-faq-topic details>summary{cursor:pointer!important;padding:16px 20px!important;font:650 16px/1.5 system-ui!important;color:#134761!important}
.bw-faq-categorized .bw-faq-topic details[open]>summary{background:#edf6fa!important}
.bw-faq-categorized .bw-faq-topic details>div{padding:4px 20px 18px!important;line-height:1.65!important;color:#35566a!important}

/* Verified tourism links appear inside existing map popups; marker selection unchanged. */
.bw-v18-map-popup .bw-v18-map-visit-link{display:block!important;margin-top:8px!important;font:650 13px/1.4 system-ui,sans-serif!important;color:#08758e!important;text-decoration:underline!important;text-underline-offset:2px!important}
.bw-v18-map-popup .bw-v18-map-visit-link:hover{color:#054f65!important}
