/* Home navigation: Figma 245:3002, 245:2696, 139:4117 and 139:5166.
 * Keep the native Avada menu and library definitions; pin only the screen's
 * measured typography and spacing against Avada's generic button presets. */
.counta-home .counta-component.cb-header {
    border-bottom-width: 0 !important;
    box-shadow: inset 0 -1px 0 rgba(24, 19, 19, .14);
}

/* Default link colors; desktop current-page states are set in counta-layouts. */
.counta-home .cb-header .awb-menu {
    --awb-bg: transparent !important;
    --awb-active-bg: transparent !important;
    --awb-mobile-active-bg: transparent !important;
}

.counta-home .cb-header .awb-menu .awb-menu__main-li > .awb-menu__main-a {
    --awb-active-color: #181313;
    --awb-mobile-active-color: #181313;
    color: #181313 !important;
    background: transparent !important;
}

.counta-home .cb-header .awb-menu .awb-menu__main-li > .awb-menu__main-a:is(:hover, :focus-visible) {
    --awb-active-color: #bd171d;
    --awb-mobile-active-color: #bd171d;
    color: #bd171d !important;
    background: transparent !important;
}

.counta-home .cb-header .cb-header__pass.fusion-button {
    min-height: 0;
    padding: 16px 22px !important;
    font: 900 10px/13.95px Inter, sans-serif !important;
    letter-spacing: .63px !important;
}

.counta-home .cb-header .cb-header__dates.fusion-button {
    min-height: 0;
    padding: 12px 20px !important;
    font: 800 10px/20px Inter, sans-serif !important;
    letter-spacing: 0 !important;
}

.counta-home .cb-header .cb-header__pass .fusion-button-text,
.counta-home .cb-header .cb-header__dates .fusion-button-text {
    font: inherit !important;
    letter-spacing: inherit !important;
}

.counta-home .cb-header .cb-header__dates .fusion-button-text {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.counta-home .cb-header .cb-header__arrow {
    margin-left: 0;
    font: 700 17px/23px Inter, sans-serif;
}

.counta-home .cb-footer .cb-footer__heading h2 {
    font: 700 9px/13.95px Inter, sans-serif !important;
    letter-spacing: 1.62px !important;
}

.counta-home .cb-footer .cb-footer__links a {
    display: block;
    min-height: 22px;
    font: 400 12px/18.6px Inter, sans-serif;
}

.counta-home .cb-footer .cb-footer__legal-row {
    min-height: 0;
    line-height: 13.95px;
}

@media (max-width: 1100px) {
    .counta-home .cb-header .awb-menu__m-toggle {
        position: relative;
        min-height: 36px;
        padding: 10px 12px;
        font: 800 10px/16px Inter, sans-serif;
    }

    /* The red capsule is 36px high in Figma; keep a 44px pointer target. */
    .counta-home .cb-header .awb-menu__m-toggle::after {
        position: absolute;
        inset: -4px 0;
        content: "";
    }
}

@media (max-width: 767px) {
    .counta-home .counta-component.cb-footer .cb-footer__navigation .fusion-builder-row-inner.fusion-row {
        grid-template-columns: repeat(2, 140px);
        width: 100% !important;
        max-width: none !important;
        gap: 24px;
    }

    .counta-home .cb-footer .cb-footer__group {
        width: 140px !important;
    }

    /* Preserve the design's social-column rhythm while YouTube is unavailable. */
    .counta-home .cb-footer .cb-footer__social {
        min-height: 114px;
    }
}

@media (max-width: 351px) {
    .counta-home .counta-component.cb-footer .cb-footer__navigation .fusion-builder-row-inner.fusion-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .counta-home .cb-footer .cb-footer__group {
        width: 100% !important;
    }
}
