.common-site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 3px solid #e32636;
    backdrop-filter: blur(16px);
}

.common-site-header .common-header-inner {
    width: min(1160px, calc(100% - 32px));
    min-height: 76px;
    height: auto;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.common-site-header .common-brand,
.common-site-footer .common-footer-brand {
    color: #101828;
    font: 800 1.15rem/1.1 Arial, sans-serif;
    text-decoration: none;
    white-space: nowrap;
}

.common-site-header .common-brand span,
.common-site-footer .common-footer-brand span {
    color: #e32636;
}

.common-site-header .common-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    font: 700 0.92rem/1 Arial, sans-serif;
}

.common-site-header .common-nav a {
    position: relative;
    display: inline-flex;
    color: #101828;
    font: 700 0.92rem/1 Arial, sans-serif;
    text-decoration: none;
    padding: 8px 0;
}

.common-site-header .common-nav a:hover,
.common-site-header .common-nav a.is-active {
    color: #e32636;
}

.common-site-header .common-nav a.is-active::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 1px;
    left: 0;
    height: 2px;
    background: #e32636;
}

.common-site-header .common-nav .common-nav-cta {
    padding: 12px 18px;
    color: #fff;
    background: #e32636;
    border-radius: 9px;
}

.common-site-header .common-nav .common-nav-cta:hover {
    color: #fff;
}

.common-site-header .common-nav .common-nav-cta::after {
    display: none;
}

.common-site-header .common-menu {
    display: none;
    border: 0;
    padding: 8px;
    color: #101828;
    background: transparent;
    font-size: 1.6rem;
    cursor: pointer;
}

.common-site-footer {
    margin-top: 0;
    padding: 48px 0 18px;
    color: #d4d4d4;
    background: #050505;
    border-top: 5px solid #e32636;
}

.common-site-footer .common-footer-inner {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.3fr;
    gap: 32px;
}

.common-site-footer .footer-stack {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.common-site-footer h3 {
    margin: 0 0 8px;
    color: #fff;
    font: 800 1rem/1.3 Arial, sans-serif;
}

.common-site-footer p,
.common-site-footer a {
    margin: 0;
    color: #d4d4d4;
    font: 0.9rem/1.65 Arial, sans-serif;
    text-decoration: none;
}

.common-site-footer a:hover {
    color: #fff;
}

.common-site-footer .common-footer-brand {
    margin-bottom: 8px;
    color: #fff;
}

.common-site-footer .common-footer-legal {
    width: min(1160px, calc(100% - 32px));
    margin: 30px auto 0;
    padding-top: 18px;
    border-top: 1px solid #333;
    color: #aaa;
    font: 0.85rem/1.4 Arial, sans-serif;
}

@media (max-width: 900px) {
    .common-site-header .common-menu {
        display: block;
    }

    .common-site-header .common-nav {
        display: none;
        position: absolute;
        top: 76px;
        right: 0;
        left: 0;
        padding: 22px;
        flex-direction: column;
        gap: 12px;
        background: #fff;
        box-shadow: 0 14px 30px rgba(16, 24, 40, 0.15);
    }

    .common-site-header .common-nav.open {
        display: flex;
    }

    .common-site-footer .common-footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .common-site-header .common-header-inner,
    .common-site-footer .common-footer-inner,
    .common-site-footer .common-footer-legal {
        width: min(100% - 28px, 1160px);
    }

    .common-site-footer .common-footer-inner {
        grid-template-columns: 1fr;
    }
}
