/* education/library-resources/library.css */

.page-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #dee2e6;
}
.page-header h1 {
    font-weight: 300;
    font-size: 3rem;
    color: var(--accent-color-darker, #4a7c4a);
}
.section-title {
    font-weight: 400;
    color: var(--accent-color, #609966);
}

/* Digital Resource Cards */
.resource-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
    padding: 1.5rem;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.resource-icon {
    font-size: 2.5rem;
    color: var(--accent-color, #609966);
    margin-bottom: 1rem;
}

/* --- NEW Book Card Styles --- */
.book-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border: 1px solid #e9ecef;
}
.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}
.book-card .card-img-top {
    height: 300px; /* Gives all book cover images a consistent, taller height */
    width: 100%;
    object-fit: cover; /* Ensures image covers the area without distortion */
}
.book-card .card-body {
    /* The d-flex and flex-column classes in the HTML handle alignment */
}
.book-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-color-darker, #4a7c4a);
}
.book-card .author {
    font-size: 0.9rem;
    font-style: italic;
    color: #6c757d;
    margin-bottom: 1rem;
}
.book-card .recommendation {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #495057;
}
.book-card .card-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

/* Physical Library Section */
#physical-library {
    background-color: #f8f9fa;
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: 8px;
    margin-top: 3rem;
}
#physical-library.coming-soon {
    border: 2px dashed #dee2e6;
    opacity: 0.75;
}
#physical-library.coming-soon p {
    font-style: italic;
}
.physical-library-icon {
    font-size: 3rem;
    color: var(--accent-color, #609966);
    margin-bottom: 1rem;
}
#physical-library h3 {
    color: var(--accent-color-darker, #4a7c4a);
    font-weight: 500;
}
#physical-library p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #343a40;
}