/*
|--------------------------------------------------------------------------
| PAF Contact
|--------------------------------------------------------------------------
*/

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

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

.cew-paf-con-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;

    background-color: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.10), 0 8px 10px -6px rgba(0, 0, 0, 0.10);
}

/* the directory stays first in the DOM regardless of which side the CTA sits on */
.cew-paf-con-card--cta-left .cew-paf-con-directory {
    order: 2;
}

.cew-paf-con-card--cta-left .cew-paf-con-cta {
    order: 1;
}

/*
|--------------------------------------------------------------------------
| Directory
|--------------------------------------------------------------------------
*/

.cew-paf-con-directory {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 64px;
}

.cew-paf-con-eyebrow {
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0.1em;
    text-transform: uppercase;

    color: #2D6A4F;
    margin-bottom: 16px;
}

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

.cew-paf-con-rows {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.cew-paf-con-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.cew-paf-con-row-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;

    background-color: rgba(45, 106, 79, 0.10);
    color: #2D6A4F;
}

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

.cew-paf-con-row-title {
    margin: 0;
    color: #1a1c1c;
}

.cew-paf-con-row-title--large {
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
}

.cew-paf-con-row-title--small {
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0.05em;
}

.cew-paf-con-row-line {
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: 0.05em;
    color: #404943;
    margin: 2px 0 0 0;
}

.cew-paf-con-row-link {
    display: inline-block;
    margin-top: 2px;

    font-size: 16px;
    line-height: 26px;
    color: #0f5238;
    text-decoration: none;
    word-break: break-word;
}

a.cew-paf-con-row-link:hover {
    text-decoration: underline;
}

/*
|--------------------------------------------------------------------------
| CTA panel
|--------------------------------------------------------------------------
*/

.cew-paf-con-cta {
    position: relative;
    overflow: hidden;
    background-color: #2D6A4F;
}

.cew-paf-con-cta-watermark {
    position: absolute;
    inset: 0;
    z-index: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0.10;
    pointer-events: none;
}

.cew-paf-con-cta-watermark .material-symbols-outlined {
    font-size: 300px;
    line-height: 1;
    color: #ffffff;
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.cew-paf-con-cta-body {
    position: relative;
    z-index: 10;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    height: 100%;
    padding: 64px;
}

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

.cew-paf-con-cta-text {
    font-size: 16px;
    line-height: 26px;
    color: #b1f0ce;
    margin: 0 0 32px 0;
}

.cew-paf-con-btn {
    display: inline-block;
    width: fit-content;

    padding: 16px 48px;
    border: none;
    border-radius: 999px;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;

    background-color: #ffffff;
    color: #0f5238;
    text-decoration: none;
    cursor: pointer;

    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.10);
    transition: background-color 0.3s ease;
}

.cew-paf-con-btn:hover {
    background-color: #e8e8e7;
}

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

@media (max-width: 1024px) {

    .cew-paf-con-directory,
    .cew-paf-con-cta-body {
        padding: 40px;
    }

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

}

@media (max-width: 900px) {

    .cew-paf-con-card {
        grid-template-columns: minmax(0, 1fr);
    }

    /* stacked, the directory always reads first */
    .cew-paf-con-card--cta-left .cew-paf-con-directory,
    .cew-paf-con-card--cta-left .cew-paf-con-cta {
        order: 0;
    }

    .cew-paf-con-cta-watermark .material-symbols-outlined {
        font-size: 220px;
    }

}

@media (max-width: 768px) {

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

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

    .cew-paf-con-directory,
    .cew-paf-con-cta-body {
        padding: 28px;
    }

    .cew-paf-con-btn {
        width: 100%;
        text-align: center;
    }

}
