#cta-mobile-agenda {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background-color: var(--red-petal-defaut);
    padding: 1.5rem;
}

#cta-mobile-agenda img {
    width: 5.5rem;
}

#cta-mobile-agenda p {
    color: white;
    font-size: 1rem;
    line-height: 1.8rem;
}
#cta-mobile-agenda span {
    background-color: var(--gray-agenda);
    padding: 0.25rem;
    display: inline;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

#cta-agenda {
    position: fixed;
    right: 0;
    z-index: 60;
    border-radius: 5px 0 0 5px;
    background-color: white;
    box-shadow:  0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    transition: top 0.3s ease-in-out;
}
#cta-agenda.closed {
    top: 69%;
}
#cta-agenda:not(.closed) {
    top: 50%;
}

#cta-agenda #cta-button {
    display: flex;
    justify-content: space-between;
    width: 16.9rem;
    background-color: var(--red-petal-defaut);
    border: none;
    border-radius: 5px 0 0 0px;
    display: flex;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
    transition: width 0.3s ease-in-out, filter 0.3s ease-in-out;
}
#cta-agenda #cta-button.cta-button-closed {
    border-radius: 5px 0 0 5px;
    width: 8rem;
}
#cta-agenda #cta-button:hover, #cta-agenda div#cta-content a:hover {
    filter: brightness(1.2);
    width: 16.9rem;
}

#cta-agenda #cta-button img {
    width: 2.9rem;
    height: auto;
}

#cta-agenda #cta-button::after {
    display: block;
    content: '';
    background-image: url('../../img/features/header-footer/down-arrow-white.svg');
    background-repeat: no-repeat;
    background-position: center;
    height: 1rem;
    width: 1rem;
    position: relative;
    margin-left: 1rem;
    margin-right: 0.25rem;
    transition: transform 0.3s ease-in;
}
#cta-agenda #cta-button.rotated::after {
    transform: rotate(180deg);
}

#cta-agenda #cta-content {
    transition: height 0.5s ease-in-out, opacity 0.5s ease-in-out, width 0s ease;
}
#cta-agenda #cta-content:not(.hidden-cta-content) {
    width: 16.9rem;
    padding: 0.5rem 1rem 1rem ;
    opacity: 1;
    height: 172px;
}
#cta-agenda #cta-content.hidden-cta-content {
    width: 0;
    padding: 0;
    opacity: 0;
    height: 0;
}
#cta-agenda #cta-content.hidden-cta-content * {
    display: none;
    width: 0;
    padding: 0;
    opacity: 0;
    height: 0;
}
#cta-agenda #cta-content * {
    display: inline-block;
}

#cta-agenda div#cta-content p {
    font-variation-settings: "wght" 300;
}

#cta-agenda div#cta-content button {
    margin: 0;
    width: 100%;
}

@media (min-width: 1240px) {
    #cta-mobile-agenda {
        display: none;
    }
}