/* default only — no !important, so the module's Background Colour field (set
   inline on the section by simple-flex.php) can override it */
.page-template-simple-flex .module-project_contacts {
    background: #ececec;
}

.page-template-simple-flex .module-project_contacts .sf-content,
.page-template-simple-flex .module-project_contacts .sf-content p,
.page-template-simple-flex .module-project_contacts .sf-content h2,
.page-template-simple-flex .module-project_contacts .sf-content h3,
.page-template-simple-flex .module-project_contacts .sf-content a {
    color: #0e4252;
}

.page-template-simple-flex .module-project_contacts .sf-pc-intro a {
    color: #21a6ad;
}

.page-template-simple-flex .sf-pc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.page-template-simple-flex .sf-pc-card {
    background: #a7d04e;
    border-radius: 15px;
    padding: 15px;
}

.page-template-simple-flex .sf-pc-card-grid {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 15px;
}

.page-template-simple-flex .sf-pc-image-wrap img {
    width: 100%;
    border-radius: 15px;
}

.page-template-simple-flex .sf-pc-card-grid h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.sf-pc-role {
    font-size: 20px !important;
    margin-bottom: 10px;
}

.sf-pc-location {
    font-size: 18px !important;
    margin-bottom: 10px;
}

.sf-pc-email,
.sf-pc-phone {
    font-size: 16px;
    margin-bottom: 8px;
}

.page-template-simple-flex .sf-pc-hours {
    background: #0e4252;
    color: #ffffff !important;
    border-radius: 15px;
    padding: 25px;
}

.page-template-simple-flex .sf-pc-hours p,
.page-template-simple-flex .sf-pc-hours h3,
.page-template-simple-flex .sf-pc-hours a {
    color: #ffffff !important;
}

.module-project_contacts h2 {
    margin-bottom: 0.5em;
}

.sf-pc-intro {
    margin-bottom: 1em;
}

.sf-pc-hours h4 {
    color: #fff !important;
    font-size: 24px;
    margin-bottom: 5px;
    padding-top: 0;
}

.sf-pc-hours .largeText {
    font-size: 20px !important;
    font-weight: 500 !important;
    margin-bottom: 5px;
}

.sf-pc-hours p {
    font-size: 16px 1;
}

@media screen and (max-width: 900px) {
    .page-template-simple-flex .sf-pc-grid {
        grid-template-columns: 1fr;
    }

    .page-template-simple-flex .sf-pc-card-grid {
        grid-template-columns: 1fr;
    }
}