/* arise_style.css */


/* --- General & Header Styles --- */
.main-header {
    margin-bottom: 50px;
    text-align: center;
}

.main-header p {
    font-size: 1.1em;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 5px;
}


/* =========================================
   Filter Styles
   ========================================= */

.filter-container {
    text-align: center;
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.filter-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: flex-end;
}

.filter-box {
    text-align: left;
    flex: 1;
    min-width: 200px;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 12px;
}

.form-label {
    margin-bottom: 0.5rem;
    color: #333;
}


/* =========================================
   ARISE Listing Styles
   ========================================= */

.item-list {
    list-style-type: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.item-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    height: 100%;
}

.item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: inherit;
    text-decoration: none;
}

.card-header {
    margin-bottom: 1rem;
}

.item-title {
    margin: 0;
    font-size: 1.25rem;
    color: #2c3e50;
    font-weight: 600;
}

.item-card:hover .item-title {
    color: #0056b3;
}

.item-details {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #444;
}

.item-details strong {
    font-weight: 600;
    color: #000;
}


/* =========================================
   Pagination Styles
   ========================================= */

.pagination-container {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.page-btn {
    background-color: white;
    border: 1px solid #ddd;
    color: #0056b3;
    padding: 0.5rem 0.8rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.page-btn:hover {
    background-color: #e9ecef;
    border-color: #ccc;
}

.page-btn.active {
    background-color: #0056b3;
    border-color: #0056b3;
    color: white;
}


/* =========================================
   Responsive
   ========================================= */

@media (max-width: 768px) {
    .item-list {
        grid-template-columns: 1fr;
    }
}
