/**
 * Gallery & Video Styles
 * CSS cho thư viện ảnh và video hoạt động
 *
 * @package Flatsome Child
 * @since 1.0.0
 */

/* ================================
   CSS Variables
================================ */
:root {
    --gallery-primary: #ff6b6b;
    --gallery-secondary: #4ecdc4;
    --video-primary: #e74c3c;
    --video-secondary: #f39c12;
    --overlay-dark: rgba(0, 0, 0, 0.6);
    --overlay-light: rgba(255, 255, 255, 0.95);
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --card-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
}

/* ================================
   Archive Hero Section
================================ */
.archive-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 0;
    color: #fff;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.archive-hero--gallery {
    background: linear-gradient(135deg, #FFA500 0%, #f1b851 100%);
}

.archive-hero--video {
    background: linear-gradient(135deg, #FFA500 0%, var(--video-secondary) 100%);
}

/* Hero Background Shapes */
.archive-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.archive-hero__shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.archive-hero__shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.archive-hero__shapes .shape--1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -50px;
    animation: float 8s ease-in-out infinite;
}

.archive-hero__shapes .shape--2 {
    width: 200px;
    height: 200px;
    bottom: -80px;
    left: 10%;
    animation: float 6s ease-in-out infinite reverse;
}

.archive-hero__shapes .shape--3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 20%;
    animation: float 10s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}
.info-widget{
    display: none;
}
/* Archive Breadcrumb */
.archive-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.9rem;
    margin-bottom: 25px;
    opacity: 0.95;
}

.archive-breadcrumb a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: opacity var(--transition-fast);
}

.archive-breadcrumb a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.archive-breadcrumb a i {
    font-size: 0.85rem;
}

.archive-breadcrumb .separator {
    opacity: 0.6;
    font-size: 0.7rem;
}

.archive-breadcrumb .separator i {
    font-size: 0.6rem;
}

.archive-breadcrumb .current {
    font-weight: 600;
}

/* Archive Hero Icon */
.archive-hero__icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: pulse-icon 2s ease-in-out infinite;
}

.archive-hero__icon i {
    font-size: 2rem;
    color: #fff;
}

@keyframes pulse-icon {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 20px 10px rgba(255, 255, 255, 0); }
}

/* Archive Hero Title */
.archive-hero__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: #fff;
}

/* Archive Hero Subtitle */
.archive-hero__subtitle {
    font-size: 1.15rem;
    opacity: 0.95;
    margin: 0 0 25px;
    max-width: 550px;
    line-height: 1.6;
    font-weight: 400;
}

/* Archive Hero Stats */
.archive-hero__stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.archive-hero__stats .stat {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.archive-hero__stats .stat:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.archive-hero__stats .stat i {
    font-size: 1.1rem;
    opacity: 0.9;
}

.archive-hero__stats .stat strong {
    font-weight: 700;
    font-size: 1.1rem;
}

.archive-hero.gallery-hero {
    background: linear-gradient(135deg, var(--gallery-primary) 0%, var(--gallery-secondary) 100%);
}

.archive-hero.video-hero {
    background: linear-gradient(135deg, var(--video-primary) 0%, var(--video-secondary) 100%);
}

/* Archive Hero Content Container */
.archive-hero__content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.archive-hero__content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -30px;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: -1;
}

.archive-hero__content::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    z-index: -1;
}

/* Archive Hero Content - Inner Elements */
.archive-hero__content .archive-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.archive-hero__content .archive-title i {
    margin-right: 12px;
    opacity: 0.9;
}

.archive-hero__content .archive-description {
    font-size: 1.1rem;
    opacity: 0.95;
    margin: 0 0 25px;
    max-width: 600px;
    line-height: 1.6;
}

.archive-hero__content .archive-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.archive-hero__content .stat-item {
    text-align: center;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 100px;
    transition: all var(--transition-fast);
}

.archive-hero__content .stat-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.archive-hero__content .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

