/* Coastal UK county explorer — scoped homepage component */
.coastal-explorer-section {
    padding: 100px 0 108px;
    background: var(--sand);
    overflow: hidden;
}
.coastal-explorer-section .ce-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 38px;
}
.coastal-explorer-section .ce-section-heading .eyebrow { margin-bottom: 16px; }
.coastal-explorer-section .ce-section-heading .display-heading { font-size: clamp(44px, 5vw, 64px); }
.coastal-explorer-section .ce-section-description {
    max-width: 390px;
    margin: 0 0 5px;
    color: #68746d;
    font-size: 13px;
    line-height: 1.9;
}
.coastal-explorer {
    --ce-line: rgba(23,56,77,.13);
    --ce-muted: #74858a;
    background: var(--chalk);
    border: 1px solid var(--ce-line);
    box-shadow: 0 24px 65px rgba(23,56,77,.07);
}
.ce-explorer-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.48fr) minmax(330px, .82fr);
    min-width: 0;
}
.ce-map-column {
    min-width: 0;
    padding: 25px 28px 22px;
    border-right: 1px solid var(--ce-line);
}
.ce-map-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--ce-line);
    color: var(--ink);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .17em;
}
.ce-map-topline > span { color: #8b9998; font-size: 8px; letter-spacing: .13em; }
.ce-live-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--sea); box-shadow: 0 0 0 4px rgba(78,137,145,.12); }
.ce-map-wrap {
    position: relative;
    height: 660px;
    margin: 12px auto 0;
    max-width: 690px;
    background: radial-gradient(ellipse at 50% 48%, rgba(219,233,232,.44), rgba(247,245,239,0) 70%);
}
.ce-map-svg { display: block; width: 100%; height: 100%; overflow: visible; }
/* Selectable coastal areas share one stronger Atlantic-teal fill.
   Other counties remain neutral and cannot receive pointer or keyboard input. */
