/* About page content uses the shared inner-page section spacing and typography. */
#about-intro .about-page-grid,
#about-company .about-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
    align-items: start;
    gap: var(--ocf-split-gap);
}

#about-intro .about-page-grid > *,
#about-company .about-page-grid > *,
#about-intro .about-page-intro-copy-column,
#about-intro .about-page-card,
#about-company .about-page-card {
    min-width: 0;
}

#about-intro .about-page-crew-figure {
    width: 100%;
    margin: 0;
}

#about-intro .about-page-crew-image {
    display: block;
    position: static;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(16, 47, 92, 0.14);
}

#about-intro .about-page-intro-copy {
    min-width: 0;
    margin-top: var(--ocf-grid-gap);
    overflow-wrap: anywhere;
}

#about-intro .about-page-card,
#about-company .about-page-card {
    position: static;
    box-sizing: border-box;
    padding: 28px;
    border: 1px solid #E3E8F0;
    border-top: 4px solid #FFD400;
    border-radius: 12px;
    background: #FFFFFF;
    box-shadow: 0 4px 16px rgba(16, 47, 92, 0.08);
}

#about-intro .about-page-consultation-card > .about-page-card-heading {
    margin: 0 0 calc(var(--ocf-grid-gap) * 0.75);
    color: #102F5C;
    font-family: var(--ocf-font-heading), system-ui, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
    text-transform: none;
}

#about-intro .ocf-form-shell,
#about-intro .ocf-simple-form,
#about-intro .ocf-embedded-form,
#about-intro .ocf-embedded-form iframe {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

#about-intro .ocf-embedded-form iframe {
    display: block;
}

#about-company .about-page-company-story,
#about-company .about-page-credentials-copy,
#about-properties .about-page-properties-copy {
    min-width: 0;
    overflow-wrap: anywhere;
}

#about-company .about-page-credentials-copy > h3:first-child {
    margin-top: 0;
    text-transform: none;
}

#about-company .about-page-credentials-copy dl {
    display: grid;
    gap: 0;
    margin: 0 0 var(--ocf-grid-gap);
    border-top: 1px solid var(--ocf-border);
}

#about-company .about-page-credentials-copy dl > div {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.75fr);
    align-items: baseline;
    gap: var(--ocf-grid-gap);
    padding: 12px 0;
    border-bottom: 1px solid var(--ocf-border);
}

#about-company .about-page-credentials-copy dt {
    min-width: 0;
    color: #102F5C;
    font-weight: 700;
    overflow-wrap: anywhere;
}

#about-company .about-page-credentials-copy dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
}

#about-company .about-page-credentials-copy a,
#about-intro .about-page-card a {
    overflow-wrap: anywhere;
}

#about-company .about-page-company-story > p:nth-of-type(2),
#about-properties .about-page-properties-copy > p:nth-of-type(2) {
    margin-top: var(--ocf-grid-gap);
    padding: 14px 16px;
    border: 2px dashed #FFD400;
    border-radius: 8px;
    background: #FFF8D6;
}

@media (max-width: 900px) {
    #about-intro .about-page-grid,
    #about-company .about-page-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 520px) {
    #about-company .about-page-credentials-copy dl > div {
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
    }
}

/* OCF_AGENT_BLOCK:about-only-hero-background START */
body.page-template-page-about #page-header.ocf-page-header--image::before {
    background-image: url("https://229d7d67-phoenix-contracting-services-inc-professional-elec.h8q2.temphost024.com/wp-content/uploads/2026/10/phoenix-contracting-services-electrical-contractor-1.jpg");
    background-size: cover;
    background-position: center center;
}
/* OCF_AGENT_BLOCK:about-only-hero-background END */
