.mentors-section {
    width: min(1000px, 100%);
    margin: 0 auto 34px;
    padding: 0 10px;
}

.mentors-header {
    margin-bottom: 24px;
}

.mentors-header span {
    min-width: 0;
    padding: 0 0 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #f8e6cc;
    font-family: 'Cinzel', Georgia, serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.25;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.55);
    overflow: visible;
}

.mentors-header span::before {
    inset: auto auto 0;
    width: 52px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #eac58e, transparent);
}

.mentors-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: center;
    gap: 20px;
    align-items: stretch;
}

.mentors-grid--pair {
    max-width: 680px;
    margin: 0 auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mentor-card {
    width: 100%;
    max-width: 320px;
    justify-self: center;
    padding: 6px;
    border: 1px solid rgba(238, 210, 169, 0.24);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(17, 12, 20, 0.8) 45%);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.mentor-card:hover {
    transform: translateY(-5px);
    border-color: rgba(238, 210, 169, 0.62);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.38), 0 0 24px rgba(238, 210, 169, 0.1);
}

.mentor-image-wrap {
    height: 310px;
    border: 0;
    border-radius: 19px;
    background: #17131a;
    box-shadow: none;
}

.mentor-image-wrap img {
    filter: none;
    transform: scale(1.01);
    transition: transform 0.45s ease;
}

.mentor-card:hover .mentor-image-wrap img {
    transform: scale(1.055);
}

.mentor-image-wrap::after {
    background: linear-gradient(180deg, rgba(8, 8, 12, 0.02) 42%, rgba(8, 8, 12, 0.82) 100%);
    box-shadow: none;
}

.mentor-overlay {
    gap: 8px;
    padding: 22px 14px 16px;
    background: transparent;
    text-shadow: none;
}

.mentor-name {
    color: #fffaf2;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.3;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
}

.mentor-role {
    padding: 5px 10px;
    border: 1px solid rgba(248, 230, 204, 0.35);
    border-radius: 999px;
    background: rgba(17, 12, 20, 0.62);
    color: #f8e6cc;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-shadow: none;
}

@media (max-width: 780px) {
    .mentors-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .mentor-card {
        max-width: 360px;
    }

    .mentor-image-wrap {
        height: 280px;
    }
}

@media (max-width: 560px) {
    .mentors-section {
        padding: 0 4px;
    }

    .mentors-header {
        margin-bottom: 18px;
    }

    .mentors-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .mentor-card {
        max-width: 420px;
        padding: 5px;
        border-radius: 19px;
    }

    .mentor-image-wrap {
        display: grid;
        grid-template-columns: 104px minmax(0, 1fr);
        height: auto;
        min-height: 112px;
        aspect-ratio: auto;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.035);
    }

    .mentor-image-wrap img {
        grid-column: 1;
        grid-row: 1;
        height: 112px;
        min-height: 112px;
        object-position: center 24%;
    }

    .mentor-image-wrap::after {
        display: none;
    }

    .mentor-overlay {
        position: relative;
        grid-column: 2;
        grid-row: 1;
        align-items: flex-start;
        gap: 8px;
        padding: 12px;
        text-align: left;
    }

    .mentor-name {
        font-size: 1rem;
    }

    .mentor-role {
        font-size: 0.64rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mentor-card,
    .mentor-image-wrap img {
        transition: none;
    }

    .mentor-card:hover {
        transform: none;
    }
}
