/**
 * Tổng Lực Gallery CSS
 */

.tongluc-album-wrapper {
    margin-bottom: 20px;
}

.tongluc-featured {
    margin-bottom: 10px;
}

.tongluc-featured img {
    width: 100%;
    height: auto;
}

.tongluc-album-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tongluc-album-item {
    position: relative;
}

.tongluc-album-item img {
    width: 100%;
    height: auto;
}

.tongluc-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ẩn các ảnh vượt quá số cột nếu "Thu gọn" */
.tongluc-hidden {
    display: none !important;
}

/* Layout 2 hàng 3 cột */
.tongluc-album-2row3col {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.tongluc-album-2row3col-left {
    flex: 2;
    min-width: 0;
    aspect-ratio: 4/3;
}
.tongluc-album-2row3col-left img,
.tongluc-album-2row3col-left .tongluc-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    display: block;
}
.tongluc-album-2row3col-right {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    min-width: 0;
    aspect-ratio: 1/1;
}
.tongluc-album-2row3col-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}
.tongluc-album-2row3col-right .tongluc-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    border-radius: 12px;
} 