/* search-result-page.css */

.search-result-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.search-title {
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
    color: #043032;
    font-family: "Poppins", "Anek Bangla", sans-serif;
}

.search-title span {
    color: #eb5790;
}

.search-course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.courses-loop-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.courses-loop-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.course-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 66.66%;
    /* 3:2 aspect ratio */
    background: #f5f5f5;
    overflow: hidden;
}

.course-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.courses-loop-title h2 {
    font-size: 17px;
    line-height: 1.4;
    margin: 0 0 1px 0;
    font-weight: 700;
    font-family: "Poppins", "Anek Bangla", sans-serif;
}

.courses-loop-title a {
    color: #043032;
    text-decoration: none;
    transition: color 0.2s;
}

.courses-loop-title a:hover {
    color: #1DD4D1;
}

.course-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-view-btn {
    background: #fff;
    color: #043032;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
}

.course-view-btn i {
    font-size: 18px;
    margin-left: 2px;
}

.course-view-btn:hover {
    color: #eb5790;
}

.standard-search-card {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
}

.standard-title {
    font-size: 20px;
    margin-bottom: 10px;
    font-family: inherit;
}

.standard-title a {
    color: #043032;
    text-decoration: none;
    font-weight: 600;
}

.standard-title a:hover {
    color: #1DD4D1;
}

.standard-excerpt {
    color: #555;
    line-height: 1.6;
}

.no-results-found {
    text-align: center;
    padding: 60px 20px;
    background: #fcfcfc;
    border-radius: 12px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
}

.no-results-found h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #043032;
}

.no-results-found p {
    color: #555;
    margin-bottom: 25px;
}

.search-result-wrapper .search-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
}

.search-result-wrapper .search-field {
    flex-grow: 1;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 50px 0 0 50px;
    outline: none;
    font-size: 16px;
}

.search-result-wrapper .search-submit {
    background: #1DD4D1;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.search-result-wrapper .search-submit:hover {
    background: #043032;
}

/* Pagination Styles */
.navigation.pagination {
    margin-top: 50px;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.page-numbers {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
    color: #043032;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    padding: 0 15px;
}

.page-numbers.current,
.page-numbers:hover {
    background: #1DD4D1;
    color: #fff;
    box-shadow: 0 4px 10px rgba(29, 212, 209, 0.3);
}

.page-numbers.dots {
    background: transparent;
    box-shadow: none;
}