/*
 * =====================================================================
 *  VİDEO QALEREYA — SAYT CSS ("lfm-vg-" prefiksi)
 *  Yer: /modules/videos/assets/videos.css  (yalnız /video-gallery səhifəsində)
 * =====================================================================
 */
.lfm-vg-hero { display: grid; gap: 20px; padding: 24px 20px; margin-bottom: 14px; border-radius: 28px; color: #fff; background: radial-gradient(120% 140% at 0% 100%, #052e16 0%, #0b1220 55%, #111827 100%); }
@media (min-width: 1024px) { .lfm-vg-hero { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; padding: 36px; } }
.lfm-vg-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(239, 68, 68, .15); color: #fca5a5; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.lfm-vg-htext h1 { margin: 12px 0 8px; font-size: clamp(28px, 4vw, 42px); font-weight: 900; letter-spacing: -.02em; line-height: 1.1; }
.lfm-vg-htext p { color: #9ca3af; font-size: 15.5px; line-height: 1.6; }
.lfm-vg-feat { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #1f2937; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); text-align: left; }
.lfm-vg-feat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.lfm-vg-feat:hover img { transform: scale(1.04); }
.lfm-vg-feat::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(0, 0, 0, .78)); }
.lfm-vg-fcap { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 18px; }
.lfm-vg-fcap b { display: block; font-size: clamp(16px, 2vw, 22px); font-weight: 900; color: #fff; }
.lfm-vg-fcap small { font-size: 12px; color: #d1d5db; font-weight: 700; }
.lfm-vg-play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(239, 68, 68, .92); color: #fff; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 26px rgba(239, 68, 68, .45); transition: transform .2s; }
.lfm-vg-play svg { width: 26px; height: 26px; margin-left: 3px; }
.lfm-vg-play.is-big { width: 76px; height: 76px; margin: -38px 0 0 -38px; }
.lfm-vg-play.is-big svg { width: 34px; height: 34px; }
.lfm-vg-feat:hover .lfm-vg-play, .lfm-vg-card:hover .lfm-vg-play { transform: scale(1.1); }
.lfm-vg-cats { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; margin-bottom: 6px; scrollbar-width: none; }
.lfm-vg-cats button { flex: none; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid #e5e7eb; font-size: 13.5px; font-weight: 700; color: #4b5563; }
.lfm-vg-cats button.is-on { background: #111827; border-color: #111827; color: #fff; }
.lfm-vg-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .lfm-vg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .lfm-vg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lfm-vg-card { display: flex; flex-direction: column; text-align: left; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid #eef0f3; transition: transform .2s, box-shadow .2s; }
.lfm-vg-card[hidden] { display: none; }
.lfm-vg-card:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -28px rgba(0, 0, 0, .4); }
.lfm-vg-thumb { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #111827, #1f2937); overflow: hidden; display: block; }
.lfm-vg-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.lfm-vg-card:hover .lfm-vg-thumb img { transform: scale(1.05); }
.lfm-vg-thumb em { position: absolute; z-index: 2; right: 10px; bottom: 10px; font-style: normal; font-size: 11.5px; font-weight: 800; color: #fff; background: rgba(0, 0, 0, .7); padding: 2px 7px; border-radius: 6px; }
.lfm-vg-yt { position: absolute; z-index: 2; left: 10px; top: 10px; font-style: normal; font-size: 10.5px; font-weight: 900; color: #fff; background: #ef4444; padding: 2px 8px; border-radius: 6px; }
.lfm-vg-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.lfm-vg-body b { font-size: 15.5px; font-weight: 900; color: #111827; line-height: 1.3; }
.lfm-vg-body small { font-size: 13px; color: #6b7280; line-height: 1.5; }
.lfm-vg-meta { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; font-size: 12px; color: #9ca3af; font-weight: 600; }
.lfm-vg-meta span { display: inline-flex; align-items: center; gap: 4px; }
.lfm-vg-modal { position: fixed; inset: 0; z-index: 9990; display: flex; align-items: center; justify-content: center; padding: 14px; background: rgba(3, 7, 18, .86); backdrop-filter: blur(8px); }
.lfm-vg-modal[hidden] { display: none; }
.lfm-vg-box { width: 100%; max-width: 1040px; border-radius: 20px; overflow: hidden; background: #0b1220; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 40px 80px -30px #000; animation: lfm-vg-in .2s ease-out; }
@keyframes lfm-vg-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.lfm-vg-mhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; color: #fff; }
.lfm-vg-mhead b { font-size: 15px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lfm-vg-mhead button { flex: none; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #e5e7eb; display: flex; align-items: center; justify-content: center; }
.lfm-vg-mhead button:hover { background: rgba(239, 68, 68, .3); }
.lfm-vg-player { aspect-ratio: 16 / 9; background: #000; }
.lfm-vg-player video, .lfm-vg-player iframe { width: 100%; height: 100%; border: 0; display: block; }
.lfm-vg-mdesc { padding: 12px 16px 16px; color: #9ca3af; font-size: 13.5px; line-height: 1.55; }
.lfm-vg-mdesc:empty { display: none; }
html.lfm-vg-lock { overflow: hidden; }
