/* EduFabTech — yt.css  (ana sayfa + /music "Watch EduFabTech Music"; 17 Kas 2026; önek ytm- / ytv-) */
.ytm { margin: 28px 0 8px; }
.ytm-head { margin-bottom: 14px; }
.ytm-title { margin: 0 0 6px; }
.ytm-sub { margin: 0; max-width: 70ch; font-size: .95rem; }
.ytm-feature { margin-bottom: 18px; }
.ytm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ytv { margin: 0; min-width: 0; }
.ytv-btn { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #05070a; border-radius: 12px;
  overflow: hidden; cursor: pointer; aspect-ratio: 16 / 9; color: #fff; }
.ytv-btn img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .9; transition: opacity .2s, transform .35s; }
.ytv-btn:hover img, .ytv-btn:focus-visible img { opacity: 1; transform: scale(1.02); }
.ytv-btn:focus-visible { outline: 3px solid var(--brand, #3ddc97); outline-offset: 3px; }
.ytv-nothumb { position: absolute; inset: 0; display: grid; place-items: center; padding: 18px; text-align: center; font-weight: 600;
  background: linear-gradient(135deg, #0d1117, #1b2633); }
.ytv-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 62px; height: 62px; border-radius: 50%;
  background: rgba(0, 0, 0, .62); color: #fff; display: grid; place-items: center; border: 2px solid rgba(255, 255, 255, .85);
  transition: background .2s, transform .2s; }
.ytv-play svg { margin-left: 3px; }
.ytv-btn:hover .ytv-play { background: #e62117; transform: translate(-50%, -50%) scale(1.06); }
.ytv iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 12px; display: block; background: #000; }
.ytv figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-top: 10px; }
.ytv-title { margin: 0; font-size: 1rem; line-height: 1.35; flex: 1 1 200px; min-width: 0; }
.ytv-out { flex: 0 0 auto; }
.ytv-feat .ytv-title { font-size: 1.25rem; }
.ytv-feat .ytv-play { width: 84px; height: 84px; }
.ytv-feat .ytv-play svg { width: 38px; height: 38px; }
/* Shorts: yana kayan dikey serit */
.ytm-shorts-head { margin: 26px 0 10px; }
.ytm-shorts-title { margin: 0; font-size: 1.1rem; }
.ytm-shorts { display: grid; grid-auto-flow: column; grid-auto-columns: 170px; gap: 14px; overflow-x: auto; padding-bottom: 8px;
  scroll-snap-type: x proximity; overscroll-behavior-x: contain; }
.ytm-shorts > div { scroll-snap-align: start; min-width: 0; }
.ytv-short .ytv-btn, .ytv-short iframe { aspect-ratio: 9 / 16; }
.ytv-short .ytv-play { width: 48px; height: 48px; }
.ytv-short .ytv-play svg { width: 22px; height: 22px; }
.ytv-short figcaption { display: block; }
.ytv-short .ytv-title { font-size: .9rem; margin-bottom: 6px; }
.ytv-short .ytv-out { font-size: .8rem; padding: 4px 9px; }
.ytm-cta { margin: 22px 0 0; text-align: center; }
.ytm-subscribe { min-width: 260px; justify-content: center; }
/* Ana sayfa: band icinde */
.band-yt .ytm { margin-top: 0; }
@media (max-width: 900px) {
  .ytm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ytm-grid { grid-template-columns: 1fr; }
  .ytv-feat .ytv-title { font-size: 1.1rem; }
  .ytm-shorts { grid-auto-columns: 140px; }
  .ytm-subscribe { width: 100%; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ytv-btn img, .ytv-play { transition: none; }
  .ytv-btn:hover img { transform: none; }
}
