/* Красный цвет меню если мы на этой странице */
.header__menu .current-menu-item a {
    color: #e4322c;
}
.news__item-img picture {
    display: unset;
}
/* Страница поиска */
.simplesearch-results-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}
.search-page-wrapper > .simplesearch-results {
    margin-top: 40px;
}
.simplesearch-result h3 {
    font-weight: 600;
    font-size: 110%;
}
.direction-services__item-title {
    gap: 17px;
}
div.direction-services__item-title {
    justify-content: space-between;
    align-items: center;
}

/* Страница 404 */
.section.error-page {
    text-align: center;
}
.section.error-page h1 {
    font-size: 200px;
    color: #3e3178;
}

.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);
}

.cookie-buttons .button {
    border-color: #e4322c;
}

@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 {
        flex: 1;
        text-align: center;
    }
}

@media (max-width:575px) {
    .section.error-page h1 {
        font-size: 100px;
    }
}