/**
 * Action Card Module - Styles
 */

.cj-actioncard {
    --cj-actioncard-min-height: 285px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: var(--cj-actioncard-min-height);
    padding: clamp(24px, 2.6vw, 38px);
    border: 1px solid rgba(21, 19, 15, 0.16);
    font-family: "Saira", sans-serif;
}

.cj-actioncard--height-auto {
    min-height: var(--cj-actioncard-min-height);
}

.cj-actioncard--height-fixed {
    height: var(--cj-actioncard-min-height);
}

.cj-actioncard--height-fill {
    width: 100%;
    height: auto;
    min-height: var(--cj-actioncard-min-height);
    flex: 1 1 auto;
    align-self: stretch;
}

.cj-actioncard--dark {
    background: #0b0a09;
    color: #f5f2ec;
    border-color: #0b0a09;
}

.cj-actioncard--dark .cj-actioncard__title,
.cj-actioncard--dark .cj-actioncard__text {
    color: #f5f2ec;
}

.cj-actioncard--light {
    background: #e9e4da;
    color: #15130f;
}

.cj-actioncard--light .cj-actioncard__title,
.cj-actioncard--light .cj-actioncard__text {
    color: #15130f;
}

.cj-actioncard--accent-yes::before {
    content: "";
    position: absolute;
    top: 0;
    left: clamp(28px, 3vw, 42px);
    width: 64px;
    height: 5px;
    background: #eb5d0f;
}

.cj-actioncard__label {
    margin-bottom: 22px;
    font-family: "Space Mono", monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.2;
    text-transform: uppercase;
    color: #eb5d0f;
}

.cj-actioncard .cj-actioncard__title {
    margin: 0 0 16px !important;
    font-family: "Saira Condensed", sans-serif;
    font-size: clamp(34px, 3.8vw, 62px);
    font-weight: 900;
    line-height: 0.88;
    letter-spacing: 0;
    text-transform: uppercase;
    white-space: normal;
}

.cj-actioncard__title span {
    display: block;
}

.cj-actioncard__text {
    margin: 0 0 30px;
    max-width: 560px;
    font-size: 17px;
    line-height: 1.45;
    color: inherit;
}

.cj-actioncard__button {
    display: inline-flex;
    align-items: stretch;
    min-height: 48px;
    margin-top: auto;
    color: #0b0a09;
    text-decoration: none;
    font-family: "Saira Condensed", sans-serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1;
    text-transform: uppercase;
}

.cj-actioncard__button span:first-child {
    display: flex;
    align-items: center;
    padding: 0 20px;
    background: #eb5d0f;
}

.cj-actioncard__button span:last-child {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    min-width: 48px;
    background: #f5f2ec;
}

.cj-actioncard__button--dark span:first-child {
    background: #15130f;
    color: #f5f2ec;
}

.cj-actioncard__button--dark span:last-child {
    background: #eb5d0f;
}

@media (max-width: 720px) {
    .cj-actioncard {
        min-height: 0;
        padding: 28px 22px;
    }

    .cj-actioncard--height-fixed,
    .cj-actioncard--height-fill {
        height: auto;
        min-height: var(--cj-actioncard-min-height);
    }

    .cj-actioncard__text {
        font-size: 15px;
    }

    .cj-actioncard__button {
        max-width: 100%;
        font-size: 13px;
    }

    .cj-actioncard__button span:first-child {
        min-width: 0;
        padding: 0 16px;
    }
}
