._newsDetailGallery {
    width: 50%;
}

._newsDetailContainer {
    display: flex;
    max-width: 1030px;
    margin: 0 auto;
    padding-top: 80px;
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 50px;
    gap: 80px;
}

._newsDetailContent {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

._newsDetailHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

._newsDetailName {
    color: #000;
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
}

._newsDetailDate {
    color: rgba(0, 0, 0, 0.5);
    font-size: 14px;
}

._newsDetailText {
    color: #000;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    text-align: justify;
}

._newsDetailText h1,
._newsDetailText h2,
._newsDetailText h3,
._newsDetailText h4,
._newsDetailText h5,
._newsDetailText h6 {
    margin: 16px 0 8px;
}

._newsDetailText hr {
    margin: 16px 0;
    border-top: 1px solid #ccc;
}

._newsDetailText pre {
    overflow-x: auto;
    padding: 8px;
}

._newsDetailText a {
    color: var(--accent-color);
}

._newsDetailText {
    overflow-wrap: break-word;
}

._newsDetailText img {
    max-width: 100%;
    height: auto;
}

._newsDetailContainer .swiper-slide {
    display: flex;
    justify-content: center;
}

._newsDetailContainer .slide {
    padding: 0 !important;
    text-align: center;
}

._newsDetailContainer .slide img {
    max-height: 400px;
    object-fit: contain;
}

._newsDetailContainer .slide video {
    max-height: 400px;
    max-width: 100%;
    object-fit: contain;
}

._newsDetailContainer .slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
}

._newsDetailContainer .slider-nav .swiper-button-prev,
._newsDetailContainer .slider-nav .swiper-button-next {
    position: static;
    width: auto;
    height: auto;
    margin-top: 0;
    color: var(--accent-color, #2d98a2);
}

._newsDetailContainer .slider-nav .swiper-button-prev:after,
._newsDetailContainer .slider-nav .swiper-button-next:after {
    font-size: 18px;
}

._newsDetailContainer .slider-nav .swiper-pagination {
    position: static;
    width: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

._newsDetailContainer .slider-nav .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--accent-color, #2d98a2);
    opacity: 0.4;
}

._newsDetailContainer .slider-nav .swiper-pagination-bullet-active {
    opacity: 1;
}

@media (max-width: 991px) {
    ._newsDetailContainer {
        flex-direction: column;
        padding-top: 20px;
        gap: initial;
    }

    ._newsDetailContent,
    ._newsDetailGallery {
        width: 100%;
    }

    ._newsDetailGallery {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    ._newsDetailGallery {
        order: -1;
    }

    ._newsDetailContent {
        gap: 15px;
    }
}

._wrapper_z5wpz_1 {
    max-width: 420px;
    /*background: #fff;*/
    position: relative;
}


@media (max-width: 900px) {
    ._wrapper_z5wpz_1 {
        margin: 0 auto;
        max-width: calc(100vw - 40px);
    }
}

.video-preview-wrap {
    position: relative;
    display: inline-block;
    /* width: 100%; */
}

.video-sound-btn {
    position: absolute;
    top: 10px!important;
    right: 10px;
    width: 36px!important;
    height: 36px!important;
    border-radius: 50%;
    border: none!important;
    background-color: rgba(0, 0, 0, 0.5)!important;
    color: #fff;
    cursor: pointer!important;
    display: flex!important;
    align-items: center!important;
    justify-content: center!important;
    z-index: 100!important;
    padding: 0;
    transition: background 0.2s;
}

.video-sound-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

.video-sound-btn svg {
    width: 20px!important;
    height: 20px!important;
}

.video-sound-btn .icon-unmuted { display: none; }
.video-sound-btn .icon-muted { display: block; }
.video-sound-btn.unmuted .icon-unmuted { display: block; }
.video-sound-btn.unmuted .icon-muted { display: none; }

.video-fullscreen-btn {
    position: absolute;
    top: 10px!important;
    right: 56px;
    width: 36px!important;
    height: 36px!important;
    border-radius: 50%;
    border: none!important;
    background-color: rgba(0, 0, 0, 0.5)!important;
    color: #fff;
    cursor: pointer!important;
    display: flex!important;
    align-items: center!important;
    justify-content: center!important;
    z-index: 100!important;
    padding: 0;
    transition: background 0.2s;
}

.video-fullscreen-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

.video-fullscreen-btn svg {
    width: 20px!important;
    height: 20px!important;
}
