.crumbs li:last-child {
  color: #478ed0;
  cursor: default
}
.search-page-empty .title-3 {
    max-width: 600px;
}
.captcha-client-error {
    background: #fff;
    border-radius: 8px;
    padding: 5px;
}
.simplesearch-highlight {
    padding-block: 4px;
    background: #ffbf75;
}
#popup-thank.active {
    display: block;
}

.news__item-title {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}
.flexline a {
    display: contents;
}
form.pro_rumap .submit {
    margin-top: 30px;
}
.category-menu__item-top:has(.active) {
    border-radius: 8px;
    background: #f2f5f8;
    color: #478ed0;
}

.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    padding: 20px 24px;
    z-index: 10000;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
    transform: translateY(0);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Анимация скрытия */
.cookie-consent.hide {
    transform: translateY(150%);
    opacity: 0;
    pointer-events: none;
}

.cookie-text {
    flex: 1;
    font-size: 14px;
    color: #333;
}

.cookie-text p {
    margin: 0;
    line-height: 1.45;
}

.cookie-text a {
    color: #667eea;
    text-decoration: none;
    border-bottom: 1px solid #667eea;
}

.cookie-text a:hover {
    color: #5a67d8;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-accept {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 10px 28px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    font-family: inherit;
}

.btn-accept:hover {
    background: #45a049;
}

.btn-accept:active {
    transform: scale(0.97);
}

.btn-details {
    background: transparent;
    color: #667eea;
    border: 1.5px solid #667eea;
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-details:hover {
    background: #667eea10;
}
.partner-card__image img {
    border-radius: 10px;
}
.partner-card__title {
    text-align: center;
}

.checkbox {
    align-items: baseline;
}

.contact__item.socials {
    display: flex;
}

.pagination__items {
    margin: 20px 0;
}

.video.single_poster {
    height: stretch;
    object-fit: cover;
}





@media (max-width: 991px) {
.news__item-content>.news__item-title {
    display: none;
}
.news__item-link {
    position: relative;
    right: unset;
    bottom: unset;
}
}
@media (max-width: 767px) {
.news__item-date {
    font-size: 12px;
}
.news__item-text {
    font-size: 14px;
    line-height: 1.3;
}
.title-3 {
    font-size: clamp(17px, 15.2px + .25vw, 24px);
}
}



/* Адаптивность для мобильных устройств */
@media (max-width: 640px) {
    .cookie-consent {
        flex-direction: column;
        text-align: center;
        bottom: 10px;
        left: 10px;
        right: 10px;
        padding: 18px;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .btn-accept, .btn-details {
        flex: 1;
        text-align: center;
    }

    .content {
        padding: 20px;
        margin: 10px;
    }
}

@media (max-width: 640px) {
.title-3 {
    font-size: clamp(20px, 19.2px + .25vw, 24px);
}
.news__item-date {
    font-size: 14px;
}
.news__item-text {
    font-size: 16px;
    line-height: 1.5;
}
.news__item {
    min-height: 190px;
}
}


@media (min-width: 1501px) {
    .text-block>:not(:last-child) {
        margin-bottom: 20px;
    }
}
/*Убрал большой отступ в тексте*/
body.category .text-block p, body.category .text-block ul {
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .pagination_center .pagination-wrapper .pagination__items {
        justify-self: center;
    }
}