/**
 * Birleşik vitrin kartları — sinema / portre vitrin hissi (Flu tarzı premium, markaya özgü palet).
 * Kullanım: kök elemana .mat-premium-card ekleyin (.vid-card, .icerik-card, .mat-blog-card ile birlikte).
 */
.mat-premium-card {
  --mpc-bg: #151922;
  --mpc-panel: #1c2330;
  --mpc-ink: #faf8f4;
  --mpc-muted: rgba(250, 248, 244, 0.82);
  --mpc-terracotta: #c45c3e;
  --mpc-gold: rgba(201, 162, 72, 0.42);
  --mpc-scrim: linear-gradient(
    180deg,
    rgba(6, 7, 10, 0) 0%,
    rgba(6, 7, 10, 0.04) 40%,
    rgba(6, 7, 10, 0.32) 72%,
    rgba(18, 22, 32, 0.55) 100%
  );
  position: relative;
  border-radius: 14px !important;
  overflow: hidden;
  background: var(--mpc-bg) !important;
  border: 1px solid var(--mpc-gold) !important;
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.32),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    border-color 0.35s ease;
}

.mat-premium-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 30px 72px rgba(0, 0, 0, 0.42),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  border-color: rgba(201, 162, 72, 0.62) !important;
}

/* —— Görsel alan + sinema scrim —— */
.mat-premium-card .vid-card-img,
.mat-premium-card .icerik-card-wrap,
.mat-premium-card .mat-blog-card__media {
  position: relative;
  background: #030305 !important;
}

.mat-premium-card .icerik-card-wrap {
  min-height: 220px;
}

.mat-premium-card .vid-card-img {
  min-height: 300px !important;
  height: clamp(268px, 38vw, 420px) !important;
  max-height: 460px;
}

.mat-premium-card .vid-card-img::after,
.mat-premium-card .icerik-card-wrap::after,
.mat-premium-card .mat-blog-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: var(--mpc-scrim);
}

.mat-premium-card .vid-card-img img,
.mat-premium-card .icerik-card-img,
.mat-premium-card .mat-blog-card__media img {
  filter: saturate(1.05) contrast(1.02);
}

.mat-premium-card .vid-play-overlay {
  z-index: 5;
}

.mat-premium-card .icerik-tip-badge,
.mat-premium-card .icerik-lock-badge,
.mat-premium-card .vid-badge,
.mat-premium-card .vid-badge-count {
  z-index: 6;
}

.mat-premium-card .vid-badge,
.mat-premium-card .icerik-tip-badge {
  background: rgba(12, 14, 18, 0.72) !important;
  color: rgba(247, 244, 239, 0.92) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.mat-premium-card .vid-badge-count {
  background: rgba(144, 2, 22, 0.88) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.mat-premium-card .vid-badge-free {
  background: rgba(22, 101, 52, 0.88) !important;
}

.mat-premium-card .vid-badge-access {
  background: rgba(144, 2, 22, 0.9) !important;
}

/* Atölye vitrin (mat-main): kapakta daha az baskıcı scrim */
.mat-main .mat-premium-card.vid-card {
  --mpc-scrim: linear-gradient(
    180deg,
    rgba(6, 7, 10, 0) 0%,
    rgba(6, 7, 10, 0.03) 50%,
    rgba(6, 7, 10, 0.18) 82%,
    rgba(18, 22, 32, 0.42) 100%
  );
}

/* —— Metin gövdesi (koyu panel) — card-cine hariç (tam kapak kart) —— */
.mat-premium-card:not(.card-cine) .vid-card-body,
.mat-premium-card .icerik-card .card-body,
.mat-premium-card:not(.card-cine) .mat-blog-card__body,
.mat-blog-card.mat-premium-card:not(.card-cine) .mat-blog-card__body {
  background: linear-gradient(180deg, #323c52 0%, #2b3448 42%, #262f42 100%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: rgba(248, 246, 242, 0.92) !important;
}

/* Atölye vitrin (.mat-main): kart alt paneli — global düz panel rengi */
.mat-main .mat-premium-card:not(.card-cine) .vid-card-body {
  background: var(--mat-public-hero-panel, #141b28) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.mat-premium-card .vid-card-body {
  padding: 1.35rem 1.35rem 1.25rem !important;
}

.mat-premium-card .vid-card-title {
  color: #fff !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  line-height: 1.22 !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
}

.mat-premium-card .icerik-card .card-body h5,
.mat-premium-card .mat-blog-card__title,
.mat-premium-card .mat-blog-card__title a {
  color: #fff !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  line-height: 1.22 !important;
  display: block !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: unset !important;
  overflow: visible !important;
}

.mat-premium-card .mat-blog-card__title a:hover {
  color: #fff !important;
}

.mat-premium-card .vid-card-desc,
.mat-premium-card .icerik-card .card-body p,
.mat-premium-card .icerik-card .card-body p.text-muted,
.mat-premium-card .icerik-card .card-body .text-muted,
.mat-premium-card .mat-blog-card__excerpt {
  color: rgba(232, 238, 248, 0.92) !important;
  line-height: 1.55;
}

/* Vitrin / eğitimlerim: kart içi scroll yok; uzun açıklama ellipsis */
.mat-premium-card .vid-card-desc {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 4 !important;
  overflow: hidden !important;
  overflow-y: hidden !important;
  max-height: none;
  white-space: normal;
  word-break: break-word;
  font-size: 0.9rem !important;
  margin-bottom: 1rem !important;
  text-overflow: ellipsis;
}

.mat-premium-card .vid-card-footer {
  border-top-color: rgba(255, 255, 255, 0.08) !important;
}

.mat-premium-card .vid-card-meta {
  color: rgba(226, 232, 240, 0.82) !important;
}

.mat-premium-card .vid-card-meta span,
.mat-premium-card .vid-card-meta small {
  color: inherit !important;
}

.mat-premium-card .vid-card-link {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #fafaf9 !important;
  border: 2px solid rgba(226, 201, 140, 0.55) !important;
  border-radius: 999px !important;
}

.mat-premium-card .vid-card-link:hover {
  background: rgba(196, 92, 62, 0.2) !important;
  color: #fff !important;
  border-color: var(--mpc-terracotta);
}

.mat-premium-card .mat-card-cta,
.mat-premium-card .icerik-card .btn {
  background: rgba(255, 255, 255, 0.07) !important;
  color: #fafaf9 !important;
  border: 2px solid rgba(226, 201, 140, 0.5) !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
}

.mat-premium-card .mat-card-cta:hover,
.mat-premium-card .icerik-card .btn:hover {
  background: rgba(196, 92, 62, 0.25) !important;
  color: #fff !important;
  border-color: var(--mpc-terracotta) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35) !important;
}

.mat-premium-card .mat-btn--primary {
  background: var(--mpc-terracotta) !important;
  border-color: transparent !important;
  color: #fff !important;
}

.mat-premium-card .mat-btn--primary:hover {
  filter: brightness(1.08);
}

.mat-premium-card.mat-ambient-card.is-inview {
  animation: none;
}

/* —— Blog liste: tam kapak görsel + altta gradient, beyaz metin (vitrin referansı) —— */
.mat-premium-card.blog-card {
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  min-height: min(78vw, 520px) !important;
  overflow: hidden !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  background: #0b0d12 !important;
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.38) !important;
}

.mat-premium-card.blog-card .blog-card-img-wrap {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: none !important;
  background: #10141c !important;
}

.mat-premium-card.blog-card .blog-card-img-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

.mat-premium-card.blog-card .blog-card-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.18) 0%,
    rgba(0, 0, 0, 0) 18%,
    rgba(0, 0, 0, 0.22) 48%,
    rgba(0, 0, 0, 0.78) 78%,
    rgba(0, 0, 0, 0.94) 100%
  ) !important;
}

