/* ===== Страница результатов поиска ===== */
.search-page {
    font-family: Roboto, Arial, sans-serif;
    color: #242424;
}

.search-page__stats {
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.5;
    color: #505050;
}

.search-page__stats b {
    color: #242424;
    font-weight: 700;
}

.search-page__query {
    color: #1f425d;
    font-weight: 600;
}

.search-page__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.search-result {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 6px;
    padding: 18px 20px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.search-result:hover {
    border-color: #c9d4e0;
    box-shadow: 0 4px 14px rgba(31, 66, 93, .08);
}

.search-result__title {
    font-size: 19px;
    line-height: 1.35;
    margin-bottom: 8px;
}

.search-result__title a {
    color: #1f425d;
    text-decoration: none;
    font-weight: 600;
}

.search-result__title a:hover {
    color: #db233c;
    text-decoration: underline;
}

.search-result__extract {
    font-size: 15px;
    line-height: 1.6;
    color: #505050;
}

.search-result__extract .simplesearch-highlight,
.search-page .simplesearch-highlight {
    background: #ffe27a;
    color: #242424;
    padding: 0 2px;
    border-radius: 2px;
}

.search-paging {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.search-paging:empty {
    display: none;
}

.search-paging .simplesearch-page {
    display: inline-block;
}

.search-paging .simplesearch-page a {
    display: inline-block;
    min-width: 40px;
    text-align: center;
    padding: 8px 12px;
    border: 1px solid #ebebeb;
    border-radius: 5px;
    background: #fff;
    color: #1f425d;
    text-decoration: none;
    font-weight: 600;
    transition: border-color .2s ease, color .2s ease;
}

.search-paging .simplesearch-page a:hover {
    border-color: #db233c;
    color: #db233c;
}

.search-paging .simplesearch-current-page {
    display: inline-block;
    min-width: 40px;
    text-align: center;
    padding: 8px 12px;
    border: 1px solid #1f425d;
    border-radius: 5px;
    background: #1f425d;
    color: #fff;
    font-weight: 700;
}

.search-empty {
    padding: 50px 20px;
    text-align: center;
    background: #fafafa;
    border: 1px dashed #dfdfdf;
    border-radius: 6px;
}

.search-empty__icon {
    font-size: 38px;
    color: #1f425d;
    margin-bottom: 14px;
}

.search-empty__title {
    font-size: 20px;
    font-weight: 700;
    color: #242424;
    margin-bottom: 10px;
}

.search-empty__text {
    font-size: 15px;
    color: #505050;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}

.search-empty__text a {
    color: #1f425d;
    text-decoration: none;
}

.search-empty__text a:hover {
    color: #db233c;
}

@media (max-width: 768px) {
    .search-result {
        padding: 15px;
    }

    .search-result__title {
        font-size: 17px;
    }

    .search-page__stats {
        font-size: 15px;
    }
}
