/* Global module - Statement Cards ("Most leadership training...") */
.el-perform-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: 16px;
}

.el-perform-card {
    padding: clamp(40px, 6vw, 112px) clamp(28px, 3.6vw, 68px);
    border-radius: clamp(28px, 2.6vw, 48px);
    background: var(--el-color-blue-dark);
    color: var(--el-color-white);
}

/* Optional eyebrow on the navy card: light orange (design, #fda075). Three classes, so it wins over the
   global "white eyebrow on dark cards" rule (global.css), whose :is() list includes a two-class selector. */
.el-perform .el-perform-card .el-eyebrow {
    color: #fda075;
}

/* "Hide Photo" (profile pages): the right card is just text, centred in its height: two plain
   paragraphs (the first darker), not the homepage's large serif quote. */
.el-perform-photo.is-text {
    justify-content: center;
    background: #f3f6f9;
}

.el-perform-photo.is-text :is(.el-perform-text, .el-perform-quote) {
    max-width: none;
    margin-bottom: 24px;
    font-family: var(--el-font-body);
    font-size: clamp(17px, calc(17px + 5 * (100vw - 1280px) / 640), 22px);
    line-height: 1.6;
}

.el-perform-photo.is-text .el-perform-text {
    color: var(--el-color-text);
}

.el-perform-photo.is-text .el-perform-quote {
    color: var(--el-color-muted);
}

.el-perform-title {
    margin: 0 0 28px;
}

.el-perform-lines {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: clamp(22px, 1.9vw, 36px);
    line-height: 1.5;
}

.el-perform-photo {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: clamp(28px, 2.6vw, 48px);
    background: #e5eaef;
}

.el-perform-image {
    height: clamp(240px, 23.4vw, 450px);
    background: #cfd8e0;
}

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

.el-perform-body {
    padding: clamp(28px, 2.4vw, 44px) clamp(24px, 2.4vw, 44px) clamp(32px, 3vw, 56px);
}

.el-perform-text {
    margin: 0 0 24px;
    font-size: clamp(17px, 1.25vw, 24px);
    line-height: 1.45;
    color: var(--el-color-muted);
    max-width: 600px;
}

.el-perform-quote {
    margin: 0 0 32px;
    font-family: var(--el-font-heading);
    font-size: clamp(24px, 1.875vw, 36px);
    line-height: 1.3;
    color: #3b4d5e;
}

/* Navy button + orange arrow link on one row, as in the design. The link text wraps onto
   two lines beside its arrow; the button keeps its width. */
.el-perform-actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: clamp(20px, calc(20px + 12 * (100vw - 1280px) / 640), 32px);
}

.el-perform-btn {
    flex-shrink: 0;
    white-space: nowrap;
}

.el-perform-link {
    max-width: clamp(195px, calc(195px + 35 * (100vw - 1280px) / 640), 230px); /* text + the arrow */
    font-size: clamp(15px, calc(15px + 3 * (100vw - 1280px) / 640), 18px);
    line-height: 1.25;
}

.el-perform-link::after {
    flex-shrink: 0;
}

/* Grey photo panel (#e5eaef): orange text is 4.28:1 there, so the text is navy (12.9:1) and the
   arrow keeps the orange (an icon needs 3:1). */
.el-perform .el-perform-link {
    color: var(--el-color-heading);
}

.el-perform .el-perform-link::after {
    background: var(--el-color-orange-text);
}

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

@media (max-width: 575px) {
    .el-perform-actions {
        flex-wrap: wrap;
    }

    .el-perform-body .btn {
        width: 100%;
    }
}
