.news-single-first .wrapper {
    gap: 60px;
    align-items: start;
}

.news-single-first .arrow-link {
    flex-wrap: nowrap;
    white-space: nowrap;
}

.news-single-content {
    max-width: 808px;
    width: 75%;
}

.news-single-content h1 {
    max-width: 660px;
    width: 100%;
    margin-bottom: 16px;
}

.news-single-content>span {
    margin-bottom: 32px;
}

.news-single-image-container {
    gap: 12px;
}

.news-single-image {
    height: 360px;
    width: 100%;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.news-single-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(136.63deg, rgba(255, 255, 255, 0.2) -8.8%, rgba(255, 255, 255, 0) 91.26%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
}

.news-single-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* Галерея со слайдером */
.news-single-constructor-gallery {
    margin-top: 80px;
    width: 100%;
    position: relative;
}

.gallery-title {
    margin-bottom: 32px;
    padding-top: 6px;
}

/* Swiper контейнер */
.gallery-swiper {
    width: 100%;
    height: fit-content;
    margin-bottom: 12px;
    border-radius: 32px;
    overflow: hidden;
}

.gallery-swiper .swiper-slide {
    position: relative;
    height: 448px;
    width: 100%;
}

.gallery-swiper .swiper-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-single-first .swiper-navigation {
    position: absolute;
    right: 0px;
    top: 0;
    display: flex;
    gap: 16px;
    align-items: center;
}

.news-single-first .swiper-prev,
.news-single-first .swiper-next {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    left: unset;
    right: unset;
    margin-top: unset;
    top: unset;
}

.news-single-first .swiper-prev.swiper-button-disabled,
.news-single-first .swiper-next.swiper-button-disabled {
    opacity: 0.4;
}

.news-single-first .swiper-prev svg path,
.news-single-first .swiper-next svg path,
.news-single-first .swiper-prev svg,
.news-single-first .swiper-next svg {
    transition: all 0.3s;
}

.news-single-first .swiper-prev:hover svg path,
.news-single-first .swiper-next:hover svg path {
    fill: #000;
    opacity: 1;
}

/* Нижний блок: подпись + счетчик */
.gallery-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.news-single-constructor-text {
    margin-top: 40px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.news-single-constructor-text h3 {
    margin-top: 40px;
    margin-bottom: 24px;
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -.01em;
    font-weight: 700;
}

.news-single-constructor-text ul {
    list-style: none;
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.news-single-constructor-text ul li {
    position: relative;
    padding-left: 26px;
}

.news-single-constructor-text ul li::before {
    content: '•';
    position: absolute;
    left: 0px;
    top: 0px;

}


/* Видео блок */
.news-single-constructor-video {
    margin-top: 40px;
    width: 100%;
}

.video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 32px;
    overflow: hidden;
    background: #000;
}

.video-wrapper iframe,
.video-wrapper video {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    border: none;
    outline: none;
}

/* Стили для постера YouTube видео */
.youtube-video {
    cursor: pointer;
}

.video-poster {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #000;
}

.video-poster::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
}

.video-poster:hover::after {
    background: rgba(0, 0, 0, 0.2);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2;
    transition: transform 0.2s ease;
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.05);
}

