@media (max-width: 768px) {
   .news-detail-page__content,
   .hero__title {
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    } 
}

@media (max-width: 620px) {
    .hero__title {
        font-size: 35px;
    }
}

/*.hero__slide {
    position: relative;
    overflow: hidden;

    &::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.25); // степень затемнения
        z-index: 1;
        pointer-events: none;
    }

    .container {
        position: relative;
        z-index: 2;
    }
}*/

.cookie {
    visibility: hidden;
    opacity: 0;
    transform: translateY(50%);
    position: fixed;
    right: 10px;
    bottom: 10px;
    padding: 25px;
    width: 635px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 4px 0px rgba(0, 0, 0, 0.1);
    z-index: 51;
    transition: all 0.4s ease;
}

.show-cookie {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.cookie__text {
    font-size: 16px;
    line-height: 1.2;
}

.cookie__text a {
    color: var(--color-accent);
    font-weight: 600;
}

.cookie__accept {
    margin-top: 20px;
    width: 150px;
    height: 40px;
    background-color: var(--color-accent);
    border: none;
    color: #fff;
    border-radius: 25px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.cookie__accept:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .cookie {
        left: 10px;
        width: auto;
    }
}

@media (max-width: 520px) {
    .cookie {
        padding: 15px;
    }
    
    .cookie__text {
        font-size: 14px;
    }
    
    .cookie__accept {
        font-size: 14px;
    }
}


