.photo-albums-section {
    background-color: #fcfcfd;
}

.photo-albums-section .container-fluid {
    max-width: 1400px;
    margin: 0 auto;
}

.photo-gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.photo-gallery-content {
    flex: 1;
}

.photo-gallery-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(var(--primary-rgb), 0.05);
    color: var(--primary);
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 2px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.photo-gallery-title {
    font-family: 'IBM Plex Serif', serif;
    font-size: 3rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.1;
}

.photo-gallery-subtitle {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.7;
    max-width: 500px;
    margin-bottom: 0;
    margin-top: 10px;
}

.album-card-premium {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.album-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.album-thumbnail-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.album-thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.album-card-premium:hover .album-thumbnail-img {
    transform: scale(1.08);
}

.album-count-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.album-content-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.album-date-tag {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.album-title-text {
    font-family: 'IBM Plex Serif', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.3;
}

.album-description-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-facebook-album {
    background: #1877f2;
    color: #fff;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
}

.btn-facebook-album:hover {
    background: #1464cc;
    color: #fff;
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.3);
}

.btn-facebook-album i {
    font-size: 1.2rem;
}

@media (max-width: 991.98px) {
    .photo-gallery-header {
        flex-direction: column;
        gap: 20px;
    }

    .photo-gallery-title {
        font-size: 2.5rem;
    }

    .album-content-body {
        padding: 25px;
    }
    .album-title-text {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .photo-gallery-header,
    .photo-gallery-content {
        text-align: center;
        align-items: center;
    }

    .photo-gallery-title {
        font-size: 2rem;
    }

    .photo-gallery-subtitle {
        font-size: 1rem;
        margin-left: auto;
        margin-right: auto;
    }
}