#uk-map .ce-county-shape {
    fill: #e7ece8;
    stroke: #d3ddd7;
    stroke-width: 1px;
    stroke-linejoin: round;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
    cursor: default;
    pointer-events: none;
    transition: fill .18s ease, stroke .18s ease, stroke-width .18s ease, filter .18s ease;
}
#uk-map .ce-county-shape.is-unavailable {
    fill: #e7ece8;
    stroke: #d3ddd7;
    cursor: default;
    pointer-events: none;
}
#uk-map .ce-county-shape.has-destinations {
    fill: #2c8076;
    stroke: #fffefa;
    stroke-width: 1.55px;
    cursor: pointer;
    pointer-events: all;
}
#uk-map .ce-county-shape.has-destinations:hover,
#uk-map .ce-county-shape.has-destinations:focus-visible {
    fill: #1d6059;
    stroke: #fffefa;
    stroke-width: 2.5px;
    filter: drop-shadow(0 5px 8px rgba(23,56,77,.24));
    outline: none;
}
#uk-map .ce-county-shape.has-destinations.is-selected {
    fill: var(--coral, #c57957) !important;
    stroke: #fffefa;
    stroke-width: 2.7px;
    filter: drop-shadow(0 6px 9px rgba(23,56,77,.25));
}
.ce-map-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(247,245,239,.88);
    color: var(--muted);
    font-size: 11px;
    letter-spacing: .04em;
}
.ce-map-loading.is-hidden { display: none; }
.ce-loading-ring { width: 17px; height: 17px; border: 2px solid rgba(78,137,145,.2); border-top-color: var(--sea); border-radius: 50%; animation: ce-spin .9s linear infinite; }
@keyframes ce-spin { to { transform: rotate(360deg); } }
.ce-map-compass { position: absolute; top: 16px; right: 14px; display: flex; flex-direction: column; align-items: center; color: rgba(23,56,77,.48); font-size: 8px; letter-spacing: .1em; pointer-events: none; }
.ce-map-compass b { font-size: 16px; font-weight: 500; }
.ce-map-error { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 13px 15px; border: 1px solid var(--ce-line); background: rgba(255,254,250,.96); color: var(--muted); font-size: 10px; line-height: 1.65; }
.ce-map-legend { display: flex; flex-wrap: wrap; gap: 17px; padding-top: 3px; color: var(--muted); font-size: 9px; }
.ce-map-legend span { display: inline-flex; align-items: center; gap: 7px; }
.ce-map-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; }
.ce-legend-available { background: #2c8076; }
.ce-legend-unavailable { background: #e7ece8; border: 1px solid #cbd6cf; }
.ce-map-source { margin: 10px 0 0; color: #8a999a; font-size: 8px; line-height: 1.65; letter-spacing: .025em; }
.ce-map-source a { color: var(--ink); border-bottom: 1px solid rgba(197,121,87,.55); }
.ce-county-column {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 29px 28px 23px;
    background: #fffefa;
}
.ce-county-panel-heading .eyebrow { margin-bottom: 12px; }
.ce-county-panel-heading h3 { margin: 0 0 13px; color: var(--ink); font: 400 39px/.92 var(--serif); letter-spacing: -.045em; }
.ce-county-panel-heading h3 em { color: var(--coral); font-weight: 400; }
.ce-county-panel-heading > p:last-child { max-width: 320px; margin: 0 0 20px; color: var(--muted); font-size: 11px; line-height: 1.75; }
.ce-country-tabs { display: grid; grid-template-columns: repeat(3,1fr); margin-bottom: 18px; border-bottom: 1px solid var(--ce-line); }
.ce-country-tab { position: relative; display: flex; justify-content: center; align-items: center; gap: 7px; padding: 12px 2px 13px; border: 0; background: transparent; color: #879596; font-size: 10px; font-weight: 800; cursor: pointer; }
.ce-country-tab:after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: transparent; content: ''; }
.ce-country-tab.is-active { color: var(--ink); }
.ce-country-tab.is-active:after { background: var(--coral); }
.ce-country-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; }
.ce-country-dot.england { background: #a9c9bd; }
.ce-country-dot.scotland { background: #a5bfd1; }
.ce-country-dot.wales { background: #d5b79e; }
.ce-county-search { display: flex; align-items: center; gap: 9px; height: 42px; margin-bottom: 17px; padding: 0 12px; border: 1px solid var(--ce-line); color: var(--sea); }
.ce-county-search > span { font-size: 20px; }
.ce-county-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 11px; }
.ce-county-search input::placeholder { color: #9aa7a5; }
.ce-county-list-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; color: #91a09f; font-size: 8px; font-weight: 800; letter-spacing: .14em; }
.ce-county-list { max-height: 330px; min-height: 220px; overflow-y: auto; padding-right: 4px; scrollbar-width: thin; scrollbar-color: #c8d3d0 transparent; }
.ce-county-option { display: flex; align-items: center; width: 100%; padding: 11px 5px; border: 0; border-bottom: 1px solid rgba(23,56,77,.08); background: transparent; color: var(--ink); text-align: left; cursor: pointer; transition: padding .18s ease, background .18s ease; }
.ce-county-option:hover, .ce-county-option.is-active { padding-right: 9px; padding-left: 10px; background: #f4f2eb; }
.ce-county-option.is-active .ce-county-arrow { color: var(--coral); transform: translateX(2px); }
.ce-county-name { min-width: 0; }
.ce-county-name strong { display: block; font-size: 11px; font-weight: 700; }
.ce-county-name small { display: block; margin-top: 4px; color: #99a5a3; font-size: 8px; letter-spacing: .025em; }
.ce-county-number { margin-left: auto; margin-right: 13px; color: #829390; font-size: 9px; white-space: nowrap; }
.ce-county-arrow { color: #aab6b2; font-size: 16px; transition: all .18s ease; }
.ce-county-empty { padding: 25px 10px; color: var(--muted); text-align: center; font-size: 11px; }
.ce-county-panel-foot { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 15px; border-top: 1px solid var(--ce-line); color: #82918f; font-size: 9px; }
.ce-pin-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.ce-destination-results { max-width: 1320px; margin: 62px auto 0; padding-top: 44px; padding-left:15px; padding-right:15px; border-top: 1px solid var(--ce-line); scroll-margin-top: 28px; }
.ce-results-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 27px; }
.ce-results-heading .eyebrow { margin-bottom: 12px; }
.ce-results-heading h3 { margin: 0 0 10px; color: var(--ink); font: 400 46px/.95 var(--serif); letter-spacing: -.045em; }
.ce-results-heading h3 em { color: var(--coral); font-weight: 400; }
.ce-results-heading p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.ce-results-meta { display: flex; align-items: flex-end; gap: 11px; padding-bottom: 7px; }
.ce-results-meta strong { color: var(--coral); font: 400 40px/.8 var(--serif); }
.ce-results-meta span { max-width: 75px; color: #899795; font-size: 8px; line-height: 1.35; letter-spacing: .14em; }
.ce-location-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.ce-location-card-wrap { display: flex; flex-direction: column; min-width: 0; }
.ce-photo-credit { margin: 7px 0 0; color: #8c9691; font-size: 8px; line-height: 1.5; }
.ce-photo-credit a { color: #687a80; text-decoration: underline; text-underline-offset: 2px; }
.ce-noscript-note { margin: 0; padding: 12px 15px; border: 1px solid var(--line); background: var(--chalk); color: var(--muted); font-size: 12px; }
.ce-noscript-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.ce-location-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid rgba(23,56,77,.1); background: var(--chalk); color: var(--ink); transition: transform .2s ease, box-shadow .2s ease; }
.ce-location-card:hover { transform: translateY(-4px); box-shadow: 0 13px 30px rgba(23,56,77,.11); color: var(--ink); }
.ce-location-image { position: relative; display: flex; align-items: center; justify-content: center; height: 158px; overflow: hidden; background: linear-gradient(135deg,#d6e4df,#b8ced0 55%,#e6d8c8); }
.ce-location-image:after { position: absolute; inset: 0; background: linear-gradient(0deg,rgba(11,37,54,.26),transparent 65%); content: ''; pointer-events: none; }
.ce-location-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.ce-location-card:hover .ce-location-image img { transform: scale(1.045); }
.ce-location-open { position: absolute; z-index: 1; right: 12px; bottom: 12px; display: grid; width: 34px; height: 34px; place-items: center; background: var(--chalk); color: var(--ink); font-size: 16px; transition: background .2s ease, color .2s ease; }
.ce-location-card:hover .ce-location-open { background: var(--coral); color: white; }
.ce-location-copy { display: flex; flex: 1; flex-direction: column; padding: 16px 17px 17px; }
.ce-location-kicker { margin-bottom: 8px; color: var(--coral); font-size: 8px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.ce-location-copy h4 { margin: 0 0 9px; color: var(--ink); font: 500 27px/1 var(--serif); letter-spacing: -.025em; }
.ce-location-copy p { flex: 1; margin: 0 0 16px; color: #788079; font-size: 10px; line-height: 1.75; }
.ce-location-action { display: flex; align-items: center; justify-content: space-between; padding-top: 11px; border-top: 1px solid var(--ce-line); font-size: 9px; font-weight: 800; letter-spacing: .06em; }
.ce-location-action span { color: var(--coral); font-size: 16px; }
.ce-results-empty { padding: 30px; border: 1px solid var(--ce-line); background: var(--chalk); color: var(--muted); font-size: 12px; line-height: 1.8; }
.ce-results-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 21px; color: #92a09d; font-size: 9px; }
.ce-results-foot a { padding-bottom: 6px; border-bottom: 1px solid var(--coral); color: var(--ink); font-size: 10px; font-weight: 700; }
.ce-results-foot a span { margin-left: 9px; color: var(--coral); }
@media (max-width: 1199.98px) {
    .ce-explorer-shell { grid-template-columns: minmax(0,1.25fr) minmax(310px,.85fr); }
    .ce-map-wrap { height: 600px; }
    .ce-map-column { padding-right: 20px; padding-left: 20px; }
    .ce-county-column { padding-right: 22px; padding-left: 22px; }
}
@media (max-width: 991.98px) {
    .coastal-explorer-section { padding: 78px 0 85px; }
    .ce-explorer-shell { grid-template-columns: minmax(0,1fr) 330px; }
    .ce-map-wrap { height: 535px; }
    .ce-location-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 767.98px) {
    .coastal-explorer-section { padding: 70px 0 76px; }
    .coastal-explorer-section .ce-section-heading { display: block; margin-bottom: 27px; }
    .coastal-explorer-section .ce-section-description { max-width: 560px; margin-top: 17px; }
    .ce-explorer-shell { grid-template-columns: 1fr; }
    .ce-map-column { padding: 18px 15px 17px; border-right: 0; border-bottom: 1px solid var(--ce-line); }
    .ce-map-wrap { height: 480px; }
    .ce-county-column { padding: 25px 20px 21px; }
    .ce-county-list { max-height: 265px; min-height: 150px; }
    .ce-destination-results { margin-top: 43px; padding-top: 34px; }
    .ce-results-heading h3 { font-size: 39px; }
    .ce-location-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
    .ce-location-image { height: 125px; }
    .ce-location-copy { padding: 13px; }
    .ce-location-copy h4 { font-size: 23px; }
    .ce-results-foot { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 480px) {
    .ce-map-wrap { height: 390px; }
    .ce-map-legend { gap: 10px; font-size: 8px; }
    .ce-location-grid { grid-template-columns: 1fr; }
    .ce-location-image { height: 170px; }
    .ce-results-heading { align-items: flex-start; }
    .ce-results-heading h3 { font-size: 35px; }
    .ce-results-meta strong { font-size: 32px; }
}