.archive-hero__content .stat-label {
    font-size: 0.85rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.archive-hero .archive-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.archive-hero .archive-description {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 25px;
    max-width: 600px;
}

.archive-hero .archive-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.archive-stats .stat-item {
    text-align: center;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.stat-item .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
}

.stat-item .stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ================================
   Filter Section
================================ */
.archive-filter {
    padding: 25px 0;
    background: #f8f9fa;display: none;
    margin-bottom: 40px;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    color: #555;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.filter-tab:hover {
    border-color: var(--video-primary);
    color: var(--video-primary);
    background: #fff;
}

.filter-tab.active {
    background: var(--video-primary);
    border-color: var(--video-primary);
    color: #fff;
}

.filter-tab .count {
    background: rgba(0, 0, 0, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
}

.filter-tab.active .count {
    background: rgba(255, 255, 255, 0.2);
}

/* Gallery Filter Tabs */
.gallery-archive .filter-tab:hover {
    border-color: var(--gallery-primary);
    color: var(--gallery-primary);
}

.gallery-archive .filter-tab.active {
    background: var(--gallery-primary);
    border-color: var(--gallery-primary);
}

.filter-form {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.filter-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    background: #fff;
    cursor: pointer;
    transition: border-color var(--transition-fast);
}

.filter-group select:focus {
    outline: none;
    border-color: var(--gallery-secondary);
}

.filter-buttons {
    display: flex;
    gap: 10px;
}

.btn-filter {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-filter.btn-primary {
    background: linear-gradient(135deg, var(--gallery-primary), var(--gallery-secondary));
    color: #fff;
}

.btn-filter.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-filter.btn-reset {
    background: #e0e0e0;
    color: #666;
}

.btn-filter.btn-reset:hover {
    background: #d0d0d0;
}

/* ================================
   Archive Grid - Gallery & Video
================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

/* ================================
   Album Card Styles
================================ */
.album-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all var(--transition-medium);
}

.album-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
}

.album-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.album-thumbnail {
    position: relative;
    padding-bottom: 75%; /* 4:3 aspect ratio */
    overflow: hidden;
    background: #f5f5f5;
}

.album-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.album-card:hover .album-image {
    transform: scale(1.08);
}

.album-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0e0e0, #f5f5f5);
    color: #bbb;
    font-size: 3rem;
}

