/* Layout additions for the three preview pages. The supplied brand theme stays separate. */
.he-theme .he-skip-link { position: absolute; top: -100px; left: 16px; z-index: 1000; background: white; padding: 12px 18px; }
.he-theme .he-skip-link:focus { top: 12px; }
.he-theme a:focus-visible, .he-theme button:focus-visible { outline: 3px solid var(--he-focus); outline-offset: 4px; }
.he-theme .he-navigation { display: block; }
.he-theme .he-navbar .he-logo-link { height: 60px; min-height: 0; padding: 6px 15px; }
.he-theme .he-header-logo { display: block; width: 156px; height: 48px; object-fit: contain; }
.he-theme .he-navbar .navbar-nav > li > a { padding-top: 20px; padding-bottom: 20px; }
.he-theme .he-hero--home { --he-hero-image: url('../Images/20250425_084438.jpg'); padding: 96px 0; }
.he-theme .he-hero h1 { max-width: 760px; margin: 0 0 18px; }
.he-theme .he-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.he-theme .he-trust-strip { padding: 18px 0; background: var(--he-ice); color: var(--he-navy); }
.he-theme .he-trust-items { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-weight: 600; }
.he-theme .he-section-heading { max-width: 760px; margin-bottom: 30px; }
.he-theme .he-section-heading h2 { margin-top: 0; }
.he-theme .he-card-grid { display: flex; flex-wrap: wrap; }
.he-theme .he-card-grid > div { display: flex; }
.he-theme .he-card-grid .he-card { width: 100%; display: flex; flex-direction: column; align-items: flex-start; }
.he-theme .he-card-grid .he-card > a { margin-top: auto; font-weight: 600; }
.he-theme .he-service-icon { flex-shrink: 0; }
.he-theme .he-photo--about { max-height: 480px; object-fit: cover; }
.he-theme .he-banner { margin-top: 24px; }
.he-theme .he-banner p:last-child { margin-bottom: 0; }
.he-theme .he-quote { font-size: 18px; border: 0; margin: 0; padding: 0; }
.he-theme .he-quote p { line-height: 1.7; }
.he-theme .he-quote footer { color: var(--he-muted); font-size: 14px; font-style: normal; }
.he-theme .he-contact-card { margin-bottom: 0; }
.he-theme .he-contact-card h3 { margin-top: 0; }
.he-theme .he-contact-list { padding-left: 20px; }
.he-theme .he-contact-list li { margin-bottom: 8px; }
.he-theme .he-footer-summary { margin-top: 18px; }
.he-theme .he-footer .he-brand--light { color: white; }
.he-theme .he-footer h3 { font-size: 17px; margin-top: 0; }
.he-theme .he-footer-links { list-style: none; padding: 0; }
.he-theme .he-footer-links li { margin-bottom: 8px; }
.he-theme .he-footer a { overflow-wrap: anywhere; }
.he-theme .he-team-profile h2 { margin-top: 0; }
.he-theme .he-profile-layout { display: flex; align-items: flex-start; gap: 26px; }
.he-theme .he-team-grid .he-profile-layout { flex-direction: column; gap: 20px; }
.he-theme .he-team-profile .he-profile-photo { display: block; width: 160px; height: 200px; max-width: 100%; flex: 0 0 160px; object-fit: cover; object-position: center 45%; }
.he-theme .he-profile-bio { flex: 1; min-width: 0; }
.he-theme .he-profile-role { color: var(--he-blue); font-weight: 600; }
.he-theme .he-profile-email a { overflow-wrap: anywhere; }
.he-theme .he-service-detail { scroll-margin-top: 24px; }
.he-theme .he-service-detail h2 { font-size: 24px; margin-top: 0; }
.he-theme .he-service-detail ul { padding-left: 20px; }
.he-theme .he-service-index { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.he-theme .he-service-index a { background: white; border: 1px solid var(--he-border); border-radius: 5px; padding: 8px 13px; }
@media (min-width: 768px) { .he-theme .he-navigation { display: block !important; } }
@media (max-width: 767px) {
    .he-theme .he-navbar .he-logo-link { height: 50px; padding-top: 7px; padding-bottom: 7px; }
    .he-theme .he-header-logo { width: 36px; height: 36px; }
    .he-theme .he-navbar .navbar-nav > li > a { padding-top: 11px; padding-bottom: 11px; }
    .he-theme .he-profile-layout { flex-direction: column; }
    .he-theme .he-team-profile .he-profile-photo { width: 140px; height: 175px; flex: 0 0 auto; }
    .he-theme .he-navigation { clear: both; }
    .he-theme .he-navigation[hidden] { display: none; }
    .he-theme .he-navigation .navbar-nav { margin: 0 -15px; }
    .he-theme .he-navbar .navbar-toggle { margin-top: 8px; }
    .he-theme .he-hero--home { padding: 56px 0; }
    .he-theme .he-trust-items { flex-direction: column; gap: 6px; }
    .he-theme .he-photo--about { margin-top: 24px; }
    .he-theme .he-footer h3 { margin-top: 24px; }
    .he-theme .he-contact-card { margin-top: 20px; }
}
