/*
|--------------------------------------------------------------------------
| PAF Visit Cards
|--------------------------------------------------------------------------
*/

.cew-paf-visit {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: #eeeeed;
}

.cew-paf-visit-container {
    max-width: 1200px;
    margin: auto;
    padding-left: 48px;
    padding-right: 48px;
}

/*
|--------------------------------------------------------------------------
| Header
|--------------------------------------------------------------------------
*/

.cew-paf-visit-header {
    text-align: center;
    margin-bottom: 64px;
}

.cew-paf-visit-heading {
    font-size: 32px;
    font-weight: 600;
    line-height: 40px;
    color: #0f5238;
    margin: 0 0 16px 0;
}

.cew-paf-visit-rule {
    width: 96px;
    height: 4px;
    margin: 0 auto;

    background-color: #2D6A4F;
    border-radius: 999px;
}

/*
|--------------------------------------------------------------------------
| Grid
|--------------------------------------------------------------------------
*/

.cew-paf-visit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/*
|--------------------------------------------------------------------------
| Card
|--------------------------------------------------------------------------
*/

.cew-paf-visit-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;

    padding: 32px;

    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #bfc9c1;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);

    /* the springy curve is what gives the lift its character */
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.cew-paf-visit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.10), 0 8px 10px -6px rgba(0, 0, 0, 0.10);
}

.cew-paf-visit-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 12px;
    border-radius: 8px;

    background-color: #a2e7fd;
    color: #1b697c;
}

.cew-paf-visit-card-icon .material-symbols-outlined {
    font-size: 24px;
    line-height: 1;
}

.cew-paf-visit-card-icon--filled .material-symbols-outlined {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.cew-paf-visit-card-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    color: #0f5238;
    margin: 0;
}

.cew-paf-visit-card-text {
    font-size: 16px;
    line-height: 26px;
    color: #404943;
    margin: 0;
}

/*
|--------------------------------------------------------------------------
| Responsive
|--------------------------------------------------------------------------
*/

@media (max-width: 768px) {

    .cew-paf-visit {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .cew-paf-visit-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .cew-paf-visit-header {
        margin-bottom: 40px;
    }

    .cew-paf-visit-heading {
        font-size: 28px;
        line-height: 36px;
    }

    .cew-paf-visit-card {
        padding: 24px;
    }

    .cew-paf-visit-card-title {
        font-size: 20px;
        line-height: 28px;
    }

}
