.gallery-container {
            padding: 20px;
            max-width: 1400px;
            margin: 0 auto;
        }
            .gallery-grid {
            columns: 4;
            column-gap: 15px;
            break-inside: avoid;
        }
            .gallery-item {
            background: rgba(47, 59, 66, 0.4);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
            transition: all 0.3s ease;
            position: relative;
            display: inline-block;
            width: 100%;
            min-width: 0;
            margin-bottom: 15px;
            break-inside: avoid;
            page-break-inside: avoid;
            cursor: pointer;
        }

        .gallery-item:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
            background: rgba(47, 59, 66, 0.6);
        }

        .gallery-item video {
            width: 100%;
            height: auto;
            display: block;
            transition: filter 0.3s ease;
            object-fit: cover;      /* crop marginally if ratio differs        */
        }

        .gallery-item:hover video {
            filter: brightness(1.1) contrast(1.05);
        }

        .video-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
            color: var(--text-light);
            padding: 20px 15px 15px;
            opacity: 0;
            transition: opacity 0.3s ease;
            font-size: 0.9rem;
            font-weight: 500;
            line-height: 1.3;
            max-width: 100%;
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow-wrap: break-word;
            word-break: normal;
            -webkit-hyphens: none;
            hyphens: none;
        }

        .gallery-item:hover .video-overlay {
            opacity: 1;
        }

        /* Lightbox Styles */
        .lightbox {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            z-index: 1000;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
            .lightbox.active {
            display: flex;
            opacity: 1;
        }
            .lightbox-content {
            position: relative;
            max-width: 95%;
            max-height: 90%;
            margin: auto;
            display: flex;
            flex-direction: row;
            background: var(--main-bg);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
        }
            .lightbox-content.fullscreen-mode {
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            right: 0 !important;
            bottom: 0 !important;
            width: 100vw !important;
            height: 100vh !important;
            max-width: 100vw !important;
            max-height: 100vh !important;
            margin: 0 !important;
            border-radius: 0 !important;
            z-index: 99999 !important;
            background: #000 !important;
            flex-direction: column !important;
        }
        .lightbox-content.fullscreen-mode .lightbox-info {
            display: none !important;
        }
            .lightbox-content.fullscreen-mode .lightbox-close {
            position: fixed;
            z-index: 9999;
        }
        .lightbox-video-container {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #000;
            position: relative;
        }
            .lightbox-content.fullscreen-mode .lightbox-video-container {
            width: 100vw;
            height: 100vh;
            flex: 1;
            box-sizing: border-box;
        }
        .lightbox-video {
            max-width: 100%;
            max-height: 100%;
            display: block;
        }
            .lightbox-content.fullscreen-mode .lightbox-video{
            width: 100vw;          /* let whichever side gets hit first limit size */
            height:100vh;
            max-width:100vw;
            max-height:100vh;
            object-fit:contain;    /* preserve aspect ratio (letter-/pillarbox only if needed) */
        }
        /* Custom Video Controls */
        .lightbox-video-container {
            position: relative;
        }
        .custom-video-controls {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
            padding: 15px 20px;
            display: flex;
            align-items: center;
            gap: 15px;
            color: white;
            font-family: 'Montserrat', sans-serif;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
            .lightbox-video-container:hover .custom-video-controls,
        .custom-video-controls.show {
            opacity: 1;
        }
            .progress-container {
            flex: 1;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .video-fullscreen-btn {
            background: none;
            border: none;
            color: rgba(255, 255, 255, 0.8) !important;
            font-size: 18px;
            cursor: pointer;
            padding: 4px;
            transition: color 0.3s ease;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 24px;
            height: 24px;
            transform: none;
            animation: none;
            outline: none;
            text-decoration: none !important;
        }.video-fullscreen-btn:hover,
        .video-fullscreen-btn:focus,
        .video-fullscreen-btn:active,
        .video-fullscreen-btn:link,
        .video-fullscreen-btn:visited {
            color: white !important;
            outline: none !important;
            background: none !important;
            text-decoration: none !important;
        }

        @media (max-width: 768px) {
            .video-fullscreen-btn {
                transform: none !important;
                animation: none !important;
                transition: color 0.3s ease !important;
            }
        }/* Mobile close button */        .mobile-close-btn {
            background: none;
            border: none;
            color: rgba(255, 255, 255, 0.8) !important;
            font-size: 20px;
            cursor: pointer;
            padding: 4px;
            transition: color 0.3s ease;
            flex-shrink: 0;
            display: none;
            align-items: center;
            justify-content: center;
            width: 28px;
            height: 28px;
            outline: none;
            text-decoration: none !important;
        }
        .mobile-close-btn:hover,
        .mobile-close-btn:focus,
        .mobile-close-btn:active,
        .mobile-close-btn:link,
        .mobile-close-btn:visited {
            color: white !important;
            outline: none !important;
            background: none !important;
            text-decoration: none !important;
        }

        @media (max-width: 768px) {
            .mobile-close-btn {
                display: flex;
            }
        }
        .play-pause-btn {
            background: none;
            border: none;
            color: white;
            font-size: 1.2rem;
            cursor: pointer;
            padding: 8px;
            border-radius: 4px;
            transition: background 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            flex-shrink: 0;
            outline: none;
        }
        .play-pause-btn:focus,
        .play-pause-btn:active {
            outline: none !important;
            background: none !important;
        }
            .play-pause-btn:hover {
            background: rgba(255, 255, 255, 0.2);
        }
            .progress-container {
            flex: 1;
            display: flex;
            align-items: center;
            gap: 10px;
        }
            .progress-bar {
            flex: 1;
            height: 6px;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 3px;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }
            .progress-bar:hover {
            height: 8px;
        }
        .progress-fill {
            height: 100%;
            background: var(--accent-green);
            border-radius: 3px;
            width: 0%;
            transition: none; /* Remove transition for instant seeking feedback */
            will-change: width; /* Optimize for width changes */
        }
        #play-pause{
	width:40px;height:40px;          /* unified size */
	background:none;border:none;
	color:var(--accent-green);
	cursor:pointer;
	display:flex;align-items:center;justify-content:center;
	position:relative;
}
/* PLAY play (CSS triangle) */
#play-pause:not(.paused)::before{
	content:'';
	border-style:solid;
	border-width:10px 0 10px 18px;         /* height 20, width 18 */
	border-color:transparent transparent transparent var(--accent-green);
}
/* PAUSE pause (two bars) */
#play-pause.paused::before,
#play-pause.paused::after{
	content:'';
	width:6px;height:20px;
	background:var(--accent-green);
	position:absolute;top:50%;
	transform:translateY(-50%);
}
#play-pause.paused::before{left:13px;}    /* left bar */
#play-pause.paused::after {right:13px;}   /* right bar */

