/* Management Team page: cards in a row slide in one after another (staggered entrance). */
.elementor-5010 .elementor-element-e5bbe99 > .e-con,
.elementor-5010 .elementor-element-a475824 > .e-con,
.elementor-5010 .elementor-element-5860189 > .e-con,
.elementor-5010 .elementor-element-ff509b7 > .e-con,
.elementor-5010 .elementor-element-387b71b > .e-con {
    animation-delay: 0s;
}

.elementor-5010 .elementor-element-e5bbe99 > .e-con:nth-child(2),
.elementor-5010 .elementor-element-a475824 > .e-con:nth-child(2),
.elementor-5010 .elementor-element-5860189 > .e-con:nth-child(2),
.elementor-5010 .elementor-element-ff509b7 > .e-con:nth-child(2),
.elementor-5010 .elementor-element-387b71b > .e-con:nth-child(2) {
    animation-delay: 0.15s;
}

.elementor-5010 .elementor-element-a475824 > .e-con:nth-child(3),
.elementor-5010 .elementor-element-5860189 > .e-con:nth-child(3),
.elementor-5010 .elementor-element-ff509b7 > .e-con:nth-child(3),
.elementor-5010 .elementor-element-387b71b > .e-con:nth-child(3) {
    animation-delay: 0.3s;
}

.elementor-5010 .elementor-element-5860189 > .e-con:nth-child(4),
.elementor-5010 .elementor-element-ff509b7 > .e-con:nth-child(4),
.elementor-5010 .elementor-element-387b71b > .e-con:nth-child(4) {
    animation-delay: 0.45s;
}

@media (prefers-reduced-motion: reduce) {
    .elementor-5010 .e-con { animation-delay: 0s !important; }
}

/* Smoother entrance: a short, eased rise instead of Elementor's full-height jump. */
@keyframes mtFadeUp {
    from { opacity: 0; transform: translate3d(0, 36px, 0); }
    to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

.elementor-5010 .animated.fadeInUp {
    animation-name: mtFadeUp !important;
    animation-duration: 0.9s !important;
    animation-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1) !important;
    animation-fill-mode: both;
    will-change: opacity, transform;
}

@media (prefers-reduced-motion: reduce) {
    .elementor-5010 .animated.fadeInUp { animation-duration: 0.01s !important; }
}

/* Two year ranges on one card: one at each side, on the same line. */
.mt-years {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  width: 100%;
}
.mt-years > .elementor-widget {
  width: auto;
}
.mt-years .elementor-heading-title {
  white-space: nowrap;
}

/* ---- Card style: white card, rounded photo, yellow corner and bottom bar, navy name, role pill (Management Team page) ---- */
.elementor-5010 .e-grid > .e-con {
    --e-con-padding: 0;
    --gap: 0px;
    --row-gap: 0px;
    position: relative;
    align-items: stretch;
    gap: 0;
    padding: 12px 12px 0;
    overflow: hidden;
    background: #fff !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 28px rgba(2, 29, 48, 0.12) !important;
}

/* Yellow bar along the bottom of each card. */
.elementor-5010 .e-grid > .e-con::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 6px;
    background: #ffc107;
}

.elementor-5010 .e-grid > .e-con > .elementor-widget-image {
    width: 100% !important;
    max-width: none;
    margin: 0 !important;
    padding: 0;
}

.elementor-5010 .e-grid > .e-con > .elementor-widget-image img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: top center;
    border-radius: 10px;
}

.elementor-5010 .e-grid > .e-con > .e-con {
    --e-con-padding: 0;
    flex: 1;
    width: 100% !important;
    gap: 10px;
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 0 !important;
    padding: 20px 6px 26px !important;
    text-align: center;
    background: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.elementor-5010 .e-grid > .e-con > .e-con .elementor-widget { margin: 0; width: auto; max-width: 100%; }

.elementor-5010 .e-grid > .e-con > .e-con .elementor-heading-title {
    margin: 0;
    color: #021d30 !important;
    font-family: Lexend, sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
}

/* Yellow rule under the name, then the role in a light pill. */
.elementor-5010 .e-grid > .e-con > .e-con .elementor-widget:nth-child(2) {
    position: relative;
    margin-top: 6px;
    padding-top: 16px;
}
.elementor-5010 .e-grid > .e-con > .e-con .elementor-widget:nth-child(2)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 64px;
    height: 3px;
    background: #ffc107;
    border-radius: 3px;
    transform: translateX(-50%);
}
.elementor-5010 .e-grid > .e-con > .e-con .elementor-widget:nth-child(n+2) .elementor-heading-title {
    display: inline-block;
    min-width: 70%;
    padding: 9px 26px;
    color: #021d30 !important;
    background: #e6f0fa;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 400;
}

/* Two year ranges: one pill, years at each side, one rule above. */
.elementor-5010 .e-grid > .e-con > .e-con > .mt-years {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: fit-content !important;
    max-width: 100%;
    margin: 22px 0 0 !important;
    padding: 9px 22px;
    background: #e6f0fa;
    border-radius: 999px;
}
.elementor-5010 .e-grid > .e-con > .e-con > .mt-years::before {
    content: "";
    position: absolute;
    top: -17px;
    left: 50%;
    width: 64px;
    height: 3px;
    background: #ffc107;
    border-radius: 3px;
    transform: translateX(-50%);
}
.elementor-5010 .e-grid > .e-con > .e-con > .mt-years .elementor-widget { padding: 0 !important; margin: 0 !important; }
.elementor-5010 .e-grid > .e-con > .e-con > .mt-years .elementor-widget::before { display: none; }
.elementor-5010 .e-grid > .e-con > .e-con > .mt-years .elementor-widget .elementor-heading-title {
    min-width: 0 !important;
    padding: 0 !important;
    color: #021d30 !important;
    background: none !important;
    font-size: 15px;
    font-weight: 400;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .elementor-5010 .e-grid > .e-con > .e-con { padding: 16px 4px 22px !important; }
    .elementor-5010 .e-grid > .e-con > .e-con .elementor-heading-title { font-size: 18px; }
    .elementor-5010 .e-grid > .e-con > .e-con .elementor-widget:nth-child(n+2) .elementor-heading-title { font-size: 14px; }
}
