/* Videolar (çekirdek, videolar.php). Sitenin yazı tipini ve rengini devralır; vurgu rengi için tema --vx-vurgu tanımlayabilir
   (yoksa yazı rengi). Tema .vx-* sınıflarını kendi stil dosyasında ezebilir. */
.vx { --vx-vurgu-son: var(--vx-vurgu, currentColor); --vx-zemin: color-mix(in srgb, currentColor 8%, #000); display: grid; gap: 20px; }
.vx-baslik { margin: 0; }
.vx-suzgec { display: flex; flex-wrap: wrap; gap: 8px; }
.vx-suzgec[hidden] { display: none; }
.vx-sekme { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1px solid color-mix(in srgb, currentColor 22%, transparent); border-radius: 999px; background: none; color: inherit; font: inherit; font-size: 14px; cursor: pointer; opacity: .78; transition: opacity .2s, border-color .2s; }
.vx-sekme:hover { opacity: 1; }
.vx-sekme[aria-pressed="true"] { opacity: 1; border-color: var(--vx-vurgu-son); box-shadow: inset 0 0 0 1px var(--vx-vurgu-son); }
.vx-sekme:focus-visible { outline: 2px solid var(--vx-vurgu-son); outline-offset: 2px; }
.vx-say { font-size: 12px; opacity: .65; }

/* Izgara: dikey kart bir sütun, yatay kart iki sütun kaplar (telefonda iki sütunlu ızgarada yatay tam genişlik). */
.vx-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); grid-auto-flow: dense; align-items: start; gap: 28px 18px; }
.vx-oge { display: grid; gap: 12px; min-width: 0; }
.vx-oge[hidden] { display: none; }
.vx-yatay { grid-column: span 2; }
.vx-kart { position: relative; display: block; overflow: hidden; aspect-ratio: 9 / 16; border-radius: 14px; background: var(--vx-zemin); color: #fff; isolation: isolate; box-shadow: 0 0 0 1px color-mix(in srgb, currentColor 14%, transparent); }
.vx-yatay .vx-kart { aspect-ratio: 16 / 9; }
.vx-kapak, .vx-onizleme { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .4s ease; }
.vx-onizleme { opacity: 0; }
.vx-kart.vx-kare .vx-onizleme, .vx-kart.oynuyor .vx-onizleme { opacity: 1; }
.vx-kart::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0) 40%); pointer-events: none; }
.vx-kart:hover .vx-kapak, .vx-kart:hover .vx-onizleme { transform: scale(1.03); }
.vx-kart:focus-visible { outline: 3px solid var(--vx-vurgu-son); outline-offset: 3px; }
.vx-oynat { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); backdrop-filter: blur(6px); transition: transform .2s ease, background .2s ease; }
.vx-oynat svg { margin-left: 3px; }
.vx-kart:hover .vx-oynat, .vx-kart:focus-visible .vx-oynat { transform: scale(1.08); background: rgba(0, 0, 0, .75); }
.vx-bilgi { display: grid; gap: 6px; }
.vx-kat { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--vx-vurgu-son); }
.vx-ad { margin: 0; font-size: 18px; line-height: 1.25; }
.vx-metin { margin: 0; font-size: 14.5px; opacity: .8; }
.vx-imza { margin: 2px 0 0; font-size: 12.5px; opacity: .7; }
.vx-imza a, .vx-pencere-imza a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.vx-hepsi { margin: 0; }
.vx-hepsi a { color: inherit; font-weight: 600; text-decoration: underline; text-decoration-color: var(--vx-vurgu-son); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.vx-gizli { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.blok-videolar { margin-block: 24px; }

/* Oynatıcı penceresi: dikey video telefonda ekranı boydan kaplar, yatay video geniş ekranda 1200 px'e kadar. */
.vx-pencere { --vx-ust: 96px; width: 100%; height: 100%; max-width: 100vw; max-height: 100vh; margin: 0; padding: 16px; border: 0; background: transparent; color: #fff; overflow: hidden; }
@supports (height: 100dvh) { .vx-pencere { max-height: 100dvh; } }
.vx-pencere[open] { display: grid; place-items: center; }
.vx-pencere::backdrop { background: rgba(0, 0, 0, .9); }
.vx-pencere-ic { --vx-gen: min(calc(100vw - 32px), calc((100dvh - 32px - var(--vx-ust)) * .5625), 560px); width: var(--vx-gen); display: grid; gap: 10px; }
.vx-pencere[data-yon="yatay"] .vx-pencere-ic { --vx-gen: min(calc(100vw - 32px), calc((100dvh - 32px - var(--vx-ust)) * 1.7778), 1200px); }
.vx-pencere-ust { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vx-pencere-baslik { margin: 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 600; }
.vx-kapat { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1.5px solid rgba(255, 255, 255, .4); border-radius: 999px; background: transparent; color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.vx-kapat:hover { border-color: #fff; }
.vx-kapat:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.vx-sahne { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 12px; background: #000; }
.vx-pencere[data-yon="yatay"] .vx-sahne { aspect-ratio: 16 / 9; }
.vx-sahne video, .vx-sahne iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.vx-pencere-imza { margin: 0; font-size: 13px; opacity: .75; }
.vx-pencere-imza[hidden] { display: none; }
html.vx-acik { overflow: hidden; }
@media (max-width: 640px) {
  .vx-izgara { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .vx-ad { font-size: 16px; }
  .vx-metin { font-size: 14px; }
  .vx-oynat { width: 42px; height: 42px; left: 10px; bottom: 10px; }
  .vx-pencere { --vx-ust: 84px; padding: 8px; }
  .vx-pencere-ic { --vx-gen: min(calc(100vw - 16px), calc((100dvh - 16px - var(--vx-ust)) * .5625)); gap: 8px; }
  .vx-pencere[data-yon="yatay"] .vx-pencere-ic { --vx-gen: calc(100vw - 16px); }
}
@media (prefers-reduced-motion: reduce) {
  .vx-kapak, .vx-onizleme, .vx-oynat { transition: none; }
  .vx-kart:hover .vx-kapak, .vx-kart:hover .vx-onizleme { transform: none; }
}
