/* ==========================================================
   PHL PROPERTY SPECIALISTS
   Clean 4-Column Layout
   ========================================================== */

.phl-property-specialists {
    width: 100%;
    padding: 70px 20px;
    background: #f4f6f8;
}

.phl-property-specialists__container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* ----------------------------------------------------------
   HEADER
   ---------------------------------------------------------- */

.phl-property-specialists__header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 45px;
}

.phl-property-specialists__eyebrow {
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #d79a00;
}

.phl-property-specialists__heading {
    margin: 0 0 18px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
    font-weight: 800;
    color: #203f68;
}

.phl-property-specialists__intro {
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
    color: #687991;
}


/* ----------------------------------------------------------
   GRID — 4 CARDS PER ROW
   ---------------------------------------------------------- */

.phl-property-specialists__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}


/* ----------------------------------------------------------
   CARD
   ---------------------------------------------------------- */

.phl-property-specialist__card {
    display: flex;
    flex-direction: column;

    min-width: 0;
    padding: 12px 12px 16px;

    background: #ffffff;
    border: 1px solid #e7ebf0;
    border-radius: 16px;

    box-shadow: 0 8px 24px rgba(24, 55, 90, 0.08);

    overflow: hidden;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.phl-property-specialist__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(24, 55, 90, 0.13);
}


/* ----------------------------------------------------------
   PHOTO
   ---------------------------------------------------------- */

.phl-property-specialist__photo {
    width: 100%;
    height: 300px;

    overflow: hidden;
    border-radius: 11px;

    background: #eef2f6;
}

.phl-property-specialist__image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center top;

    margin: 0;
    padding: 0;

    transition: transform 0.35s ease;
}

.phl-property-specialist__card:hover
.phl-property-specialist__image {
    transform: scale(1.025);
}


/* ----------------------------------------------------------
   IMAGE PLACEHOLDER
   ---------------------------------------------------------- */

.phl-property-specialist__image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    padding: 20px;

    text-align: center;
    font-size: 14px;
    font-weight: 600;

    color: #8090a3;
    background: #eef2f6;
}


/* ----------------------------------------------------------
   NAME
   ---------------------------------------------------------- */

.phl-property-specialist__name {
    margin: 18px 4px 5px;

    font-size: 18px;
    line-height: 1.25;
    font-weight: 800;

    color: #203f68;
}


/* ----------------------------------------------------------
   TITLE
   ---------------------------------------------------------- */

.phl-property-specialist__title {
    margin: 0 4px;

    min-height: 18px;

    font-size: 11px;
    line-height: 1.4;
    font-weight: 700;

    letter-spacing: 1px;
    text-transform: uppercase;

    color: #d79a00;
}


/* ----------------------------------------------------------
   DIVIDER
   ---------------------------------------------------------- */

.phl-property-specialist__divider {
    width: 40px;
    height: 2px;

    margin: 12px 4px;

    background: #d79a00;
}


/* ----------------------------------------------------------
   CONTACT
   ---------------------------------------------------------- */

.phl-property-specialist__contact {
    display: flex;
    flex-direction: column;
    gap: 7px;

    margin: 0 4px 14px;
}

.phl-property-specialist__contact-item {
    display: flex;
    align-items: center;
    gap: 8px;

    min-width: 0;

    color: #65758b;
    text-decoration: none;

    font-size: 12px;
    line-height: 1.4;
}

.phl-property-specialist__contact-item:hover {
    color: #203f68;
}

.phl-property-specialist__contact-icon {
    flex: 0 0 14px;

    font-size: 12px;
    text-align: center;
}

.phl-property-specialist__contact-text {
    min-width: 0;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* ----------------------------------------------------------
   BUTTON
   ---------------------------------------------------------- */

.phl-property-specialist__button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 42px;

    margin-top: auto;

    padding: 10px 14px;

    border-radius: 8px;

    background: #203f68;
    color: #ffffff;

    font-size: 13px;
    font-weight: 700;

    text-align: center;
    text-decoration: none;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.phl-property-specialist__button:hover {
    background: #173453;
    color: #ffffff;
    transform: translateY(-1px);
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

/* Tablet */
@media (max-width: 1100px) {

    .phl-property-specialists__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .phl-property-specialist__photo {
        height: 280px;
    }
}


/* Small tablet */
@media (max-width: 800px) {

    .phl-property-specialists {
        padding: 55px 16px;
    }

    .phl-property-specialists__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .phl-property-specialist__photo {
        height: 280px;
    }
}


/* Mobile */
@media (max-width: 560px) {

    .phl-property-specialists {
        padding: 45px 12px;
    }

    .phl-property-specialists__header {
        margin-bottom: 30px;
    }

    .phl-property-specialists__heading {
        font-size: 30px;
    }

    .phl-property-specialists__intro {
        font-size: 15px;
    }

    .phl-property-specialists__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .phl-property-specialist__photo {
        height: 360px;
    }
}