.mat-premium-card.blog-card .blog-card-placeholder {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #3a0a12 0%, #0f172a 55%, #020617 100%) !important;
}

.mat-premium-card.blog-card .blog-card-placeholder::before {
  position: absolute;
  inset: 0;
}

.mat-premium-card.blog-card .blog-card-placeholder i {
  font-size: 3rem !important;
  color: rgba(255, 255, 255, 0.3) !important;
}

.mat-premium-card .blog-card-badge {
  z-index: 6;
  top: 14px !important;
  left: 14px !important;
  right: auto !important;
  background: rgba(144, 2, 22, 0.88) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.mat-premium-card.blog-card .blog-card-body {
  position: relative !important;
  z-index: 3 !important;
  margin-top: auto !important;
  width: 100% !important;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.45) 28%,
    rgba(0, 0, 0, 0.88) 100%
  ) !important;
  border-top: none !important;
  padding: 2.85rem 1.35rem 1.35rem !important;
  color: #fff !important;
}

.mat-premium-card.blog-card .blog-card-title {
  color: #ffffff !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

/* Blog liste: kart içi scroll yok; uzun metin ellipsis */
.page-blog-list .mat-premium-card.blog-card .blog-card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.25;
}

.mat-premium-card.blog-card .blog-card-excerpt,
.mat-premium-card.blog-card .blog-card-body .text-muted {
  color: rgba(241, 245, 249, 0.92) !important;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  overflow-y: hidden;
  text-overflow: ellipsis;
  max-height: none;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.mat-premium-card .blog-card-date,
.mat-premium-card .blog-card-date i {
  color: rgba(226, 232, 240, 0.95) !important;
  opacity: 1 !important;
}

.mat-premium-card.blog-card .blog-card-footer {
  border-top-color: rgba(255, 255, 255, 0.16) !important;
}

.mat-premium-card.blog-card .blog-card-link {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.48) !important;
  border-radius: 999px !important;
}

.mat-premium-card.blog-card .blog-card-link:hover {
  background: rgba(255, 255, 255, 0.22) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.65) !important;
}

.page-blog-list .mat-premium-card.blog-card {
  min-height: min(58vw, 420px) !important;
}

/* —— videolar.php alt CTA şeridi —— */
.mat-premium-card .vid-card-cta {
  background: var(--mpc-bg) !important;
  padding: 0 24px 22px;
}

.mat-premium-card .vid-card-cta a {
  background: rgba(196, 92, 62, 0.88) !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff !important;
}

.mat-premium-card .vid-card-cta a:hover {
  background: var(--mpc-terracotta) !important;
  filter: brightness(1.05);
}

.mat-premium-card .vid-card-meta {
  border-top-color: rgba(255, 255, 255, 0.08) !important;
}

.mat-premium-card .vid-card-meta span {
  color: rgba(226, 232, 240, 0.9) !important;
}

.mat-premium-card .vid-card-meta .text-success {
  color: #6ee7b7 !important;
}