.video-play-btn svg {
    width: 68px;
    height: 68px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Стили для HTML5 видео */
.video-wrapper video {
    background: #000;
    cursor: pointer;
}

.video-wrapper video::-webkit-media-controls {
    z-index: 1;
}

.news-single-constructor-orderlists {
    gap: 40px;
    margin-top: 40px;
}

.news-single-constructor-orderlist {
    gap: 16px;
}

.news-single-constructor-orderlist span {
    font-weight: 600;
}

.news-single-constructor-orderlist p {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.news-single-constructor-qoute {
    margin-top: 40px;
    gap: 24px;
}

.news-single-constructor-qoute-line {
    width: 2px;
    height: auto;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 32px;
}

.news-single-constructor-qoute-column {
    gap: 32px;
}

.news-single-constructor-qoute-bottom {
    gap: 16px;
    align-items: center;
}

.news-single-constructor-qoute-icon {
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    width: 80px;
    height: 80px;
}

.news-single-constructor-qoute-icon img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.news-single-constructor-qoute-bottom .flex-box-column {
    gap: 4px;
}

.sharing-plate {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 18px 24px;
    align-items: center;
    gap: 20px;
    margin-top: 80px;
}

.sharing-plate-left button {
    display: flex;
    gap: 8px;
    border: none;
    outline: none;
    align-items: center;
    flex-wrap: wrap;
    background-color: transparent;
    cursor: pointer;
}

.sharing-plate-left button,
.sharing-plate-left svg path {
    transition: all .3s;
}

.sharing-plate-left button:hover {
    color: var(--purple) !important;
}

.sharing-plate-left button:hover svg path {
    fill: var(--purple) !important;
    opacity: 1;
}

.sharing-plate-right {
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.social-share-buttons {
    gap: 24px;
    align-items: center;
}

.social-share-btn {
    background-color: transparent;
    border: none;
    outline: none;
    cursor: pointer;
}

.social-share-btn svg path {
    transition: all .3s;
}

.social-share-btn:hover svg path {
    fill: var(--purple);
    opacity: 1;
}

@media(max-width: 768px) {
    .news-single-first .wrapper {
        flex-direction: column;
        gap: 16px;
    }

    .news-single-content {
        width: 100%;
    }

    .news-single-content h1 {
        margin-bottom: 12px;
    }

    .news-single-content>span {
        margin-bottom: 22px;
    }

    .news-single-image {
        aspect-ratio: 343/232;
        height: auto;
        width: 100%;
        border-radius: 20px;
    }

    /* Галерея со слайдером */
    .news-single-constructor-gallery {
        margin-top: 60px;
    }

    .gallery-title {
        margin-bottom: 28px;
        padding-right: 92px;
        padding-top: 0px;
    }

    /* Swiper контейнер */
    .gallery-swiper {
        border-radius: 20px;
    }

    .gallery-swiper .swiper-slide {
        height: auto;
        aspect-ratio: 343/190;
    }

    .news-single-first .swiper-navigation {
        top: 6px;
        gap: 12px;
    }

    .news-single-first .swiper-prev,
    .news-single-first .swiper-next {
        width: 40px;
        height: 40px;
        padding: 10px;
    }

    .news-single-first .swiper-prev svg,
    .news-single-first .swiper-next svg {
        width: 14px;
        height: 12px;
    }

    .news-single-constructor-text {
        margin-top: 24px;
        font-size: 16px;
        line-height: 20px;
    }

    .news-single-constructor-text h3 {
        margin-top: 36px;
        margin-bottom: 16px;
        font-size: 24px;
        line-height: 28px;
    }

    .news-single-constructor-text ul {
        margin-top: 0px;
        gap: 16px;
    }

    .news-single-constructor-text ul li {
        padding-left: 18px;
    }

    /* Видео блок */
    .news-single-constructor-video {
        margin-top: 28px;
    }

    .video-wrapper {
        border-radius: 20px;
    }

    .news-single-constructor-orderlists {
        gap: 28px;
    }

    .news-single-constructor-orderlist {
        gap: 12px;
    }

    .news-single-constructor-orderlist span {
        font-size: 18px;
        line-height: 24px;
    }

    .news-single-constructor-orderlist p {
        font-size: 16px;
        line-height: 20px;
    }

    .news-single-constructor-qoute {
        gap: 16px;
    }

    .news-single-constructor-qoute-column {
        gap: 24px;
    }

    .news-single-constructor-qoute-bottom {
        gap: 12px;
        align-items: start;
    }

    .news-single-constructor-qoute-icon {
        width: 56px;
        height: 56px;
    }

    .news-single-constructor-qoute-bottom .flex-box-column {
        gap: 8px;
    }

    .sharing-plate {
        padding: 16px;
        margin-top: 40px;
        flex-direction: row-reverse;
    }

    .sharing-plate-left {
        flex-direction: row-reverse;
    }
    .sharing-plate-left svg{
        width: 22px;
        height: 24px;
    }
    .sharing-plate-right {
        gap: 10px;
    }

    .social-share-buttons {
        gap: 16px;
        align-items: center;
    }

    .social-share-btn {
        background-color: transparent;
        border: none;
        outline: none;
        cursor: pointer;
    }

    .social-share-btn svg  {
        max-width: 30px;
        max-height: 22px;
    }

    .social-share-btn:hover svg path {
        fill: var(--purple);
        opacity: 1;
    }

}