/* Rehber Merkezi: landing (/) ve /rehber sayfasında ortak video kartları.
   Mevcut koyu tema değişkenlerini (landing.html ve seo-static.css) kullanır; renk geçişi Cyan → Mavi → İndigo. */
.guide-hub {
  --guide-cyan: var(--cyan, #67e8f9);
  --guide-blue: var(--blue, #60a5fa);
  --guide-indigo: #818cf8;
  --guide-line: var(--line, rgba(255, 255, 255, 0.09));
  --guide-line-strong: var(--line-strong, rgba(255, 255, 255, 0.18));
  --guide-text: var(--text, #f5f7fb);
  --guide-muted: var(--muted, #99a5b8);
  --guide-surface: var(--surface-2, rgba(15, 22, 34, 0.88));
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.guide-grid > li {
  display: flex;
}

.guide-grid > li > .guide-card {
  width: 100%;
}

.guide-grid.is-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guide-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--guide-line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(103, 232, 249, 0.045), rgba(129, 140, 248, 0.02) 55%, transparent),
    var(--guide-surface);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  transition: transform 180ms ease, border-color 180ms ease;
}

.guide-card:hover,
.guide-card:focus-within {
  transform: translateY(-3px);
  border-color: var(--guide-line-strong);
}

.guide-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #060b14;
}

.guide-media img,
.guide-media iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.guide-media img {
  object-fit: cover;
}

.guide-play {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.guide-play::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(2, 6, 14, 0.45));
  transition: background 180ms ease;
  pointer-events: none;
}

.guide-play:hover::after {
  background: linear-gradient(180deg, rgba(2, 6, 14, 0.08) 40%, rgba(2, 6, 14, 0.55));
}

.guide-play:focus-visible {
  outline: 3px solid var(--guide-cyan);
  outline-offset: -3px;
}

/* Kapak üzerindeki başlık okunsun diye oynat düğmesi sağ alt köşede, süre rozetinin yanında. */
.guide-play-icon {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22d3ee, #3b82f6 55%, #6366f1);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 180ms ease;
}

.guide-play:hover .guide-play-icon {
  transform: scale(1.08);
}

.guide-play-icon svg {
  width: 22px;
  height: 22px;
  margin-left: 2px;
  fill: currentColor;
}

.guide-duration {
  position: absolute;
  z-index: 1;
  right: 76px;
  bottom: 26px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(2, 6, 14, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.guide-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px 20px;
}

.guide-step {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--guide-cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.guide-step b {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: linear-gradient(135deg, #22d3ee, #3b82f6 55%, #6366f1);
  color: #06101f;
  font-size: 12px;
  letter-spacing: 0;
}

.guide-body h3 {
  margin: 0;
  color: var(--guide-text);
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.guide-body p.guide-desc {
  margin: 0;
  color: var(--guide-muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.guide-link {
  margin-top: auto;
  padding-top: 8px;
  color: var(--guide-blue);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.guide-link:hover {
  text-decoration: underline;
}

.guide-more {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 30px;
}

.guide-more.center {
  justify-content: center;
}

.guide-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--guide-text);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition: 170ms ease;
}

.guide-cta:hover {
  transform: translateY(-1px);
  border-color: var(--guide-line-strong);
  background: rgba(255, 255, 255, 0.09);
}

.guide-cta.primary {
  border-color: transparent;
  background: linear-gradient(135deg, #22d3ee, #3b82f6 55%, #6366f1);
  color: #06101f;
  box-shadow: 0 18px 50px rgba(59, 130, 246, 0.32);
}

.guide-cta:focus-visible,
.guide-link:focus-visible {
  outline: 3px solid var(--guide-cyan);
  outline-offset: 3px;
}

/* /rehber sayfası düzeni */
.guide-page {
  padding: 64px 0 96px;
}

.guide-intro {
  max-width: 820px;
  margin-bottom: 34px;
}

@media (max-width: 960px) {
  .guide-grid,
  .guide-grid.is-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .guide-page {
    padding: 40px 0 72px;
  }

  .guide-intro {
    margin-bottom: 24px;
  }

  .guide-grid,
  .guide-grid.is-two {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .guide-card {
    border-radius: 20px;
  }

  .guide-play-icon {
    width: 48px;
    height: 48px;
  }

  .guide-duration {
    right: 70px;
    bottom: 24px;
  }

  .guide-more .guide-cta {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .guide-card,
  .guide-play-icon,
  .guide-cta {
    transition: none;
  }

  .guide-card:hover,
  .guide-card:focus-within,
  .guide-play:hover .guide-play-icon,
  .guide-cta:hover {
    transform: none;
  }
}

/* Tek-video izleme sayfası (/rehber/akilli-nobet-listesi): video ana içerik; altında bölümler, kısa anlatım, döküm. */
.watch.container {
  width: min(980px, calc(100vw - 44px));
  padding: 36px 0 96px;
}

.watch-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  color: var(--guide-muted);
  font-size: 13px;
  font-weight: 600;
}

.watch-crumbs a {
  color: var(--guide-muted);
}

.watch-crumbs a:hover,
.watch-crumbs a:focus-visible {
  color: var(--guide-text);
}

.watch-crumbs [aria-current="page"] {
  color: var(--guide-text);
}

.watch-head {
  margin-bottom: 26px;
}

.watch-head .section-copy {
  max-width: 760px;
}

/* Video alanı sabit kalır: üzerine gelince hareket eden kart animasyonu yok. */
.watch-player .guide-card:hover,
.watch-player .guide-card:focus-within {
  transform: none;
}

.watch-video-title {
  margin: 0;
  color: var(--guide-text);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
}

.watch-actions {
  margin-top: 18px;
}

.watch-actions .guide-link {
  margin: 0;
  padding: 0 4px;
}

.watch-note {
  margin: 12px 0 0;
  color: var(--guide-muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.watch-section {
  margin-top: 46px;
}

.watch-section h2 {
  margin: 0 0 12px;
  color: var(--guide-text);
  font-family: "Archivo", sans-serif;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.watch-section h3 {
  margin: 28px 0 8px;
  color: var(--guide-text);
  font-size: 18px;
  line-height: 1.3;
}

.watch-section p,
.watch-list {
  color: var(--guide-muted);
  font-size: 16px;
  line-height: 1.75;
}

.watch-section p {
  margin: 0 0 12px;
  max-width: 78ch;
}

.watch-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  max-width: 78ch;
}

.watch-list strong {
  color: var(--guide-text);
}

.watch-chapters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.watch-chapters a,
.watch-related a {
  display: flex;
  border: 1px solid var(--guide-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--guide-text);
  transition: border-color 170ms ease, background 170ms ease;
}

.watch-chapters a {
  align-items: center;
  gap: 14px;
  min-height: 48px;
  padding: 10px 14px;
  font-size: 14.5px;
  font-weight: 700;
}

.watch-chapters a:hover,
.watch-related a:hover {
  border-color: var(--guide-line-strong);
  background: rgba(255, 255, 255, 0.06);
}

.watch-chapters a:focus-visible,
.watch-related a:focus-visible,
.watch-crumbs a:focus-visible {
  outline: 3px solid var(--guide-cyan);
  outline-offset: 3px;
}

.watch-time {
  flex: none;
  min-width: 44px;
  color: var(--guide-cyan);
  font-variant-numeric: tabular-nums;
  font-weight: 900;
}

.watch-related {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.watch-related a {
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 16px;
}

.watch-related span {
  color: var(--guide-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

@media (max-width: 720px) {
  .watch.container {
    width: min(100vw - 24px, 980px);
    padding: 24px 0 72px;
  }

  .watch-chapters,
  .watch-related {
    grid-template-columns: minmax(0, 1fr);
  }

  .watch-actions .guide-cta {
    flex: 1 1 100%;
  }

  .watch-section {
    margin-top: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .watch-chapters a,
  .watch-related a {
    transition: none;
  }
}
