.committee-cv-open {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-transform: inherit;
    cursor: pointer;
}

.single-committee-member .commitee-thumb {
    overflow: hidden;
    aspect-ratio: 4 / 5;
}

.single-committee-member .commitee-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

body.khvhd-cv-open {
    overflow: hidden;
}

.khvhd-cv-modal[hidden] {
    display: none;
}

.khvhd-cv-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
}

.khvhd-cv-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 27, 51, 0.62);
}

.khvhd-cv-dialog {
    position: relative;
    z-index: 1;
    width: min(720px, calc(100% - 32px));
    max-height: min(86vh, 820px);
    margin: 7vh auto 0;
    padding: 36px 32px 28px;
    overflow: auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(15, 27, 51, 0.28);
    text-align: center;
}

.khvhd-cv-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #eef2f7;
    color: #16324f;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.khvhd-cv-dialog img {
    width: 112px;
    height: 112px;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    margin-bottom: 14px;
}

.khvhd-cv-dialog h3 {
    margin: 0 0 16px;
    color: #16324f;
    font-size: 26px;
    line-height: 1.2;
}

.khvhd-cv-dialog #khvhdCvBody {
    color: #3d4b63;
    font-size: 16px;
    line-height: 1.7;
    text-align: left;
}

.khvhd-cv-dialog #khvhdCvBody p {
    margin: 0 0 12px;
}

.rep-intro {
    margin: 0 0 18px;
    color: #4c5b73;
    font-size: 16px;
}

.rep-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 22px;
    align-items: start;
}

.rep-map-card,
.rep-profile {
    background: #fff;
    border: 1px solid #e4ebf3;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(22, 50, 79, 0.06);
}

.rep-map-card {
    padding: 18px 12px 8px;
}

.rep-map-stage {
    position: relative;
}

.tr-map {
    display: block;
    width: 100%;
    height: auto;
}

.tr-prov {
    fill: #d5dee8;
    stroke: #fff;
    stroke-width: 1.1;
    stroke-linejoin: round;
}

.tr-prov.is-link {
    cursor: pointer;
}

.tr-prov.is-link:hover {
    fill: #c5d4e2;
}

.tr-prov.is-on,
.tr-prov.is-on:hover {
    fill: #2ec4cf;
}

.tr-pin {
    position: absolute;
    width: 18px;
    height: 18px;
    transform: translate(-50%, -50%);
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.tr-pin-label {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 6px);
    transform: translateX(-50%);
    padding: 3px 8px;
    border-radius: 999px;
    background: #fff;
    color: #16324f;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(22, 50, 79, 0.16);
}

.tr-pin-dot {
    display: block;
    width: 14px;
    height: 14px;
    margin: 2px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #16324f;
    box-shadow: 0 0 0 4px rgba(46, 196, 207, 0.28);
}

.tr-pin.is-on .tr-pin-dot {
    background: #0f8f9b;
}

.tr-pin[data-rep="izmir"] .tr-pin-label {
    left: calc(100% + 6px);
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
}

.tr-pin[data-rep="gaziantep"] .tr-pin-label {
    transform: translateX(calc(-50% - 28px));
}

.tr-pin[data-rep="sanliurfa"] .tr-pin-label {
    transform: translateX(calc(-50% + 22px));
}

.tr-pin[data-rep="hatay"] .tr-pin-label {
    transform: translateX(calc(-50% - 18px));
}

.rep-profile {
    display: flex;
    gap: 18px;
    padding: 28px 24px;
}

.rep-photo {
    width: 92px;
    height: 92px;
    flex: 0 0 92px;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    background: #e8eef5;
}

.rep-copy h2 {
    margin: 4px 0 6px;
    color: #16324f;
    font-size: 28px;
    line-height: 1.15;
}

.rep-degree {
    margin: 0;
    color: #5d6b82;
    font-size: 15px;
}

.rep-role {
    margin: 4px 0 14px;
    color: #0f8f9b;
    font-size: 15px;
    font-weight: 700;
}

.rep-bio {
    color: #3d4b63;
    font-size: 15px;
    line-height: 1.65;
}

.rep-bio p {
    margin: 0 0 12px;
}

.rep-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.rep-tag {
    padding: 6px 12px;
    border: 1px solid #b7e4e8;
    border-radius: 999px;
    color: #0f6f78;
    background: #f3fbfc;
    font-size: 13px;
    font-weight: 600;
}

@media (max-width: 991px) {
    .rep-layout {
        grid-template-columns: 1fr;
    }

    .rep-profile {
        flex-direction: column;
        align-items: flex-start;
    }

    .tr-pin-label {
        font-size: 11px;
    }
}