/* Photo Count Badge */
.photo-count {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Hover Preview */
.album-preview {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 30px 10px 10px;
    display: flex;
    gap: 5px;
    opacity: 0;
    transform: translateY(100%);
    transition: all var(--transition-medium);
}

.album-card:hover .album-preview {
    opacity: 1;
    transform: translateY(0);
}

.preview-thumb {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid #fff;
}

.preview-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-more {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Overlay */
.album-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--overlay-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.album-card:hover .album-overlay {
    opacity: 1;
}

.view-album {
    background: #fff;
    color: #333;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    transform: scale(0.8);
    transition: transform var(--transition-medium);
}

.album-card:hover .view-album {
    transform: scale(1);
}

/* Album Info */
.album-info {
    padding: 20px;
}

.album-categories {
    margin-bottom: 10px;
}

.category-tag {
    display: inline-block;
    padding: 4px 10px;
    background: #f0f0f0;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #FFA500;
    text-transform: uppercase;
}

.category-tag.category-le-hoi { background: #ffe6e6; color: #e74c3c; }
.category-tag.category-hoc-tap { background: #e6f3ff; color: #3498db; }
.category-tag.category-ngoai-khoa { background: #e6ffe6; color: #27ae60; }
.category-tag.category-the-duc { background: #fff3e6; color: #f39c12; }
.category-tag.category-van-nghe { background: #f3e6ff; color: #9b59b6; }

.album-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.album-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
    color: #888;
}

.album-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.album-meta .meta-item i {
    color: var(--gallery-secondary);
}

.album-excerpt {
    margin: 12px 0 0;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* ================================
   Video Card Styles
================================ */
.video-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all var(--transition-medium);
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
}

.video-card.is-featured {
    border: 2px solid var(--video-secondary);
}

.video-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.video-thumbnail {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    background: #1a1a1a;
}

.video-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.video-card:hover .video-image {
    transform: scale(1.05);
}

.video-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2c2c2c, #1a1a1a);
    color: #555;
    font-size: 3rem;
}

/* Play Button Overlay */
.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 1;
    transition: background var(--transition-medium);
}

.video-card:hover .play-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.play-button {
    width: 60px;
    height: 60px;
    background: var(--video-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    padding-left: 4px;
    box-shadow: 0 4px 20px rgba(231, 76, 60, 0.4);
    transition: all var(--transition-medium);
}

.video-card:hover .play-button {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(231, 76, 60, 0.5);
}

/* Duration Badge */
.duration-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Source Badge */
.source-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
}

.source-badge.source-youtube {
    background: #FF0000;
}

.source-badge.source-vimeo {
    background: #1AB7EA;
}

.source-badge.source-video {
    background: #0073aa;
}

/* Featured Badge */
.featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: var(--video-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
}

/* Video Info */
.video-info {
    padding: 18px;
}

.video-categories {
    margin-bottom: 8px;
}

.video-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.8rem;
    color: #888;
}

.video-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.video-meta .meta-item i {
    color: var(--video-primary);
    opacity: 0.7;
}

/* ================================
   Featured Video Section
================================ */
.featured-section {
    margin-bottom: 50px;
    padding: 40px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
}

.featured-section .section-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #fff;
}

.featured-video-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.featured-main {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.featured-main .video-thumbnail {
    padding-bottom: 56.25%;
}

.featured-main .video-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

.featured-main .video-title {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.featured-main .video-meta {
    color: rgba(255, 255, 255, 0.8);
}

.featured-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.featured-item {
    display: flex;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: background var(--transition-fast);
}

.featured-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.featured-item .thumb {
    width: 140px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.featured-item .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-item .mini-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: rgba(231, 76, 60, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.7rem;
    padding-left: 2px;
}

.featured-item .info h4 {
    font-size: 0.95rem;
    color: #fff;
    margin: 0 0 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-item .info span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ================================
   Single Gallery Styles
================================ */
.gallery-single,
.video-single {
    padding-bottom: 60px;
}

/* Breadcrumb */
.single-breadcrumb {
    padding: 20px 0;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-nav {
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb-nav a {
    color: #666;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumb-nav a:hover {
    color: var(--gallery-primary);
}

.breadcrumb-nav .separator {
    margin: 0 10px;
    color: #ccc;
    font-size: 0.7rem;
}

.breadcrumb-nav .current {
    color: #333;
    font-weight: 500;
}

/* Album/Video Header */
.album-header,
.video-header {
    padding: 40px 0 30px;
}

.album-title-main,
.video-title-main {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.album-meta-info,
.video-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.95rem;
    color: #666;
}

.album-meta-info .meta-item,
.video-meta-info .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.album-meta-info .meta-item i {
    color: var(--gallery-secondary);
}

.video-meta-info .meta-item i {
    color: var(--video-primary);
}

/* Gallery Controls */
.gallery-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    margin-bottom: 20px;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.view-switcher {
    display: flex;
    gap: 8px;
}

.view-btn {
    padding: 10px 15px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.view-btn:hover,
.view-btn.active {
    background: #FFA500;
    border-color: #FFA500;
    color: #fff;
}

.control-buttons {
    display: flex;
    gap: 10px;
}

.btn-slideshow,
.btn-download-all {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-fast);
}

.btn-slideshow {
    background: #FFA500;
    color: #fff;
}

.btn-slideshow:hover {
    background: #FFA500;
}

/* ================================
   Album Gallery Section (Single)
================================ */
.album-gallery {
    padding: 40px 0;
}

.album-header__content {
    max-width: 800px;
}

.album-categories {
    margin-bottom: 15px;
}

.album-categories .category-badge {
    display: inline-block;
    padding: 6px 15px;
    background: linear-gradient(135deg, #FFA500, #eeb03d);
    color: #fff;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    margin-right: 8px;
    transition: all var(--transition-fast);
}

.album-categories .category-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #fff !important;
}

.album-header .album-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.album-header .album-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
}

.album-header .album-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.album-header .album-meta .meta-item i {
    color: var(--gallery-secondary);
}

.album-description {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
}

/* ================================
   Gallery Images Grid - Single Album
================================ */
.gallery-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

/* Grid View - 4 columns */
.gallery-images--grid,
.gallery-images.view-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* Masonry View */
.gallery-images--masonry,
.gallery-images.view-masonry {
    display: block;
    column-count: 4;
    column-gap: 16px;
}

.gallery-images--masonry .gallery-item,
.gallery-images.view-masonry .gallery-item {
    break-inside: avoid;
    margin-bottom: 16px;
    display: block;
}

/* Large View - 3 columns */
.gallery-images--large,
.gallery-images.view-large {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ================================
   Gallery Item
================================ */
.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f0f0f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

/* Grid & Large view - fixed aspect ratio */
.gallery-images--grid .gallery-item,
.gallery-images.view-grid .gallery-item,
.gallery-images--large .gallery-item,
.gallery-images.view-large .gallery-item {
    aspect-ratio: 4 / 3;
}

/* Masonry view - auto height */
.gallery-images--masonry .gallery-item,
.gallery-images.view-masonry .gallery-item {
    aspect-ratio: unset;
}

/* Gallery Link */
.gallery-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Gallery Image */
.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                filter 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.12);
    filter: brightness(0.85);
}

/* ================================
   Gallery Overlay - Enhanced
================================ */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.1) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

/* ================================
   Zoom Icon - Enhanced
================================ */
.zoom-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.5) rotate(-20deg);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-item:hover .zoom-icon {
    transform: scale(1) rotate(0deg);
    opacity: 1;
}

.zoom-icon i {
    color: #fff;
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.gallery-item:hover .zoom-icon i {
    animation: pulseZoom 1.5s ease-in-out infinite;
}

@keyframes pulseZoom {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* Gallery Empty State */
.gallery-empty {
    text-align: center;
    padding: 80px 20px;
    background: #f8f9fa;
    border-radius: var(--border-radius);
}

.gallery-empty i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
    display: block;
}

.gallery-empty p {
    color: #888;
    font-size: 1.1rem;
}

/* Album Content */
.album-content {
    padding: 40px 0;
    background: #f8f9fa;
}

.album-content__inner {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: #444;
}

.album-content__inner h2,
.album-content__inner h3,
.album-content__inner h4 {
    color: #333;
    margin: 25px 0 15px;
}

.album-content__inner p {
    margin-bottom: 15px;
}

/* Images Grid (legacy support) */
.images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.images-grid.view-large {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.images-grid.view-masonry {
    column-count: 4;
    column-gap: 15px;
}

.images-grid.view-masonry .image-item {
    break-inside: avoid;
    margin-bottom: 15px;
}

.image-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.images-grid:not(.view-masonry) .image-item {
    padding-bottom: 75%;
}

.images-grid:not(.view-masonry) .image-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-item img {
    width: 100%;
    display: block;
    transition: transform var(--transition-medium);
}

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

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--overlay-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.image-item:hover .image-overlay {
    opacity: 1;
}

.image-overlay i {
    color: #fff;
    font-size: 1.5rem;
}

/* ================================
   Video Single Styles
================================ */
.video-player-section {
    background: #1a1a1a;
    padding: 20px 0;
}

.video-player-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-player {
    border-radius: 8px;
    overflow: hidden;
}

.video-element {
    width: 100%;
    display: block;
}

.video-placeholder {
    padding: 100px;
    text-align: center;
    color: #666;
    background: #2a2a2a;
    border-radius: 8px;
}

.video-placeholder i {
    font-size: 4rem;
    margin-bottom: 15px;
    display: block;
}

/* Video Info Section */
.video-info-section {
    padding: 40px 0;
}

.video-info-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.video-main .video-categories {
    margin-bottom: 15px;
}

.video-main .category-badge {
    display: inline-block;
    padding: 6px 15px;
    background: linear-gradient(135deg, var(--video-primary), var(--video-secondary));
    color: #fff;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    margin-right: 8px;
}

.video-main .video-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.video-main .video-meta {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e9ecef;
}

/* Share Buttons */
.video-share {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.share-label {
    font-weight: 600;
    color: #666;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all var(--transition-fast);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.share-btn--facebook {
    background: #1877f2;
    color: #fff;
}

.share-btn--facebook:hover {
    background: #0d65d9;
}

.share-btn--zalo {
    background: #0068ff;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
}

.share-btn--zalo:hover {
    background: #0057d4;
}

.share-btn--copy {
    background: #e0e0e0;
    color: #333;
}

.share-btn--copy:hover {
    background: #ccc;
}

.share-btn--copy.copied {
    background: #27ae60;
    color: #fff;
}

/* Video Description */
.video-description {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
}

.video-description h2 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
}

.video-content {
    line-height: 1.7;
    color: #555;
}

/* Video Sidebar */
.video-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--card-shadow);
}

.sidebar-widget h3 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-widget h3 i {
    color: #FFA500;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list .label {
    color: #888;
}

.info-list .value {
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 5px;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li a {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    text-decoration: none;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
    transition: color var(--transition-fast);
}

.category-list li a:hover {
    color: var(--video-primary);
}

.category-list .count {
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
}

/* ================================
   Related Section
================================ */
.related-albums,
.related-videos {
    padding: 50px 0;
    background: #f8f9fa;
}

.related-albums .section-title,
.related-videos .section-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.related-albums .section-title i {
    color: var(--gallery-secondary);
}

.related-videos .section-title i {
    color: var(--video-primary);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

/* ================================
   Lightbox Modal - Enhanced
================================ */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.lightbox-modal.active {
    opacity: 1;
    visibility: visible;
    background: rgba(0, 0, 0, 0.95);
}

/* Lightbox Overlay Background */
.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        ellipse at center,
        rgba(30, 30, 30, 0.9) 0%,
        rgba(0, 0, 0, 0.98) 100%
    );
}

/* Close Button - Enhanced */
.lightbox-close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    transform: rotate(0deg);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg);
}

/* Lightbox Container */
.lightbox-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Lightbox Content - Enhanced */
.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
    opacity: 1;
}

.lightbox-content img,
.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    display: block;
    border-radius: 8px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
}