/* —— Yorum / alıntı kartları (hafif uyum) —— */
.mat-tquote.mat-premium-card {
  background: #161d2e !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

[data-theme='dark'] .mat-tquote.mat-premium-card,
body[data-bs-theme='dark'] .mat-tquote.mat-premium-card,
body[data-layout-mode='dark'] .mat-tquote.mat-premium-card {
  background: #161d2e !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-theme='dark'] .mat-tquote.mat-premium-card .mat-tquote__body,
body[data-bs-theme='dark'] .mat-tquote.mat-premium-card .mat-tquote__body,
body[data-layout-mode='dark'] .mat-tquote.mat-premium-card .mat-tquote__body {
  color: #f8fafc !important;
}

[data-theme='dark'] .mat-tquote.mat-premium-card .mat-tquote__author,
body[data-bs-theme='dark'] .mat-tquote.mat-premium-card .mat-tquote__author,
body[data-layout-mode='dark'] .mat-tquote.mat-premium-card .mat-tquote__author {
  color: rgba(248, 250, 252, 0.88) !important;
}

[data-theme='dark'] .mat-premium-card,
body[data-bs-theme='dark'] .mat-premium-card,
body[data-layout-mode='dark'] .mat-premium-card {
  --mpc-bg: #141c2a;
  --mpc-panel: #1c2636;
  --mpc-ink: #f8fafc;
  --mpc-muted: rgba(232, 240, 248, 0.9);
  --mpc-scrim: linear-gradient(
    180deg,
    rgba(6, 7, 10, 0) 0%,
    rgba(6, 7, 10, 0.05) 42%,
    rgba(6, 7, 10, 0.28) 78%,
    rgba(12, 16, 24, 0.5) 100%
  );
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

[data-theme='dark'] .mat-premium-card:not(.card-cine) .vid-card-body,
[data-theme='dark'] .mat-premium-card:not(.card-cine) .blog-card-body,
[data-theme='dark'] .mat-premium-card:not(.card-cine) .event-card-body,
[data-theme='dark'] .mat-premium-card .icerik-card .card-body,
[data-theme='dark'] .mat-blog-card.mat-premium-card:not(.card-cine) .mat-blog-card__body,
body[data-bs-theme='dark'] .mat-premium-card:not(.card-cine) .vid-card-body,
body[data-bs-theme='dark'] .mat-premium-card:not(.card-cine) .blog-card-body,
body[data-bs-theme='dark'] .mat-premium-card:not(.card-cine) .event-card-body,
body[data-bs-theme='dark'] .mat-premium-card .icerik-card .card-body,
body[data-bs-theme='dark'] .mat-blog-card.mat-premium-card:not(.card-cine) .mat-blog-card__body,
body[data-layout-mode='dark'] .mat-premium-card:not(.card-cine) .vid-card-body,
body[data-layout-mode='dark'] .mat-premium-card:not(.card-cine) .blog-card-body,
body[data-layout-mode='dark'] .mat-premium-card:not(.card-cine) .event-card-body,
body[data-layout-mode='dark'] .mat-premium-card .icerik-card .card-body,
body[data-layout-mode='dark'] .mat-blog-card.mat-premium-card:not(.card-cine) .mat-blog-card__body {
  background: linear-gradient(180deg, #3a4a63 0%, #303d54 42%, #2a3548 100%) !important;
  border-top-color: rgba(255, 255, 255, 0.14) !important;
  color: #f1f5f9 !important;
}

/* Sinema kartları (card-cine): tam kapak — koyu panel gövdeyi şeffaf bırakmalı */
html[data-theme='dark'] .mat-premium-card.card-cine .vid-card-body,
html[data-theme='dark'] .mat-premium-card.card-cine .blog-card-body,
html[data-theme='dark'] .mat-premium-card.card-cine .event-card-body,
html[data-theme='dark'] .mat-premium-card.card-cine .mat-blog-card__body,
html[data-theme='dark'] body.home-page .mat-premium-card.card-cine .vid-card-body,
[data-theme='dark'] .mat-premium-card.card-cine .vid-card-body,
[data-theme='dark'] .mat-premium-card.card-cine .blog-card-body,
[data-theme='dark'] .mat-premium-card.card-cine .event-card-body,
[data-theme='dark'] .mat-premium-card.card-cine .mat-blog-card__body,
body[data-bs-theme='dark'] .mat-premium-card.card-cine .vid-card-body,
body[data-bs-theme='dark'] .mat-premium-card.card-cine .blog-card-body,
body[data-bs-theme='dark'] .mat-premium-card.card-cine .event-card-body,
body[data-bs-theme='dark'] .mat-premium-card.card-cine .mat-blog-card__body,
body[data-layout-mode='dark'] .mat-premium-card.card-cine .vid-card-body,
body[data-layout-mode='dark'] .mat-premium-card.card-cine .blog-card-body,
body[data-layout-mode='dark'] .mat-premium-card.card-cine .event-card-body,
body[data-layout-mode='dark'] .mat-premium-card.card-cine .mat-blog-card__body {
  background: transparent !important;
  background-image: none !important;
  border-top: none !important;
  color: #fff !important;
}

/* Ana sayfa tam-kapak kartlar: üstteki global koyu gövdeyi iptal et */
[data-theme='dark'] body.home-page .mat-premium-card.icerik-card .card-body,
[data-theme='dark'] body.home-page .mat-blog-card.mat-premium-card .mat-blog-card__body,
body.home-page[data-bs-theme='dark'] .mat-premium-card.icerik-card .card-body,
body.home-page[data-bs-theme='dark'] .mat-blog-card.mat-premium-card .mat-blog-card__body,
body.home-page[data-layout-mode='dark'] .mat-premium-card.icerik-card .card-body,
body.home-page[data-layout-mode='dark'] .mat-blog-card.mat-premium-card .mat-blog-card__body {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.5) 38%,
    rgba(0, 0, 0, 0.92) 100%
  ) !important;
  border-top: none !important;
  color: #fff !important;
}

[data-theme='dark'] .mat-premium-card .vid-card-desc,
[data-theme='dark'] .mat-premium-card .icerik-card .card-body p,
[data-theme='dark'] .mat-premium-card .icerik-card .card-body .text-muted,
[data-theme='dark'] .mat-premium-card .mat-blog-card__excerpt,
body[data-bs-theme='dark'] .mat-premium-card .vid-card-desc,
body[data-bs-theme='dark'] .mat-premium-card .icerik-card .card-body p,
body[data-bs-theme='dark'] .mat-premium-card .icerik-card .card-body .text-muted,
body[data-bs-theme='dark'] .mat-premium-card .mat-blog-card__excerpt {
  color: #e2e8f0 !important;
}

[data-theme='dark'] .mat-premium-card .vid-card-meta,
body[data-bs-theme='dark'] .mat-premium-card .vid-card-meta {
  color: #cbd5e1 !important;
}

@media (prefers-reduced-motion: reduce) {
  .mat-premium-card,
  .mat-premium-card:hover {
    transition: none;
    transform: none;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Ana sayfa — tam kapak görsel + alt gradient, beyaz metin (vitrin referansı)
   Videolar vitrin / üye listeleri etkilenmez (yalnızca body.home-page).
   ═══════════════════════════════════════════════════════════════════════════ */

.home-page .mat-premium-card.icerik-card {
  --mpc-scrim: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0) 22%,
    rgba(0, 0, 0, 0.28) 52%,
    rgba(0, 0, 0, 0.82) 100%
  );
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  min-height: 400px !important;
  overflow: hidden !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  background: #0a0c12 !important;
  box-shadow: 0 26px 52px rgba(0, 0, 0, 0.34) !important;
}

.home-page .mat-premium-card.icerik-card:hover {
  border-color: rgba(255, 255, 255, 0.32) !important;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.45) !important;
}

.home-page .mat-premium-card.icerik-card .icerik-card-wrap,
.home-page .mat-premium-card.icerik-card .vid-card-img {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  min-height: 100% !important;
  background: #11151d !important;
}

.home-page .mat-premium-card.icerik-card .icerik-card-wrap::after {
  background: var(--mpc-scrim) !important;
}

.home-page .mat-premium-card.icerik-card .icerik-card-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  min-height: 100% !important;
}

.home-page .mat-premium-card.icerik-card .icerik-card-placeholder {
  position: absolute !important;
  inset: 0 !important;
  min-height: 100% !important;
}

.home-page .mat-premium-card.icerik-card .icerik-card-placeholder i {
  color: rgba(255, 255, 255, 0.32) !important;
}

.home-page .mat-premium-card.icerik-card .icerik-tip-badge {
  background: rgba(144, 2, 22, 0.88) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  top: 14px !important;
  left: 14px !important;
  right: auto !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.home-page .mat-premium-card.icerik-card .icerik-tip-badge + .icerik-tip-badge {
  left: auto !important;
  right: 14px !important;
  top: 14px !important;
  background: rgba(220, 38, 38, 0.95) !important;
}

.home-page .mat-premium-card.icerik-card .icerik-lock-badge {
  top: 52px !important;
  right: 14px !important;
  left: auto !important;
  background: rgba(15, 23, 42, 0.78) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

.home-page .mat-premium-card.icerik-card .vid-card-body,
.home-page .mat-premium-card.icerik-card .card-body {
  position: relative !important;
  z-index: 2 !important;
  margin-top: auto !important;
  width: 100% !important;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.52) 32%,
    rgba(0, 0, 0, 0.92) 100%
  ) !important;
  border-top: none !important;
  padding: 2.5rem 1.25rem 1.25rem !important;
  color: #fff !important;
}

