/* Public footer only. CMS content, destinations and ordering remain authoritative. */
.cz-site-footer {
    container: cz-site-footer / inline-size;
    min-inline-size: 0;
    margin: 0;
    padding: 0;
    border-block-start: 1px solid #9565DE;
    background: #141414 !important;
    color: #F3EDFC !important;
    font-family: Figtree, system-ui, sans-serif;
}

.cz-site-footer .cz-footer__main {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem clamp(1rem, 3vw, 2rem);
    min-inline-size: 0;
    padding: 2rem var(--cz-site-gutter, 20px) 1.75rem;
}

.cz-site-footer .cz-footer__brand {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    min-inline-size: 0;
    padding-block-end: 1.25rem;
    border-block-end: 1px solid #9565DE;
}

.cz-site-footer .cz-footer__logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    max-inline-size: 100%;
    border-radius: .375rem;
    direction: ltr;
}

.cz-site-footer .cz-footer__logo img {
    display: block;
    inline-size: 10rem;
    block-size: 2.75rem;
    max-inline-size: 100%;
    object-fit: contain;
    transform: none;
}

.cz-site-footer .cz-footer__logo--light {
    padding: .25rem .5rem;
    background: #fff;
}

.cz-site-footer .cz-footer__socials {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    min-inline-size: 0;
}

.cz-site-footer .cz-footer__social {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    inline-size: 2.75rem;
    block-size: 2.75rem;
    border: 1px solid #B493E6;
    border-radius: 50%;
    background: #FFFFFF;
    color: #763CD4;
    text-decoration: none;
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.cz-site-footer .cz-footer__social svg {
    max-inline-size: 1.25rem;
    max-block-size: 1.25rem;
    transform: none;
}

.cz-site-footer .cz-footer__social:hover {
    border-color: #E22861;
    background: #E22861;
    color: #141414 !important;
}

.cz-site-footer .cz-footer__group {
    min-inline-size: 0;
    text-align: start;
}

.cz-site-footer .cz-footer__heading {
    margin: 0 0 .625rem;
    color: #FAF9FC;
    font-size: .9375rem;
    font-weight: 700;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.cz-site-footer .cz-footer__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .125rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cz-site-footer .cz-footer__links li {
    min-inline-size: 0;
    max-inline-size: 100%;
    margin: 0;
}

.cz-site-footer .cz-footer__link {
    display: inline-flex;
    align-items: baseline;
    gap: .375rem;
    min-block-size: 1.875rem;
    max-inline-size: 100%;
    padding-block: .25rem;
    border-radius: .25rem;
    color: #FFFFFF;
    font-size: .84375rem;
    font-weight: 400;
    line-height: 1.55;
    text-decoration: none;
    transition: color 160ms ease;
}

.cz-site-footer .cz-footer__link > span {
    min-inline-size: 0;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.cz-site-footer .cz-footer__external {
    flex: 0 0 auto;
    inline-size: .8125rem;
    block-size: .8125rem;
    opacity: .75;
}

.cz-site-footer .cz-footer__link:hover {
    color: #D0B2FC !important;
}

.cz-site-footer :is(.cz-footer__logo, .cz-footer__social, .cz-footer__link):focus-visible {
    outline: 2px solid #E22861;
    outline-offset: 4px;
}

.cz-site-footer .cz-footer__bottom {
    min-inline-size: 0;
    padding-inline: var(--cz-site-gutter, 20px);
}

.cz-site-footer .cz-footer__copyright {
    padding-block: .875rem;
    border-block-start: 1px solid #9565DE;
    color: #EEE3FF;
    font-size: .78125rem;
    line-height: 1.6;
    text-align: start;
    overflow-wrap: anywhere;
}

.cz-site-footer .cz-footer__copyright p {
    margin: 0;
}

.cz-site-footer .cz-footer__copyright[data-align="center"] {
    text-align: center;
}

.cz-site-footer .cz-footer__copyright[data-align="right"] {
    text-align: end;
}

.cz-site-footer[data-main-align="center"] .cz-footer__brand {
    justify-content: center;
}

.cz-site-footer[data-main-align="center"] .cz-footer__group {
    text-align: center;
}

.cz-site-footer[data-main-align="center"] .cz-footer__links {
    align-items: center;
}

.cz-site-footer[data-main-align="right"] .cz-footer__brand {
    justify-content: flex-end;
}

.cz-site-footer[data-main-align="right"] .cz-footer__group {
    text-align: end;
}

.cz-site-footer[data-main-align="right"] .cz-footer__links {
    align-items: flex-end;
}

@container cz-site-footer (min-width: 24rem) {
    .cz-site-footer .cz-footer__main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@container cz-site-footer (min-width: 70rem) {
    .cz-site-footer .cz-footer__main {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        column-gap: clamp(1.5rem, 3vw, 4rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cz-site-footer :is(.cz-footer__social, .cz-footer__link) {
        transition: none;
    }
}

/* Shared CREZOVA footer uses the violet surface of the supplied reference. */
.cz-site-footer { border-block-start:0; background:#763CD4 !important; color:#FFF !important; }
.cz-site-footer .cz-footer__main { padding-block:3rem 2.5rem; }
.cz-site-footer .cz-footer__link { color:#FFF; }
.cz-site-footer .cz-footer__link:hover { color:#FFF !important; text-decoration:underline; text-underline-offset:.25em; }
.cz-site-footer .cz-footer__social { background:#FFF; border-color:#FFF; color:#763CD4; }
.cz-site-footer .cz-footer__social:hover { background:#F3EDFC; border-color:#F3EDFC; color:#6330B5 !important; }
.cz-site-footer :is(.cz-footer__logo,.cz-footer__social,.cz-footer__link):focus-visible { outline-color:#FFF; }
.cz-site-footer .cz-footer__copyright { color:#FFF; }
@container cz-site-footer (min-width:70rem) {
 .cz-site-footer .cz-footer__main { grid-template-columns:minmax(0,1.25fr) repeat(4,minmax(0,1fr)); gap:2.5rem; }
 .cz-site-footer .cz-footer__brand { grid-column:auto; flex-direction:column; justify-content:flex-start; align-items:flex-start; gap:1.25rem; padding:0; border:0; }
}
