/* Global module - Founders ("Two companies. One method.") */
.el-founders {
    background: linear-gradient(135deg, #eaf1f6, #f3f7fa);
}

.el-founders-head {
    margin-bottom: clamp(32px, 2.6vw, 44px);
    text-align: center;
}

.el-founders-title {
    margin: 0 0 8px;
    color: var(--el-color-heading);
}

.el-founders-text {
    margin: 0;
    font-size: clamp(18px, 1.2vw, 22px);
    color: var(--el-color-muted);
}

.el-founders-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.el-founder {
    display: grid;
    grid-template-columns: minmax(150px, 0.52fr) 1fr;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 8px 30px rgba(12, 29, 39, 0.06);
}

.el-founder-photo {
    min-height: 300px;
    background: #d5dde4;
}

.el-founder-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.el-founder-body {
    padding: clamp(24px, 2vw, 36px) clamp(20px, 1.8vw, 30px);
}

.el-founder-region {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--el-color-orange);
}

.el-founder-name {
    margin: 0 0 12px;
    color: var(--el-color-heading);
}

/* Job title right under the name; the name keeps its gap when there is no title. */
.el-founder-name:has(+ .el-founder-designation) {
    margin-bottom: 2px;
}

.el-founder-designation {
    margin: 0 0 14px;
    font-size: clamp(13px, calc(13px + 1 * (100vw - 1280px) / 640), 14px);
    line-height: 1.4;
    color: #7c8b99;
}

.el-founder-bio {
    margin: 0;
    font-size: clamp(15px, calc(15px + 2 * (100vw - 1280px) / 640), 17px);
    line-height: 1.5;
    color: var(--el-color-muted);
    max-width: 310px;
}

.el-founder-time {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 20px 0 0;
    padding-top: 18px;
    border-top: 1px solid #e3e8ec;
    font-size: 15px;
    color: var(--el-color-muted);
}

.el-founder-time::before {
    content: "";
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-right: 8px;
    background: var(--el-color-orange);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.el-founder-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 22px;
    margin-top: 18px;
}

.el-founder-actions .btn {
    background: var(--el-color-navy);
}

.el-founder-link {
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    color: var(--el-color-navy);
}

.el-founder-link::after {
    content: " \2192";
}

@media (max-width: 1199px) {
    .el-founders-list {
        grid-template-columns: 1fr;
        max-width: 680px;
    }
}

@media (max-width: 575px) {
    .el-founder {
        grid-template-columns: 1fr;
    }

    .el-founder-photo {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }
}

/* Profile Link: the photo and the name open the profile page */
a.el-founder-photo {
    display: block;
}

a.el-founder-photo img {
    transition: transform 0.5s ease;
}

a.el-founder-photo:hover img {
    transform: scale(1.03);
}

.el-founder-name a {
    color: inherit;
}

.el-founder-name a:hover,
.el-founder-name a:focus-visible {
    color: var(--el-color-orange);
}
