/*----- general -----*/

.call-to-action {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 30px 0;
    text-align: center;
    color: var(--white);

    .icon {
        display: block;
        margin: 0 auto;
        
        &::before {
            font: var(--fa-font-light);
            font-size: var(--text-4xl);
        }

        &.newsletter::before {
            content: '\e5bb';
        }

        &.guide::before {
            content: '\f7e7';
        }
    }

    .title {
        margin: 0;
        font-family: var(--font-display);
        font-weight: var(--font-weight-medium);
        font-size: var(--text-xl);
        line-height: 1.15;
        color: inherit;
    }

    .button-row {
        display: flex;
        justify-content: center;
    }

    a::before {
        position: absolute;
        inset: 0;
        z-index: 3;
        content: '';
    }

    *:focus-visible {
        outline-color: var(--white);
    }

    @media (min-width: 64em) {
        padding: 30px;

        .icon::before {
            font-size: 2.5rem;
        }

        .title {
            font-size: 1.375rem;
        }
    }
}

/*----- in header -----*/

@media (min-width: 64em) {
    .panel-header .call-to-action .icon {
        display: none;
    }
}