/* OOUTH gallery.css v2 */
.gallery-hero { background: #0092E2; padding: 80px 0 72px; }
.gallery-hero h2 { font-family: 'Playfair Display', serif; font-size: 42px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.gallery-hero p { font-size: 15px; color: rgba(255,255,255,.65); max-width: 480px; line-height: 1.75; }
.gallery-tabs-bar { background: #fff; border-bottom: 1px solid #CCE8F8; position: sticky; top: 0; z-index: 100; }
.gallery-tabs-inner { display: flex; }
.gallery-tab { padding: 18px 32px; font-size: 14px; font-weight: 500; color: #637080; cursor: pointer; border-bottom: 3px solid transparent; border-top: none; border-left: none; border-right: none; background: none; font-family: 'DM Sans', sans-serif; display: flex; align-items: center; gap: 8px; transition: all .2s; }
.gallery-tab:hover { color: #0D1B2A; }
.gallery-tab.active { color: #0D1B2A; border-bottom-color: #D4AF37; }
.gallery-tab-section { padding: 64px 0 100px; display: none; background: #F0F8FF; }
.gallery-tab-section.active { display: block; }
.gallery-section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; flex-wrap: wrap; gap: 16px; }
.gallery-section-head h3 { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; color: #0D1B2A; }
.gallery-section-head p { font-size: 14px; color: #637080; margin-top: 4px; }
.gallery-masonry { columns: 4; column-gap: 14px; }
.gallery-masonry-item { break-inside: avoid; margin-bottom: 14px; border-radius: 10px; overflow: hidden; cursor: pointer; position: relative; }
.gallery-masonry-item img { display: block; width: 100%; height: auto; transition: transform .4s; }
.gallery-masonry-item:hover img { transform: scale(1.04); }
.masonry-overlay { position: absolute; inset: 0; background: rgba(0,92,160,0); transition: background .3s; display: flex; align-items: flex-end; padding: 14px; }
.gallery-masonry-item:hover .masonry-overlay { background: rgba(0,92,160,.45); }
.masonry-label { font-size: 12px; color: #fff; font-family: 'DM Mono', monospace; letter-spacing: .06em; opacity: 0; transition: opacity .3s; text-transform: uppercase; }
.gallery-masonry-item:hover .masonry-label { opacity: 1; }
.gallery-load-more { text-align: center; margin-top: 40px; }
.gallery-api-notice { background: #FBF5DC; border: 1px solid rgba(212,175,55,.4); border-radius: 12px; padding: 20px 24px; margin-bottom: 28px; display: flex; gap: 14px; align-items: flex-start; }
.gallery-api-notice p { font-size: 13px; color: #9C7E1A; line-height: 1.65; }
.yt-channel-header { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; padding: 20px 24px; background: #E0F4FF; border: 0.5px solid #CCE8F8; border-radius: 14px; }
.yt-logo-wrap { width: 44px; height: 44px; border-radius: 10px; background: #FF0000; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.yt-channel-name { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 600; color: #0D1B2A; }
.yt-channel-handle { font-family: 'DM Mono', monospace; font-size: 11px; color: #637080; margin-top: 2px; }
.yt-subscribe-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; background: #FF0000; color: #fff; font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600; padding: 9px 20px; border-radius: 8px; text-decoration: none; transition: opacity .2s; }
.yt-subscribe-btn:hover { opacity: .88; color: #fff; }
.yt-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.yt-video-card { background: #fff; border: 0.5px solid #CCE8F8; border-radius: 14px; overflow: hidden; cursor: pointer; transition: transform .2s, border-color .2s; }
.yt-video-card:hover { transform: translateY(-3px); border-color: #D4AF37; }
.yt-thumb-wrap { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #0092E2; }
.yt-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.yt-video-card:hover .yt-thumb-wrap img { transform: scale(1.04); }
.yt-play-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.yt-play-btn { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,0,0,.85); display: flex; align-items: center; justify-content: center; transition: transform .2s; }
.yt-video-card:hover .yt-play-btn { transform: scale(1.1); }
.yt-duration { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,.75); color: #fff; font-family: 'DM Mono', monospace; font-size: 10px; padding: 2px 7px; border-radius: 4px; }
.yt-card-body { padding: 16px; }
.yt-card-title { font-size: 14px; font-weight: 500; color: #0D1B2A; line-height: 1.4; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.yt-card-meta { font-family: 'DM Mono', monospace; font-size: 10px; color: #637080; display: flex; gap: 12px; }
.oouth-lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 9998; align-items: center; justify-content: center; padding: 24px; }
.oouth-lightbox.open { display: flex; }
.lb-inner { position: relative; max-width: 900px; width: 100%; }
.lb-inner img { border-radius: 12px; max-height: 80vh; width: auto; max-width: 100%; margin: 0 auto; display: block; }
.lb-close { position: absolute; top: -44px; right: 0; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.15); border: none; color: #fff; font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lb-caption { text-align: center; margin-top: 14px; font-size: 13px; color: rgba(255,255,255,.55); font-family: 'DM Mono', monospace; text-transform: uppercase; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.12); border: none; color: #fff; font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.lb-nav:hover { background: rgba(255,255,255,.25); }
.lb-prev { left: -56px; } .lb-next { right: -56px; }
.oouth-video-modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 9999; align-items: center; justify-content: center; padding: 24px; }
.oouth-video-modal.open { display: flex; }
.video-modal-wrap { position: relative; width: 100%; max-width: 960px; }
.video-modal-wrap iframe { width: 100%; aspect-ratio: 16/9; border-radius: 12px; border: none; }
.video-modal-close { position: absolute; top: -48px; right: 0; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.15); border: none; color: #fff; font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
