:root{--navy:#153247;--blue:#1e6581;--pale:#edf5f8;--text:#263540}*{box-sizing:border-box}body{margin:0;font:16px/1.7 system-ui,-apple-system,Segoe UI,sans-serif;color:var(--text);background:white}a{color:var(--blue)}.wrap{max-width:1120px;margin:auto;padding:0 24px}header{background:#fff;box-shadow:0 2px 12px #132c401a}.top{display:flex;justify-content:space-between;align-items:center;padding-top:18px;padding-bottom:15px;gap:15px}.brand{text-decoration:none;color:var(--navy);font-size:1.8rem;font-weight:800;letter-spacing:.025em}.brand span{font-size:.8rem;display:block;letter-spacing:.14em;font-weight:600}.phone{font-weight:700;text-decoration:none}nav{display:flex;gap:28px;border-top:1px solid #e6edf1;padding-top:10px!important;padding-bottom:12px!important}nav a{text-decoration:none;font-weight:600}section{padding:45px 0}h1,h2,h3{color:var(--navy);line-height:1.2}h1{font-size:clamp(2rem,5vw,3.5rem)}h2{font-size:1.9rem}h3{font-size:1.12rem}.hero{padding:78px 30px;background:linear-gradient(120deg,#e8f3f8,#f8fbfc);margin-top:25px;border-radius:12px}.hero p{max-width:730px;font-size:1.12rem}.eyebrow{text-transform:uppercase;letter-spacing:.1em;font-size:.82rem!important;font-weight:700;color:var(--blue)}.btn{display:inline-block;background:var(--blue);color:white;padding:12px 22px;border-radius:6px;border:0;text-decoration:none;font-weight:700;cursor:pointer}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{background:#f6f9fa;border:1px solid #e3ebef;border-radius:8px;padding:20px}.card p{margin-bottom:0}.cta{text-align:center;background:var(--pale);border-radius:10px;margin-bottom:40px;padding:45px 20px}.pagehead{border-bottom:1px solid #e4e9ee}.contactgrid{display:grid;grid-template-columns:1fr 1.2fr;gap:45px}label{display:block;margin-bottom:16px;font-weight:600}input,textarea,select{display:block;width:100%;padding:11px;margin-top:5px;border:1px solid #aebdc5;border-radius:5px;font:inherit}.hidden{position:absolute;left:-9999px}.loginbox{max-width:460px}.error{color:#a11}footer{background:var(--navy);color:#fff;padding:25px 0;margin-top:35px}footer a{color:#fff}footer p{margin:3px 0}@media(max-width:700px){.top{align-items:flex-start;flex-direction:column}.cards,.contactgrid{grid-template-columns:1fr}.hero{padding:45px 20px}nav{gap:18px;flex-wrap:wrap}}

.loginbox:has(.editor-fieldset){max-width:850px}.editor-fieldset{border:1px solid #ccd9e0;border-radius:8px;padding:20px;margin:20px 0}.editor-fieldset legend{font-weight:700}.editor-preview{max-width:300px;max-height:180px;object-fit:contain;display:block;margin:12px 0}.editor-fieldset input[type=checkbox]{display:inline;width:auto;margin-right:8px}.editor-fieldset input[type=color]{width:100px;height:45px;padding:3px}

/* Editor V6 */
.editor-fieldset{border:1px solid #c8d5dc;border-radius:10px;margin:22px 0;padding:20px;background:#fff}
.editor-fieldset legend{font-weight:600;padding:0 10px}
.editor-fieldset input[type=color]{height:48px;max-width:160px;padding:3px}
.editor-fieldset input[type=checkbox]{width:auto;display:inline-block;margin-right:10px}
.editor-fieldset label{display:block;margin:14px 0}
.editor-preview{display:block;max-width:260px;max-height:160px;object-fit:contain;margin:10px 0}
.editor-help{font-size:14px;color:#52616c}
.loginbox{max-width:1000px}

/* Searchable image gallery in administrator editor */
.image-search-panel{border:1px solid #ccd6dd;padding:14px;margin:16px 0;border-radius:8px;background:#f9fbfd}
.image-search-results{display:grid;grid-template-columns:repeat(auto-fill,minmax(115px,1fr));gap:9px;margin:12px 0}
.image-result{padding:3px;border:2px solid transparent;background:white;cursor:pointer;border-radius:5px;min-height:92px}
.image-result img{width:100%;height:100px;object-fit:cover;display:block}
.image-result.selected{border-color:#1768b3;outline:2px solid #1768b3}
.image-search-status{font-size:14px;color:#34495e}
.editor-fieldset{margin:20px 0;padding:20px;min-width:0}

/* Centered company logo on every page */
.top{position:relative;justify-content:center;min-height:190px;padding:12px 24px}
.brand-logo{display:block;width:min(440px,80%);margin:0 auto;text-align:center}
.brand-logo img{display:block;width:100%;height:auto;max-height:250px;object-fit:contain}
.top .phone{position:absolute;right:24px;top:50%;transform:translateY(-50%);white-space:nowrap}
@media(max-width:850px){.top{display:flex;flex-direction:column;align-items:center;gap:0}.brand-logo{width:min(390px,95%)}.top .phone{position:static;transform:none;margin:0 auto 8px}}

/* Compact picture spacing on public pages (logo and editor unaffected) */
.editable-section{padding-bottom:12px!important;margin-top:8px!important;margin-bottom:8px!important}
.editable-section > div:has(> img){margin-top:10px!important;margin-bottom:3px!important;line-height:0}
.editable-section > div > img{display:inline-block;vertical-align:bottom}
.editable-section > p:last-child{margin-bottom:5px}

/* Picture spacing correction V2: remove excess below images and between sections */
section.editable-section{padding-top:10px!important;padding-bottom:3px!important;margin-top:3px!important;margin-bottom:3px!important;min-height:0!important;height:auto!important}
section.editable-section > div:has(> img){margin-top:5px!important;margin-bottom:0!important;padding-bottom:0!important;line-height:0!important}
section.editable-section > div > img{display:inline-block;vertical-align:bottom;margin-bottom:0!important;padding-bottom:0!important}
section.editable-section + section.editable-section{margin-top:3px!important}
section.editable-section h2{margin-top:4px;margin-bottom:8px}
section.editable-section > div:not(:has(> img)){margin-bottom:0}

/* Individual compact header photos below logo and navigation. */
.page-header-photo{max-width:1120px;margin:10px auto 8px;padding:0 16px;line-height:0}
.page-header-photo img{display:block;width:100%;height:clamp(160px,24vw,285px);object-fit:cover;object-position:center;border-radius:8px}
@media(max-width:600px){.page-header-photo{margin:6px auto;padding:0 10px}.page-header-photo img{height:170px;border-radius:5px}}

/* Larger, readable contact information across every page */
.header-contact{display:flex;flex-direction:column;align-items:flex-end;gap:2px;line-height:1.35}.header-contact .phone,.header-contact .header-email{font-size:clamp(1.15rem,2.1vw,1.55rem);font-weight:700;text-decoration:none;overflow-wrap:anywhere}.footer-contact{font-size:clamp(1.2rem,2.2vw,1.6rem);font-weight:650;line-height:1.5}.footer-contact a{white-space:normal;overflow-wrap:anywhere}@media(max-width:700px){.header-contact{align-items:center;width:100%;text-align:center}.footer-contact .contact-separator{display:none}.footer-contact a{display:block;text-align:center}}

/* Desktop contact overlap repair: logo stays exactly centered, contacts stack at right. */
@media (min-width: 901px) {
  header .top {display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,440px) minmax(0,1fr)!important;align-items:center!important;gap:12px!important;min-height:0!important;padding:12px 24px!important;position:relative!important;}
  header .top .brand-logo {grid-column:2!important;width:100%!important;max-width:390px!important;margin:0 auto!important;}
  header .top .header-contact {grid-column:3!important;position:static!important;display:flex!important;flex-direction:column!important;align-items:flex-end!important;justify-content:center!important;width:100%!important;gap:8px!important;min-width:0!important;text-align:right!important;}
  header .top .header-contact .phone,header .top .header-contact .header-email {position:static!important;top:auto!important;right:auto!important;left:auto!important;transform:none!important;display:block!important;float:none!important;margin:0!important;line-height:1.25!important;font-size:clamp(16px,1.45vw,22px)!important;font-weight:700!important;white-space:normal!important;overflow-wrap:anywhere!important;}
}
@media (max-width:900px) {
  header .top {display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:6px!important;padding:12px 16px!important;min-height:0!important;}
  header .top .brand-logo {width:min(390px,100%)!important;margin:0 auto!important;}
  header .top .header-contact {position:static!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:4px!important;text-align:center!important;width:100%!important;}
  header .top .header-contact .phone,header .top .header-contact .header-email {position:static!important;transform:none!important;top:auto!important;right:auto!important;margin:0!important;line-height:1.3!important;white-space:normal!important;}
}
