/* -- Layout shell -------------------------------------- */
.page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #fff;
    position: relative;
}

/* -- Header -------------------------------------------- */
.site-header {
    display: flex;
    flex-direction: column;
    width: 100%;
    flex-shrink: 0;
}

.site-header__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--header-padding-y) var(--header-padding-x);
    background: #fff;
    border-bottom: 1px solid var(--header-border-color);
}

.site-header__council-logo {
    width: var(--logo-council-width);
    height: var(--logo-council-height);
    object-fit: contain;
}

.site-header__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.site-header__powered-by {
    font-family: var(--font-family-heading);
    font-weight: 700;
    font-size: 15px;
    line-height: 24px;
    letter-spacing: 0.1px;
    color: #828282;
    white-space: nowrap;
}

.site-header__flexipay-logo {
    width: var(--logo-flexipay-width);
    height: 31px;
    object-fit: contain;
}

.site-header__accent-bar {
    height: var(--header-accent-bar-height);
    background: var(--header-accent-bar-bg);
    width: 100%;
}

/* -- Skip link --------------------------------------------- */

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: #fff;
    padding: 8px;
    z-index: 100;
    text-decoration: none;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
    }

/* -- Footer --------------------------------------------- */
.site-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--footer-padding-y) var(--footer-padding-x);
    background: var(--footer-bg);
    border-top: 1px solid var(--footer-border-color);
}

.site-footer__product-logo {
    max-width: 120px;
    max-height: 48px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.site-footer__text {
    font-family: var(--font-family-body);
    font-size: 14px;
    line-height: 20px;
    color: var(--footer-text-color);
    text-align: center;
}

    .site-footer__text a {
        color: var(--footer-text-color);
        text-decoration: underline;
    }

@media (max-width: 767px) {
    .site-footer {
        align-items: center;
    }

    .site-footer__text {
        width: 100%;
        text-align: center;
    }
}