/* ── PAGINATION STYLES ── */
.pagination {
    margin: 60px 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 100%;
}
.pagination .page-numbers {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    border-radius: 50%;
    color: var(--dark);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    background: #fff;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: #A00000 !important; /* Maroon */
    color: #fff !important;
    border-color: #A00000 !important;
    box-shadow: 0 5px 15px rgba(160,0,0,0.2);
}
.pagination .page-numbers.prev,
.pagination .page-numbers.next {
    width: auto;
    padding: 0 20px;
    border-radius: 30px;
}

/* ── SEARCH BAR STYLES ── */
.search-container {
    max-width: 700px;
    margin: 0 auto 60px;
    text-align: center;
}
.search-form {
    display: flex;
    gap: 10px;
    position: relative;
}
.search-input {
    flex: 1;
    padding: 16px 25px;
    border-radius: 50px;
    border: 2px solid #eee;
    outline: none;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    background: #fff;
    color: #333;
}
.search-input:focus {
    border-color: #A00000;
    box-shadow: 0 5px 25px rgba(160,0,0,0.1);
}
.search-submit {
    padding: 16px 40px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    white-space: nowrap;
}

/* ── SEARCH BAR RESPONSIVENESS ── */
@media (max-width: 600px) {
    .search-form {
        flex-direction: column !important;
        gap: 15px !important;
        display: flex !important;
    }
    .search-input {
        width: 100% !important;
        flex: 1 1 100% !important; /* Force full width in flex containers */
        display: block !important;
        box-sizing: border-box !important;
        border-radius: 30px !important;
        min-height: 55px !important;
        margin-bottom: 5px !important;
    }
    .search-submit {
        width: 100% !important;
        flex: 1 1 100% !important;
        display: block !important;
        padding: 16px !important;
        border-radius: 30px !important;
        min-height: 55px !important;
    }
}
