/* Team Box Style 2: portrait beside the full biography. */
.elementor .elementor-element.nico-team-tabs {
    --n-tabs-title-background-color-active: #01a542;
    --n-tabs-title-background-color-hover: #e8f6ed;
}

.elementor .elementor-element.nico-team-tabs .e-n-tabs-heading {
    width: 100%;
    border-bottom: 8px solid #01a542;
    gap: 10px;
}

.elementor .elementor-element.nico-team-tabs .e-n-tabs-heading > .e-n-tab-title {
    padding: 12px 16px;
    border-radius: 0;
    background: transparent;
    color: #525252;
    font-family: inherit;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
}

.elementor .elementor-element.nico-team-tabs .e-n-tab-title-text {
    font: inherit;
    text-transform: none;
}

.elementor .elementor-element.nico-team-tabs .e-n-tabs-heading > .e-n-tab-title:hover {
    background: #e8f6ed;
    color: #525252;
}

.elementor .elementor-element.nico-team-tabs .e-n-tabs-heading > .e-n-tab-title[aria-selected="true"] {
    background: #01a542;
    color: #fff;
}

.nico-team-profile {
    display: grid;
    grid-template-columns: 185px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
    text-align: left;
    margin-bottom: 45px;
}

.nico-team-profile__image {
    max-width: 185px;
}

.nico-team-profile__image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
}

.nico-team-profile__content {
    grid-column: 2;
    min-width: 0;
}

.nico-team-profile__name {
    margin: 0 0 6px;
    font-size: 26px;
    line-height: 1.3;
}

.nico-team-profile__position {
    margin-bottom: 24px;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 600;
}

.nico-team-profile__bio {
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.nico-team-profile__bio p {
    margin: 0 0 1.2em;
}

.nico-team-profile__bio > ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nico-team-profile__bio > :last-child {
    margin-bottom: 0;
}

@media (max-width: 599px) {
    .nico-team-profile {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .nico-team-profile__content {
        grid-column: 1;
    }

    .nico-team-profile__name {
        font-size: 24px;
    }
}
