/* Match the existing KDC doctor cards on the six gynecology pages. */
.gynecology-page .structure-doctors-grid {
    max-width: 1120px;
    margin-inline: auto;
}
.gynecology-page .structure-doctor-card,
.gynecology-page .structure-head-panel {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto 20px;
    padding: 24px 30px;
    border: 1px solid rgba(0, 160, 166, .18);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(15, 33, 55, .07);
    overflow: hidden;
    text-align: left;
}
.gynecology-page .structure-doctor-card {
    margin-bottom: 0;
}
.gynecology-page .structure-doctor-card,
.gynecology-page .structure-head-panel > .row {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    align-items: center;
    gap: 26px;
}
.gynecology-page .structure-head-panel > .row {
    margin: 0;
}
.gynecology-page .structure-head-panel > .row > [class*="col-"] {
    width: auto;
    max-width: none;
    padding: 0;
    margin: 0;
    text-align: left;
}
.gynecology-page .structure-doctor-image-wrap,
.gynecology-page .structure-head-img {
    width: 180px;
    height: 180px;
    max-width: 180px;
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #eef8f9;
    box-shadow: 0 16px 34px rgba(15, 33, 55, .10);
}
.gynecology-page .structure-doctor-image,
.gynecology-page .structure-head-img {
    display: block;
    object-fit: cover;
    object-position: center 22%;
}
.gynecology-page .structure-doctor-name,
.gynecology-page .structure-head-name {
    color: var(--accent);
    font-size: clamp(1.45rem, 2.2vw, 1.95rem);
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 10px;
}
.gynecology-page .structure-doctor-position,
.gynecology-page .structure-doctor-experience,
.gynecology-page .structure-head-position,
.gynecology-page .structure-head-label {
    color: rgba(33, 37, 41, .75);
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.45;
    margin-bottom: 8px;
    text-transform: none;
}
.gynecology-page .structure-head-phone {
    color: #212529;
    background: none;
    border-radius: 0;
    padding: 0;
    font-size: 1.05rem;
    font-weight: 700;
}
.gynecology-page .structure-head-phone small {
    color: #212529;
    font-size: 1.05rem;
}
.gynecology-page .structure-doctor-services {
    padding: 0 0 10px;
    color: #212529;
}
.gynecology-page .structure-doctor-services-title,
.gynecology-page .structure-doctor-services .structure-info-list,
.gynecology-page .structure-cabinet-services,
.gynecology-page .structure-info-section {
    color: #212529;
    font-size: 1.25rem;
    line-height: 1.5;
}
.gynecology-page .structure-info-list {
    display: block;
    list-style: disc;
    padding-left: 30px;
}
.gynecology-page .structure-info-list li {
    color: #212529;
    padding-left: 0;
    line-height: 1.5;
}
.gynecology-page .structure-info-list li::before {
    content: none;
}
.gynecology-page .structure-info-title,
.gynecology-page .structure-info-subtitle {
    color: #212529;
}
.gynecology-page .structure-cabinet-services .equipment-img-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3;
}
.gynecology-page .structure-cabinet-services .equipment-img-wrapper > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* The department page already supplies the KDC card layout. */
.gynecology-page .doctor-card-modern p,
.gynecology-page .doctor-card-modern p.fw-semibold {
    color: rgba(33, 37, 41, .75) !important;
    font-weight: 400 !important;
}
.gynecology-page .doctor-card-modern p.fw-bold,
.gynecology-page .doctor-card-modern a[href^="tel:"] {
    color: #212529 !important;
    font-weight: 700 !important;
}
@media (max-width: 767px) {
    .gynecology-page .structure-doctor-card,
    .gynecology-page .structure-head-panel {
        padding: 18px;
    }
    .gynecology-page .structure-doctor-card,
    .gynecology-page .structure-head-panel > .row {
        grid-template-columns: 118px minmax(0, 1fr);
        gap: 16px;
    }
    .gynecology-page .structure-doctor-image-wrap,
    .gynecology-page .structure-head-img {
        width: 118px;
        height: 118px;
        max-width: 118px;
    }
    .gynecology-page .structure-doctor-name,
    .gynecology-page .structure-head-name {
        font-size: 1.24rem;
    }
    .gynecology-page .structure-doctor-position,
    .gynecology-page .structure-doctor-experience,
    .gynecology-page .structure-head-position,
    .gynecology-page .structure-head-label {
        font-size: .98rem;
    }
}
@media (max-width: 430px) {
    .gynecology-page .structure-doctor-card,
    .gynecology-page .structure-head-panel > .row {
        grid-template-columns: 104px minmax(0, 1fr);
        gap: 14px;
    }
    .gynecology-page .structure-doctor-image-wrap,
    .gynecology-page .structure-head-img {
        width: 104px;
        height: 104px;
        max-width: 104px;
    }
}
