/*
Theme Name: Harwich Police Association — Divi Child
Description: Community-focused Divi 5 design with native editable page layouts and researched interior content.
Author: BCS Website Design
Template: Divi
Version: 1.1.0
Text Domain: hpa-divi
*/
body.hpa-site{--navy:#102e4d;--gold:#dbb454;--ink:#22354a;--muted:#f5f5f0;line-height:1.75;color:var(--ink);font-family:Arial,Helvetica,sans-serif;background:white}
.hpa-site #page-container{padding-top:0!important;overflow:visible}.hpa-site #et-main-area{margin:0}.hpa-site a{color:#174e78}.hpa-site a:focus-visible,.hpa-site summary:focus-visible{outline:3px solid #99711d;outline-offset:5px}.hpa-site h1,.hpa-site h2,.hpa-site h3{font-family:Georgia,'Times New Roman',serif;font-weight:500;line-height:1.18;color:var(--navy)}.hpa-site h2{font-size:clamp(30px,3.5vw,44px);padding-bottom:22px}.hpa-site h3{font-size:25px;padding-bottom:16px}.hpa-site p{padding-bottom:20px}.hpa-inner{width:min(1160px,88%);margin:auto}.hpa-section{padding:76px 0}.hpa-small,figcaption{font-size:13px;line-height:1.6;color:#536473}.hpa-site img{max-width:100%;height:auto}.hpa-site figure{margin:0}.hpa-site .hpa-eyebrow{font:700 11px/1.6 Arial,sans-serif;letter-spacing:.15em;color:#795a18;margin:0 0 15px;padding:0}.hpa-header{background:white;border-bottom:1px solid #e8e8e2;position:relative;z-index:99}.hpa-header-inner{width:min(1440px,94%);margin:auto;display:flex;gap:24px;align-items:center;justify-content:space-between;min-height:105px}.hpa-site .hpa-brand{font-family:Georgia,serif;letter-spacing:.065em;font-weight:700;font-size:16px;line-height:1.3;color:var(--navy);display:flex;gap:12px;align-items:center}.hpa-brand img{width:55px;height:55px;object-fit:contain}.hpa-brand small{display:block;color:#70551c;letter-spacing:.3em;font:10px Arial,sans-serif;margin-top:9px}.hpa-links{list-style:none!important;display:flex;gap:22px;padding:0!important;margin:0!important;font-size:13px}.hpa-links li{position:relative;list-style:none}.hpa-links a{display:block;padding:18px 0;color:var(--navy)}.hpa-links li ul{display:none;position:absolute;top:100%;left:0;min-width:220px;background:white;box-shadow:0 8px 25px #102e4d26;padding:12px 20px!important;list-style:none}.hpa-links li:hover>ul,.hpa-links li:focus-within>ul{display:block}.hpa-links li ul a{padding:8px 0}.hpa-nav summary{display:none}.hpa-site .hpa-button{display:inline-block;background:var(--navy);color:white;text-decoration:none;border:0;border-radius:2px;padding:14px 23px;font:700 12px/1.5 Arial,sans-serif;letter-spacing:.06em;text-transform:uppercase;transition:filter .15s}.hpa-site .hpa-button:hover{filter:brightness(.9)}.hpa-site .hpa-gold{background:var(--gold);color:#10253d}.hpa-site .hpa-white{background:white;color:var(--navy)}.hpa-actions{display:flex;gap:18px;flex-wrap:wrap;margin-top:18px}.hpa-hero{background-size:cover;background-position:center;min-height:550px;display:flex;align-items:center;padding:70px 0}.hpa-site .hpa-hero h1{font-size:clamp(36px,4.5vw,64px);color:white;max-width:850px;padding-bottom:24px}.hpa-site .hpa-hero p{color:white;font-size:22px}.hpa-site .hpa-hero .hpa-eyebrow{font-size:11px;color:#f7df9c}.hpa-intro{max-width:800px;margin:0 auto 42px;text-align:center}.hpa-intro h2:after{content:'';display:block;width:55px;height:3px;background:var(--gold);margin:24px auto 0}.hpa-intro p{font-size:18px}.hpa-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:26px 0}.hpa-card{background:#f5f5f0;border-top:3px solid var(--gold);padding:30px;min-width:0}.hpa-card p{font-size:16px}.hpa-card a{font-size:15px;font-weight:700}.hpa-site .hpa-number{font:22px Georgia,serif;color:#856422;padding-bottom:26px}.hpa-board{grid-template-columns:repeat(4,minmax(0,1fr))}.hpa-board h3{font-size:22px}.hpa-two{grid-template-columns:repeat(2,minmax(0,1fr))}.hpa-split{display:grid;grid-template-columns:1.5fr 1fr;gap:64px;align-items:start}.hpa-callout{background:var(--navy);padding:55px 0}.hpa-site .hpa-callout h2,.hpa-site .hpa-callout p{color:white}.hpa-callout .hpa-split{align-items:center}.hpa-callout p{padding:0}.hpa-title{background:var(--navy);padding:64px 0 36px}.hpa-site .hpa-title h1{color:white;font-size:clamp(36px,5vw,58px);padding-bottom:24px}.hpa-site .hpa-title p,.hpa-site .hpa-title a{color:#fff;font-size:13px}.hpa-title h1:after{content:'';display:block;background:var(--gold);width:50px;height:3px;margin-top:24px}.hpa-panel{background:var(--muted);padding:32px;text-align:center}.hpa-panel img{max-width:220px;margin:0 auto 24px;display:block}.hpa-note{background:#faf5e8;border-left:3px solid #9d7b2e;padding:20px!important;font-size:15px}.hpa-sources{border-top:1px solid #d9dfe3;padding:15px 0;font-size:13px;color:#526071}.hpa-sources summary{cursor:pointer}.hpa-sources p{padding:12px 0}.hpa-text-link{display:inline-block;margin:10px 12px}.hpa-footer{background:#0d2742;color:#fff;padding:48px 0 22px}.hpa-site .hpa-footer a{color:#f5deb2}.hpa-footer-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:45px}.hpa-footer p{font-size:14px;padding:12px 0}.hpa-site .hpa-footer .hpa-brand{color:white}.hpa-footer-base{font-size:12px;border-top:1px solid #ffffff30;margin-top:32px;padding-top:20px}.hpa-footer-base span{display:block;margin-top:8px;color:#e1e6eb}.hpa-legacy-page{padding:60px 0;min-height:45vh}.hpa-legacy-page input:not([type=checkbox]):not([type=radio]),.hpa-legacy-page textarea,.hpa-legacy-page select{max-width:100%;border:1px solid #8393a3;border-radius:2px;padding:10px;background:white;color:#18314a}.hpa-legacy-page input[type=submit]{cursor:pointer;background:var(--navy);color:white}.hpa-skip{position:absolute;left:15px;top:-100px;background:white;padding:10px;z-index:9999}.hpa-skip:focus{top:10px}
/* Native Divi page structure: design spacing lives in the editable HTML sections. */
.hpa-layout .hpa-builder-page .et_pb_section{padding:0!important;background:transparent}.hpa-layout .hpa-builder-page .et_pb_row{width:100%!important;max-width:none!important;padding:0!important}.hpa-layout .hpa-builder-page .et_pb_column{width:100%!important;margin:0!important}.hpa-layout .hpa-builder-page .et_pb_text{margin-bottom:0!important}.hpa-layout .hpa-builder-page .et_pb_text_inner{font-size:18px;line-height:1.75}.hpa-layout .hpa-builder-page .et_pb_text_inner a{color:#174e78}.hpa-layout .hpa-builder-page .et_pb_text_inner .hpa-button{color:white}.hpa-layout .hpa-builder-page .et_pb_text_inner .hpa-gold,.hpa-layout .hpa-builder-page .et_pb_text_inner .hpa-white{color:var(--navy)}
@media(max-width:1100px){.hpa-header-inner{gap:15px}.hpa-links{gap:14px;font-size:12px}.hpa-site .hpa-brand{font-size:13px}.hpa-board{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.hpa-header-inner{min-height:88px;flex-wrap:wrap;padding:18px 0;gap:15px}.hpa-nav{order:3;width:100%}.hpa-nav summary{display:block;cursor:pointer;color:var(--navy);font-weight:700;padding:5px 0}.hpa-links{display:block}.hpa-links a{padding:10px 0}.hpa-links li ul{display:block;position:static;box-shadow:none;padding:0 0 0 18px!important}.hpa-menu-content{padding-top:14px}.hpa-section{padding:48px 0}.hpa-split{gap:30px;grid-template-columns:1fr}.hpa-grid{grid-template-columns:1fr}.hpa-board,.hpa-two{grid-template-columns:repeat(2,minmax(0,1fr))}.hpa-hero{min-height:480px}.hpa-inner{width:88%}.hpa-footer-grid{grid-template-columns:1fr;gap:18px}}
@media(max-width:500px){.hpa-site .hpa-brand{font-size:11px;letter-spacing:.03em;max-width:220px}.hpa-header-inner{width:90%}.hpa-donate{padding:10px 13px!important;font-size:10px!important}.hpa-board,.hpa-two{grid-template-columns:1fr}.hpa-card{padding:24px}.hpa-hero{min-height:460px}.hpa-site .hpa-hero p{font-size:19px}.hpa-site .hpa-hero h1{font-size:36px}.hpa-actions{gap:12px}.hpa-title{padding:40px 0 25px}}
@media(prefers-reduced-motion:reduce){.hpa-site .hpa-button{transition:none}}
/* Keep offline preview and WordPress spacing consistent. */
body.hpa-site{margin:0}.hpa-site *{box-sizing:border-box}.hpa-site h1,.hpa-site h2,.hpa-site h3,.hpa-site p{margin-top:0;margin-bottom:0}.hpa-site .hpa-brand,.hpa-links a{text-decoration:none}.hpa-site .hpa-hero h1{font-size:clamp(36px,4.2vw,58px);max-width:1000px}.hpa-intro{max-width:960px}