.home-page .mat-premium-card.icerik-card .card-body h5 {
  color: #fff !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

.home-page .mat-premium-card.icerik-card .card-body p,
.home-page .mat-premium-card.icerik-card .card-body p.text-muted,
.home-page .mat-premium-card.icerik-card .card-body .text-muted {
  color: rgba(226, 232, 240, 0.92) !important;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.home-page .mat-premium-card.icerik-card .btn,
.home-page .mat-premium-card.icerik-card .mat-card-cta {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.48) !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
}

.home-page .mat-premium-card.icerik-card .btn:hover,
.home-page .mat-premium-card.icerik-card .mat-card-cta:hover {
  background: rgba(255, 255, 255, 0.26) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.65) !important;
  filter: none !important;
  box-shadow: none !important;
}

/* Son yazılar — mat-blog-card */
.home-page .mat-blog-card.mat-premium-card {
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  min-height: 360px !important;
  overflow: hidden !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  background: #0a0c12 !important;
  box-shadow: 0 26px 52px rgba(0, 0, 0, 0.34) !important;
}

.home-page .mat-blog-card.mat-premium-card .mat-blog-card__media {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  min-height: 100% !important;
  background: #10141c !important;
}

.home-page .mat-blog-card.mat-premium-card .mat-blog-card__media:has(img) {
  background: #030305 !important;
}

.home-page .mat-blog-card.mat-premium-card .mat-blog-card__media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

.home-page .mat-blog-card.mat-premium-card .mat-blog-card__media::after {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0) 20%,
    rgba(0, 0, 0, 0.35) 50%,
    rgba(0, 0, 0, 0.88) 100%
  ) !important;
}

.home-page .mat-blog-card.mat-premium-card .mat-blog-card__body {
  position: relative !important;
  z-index: 2 !important;
  margin-top: auto !important;
  width: 100% !important;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.55) 30%,
    rgba(0, 0, 0, 0.92) 100%
  ) !important;
  border-top: none !important;
  padding: 2.5rem 1.25rem 1.35rem !important;
  color: #fff !important;
}

.home-page .mat-blog-card.mat-premium-card .mat-blog-card__title,
.home-page .mat-blog-card.mat-premium-card .mat-blog-card__title a {
  color: #fff !important;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

.home-page .mat-blog-card.mat-premium-card .mat-blog-card__excerpt {
  color: rgba(226, 232, 240, 0.92) !important;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.home-page .mat-blog-card.mat-premium-card .mat-btn--primary {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.48) !important;
}

.home-page .mat-blog-card.mat-premium-card .mat-btn--primary:hover {
  background: rgba(255, 255, 255, 0.26) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.65) !important;
}

[data-theme='dark'] body.home-page .mat-blog-card.mat-premium-card .mat-blog-card__excerpt,
body.home-page[data-bs-theme='dark'] .mat-blog-card.mat-premium-card .mat-blog-card__excerpt,
body.home-page[data-layout-mode='dark'] .mat-blog-card.mat-premium-card .mat-blog-card__excerpt {
  color: rgba(226, 232, 240, 0.92) !important;
}

@media (max-width: 575.98px) {
  .home-page .mat-premium-card.icerik-card {
    min-height: min(88vw, 380px) !important;
  }

  .home-page .mat-blog-card.mat-premium-card {
    min-height: min(92vw, 360px) !important;
  }
}

.home-page #contentGrid.row.g-4 {
  --bs-gutter-x: 2.25rem;
  --bs-gutter-y: 2.25rem;
}

.home-page .home-carousel-section .carousel-inner .row.g-4 {
  --bs-gutter-x: 2.35rem;
  --bs-gutter-y: 2.35rem;
}

.home-page .home-content-rail.content-rail {
  --rail-gap: 16px;
  --rail-card-min: 288px;
}

[data-theme='dark'] body.home-page .mat-premium-card.icerik-card,
body.home-page[data-bs-theme='dark'] .mat-premium-card.icerik-card,
body.home-page[data-layout-mode='dark'] .mat-premium-card.icerik-card,
[data-theme='dark'] body.home-page .mat-blog-card.mat-premium-card,
body.home-page[data-bs-theme='dark'] .mat-blog-card.mat-premium-card,
body.home-page[data-layout-mode='dark'] .mat-blog-card.mat-premium-card {
  border-color: rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.55) !important;
}

[data-theme='dark'] body.home-page .mat-premium-card.icerik-card .icerik-card-placeholder,
body.home-page[data-bs-theme='dark'] .mat-premium-card.icerik-card .icerik-card-placeholder,
body.home-page[data-layout-mode='dark'] .mat-premium-card.icerik-card .icerik-card-placeholder {
  opacity: 1;
}

[data-theme='dark'] body.home-page .mat-premium-card.icerik-card .card-body h5,
body.home-page[data-bs-theme='dark'] .mat-premium-card.icerik-card .card-body h5,
body.home-page[data-layout-mode='dark'] .mat-premium-card.icerik-card .card-body h5 {
  color: #fff !important;
}

[data-theme='dark'] body.home-page .mat-premium-card.icerik-card .card-body p,
[data-theme='dark'] body.home-page .mat-premium-card.icerik-card .card-body .text-muted,
body.home-page[data-bs-theme='dark'] .mat-premium-card.icerik-card .card-body p,
body.home-page[data-bs-theme='dark'] .mat-premium-card.icerik-card .card-body .text-muted,
body.home-page[data-layout-mode='dark'] .mat-premium-card.icerik-card .card-body p,
body.home-page[data-layout-mode='dark'] .mat-premium-card.icerik-card .card-body .text-muted {
  color: rgba(226, 232, 240, 0.92) !important;
}

[data-theme='dark'] body.home-page .mat-premium-card.icerik-card .btn,
[data-theme='dark'] body.home-page .mat-premium-card.icerik-card .mat-card-cta,
body.home-page[data-bs-theme='dark'] .mat-premium-card.icerik-card .btn,
body.home-page[data-bs-theme='dark'] .mat-premium-card.icerik-card .mat-card-cta,
body.home-page[data-layout-mode='dark'] .mat-premium-card.icerik-card .btn,
body.home-page[data-layout-mode='dark'] .mat-premium-card.icerik-card .mat-card-cta {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.48) !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   POSTER KART SİSTEMİ — tüm içerik/liste kartları (Flu / Wisenrise tarzı)
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --poster-bg: #14110f;
  --poster-radius: 18px;
  --poster-brand: var(--card-brand, var(--brand-500, #900216));
  --poster-shade: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.72) 38%,
    rgba(0, 0, 0, 0.28) 62%,
    transparent 82%
  );
  --poster-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Poster kartlar: mat-reveal gizlemesin (carousel / rail uyumu) */
