/* ===== СТИЛИ ДЛЯ БЛОКА ОСНОВАТЕЛЕЙ ===== */
.founders-grid-custom {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.founder-card-link-custom {
    text-decoration: none;
    color: inherit;
    display: block;
}

.founder-card-custom {
    position: relative;
    width: 460px;
    height: 600px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.founder-card-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.founder-card-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.founder-card-custom:hover::before {
    opacity: 1;
}

.founder-image-custom {
    width: 100%;
    height: 100%;
}

.founder-image-custom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.founder-card-custom:hover .founder-image-custom img {
    transform: scale(1.05);
}

.founder-overlay-custom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px 20px 20px 20px;
    text-align: center;
    z-index: 2;
}

.founder-name-custom {
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 10px 0;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.founder-position-custom {
    font-size: 16px;
    margin: 0;
    opacity: 0.9;
    font-weight: 400;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* Адаптивность */
@media (max-width: 1200px) {
    .founder-card-custom {
        width: 400px;
        height: 520px;
    }
}

@media (max-width: 768px) {
    .founders-grid-custom {
        gap: 20px;
    }

    .founder-card-custom {
        width: 350px;
        height: 450px;
    }

    .founder-name-custom {
        font-size: 24px;
    }

    .founder-position-custom {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .founder-card-custom {
        width: 300px;
        height: 400px;
    }

    .founder-overlay-custom {
        padding: 20px 15px 15px 15px;
    }

    .founder-name-custom {
        font-size: 20px;
    }
}