/* APTE archives v2.0.0 - styles limited to the replacement footer and header logo. */
#apte-archives-footer, #apte-archives-footer * {box-sizing:border-box;}
#apte-archives-footer {display:block;position:relative;clear:both;float:none;width:100%;max-width:none;margin:0;border:0;font:16px/24px Arial,Helvetica,sans-serif;letter-spacing:normal;text-align:left;}
#apte-archives-footer div, #apte-archives-footer nav, #apte-archives-footer h2, #apte-archives-footer p {margin:0;padding:0;border:0;float:none;}
#apte-archives-footer h2 {font-family:inherit;font-weight:400;line-height:1.5;letter-spacing:normal;text-transform:none;}
#apte-archives-footer h2::before, #apte-archives-footer h2::after {content:none;}
#apte-archives-footer a {color:inherit;text-decoration:none;font-family:inherit;font-weight:400;line-height:inherit;letter-spacing:normal;text-transform:none;background:none;border:0;}
#apte-archives-footer a:hover {color:#fff;text-decoration:underline;}
#apte-archives-footer a:focus-visible {outline:3px solid #d4aa43;outline-offset:4px;}
#apte-archives-footer img {border:0;box-shadow:none;}
#apte-archives-footer svg {display:inline-block;vertical-align:middle;flex-shrink:0;width:14px;height:14px;}
#apte-archives-footer .apte-archives-footer-main>div {min-width:0;}
#apte-archives-footer .apte-archives-footer-wordmark {display:block;}

#apte-archives-footer .apte-archives-public-container{width:min(1200px,calc(100% - 64px));margin:auto}
#apte-archives-footer{background:#0c3640;color:#adc1b9;padding:52px 0 26px}
#apte-archives-footer .apte-archives-footer-main{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:55px}
#apte-archives-footer .apte-archives-footer-wordmark{font-size:32px;color:#f2f3e9;font-weight:600;letter-spacing:2px}
#apte-archives-footer .apte-archives-footer-wordmark span{display:block;font-weight:400;font-size:9px;letter-spacing:.4px;margin-top:7px;color:#b2c4b7}
#apte-archives-footer .apte-archives-footer-main>div:first-child p{font-size:11px;line-height:1.9;margin-top:20px;color:#abc1b5;max-width:240px}
#apte-archives-footer .apte-archives-footer-main h2{color:#d5dfd0;font-size:11px;margin:8px 0 19px}
#apte-archives-footer .apte-archives-footer-main>div>a:not(.apte-archives-footer-wordmark){font-size:11px;display:flex;gap:8px;align-items:center;min-height:35px;color:#aec5b6;overflow-wrap:anywhere}
#apte-archives-footer .apte-archives-footer-social{display:flex;gap:18px;font-size:10px;margin-top:20px}
#apte-archives-footer .apte-archives-footer-emergency{border-block:1px solid #3d5b533d;margin-top:34px;padding:20px 0;display:flex;justify-content:space-between;gap:20px;font-size:10px}
#apte-archives-footer .apte-archives-footer-emergency p{color:#acc3b7;line-height:1.8}
#apte-archives-footer .apte-archives-footer-emergency a{display:flex;gap:6px;align-items:center;font-size:10px;color:#d5c48b;flex-shrink:0}
#apte-archives-footer .apte-archives-footer-bottom{display:flex;align-items:center;gap:30px;justify-content:space-between;margin-top:24px;color:#a4beaf;font-size:9px}
#apte-archives-footer .apte-archives-footer-bottom nav{display:flex;flex-wrap:wrap;gap:17px}
@media(max-width:1100px){#apte-archives-footer .apte-archives-footer-main{gap:30px}}
@media(max-width:1100px){#apte-archives-footer .apte-archives-footer-bottom{flex-direction:column;align-items:flex-start;gap:17px}}
@media(max-width:850px){#apte-archives-footer .apte-archives-public-container{width:calc(100% - 44px)}}
@media(max-width:850px){#apte-archives-footer .apte-archives-footer-main{grid-template-columns:1.2fr 1fr;gap:40px}}
@media(max-width:560px){#apte-archives-footer .apte-archives-public-container{width:calc(100% - 36px)}}
@media(max-width:560px){#apte-archives-footer{padding-top:35px}}
@media(max-width:560px){#apte-archives-footer .apte-archives-footer-main{grid-template-columns:1fr 1fr;gap:30px 20px}}
@media(max-width:560px){#apte-archives-footer .apte-archives-footer-main>div:first-child, #apte-archives-footer .apte-archives-footer-main>div:last-child{grid-column:1/-1}}
@media(max-width:560px){#apte-archives-footer .apte-archives-footer-main>div>a:not(.apte-archives-footer-wordmark){font-size:10px}}
@media(max-width:560px){#apte-archives-footer .apte-archives-footer-emergency{flex-direction:column;gap:14px}}
@media(max-width:560px){#apte-archives-footer .apte-archives-footer-bottom{font-size:8px;line-height:1.7}}
@media(max-width:560px){#apte-archives-footer .apte-archives-footer-bottom nav{gap:12px 16px}}
#apte-archives-footer .apte-archives-footer-wordmark img{display:block;width:220px;max-width:100%;height:auto;background:white;border-radius:8px;background:transparent;padding:0}
#apte-archives-footer .apte-archives-footer-wordmark img{transform:translateX(-8.252%)}
#apte-archives-footer .apte-archives-footer-main>div>span{display:block;font-size:11px;margin-top:12px}
#apte-archives-footer .apte-archives-footer-main>div a{overflow-wrap:anywhere}
#apte-archives-footer .apte-archives-footer-social{gap:10px;flex-wrap:wrap}
#apte-archives-footer .apte-archives-footer-social a{display:inline-flex!important;align-items:center;justify-content:center;min-width:44px;min-height:44px;margin:0!important;background:#fff;border-radius:12px;transition:transform .2s,box-shadow .2s}
#apte-archives-footer .apte-archives-footer-social img{display:block;width:38px;height:38px}
#apte-archives-footer .apte-archives-footer-social a:focus-visible, #apte-archives-footer .apte-archives-footer-social a:hover{transform:translateY(-3px);box-shadow:0 0 0 3px #d4aa43}
#apte-archives-footer .apte-archives-footer-social img{width:32px;height:32px}
#apte-archives-footer .apte-archives-footer-social a{border-radius:10px}

/* Keep the complete new logo visible when the old theme compacts its header. */
#masthead #site-navigation .nav-logo-link.apte-archives-header-logo {display:flex;align-items:center;justify-content:flex-start;width:180px;height:80px;flex:0 0 180px;overflow:visible;}
#masthead #site-navigation .nav-logo-link.apte-archives-header-logo img {display:block;width:180px;max-width:100%;height:auto;max-height:74px;object-fit:contain;object-position:left center;margin:0;padding:0;border:0;transform:none;}
.small-top #masthead #site-navigation .nav-logo-link.apte-archives-header-logo {width:160px;height:62px;flex-basis:160px;margin-right:1.25rem;}
.small-top #masthead #site-navigation .nav-logo-link.apte-archives-header-logo img {width:160px;max-height:58px;}
@media(max-width:767px) {
 #masthead #site-navigation .nav-logo-link.apte-archives-header-logo {width:145px;height:62px;flex-basis:145px;margin-right:0;}
 #masthead #site-navigation .nav-logo-link.apte-archives-header-logo img {width:145px;max-height:58px;}
}
@media(prefers-reduced-motion:reduce) {
 #apte-archives-footer .apte-archives-footer-social a {transition:none;}
}