.poster-card.mat-reveal,
.poster-card.mat-reveal.is-inview {
  opacity: 1 !important;
  transform: none !important;
}

/* —— Ortak poster kabuk —— */
.poster-card,
.content-card.event-card,
.content-card.blog-card,
.vid-card.mat-premium-card,
.vid-card.content-card {
  position: relative !important;
  display: block !important;
  aspect-ratio: 3 / 4 !important;
  height: auto !important;
  border: none !important;
  border-radius: var(--poster-radius) !important;
  overflow: hidden !important;
  background: var(--poster-bg) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  transition:
    transform 0.55s var(--poster-ease),
    box-shadow 0.55s var(--poster-ease) !important;
}

.poster-card.card-cine .poster-content,
.poster-card.card-cine .card-editorial-bottom {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  padding: 0 1.25rem 0.45rem !important;
}

.poster-card.card-cine .poster-title {
  text-align: left !important;
}

.poster-card.card-cine:hover,
.poster-card.card-cine:focus-within {
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.28) !important;
}

.poster-card:hover:not(.card-cine),
.poster-card:focus-within:not(.card-cine),
.content-card.event-card:hover:not(.card-cine),
.content-card.event-card:focus-within:not(.card-cine),
.content-card.blog-card:hover:not(.card-cine),
.content-card.blog-card:focus-within:not(.card-cine),
.vid-card.mat-premium-card:hover:not(.card-cine),
.vid-card.mat-premium-card:focus-within:not(.card-cine) {
  transform: translateY(-10px) !important;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.18), 0 12px 32px rgba(0, 0, 0, 0.1) !important;
}

.poster-card.mat-reveal.is-inview:hover,
.poster-card.mat-reveal.is-inview:focus-within {
  transform: translateY(-10px) scale(1) !important;
}

/* —— home.php poster-card —— */
.poster-card .poster-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.poster-card .poster-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--poster-ease);
}

.poster-card:hover .poster-img,
.poster-card:focus-within .poster-img {
  transform: scale(1.07);
}

.poster-card .poster-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.75rem;
  color: rgba(255, 255, 255, 0.32);
}

.poster-card .poster-fallback::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.14) 0%, transparent 62%);
}

.poster-card .poster-fallback i {
  position: relative;
  z-index: 1;
}

.poster-card .poster-shade {
  position: absolute;
  inset: 0;
  background: var(--poster-shade);
  pointer-events: none;
  z-index: 1;
}

.poster-card .poster-lock,
.poster-card .poster-promo {
  position: absolute;
  top: 14px;
  z-index: 3;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  color: #fff;
}

.poster-card .poster-lock {
  right: 14px;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.poster-card .poster-promo {
  left: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.poster-card .poster-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.15rem 1.25rem 1.3rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.poster-card .poster-tip {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  margin-bottom: 0.6rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.poster-card .poster-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.05rem, 2.6vw, 1.5rem);
  line-height: 1.28;
  color: #fff;
  margin: 0 0 0.45rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.poster-card .poster-divider {
  display: block;
  width: 44px;
  height: 3px;
  margin-bottom: 0.6rem;
  background: var(--poster-brand);
  border-radius: 2px;
  transition: width 0.45s var(--poster-ease);
}

.poster-card:hover .poster-divider,
.poster-card:focus-within .poster-divider {
  width: 72px;
}

.poster-card .poster-sub {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.poster-card .poster-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  width: 100%;
  padding: 0.58rem 1rem;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  background: var(--poster-brand);
  box-shadow: 0 6px 20px rgba(229, 9, 20, 0.35);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--poster-ease), transform 0.4s var(--poster-ease);
  pointer-events: none;
}

.poster-card:hover .poster-cta,
.poster-card:focus-within .poster-cta {
  opacity: 1;
  transform: translateY(0);
}

.poster-card .poster-stretch {
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: inherit;
  text-decoration: none;
}

.poster-card .poster-stretch:focus-visible {
  outline: 2px solid var(--poster-brand);
  outline-offset: 3px;
}

/* —— event-card / duyurular —— */
.content-card.event-card .event-card-img-wrap,
.content-card.blog-card .blog-card-img-wrap,
.vid-card.mat-premium-card .vid-card-img {
  position: absolute !important;
  inset: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
  background: var(--poster-bg) !important;
}

.content-card.event-card .event-card-img-wrap::after,
.content-card.blog-card .blog-card-img-wrap::after,
.vid-card.mat-premium-card .vid-card-img::after {
  content: '' !important;
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: var(--poster-shade) !important;
}

.content-card.event-card .event-card-img-wrap img,
.content-card.blog-card .blog-card-img-wrap img,
.vid-card.mat-premium-card .vid-card-img img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.7s var(--poster-ease);
}

.content-card.event-card:hover .event-card-img-wrap img,
.content-card.blog-card:hover .blog-card-img-wrap img,
.vid-card.mat-premium-card:hover .vid-card-img img {
  transform: scale(1.07);
}

.content-card.event-card .event-card-placeholder,
.content-card.blog-card .blog-card-placeholder,
.vid-card.mat-premium-card .vid-card-placeholder {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #3a0a12 0%, #14110f 55%, #0a0806 100%) !important;
}

.content-card.event-card .event-card-placeholder i,
.content-card.blog-card .blog-card-placeholder i,
.vid-card.mat-premium-card .vid-card-placeholder i {
  font-size: 2.75rem !important;
  color: rgba(255, 255, 255, 0.32) !important;
  z-index: 1;
}

