/* Expert team intro section — BEM: tgwv-dncg */

.tgwv-dncg {
    --tgwv-dncg-overlay: rgba(11, 44, 84, 0.85);
    --tgwv-dncg-title: #ffffff;
    --tgwv-dncg-body: #f0f8ff;
    --tgwv-dncg-control-hover: var(--tgwv-brand, #000000);
    --tgwv-dncg-aspect: 4 / 3;
    --tgwv-dncg-bg-image: none;

    background-image: linear-gradient(var(--tgwv-dncg-overlay), var(--tgwv-dncg-overlay)), var(--tgwv-dncg-bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    color: #ffffff;
    padding-top: 30px;
    padding-bottom: 30px;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    .tgwv-dncg {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

.tgwv-dncg *,
.tgwv-dncg *::before,
.tgwv-dncg *::after {
    box-sizing: border-box;
}

.tgwv-dncg--empty {
    background-image: none;
    background-color: #0b2c54;
    padding: 2rem 1rem;
    text-align: center;
}

.tgwv-dncg__empty-note {
    margin: 0;
    opacity: 0.9;
}

.tgwv-dncg__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.tgwv-dncg__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
}

.tgwv-dncg__content,
.tgwv-dncg__media {
    width: 100%;
    padding: 15px;
}

@media (min-width: 992px) {
    .tgwv-dncg__content,
    .tgwv-dncg__media {
        width: 50%;
    }

    .tgwv-dncg--media-first .tgwv-dncg__media {
        order: -1;
    }
}

.tgwv-dncg__title {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--tgwv-dncg-title);
    line-height: 1.3;
}

.tgwv-dncg__body {
    color: var(--tgwv-dncg-body);
    font-size: 1rem;
    line-height: 1.8;
}

.tgwv-dncg__body p {
    margin: 0 0 1em;
    text-align: justify;
    opacity: 0.95;
}

.tgwv-dncg__body p:last-child {
    margin-bottom: 0;
}

.tgwv-dncg__slider {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tgwv-dncg__viewport {
    width: 100%;
    overflow: hidden;
}

.tgwv-dncg__track {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.tgwv-dncg__slide {
    flex: 0 0 100%;
    position: relative;
    min-width: 0;
}

.tgwv-dncg__img {
    width: 100%;
    height: auto;
    aspect-ratio: var(--tgwv-dncg-aspect);
    object-fit: cover;
    display: block;
}

.tgwv-dncg__control {
    position: absolute;
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    padding: 0;
}

.tgwv-dncg__control:hover {
    background-color: #ffffff;
    color: var(--tgwv-dncg-control-hover);
    border-color: #ffffff;
    transform: translateY(-50%) scale(1.08);
}

.tgwv-dncg__control--prev {
    left: 15px;
}

.tgwv-dncg__control--next {
    right: 15px;
}

.tgwv-dncg--no-nav .tgwv-dncg__control {
    display: none;
}

/* Scroll reveal */
.tgwv-dncg:not(.tgwv-dncg--no-reveal) .tgwv-dncg__content,
.tgwv-dncg:not(.tgwv-dncg--no-reveal) .tgwv-dncg__media {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tgwv-dncg:not(.tgwv-dncg--no-reveal) .tgwv-dncg__media {
    transition-delay: 0.25s;
}

.tgwv-dncg__content--visible,
.tgwv-dncg__media--visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

@media (max-width: 991.98px) {
    .tgwv-dncg__title {
        font-size: 24px;
    }

    .tgwv-dncg__media {
        margin-top: 1rem;
    }
}