.video-controls{
	display:grid;
	grid-template-columns:40px 1fr auto 40px 40px; /* play|bar|time|close|fs  */
	align-items:center;
	gap:16px;
	padding:12px 20px;
	background:linear-gradient(transparent,rgba(0,0,0,.8));
	position:absolute;bottom:0;left:0;right:0;   /* still sticks to video */
}
/* auto-hide */
.video-controls.controls-hidden{
	opacity:0;pointer-events:none;transition:opacity .35s;
}
.progress{
	flex:1;height:8px;cursor:pointer;
	background:rgba(255,255,255,.25);border-radius:4px;
}
.progress-fill{
	height:100%;width:0%;background:var(--accent-green);
	border-radius:4px;
}
#time-display{
	min-width:110px;text-align:center;
	font-family:'Courier New',monospace;font-size:.9rem;
	color:#fff;
}
        /* New mobile-first fullscreen implementation */
        .lightbox-content.fullscreen-mode {
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            right: 0 !important;
            bottom: 0 !important;
            width: 100vw !important;
            height: 100vh !important;
            max-width: 100vw !important;
            max-height: 100vh !important;
            margin: 0 !important;
            border-radius: 0 !important;
            z-index: 99999 !important;
            background: #000 !important;
            flex-direction: column !important;
        }
            .lightbox-content.fullscreen-mode .lightbox-info {
            display: none !important;
        }
            .lightbox-content.fullscreen-mode .lightbox-video-container {
            position: absolute !important;
            top: 0 !important;
            left: 0 !important;
            right: 0 !important;
            bottom: 0 !important;
            width: 100vw !important;
            height: 100vh !important;
            max-width: none !important;
            max-height: none !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            background: #000 !important;
        }
        .lightbox-content.fullscreen-mode .lightbox-video{
            width: 100vw;          /* let whichever side gets hit first limit size */
            height:100vh;
            max-width:100vw;
            max-height:100vh;
            object-fit:contain;    /* preserve aspect ratio (letter-/pillarbox only if needed) */
        }
            /* Mobile-specific fullscreen optimizations */
        @media (max-width: 768px) {
            .lightbox-content.fullscreen-mode .lightbox-video {
                width:100vw !important;
                height:100vh !important;
            }
        }
            /* Landscape-specific adjustments */
        @media (orientation: landscape) and (max-width: 1024px) {
            .lightbox-content.fullscreen-mode .lightbox-video {
                max-width: 90vw !important;
                max-height: 85vh !important;
            }
        }
        .lightbox-content.fullscreen-mode .custom-video-controls {
            position: fixed !important;
            bottom: 0 !important;
            left: 0 !important;
            right: 0 !important;
            z-index: 100000 !important;
            opacity: 1 !important;
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.9)) !important;
            visibility: visible !important;
            pointer-events: auto !important;
        }
        
        .lightbox-content.fullscreen-mode .video-fullscreen-btn {
            visibility: visible !important;
            opacity: 1 !important;
            pointer-events: auto !important;
            display: flex !important;
            z-index: 100001 !important;
        }
        .lightbox-info {
            width: 350px;
            padding: 30px;
            background: var(--dark-slate-gray);
            color: var(--text-light);
            overflow-y: auto;
            flex-shrink: 0;
            position: relative;
            min-width: 0;
        }

        .lightbox-title {
            font-size: 1.4rem;
            color: var(--accent-green);
            margin-bottom: 15px;
            margin-top: 16px;
            padding-top: 16px;
            font-family: 'Montserrat', sans-serif;
            line-height: 1.3;
            max-width: 100%;
            overflow-wrap: break-word;
            word-break: normal;
            -webkit-hyphens: none;
            hyphens: none;
        }
        .lightbox-description {
            line-height: 1.6;
            color: var(--light-gray);
            font-size: 0.95rem;
            max-width: 100%;
            overflow-wrap: break-word;
            word-break: normal;
            -webkit-hyphens: none;
            hyphens: none;
        }
        /* Mobile responsiveness */
        @media (max-width: 768px) {
            .lightbox-content {
                flex-direction: column;
                max-width: 95%;
                max-height: 95%;
            }
            .lightbox-info {
                width: 100%;
                max-height: none; /* Remove height restriction for more description space */
                font-size: 1.5rem;
                flex: 1; /* Allow description to take remaining space */
            }

            .lightbox-description {
                font-size: 1.43rem;
            }
            .lightbox-video-container {
                height: 40vh;
                max-height: 40vh;
                display: flex;
                align-items: center;
                justify-content: center;
            }

            .lightbox-video {
                width: auto;
                height: auto;
                max-width: 100%;
                max-height: 40vh;
                object-fit: contain;
            }.play-pause-btn {
                background: none;
                border: none;
                color: white;
                font-size: 1.2rem;
                cursor: pointer;
                padding: 8px;
                border-radius: 4px;
                transition: background 0.3s ease;
                display: flex;
                align-items: center;
                justify-content: center;
                width: 40px;
                height: 40px;
                flex-shrink: 0;
            }
            .play-pause-btn:hover {
                background: rgba(255, 255, 255, 0.2);
            }

            /* Mobile pause button - custom two-line style */
            .play-pause-btn {
                position: relative;
            }

            .play-pause-btn.paused::before {
                content: '';
                position: absolute;
                width: 3px;
                height: 12px;
                background: white;
                left: 15px;
                border-radius: 1px;
            }

            .play-pause-btn.paused::after {
                content: '';
                position: absolute;
                width: 3px;
                height: 12px;
                background: white;
                right: 15px;
                border-radius: 1px;
            }

            /* Hide Unicode pause symbol on mobile when paused */
            .play-pause-btn.paused {
                font-size: 0;
            }
        }
            /* Responsive adjustments */
        @media (max-width: 1200px) {
            .gallery-grid {
                columns: 3;
                column-gap: 12px;
            }
            .gallery-item {
                margin-bottom: 12px;
            }
        }

        @media (max-width: 768px) {
            .gallery-grid {
                columns: 2;
                column-gap: 10px;
            }
            .gallery-item {
                margin-bottom: 10px;
            }
        }

        @media (max-width: 480px) {
            .gallery-grid {
                columns: 1;
                column-gap: 0;
            }
        }
            /* Fallback for better browser support */
        @supports not (columns: 4) {
            .gallery-grid {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
                gap: 15px;
                grid-auto-rows: masonry;
            }
        }
            #video-fullscreen-btn{
	width:40px;height:40px;
	background:none;border:none;
	color:var(--accent-green);
	font-size:22px;               /* glyph size */
	display:flex;align-items:center;justify-content:center;
	cursor:pointer;
}
#video-fullscreen-btn:hover{color:#fff;}
            /* fullscreen button SVG corners */