.content-card.event-card .event-card-body,
.content-card.blog-card .blog-card-body,
.vid-card.mat-premium-card .vid-card-body {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 4 !important;
  margin-top: 0 !important;
  flex: none !important;
  background: transparent !important;
  border-top: none !important;
  padding: 1.15rem 1.25rem 1.3rem !important;
  color: #fff !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

/* Tip etiketi (CSS-only sayfa etiketleri) */
.page-event-list .content-card.event-card .event-card-body::before {
  content: 'Etkinlik';
}

.page-announcement-list .content-card.event-card .event-card-body::before {
  content: 'Duyuru';
}

.page-event-list .content-card.event-card .event-card-body::before,
.page-announcement-list .content-card.event-card .event-card-body::before,
.content-card.blog-card .blog-card-badge,
.vid-card.mat-premium-card .vid-card-body::before {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  margin-bottom: 0.6rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.vid-card.mat-premium-card .vid-card-body::before {
  content: 'Video';
}

.content-card.blog-card .blog-card-badge {
  position: absolute !important;
  top: auto !important;
  bottom: 42% !important;
  left: 1.25rem !important;
  z-index: 5 !important;
  display: inline-flex !important;
  background: rgba(255, 255, 255, 0.12) !important;
  color: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  padding: 5px 12px !important;
  border-radius: 999px !important;
  font-size: 0.66rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Başlık + ayraç */
.content-card.event-card .event-card-title,
.content-card.blog-card .blog-card-title,
.vid-card.mat-premium-card .vid-card-title {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-weight: 700 !important;
  font-size: clamp(1.05rem, 2.6vw, 1.5rem) !important;
  line-height: 1.28 !important;
  color: #fff !important;
  margin: 0 0 0.45rem !important;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.content-card.event-card .event-card-title::after,
.content-card.blog-card .blog-card-title::after,
.vid-card.mat-premium-card .vid-card-title::after {
  content: '';
  display: block;
  width: 44px;
  height: 3px;
  margin-top: 0.5rem;
  margin-bottom: 0.6rem;
  background: var(--poster-brand);
  border-radius: 2px;
  transition: width 0.45s var(--poster-ease);
}

.content-card.event-card:hover .event-card-title::after,
.content-card.blog-card:hover .blog-card-title::after,
.vid-card.mat-premium-card:hover .vid-card-title::after {
  width: 72px;
}

/* Açıklama */
.content-card.event-card .event-card-excerpt,
.content-card.blog-card .blog-card-excerpt,
.vid-card.mat-premium-card .vid-card-desc {
  font-size: 0.82rem !important;
  line-height: 1.55 !important;
  color: rgba(255, 255, 255, 0.82) !important;
  margin: 0 0 0.55rem !important;
  flex: none !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

/* Meta / tarih */
.content-card.event-card .event-card-meta,
.content-card.blog-card .blog-card-footer,
.vid-card.mat-premium-card .vid-card-footer,
.vid-card.mat-premium-card .vid-card-meta {
  width: 100%;
  border-top: none !important;
  padding-top: 0 !important;
  margin-bottom: 0.5rem !important;
}

.content-card.event-card .event-card-meta {
  flex-direction: column;
  gap: 4px;
  margin-bottom: 0.5rem !important;
}

.content-card.event-card .event-card-meta span,
.content-card.blog-card .blog-card-date,
.content-card.blog-card .blog-card-date i,
.vid-card.mat-premium-card .vid-card-meta,
.vid-card.mat-premium-card .vid-card-meta span {
  font-size: 0.76rem !important;
  color: rgba(255, 255, 255, 0.58) !important;
}

.content-card.event-card .event-card-meta i {
  color: rgba(255, 255, 255, 0.45) !important;
}

.content-card.blog-card .blog-card-footer {
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
}

/* Tarih rozeti (etkinlik) */
.content-card.event-card .event-card-date-badge {
  top: 14px !important;
  right: 14px !important;
  left: auto !important;
  z-index: 5 !important;
  min-width: 52px;
  padding: 6px 10px !important;
  border-radius: 12px !important;
  background: rgba(0, 0, 0, 0.58) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
}

.content-card.event-card .event-card-date-badge .day {
  font-size: 1.15rem !important;
  color: #fff !important;
}

.content-card.event-card .event-card-date-badge .month {
  font-size: 0.62rem !important;
  color: rgba(255, 255, 255, 0.72) !important;
}

/* CTA linkler */
.content-card.event-card .event-card-link,
.content-card.blog-card .blog-card-link,
.vid-card.mat-premium-card .vid-card-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.35rem !important;
  width: 100% !important;
  padding: 0.58rem 1rem !important;
  border-radius: 12px !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: #fff !important;
  background: var(--poster-brand) !important;
  border: none !important;
  box-shadow: 0 6px 20px rgba(229, 9, 20, 0.35) !important;
  text-decoration: none !important;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--poster-ease), transform 0.4s var(--poster-ease), background 0.25s ease;
}

/* Vitrin / liste kartları: CTA ve tıklama hover beklemeden aktif */
a.vid-card.mat-premium-card.vid-card--browse,
.vid-card.mat-premium-card.vid-card--browse {
  cursor: pointer;
  text-decoration: none !important;
  color: inherit;
}

a.vid-card.mat-premium-card.vid-card--browse:hover,
a.vid-card.mat-premium-card.vid-card--browse:focus,
a.vid-card.mat-premium-card.vid-card--browse:focus-visible {
  color: inherit;
  text-decoration: none !important;
}

.vid-card.mat-premium-card.vid-card--browse .vid-card-link {
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: none;
}

.vid-card.mat-premium-card.vid-card--browse .vid-play-overlay {
  pointer-events: none;
}

.vid-card.mat-premium-card .vid-card-stretch {
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  text-decoration: none;
}

.vid-card.mat-premium-card .vid-card-stretch:focus-visible {
  outline: 2px solid var(--poster-brand);
  outline-offset: 3px;
}

.vid-card.mat-premium-card.vid-card--browse .vid-card-cta,
.vid-card.mat-premium-card.vid-card--browse .vid-card-cta a {
  position: relative;
  z-index: 6;
  pointer-events: auto;
}

.vid-card.mat-premium-card.vid-card--browse .vid-card-cta {
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

.content-card.event-card:hover .event-card-link,
.content-card.event-card:focus-within .event-card-link,
.content-card.blog-card:hover .blog-card-link,
.content-card.blog-card:focus-within .blog-card-link,
.vid-card.mat-premium-card:hover .vid-card-link,
.vid-card.mat-premium-card:focus-within .vid-card-link {
  opacity: 1;
  transform: translateY(0);
}

.content-card.event-card .event-card-link:hover,
.content-card.blog-card .blog-card-link:hover,
.vid-card.mat-premium-card .vid-card-link:hover {
  filter: brightness(1.08);
  color: #fff !important;
  background: var(--poster-brand) !important;
}

/* Geri sayım — poster üzerinde */
.poster-card .mat-public-cd,
.content-card.event-card .mat-public-cd {
  margin-top: 0;
  margin-bottom: 0.55rem;
  width: 100%;
}

.poster-card .mat-public-cd-hint,
.content-card.event-card .mat-public-cd-hint {
  color: rgba(255, 255, 255, 0.58) !important;
  font-size: 0.62rem;
}

.poster-card .mat-public-cd--card .mat-public-cd-inline,
.content-card.event-card .mat-public-cd--card .mat-public-cd-inline {
  color: rgba(255, 255, 255, 0.94) !important;
  font-size: 0.78rem;
}

.poster-card .mat-public-cd--card .mat-cd-seg small,
.poster-card .mat-public-cd--card .mat-cd-dot,
.content-card.event-card .mat-public-cd--card .mat-cd-seg small,
.content-card.event-card .mat-public-cd--card .mat-cd-dot {
  color: rgba(255, 255, 255, 0.55) !important;
}

/* Video: oynat butonu gradient üstünde */
.vid-card.mat-premium-card .vid-play-overlay {
  z-index: 6 !important;
}

.vid-card.mat-premium-card .vid-play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--poster-brand);
  font-size: 1.25rem;
  line-height: 1;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  transform: scale(0.88);
  opacity: 0.92;
  transition: transform 0.35s var(--poster-ease), opacity 0.35s ease;
}

.vid-card.mat-premium-card .vid-play-btn .fa-play {
  margin-left: 3px;
}

.vid-card.mat-premium-card:hover .vid-play-btn {
  transform: scale(1);
  opacity: 1;
}

.vid-card.mat-premium-card .vid-badge,
.vid-card.mat-premium-card .vid-badge-count,
.vid-card.mat-premium-card .vid-badge-ok,
.vid-card.mat-premium-card .vid-badge-exp,
.vid-card.mat-premium-card .vid-badge-free,
.vid-card.mat-premium-card .vid-badge-access {
  z-index: 7 !important;
  border-radius: 999px !important;
  font-size: 0.66rem !important;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

.vid-card.mat-premium-card .vid-progress-bar {
  z-index: 5 !important;
}

.vid-card.mat-premium-card.card-cine .vid-card-cta,
.vid-card.card-cine.mat-premium-card .vid-card-cta {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
}

.vid-card.mat-premium-card.card-cine .vid-card-body,
.vid-card.card-cine.mat-premium-card .vid-card-body {
  padding: 0 !important;
  inset: 0 !important;
}

.vid-card.mat-premium-card.card-cine:has(.vid-card-cta) .vid-card-body {
  padding-bottom: 0 !important;
}

.vid-card.mat-premium-card.card-cine .vid-card-body::before {
  display: none !important;
  content: none !important;
}

/* videolar.php — alt CTA bloğu (card-cine hariç) */
.vid-card.mat-premium-card:not(.card-cine) .vid-card-cta {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 5 !important;
  padding: 0 1.25rem 1.25rem !important;
  background: transparent !important;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--poster-ease), transform 0.4s var(--poster-ease);
  pointer-events: none;
}

.vid-card.mat-premium-card:hover .vid-card-cta,
.vid-card.mat-premium-card:focus-within .vid-card-cta {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.vid-card.mat-premium-card .vid-card-cta a {
  background: var(--poster-brand) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 12px !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  box-shadow: 0 6px 20px rgba(229, 9, 20, 0.35);
}

.vid-card.mat-premium-card .vid-card-cta a.vid-card-cta-detail {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow: none !important;
}

.vid-card.mat-premium-card .vid-card-body {
  padding-bottom: 0.75rem !important;
}

.vid-card.mat-premium-card:has(.vid-card-cta) .vid-card-body {
  padding-bottom: 0.5rem !important;
}

/* Ana sayfa rail */
.home-page .home-content-rail .content-rail__card {
  flex: 0 0 min(76vw, 300px);
  max-width: min(76vw, 300px);
}

/* Misafir atölye — sürekli akan vitrin */
[data-home-block='guest-atelier'] .guest-atelier-flow {
  --ga-flow-gap: 1.25rem;
  --ga-flow-duration: 40s;
  --ga-flow-loop-width: 50%;
  margin-top: 0.25rem;
}

[data-home-block='guest-atelier'] .guest-atelier-flow:hover .guest-atelier-flow__track.is-flowing,
[data-home-block='guest-atelier'] .guest-atelier-flow.is-paused .guest-atelier-flow__track.is-flowing {
  animation-play-state: paused;
}

[data-home-block='guest-atelier'] .guest-atelier-flow__viewport {
  overflow: hidden;
  margin-left: calc(-1 * var(--ga-flow-gap));
  margin-right: calc(-1 * var(--ga-flow-gap));
  padding: 4px var(--ga-flow-gap) 0;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 2.5%,
    #000 97.5%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 2.5%,
    #000 97.5%,
    transparent 100%
  );
}

[data-home-block='guest-atelier'] .guest-atelier-flow__track {
  display: flex;
  align-items: stretch;
  gap: var(--ga-flow-gap);
  width: max-content;
  will-change: transform;
}

[data-home-block='guest-atelier'] .guest-atelier-flow__track.is-flowing {
  animation: guest-atelier-flow-scroll var(--ga-flow-duration, 40s) linear infinite;
}

@keyframes guest-atelier-flow-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(calc(-1 * var(--ga-flow-loop-width, 50%)), 0, 0);
  }
}

