/* Approved SSA team-section concept: static full mark, compact mobile header. */
.ssa-team-section-static.e-con.e-con-boxed {
    --ssa-logo-width: 168px;
    padding: 90px 64px;
    min-height: 710px;
    flex-direction: column;
    justify-content: center;
    background-color: #36214f;
}

.ssa-team-section-static.e-con.e-con-boxed > .e-con-inner {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    gap: 40px;
    width: 100%;
    max-width: 1760px;
    padding: 0;
    min-height: 0;
}

.ssa-team-section-static.e-con .ssa-team-section-intro.e-con {
    display: flex;
    flex: 0 0 286px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 26px;
    width: 286px;
    min-width: 0;
    padding: 0;
    margin: 0;
}

.ssa-team-section-intro > .elementor-widget {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.ssa-team-section-static .ssa-team-section-intro .elementor-widget-wgl-double-heading .wgl-double-heading .dblh__subtitle {
    margin: 0 0 20px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: .05em;
}

.ssa-team-section-static .ssa-team-section-intro .elementor-widget-wgl-double-heading .wgl-double-heading .dblh__title-wrapper {
    margin: 0;
    color: #fff;
    font-size: clamp(32px, 6vw, 96px);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -.02em;
}

.ssa-team-section-static .ssa-team-section-intro .elementor-widget-wgl-double-heading .wgl-double-heading .dblh__title {
    display: block;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.ssa-team-section-intro > .ssa-team-section-logo {
    width: var(--ssa-logo-width);
    flex: none;
}

.ssa-team-section-logo img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    opacity: .9;
}

.ssa-team-section-intro > .elementor-widget-wgl-button {
    width: max-content;
    max-width: 100%;
    align-self: flex-start;
}

.ssa-team-section-intro .wgl-button {
    padding: 15px 30px;
    min-height: 54px;
    border-radius: 5px;
    font-size: 16px;
    line-height: 24px;
}

.ssa-team-section-static.e-con .ssa-team-section-portraits.e-con {
    flex: 1 1 0%;
    width: auto;
    min-width: 0;
    padding: 0;
    margin: 0;
}

.ssa-team-section-portraits .elementor-widget-wgl-team {
    width: 100%;
    min-width: 0;
    margin: 0;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .ssa-team-section-static.e-con.e-con-boxed {
        padding: 64px 48px;
        min-height: 0;
    }
    .ssa-team-section-static.e-con.e-con-boxed > .e-con-inner { gap: 32px; }
    .ssa-team-section-static.e-con .ssa-team-section-intro.e-con {
        flex-basis: 40%;
        width: 40%;
    }
    .ssa-team-section-static .ssa-team-section-intro .elementor-widget-wgl-double-heading .wgl-double-heading .dblh__title-wrapper { font-size: clamp(56px, 7.8vw, 80px); }
}

@media (max-width: 767px) {
    .ssa-team-section-static.e-con.e-con-boxed {
        --ssa-logo-width: clamp(104px, 32.82vw, 128px);
        padding: 48px 24px;
        min-height: 0;
    }
    .ssa-team-section-static.e-con.e-con-boxed > .e-con-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 40px;
    }
    .ssa-team-section-static.e-con .ssa-team-section-intro.e-con {
        display: grid;
        grid-template-columns: minmax(0, 1fr) var(--ssa-logo-width);
        gap: 24px;
        flex: none;
        width: 100%;
    }
    /* The original widget's semantic heading and subtitle take separate grid rows. */
    .ssa-team-section-intro > .elementor-widget-wgl-double-heading,
    .ssa-team-section-intro > .elementor-widget-wgl-double-heading > .elementor-widget-container,
    .ssa-team-section-intro .wgl-double-heading {
        display: contents;
    }
    .ssa-team-section-static .ssa-team-section-intro .elementor-widget-wgl-double-heading .wgl-double-heading .dblh__subtitle {
        grid-column: 1 / -1;
        grid-row: 1;
        margin: 0;
        font-size: 12px;
        line-height: 18px;
    }
    .ssa-team-section-static .ssa-team-section-intro .elementor-widget-wgl-double-heading .wgl-double-heading .dblh__title-wrapper {
        grid-column: 1;
        grid-row: 2;
        font-size: clamp(40px, 13.333vw, 52px);
    }
    .ssa-team-section-intro > .ssa-team-section-logo {
        grid-column: 2;
        grid-row: 2;
        align-self: center;
    }
    .ssa-team-section-intro > .elementor-widget-wgl-button {
        grid-column: 1 / -1;
        grid-row: 3;
    }
    .ssa-team-section-static.e-con .ssa-team-section-portraits.e-con {
        flex: none;
        width: 100%;
    }
}