#video-fullscreen-btn svg{overflow:visible}
#video-fullscreen-btn .corner{
	fill:none;stroke:var(--accent-green);stroke-width:2;
	transition:transform .35s ease;
}
/* individual origins so each "L" flips in place */
#video-fullscreen-btn .corner.tl{transform-origin:3px 3px}
#video-fullscreen-btn .corner.tr{transform-origin:21px 3px}
#video-fullscreen-btn .corner.bl{transform-origin:3px 21px}
#video-fullscreen-btn .corner.br{transform-origin:21px 21px}
/* on/fullscreen rotate each L 180 degrees */
 #video-fullscreen-btn.fullscreen .corner{
	transform:rotate(180deg); /* each corner turns around its own origin */
}

/* keep hover colour */
#video-fullscreen-btn:hover .corner{stroke:#fff;}
            /* NEW close button - shares look with fullscreen */
        .video-close-btn{
            width:40px;height:40px;
            background:none;border:none;
            color:var(--accent-green);
            display:flex;align-items:center;justify-content:center;
            position:relative;
            font-size:0;
            line-height:1;
            cursor:pointer;
        }
        .video-close-btn:hover{color:#fff;}
        .video-close-btn::before,
        .video-close-btn::after{
            content:"";
            position:absolute;
            top:50%;
            left:50%;
            width:24px;
            height:3px;
            border-radius:999px;
            background:currentColor;
            transform:translate(-50%, -50%) rotate(45deg);
        }
        .video-close-btn::after{
            transform:translate(-50%, -50%) rotate(-45deg);
        }
            /* update grid to: play | bar | time | close | fs  */
        .video-controls{
                grid-template-columns:40px 1fr auto 40px 40px;
        }
        /* auto-hide cursor helper */
        .cursor-none{cursor:none;}
        /* NEW: hide close button while in fullscreen (was missing) */
        .lightbox-content.fullscreen-mode .video-close-btn{display:none;}
        /* --- SERIES INDICATOR --- */
        .series-indicator {
            background: var(--accent-green);
            color: var(--main-bg);
            font-size: 0.7rem;
            padding: 2px 6px;
            border-radius: 3px;
            font-weight: 600;
            white-space: nowrap;
        }
        /* Inline indicator (when title has space) */
        .series-indicator.inline {
            display: inline-block;
            margin-top: 0;
            margin-left: 8px;
            vertical-align: middle;
        }
          /* Block indicator (when title is too long) */
        .series-indicator.block {
            display: block;
            margin-top: 4px;
            margin-left: 0;
            width: fit-content;
        }
        /* --- VIDEO TRANSITION OVERLAY --- */
        .video-transition-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: #000;
            opacity: 0;
            pointer-events: none;
            z-index: 50;
            transition: opacity 0.1s ease;
        }
        
        .video-transition-overlay.active {
            opacity: 1;
        }
            /* --- DESCRIPTION TRANSITION OVERLAY --- */
        .description-transition-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: var(--dark-slate-gray);
            opacity: 0;
            pointer-events: none;
            z-index: 50;
            transition: opacity 0.1s ease;
        }
        
        .description-transition-overlay.active {
            opacity: 1;
        }
        /* --- NEW SERIES NAVIGATION ARROWS --- */
        .series-nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 50px;
            height: 50px;
            background: rgba(0, 0, 0, 0.6);
            border: none;
            border-radius: 50%;
            color: var(--accent-green);
            font-size: 20px;
            cursor: pointer;
            z-index: 100;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            opacity: 0;
            pointer-events: none;
            font-family: Arial, sans-serif;
            line-height: 1;
            text-align: center;
        }
        
        /* Create a centered arrow using CSS pseudo-element */
        .series-nav-btn::before {
            content: '';
            width: 0;
            height: 0;
            border-left: 8px solid var(--accent-green);
            border-top: 6px solid transparent;
            border-bottom: 6px solid transparent;
            margin-left: 2px; /* Slight offset to visually center the triangle */
        }
        .series-nav-btn:hover {
            background: rgba(0, 0, 0, 0.8);
            color: white;
            transform: translateY(-50%) scale(1.1);
        }
        
        .series-nav-btn:hover::before {
            border-left-color: white;
        }
            .series-nav-btn.next {
            right: 20px;
        }
            .series-nav-btn.show {
            opacity: 1;
            pointer-events: auto;
        }
            /* Hide navigation arrows in fullscreen */
        .lightbox-content.fullscreen-mode .series-nav-btn {
            display: none !important;
        }
        /* Mobile adjustments for navigation arrows */
        @media (max-width: 768px) {
            .series-nav-btn {
                width: 40px;
                height: 40px;
                font-size: 16px;
            }
            
            .series-nav-btn::before {
                border-left: 6px solid var(--accent-green);
                border-top: 5px solid transparent;
                border-bottom: 5px solid transparent;
                margin-left: 1px;
            }
            
            .series-nav-btn:hover::before {
                border-left-color: white;
            }
            
            .series-nav-btn.next {
                right: 10px;
            }
        }
            /* fullscreen layout: play | bar | time | fs  (4 cols) */
