/* Keep slider and agenda layers below the fixed header. */
.speedy-page-hero { height: calc(380px + var(--header-height, 121px)); min-height: calc(380px + var(--header-height, 121px)); padding-top: 0 !important; padding-bottom: 0 !important; display: flex; align-items: center; }
.speedy-page-hero > .l-section-h { width: 100%; padding-top: var(--header-height, 121px) !important; }
.speedy-page-hero .w-separator { display: none; }
.speedy-page-hero .wpb_text_column { padding-bottom: 0 !important; }
@media(max-width:768px) { .speedy-page-hero { height: calc(260px + var(--header-height, 60px)); min-height: calc(260px + var(--header-height, 60px)); } }
#page-content { isolation: isolate; }
#page-header .w-nav .w-nav-list:not(.level_1) {
    background-color: #f0f7f7;
    color: #00536a;
}
#page-header .w-nav.type_desktop .w-nav-list.level_2 {
    border-top: 3px solid #00a7dc;
}
#page-header .w-nav .w-nav-anchor:not(.level_1) {
    background-color: #f0f7f7;
    color: #00536a;
}
#page-header .w-nav .w-nav-anchor:not(.level_1) .w-nav-title,
#page-header .w-nav .w-nav-anchor:not(.level_1) .w-nav-arrow {
    color: inherit !important;
}
#page-header .w-nav .w-nav-list:not(.level_1) .menu-item:hover > .w-nav-anchor,
#page-header .w-nav .w-nav-anchor:not(.level_1):focus-visible,
#page-header .w-nav .w-nav-list:not(.level_1) .current-menu-item > .w-nav-anchor {
    background-color: #007da3;
    color: #fff;
}
#page-header .w-nav .w-nav-anchor:not(.level_1):focus-visible {
    outline: 2px solid #00536a !important;
    outline-offset: -2px;
}
.speedy-footer-bar {
    background-color: #f0f7f7 !important;
    color: #43484e;
}
.speedy-footer-bar > .l-section-overlay { background: transparent !important; }
.speedy-footer-bar .wpb_text_column {
    color: #43484e !important;
    font-size: 14px !important;
}
.speedy-footer-bar a { color: #007da3; }
#page-footer .speedy-footer-bar a:hover,
#page-footer .speedy-footer-bar a:focus-visible {
    color: #00536a !important;
    text-decoration: underline;
}
#page-footer .speedy-footer-bar a:focus-visible {
    outline: 2px solid #00536a;
    outline-offset: 3px;
}
.speedy-footer-bottom > .wpb_text_column {
    width: 33.333333%;
    flex: 1 1 0;
    min-width: 0;
    white-space: nowrap;
}
.speedy-footer-bottom p { white-space: nowrap; }
.speedy-footer-bottom > .speedy-footer-copyright {
    font-size: clamp(11px, 0.8vw, 14px) !important;
}
.speedy-footer-bottom > .speedy-footer-copyright { text-align: left; }
.speedy-footer-bottom > .speedy-hosting-credit { text-align: center; }
.speedy-footer-bottom > .speedy-footer-legal { text-align: right; }
@media (max-width: 600px) {
    .speedy-footer-bottom > .wpb_text_column {
        width: 100%;
        flex: 0 0 auto;
        text-align: center;
    }
    .speedy-footer-bottom > .speedy-footer-copyright {
        font-size: clamp(10px, 3vw, 14px) !important;
    }
}
/* Advertiser portfolio: identical frames, intact original logo proportions. */
.speedy-advertisers {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 32px 0;
}
.speedy-advertiser {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5eeee;
    border-radius: 5px;
    text-decoration: none !important;
}
.speedy-advertiser-logo {
    display: flex;
    width: 100%;
    height: 100%;
    padding: 22px;
    align-items: center;
    justify-content: center;
}
.speedy-advertiser img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.speedy-advertiser-info {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    background: rgba(0, 125, 163, 0.97);
    color: #fff !important;
    text-align: center;
    opacity: 0;
    transition: opacity .2s;
}
.speedy-advertiser-info strong { font-size: 19px; line-height: 1.35; color: inherit !important; }
.speedy-advertiser-info span { font-size: 14px; color: inherit !important; }
.speedy-advertiser:hover .speedy-advertiser-info,
.speedy-advertiser:focus-visible .speedy-advertiser-info { opacity: 1; }
.speedy-advertiser:focus-visible { outline: 3px solid #00536a; outline-offset: 3px; }
@media (max-width: 1024px) {
    .speedy-advertisers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .speedy-advertisers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .speedy-advertiser-logo { padding: 14px; }
    .speedy-advertiser-info { gap: 6px; padding: 10px; }
    .speedy-advertiser-info strong { font-size: 15px; }
}




/* Consistent page banners, including existing and future native post templates. */
:is(.speedy-page-hero, body:not(.home) #page-content > .l-section.with_img:first-child) {
    --speedy-hero-header-offset: var(--header-height, 121px);
    height: calc(380px + var(--speedy-hero-header-offset));
    min-height: calc(380px + var(--speedy-hero-header-offset));
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: flex;
    align-items: center;
    text-align: center !important;
}
:is(.speedy-page-hero, body:not(.home) #page-content > .l-section.with_img:first-child) > .l-section-h {
    width: 100%;
    padding-top: var(--speedy-hero-header-offset) !important;
    padding-bottom: 0 !important;
}
:is(.speedy-page-hero, body:not(.home) #page-content > .l-section.with_img:first-child) .w-separator { display: none; }
:is(.speedy-page-hero, body:not(.home) #page-content > .l-section.with_img:first-child) :is(.vc_column-inner, .wpb_text_column, .post_taxonomy, .post_title) {
    text-align: center !important;
}
:is(.speedy-page-hero, body:not(.home) #page-content > .l-section.with_img:first-child) :is(.wpb_text_column, .post_taxonomy, .post_title, h1, h2, h3, h4, h5, h6) {
    font-family: "Baloo 2", sans-serif !important;
    font-weight: 700 !important;
    font-size: 45px !important;
    line-height: 1em !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
body:has(#page-header.pos_static) :is(.speedy-page-hero, #page-content > .l-section.with_img:first-child) {
    --speedy-hero-header-offset: 0px;
}
@media (max-width: 768px) {
    :is(.speedy-page-hero, body:not(.home) #page-content > .l-section.with_img:first-child) {
        height: calc(260px + var(--speedy-hero-header-offset));
        min-height: calc(260px + var(--speedy-hero-header-offset));
    }
}
