/* GALLERY PAGE CONTAINER BASE STYLES */
.gallery-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: 'Arial', sans-serif;
}
.gallery-main-title {
    text-align: center;
    color: #333333;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 40px;
}
.section-divider-title {
    text-align: center;
    color: #4a4a4a;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 50px 0 30px 0;
    border-top: 1px solid #e2e8f0;
    padding-top: 30px;
}

/* UTILITY COMPONENT BUTTON */
.btn-view-album {
    display: inline-block;
    background-color: #0091ea;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 24px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 4px;
    transition: background-color 0.2s;
}
.btn-view-album:hover {
    background-color: #007bc7;
}

/* ==========================================================
   LATEST ALBUM ROW STYLING (Horizontal Aspect Row Layout)
   ========================================================== */
.latest-badge {
    background-color: #b72c1c;
    color: #ffffff;
    display: inline-block;
    font-size: 11px;
    font-weight: bold;
    padding: 6px 14px;
    text-transform: uppercase;
    margin-bottom: 25px;
}
.latest-album-card {
    display: flex;
    gap: 40px;
    border: 1px solid #eaeaea;
    padding: 30px;
    background: #ffffff;
    align-items: flex-start;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.latest-info-side {
    flex: 1;
}
.latest-info-side h3 {
    color: #b72c1c;
    font-size: 24px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.album-meta-row {
    font-size: 14px;
    color: #555555;
    margin-bottom: 8px;
}
.album-meta-row strong {
    color: #111111;
    display: inline-block;
    width: 110px;
}
.latest-action-wrapper {
    margin-top: 25px;
}
.latest-image-side {
    flex: 1.2;
    border: 1px solid #ddd;
    padding: 6px;
    background-color: #fff;
}
.latest-image-side img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================
   PREVIOUS ALBUM(S) GRID STYLING (3 Columns Layout)
   ========================================================== */
.previous-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}
.grid-album-card {
    border: 1px solid #eaeaea;
    background: #ffffff;
    padding: 15px;
    display: flex;
    flex-direction: column;
}
.grid-image-wrapper {
    border: 1px solid #ddd;
    padding: 4px;
    margin-bottom: 15px;
    background-color: #fff;
    height: 200px;
}
.grid-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.grid-album-title {
    color: #b72c1c;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
    min-height: 20px;
}
.grid-action-wrapper {
    margin-top: auto;
    padding-top: 15px;
}

/* RESPONSIVE LAYOUT CONSTRAINTS */
@media (max-width: 850px) {
    .latest-album-card {
        flex-direction: column-reverse;
        gap: 20px;
    }
    .previous-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 580px) {
    .previous-gallery-grid {
        grid-template-columns: 1fr;
    }
}