.lightbox-content.fullscreen-mode .video-controls{
    grid-template-columns:40px 1fr auto 40px;   /* close control is hidden in fullscreen */
}
/* move the fullscreen button into the 4th column */
.lightbox-content.fullscreen-mode #video-fullscreen-btn{
    grid-column:4;              /* was 5 */
}

/* default video sizing (shared) */
.lightbox-video{
    max-width:100%;
    max-height:100%;
    display:block;
}

/* widen light-box to full viewport (removes side bars) */
.lightbox-content:not(.fullscreen-mode){
    width:auto;                           /* drop the previous 100 vw */
    max-width:calc(100vw - 40px);         /* small viewport margin   */
    margin:auto;                          /* keep centred            */
}

/* === GAP-FIX: description-mode ==================================== */
.lightbox-content:not(.fullscreen-mode) .lightbox-video-container{
    flex:0 0 auto;        /* shrink to the video's own width  */
    height:auto;          /* drop the fixed 90 vh             */
    max-height:90vh;      /* still limit tall portraits       */
    justify-content:flex-start;   /* already present, keeps it flush */
}
/* keep video inside that box */
.lightbox-content:not(.fullscreen-mode) .lightbox-video{
    width:100%;
    height:auto;
    max-height:90vh;
    object-fit:contain;   /* no cropping */
}
        /* --- NEW: keep non-fullscreen video inside viewport --- */
        .lightbox-content:not(.fullscreen-mode) .lightbox-video-container{
            /* reserve space for the 350 px info column + 40 px padding */
            max-width:calc(100vw - 390px);
            max-height:90vh;               /* never taller than the screen   */
            background:#000;               /* letter-box bars                */
        }
        .lightbox-content:not(.fullscreen-mode) .lightbox-info{
            width:350px;                   /* unified width                  */
            max-height:90vh;               /* match video column             */
            overflow-y:auto;
        }
            /* --- CUSTOM SCROLLBAR FOR DESCRIPTION AREA --- */
        .lightbox-info::-webkit-scrollbar {
            width: 8px;
        }
        
        .lightbox-info::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 4px;
        }
        
        .lightbox-info::-webkit-scrollbar-thumb {
            background: #B2D8B4;
            border-radius: 4px;
        }
        
        .lightbox-info::-webkit-scrollbar-thumb:hover {
            background: #9fc9a1;
        }
            /* Firefox scrollbar styling */
        .lightbox-info {
            scrollbar-width: thin;
            scrollbar-color: #B2D8B4 rgba(255, 255, 255, 0.1);
        }
            /* --- NEW LOADING OVERLAY --- */
        .loading-overlay{
            position:fixed;inset:0;
            background:rgba(0,0,0,.85);
            display:none;align-items:center;justify-content:center;
            z-index:1500;
        }
        .loading-bar{
            width:140px;height:6px;
            background:rgba(255,255,255,.25);
            border-radius:3px;overflow:hidden;
        }
        .loading-bar::before{
            content:'';display:block;height:100%;width:40%;
            background:var(--accent-green);
            animation:loadingSlide 1s ease-in-out infinite;
        }
        @keyframes loadingSlide{
            0%{transform:translateX(-100%);}100%{transform:translateX(300%);}
        }
        /* --- NEW THUMBNAIL LOADER --- */
        .thumb-loading-overlay{
            position:absolute;inset:0;
            background:rgba(0,0,0,.6);
            display:none;align-items:center;justify-content:center;
            z-index:5;                 /* above video frame */
        }
        .thumb-loading-bar{
            width:80px;height:4px;
            background:rgba(255,255,255,.25);
            border-radius:2px;overflow:hidden;
        }
        .thumb-loading-bar::before{
            content:'';display:block;height:100%;width:40%;
            background:var(--accent-green);
            animation:loadingSlide 1s ease-in-out infinite;
        }
        /* --- NEW MOBILE OVERRIDE --- */
    @media (max-width: 768px){
        /* allow video to span full width when info panel stacks below */
        .lightbox-content:not(.fullscreen-mode) .lightbox-video-container{
            max-width:100% !important;  /* remove reserved side space   */
            flex:1 1 auto;              /* let flexbox re-size freely   */
        }
    }

/* --- DESKTOP: unify colour & size of fullscreen & close buttons --- */
@media (min-width:769px){
	#video-fullscreen-btn{                         /* identical colour */
		color:var(--accent-green) !important;
	}
	#video-fullscreen-btn svg{width:28px;height:28px;}   /* enlarge icon */
	#video-fullscreen-btn .corner{                       /* thicker lines */
		stroke:var(--accent-green) !important;
		stroke-width:2.5;
	}
	.video-close-btn::before,
	.video-close-btn::after{
		width:28px;
		height:4px;
	}
}

/* --- NEW mobile-only fullscreen button overrides --- */
@media (max-width: 768px) {
	/* --- make fullscreen button symmetrical with the close button --- */
	#video-fullscreen-btn{
		width:40px !important;
		height:40px !important;
	}
	#video-fullscreen-btn svg{
		width:24px;          /* was 28 */
		height:24px;
	}
	#video-fullscreen-btn .corner{
		stroke-width:2px;
	}

	.video-close-btn {
		font-size:30px;      /* was 28 - makes glyph fill box like FS icon */
		line-height:0;       /* keep centre alignment */
	}
}

.video-close-btn{
    font-size:0 !important;
    line-height:1 !important;
}
