/* Consultant listing styles; shared header/navigation retain the public theme. */
.hpc-consultant-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.hpc-consultant-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 26px;
    border: 1px solid #dce7df;
    border-radius: 16px;
    background: linear-gradient(180deg, #f3f8f5, #fff 65%);
}

.hpc-consultant-photo {
    width: 160px;
    height: 160px;
    border: 5px solid #fff;
    box-shadow: 0 0 0 1px #dce7df;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 26px;
    background: #e5f3eb;
}

.hpc-consultant-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hpc-consultant-photo img[hidden] {
    display: none;
}

.hpc-consultant-photo-placeholder {
    display: none;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #0b6b3a;
    font-size: 64px;
}

.hpc-photo-missing .hpc-consultant-photo-placeholder {
    display: flex;
}

.hpc-consultant-card h3 {
    font-size: 23px;
    line-height: 1.35;
    margin: 0 0 12px;
    overflow-wrap: anywhere;
}

.hpc-consultant-title {
    color: #12382a;
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 12px;
}

.hpc-consultant-sector {
    color: #56675e;
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.hpc-consultant-card > a {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid #dce7df;
    width: 100%;
}

.hpc-consultant-cta {
    margin-top: 24px;
}

@media (max-width: 991px) {
    .hpc-consultant-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .hpc-consultant-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
