<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/* =============================
   Gallery List Page Styles
   ============================= */

.gallery_list_section .list-container {
    margin-top: calc(var(--spacing-unit) * 3); /* 24px */
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); /* Adjust min size */
    gap: calc(var(--spacing-unit) * 2.5); /* 20px */
}

.gallery-item {
    /* No extra styles needed here, handled by inner elements or link */
}

.gallery-item a {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 8px; /* Apply radius to the link */
    overflow: hidden; /* Clip image and overlay */
    background-color: var(--card-bg-color);
    box-shadow: 0 3px 8px rgba(0,0,0,0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}

.gallery-item a:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.gallery-image-wrap {
    width: 100%;
    padding-top: 75%; /* 4:3 aspect ratio */
    position: relative;
    background-color: #f0f0f0;
}

.gallery-image-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item a:hover .gallery-image-wrap img {
    transform: scale(1.05);
}

/* Category Badge */
.gallery-category {
    position: absolute;
    top: calc(var(--spacing-unit) * 1.5); /* 12px */
    right: calc(var(--spacing-unit) * 1.5); /* 12px */
    background-color: rgba(0, 86, 179, 0.85); /* primary color with opacity */
    color: white;
    padding: calc(var(--spacing-unit) * 0.5) var(--spacing-unit); /* 4px 8px */
    font-size: 0.75em;
    font-weight: 500;
    border-radius: 4px;
    z-index: 3; /* Above overlay */
}

/* Overlay for Title */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    padding: calc(var(--spacing-unit) * 4) calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 1.5); /* More padding top */
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.gallery-item a:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item-title {
    font-size: 0.95em;
    font-weight: 500;
    margin: 0;
    line-height: 1.3;
    /* Allow wrapping */
    white-space: normal;
    overflow: hidden;
    /* text-overflow: ellipsis; */ /* Remove ellipsis for multi-line */
    /* display: -webkit-box; */ /* Optional: Limit to 2 lines */
    /* -webkit-line-clamp: 2; */
    /* -webkit-box-orient: vertical; */
}

.view-details-icon {
    font-size: 1.2em;
    opacity: 0.8;
}
.pagination-container{
   display: flex;
   justify-content: center;
}

/* Ensure pagination uses the styles from style.css */
.gallery_list_section .pagination {
    margin-top: calc(var(--spacing-unit) * 5); /* 40px */
}
@media (max-width: 768px) {
    nav.pagination ul{
        gap: calc(var(--spacing-unit) * 1);
    }
    .sub_section{
        padding: calc(var(--spacing-unit) * 1);
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* Smaller min size on mobile */
        gap: var(--spacing-unit); /* Reduce gap */
    }
}
/* Responsive Adjustments */
@media (max-width: 480px) {
    .gallery-item-title {
        font-size: 0.9em;
    }
    .gallery-overlay {
        padding: calc(var(--spacing-unit) * 2) var(--spacing-unit) var(--spacing-unit);
    }
} </pre></body></html>