.site-footer > .syttr-homepage-footer-panels {
    width: min(1500px, 96%);
    margin: 0 auto 28px;
    min-width: 0;
    color: #183624;
}

.site-footer > .syttr-homepage-footer-panels > :first-child {
    margin-top: 0;
    margin-bottom: 0;
}

/* Keep the existing panel design while reducing its vertical footprint. */
.site-footer .syttr-homepage-footer-panels .syttr-footer-panel {
    min-height: 0 !important;
    line-height: 1.4;
}

.site-footer .syttr-homepage-footer-panels .syttr-footer-panel-title {
    padding-block: 9px !important;
    font-size: clamp(18px, 2vw, 23px) !important;
    line-height: 1.2 !important;
}

.site-footer .syttr-homepage-footer-panels .syttr-footer-panel-body {
    padding-block: 12px !important;
}

.site-footer .syttr-homepage-footer-panels .syttr-footer-panel :is(p, h3, h4, hr) {
    margin-block: 0 8px !important;
}

.site-footer .syttr-homepage-footer-panels .syttr-footer-panel a {
    padding-block: min(8px, 1em);
}

.site-footer .syttr-homepage-footer-panels .syttr-footer-map {
    min-height: 0 !important;
    height: 124px !important;
}

.site-footer .syttr-homepage-footer-panels iframe {
    min-height: 0 !important;
    height: 124px !important;
}

@media (max-width: 760px) {
    .site-footer .syttr-homepage-footer-panels :is(.syttr-footer-map, iframe) {
        height: 136px !important;
    }
}

.site-footer .syttr-homepage-footer-panels .syttr-footer-panel .syttr-footer-summary {
    padding: 10px 14px 0;
    font-size: 15px;
}

.site-footer .syttr-homepage-footer-panels .syttr-footer-summary a {
    display: inline;
    padding: 0;
    color: #17462d;
    background: transparent;
}

.site-footer .syttr-homepage-footer-panels .syttr-footer-details > summary {
    padding: 3px 14px 12px;
    cursor: pointer;
    font-weight: 700;
    color: #17462d;
}

.site-footer .syttr-homepage-footer-panels .syttr-footer-details[open] > summary {
    padding-bottom: 4px;
}

.site-footer > :is(.footer-grid, .copyright)[hidden] {
    display: none !important;
}

.site-footer > .syttr-footer-credit {
    border-top: 1px solid #416655;
    padding: 12px 0 6px;
    font-size: 14px;
    text-align: center;
}

.syttr-footer-credit p {
    margin: 0 0 4px;
}

.syttr-footer-credit a {
    color: #f5cc46;
}
