a.main-btn {
    display: block;
    margin-top: 2em;
    font-family: "Montserrat", sans-serif;
    text-decoration: none;
    line-height: 1;
}

button.custom-splide-controls {
    background-color: #002661;
    color: white;
}

button.custom-splide-controls .material-symbols-outlined,
button.custom-splide-controls .material-icons {
    font-weight: 800;
    line-height: unset;
}

a.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    padding: 18px 32px 18px 12px;
    margin-bottom: 1.2em;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    border-radius: 60px;
    background-color: #C73B00;
    color: #fff;
    overflow: hidden;
    transition: padding 0.4s ease;
    line-height: 1;
}

.footer-cta-btn::before {
    font-family: 'Material Icons';
    font-weight: normal;
    font-size: 1.2em;
    content: 'arrow_outward';
    opacity: 0;
    transform: translateX(-0.4em);
    transition: opacity 0.1s ease, transform 0.1s ease;
}

.footer-cta-btn:hover {
    padding-left: 1.3em;
    color: white !important;
}

@media (max-width: 768px) {
    button.custom-splide-controls {
        display: block;
        height: 30px;
        width: 30px;
        margin: 0;
        padding: 0;
        border-radius: 30px;
    }

    button.custom-splide-controls .material-symbols-outlined,
    button.custom-splide-controls .material-icons {
        font-size: 12px;
    }

    .hero-content a.main-btn,
    #widen-your-audience a.main-btn,
    .section-compact a.main-btn {
        margin: auto;
        max-width: 200px;
    }
}

@media (min-width: 769px) {
    button.custom-splide-controls {
        display: block;
        height: 60px;
        width: 60px;
        border-radius: 60px;
    }

    button.custom-splide-controls .material-symbols-outlined,
    button.custom-splide-controls .material-icons {
        font-size: 20px;
    }
}

@media (max-width: 1025px) {
    a.main-btn {
        display: grid;
        grid-template-columns: auto auto;
        grid-gap: 8px;
        align-items: center;
        max-width: max-content;
        margin-bottom: 2em;
        padding: 1em 1.5em;
        font-weight: bold;
        text-decoration: none;
        border-radius: 60px;
        background-color: #002661;
        color: white;
        line-height: 1.2;
    }

    .hero-content a.main-btn,
    #widen-your-audience a.main-btn,
    .section-compact a.main-btn {
        margin-top: 0;
    }

    .background-navy a.main-btn {
        color: #002661;
        background-color: white;
    }

    .background-navy .main-btn::before {
        background-color: white;
    }
}

@media (min-width: 1026px) {
    a.main-btn {
        position: relative;
        display: inline-flex;
        align-items: center;
        height: 61px;
        padding: 0 20px;
        font-family: "Montserrat", sans-serif;
        font-size: 16px;
        font-weight: 800;
        text-decoration: none;
        color: #002661;
        background: none;
        border: none;
        cursor: pointer;
        overflow: hidden;
        transition: color 0.3s ease;
    }

    .main-btn::before {
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 60px;
        height: 60px;
        border-radius: 50%;
        font-weight: 800;
        background-color: #002661;
        transition: all 0.3s ease;
        z-index: 0;
        content: "";
    }

    .main-btn:hover::before {
        width: 100%;
        border-radius: 999px;
    }

    .main-btn .arrow {
        position: relative;
        z-index: 1;
        margin-right: 32px;
        flex-shrink: 0;
        font-size: 20px;
        color: white;
    }

    .main-btn .text {
        position: relative;
        z-index: 1;
        padding-right: 10px;
        transition: color 0.3s ease;
    }

    .main-btn:hover .text {
        color: white;
    }

    .background-navy a.main-btn {
        color: white;
    }

    .background-navy .main-btn::before {
        background-color: white;
    }

    .background-navy .main-btn .arrow {
        color: #002661;
    }

    .background-navy .main-btn:hover .text {
        color: #002661;
    }
}
