/*
Theme Name: Medispec Theme
Author: the Siddhi Gada - Mirackle Solution
Version: 1.0
*/

.nav-search form{
        display: flex;
}
/* ==============================
   SEARCH PAGE
================================ */

.search-page {
    padding: 80px 0;
    background: #fff;
}

.search-page .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}


/* ==============================
   HEADING
================================ */

.search-page h1 {
    margin: 0 0 40px;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.3;
    color: #222;
}


/* ==============================
   RESULTS
================================ */

.search-results {
    display: flex;
    flex-direction: column;
    gap: 0;
}


/* ==============================
   SINGLE RESULT
================================ */

.search-item {
    padding: 25px 0;
    border-bottom: 1px solid #e5e5e5;
}

.search-item:first-child {
    padding-top: 0;
}


/* ==============================
   CONTENT
================================ */

.search-content {
    max-width: 900px;
}

.search-content h2 {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.4;
    font-weight: 600;
}

.search-content h2 a {
    color: #222;
    text-decoration: none;
    transition: 0.3s ease;
}

.search-content h2 a:hover {
    color: #777;
}


/* ==============================
   DESCRIPTION
================================ */

.search-content p {
    margin: 0 0 15px;
    font-size: 15px;
    line-height: 1.7;
    color: #666;
}


/* ==============================
   READ MORE
================================ */

.search-content .read-more {
    display: inline-block;
    color: #222;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

.search-content .read-more:hover {
    color: #777;
}


/* ==============================
   NO RESULTS
================================ */

.no-results {
    padding: 50px 30px;
    text-align: center;
    background: #f8f8f8;
    border-radius: 8px;
}

.no-results h2 {
    margin: 0 0 10px;
    font-size: 26px;
    color: #222;
}

.no-results p {
    margin: 0;
    color: #666;
    font-size: 15px;
}


/* ==============================
   PAGINATION
================================ */

.search-page .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
}

.search-page .nav-links a,
.search-page .nav-links span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.search-page .nav-links a:hover,
.search-page .nav-links .current {
    background: #222;
    border-color: #222;
    color: #fff;
}


/* ==============================
   MOBILE
================================ */

@media (max-width: 767px) {

    .search-page {
        padding: 50px 0;
    }

    .search-page .container {
        width: 92%;
    }

    .search-page h1 {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .search-item {
        padding: 20px 0;
    }

    .search-content h2 {
        font-size: 19px;
    }

    .search-content p {
        font-size: 14px;
    }

}