/* Image transition for slideshow */
.lightbox-image.transitioning {
    opacity: 0.3;
}

/* Caption - Enhanced */
.lightbox-caption {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    padding: 20px 15px;
    font-size: 1rem;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    margin: 0 auto;
}

/* Navigation Buttons - Enhanced */
.lightbox-nav,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 25px;
}

.lightbox-prev:hover {
    transform: translateY(-50%) scale(1.1) translateX(-3px);
}

.lightbox-next {
    right: 25px;
}

.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1) translateX(3px);
}

/* Counter - Enhanced */
.lightbox-counter {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

/* Slideshow Progress Bar */
.lightbox-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--gallery-primary), var(--gallery-secondary));
    width: 0%;
    transition: width 0.1s linear;
}

.lightbox-modal.slideshow-active .lightbox-progress-bar {
    animation: progressSlide 3s linear infinite;
}

@keyframes progressSlide {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* Slideshow Controls */
.lightbox-slideshow-control {
    position: absolute;
    bottom: 25px;
    right: 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-slideshow-control:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-slideshow-control .fa-pause {
    display: none;
}

.lightbox-modal.slideshow-active .lightbox-slideshow-control .fa-play {
    display: none;
}

.lightbox-modal.slideshow-active .lightbox-slideshow-control .fa-pause {
    display: block;
}

/* ================================
   Back to Archive
================================ */
.back-to-archive {
    padding: 30px 0;
    text-align: center;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: #f0f0f0;
    color: #333;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.btn-back:hover {
    background: #e0e0e0;
    transform: translateX(-5px);
}

/* ================================
   Pagination
================================ */
.archive-pagination {
    padding: 40px 0;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.pagination .page-numbers:hover {
    background: #f8f9fa;
    border-color: #ccc;
}

.pagination .page-numbers.current {
    background: var(--gallery-secondary);
    border-color: var(--gallery-secondary);
    color: #fff;
}

.video-grid-wrapper .pagination .page-numbers.current {
    background: var(--video-primary);
    border-color: var(--video-primary);
}

/* ================================
   No Results / Archive Empty
================================ */
.no-results,
.archive-empty {
    text-align: center;
    padding: 80px 20px;
    background: #f8f9fa;
    border-radius: var(--border-radius);
}

.no-results i,
.archive-empty__icon {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.archive-empty__icon {
    display: block;
}

.archive-empty__icon i {
    font-size: 4rem;
    color: #ddd;
}

.no-results h3,
.archive-empty h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.no-results p,
.archive-empty p {
    color: #666;
    margin-bottom: 20px;
}

.no-results .btn-reset,
.archive-empty .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: var(--gallery-secondary);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.video-archive .archive-empty .btn-primary {
    background: var(--video-primary);
}

.no-results .btn-reset:hover,
.archive-empty .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* ================================
   Lazy Loading
================================ */
.lazy-image {
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.lazy-image.loaded {
    opacity: 1;
}

/* ================================
   Responsive Design
================================ */
@media (max-width: 1024px) {
    .video-info-grid {
        grid-template-columns: 1fr;
    }
    
    .video-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .featured-video-grid {
        grid-template-columns: 1fr;
    }
    
    .images-grid.view-masonry {
        column-count: 3;
    }
    
    /* Archive grid responsive - tablet */
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Gallery grid - 3 columns on tablet */
    .gallery-images,
    .gallery-images--grid,
    .gallery-images.view-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-images--large,
    .gallery-images.view-large {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-images--masonry,
    .gallery-images.view-masonry {
        column-count: 3;
    }
}

@media (max-width: 768px) {
    .archive-hero {
        padding: 40px 0;
    }
    
    .archive-hero .archive-title {
        font-size: 1.8rem;
    }
    
    .archive-stats {
        gap: 15px;
    }
    
    .stat-item {
        padding: 12px 18px;
    }
    
    .filter-form {
        flex-direction: column;
    }
    
    .filter-group {
        min-width: 100%;
    }
    
    .archive-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    /* Archive grid responsive */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .gallery-controls {
        flex-direction: column;
        gap: 15px;
    }
    
    /* Gallery grid - 2 columns on mobile */
    .gallery-images,
    .gallery-images--grid,
    .gallery-images.view-grid,
    .gallery-images--large,
    .gallery-images.view-large {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .gallery-images--masonry,
    .gallery-images.view-masonry {
        column-count: 2;
        column-gap: 12px;
    }
    
    .gallery-images--masonry .gallery-item,
    .gallery-images.view-masonry .gallery-item {
        margin-bottom: 12px;
    }
    
    .images-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }
    
    .images-grid.view-masonry {
        column-count: 2;
    }
    
    .video-sidebar {
        grid-template-columns: 1fr;
    }
    
    .album-title-main,
    .video-title-main {
        font-size: 1.5rem;
    }
    
    .video-main .video-title {
        font-size: 1.4rem;
    }
    
    .lightbox-nav,
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-slideshow-control {
        width: 38px;
        height: 38px;
        bottom: 15px;
        right: 15px;
    }
    
    .lightbox-counter {
        bottom: 15px;
        padding: 6px 15px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .archive-hero .archive-title {
        font-size: 1.5rem;
    }
    
    .archive-stats .stat-item {
        flex: 1;
        min-width: calc(50% - 10px);
    }
    
    .archive-grid {
        grid-template-columns: 1fr;
    }
    
    /* Archive grid responsive - mobile */
    .gallery-grid,
    .video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Gallery grid - 1 column on small mobile */
    .gallery-images,
    .gallery-images--grid,
    .gallery-images.view-grid,
    .gallery-images--large,
    .gallery-images.view-large {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gallery-images--masonry,
    .gallery-images.view-masonry {
        column-count: 1;
    }
    
    .gallery-item {
        border-radius: 10px;
    }
    
    .images-grid.view-masonry {
        column-count: 1;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .featured-item .thumb {
        width: 100px;
        height: 60px;
    }
}
