/* Individual departments keep their own colours within the public Oceanview shell. */
.ov-department-page { --dept-color:#eac58f; --dept-highlight:#eed0a1; --dept-wash:#283530; }
.ov-theme-county { --dept-color:#abbd86; --dept-highlight:#c5d4a6; --dept-wash:#273429; }
.ov-theme-municipal { --dept-color:#8eb7d4; --dept-highlight:#b7d9ec; --dept-wash:#203848; }
.ov-theme-fire { --dept-color:#c1121f; --dept-highlight:#ffaab2; --dept-wash:#3e2027; }
.ov-theme-government { --dept-color:#eac58f; --dept-highlight:#eed0a1; --dept-wash:#39332b; }
.ov-department-page .ov-label { color:var(--dept-highlight); }
.ov-department-page .ov-button { background:var(--dept-color); border-color:var(--dept-color); }
.ov-theme-fire .ov-button { color:white!important; }
.ov-department-page .ov-button:hover { filter:brightness(1.1); }
.ov-dept-background { display:block; width:100%; object-fit:cover; }
.ov-directory-hero,.ov-dept-hero { position:relative; isolation:isolate; padding:55px 0 0; background:var(--ov-ink); }
.ov-directory-hero .ov-shell { padding-bottom:45px; }
.ov-directory-hero>.ov-dept-background { position:absolute; inset:0; height:100%; z-index:-2; object-position:50% 65%; }
.ov-directory-hero::after { content:''; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,#101f29 0%,#101f29eb 38%,#101f2975 75%,#101f2940); }
.ov-breadcrumb { display:inline-flex; align-items:center; min-height:44px; font-size:13px; color:var(--ov-muted)!important; margin-bottom:32px; }
.ov-directory-hero h1,.ov-dept-hero h1 { font:600 clamp(70px,6.8vw,110px)/.92 var(--ov-display); text-transform:uppercase; margin-bottom:30px; }
.ov-directory-hero h1 span,.ov-dept-hero h1 span { color:var(--dept-highlight); }
.ov-directory-hero .ov-shell>p:not(.ov-label) { max-width:540px; color:var(--ov-muted); font-size:17px; }
.ov-directory-hero { min-height:560px; padding-top:50px; }
.ov-dept-hero-heading { display:grid; grid-template-columns:1.4fr .6fr; gap:60px; align-items:center; }
.ov-dept-intro { max-width:700px!important; color:var(--ov-muted); font-size:17px; }
.ov-dept-hero-code { font:600 clamp(120px,16vw,235px)/1 var(--ov-display); color:var(--dept-highlight); text-align:right; }
.ov-dept-hero-meta { display:flex; align-items:center; justify-content:space-between; gap:25px; margin-top:45px; padding:24px 0; border-top:1px solid var(--ov-line); font:11px/1.5 var(--mono); text-transform:uppercase; color:var(--ov-muted); }
.ov-dept-hero>.ov-dept-background { height:auto; max-height:620px; aspect-ratio:2.8; margin-top:0; }
.ov-dept-photo-caption { display:flex; align-items:center; justify-content:space-between; gap:20px; margin:0!important; padding:18px 48px; background:var(--dept-wash); font:11px var(--mono); }
.ov-dept-photo-caption span { color:var(--ov-muted); }
.ov-organisation-strip { background:#192f3c; border-block:1px solid var(--ov-line); padding:35px 0; }
.ov-organisation-strip .ov-shell { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:70px; }
.ov-organisation-strip .ov-label { display:block; margin-bottom:8px!important; }
.ov-organisation-strip strong { font:500 25px/1.3 var(--body); }
.ov-organisation-strip p { color:var(--ov-muted); margin:8px 0 0; font-size:15px; }
.ov-organisation-arrow { font-size:34px; color:var(--dept-highlight); }
.ov-department-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:55px 35px; }
.ov-department-card { display:flex; flex-direction:column; text-decoration:none!important; }
.ov-department-card-image { position:relative; border-bottom:3px solid var(--dept-color); }
.ov-department-card-image img { aspect-ratio:1.85; object-fit:cover; }
.ov-department-code { display:none; }
.ov-recruitment-badge { position:absolute; top:18px; right:18px; background:#c1121f; color:#fff; font-size:12px; padding:7px 12px; }
.ov-department-card-copy { padding:28px 0 0; display:flex; flex-direction:column; flex:1; }
.ov-department-card h3 { font:600 40px/1 var(--ov-display); text-transform:uppercase; margin-bottom:18px; }
.ov-department-card p { color:var(--ov-muted); font-size:16px; margin-bottom:25px; }
.ov-department-card-copy .ov-label { margin-bottom:15px!important; }
.ov-department-card-agencies { display:flex; flex-wrap:wrap; gap:15px; font:11px var(--mono); color:var(--dept-highlight); padding-bottom:22px; margin-top:auto; }
.ov-department-card-link { border-top:1px solid var(--ov-line); padding-top:18px; display:flex; align-items:center; justify-content:space-between; color:var(--dept-highlight); font-size:15px; }
.ov-department-card:hover .ov-department-card-link { text-decoration:underline; }
.ov-dept-section-nav { border-bottom:1px solid var(--ov-line); background:#192f3c; }
.ov-dept-section-nav .ov-shell { display:flex; gap:0 30px; flex-wrap:wrap; }
.ov-dept-section-nav a { display:inline-flex; align-items:center; min-height:60px; font-size:13px; color:var(--ov-muted); }
.ov-section-heading h2 em { color:var(--dept-highlight); font-style:normal; }
.ov-identity-grid { display:grid; grid-template-columns:.85fr 1.25fr; gap:70px; }
.ov-ooc-card { border-top:3px solid var(--dept-color); padding:28px; background:var(--dept-wash); }
.ov-ooc-code { display:block; font:600 100px/1 var(--ov-display); color:var(--dept-highlight); margin:28px 0; }
.ov-ooc-card h3 { font:500 25px/1.2 var(--body); margin-bottom:18px; }
.ov-ooc-card p { color:var(--ov-muted); font-size:16px; margin:0; }
.ov-ic-agencies>.ov-label { margin-bottom:22px!important; }
.ov-ic-agencies article { display:grid; grid-template-columns:110px 1fr; gap:25px; padding:25px 0; border-top:1px solid var(--ov-line); }
.ov-ic-code { font:600 26px/1.2 var(--ov-display); color:var(--dept-highlight); }
.ov-ic-agencies h3 { font:500 21px/1.25 var(--body); margin-bottom:10px; }
.ov-ic-agencies p { color:var(--ov-muted); font-size:15px; margin:0; }
.ov-dispatch-line { margin-top:12px!important; font-size:12px!important; }
.ov-dispatch-line a { text-decoration:underline; }
.ov-agency-note { margin:40px 0 0!important; padding:20px 24px; border-left:3px solid var(--dept-color); background:var(--dept-wash); color:var(--ov-muted); font-size:15px; }
.ov-dept-experience { background:#192f3c; border-block:1px solid var(--ov-line); }
.ov-dept-highlights { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:45px; }
.ov-dept-highlights article { border-top:1px solid var(--ov-line); padding-top:22px; }
.ov-dept-highlights h3 { font:600 37px/1.05 var(--ov-display); margin-bottom:20px; }
.ov-dept-highlights p { color:var(--ov-muted); font-size:16px; margin:0; }
.ov-profile-subheading { display:flex; align-items:center; gap:20px; font:500 24px var(--body); margin:0 0 30px!important; }
.ov-profile-subheading>span { font:12px var(--mono); color:var(--dept-highlight); }
.ov-specialism-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0 40px; margin-bottom:50px; }
.ov-specialism-grid article { border-top:1px solid var(--ov-line); padding:24px 0; }
.ov-specialism-grid h4 { font:500 21px/1.3 var(--body); margin-bottom:15px; }
.ov-specialism-grid p { color:var(--ov-muted); font-size:15px; margin:0; }
.ov-certifications { display:grid; grid-template-columns:1fr 1fr; gap:0 40px; }
.ov-certifications details { border-top:1px solid var(--ov-line); }
.ov-certifications summary { display:flex; justify-content:space-between; gap:25px; align-items:center; list-style:none; min-height:78px; font-size:17px; }
.ov-certifications summary>span { color:var(--dept-highlight); font-size:25px; }
.ov-certifications details[open] summary>span,.ov-application-preview[open]>summary>span:last-child { transform:rotate(45deg); }
.ov-certifications p { color:var(--ov-muted); font-size:15px; padding-bottom:24px; }
.ov-command-section { background:var(--dept-wash); border-block:1px solid var(--ov-line); }
.ov-command-grid { display:grid; grid-template-columns:1fr 1fr; gap:50px; }
.ov-command-grid article { border-top:1px solid var(--dept-highlight); padding-top:28px; }
.ov-command-grid h3 { font:600 58px/1 var(--ov-display); margin:20px 0 28px; text-transform:uppercase; }
.ov-command-grid dl { font-size:15px; margin:0; }
.ov-command-grid dl>div { display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; padding:12px 0; border-top:1px solid var(--ov-line); }
.ov-command-grid dt { color:var(--ov-muted); }.ov-command-grid dd { margin:0; }
.ov-profile-note { color:var(--ov-muted); margin:25px 0 0!important; font-size:12px; }
.ov-ranks-layout { display:grid; grid-template-columns:1fr 1fr; gap:80px; }
.ov-ranks-layout h2 { margin-bottom:25px; }.ov-ranks-layout p { color:var(--ov-muted); }
.ov-pay-label { font:11px var(--mono); color:var(--dept-highlight); }
.ov-rank-table { width:100%; border-collapse:collapse; font-size:15px; }
.ov-rank-table thead th { padding-bottom:18px; text-align:left; font:11px var(--mono); text-transform:uppercase; color:var(--dept-highlight); }
.ov-rank-table tbody th { text-align:left; font-weight:400; }.ov-rank-table td,.ov-rank-table tbody th { padding:13px 0; border-top:1px solid var(--ov-line); }.ov-rank-table td,.ov-rank-table thead th:last-child { text-align:right; }.ov-rank-table td { font:14px var(--mono); color:var(--dept-highlight); }
.ov-department-pathway { padding:80px 0; border-top:1px solid var(--ov-line); background:var(--dept-wash); }
.ov-department-pathway h2 { font:600 clamp(45px,4vw,64px)/1 var(--ov-display); text-transform:uppercase; margin:0 0 30px; }.ov-department-pathway h2 em { font-style:normal; color:var(--dept-highlight); }
.ov-pathway-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:40px; margin-bottom:32px; }.ov-pathway-grid>div { border-top:1px solid var(--ov-line); padding-top:20px; }.ov-pathway-grid span { font-size:18px; }.ov-pathway-grid p { margin:15px 0 0; color:var(--ov-muted); font-size:15px; }
.ov-recruitment-description { max-width:850px!important; color:var(--ov-muted); font-size:17px; margin-bottom:30px!important; }
.ov-recruitment-inline { position:static; display:inline-block; margin-bottom:28px; }
.ov-member-pathways { margin-top:40px; }.ov-member-pathways h3 { font:500 23px var(--body); margin-bottom:15px; }.ov-member-pathways p { color:var(--ov-muted); font-size:15px; }.ov-member-pathways ul { list-style:none; padding:0; }.ov-member-pathways li { display:flex; justify-content:space-between; align-items:center; gap:20px; border-top:1px solid var(--ov-line); padding:12px 0; font-size:15px; }.ov-member-pathways a { display:inline-flex; align-items:center; gap:10px; min-height:44px; color:var(--dept-highlight); }
.ov-application-preview { margin-top:40px; border-top:1px solid var(--ov-line); }.ov-application-preview>summary { min-height:78px; display:flex; align-items:center; justify-content:space-between; gap:25px; list-style:none; font-size:18px; }.ov-application-preview>summary>span:last-child { color:var(--dept-highlight); font-size:25px; }.ov-application-preview>div { padding-top:15px; }.ov-application-preview p { color:var(--ov-muted); font-size:15px; }
.ov-questionnaire { display:grid; grid-template-columns:1fr 1fr; gap:30px 50px; padding-top:25px; }.ov-questionnaire h3 { font:500 22px/1.2 var(--body); margin-bottom:20px; }.ov-questionnaire ol { padding-left:20px; font-size:15px; color:var(--ov-muted); }.ov-questionnaire li { padding:0 0 12px 5px; }.ov-reviewer-note { padding-top:20px; border-top:1px solid var(--ov-line); }
.ov-more-departments { padding:50px 0; border-block:1px solid var(--ov-line); }.ov-more-departments .ov-label { display:block; }.ov-more-departments .ov-shell>div { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:35px; }.ov-more-departments a { display:flex; align-items:center; justify-content:space-between; gap:20px; min-height:60px; border-top:1px solid var(--ov-line); font-size:16px; }
.ov-visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
@media(max-width:1000px) {
 .ov-dept-hero-heading { grid-template-columns:1fr; }.ov-dept-hero-code { display:none; }.ov-identity-grid { grid-template-columns:1fr; gap:35px; }.ov-dept-highlights,.ov-specialism-grid { grid-template-columns:1fr 1fr; gap:35px; }.ov-dept-highlights article:last-child { grid-column:1/-1; }.ov-ranks-layout { gap:40px; }.ov-dept-hero>.ov-dept-background { aspect-ratio:2.1; }
}
@media(max-width:600px) {
 .ov-directory-hero,.ov-dept-hero { padding-top:30px; }.ov-directory-hero { min-height:560px; }.ov-directory-hero h1,.ov-dept-hero h1 { font-size:clamp(57px,14vw,78px); }.ov-directory-hero::after { background:#101f29d9; }.ov-breadcrumb { margin-bottom:25px; }.ov-dept-intro { font-size:16px; }.ov-dept-hero-meta { flex-direction:column; align-items:flex-start; margin-top:30px; gap:10px; }.ov-dept-hero>.ov-dept-background { aspect-ratio:1428/803; }.ov-dept-photo-caption { padding:14px 20px; flex-direction:column; align-items:flex-start; gap:4px; font-size:10px; }.ov-dept-section-nav .ov-shell { gap:0 20px; }.ov-dept-section-nav a { min-height:48px; font-size:12px; }.ov-organisation-strip .ov-shell { grid-template-columns:1fr; gap:25px; }.ov-organisation-arrow { display:none; }.ov-organisation-strip strong { font-size:22px; }.ov-department-grid { grid-template-columns:1fr; gap:40px; }.ov-department-card h3 { font-size:36px; }.ov-ic-agencies article { grid-template-columns:1fr; gap:12px; }.ov-dept-highlights,.ov-specialism-grid,.ov-certifications,.ov-command-grid,.ov-ranks-layout,.ov-pathway-grid,.ov-questionnaire,.ov-more-departments .ov-shell>div { grid-template-columns:1fr; }.ov-command-grid h3 { font-size:50px; }.ov-dept-highlights h3 { font-size:35px; }.ov-department-pathway { padding:60px 0; }.ov-department-pathway h2 { font-size:45px; }.ov-member-pathways li { flex-direction:column; align-items:flex-start; gap:5px; }.ov-recruitment-description { font-size:16px; }.ov-department-pathway .ov-button { font-size:14px; gap:15px; max-width:100%; }.ov-ooc-card { padding:25px; }.ov-more-departments .ov-shell>div { gap:10px; }
}
