/* County adaptation of the approved A2Z street-map layout and offer components. */
body.county-page{--street-shell-max:1200px;--street-shell-gutter:20px;--street-free-blue:#245b87;--street-paid-green:#287045;background:#f2f4f8}
body.county-page .street-intro{display:grid;grid-template-columns:minmax(0,1fr) 330px;align-items:end;gap:8px 24px;padding:3px 0 16px}
body.county-page .street-intro>div{display:contents}
body.county-page .street-intro h1{grid-column:1;grid-row:2;font-size:32px;line-height:1.16;letter-spacing:-.6px;margin:0 0 4px}
body.county-page .street-place-introduction{max-width:none;font-size:15px;line-height:1.5;color:#43526a}
body.county-page .street-intro>.street-place-search{grid-column:2;grid-row:2/4;width:100%;margin:0;align-self:start;position:relative;z-index:20}
body.county-page .street-map-offers{display:grid;grid-template-columns:minmax(0,1fr) 368px;gap:18px;align-items:start;margin-top:3px}
body.county-page .street-offer-sidebar{padding-top:30px;margin-top:0}
body.county-page .street-buy-panel{padding:15px;border:1px solid #b4c4d8;border-top:4px solid var(--street-active-colour);border-radius:7px;background:#fff;box-shadow:0 3px 10px #2336530b}
body.county-page .street-buy-panel h2{font-size:28px;letter-spacing:0;color:var(--street-active-colour)}
body.county-page .street-packages{display:block}
body.county-page .street-package{margin-bottom:8px}
body.county-page .street-package-title{align-items:baseline;line-height:1.15}
body.county-page .street-package-title strong{font-size:16px}
body.county-page .street-package-title b{font-size:20px}
body.county-page .street-package-description{margin:2px 0 4px;line-height:1.3}
body.county-page .street-file-types{display:flex;align-items:center;gap:6px;margin:0}
body.county-page .street-bundle-file-types{gap:12px}
body.county-page .street-vector-files{display:inline-flex;align-items:center;gap:7px}
body.county-page .street-file-plus{width:22px;height:22px;color:#527158}
body.county-page .street-buy-button.street-download-action{display:block;width:calc(100% - 24px);margin:14px auto 12px;min-height:44px;padding:10px 12px;border-radius:10px;font-size:15px!important;box-shadow:none}
body.county-page .street-buy-panel .street-offer-note{font-size:11px;line-height:1.5;text-align:center;margin:10px 0 0}
body.county-page .street-buy-panel .street-action-reassurance{font-size:13px;font-weight:600;color:var(--street-free-blue)}
body.county-page .sc-recovery-entry{margin-top:14px;padding-top:11px}
body.county-page .sc-recovery-entry .street-action-icon{width:18px;height:18px}
body.county-page .street-download-details{margin-top:20px;display:grid;gap:10px}
body.county-page .street-map-benefits{margin:0;list-style:none;padding:0;display:grid;gap:10px}
body.county-page .street-map-benefits li{font-size:17px;font-weight:700;line-height:1.35}
body.county-page .county-payment-preview-note{font-size:10px;margin:10px 0;color:#6b7989}
body.county-page .county-map-stage{border:2px solid var(--street-active-colour);border-radius:0;box-shadow:0 0 0 2px #ffffffd9;transition:border-color .2s ease}
body.county-page .street-map-tabs button[data-map-view="whole"]{--tab-colour:var(--street-paid-green);--tab-muted:#e3ede6;border-color:#a3baa9}
body.county-page .street-map-tabs button[data-map-view="sample"]{--tab-colour:var(--street-free-blue);--tab-muted:#e3ebf4;border-color:#a7b9cb}
body.county-page .street-map-tabs button[aria-pressed="true"]{border-color:var(--tab-colour)}
body.county-page .sample-window{border-color:var(--street-free-blue)}
body.county-page .sample-window>span{background:var(--street-free-blue);font-size:10px}
body.county-page .map-caption{color:#34435a;padding:5px 2px 4px;min-height:28px;font-size:12px;font-weight:600}
body.county-page .county-page-nav{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 0}
body.county-page .county-page-nav a{background:#3d5478;color:#fff;padding:6px 10px;border:1px solid #3d5478;border-radius:2px;font-size:13px;font-weight:700;text-decoration:underline;text-underline-offset:2px}
body.county-page .county-page-nav a:hover{background:#243d62}
body.county-page .copyright-note{padding:7px 2px 0;font-size:11px}
/* Results sit under the search field without moving the map or the offer panel. */
#quick-county-search>div:first-of-type{display:flex;gap:7px}
#quick-county-search input{min-width:0}
#quick-county-results{position:absolute;top:calc(100% + 5px);left:0;right:0;z-index:30;background:#fff;border:1px solid #adbed4;border-top:3px solid #355781;border-radius:5px;box-shadow:0 8px 24px #263b5826;max-height:390px;overflow:auto;text-align:left}
#quick-county-results .county-search-message{font-size:12px;font-weight:600;line-height:1.5;padding:10px 12px;margin:0;color:#405b7c;background:#f3f6fa}
.county-search-list{display:block!important;padding:0!important;margin:0!important;list-style:none}
.county-search-list li{margin:0;padding:0;border-bottom:1px solid #e0e7f0}
.county-search-list a{display:block;padding:11px 12px;text-decoration:none;color:#284e79}
.county-search-list a:hover,.county-search-list a:focus-visible{background:#eaf1f9}
.county-search-list strong{display:block;font-size:14px;font-weight:700;line-height:1.4}
.county-search-list strong::after{content:' ↗';font-weight:400}
.county-search-list span{display:block;font-size:12px;line-height:1.45;color:#5d6c7f;margin-top:3px}
#quick-county-results .county-search-footer{display:block;padding:10px 12px;margin:0;font-size:11px;color:#617086;line-height:1.5}
.county-search-footer a{color:#285a85;text-decoration:underline;font-weight:600}
/* Keep the same compact modal colours and dimensions as the finished street pages. */
body.county-page .sc-dialog{width:min(500px,calc(100vw - 24px));padding:0;border-radius:7px}
body.county-page .sc-dialog .sc-brand{display:flex;align-items:center;justify-content:space-between;background:#397ba7;color:#fff;padding:13px 16px}
body.county-page .sc-dialog .sc-brand strong{font-size:21px}
body.county-page .sc-dialog .sc-summary h2{font-size:18px;margin:0 0 4px;color:#1d2529}
body.county-page .sc-dialog .sc-summary p{font-size:13px;line-height:1.35;margin:0 0 6px}
body.county-page .sc-dialog .sc-summary #order-name{font-size:12px}
body.county-page .sc-dialog .sc-button .street-action-icon{width:22px;height:22px;flex:none}
body.county-page .sc-dialog .sc-delivery-body p{font-size:13px;line-height:1.5}
body.county-page .sc-dialog .order-total{margin:0 0 14px}
body.county-page .sc-dialog .sc-test-note{font-size:11px!important}
body.county-page .sc-dialog .sc-delivery-footer button{font-size:13px}
body.county-page .sc-recovery-dialog{width:min(460px,calc(100vw - 24px))}
body.county-page .sc-recovery-dialog .sc-body{margin-bottom:13px}




@media(min-width:1500px){body.county-page .street-map-offers{grid-template-columns:minmax(0,1fr) 390px}}
@media(max-width:1100px){body.county-page .street-intro{grid-template-columns:minmax(0,1fr) 280px;gap:8px 18px}body.county-page .street-intro h1{font-size:29px}body.county-page .street-map-benefits li{font-size:15px}}
@media(max-width:1000px){body.county-page{--street-shell-gutter:16px}body.county-page .street-map-offers{grid-template-columns:minmax(0,1fr) 330px;gap:14px}}
@media(max-width:760px){body.county-page .street-intro{grid-template-columns:1fr;gap:8px;padding-bottom:14px}body.county-page .street-intro>.street-place-search{grid-column:1;grid-row:4}body.county-page .street-place-introduction{font-size:14px}body.county-page .street-map-offers{display:block}body.county-page .street-offer-sidebar{padding-top:0;margin-top:20px}body.county-page .street-download-details{margin-top:15px}}
@media(min-width:501px) and (max-width:760px){body.county-page .street-packages{display:grid;grid-template-columns:1fr 1fr;gap:10px}body.county-page .street-package{margin-bottom:0}body.county-page .street-download-details{grid-template-columns:1fr 1fr;gap:24px}}
@media(max-width:500px){body.county-page .street-intro h1{font-size:27px}body.county-page .street-packages{display:block}body.county-page .street-map-tabs button{font-size:11px;padding-inline:8px}body.county-page .county-page-nav{display:grid;grid-template-columns:1fr 1fr;gap:6px}body.county-page .county-page-nav a{text-align:center;font-size:12px}body.county-page .street-buy-panel h2{font-size:26px}}
@media(max-width:400px){body.county-page{--street-shell-gutter:12px}}
/* County-region animation beside the shared blue colouring-tool panel. */
body.county-page .colouring-panel{grid-template-columns:35% minmax(0,1fr);gap:18px;padding:14px;margin:25px 0;border:1px solid #b6c6d7;border-top:4px solid #355c87;border-radius:9px;background:#fff;align-items:start}
body.county-page .colour-demo{width:100%;max-width:none;aspect-ratio:806.03/842.521;border:2px solid #355c87;border-radius:6px;padding:0;margin:0;overflow:hidden}
body.county-page .colour-demo>picture{display:block;width:100%;height:100%}
body.county-page .colour-demo img{display:block;width:100%;height:100%;object-fit:contain}
body.county-page .colour-copy{background:#293e61;border-radius:6px;padding:16px 19px;color:#fff;align-self:center;min-width:0;display:flex;flex-direction:column}
body.county-page .colour-copy .street-eyebrow{color:#ffd47b;font-size:11px;margin:0 0 6px}
body.county-page .colour-copy h2{color:#fff;font-size:26px;line-height:1.17;letter-spacing:-.35px;margin:0 0 10px}
body.county-page .colour-copy h2 br{display:none}
body.county-page .colour-copy h2 br::after{content:' '}
body.county-page .colour-copy>p{font-size:14px;line-height:1.5;color:#f1f5fa;margin:0 0 11px}
body.county-page .colour-copy ul{margin:0 0 12px}
body.county-page .colour-copy li{font-size:13px;line-height:1.5;color:#f1f5fa;margin:4px 0}
body.county-page .colour-copy li::before{color:#b9d895}
body.county-page .colour-cta{align-self:stretch;white-space:normal;min-height:42px;margin:0 0 10px;padding:9px 14px;gap:18px;border:0;border-radius:6px;background:#edb63e;color:#213553;box-shadow:0 2px 0 #b47b1c;font-size:14px}
body.county-page .colour-cta:hover{background:#ffcc60}
body.county-page .colour-copy>.county-small{font-size:11px;color:#dce6f3}
body.county-page .colour-other{padding-top:10px;margin-top:2px;border-top:1px solid #ffffff30;color:#d9e4f2;font-size:12px;line-height:1.5}
body.county-page .colour-other a{color:#fff;font-weight:600}
body.county-page #pause-demo{display:block;margin:7px 0 0;border:0;background:none;padding:0;color:#d9e4f2;text-decoration:underline;text-underline-offset:3px;font:inherit}
@media(max-width:760px){body.county-page .colouring-panel{grid-template-columns:minmax(0,1fr);gap:14px}body.county-page .colour-demo{margin:auto}body.county-page .colour-copy{min-height:0;padding:15px}}
@media(prefers-reduced-motion:reduce){body.county-page .county-map-stage{transition:none}}
/* A compact A3 preview beside the county story replaces the boundary callout. */
body.county-page .county-story .print-card-story{display:grid;grid-template-columns:104px minmax(0,1fr);gap:13px 15px;align-content:start;align-items:start;margin:0;padding:16px;border:1px solid #c5cede;border-top:3px solid #435d86;border-radius:6px;background:#f3f6fa}
body.county-page .print-card-story .print-card-heading{grid-column:1/-1}
body.county-page .print-card-story .street-eyebrow{font-size:10px;line-height:1.4;margin:0 0 5px}
body.county-page .print-card-story h3{font-size:19px;line-height:1.25;margin:0}
body.county-page .print-card-story #print-thumb{width:104px;padding:5px;margin:0;background:white;border:1px solid #cdd6e3;box-shadow:1px 3px 7px #1b304e1a;border-radius:2px}
body.county-page .print-card-story #print-thumb:hover{border-color:#43658a;box-shadow:1px 3px 9px #1b304e30}
body.county-page .print-card-story #print-thumb img{display:block;width:100%;height:auto}
body.county-page .print-card-story .print-card-description{font-size:12px;line-height:1.6;color:#53657b;margin:0;align-self:center}
body.county-page .print-card-story .print-card-action{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;min-height:37px;padding:8px 11px;border:1px solid #33587f;border-radius:6px;background:#3d5f85;color:#fff;font-size:13px;font-weight:600;text-decoration:none}
body.county-page .print-card-story .print-card-action:hover{background:#294b72}
@media(min-width:781px) and (max-width:1000px){body.county-page .county-story .print-card-story{grid-template-columns:88px minmax(0,1fr);gap:11px;padding:13px}body.county-page .print-card-story #print-thumb{width:88px}body.county-page .print-card-story .print-card-description{font-size:11px}}

/* Raised supporting cards and attached index tabs keep the county overview compact. */
body.county-page .street-intro{align-items:start}
body.county-page .county-story .print-card-story{align-self:start}
body.county-page .county-story-copy>p:last-child{margin-bottom:0}
body.county-page .places-box{background:none;border:0;border-radius:0;padding:0;margin:22px 0 30px}
body.county-page .places-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;position:relative;z-index:1}
body.county-page .places-toolbar .filter-tabs{display:flex;flex-wrap:nowrap;gap:0;margin:0;padding:0;align-items:flex-end}
body.county-page .places-toolbar .filter-tabs button{position:relative;min-height:40px;margin:0 0 0 -1px;padding:10px 16px 9px;border:1px solid #aabbd0;border-bottom:0;border-radius:10px 13px 0 0;background:#e3eaf3;color:#456080;font-size:13px;font-weight:600;white-space:nowrap;box-shadow:inset 0 2px 0 #f8fafc;z-index:1}
body.county-page .places-toolbar .filter-tabs button:first-child{margin-left:0}
body.county-page .places-toolbar .filter-tabs button:hover{background:#eef3f9;color:#233f64}
body.county-page .places-toolbar .filter-tabs button[aria-selected=true]{z-index:3;min-height:45px;padding-top:12px;background:#f3f6fa;color:#263f61;box-shadow:inset 0 3px 0 #435d86}
body.county-page .places-toolbar .filter-tabs button[aria-selected=true]::after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:2px;background:#f3f6fa}
body.county-page .places-toolbar .filter-tabs button:focus-visible{z-index:4;outline-offset:-5px}
body.county-page .places-toolbar .filter-tabs span{font-size:11px;font-weight:600;margin-left:6px;color:#60748e}

body.county-page .places-card{position:relative;border:1px solid #aabbd0;border-radius:0 6px 6px 6px;background:#f3f6fa;padding:16px 21px 13px;box-shadow:0 3px 0 -1px #e0e7ef,0 5px 0 -1px #bbc9db}
body.county-page .places-card .place-group{max-height:310px;scrollbar-gutter:stable}
body.county-page .places-card .place-list{gap:0 20px}
body.county-page .places-card .place-list li{padding:8px 0}
body.county-page .places-footnotes{display:flex;flex-wrap:wrap;gap:4px 20px;margin-top:12px}
body.county-page .places-footnotes .county-small{font-size:10px;line-height:1.5;margin:0}
@media(max-width:760px){body.county-page .street-intro>.street-place-search{grid-row:4}}
@media(max-width:600px){body.county-page .places-toolbar{flex-wrap:wrap;gap:8px}body.county-page .places-toolbar .filter-tabs{width:100%}body.county-page .places-toolbar .filter-tabs button{flex:1;padding:10px 9px 9px;font-size:12px}body.county-page .places-toolbar .filter-tabs button[aria-selected=true]{padding-top:12px}body.county-page .places-toolbar .filter-tabs span{font-size:10px;margin-left:4px}body.county-page .places-card{padding:12px 13px}body.county-page .places-card .place-list{gap:0 12px}}
@media(max-width:380px){body.county-page .places-toolbar .filter-tabs button{font-size:11px;padding-inline:6px}}

/* Country folders share the settlement index-card treatment. */


body.county-page .directory-card{padding:12px 20px 13px}
body.county-page .directory-card .county-group{margin:0;border:0;border-radius:0;background:transparent;max-height:390px;overflow:auto;scrollbar-gutter:stable}
body.county-page .directory-card .county-links{padding:0;margin:0;gap:0 23px}
body.county-page .directory-card .county-links a{padding:10px 0}
body.county-page .directory-card #county-count{margin:12px 0 0;font-size:11px;color:#617086}

@media(max-width:600px){body.county-page .directory-card{padding:10px 13px 12px}body.county-page .directory-card .county-links{gap:0 12px}body.county-page .directory-card .county-links a{font-size:12px}}

body.county-page #about-county>.county-story-eyebrow{font-size:11px;line-height:1.5;margin:0 0 8px}

/* Return from either details column to its matching map and purchase selection. */
body.county-page .county-hero{scroll-margin-top:18px}
body.county-page .spec-grid>div{display:flex;flex-direction:column;min-width:0}
body.county-page .spec-grid dl{flex:1;align-content:start}
body.county-page .spec-file-format{display:flex;align-items:flex-start;gap:8px}
body.county-page .spec-file-format>span:first-child{display:flex;flex:none}
body.county-page .spec-file-format .street-format-icon{width:25px;height:31px}
body.county-page .spec-file-format>span:last-child{padding-top:5px}
body.county-page .spec-map-action{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;margin-top:20px;padding:11px 14px;border-radius:6px;text-align:left;white-space:normal;font-size:14px;line-height:1.4;background:#245b87;border-color:#173f60;box-shadow:0 2px 0 #173f60;color:white}
body.county-page .spec-map-action svg{flex:none}
body.county-page .spec-map-action:hover{background:#173f60}
body.county-page .spec-map-action[data-select-map=whole]{background:#287045;border-color:#205b38;box-shadow:0 2px 0 #205b38}
body.county-page .spec-map-action[data-select-map=whole]:hover{background:#205b38}

/* Match the street-map sample request, including its two clear download choices. */
body.county-page #sample-dialog.street-pdf-gate{padding:0;border:1px solid #aabed4;border-radius:8px;width:min(560px,calc(100vw - 28px));max-height:calc(100dvh - 28px)}
body.county-page .pdf-gate-title{align-items:flex-start}
body.county-page .pdf-gate-title .street-format-icon{flex:none}
body.county-page .pdf-gate-title p{margin:0}
body.county-page .pdf-gate-body .pdf-local-note{font-size:10px;line-height:1.4;color:#667488;margin:13px 0 0}
body.county-page .print-purchase{padding-top:3px}
body.county-page .print-purchase p{font-size:14px;margin:0 0 12px}
body.county-page #buy-print-map{display:flex;width:100%;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;border-radius:6px;background:#287045;border-color:#205b38;color:#fff;text-align:left;white-space:normal}
body.county-page #buy-print-map:hover{background:#205b38}
body.county-page #buy-print-map small{display:block;margin-top:3px;font-size:12px;font-weight:400}
@media(max-width:760px){body.county-page .colour-copy{align-self:stretch}body.county-page .colour-demo{max-width:620px}}

/* Shared readable type scale for county pages and the county hub. */
body.county-page .street-page{font-size:18px;line-height:1.6}
body.county-page .street-intro h1{font-size:40px;line-height:1.15}
body.county-page .street-place-introduction{font-size:18px;line-height:1.6}
body.county-page .street-eyebrow,body.county-page #about-county>.county-story-eyebrow{font-size:14px;line-height:1.5}
body.county-page .street-place-search label,body.county-page .street-place-search input,body.county-page .street-place-search button{font-size:16px}
body.county-page .county-section h2{font-size:30px;line-height:1.25}
body.county-page .county-section h3{font-size:21px;line-height:1.35}
body.county-page .county-section p,body.county-page .county-story p,body.county-page .feature-panel>p:not(.street-eyebrow):not(.county-small){font-size:18px;line-height:1.65}
body.county-page .county-story .standfirst{font-size:20px;line-height:1.6}
body.county-page .county-section .street-eyebrow{font-size:14px;line-height:1.5}
body.county-page .county-section p.county-small,body.county-page .county-small,body.county-page .places-footnotes .county-small{font-size:14px;line-height:1.6}
body.county-page .spec-grid dl{font-size:18px;line-height:1.6;grid-template-columns:minmax(115px,.37fr) minmax(0,1fr)}
body.county-page .spec-grid dt{font-size:16px}
body.county-page .spec-map-action{font-size:18px;padding:13px 16px}
body.county-page .place-list li,body.county-page .directory-card .county-links a{font-size:17px;line-height:1.5}
body.county-page .directory-card .county-links a span{font-size:11px}
body.county-page .places-toolbar .filter-tabs button{font-size:17px;padding:13px 17px}
body.county-page .places-toolbar .filter-tabs span{font-size:14px}
body.county-page .county-facts strong,body.county-page .postcode-overview strong{font-size:32px}
body.county-page .county-facts span,body.county-page .postcode-overview span{font-size:15px;line-height:1.5}
body.county-page .county-section table{font-size:16px;line-height:1.5}
body.county-page .county-section thead th{font-size:15px}
body.county-page .postcode-details>summary{font-size:18px}
body.county-page .postcode-details>summary span,body.county-page .postcode-area-note{font-size:14px}
body.county-page .postcode-area-heading>a{font-size:16px}
body.county-page .table-toolbar,body.county-page .county-section input[type=search],body.county-page .small-download{font-size:16px}
body.county-page .neighbour-title{font-size:19px!important}
body.county-page .neighbour{font-size:17px;line-height:1.5}
body.county-page .county-faq>details>summary,body.county-page .county-faq>details>p{font-size:18px;line-height:1.6}
body.county-page .map-caption{font-size:15px;line-height:1.5}
body.county-page .county-page-nav a{font-size:16px;padding:8px 12px}
body.county-page .copyright-note,body.county-page .county-payment-preview-note{font-size:14px;line-height:1.5}
body.county-page .street-buy-panel h2{font-size:30px;line-height:1.25}
body.county-page .street-buy-intro{font-size:18px;line-height:1.6}
body.county-page .street-buy-panel legend{font-size:18px}
body.county-page .street-map-tabs button{font-size:16px;line-height:1.25;min-height:34px}
body.county-page .street-map-tabs button[aria-pressed=true]{min-height:38px}
body.county-page .street-package-title{flex-wrap:wrap;gap:5px 9px}
body.county-page .street-package-title strong{font-size:18px;line-height:1.3}
body.county-page .street-package-title b{font-size:23px}
body.county-page .street-package-description{font-size:15px;line-height:1.5}
body.county-page .street-buy-button.street-download-action{font-size:18px!important;line-height:1.4;padding:13px 15px}
body.county-page .street-buy-panel .street-offer-note{font-size:14px;line-height:1.6}
body.county-page .street-buy-panel .street-action-reassurance{font-size:16px}
body.county-page .street-map-benefits li{font-size:18px;line-height:1.4}
body.county-page .sc-recovery-entry{font-size:16px;line-height:1.5}
body.county-page .print-card-story .street-eyebrow{font-size:14px}
body.county-page .print-card-story h3{font-size:21px}
body.county-page .print-card-story .print-card-description{font-size:16px;line-height:1.6}
body.county-page .print-card-story .print-card-action{font-size:17px;padding:11px 13px}
body.county-page .colour-copy{padding:22px 24px}
body.county-page .colour-copy .street-eyebrow{font-size:14px}
body.county-page .colour-copy h2{font-size:30px;line-height:1.25}
body.county-page .colour-copy>p{font-size:18px;line-height:1.6}
body.county-page .colour-copy li{font-size:17px;line-height:1.6}
body.county-page .colour-cta{font-size:18px;line-height:1.45;padding:13px 16px}
body.county-page .colour-copy>.county-small,body.county-page .colour-other{font-size:15px;line-height:1.6}
body.county-page .county-search-list strong{font-size:16px}
body.county-page .county-search-list span,body.county-page #quick-county-results .county-search-message,body.county-page #quick-county-results .county-search-footer{font-size:14px}
/* Tab labels already contain the totals; retain only the accessible announcement. */
body.county-page .directory-card #county-count{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:760px){body.county-page .street-intro h1{font-size:34px}body.county-page .colour-copy{padding:20px}body.county-page .spec-grid dl{grid-template-columns:125px minmax(0,1fr)}}
@media(max-width:600px){body.county-page .places-toolbar .filter-tabs button{font-size:16px;padding:12px 10px}body.county-page .places-toolbar .filter-tabs span{font-size:12px}body.county-page .place-list li,body.county-page .directory-card .county-links a,body.county-page .neighbour{font-size:16px}}
@media(max-width:480px){body.county-page .street-intro h1{font-size:32px}body.county-page .county-section h2,body.county-page .colour-copy h2{font-size:27px}body.county-page .spec-grid dl{grid-template-columns:1fr}body.county-page .county-page-nav a{font-size:15px}body.county-page .county-facts strong,body.county-page .postcode-overview strong{font-size:28px}body.county-page .colour-copy{padding:18px}body.county-page #about-county .filter-tabs button{white-space:normal;line-height:1.35;min-height:84px}body.county-page #about-county .filter-tabs button[aria-selected=true]{min-height:88px}body.county-page #about-county .filter-tabs span{display:block;margin:3px 0 0}body.county-page .street-map-tabs button{font-size:13px}body.county-page .neighbours{grid-template-columns:1fr}}

/* Align the full county animation with the larger, readable text card. */
body.county-page .colouring-panel{align-items:stretch}
body.county-page .colouring-panel .colour-copy{align-self:stretch;justify-content:center;padding:20px 22px}
body.county-page .colouring-panel .colour-copy h2{line-height:1.2}
body.county-page .colouring-panel .colour-copy>p{line-height:1.5}
body.county-page .colouring-panel .colour-copy li{line-height:1.5}
body.county-page .colouring-panel .colour-copy>.county-small{line-height:1.5;margin:0}
body.county-page .colour-demo>#pause-demo{position:absolute;z-index:1;top:8px;right:8px;bottom:auto;display:block;width:36px;height:36px;min-height:0;margin:0;padding:0;border:1px solid #94a9c1;border-radius:5px;background:#fff;color:#294667;font-size:0;box-shadow:0 1px 5px #1c34512b;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14M16 5v14' stroke='%23294667' stroke-width='4'/%3E%3C/svg%3E");background-size:18px;background-position:center;background-repeat:no-repeat}
body.county-page .colour-demo>#pause-demo[aria-pressed=true]{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m8 4 12 8-12 8z' fill='%23294667'/%3E%3C/svg%3E")}
body.county-page .colour-demo>#pause-demo:hover{background-color:#eaf2fb}
body.county-page .colour-demo>#pause-demo:focus-visible{outline:3px solid #edb63e;outline-offset:2px}
@media(max-width:1240px){body.county-page .colouring-panel{grid-template-columns:minmax(0,1fr);gap:14px}body.county-page .colouring-panel .colour-demo{max-width:620px;margin:auto}}
@media(max-width:760px){body.county-page .colouring-panel .colour-copy{padding:18px}}