[data-home-block='guest-atelier'] .guest-atelier-flow__item {
  flex: 0 0 var(--ga-flow-item-width, min(88vw, 300px));
  max-width: var(--ga-flow-item-width, min(88vw, 300px));
}

[data-home-block='guest-atelier'] .guest-atelier-flow__item .vid-card.card-cine {
  width: 100%;
  height: 100%;
}

[data-home-block='guest-atelier'] .guest-atelier-flow__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 1.25rem 0 0;
  padding: 0;
}

[data-home-block='guest-atelier'] .guest-atelier-flow__dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.2);
  transition: width 0.25s ease, background 0.25s ease;
}

[data-home-block='guest-atelier'] .guest-atelier-flow__dot.is-active {
  width: 22px;
  background: #900216;
}

@media (min-width: 768px) {
  [data-home-block='guest-atelier'] .guest-atelier-flow__viewport {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-home-block='guest-atelier'] .guest-atelier-flow__track.is-flowing {
    animation: none;
  }

  [data-home-block='guest-atelier'] .guest-atelier-flow__viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-mask-image: none;
    mask-image: none;
  }

  [data-home-block='guest-atelier'] .guest-atelier-flow__item {
    scroll-snap-align: start;
  }
}

[data-home-block='guest-atelier'] .vid-lesson-meta {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.38rem;
  pointer-events: none;
}

[data-home-block='guest-atelier'] .vid-lesson-meta__sira {
  min-width: 2.5rem;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #b80a24 0%, #900216 52%, #6d0110 100%);
  border: 1px solid rgba(255, 210, 210, 0.45);
  color: #fff;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  letter-spacing: 0.02em;
  box-shadow:
    0 4px 14px rgba(144, 2, 22, 0.45),
    0 0 0 1px rgba(144, 2, 22, 0.25) inset;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

[data-home-block='guest-atelier'] .vid-lesson-meta__sure {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.28rem 0.68rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(144, 2, 22, 0.94) 0%, rgba(90, 1, 14, 0.96) 100%);
  border: 1px solid rgba(255, 190, 190, 0.38);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow:
    0 4px 12px rgba(144, 2, 22, 0.38),
    0 0 0 1px rgba(0, 0, 0, 0.12) inset;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
}

