/* CodeAfrique KoHost Header refinement v2
 * Append to templates/kohost/css/custom.css
 */

/* 1. Top header: use the full viewport width and keep the logo 24px from the edge. */
.tt-double-header .tt-top-header > .container {
    width: 100%;
    max-width: none;
    padding-left: 24px;
    padding-right: 24px;
}

/* 1. Logo: compact 280px x 45px presentation. */
.tt-double-header .tt-top-header .logo-img {
    width: auto;
    max-width: 290px;
    max-height: 40px;
}

/* 2. Pull the CodeAfrique menu toward the logo and leave the toolbar at the far right. */
.tt-double-header .tt-top-header .tt-custom-navbar {
    margin-left: 50px !important;
    margin-right: auto !important;
}

/* Keep the top-level menu links compact enough to preserve one-line alignment. */
.tt-double-header .tt-top-header .tt-custom-navbar > .nav-item > .nav-link {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

/* 3. Client Area button: match the supplied orange pill reference. */
.tt-double-header .tt-top-header .codeafrique-client-area-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    min-height: 45px;
    padding: 0 28px !important;
    border-radius: 999px !important;
    font-size: 15px !important;
    font-weight: 500;
    line-height: 1;
    color: #fff !important;
    background: #ff7a2f !important;
    border: 0 !important;
    box-shadow: none !important;
    transition: transform .2s ease, background-color .2s ease;
}

.tt-double-header .tt-top-header .codeafrique-client-area-btn:hover,
.tt-double-header .tt-top-header .codeafrique-client-area-btn:focus {
    color: #fff !important;
    background: #f36b20 !important;
    text-decoration: none;
    transform: translateY(-1px);
}

.tt-double-header .tt-top-header .codeafrique-client-area-btn i {
    font-size: 20px;
}

/* Preserve compactness on narrower desktop/tablet widths. */
@media (max-width: 1399.98px) {
    .tt-double-header .tt-top-header .tt-custom-navbar > .nav-item > .nav-link {
        padding-left: 7px !important;
        padding-right: 7px !important;
    }

    .tt-double-header .tt-top-header .codeafrique-client-area-btn {
        min-width: 185px;
    }
}

@media (max-width: 1199.98px) {
    .tt-double-header .tt-top-header .logo-img {
        max-width: 220px;
        max-height: 38px;
    }

    .tt-double-header .tt-top-header .tt-custom-navbar {
        margin-left: 18px !important;
    }
}

@media (max-width: 991.98px) {
    .tt-double-header .tt-top-header > .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* =========================================================
   CodeAfrique — KoHost Phase 1 V2 Hero
   ========================================================= */
.ca-kohost-hero {
    position: relative;
    min-height: 700px;
    overflow: hidden;
    padding: 150px 0 90px;
}

.ca-kohost-hero .background-image-wraper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
    opacity: 1 !important;
}

.ca-kohost-hero .background-image-wraper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 29, 88, .94), rgba(15, 70, 180, .76));
}

.ca-kohost-hero > .container,
.ca-kohost-hero .ca-hero-content-slider {
    position: relative;
    z-index: 2;
}

.ca-kohost-hero .swiper-slide {
    height: auto;
}

.ca-kohost-hero .hero-content-wrap {
    max-width: 690px;
}

.ca-kohost-hero .hero-content-wrap h1 {
    font-size: clamp(2.5rem, 4.5vw, 4.25rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin-bottom: 24px;
}

.ca-kohost-hero .tech-feature-list li {
    font-size: 15px;
}

.ca-kohost-hero .ca-hero-visual {
    padding: 20px;
}

.ca-kohost-hero .ca-hero-visual img {
    max-height: 430px;
    width: auto;
    max-width: 100%;
    filter: drop-shadow(0 25px 45px rgba(0,0,0,.18));
}

.ca-kohost-hero .ca-hero-pagination {
    position: relative;
    margin-top: 45px;
    z-index: 5;
}

.ca-kohost-hero .ca-hero-pagination .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    opacity: .55;
    background: #fff;
    transition: all .3s ease;
}

.ca-kohost-hero .ca-hero-pagination .swiper-pagination-bullet-active {
    width: 28px;
    border-radius: 20px;
    opacity: 1;
}

@media (max-width: 991.98px) {
    .ca-kohost-hero {
        min-height: 620px;
        padding: 135px 0 70px;
    }
}

@media (max-width: 767.98px) {
    .ca-kohost-hero {
        min-height: 600px;
        padding: 125px 0 65px;
    }

    .ca-kohost-hero .hero-content-wrap h1 {
        font-size: 2.15rem;
    }
}


/* =========================================================
   CodeAfrique — Hero CTA refinement
   All Hero calls-to-action use the CodeAfrique orange button.
   ========================================================= */
.ca-kohost-hero .codeafrique-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px !important;
    border-radius: 6px !important;
    background-color: #ff7a2f !important;
    border: 1px solid #ff7a2f !important;
    color: #ffffff !important;
    font-weight: 600;
    text-decoration: none !important;
    box-shadow: none !important;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.ca-kohost-hero .codeafrique-hero-cta:hover,
.ca-kohost-hero .codeafrique-hero-cta:focus {
    background-color: #f36b20 !important;
    border-color: #f36b20 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(255, 122, 47, 0.22) !important;
}

.ca-kohost-hero .codeafrique-hero-cta:active {
    transform: translateY(0);
}

@media (max-width: 575.98px) {
    .ca-kohost-hero .codeafrique-hero-cta {
        min-height: 48px;
        padding: 0 22px !important;
    }
}

/* =========================================================
   CodeAfrique — Mobile navbar
   Mobile-only. Desktop navbar/inner-page sticky behavior is untouched.
   ========================================================= */
