﻿@import url("/Page/About/Regional-Centers/css/regional-centers.css");

/* ── Photo ──────────────────────────────────────────────── */
.dir-photo-wrap {
    width: 100% !important;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.12);
    aspect-ratio: 3 / 4;
    max-height: 380px;
    object-position:center;
}

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

.dir-photo-placeholder {
    width: 100%;
    height: 100%;
    min-height: 280px;
    background: #f1f3f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: #adb5bd;
    border-radius: 16px;
}

/* ── Name box ───────────────────────────────────────────── */
.dir-name-box {
    margin-top: 1.25rem;
    text-align: center;
}

.dir-name-cyrillic {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.3;
}

.dir-name-latin {
    font-size: .9rem;
    color: #6c757d;
    margin-top: .2rem;
}

.dir-role-badge {
    display: inline-flex;
    align-items: center;
    margin-top: .6rem;
    background: #fff0f0;
    color: #c0392b;
    border: 1px solid rgba(192,57,43,.2);
    border-radius: 20px;
    font-size: .78rem;
    font-weight: 600;
    padding: .3rem .85rem;
}

/* ── Contact box ────────────────────────────────────────── */
.dir-contact-box {
    margin-top: 1.25rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    overflow: hidden;
}

.dir-contact-label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #6c757d;
    padding: .65rem 1rem .4rem;
    border-bottom: 1px solid #f0f0f0;
}

.dir-contact-row {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .65rem 1rem;
    text-decoration: none;
    color: #1a1a2e;
    font-size: .875rem;
    border-bottom: 1px solid #f8f9fa;
    transition: background .15s;
}

    .dir-contact-row:last-child {
        border-bottom: none;
    }

    .dir-contact-row:hover {
        background: #f8f9fa;
        color: #c0392b;
    }

.dir-contact-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
}

/* ── CV Card ────────────────────────────────────────────── */
.dir-cv-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 14px rgba(0,0,0,.07);
    overflow: hidden;
    height: 100%;
}

.dir-cv-head {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .9rem 1.25rem;
    background: linear-gradient(135deg, #8b0000 0%, #c0392b 100%);
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
}

    .dir-cv-head i {
        font-size: 1.1rem;
    }

.dir-cv-body {
    padding: 1.5rem 1.5rem 2rem;
}

.dir-cv-content {
    font-size: .97rem;
    line-height: 1.85;
    color: #444;
}

    .dir-cv-content p {
        margin-bottom: 1rem;
    }

    .dir-cv-content h2,
    .dir-cv-content h3,
    .dir-cv-content h4 {
        margin-top: 1.5rem;
        margin-bottom: .5rem;
        font-weight: 700;
        color: #1a1a2e;
    }

    .dir-cv-content ul,
    .dir-cv-content ol {
        padding-left: 1.4rem;
        margin-bottom: 1rem;
    }

    .dir-cv-content li {
        margin-bottom: .3rem;
    }

    .dir-cv-content strong {
        color: #1a1a2e;
    }

/* ── Empty CV ───────────────────────────────────────────── */
.dir-cv-empty {
    text-align: center;
    padding: 3rem 0;
    color: #adb5bd;
}

    .dir-cv-empty i {
        font-size: 2.5rem;
        display: block;
        margin-bottom: .6rem;
    }
