/* Previously approved Additional CSS, now bundled with the theme. */
.header .brand:has(.ssd-custom-logo) > span { display: none !important; }
.header .brand .ssd-custom-logo {
    width: 280px !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 72px !important;
    object-fit: contain !important;
    object-position: left center !important;
}
@media (max-width: 768px) {
    .header .brand .ssd-custom-logo {
        width: 180px !important;
        height: auto !important;
        max-height: 50px !important;
    }
}
#ssd-landing-root .form-card:has(.choices) .form-footer { display: none !important; }

/* Shared site footer: identical markup and styling on every page. */
footer.dhc-site-footer {
    background: linear-gradient(90deg,#FFFFFF 0%,#E5F3FF 25%,#B8DEFF 50%,#519BE8 75%,#1454DC 100%) !important;
    color: #071b2d !important; text-align: left; border: 0; padding: 34px 0 22px;
    font-family: var(--body-font); font-size: 15px; line-height: 1.6;
}
.dhc-site-footer .dhc-site-footer__grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.2fr) minmax(0,1.05fr) minmax(0,1fr); gap: 24px; align-items: start; }
.dhc-site-footer__brand img { display: block; width: 245px; height: auto; max-width: 100%; }
.dhc-site-footer__column { min-width: 0; overflow-wrap: anywhere; }
.dhc-site-footer .dhc-site-footer__column h2 { font: 700 19px/1.35 var(--display-font); color: #071b2d; margin: 0 0 10px; }
.dhc-site-footer .dhc-site-footer__column nav { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 8px; margin: 0; padding: 0; }
footer.dhc-site-footer a, footer.dhc-site-footer nav a { color: #071b2d !important; font-size: 15px; line-height: 1.55; border: 0; padding: 0; margin: 0; text-decoration: none !important; }
footer.dhc-site-footer a:hover { color: #003B85 !important; text-decoration: none !important; }
footer.dhc-site-footer a:focus-visible { outline: 2px solid #102A43; outline-offset: 3px; }
.dhc-site-footer__office address { font-style: normal; margin: 0 0 12px; line-height: 1.6; }
footer.dhc-site-footer a.dhc-site-footer__contact { display: inline-block; background: #102A43; color: #fff !important; border: 1px solid #102A43; border-radius: 6px; padding: 10px 19px; font-weight: 700; }
footer.dhc-site-footer a.dhc-site-footer__contact:hover { background: #0a2035; color: #fff !important; }
.dhc-site-footer__bottom { grid-column: 1 / -1; border-top: 1px solid rgba(16,42,67,.25); padding-top: 13px; text-align: center; }
footer.dhc-site-footer .dhc-site-footer__bottom p { margin: 0 0 6px; color: #071b2d; font-size: 14px; line-height: 1.65; }
@media(max-width: 850px) { .dhc-site-footer .dhc-site-footer__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 18px; } .dhc-site-footer__brand img { width: 165px; } }
@media(max-width: 480px) { .dhc-site-footer .dhc-site-footer__grid { grid-template-columns: 1fr; gap: 20px; } }

/* Typography: installed system fonts only; no remote font downloads. */
:root { --display-font: Georgia, 'Times New Roman', serif; --body-font: 'Avenir Next', 'Segoe UI', Arial, sans-serif; }
.header .brand { min-width: 0; flex-shrink: 1; }
.header .call { flex-shrink: 0; }
.header .brand .ssd-custom-logo { display: block; }
footer.dhc-site-footer .dhc-site-footer__brand { padding-top: 3px; }
footer.dhc-site-footer .dhc-site-footer__bottom p:last-child { font-weight: 600; }
/* Keep right-column text legible without removing the established blue gradient. */
footer.dhc-site-footer .dhc-site-footer__column { color: #071b2d; }
footer.dhc-site-footer a:focus-visible { outline: 3px solid #fff; box-shadow: 0 0 0 5px #102A43; }
@media (max-width: 768px) {
    .header .brand .ssd-custom-logo { width: clamp(115px, 44vw, 180px) !important; }
    footer.dhc-site-footer .dhc-site-footer__column h2 { font-size: 18px; }
}
@media (max-width: 480px) {
    footer.dhc-site-footer .dhc-site-footer__brand img { width: 215px; }
    footer.dhc-site-footer .dhc-site-footer__bottom p { font-size: 13px; }
}

