/* DichVuNoiBat — featured services slider (BEM: tgwv-dvnb) */

.tgwv-dvnb {
    --tgwv-dvnb-title-color: var(--tgwv-brand, #000000);
    --tgwv-dvnb-accent: var(--tgwv-brand, #000000);
    --tgwv-dvnb-accent-hover: var(--tgwv-secondary, color-mix(in srgb, var(--tgwv-brand, #000000) 85%, #000));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    padding-top: 30px;
    padding-bottom: 30px;
}

@media (min-width: 992px) {
    .tgwv-dvnb {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

.tgwv-dvnb__container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.tgwv-dvnb__header {
    margin-bottom: 20px;
    text-align: center;
}

.tgwv-dvnb__title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--tgwv-dvnb-title-color);
    margin-bottom: 15px;
}

.tgwv-dvnb__subtitle {
    color: #555555;
    font-size: 1rem;
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
    line-height: 1.6;
}

.tgwv-dvnb__subtitle > *:first-child {
    margin-top: 0;
}

.tgwv-dvnb__subtitle > *:last-child {
    margin-bottom: 0;
}

.tgwv-dvnb__subtitle p {
    margin: 0 0 0.5em;
    color: inherit;
    line-height: inherit;
}

.tgwv-dvnb__subtitle a {
    color: var(--tgwv-dvnb-accent, var(--tgwv-brand, #0b4a92));
    text-decoration: underline;
}

.tgwv-dvnb__subtitle a:hover {
    color: var(--tgwv-dvnb-accent-hover, var(--tgwv-secondary, #083a73));
}

.tgwv-dvnb__card {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
        transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.tgwv-dvnb--js .tgwv-dvnb__card {
    opacity: 0;
    transform: translateY(50px);
}

.tgwv-dvnb__card.is-visible,
.tgwv-dvnb__card--visible,
.tgwv-dvnb--js .tgwv-dvnb__card.is-visible,
.tgwv-dvnb--js .tgwv-dvnb__card--visible {
    opacity: 1;
    transform: translateY(0);
}

.tgwv-dvnb__card img.tgwv-dvnb__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transition: transform 0.6s ease;
    z-index: 0;
}

.tgwv-dvnb__card:hover img.tgwv-dvnb__bg {
    transform: scale(1.06);
}

.tgwv-dvnb__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(30, 41, 59, 0.95) 0%,
        rgba(30, 41, 59, 0.5) 60%,
        transparent 100%
    );
    z-index: 1;
}

.tgwv-dvnb__content {
    position: relative;
    width: 100%;
    padding: 30px;
    z-index: 2;
    color: #ffffff !important;
    display: flex;
    flex-direction: column;
}

.tgwv-dvnb__content h1,
.tgwv-dvnb__content h2,
.tgwv-dvnb__content h3,
.tgwv-dvnb__content h4,
.tgwv-dvnb__content h5,
.tgwv-dvnb__content h6,
.tgwv-dvnb__content p,
.tgwv-dvnb__content span,
.tgwv-dvnb__content i,
.tgwv-dvnb__content li,
.tgwv-dvnb__content a:not(.tgwv-dvnb__btn) {
    color: #ffffff !important;
}

.tgwv-dvnb__card-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff !important;
}

.tgwv-dvnb__desc {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 25px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #ffffff !important;
}

.tgwv-dvnb__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 1px solid var(--tgwv-dvnb-accent);
    border-radius: 30px;
    color: #ffffff;
    text-align: center;
    padding: 10px 20px;
    background-color: var(--tgwv-dvnb-accent);
    font-size: 16px;
    transition: all 0.3s ease;
    align-self: flex-start;
    text-decoration: none;
}

.tgwv-dvnb__btn:hover {
    background-color: var(--tgwv-dvnb-accent-hover) !important;
    border-color: var(--tgwv-dvnb-accent-hover) !important;
    color: #ffffff !important;
}

.tgwv-dvnb__track-container {
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
}

.tgwv-dvnb__slider-wrapper {
    position: relative;
}

.tgwv-dvnb__track {
    display: flex;
    flex-wrap: nowrap;
}

.tgwv-dvnb__slide {
    flex: 0 0 33.333333%;
    padding: 0 12px;
}

@media (min-width: 992px) {
    .tgwv-dvnb__track {
        justify-content: center;
    }
}

@media (max-width: 991.98px) {
    .tgwv-dvnb__slide {
        flex: 0 0 50%;
    }
    .tgwv-dvnb__title {
        font-size: 24px;
    }
    .tgwv-dvnb__btn {
        font-size: 14px;
    }
}

@media (max-width: 767.98px) {
    .tgwv-dvnb__slide {
        flex: 0 0 100%;
    }
}

.tgwv-dvnb__control {
    position: absolute;
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border: 2px solid var(--tgwv-dvnb-accent);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tgwv-dvnb-accent);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tgwv-dvnb__control:hover {
    background-color: var(--tgwv-dvnb-accent);
    border-color: var(--tgwv-dvnb-accent);
    color: #ffffff;
}

.tgwv-dvnb__control--prev {
    left: 10px;
}

.tgwv-dvnb__control--next {
    right: 10px;
}

.tgwv-dvnb__view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--tgwv-dvnb-accent) !important;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.tgwv-dvnb__view-all:hover,
.tgwv-dvnb__view-all:focus-visible {
    color: var(--tgwv-dvnb-accent-hover) !important;
    text-decoration: none;
}

.tgwv-dvnb__view-all i,
.tgwv-dvnb__btn i {
    margin-left: 0 !important;
}

@media (min-width: 992px) {
    .tgwv-dvnb__control {
        display: none !important;
    }
    .tgwv-dvnb__track {
        margin-left: -12px;
        margin-right: -12px;
    }
}

@media (max-width: 991.98px) {
    .tgwv-dvnb__slider-wrapper {
        padding-bottom: 70px;
    }

    .tgwv-dvnb__control {
        top: auto;
        bottom: 0;
        transform: none;
    }

    .tgwv-dvnb__control--prev {
        left: calc(50% - 52px);
        right: auto;
    }

    .tgwv-dvnb__control--next {
        left: auto;
        right: calc(50% - 52px);
    }
}
