.call-to-action {
	--title-color: var(--gray-100);
	--subtitle-color: var(--gray-100);
    --icon-color: var(--gray-100);
    --title-font-family: var(--font-display);
    --subtitle-font-family: var(--font-body);

    position: relative;
}

.call-to-action .inner {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: var(--space-5);
    padding: var(--space-5) var(--space-5);
}

.call-to-action .icon {
    color: var(--icon-color);
    font-size: var(--text-2xl);
}

.call-to-action .content {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.call-to-action .title {
    font-family: var(--title-font-family);
    color: var(--title-color);
    font-size: var(--text-2xl);
    line-height: var(--leading-tight);
}

.call-to-action .subtitle {
    font-family: var(--subtitle-font-family);
    color: var(--subtitle-color);
    font-size: var(--text-lg);
    line-height: var(--leading-tight);
}

.call-to-action .read-more {
    font-size: var(--text-xs);
}

/* Footer CTA */
.panel-footer .call-to-action {
    max-width: 300px;
    padding-bottom: 16px;

    .inner {
        display: block;
        padding: 13px 18px;
        border: 2px solid var(--gold);
    }

    .title {
        color: var(--gold);
        font-size: var(--text-base);
        line-height: 1.21;
        display: flex;
        justify-content: space-between;
        width: 100%;
        align-items: baseline;
        font-family: var(--font-body);
    }

    &::before {
        --decoration-height: 6px;

        content: '';
        position: absolute;
        bottom: calc(((var(--space-4) / 2) + (var(--decoration-height) / 2)) * -1); /* Half of content container gap + half height of the element, negatively positioned to sit in the middle of the gap */
        left: 0;
        width: 65px;
        height: var(--decoration-height);
        background: var(--gold);
    }
}

@media screen and (min-width: 64em) {
    .panel-footer .call-to-action {
        position: unset;

        &::before {
            bottom: 0;
        }
    }

    .call-to-action .title {
        font-size: var(--text-3xl);
    }

    .call-to-action .subtitle {
        font-size: var(--text-xl);
    }

    .call-to-action .read-more {
        font-size: var(--text-sm);
    }
}
