﻿/*#region CTA COMPACT */

.ctas-compact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.cta-compact {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: .5rem;
    background: rgb(var(--dark-light));
    padding: 1rem;
    gap: 1rem;
    color: rgb(var(--dark));
}

.cta-compact:hover {
    color: rgb(var(--dark));
}

.cta-compact__text {
    display: flex;
    justify-content: start;
    font-weight: 600;
    font-size: 1.33rem;
    line-height: 1.66rem;
    margin-bottom: 0;
    color: inherit;
}

.cta-compact__caption {
    font-size: 1rem;
    color: inherit;
    margin-bottom: 0;
}

.cta-compact .cta::after {
    font-size: .9rem !important;
    line-height: 180%;
}

.cta-compact:hover .cta::after {
    animation: rollover .3s forwards;
}

.cta-compact .cta{
    margin-left: auto;
}

.cta-compact[disabled], .cta-compact[disabled] .cta::after {
    color: rgb(var(--grey));
}

.cta-compact[disabled] .cta::before {
    background: rgb(var(--grey-light));
}

    .cta-compact[disabled] .cta-compact__text::before {
        content: '\f30d';
        font-family: 'Font Awesome 6 Pro';
        font-weight: 400;
        color: rgb(var(--grey));
        margin-right: .5rem;
        font-size: 1.15rem;
    }

/*#endregion */

/*#region CTA WITH IMAGE */

.ctas-with-image {
    display: block;
}

.cta-with-image {
    display: flex;
    flex-direction: column;
    border-radius: .5rem;
    overflow: hidden;
    margin-bottom: 3rem;
}

.cta-with-image__image {
    height: 220px;
    object-fit: cover;
}

.cta-with-image__info {
    --info-line-clamp: 4;
    flex: 1 0 0%;
    padding: 1.5rem;
    background: rgb(var(--dark-light));
}

/*#endregion */

/*#region CTA WITHOUT IMAGE */

.ctas-without-image {
    --gutter: 1.5rem;
    display: flex;
    flex-direction: column;
    margin: auto;
    gap: 2rem;
}

.cta-without-image {
    width: 100%
}

.cta-with-image p{
   margin-bottom: 1.3rem;
}

.cta-without-image * {
    text-align: center;
    margin: auto;
    width: fit-content;
}

.cta-without-image:not(:last-child) {
    border-right: none;
}

/*#endregion */