/* UK-only functional additions. FerryEU master styles remain unchanged. */
[hidden]{display:none!important}
.uk-directory-section .directory-controls{display:grid;grid-template-columns:2fr 1fr auto;gap:18px;align-items:end;margin:24px 0}
.directory-controls label{display:block;font-weight:750;color:var(--navy);margin-bottom:7px}
.directory-controls input,.directory-controls select{width:100%;min-height:54px;border:1px solid #cddbe5;border-radius:11px;padding:11px 13px;background:#fff;color:var(--ink)}
.uk-directory-section .operator-story-card>a>img{width:100%;height:220px;object-fit:cover}
.operator-story-card>a>img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover}
.operator-story-copy{padding:24px}
.operator-story-copy h3{margin:0 0 12px;color:var(--navy)}
.operator-story-copy p{margin:0;color:var(--muted)}
.status-notice{padding:22px;border-left:5px solid var(--gold);background:var(--soft);margin:20px 0}
.photo-caption,.sources{font-size:.875rem;color:var(--muted)}
.sources a{overflow-wrap:anywhere}
.section>.container-wide>h2{color:var(--navy)}
.section>.container-wide>p{max-width:960px}
.ferryeu-uk-results{padding:10px 28px 28px}
.ferryeu-uk-results a{display:block;padding:15px 0;border-bottom:1px solid var(--line);font-weight:750;color:var(--navy);text-decoration:none}
.ferryeu-uk-results small{display:block;color:var(--muted);font-weight:400}
.contact-uk-form{display:grid;gap:18px}
.contact-uk-form label{display:block;font-weight:700}
.contact-uk-form input:not([type=checkbox]):not([type=hidden]),.contact-uk-form select,.contact-uk-form textarea{display:block;width:100%;padding:12px 13px;border:1px solid #bdcedc;border-radius:10px;font:inherit}
.contact-uk-form textarea{min-height:170px}
.contact-uk-form .hp-field{position:absolute;left:-9999px}
.table-wrap{overflow:auto}
.eu-language-card small{display:block}
.booking-section{display:none}
@media(max-width:767px){.uk-directory-section .directory-controls{grid-template-columns:1fr}.ferryeu-uk-results{padding-inline:18px}}

/* Requested UK refinements; shared FerryEU master styles and branding retained. */
body.route-master-v2.uk-refined-route main>section.section{padding-top:28px;padding-bottom:28px}
body.uk-refined-route main>section.section .section-heading{margin-bottom:18px}
body.uk-refined-route .section>.container-wide>h2{margin-top:0;margin-bottom:18px}
body.uk-refined-route .section p:last-child{margin-bottom:0}
body.uk-region-page main>section.section{padding-top:32px;padding-bottom:32px}
body.uk-region-page main>section.uk-region-planning{padding-top:24px;padding-bottom:24px}
body.uk-region-page .uk-region-planning h2{margin-top:0;margin-bottom:16px}
.uk-official-booking{padding:22px 24px;margin-bottom:24px;background:#eef5fa;border-left:4px solid #f2bd4b;border-radius:12px;color:#173c58}
.uk-official-booking h3{margin:6px 0 10px;font-size:1.5rem;color:#062b4f}
.uk-official-booking p{max-width:950px;margin:0 0 16px}
.uk-official-actions{display:flex;flex-wrap:wrap;gap:12px}
.uk-official-actions .button{white-space:normal;text-align:center}
.uk-network-notes{margin-top:24px;max-width:1050px}
.uk-network-notes h3{margin:0 0 12px;color:#062b4f}
.uk-country-routes{border:1px solid #d9e3ea;border-radius:12px;padding:18px 22px;margin:14px 0;background:#fff}
.uk-country-routes summary{cursor:pointer;font-size:1.2rem;font-weight:800;color:#062b4f}
.uk-country-routes summary span{font-size:.85rem;font-weight:400;margin-left:14px;color:#607487}
.uk-route-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 26px;list-style:none;padding:0;margin:20px 0 0}
.uk-route-links li{border-top:1px solid #d9e3ea;padding:10px 0}
.uk-route-links a{font-weight:750;color:#062b4f;text-decoration:none}
.uk-route-links a:hover{text-decoration:underline}
.uk-route-links small{display:block;color:#607487;font-size:.8rem;margin-top:3px}
body.uk-refined-route .uk-refined-ports .route-port-media{height:270px}
@media(min-width:768px){
 .uk-refined-route .operator-story-grid:has(>.operator-story-card:only-child){grid-template-columns:1fr}
 .uk-refined-route .operator-story-grid>.operator-story-card:only-child:has(>a>img){display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
 .uk-refined-route .operator-story-grid>.operator-story-card:only-child>a>img{height:100%;max-height:300px;min-height:210px}
}
@media(max-width:767px){
 body.route-master-v2.uk-refined-route main>section.section{padding-top:22px;padding-bottom:22px}
 body.uk-region-page main>section.section{padding-top:24px;padding-bottom:24px}
 .uk-route-links{grid-template-columns:1fr}
 .uk-country-routes summary span{display:block;margin:6px 0 0}
 .uk-official-booking{padding:18px 16px}
 body.uk-refined-route .uk-refined-ports .route-port-media{height:230px}
}