@media (max-width: 991.98px) {
    /* Homepage: float over the hero exactly like the desktop treatment. */
    .tt-double-header.ca-mobile-homepage {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        z-index: 1050 !important;
    }

    .tt-double-header.ca-mobile-homepage .tt-top-header,
    .tt-double-header.ca-mobile-homepage:not(.ca-mobile-scrolled) .tt-top-header {
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    /* Top-of-hero logo: white. */
    .tt-double-header.ca-mobile-homepage:not(.ca-mobile-scrolled) .logo-img {
        width: auto !important;
        max-width: 250px !important;
        max-height: 50px !important;
        height: auto !important;
        filter: brightness(0) invert(1) !important;
    }

    /* Top-of-hero toolbar: white. */
    .tt-double-header.ca-mobile-homepage:not(.ca-mobile-scrolled) .tt-toolbar-wrap a,
    .tt-double-header.ca-mobile-homepage:not(.ca-mobile-scrolled) .tt-toolbar-wrap button,
    .tt-double-header.ca-mobile-homepage:not(.ca-mobile-scrolled) .tt-toolbar-wrap i,
    .tt-double-header.ca-mobile-homepage:not(.ca-mobile-scrolled) .tt-toolbar-wrap .tt-cart-badge {
        color: #fff !important;
    }

    /* Scrolled homepage: solid sticky header and compact blue logo. */
    .tt-double-header.ca-mobile-homepage.ca-mobile-scrolled {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: #fff !important;
        border-bottom: 1px solid rgba(0,0,0,.06) !important;
        box-shadow: 0 6px 22px rgba(0,0,0,.08) !important;
        z-index: 1050 !important;
    }

    .tt-double-header.ca-mobile-homepage.ca-mobile-scrolled .tt-top-header {
        background: #fff !important;
    }

    .tt-double-header.ca-mobile-homepage.ca-mobile-scrolled .logo-img {
        width: auto !important;
        max-width: 210px !important;
        max-height: 40px !important;
        height: auto !important;
        filter: none !important;
    }

    .tt-double-header.ca-mobile-homepage.ca-mobile-scrolled .tt-toolbar-wrap a,
    .tt-double-header.ca-mobile-homepage.ca-mobile-scrolled .tt-toolbar-wrap button,
    .tt-double-header.ca-mobile-homepage.ca-mobile-scrolled .tt-toolbar-wrap i {
        color: var(--body-color) !important;
    }

    /* Keep inner-page mobile navbar in normal flow until KoHost's affix state. */
    .tt-double-header:not(.ca-mobile-homepage) {
        position: relative;
        z-index: 1050;
    }

    /* Smooth mobile state changes without animating position. */
    .tt-double-header .tt-top-header,
    .tt-double-header .logo-img,
    .tt-double-header .tt-toolbar-wrap a,
    .tt-double-header .tt-toolbar-wrap button,
    .tt-double-header .tt-toolbar-wrap i {
        transition: background-color .4s cubic-bezier(.4,0,.2,1),
                    box-shadow .4s cubic-bezier(.4,0,.2,1),
                    color .3s ease,
                    filter .4s cubic-bezier(.4,0,.2,1),
                    max-width .4s cubic-bezier(.4,0,.2,1),
                    max-height .4s cubic-bezier(.4,0,.2,1);
    }

    /* Mobile toolbar: keep cart + hamburger visible; desktop mega menu hidden. */
    .tt-double-header .tt-custom-navbar {
        display: none !important;
    }

    .tt-double-header .tt-top-header > .container {
        width: 100%;
        max-width: none;
        padding-left: 16px;
        padding-right: 16px;
    }

    .tt-double-header .tt-toolbar-wrap {
        margin-left: auto !important;
    }

    .tt-double-header .tt-toolbar-wrap .toolbar {
        display: flex !important;
        align-items: center;
        margin: 0;
    }

    .tt-double-header .tt-toolbar-wrap .toolbar > li {
        display: list-item !important;
    }

    .tt-double-header .tt-toolbar-wrap .toolbar > li.d-xl-none {
        display: list-item !important;
    }

    .tt-double-header .tt-toolbar-wrap .ca-mobile-menu-button {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        background: transparent !important;
        border: 0 !important;
        padding: .375rem .5rem !important;
    }

    /* The old desktop main-navbar is hidden on mobile; our drawer owns mobile navigation. */
    .tt-double-header .tt-main-header {
        display: none !important;
    }

    /* Drawer overlay. */
    .ca-mobile-menu-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1080;
        background: rgba(15,23,42,.52);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .3s ease, visibility .3s ease;
    }

    .ca-mobile-menu-overlay.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* Drawer styled to match KoHost's mobile/off-canvas language. */
    .ca-mobile-menu {
        display: block;
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(88vw, 360px);
        z-index: 1090;
        background: #fff;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: 10px 0 35px rgba(0,0,0,.16);
        transform: translate3d(-105%,0,0);
        transition: transform .35s cubic-bezier(.4,0,.2,1);
    }

    .ca-mobile-menu.open {
        transform: translate3d(0,0,0);
    }

    .ca-mobile-menu-header {
        min-height: 76px;
        padding: 14px 18px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid var(--border-color);
        background: #fff;
        position: sticky;
        top: 0;
        z-index: 2;
    }

    .ca-mobile-menu-brand {
        display: flex;
        align-items: center;
    }

    .ca-mobile-menu-brand .navbar-brand {
        margin: 0 !important;
        padding: 0 !important;
    }

    .ca-mobile-menu-brand .logo-img {
        width: auto !important;
        max-width: 210px !important;
        max-height: 38px !important;
        height: auto !important;
        filter: none !important;
    }

    .ca-mobile-menu-close {
        width: 40px;
        height: 40px;
        border: 0;
        border-radius: .25rem;
        background: #f1f3f5;
        color: #1f2937;
        font-size: 25px;
        line-height: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Public navigation. */
    .ca-mobile-nav,
    .ca-mobile-whmcs-nav {
        padding: 0 0 28px;
    }

    .ca-mobile-nav > .ca-mobile-link,
    .ca-mobile-menu-toggle {
        width: 100%;
        min-height: 52px;
        padding: 14px 18px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border: 0;
        border-bottom: 1px solid rgba(15,23,42,.08);
        background: #fff;
        color: var(--body-color);
        text-align: left;
        font-size: 16px;
        font-weight: 500;
        text-decoration: none;
    }

    .ca-mobile-menu-toggle i {
        font-size: 11px;
        transition: transform .25s ease;
    }

    .ca-mobile-menu-toggle.open i {
        transform: rotate(180deg);
    }

    .ca-mobile-submenu {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        background: #f8fafc;
        transition: max-height .3s ease, opacity .25s ease;
    }

    .ca-mobile-submenu.open {
        max-height: 1200px;
        opacity: 1;
    }

    .ca-mobile-submenu .ca-mobile-link {
        display: block;
        padding: 12px 18px 12px 34px;
        color: #475569;
        font-size: 14px;
        text-decoration: none;
        border-bottom: 1px solid rgba(15,23,42,.06);
    }

    .ca-mobile-submenu .ca-mobile-link:hover,
    .ca-mobile-submenu .ca-mobile-link:focus {
        color: var(--primary);
        background: rgba(9,72,179,.05);
    }

    .ca-mobile-placeholder {
        display: block;
        padding: 14px 18px 14px 34px;
        color: #64748b;
        font-size: 14px;
        line-height: 1.5;
    }

    .ca-mobile-client-btn {
        margin: 18px 18px 0 !important;
        width: calc(100% - 36px) !important;
        min-height: 50px !important;
        justify-content: center !important;
        border: 0 !important;
        border-radius: 999px !important;
        background: #ff7a2f !important;
        color: #fff !important;
        font-weight: 600 !important;
    }

    /* Logged-in WHMCS navigation. */
    .ca-mobile-whmcs-list {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .ca-mobile-whmcs-list > li {
        width: 100%;
        border-bottom: 1px solid rgba(15,23,42,.08);
    }

    .ca-mobile-whmcs-list > li > a {
        min-height: 52px;
        padding: 14px 18px !important;
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        color: var(--body-color) !important;
        font-size: 16px !important;
        text-decoration: none;
    }

    .ca-mobile-whmcs-list > li.dropdown > a::after {
        margin-left: auto;
    }

    .ca-mobile-whmcs-list .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: #f8fafc !important;
    }

    .ca-mobile-whmcs-list .dropdown-menu.show {
        display: block !important;
    }

    .ca-mobile-whmcs-list .dropdown-item {
        padding: 0 !important;
        background: transparent !important;
    }

    .ca-mobile-whmcs-list .dropdown-item > a {
        display: block;
        padding: 11px 18px 11px 34px !important;
        color: #475569 !important;
        font-size: 14px !important;
        text-decoration: none;
    }

    .ca-mobile-whmcs-secondary {
        margin-top: 8px;
        border-top: 1px solid var(--border-color);
    }

    /* Do not expose the legacy mobile offcanvas implementation. */
    .tt-double-header .offcanvas-collapse {
        display: none !important;
    }

    body.ca-mobile-menu-open {
        overflow: hidden !important;
    }
}

@media (min-width: 992px) {
    .ca-mobile-menu,
    .ca-mobile-menu-overlay {
        display: none !important;
    }
}


/* =========================================================
   CodeAfrique — Mobile KoHost visual refinement
   Final visual layer only. Desktop behavior remains locked.
   ========================================================= */
@media (max-width: 991.98px) {
    /* The homepage header must truly float over the Hero. */
    .tt-double-header.ca-mobile-homepage,
    .tt-double-header.ca-kohost-homepage-header {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: transparent !important;
        background-color: transparent !important;
        background-image: none !important;
        border: 0 !important;
        box-shadow: none !important;
        z-index: 1050 !important;
    }

    .tt-double-header.ca-mobile-homepage .tt-top-header,
    .tt-double-header.ca-kohost-homepage-header .tt-top-header,
    .tt-double-header.ca-mobile-homepage:not(.ca-mobile-scrolled) .tt-top-header,
    .tt-double-header.ca-kohost-homepage-header:not(.ca-header-scrolled) .tt-top-header {
        background: transparent !important;
        background-color: transparent !important;
        background-image: none !important;
        border-color: transparent !important;
        box-shadow: none !important;
    }

    /* White logo + controls before the first scroll. */
    .tt-double-header.ca-mobile-homepage:not(.ca-mobile-scrolled) .tt-top-header .logo-img,
    .tt-double-header.ca-kohost-homepage-header:not(.ca-header-scrolled) .tt-top-header .logo-img {
        width: auto !important;
        max-width: 250px !important;
        max-height: 50px !important;
        height: auto !important;
        filter: brightness(0) invert(1) !important;
    }

    .tt-double-header.ca-mobile-homepage:not(.ca-mobile-scrolled) .tt-top-header a,
    .tt-double-header.ca-mobile-homepage:not(.ca-mobile-scrolled) .tt-top-header button,
    .tt-double-header.ca-mobile-homepage:not(.ca-mobile-scrolled) .tt-top-header i,
    .tt-double-header.ca-kohost-homepage-header:not(.ca-header-scrolled) .tt-top-header a,
    .tt-double-header.ca-kohost-homepage-header:not(.ca-header-scrolled) .tt-top-header button,
    .tt-double-header.ca-kohost-homepage-header:not(.ca-header-scrolled) .tt-top-header i {
        color: #fff !important;
    }

    /* Scrolled state. */
    .tt-double-header.ca-mobile-homepage.ca-mobile-scrolled,
    .tt-double-header.ca-kohost-homepage-header.ca-header-scrolled {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: #fff !important;
        background-color: #fff !important;
        border-bottom: 1px solid rgba(0,0,0,.06) !important;
        box-shadow: 0 6px 22px rgba(0,0,0,.08) !important;
    }

    .tt-double-header.ca-mobile-homepage.ca-mobile-scrolled .tt-top-header,
    .tt-double-header.ca-kohost-homepage-header.ca-header-scrolled .tt-top-header {
        background: #fff !important;
        background-color: #fff !important;
    }

    .tt-double-header.ca-mobile-homepage.ca-mobile-scrolled .tt-top-header .logo-img,
    .tt-double-header.ca-kohost-homepage-header.ca-header-scrolled .tt-top-header .logo-img {
        width: auto !important;
        max-width: 210px !important;
        max-height: 40px !important;
        height: auto !important;
        filter: none !important;
    }

    .tt-double-header.ca-mobile-homepage.ca-mobile-scrolled .tt-top-header a,
    .tt-double-header.ca-mobile-homepage.ca-mobile-scrolled .tt-top-header button,
    .tt-double-header.ca-mobile-homepage.ca-mobile-scrolled .tt-top-header i,
    .tt-double-header.ca-kohost-homepage-header.ca-header-scrolled .tt-top-header a,
    .tt-double-header.ca-kohost-homepage-header.ca-header-scrolled .tt-top-header button,
    .tt-double-header.ca-kohost-homepage-header.ca-header-scrolled .tt-top-header i {
        color: var(--body-color) !important;
    }

    /* Keep the mobile header compact and close to KoHost's proportions. */
    .tt-double-header .tt-top-header > .container {
        min-height: 72px;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .tt-double-header .tt-top-header .logo-img {
        max-width: 210px;
        max-height: 42px;
    }

    /* ---------------------------------------------------------
       Mobile drawer — KoHost-inspired presentation
       --------------------------------------------------------- */
    .ca-mobile-menu {
        width: 280px !important;
        max-width: calc(100vw - 48px) !important;
        background: var(--gray-light, #f7f8fa) !important;
        box-shadow: 2px 0 10px rgba(0,0,0,.10) !important;
        padding: 0 !important;
    }

    .ca-mobile-menu-header {
        min-height: 74px !important;
        padding: 14px 20px !important;
        background: var(--gray-light, #f7f8fa) !important;
        border-bottom: 1px solid rgba(0,0,0,.07) !important;
    }

    .ca-mobile-menu-brand .logo-img {
        max-width: 180px !important;
        max-height: 34px !important;
    }

    .ca-mobile-menu-close {
        width: 36px !important;
        height: 36px !important;
        border-radius: 4px !important;
        background: transparent !important;
        color: var(--body-color) !important;
        font-size: 26px !important;
    }

    .ca-mobile-nav,
    .ca-mobile-whmcs-nav {
        padding: 14px 20px 28px !important;
    }

    .ca-mobile-nav > .ca-mobile-link,
    .ca-mobile-menu-toggle {
        min-height: 46px !important;
        padding: 11px 0 !important;
        border-bottom: 1px solid rgba(0,0,0,.06) !important;
        background: transparent !important;
        color: var(--body-color) !important;
        font-size: 15px !important;
        font-weight: 500 !important;
    }

    .ca-mobile-menu-toggle i {
        font-size: 10px !important;
        margin-left: 12px;
    }

    .ca-mobile-submenu {
        background: transparent !important;
        border-left: 1px solid rgba(9,72,179,.15) !important;
        margin: 0 0 4px 6px !important;
    }

    .ca-mobile-submenu .ca-mobile-link {
        padding: 9px 10px 9px 16px !important;
        border-bottom: 0 !important;
        color: #64748b !important;
        font-size: 14px !important;
        line-height: 1.45 !important;
    }

    .ca-mobile-submenu .ca-mobile-link:hover,
    .ca-mobile-submenu .ca-mobile-link:focus {
        background: transparent !important;
        color: var(--primary) !important;
    }

    .ca-mobile-client-btn {
        margin: 20px 0 0 !important;
        width: 100% !important;
        min-height: 48px !important;
        padding: 0 20px !important;
        border-radius: 999px !important;
        background: #ff7a2f !important;
        color: #fff !important;
        box-shadow: none !important;
    }

    /* WHMCS authenticated mobile menu follows the same visual rhythm. */
    .ca-mobile-whmcs-list > li {
        border-bottom: 1px solid rgba(0,0,0,.06) !important;
    }

    .ca-mobile-whmcs-list > li > a,
    .ca-mobile-whmcs-list > li > button {
        min-height: 46px !important;
        padding: 11px 0 !important;
        background: transparent !important;
        color: var(--body-color) !important;
        font-size: 15px !important;
    }

    .ca-mobile-whmcs-list .dropdown-menu {
        background: transparent !important;
        border-left: 1px solid rgba(9,72,179,.15) !important;
        margin: 0 0 4px 6px !important;
        padding: 0 !important;
    }

    .ca-mobile-whmcs-list .dropdown-item > a {
        padding: 9px 10px 9px 16px !important;
        color: #64748b !important;
        font-size: 14px !important;
    }

    .ca-mobile-whmcs-secondary {
        margin-top: 10px !important;
        padding-top: 8px !important;
        border-top: 1px solid rgba(0,0,0,.08) !important;
    }

    .ca-mobile-menu-overlay {
        background: rgba(15,23,42,.48) !important;
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
    }
}

/* =========================================================
   CodeAfrique KoHost V2.9 — Targeted navbar regression fix
   ---------------------------------------------------------
   1. Restore desktop homepage transparency independently of
      JS class timing.
   2. Hide the duplicate desktop-style Client Area CTA on
      mobile; the mobile drawer already contains Client Area.
   3. Do not alter the working mobile transparent/scroll states.
   ========================================================= */

/* ---------------------------------------------------------
   MOBILE — the header CTA duplicates the Client Area already
   present inside #caMobileMenu. Remove only the header copy.
   This frees the toolbar for search/cart/menu/theme controls.
   --------------------------------------------------------- */
@media (max-width: 991.98px) {
    .tt-double-header .tt-top-header
    .tt-toolbar-wrap li:has(> .codeafrique-client-area-btn) {
        display: none !important;
    }

    .tt-double-header .tt-top-header
    .tt-toolbar-wrap .codeafrique-client-area-btn {
        display: none !important;
    }
}


/* =========================================================
   CodeAfrique KoHost V3 — Navbar final polish
   =========================================================
   Fixes reported from live browser verification:
   1. Homepage desktop header must be physically over the hero
      from the first paint, not only after JS adds a class.
   2. Public mobile Client Area CTA must be orange and pill-shaped.
   3. Logged-in WHMCS mobile dropdowns must participate in normal
      document flow so child items never overlap parent menu items.
   ========================================================= */

/* ---------------------------------------------------------
   MOBILE — Client Area CTA
   Keep the CTA inside the mobile menu at the same visual scale
   as the drawer itself, while matching the desktop orange pill.
   --------------------------------------------------------- */
@media (max-width: 991.98px) {
    .ca-mobile-nav > a.ca-mobile-client-btn,
    .ca-mobile-nav > .ca-mobile-client-btn.ca-mobile-link {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: calc(100% - 36px) !important;
        min-height: 48px !important;
        margin: 20px 18px 0 !important;
        padding: 0 18px !important;
        border: 0 !important;
        border-radius: 999px !important;
        background: #ff7a2f !important;
        background-color: #ff7a2f !important;
        color: #fff !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        line-height: 1 !important;
        text-decoration: none !important;
        box-shadow: none !important;
    }

    .ca-mobile-nav > a.ca-mobile-client-btn:hover,
    .ca-mobile-nav > a.ca-mobile-client-btn:focus,
    .ca-mobile-nav > a.ca-mobile-client-btn:active {
        background: #f36b20 !important;
        background-color: #f36b20 !important;
        color: #fff !important;
        text-decoration: none !important;
    }

    .ca-mobile-nav > a.ca-mobile-client-btn i {
        color: #fff !important;
        font-size: 17px !important;
    }

    /* -----------------------------------------------------
       LOGGED-IN WHMCS MOBILE NAVIGATION
       ----------------------------------------------------- */
    .ca-mobile-whmcs-list,
    .ca-mobile-whmcs-list ul,
    .ca-mobile-whmcs-list .dropdown-menu {
        position: static !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        float: none !important;
        clear: both !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    .ca-mobile-whmcs-list > li,
    .ca-mobile-whmcs-list .dropdown-menu > li,
    .ca-mobile-whmcs-list .dropdown-menu li {
        position: static !important;
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        clear: both !important;
        box-sizing: border-box !important;
    }

    /* Parent navigation rows. */
    .ca-mobile-whmcs-list > li > a,
    .ca-mobile-whmcs-list > li > .dropdown-toggle {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        min-height: 46px !important;
        height: auto !important;
        margin: 0 !important;
        padding: 11px 0 !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        line-height: 1.35 !important;
    }

    /* Child menu rows must stack underneath their parent. */
    .ca-mobile-whmcs-list .dropdown-menu {
        display: none !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin: 0 0 4px 6px !important;
        padding: 0 !important;
        border: 0 !important;
        border-left: 1px solid rgba(9,72,179,.15) !important;
        border-radius: 0 !important;
        background: #f8fafc !important;
        box-shadow: none !important;
    }

    .ca-mobile-whmcs-list .dropdown-menu.show,
    .ca-mobile-whmcs-list .dropdown.show > .dropdown-menu {
        display: block !important;
    }

    .ca-mobile-whmcs-list .dropdown-menu > li > a,
    .ca-mobile-whmcs-list .dropdown-menu .dropdown-item,
    .ca-mobile-whmcs-list .dropdown-menu .dropdown-item > a {
        position: static !important;
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 9px 10px 9px 16px !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        line-height: 1.4 !important;
        color: #64748b !important;
        background: transparent !important;
        text-decoration: none !important;
    }

    /* Nested WHMCS dropdowns, if present, stack recursively. */
    .ca-mobile-whmcs-list .dropdown-menu .dropdown-menu {
        margin-left: 8px !important;
        width: calc(100% - 8px) !important;
        background: transparent !important;
    }
}


/* =========================================================
   CodeAfrique V3.4 — DESKTOP HOMEPAGE NAVBAR ONLY
   Restore the proven V2 desktop top/scroll behavior.
   Mobile is intentionally excluded.
   ========================================================= */
@media (min-width: 992px) {
    /* At the homepage top, the header overlays the hero immediately. */
    body:has(.ca-kohost-hero) .tt-double-header,
    .tt-double-header.ca-kohost-homepage-header:not(.ca-header-scrolled) {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        z-index: 1050 !important;
    }

    body:has(.ca-kohost-hero) .tt-double-header:not(.ca-header-scrolled) .tt-top-header,
    .tt-double-header.ca-kohost-homepage-header:not(.ca-header-scrolled) .tt-top-header {
        background: transparent !important;
        background-color: transparent !important;
        border-color: transparent !important;
        box-shadow: none !important;
    }

    /* Top state: white logo, links, icons and dropdown chevrons. */
    body:has(.ca-kohost-hero) .tt-double-header:not(.ca-header-scrolled) .logo-img,
    .tt-double-header.ca-kohost-homepage-header:not(.ca-header-scrolled) .logo-img {
        width: auto !important;
        max-width: 300px !important;
        max-height: 50px !important;
        height: auto !important;
        filter: brightness(0) invert(1) !important;
    }

    body:has(.ca-kohost-hero) .tt-double-header:not(.ca-header-scrolled) .tt-custom-navbar > .nav-item > .nav-link,
    body:has(.ca-kohost-hero) .tt-double-header:not(.ca-header-scrolled) .tt-toolbar-wrap a,
    body:has(.ca-kohost-hero) .tt-double-header:not(.ca-header-scrolled) .tt-toolbar-wrap button,
    body:has(.ca-kohost-hero) .tt-double-header:not(.ca-header-scrolled) .tt-toolbar-wrap i,
    .tt-double-header.ca-kohost-homepage-header:not(.ca-header-scrolled) .tt-custom-navbar > .nav-item > .nav-link,
    .tt-double-header.ca-kohost-homepage-header:not(.ca-header-scrolled) .tt-toolbar-wrap a,
    .tt-double-header.ca-kohost-homepage-header:not(.ca-header-scrolled) .tt-toolbar-wrap button,
    .tt-double-header.ca-kohost-homepage-header:not(.ca-header-scrolled) .tt-toolbar-wrap i {
        color: #fff !important;
    }

    body:has(.ca-kohost-hero) .tt-double-header:not(.ca-header-scrolled) .tt-custom-navbar .dropdown-toggle::after,
    .tt-double-header.ca-kohost-homepage-header:not(.ca-header-scrolled) .tt-custom-navbar .dropdown-toggle::after {
        border-top-color: #fff !important;
    }

    /* Scrolled state: sticky light header and smaller blue logo. */
    .tt-double-header.ca-kohost-homepage-header.ca-header-scrolled {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: #fff !important;
        z-index: 1050 !important;
    }

    .tt-double-header.ca-kohost-homepage-header.ca-header-scrolled .tt-top-header {
        background: #fff !important;
        background-color: #fff !important;
        border-bottom: 1px solid rgba(0,0,0,.06) !important;
        box-shadow: 0 8px 25px rgba(0,0,0,.06) !important;
    }

    .tt-double-header.ca-kohost-homepage-header.ca-header-scrolled .logo-img {
        width: auto !important;
        max-width: 280px !important;
        max-height: 40px !important;
        height: auto !important;
        filter: none !important;
    }

    .tt-double-header.ca-kohost-homepage-header.ca-header-scrolled .tt-custom-navbar > .nav-item > .nav-link,
    .tt-double-header.ca-kohost-homepage-header.ca-header-scrolled .tt-toolbar-wrap a,
    .tt-double-header.ca-kohost-homepage-header.ca-header-scrolled .tt-toolbar-wrap button,
    .tt-double-header.ca-kohost-homepage-header.ca-header-scrolled .tt-toolbar-wrap i {
        color: var(--body-color) !important;
    }

    .tt-double-header.ca-kohost-homepage-header.ca-header-scrolled .tt-custom-navbar .dropdown-toggle::after {
        border-top-color: var(--body-color) !important;
    }

    /* Smooth visual transformation; desktop only. */
    .tt-double-header .tt-top-header,
    .tt-double-header .tt-top-header .logo-img,
    .tt-double-header .tt-top-header .tt-custom-navbar > .nav-item > .nav-link,
    .tt-double-header .tt-top-header .tt-toolbar-wrap a,
    .tt-double-header .tt-top-header .tt-toolbar-wrap button,
    .tt-double-header .tt-top-header .tt-toolbar-wrap i,
    .tt-double-header .tt-top-header .tt-custom-navbar .dropdown-toggle::after {
        transition:
            background-color .45s cubic-bezier(.4,0,.2,1),
            border-color .45s cubic-bezier(.4,0,.2,1),
            box-shadow .45s cubic-bezier(.4,0,.2,1),
            color .35s ease,
            filter .45s cubic-bezier(.4,0,.2,1),
            max-width .45s cubic-bezier(.4,0,.2,1),
            max-height .45s cubic-bezier(.4,0,.2,1);
    }
}

/* =========================================================
   CodeAfrique Phase 8 V5 — Global Infrastructure / Data Center Map
   Light UI + true responsive map rendering.

   The map is an absolutely-positioned image inside a percentage-height
   canvas. This keeps the image out of normal document flow, while the
   canvas itself scales strictly with the available viewport width.
   ========================================================= */
.ca-data-center-section {
    position: relative;
    overflow: hidden !important;
    background: #fafafa;
}

.ca-data-center-section .section-heading h2 {
    margin-bottom: 14px;
}

.ca-data-center-section .section-heading p {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.ca-network-map-wrap {
    position: relative;
    width: 100%;
    max-width: 1120px;
    height: 0 !important;
    padding-bottom: 59.333% !important;
    margin: 0 auto;
    overflow: hidden !important;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
}

.ca-network-map-canvas {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box;
}

.ca-network-map-image {
    position: absolute !important;
    inset: 0;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: fill !important;
    opacity: .35;
    filter: grayscale(100%);
    pointer-events: none;
    box-sizing: border-box;
}

.ca-custom-map-location {
    position: absolute !important;
    z-index: 3;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    box-sizing: border-box;
}

.ca-custom-map-location > .ca-map-location {
    position: absolute !important;
    z-index: 4;
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    margin: -9px 0 0 -9px !important;
    padding: 0 !important;
    list-style: none !important;
    box-sizing: border-box;
}

.ca-custom-map-location .ca-map-location > span {
    position: relative;
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #006ff6;
    border: 3px solid rgba(255, 255, 255, .95);
    box-shadow:
        0 0 0 5px rgba(0, 111, 246, .14),
        0 0 0 10px rgba(0, 111, 246, .07);
    box-sizing: border-box;
}

.ca-custom-map-location .ca-map-location > span::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: #006ff6;
}

.ca-custom-map-location .ca-map-location strong {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 9px);
    transform: translateX(-50%);
    display: block;
    width: max-content;
    max-width: 150px;
    padding: 4px 7px;
    border-radius: 3px;
    background: #151515;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.15;
    white-space: nowrap;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .12);
    box-sizing: border-box;
}

.ca-custom-map-location .ca-map-location strong::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: #151515;
}

.ca-custom-map-location .ca-map-location:hover > span,
.ca-custom-map-location .ca-map-location:focus-within > span {
    transform: scale(1.08);
}

@media (max-width: 991.98px) {
    .ca-data-center-section,
    .ca-data-center-section > .container,
    .ca-data-center-section .row,
    .ca-data-center-section .col-12,
    .ca-network-map-wrap,
    .ca-network-map-canvas,
    .ca-network-map-image {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .ca-data-center-section > .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .ca-data-center-section .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .ca-data-center-section .col-12 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .ca-network-map-wrap {
        height: 0 !important;
        padding-bottom: 59.333% !important;
        overflow: hidden !important;
    }

    .ca-network-map-canvas,
    .ca-network-map-image {
        height: 100% !important;
    }

    .ca-custom-map-location .ca-map-location {
        width: 16px !important;
        height: 16px !important;
        margin: -8px 0 0 -8px !important;
    }

    .ca-custom-map-location .ca-map-location > span {
        width: 16px;
        height: 16px;
        border-width: 2px;
        box-shadow:
            0 0 0 4px rgba(0, 111, 246, .13),
            0 0 0 8px rgba(0, 111, 246, .06);
    }

    .ca-custom-map-location .ca-map-location > span::after {
        inset: 3px;
    }

    .ca-custom-map-location .ca-map-location strong {
        font-size: 9px;
        padding: 4px 6px;
    }
}

@media (max-width: 575.98px) {
    .ca-data-center-section .section-heading {
        margin-bottom: 28px !important;
    }

    .ca-data-center-section .section-heading h2 {
        font-size: 26px;
        line-height: 1.2;
    }

    .ca-data-center-section .section-heading p {
        font-size: 14px;
        line-height: 1.65;
    }

    .ca-custom-map-location .ca-map-location {
        width: 14px !important;
        height: 14px !important;
        margin: -7px 0 0 -7px !important;
    }

    .ca-custom-map-location .ca-map-location > span {
        width: 14px;
        height: 14px;
        border-width: 2px;
        box-shadow:
            0 0 0 4px rgba(0, 111, 246, .13),
            0 0 0 8px rgba(0, 111, 246, .06);
    }

    .ca-custom-map-location .ca-map-location > span::after {
        inset: 3px;
    }

    .ca-custom-map-location .ca-map-location strong {
        font-size: 8px;
        padding: 3px 5px;
        max-width: 100px;
    }
}

/* =========================================================
   CodeAfrique KoHost Phase 8 V6 — Mobile policy
   The global infrastructure map is intentionally desktop/tablet
   presentation only. Remove the entire section on mobile so the
   map cannot participate in the mobile layout or viewport width.
   ========================================================= */
@media (max-width: 767.98px), screen and (max-device-width: 767px) {
    .ca-data-center-section {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }
}

/* =========================================================
   CodeAfrique — Phase 9: Native KoHost News & Events
   Data source: WHMCS announcements
   ========================================================= */
.ca-news-events-section {
    position: relative;
}

.ca-news-events-section .section-heading p {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.ca-news-events-grid > [class*="col-"] {
    margin-bottom: 0;
}

.ca-news-card {
    position: relative;
    color: inherit !important;
    text-decoration: none !important;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.ca-news-card:hover,
.ca-news-card:focus {
    color: inherit !important;
    text-decoration: none !important;
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(18, 35, 66, .10);
    border-color: rgba(13, 110, 253, .35) !important;
}

.ca-news-card:focus-visible {
    outline: 2px solid var(--primary-color, #0d6efd);
    outline-offset: 3px;
}

.ca-news-card .article-heading h3 {
    color: var(--heading-color, #1f2937);
    line-height: 1.45;
}

.ca-news-date {
    display: block;
    margin-top: 10px;
    color: #6c757d;
    font-size: 13px;
    line-height: 1.5;
}

.ca-news-card .border-shape {
    display: block;
    width: 42px;
    height: 2px;
    background: currentColor;
    color: #0d6efd;
    opacity: .75;
}

.ca-news-excerpt {
    color: #667085;
    font-size: 14px;
    line-height: 1.75;
}

.ca-news-excerpt p:last-child {
    margin-bottom: 0;
}

.ca-news-read-more {
    font-weight: 600;
    color: #0d6efd !important;
    font-size: 14px;
}

.ca-news-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(13, 110, 253, .08);
    color: #0d6efd;
    font-size: 14px;
}

.ca-news-card:hover .ca-news-icon,
.ca-news-card:focus .ca-news-icon {
    background: #0d6efd;
    color: #fff;
}

.ca-news-events-section .primary-solid-btn {
    display: inline-flex;
    align-items: center;
}

@media (max-width: 767.98px) {
    .ca-news-events-section {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .ca-news-card {
        margin-top: 20px !important;
    }
}


/* =========================================================
   CodeAfrique — Phase 10 Footer
   Presentation-only footer refinement. WHMCS routes/variables preserved.
   ========================================================= */
.ca-footer {
    position: relative;
    background: #07144a !important;
    color: rgba(255,255,255,.72);
}

.ca-footer-main {
    padding: 78px 0 64px;
    background: linear-gradient(135deg, #07144a 0%, #0c257f 55%, #1239a8 100%);
}

.ca-footer-brand {
    max-width: 410px;
}

.ca-footer-logo img {
    width: auto;
    max-width: 235px;
    max-height: 48px;
}

.ca-footer-description {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255,255,255,.76);
}

.ca-footer-contact-link {
    display: inline-flex;
    align-items: center;
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
}

.ca-footer-contact-link:hover {
    color: #ff8a45 !important;
}

.ca-footer-widget h6 {
    margin-bottom: 0;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .02em;
}

.ca-footer .tt-footer-menu li {
    margin-bottom: 10px;
}

.ca-footer .tt-footer-menu li:last-child {
    margin-bottom: 0;
}

.ca-footer .tt-footer-menu li a {
    color: rgba(255,255,255,.72) !important;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.6;
    opacity: 1;
}

.ca-footer .tt-footer-menu li a:hover {
    color: #fff !important;
    transform: translateX(2px);
}

.ca-footer-mini-copy {
    color: rgba(255,255,255,.72);
    font-size: 14px;
    line-height: 1.7;
    max-width: 250px;
}

.ca-footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: #ff7a2f;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
}

.ca-footer-cta:hover,
.ca-footer-cta:focus {
    background: #f36b20;
    color: #fff !important;
    box-shadow: none;
}

.ca-footer-payment-label {
    display: block;
    color: rgba(255,255,255,.56);
    font-size: 12px;
}

.ca-footer-payment img {
    max-width: 215px;
    opacity: .9;
}

.ca-footer-social {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}

.ca-footer-social .list-inline-item {
    margin: 0 !important;
}

.ca-footer-social .btn.btn-icon {
    width: 38px;
    height: 38px;
    margin: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;
    color: #fff;
    background: rgba(255,255,255,.06);
}

.ca-footer-social .btn.btn-icon:hover {
    color: #fff;
    background: rgba(255,255,255,.14);
    border-color: rgba(255,255,255,.25);
}

.ca-footer-bottom {
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,.12);
    background: rgba(0,0,0,.12);
}

.ca-footer-bottom .copyright {
    color: rgba(255,255,255,.58);
    font-size: 13px;
}

.ca-footer-legal {
    text-align: right;
}

.ca-footer-legal .list-inline-item {
    margin-right: 0;
    margin-left: 18px;
}

.ca-footer-legal a,
.ca-footer-legal button {
    color: rgba(255,255,255,.62) !important;
    font-size: 13px;
    padding: 0;
    background: transparent;
    border: 0;
}

.ca-footer-legal a:hover,
.ca-footer-legal button:hover {
    color: #fff !important;
}

@media (max-width: 991.98px) {
    .ca-footer-main {
        padding: 60px 0 42px;
    }

    .ca-footer-legal {
        margin-top: 12px;
        text-align: left;
    }

    .ca-footer-legal .list-inline-item {
        margin-left: 0;
        margin-right: 18px;
    }
}

@media (max-width: 575.98px) {
    .ca-footer-main {
        padding: 48px 0 30px;
    }

    .ca-footer-logo img {
        max-width: 205px;
    }

    .ca-footer-description {
        font-size: 14px;
    }

    .ca-footer-widget {
        margin-top: 4px;
    }

    .ca-footer-bottom {
        padding: 16px 0;
    }
}

/* Bootstrap 4.5.3-compatible tertiary button styles from the supplied Bootstrap 5.2.3 stylesheet. */
:root {
    --bs-tertiary: #f67a3c;
    --bs-tertiary-rgb: 246, 122, 60;
}

.btn-tertiary {
    color: #fff !important;
    background-color: var(--bs-tertiary);
    border-color: var(--bs-tertiary);
}

.btn-tertiary:hover,
.btn-tertiary:active,
.btn-tertiary:focus,
.btn-tertiary.active,
.btn-tertiary.show,
.show > .btn-tertiary.dropdown-toggle {
    color: #fff !important;
    background-color: rgb(234, 85.2, 10.8);
    border-color: rgb(234, 85.2, 10.8);
}

.btn-tertiary.focus,
.btn-tertiary:focus,
.btn-tertiary:not(:disabled):not(.disabled).active:focus,
.btn-tertiary:not(:disabled):not(.disabled):active:focus,
.show > .btn-tertiary.dropdown-toggle:focus {
    box-shadow: 0 0 0 .2rem rgba(209, 104, 51, .5);
}

.btn-tertiary.disabled,
.btn-tertiary:disabled {
    color: #fff !important;
    background-color: var(--bs-tertiary);
    border-color: var(--bs-tertiary);
}

.btn-tertiary.btn-shadow {
    box-shadow: 0 .5rem 1rem -.35rem rgba(246, 122, 60, .5);
}

/* Bootstrap 4.5.3 lacks Bootstrap 5's logical margin-end utility used by the requested markup. */
.me-2 {
    margin-inline-end: .5rem !important;
}
