.talent-section-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.7rem;
    border: 1px solid #3B2A86;
    background: linear-gradient(-30deg, rgba(11, 11, 20, 0.72) 0%, rgba(38, 38, 52, 0.66) 60%, rgba(5, 5, 9, 0.8) 100%);
    box-shadow: 0 0 28px rgba(59, 42, 134, 0.18);
}

.talent-video-card {
    border: 1px solid #3B2A86;
    border-radius: 1.2rem;
    overflow: hidden;
    background: #070812;
    min-height: 0;
    height: 100%;
    display: grid;
    grid-template-rows: 1fr auto;
}

.talent-video-footer {
    background: #342689;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1;
    padding: 10px 14px;
}

.talent-video-footer {
    min-height: 54px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.talent-video-stage {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: #000;
    padding: 0;
    min-height: 0;
}

.talent-video-card iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    max-height: 100%;
    border: 0;
    display: block;
    background: #000;
}

.talent-photo-card {
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-self: start;
    text-align: left;
}

.talent-photo-media {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
    background: #0b0b14;
    border: 1px solid #3B2A86;
    box-shadow: 0 0 18px rgba(59, 42, 134, 0.35);
    aspect-ratio: 214 / 285;
    transition: box-shadow 260ms ease, border-color 260ms ease;
}

.talent-photo-card:hover .talent-photo-media,
.talent-photo-card:focus-visible .talent-photo-media {
    border-color: #E4143A;
    box-shadow: 0 0 26px rgba(228, 20, 58, 0.2);
}

.talent-photo-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 420ms ease;
}

.talent-photo-card:hover .talent-photo-media img,
.talent-photo-card:focus-visible .talent-photo-media img {
    transform: scale(1.05);
}

.talent-kv-grid {
    display: grid;
    gap: 1.1rem 1.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.talent-kv-item {
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 0.18rem;
    min-height: 52px;
}

.talent-kv-label {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.talent-kv-value {
    font-size: 15px;
    color: #e2e8f0;
    line-height: 1.32;
}

.talent-lines {
    display: grid;
    gap: 0.4rem;
}

.talent-lines p {
    font-size: 15px;
    color: #e2e8f0;
    line-height: 1.4;
}

.talent-exp-row {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    column-gap: 12px;
    align-items: start;
}

.talent-exp-year {
    color: #dbe3f2;
    font-weight: 600;
    line-height: 1.4;
}

.talent-exp-text {
    min-width: 0;
    line-height: 1.4;
}

.talent-exp-continuation {
    padding-left: 66px;
}

.talent-lightbox {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.talent-lightbox.is-open {
    display: flex;
}

.talent-lightbox-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(2, 4, 14, 0.82);
    backdrop-filter: blur(5px);
}

.talent-lightbox-panel {
    position: relative;
    z-index: 1;
    width: min(95vw, 1500px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
}

.talent-lightbox-figure {
    position: relative;
    border-radius: 1.2rem;
    overflow: hidden;
    border: 1px solid rgba(59, 42, 134, 0.9);
    background: #050509;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.35);
    max-width: 100%;
    max-height: 88vh;
}

.talent-lightbox-media img {
    display: block;
    width: auto;
    height: auto;
    max-width: 95vw;
    max-height: 88vh;
    object-fit: contain;
    background: #050509;
}

.talent-lightbox-caption {
    padding: 12px 16px 14px;
    background: #090b16;
    color: #e2e8f0;
    font-size: 14px;
    line-height: 1.35;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.talent-lightbox-close,
.talent-lightbox-nav {
    border: 3px solid rgba(236, 236, 242, 0.7);
    background: rgba(15, 15, 25, 0.85);
    color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease, filter 220ms ease;
}

.talent-lightbox-close:hover,
.talent-lightbox-close:focus-visible,
.talent-lightbox-nav:hover,
.talent-lightbox-nav:focus-visible {
    filter: invert(1);
    outline: none;
}

.talent-lightbox-close {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    font-size: 0;
    line-height: 0;
    z-index: 2;
}

.talent-lightbox-close::before {
    content: "";
    display: block;
    width: 0.95rem;
    height: 0.95rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.8' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.talent-lightbox-nav {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    font-size: 0;
    flex-shrink: 0;
}

.talent-lightbox-prev::before,
.talent-lightbox-next::before {
    content: "";
    display: block;
    width: 1rem;
    height: 1rem;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.talent-lightbox-prev::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 6.5L9 12l5.5 5.5M9.5 12H20'/%3E%3C/svg%3E");
}

.talent-lightbox-next::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.5 6.5L15 12l-5.5 5.5M4 12h10.5'/%3E%3C/svg%3E");
}

.talent-page-lightbox-open {
    overflow: hidden;
}

@media (min-width: 1024px) {
    .talent-kv-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1023px) {
    .talent-video-card,
    .talent-video-card iframe {
    min-height: 250px;
    }
}

@media (max-width: 900px) {
    .talent-lightbox-panel {
    width: min(920px, calc(100vw - 1rem));
    gap: 0.5rem;
    }
}

@media (max-width: 640px) {
    .talent-lightbox-panel {
    width: min(920px, calc(100vw - 1rem));
    }

    .talent-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    }

    .talent-lightbox-prev {
    left: 0.4rem;
    }

    .talent-lightbox-next {
    right: 0.4rem;
    }
}