[data-home-block='guest-atelier'] .vid-lesson-meta__sure i {
  font-size: 0.82rem;
  color: #ffd4d4;
}

@media (hover: none) {
  .poster-card .poster-cta,
  .content-card.event-card .event-card-link,
  .content-card.blog-card .blog-card-link,
  .vid-card.mat-premium-card .vid-card-link,
  .vid-card.mat-premium-card .vid-card-cta {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
  }
}

@media (max-width: 575.98px) {
  .poster-card .poster-title,
  .content-card.event-card .event-card-title,
  .content-card.blog-card .blog-card-title,
  .vid-card.mat-premium-card .vid-card-title {
    font-size: 1.05rem !important;
  }

  .poster-card .poster-content,
  .content-card.event-card .event-card-body,
  .content-card.blog-card .blog-card-body,
  .vid-card.mat-premium-card .vid-card-body {
    padding: 1rem 1.05rem 1.1rem !important;
  }

  .poster-card,
  .content-card.event-card,
  .content-card.blog-card,
  .vid-card.mat-premium-card {
    border-radius: 16px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .poster-card:hover,
  .poster-card:focus-within,
  .content-card.event-card:hover,
  .content-card.blog-card:hover,
  .vid-card.mat-premium-card:hover {
    transform: none !important;
  }

  .poster-card:hover .poster-img,
  .content-card.event-card:hover .event-card-img-wrap img,
  .content-card.blog-card:hover .blog-card-img-wrap img,
  .vid-card.mat-premium-card:hover .vid-card-img img {
    transform: none !important;
  }

  .poster-card:hover .poster-divider,
  .content-card.event-card:hover .event-card-title::after,
  .content-card.blog-card:hover .blog-card-title::after,
  .vid-card.mat-premium-card:hover .vid-card-title::after {
    width: 44px !important;
  }

  .poster-card .poster-cta,
  .content-card.event-card .event-card-link,
  .content-card.blog-card .blog-card-link,
  .vid-card.mat-premium-card .vid-card-link,
  .vid-card.mat-premium-card .vid-card-cta {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ─── Ana sayfa — dark mode metin ve yüzeyler ─── */
[data-theme='dark'] body.home-page .sec-title,
[data-theme='dark'] body.home-page .section-heading__title,
body.home-page[data-bs-theme='dark'] .sec-title,
body.home-page[data-bs-theme='dark'] .section-heading__title,
body.home-page[data-layout-mode='dark'] .sec-title,
body.home-page[data-layout-mode='dark'] .section-heading__title {
  color: var(--text-0, #f8fafc) !important;
}

[data-theme='dark'] body.home-page .sec-subtitle,
[data-theme='dark'] body.home-page .section-heading__subtitle,
body.home-page[data-bs-theme='dark'] .sec-subtitle,
body.home-page[data-bs-theme='dark'] .section-heading__subtitle,
body.home-page[data-layout-mode='dark'] .sec-subtitle,
body.home-page[data-layout-mode='dark'] .section-heading__subtitle {
  color: var(--text-2, #cbd5e1) !important;
}

[data-theme='dark'] body.home-page .feature-card h4,
body.home-page[data-bs-theme='dark'] .feature-card h4,
body.home-page[data-layout-mode='dark'] .feature-card h4,
[data-theme='dark'] body.home-page .quick-card,
body.home-page[data-bs-theme='dark'] .quick-card,
body.home-page[data-layout-mode='dark'] .quick-card,
[data-theme='dark'] body.home-page .quick-card h5,
body.home-page[data-bs-theme='dark'] .quick-card h5,
body.home-page[data-layout-mode='dark'] .quick-card h5,
[data-theme='dark'] body.home-page .mat-hiw-step h3,
body.home-page[data-bs-theme='dark'] .mat-hiw-step h3,
body.home-page[data-layout-mode='dark'] .mat-hiw-step h3 {
  color: var(--text-0, #f8fafc) !important;
}

[data-theme='dark'] body.home-page .feature-card p,
body.home-page[data-bs-theme='dark'] .feature-card p,
body.home-page[data-layout-mode='dark'] .feature-card p,
[data-theme='dark'] body.home-page .quick-card p,
body.home-page[data-bs-theme='dark'] .quick-card p,
body.home-page[data-layout-mode='dark'] .quick-card p,
[data-theme='dark'] body.home-page .mat-hiw-step .mat-hiw-desc,
body.home-page[data-bs-theme='dark'] .mat-hiw-step .mat-hiw-desc,
body.home-page[data-layout-mode='dark'] .mat-hiw-step .mat-hiw-desc {
  color: var(--text-2, #cbd5e1) !important;
}

[data-theme='dark'] body.home-page .quick-access,
body.home-page[data-bs-theme='dark'] .quick-access,
body.home-page[data-layout-mode='dark'] .quick-access,
[data-theme='dark'] body.home-page .mat-how-it-works,
body.home-page[data-bs-theme='dark'] .mat-how-it-works,
body.home-page[data-layout-mode='dark'] .mat-how-it-works,
[data-theme='dark'] body.home-page .progress-section,
body.home-page[data-bs-theme='dark'] .progress-section,
body.home-page[data-layout-mode='dark'] .progress-section {
  background: var(--surface-1, #101824) !important;
}

[data-theme='dark'] body.home-page .mat-hiw-step,
body.home-page[data-bs-theme='dark'] .mat-hiw-step,
body.home-page[data-layout-mode='dark'] .mat-hiw-step,
[data-theme='dark'] body.home-page .quick-card,
body.home-page[data-bs-theme='dark'] .quick-card,
body.home-page[data-layout-mode='dark'] .quick-card,
[data-theme='dark'] body.home-page .filter-pill,
body.home-page[data-bs-theme='dark'] .filter-pill,
body.home-page[data-layout-mode='dark'] .filter-pill {
  background: var(--surface-0, #161f2e) !important;
  border-color: var(--border-color, rgba(255, 255, 255, 0.1)) !important;
}

[data-theme='dark'] body.home-page .mat-membership-section,
body.home-page[data-bs-theme='dark'] .mat-membership-section,
body.home-page[data-layout-mode='dark'] .mat-membership-section {
  background: var(--surface-1, #101824) !important;
}

[data-theme='dark'] body.home-page [data-home-block='member-programs'],
body.home-page[data-bs-theme='dark'] [data-home-block='member-programs'],
body.home-page[data-layout-mode='dark'] [data-home-block='member-programs'] {
  background: var(--surface-1, #101824) !important;
}
