/* ===== Spor Section — mozaik grid (hero 800×500, kare 300×300, yatay kartlar) ===== */
.spor-sect {
  padding: 32px 0;
  background: oklch(98% 0.003 250);
}
.spor-sect-head { margin-bottom: 18px; }
.spor-cat-label { font-size: 20px; }
.spor-cat-label::after { background: oklch(64% 0.16 152); }

.spor-mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  /* 1. satır: hero oranı; 2. satır: eşit yükseklik */
  grid-template-rows: auto 220px;
  grid-template-areas:
    "hero hero hero sq1"
    "sq2   land1 land2 sq3";
  gap: 16px;
  align-items: stretch;
}

.spor-mosaic-card {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 48px;
  height: 100%;
  touch-action: manipulation;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow:
    0 1px 2px rgba(15, 20, 35, 0.04),
    0 8px 22px -16px rgba(15, 20, 35, 0.10);
  transition: transform .18s ease, box-shadow .18s ease;
}
.spor-mosaic-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 2px 4px rgba(15, 20, 35, 0.05),
    0 18px 32px -16px rgba(15, 20, 35, 0.16);
}

/* Üst satır: hero 8:5 yüksekliği belirler; sq1 aynı satırda uzayarak hizalanır */
.spor-mosaic-card--hero {
  height: auto;
  align-self: start;
}
.spor-mosaic-card--hero .spor-mosaic-media {
  aspect-ratio: var(--img-ratio-card);
}
.spor-mosaic-card--sq1 {
  height: 100%;
  min-height: 0;
}

.spor-mosaic-media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: var(--bg-3);
}
.spor-mosaic-card--hero .spor-mosaic-media {
  height: auto;
}
.spor-mosaic-photo {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto !important;
  border-radius: 0;
}
.spor-mosaic-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.spor-mosaic-card:hover .spor-mosaic-photo img { transform: scale(1.04); }

.spor-mosaic-cat {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: oklch(42% 0.14 152);
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1;
}

/* Tüm kartlarda başlık görsel üzerinde — altta beyaz kutu yok */
.spor-mosaic-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 28px 12px 12px;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 12, 22, 0.82) 55%, rgba(8, 12, 22, 0.92) 100%);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.spor-mosaic-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.28;
  letter-spacing: -0.012em;
  color: #fff;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.spor-mosaic-card--hero .spor-mosaic-title {
  font-size: 17px;
  font-weight: 800;
  -webkit-line-clamp: 2;
}
.spor-mosaic-card--hero .spor-mosaic-body {
  padding: 36px 18px 16px;
}
.spor-mosaic-card:hover .spor-mosaic-title { color: #fff; opacity: 0.92; }

.spor-mosaic-spot {
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== Footer (YS style) ===== */
.ys-footer {
  background: oklch(96.5% 0.012 80);
  padding: 0 0 32px;
  margin-top: 56px;
}
.ys-footer-divider {
  display: flex; align-items: center;
  padding: 28px 0 4px;
}
.ys-footer-divider span {
  flex: 1;
  height: 36px;
  background:
    repeating-linear-gradient(135deg,
      transparent 0 6px,
      oklch(86% 0.014 80) 6px 7px);
  opacity: 0.6;
}

.ys-foot-brand { display: flex; justify-content: center; margin: -52px 0 24px; }
.ys-foot-logo {
  background: oklch(96.5% 0.012 80);
  padding: 0 32px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  height: 64px;
}
.ys-foot-logo-img {
  height: 52px;
  width: auto;
  display: block;
}
.ys-foot-logo-sep {
  width: 1px;
  height: 36px;
  background: oklch(82% 0.014 80);
}
.ys-foot-logo-ito {
  height: 56px;
}

.ys-foot-social {
  display: flex; justify-content: center; align-items: center; gap: 12px;
  margin-bottom: 36px;
  color: var(--ink);
}
.ys-foot-soc {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
  transition: opacity .15s;
}
.ys-foot-soc:hover { opacity: 0.65; color: var(--ink); }
.ys-foot-soc-dot { color: oklch(72% 0.014 80); }

.ys-foot-links { display: flex; flex-direction: column; gap: 22px; margin-bottom: 32px; }
.ys-foot-columns {
  display: grid;
  grid-template-columns: repeat(var(--foot-cols, 4), minmax(0, 1fr));
  gap: 20px 36px;
  margin-bottom: 32px;
  align-items: start;
}
.ys-foot-col-title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 10px;
}
.ys-foot-col-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ys-foot-col-link {
  display: block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -0.012em;
  padding: 2px 0;
  transition: color .15s;
}
.ys-foot-col-link:hover { color: var(--accent); }
.ys-foot-links-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px 20px;
  align-items: center;
  position: relative;
}
.ys-foot-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  min-width: 48px;
  padding: 8px 4px;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 16px;
  color: var(--ink);
  letter-spacing: -0.018em;
  transition: color .15s;
  touch-action: manipulation;
}
.ys-foot-link:hover { color: var(--accent); }
.ys-foot-expand {
  position: absolute;
  right: -36px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px;
  background: oklch(91% 0.014 80);
  border: 0;
  border-radius: 50%;
  color: var(--ink-2);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}

.ys-foot-brands {
  display: flex; justify-content: center; align-items: center;
  gap: 24px;
  padding: 18px 24px;
  margin: 0 -8px 32px;
  background:
    repeating-linear-gradient(135deg,
      transparent 0 6px,
      oklch(91% 0.014 80) 6px 7px);
  border-radius: 4px;
  flex-wrap: wrap;
}
.ys-foot-brand-chip {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.018em;
  color: var(--ink);
  background: oklch(96.5% 0.012 80);
  padding: 6px 14px;
  border-radius: 4px;
  transition: color .15s, background .15s;
}
.ys-foot-brand-chip:hover { color: var(--accent); background: #fff; }

.ys-foot-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  padding-bottom: 24px;
  margin-bottom: 16px;
  border-bottom: 1px solid oklch(88% 0.014 80);
}
.ys-foot-meta-l { max-width: 720px; }
.ys-foot-meta-nav {
  display: flex; gap: 12px; align-items: center;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--ink);
}
.ys-foot-meta-nav a:hover { color: var(--accent); }
.ys-foot-meta-nav span { color: oklch(72% 0.014 80); }
.ys-foot-legal-h {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.ys-foot-legal p {
  font-size: 11.5px;
  line-height: 1.6;
  color: oklch(45% 0.014 80);
  margin: 0;
  max-width: 580px;
}

.ys-foot-apps { display: flex; flex-direction: column; gap: 10px; }
.ys-app {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff;
  border: 1px solid oklch(86% 0.014 80);
  border-radius: 8px;
  padding: 12px 18px 12px 14px;
  min-height: 48px;
  min-width: 220px;
  touch-action: manipulation;
  color: var(--ink);
  transition: background .15s, border-color .15s;
}
.ys-app:hover { border-color: var(--ink); color: var(--ink); }
.ys-app-sm { font-size: 11px; color: var(--ink-2); font-weight: 500; }
.ys-app-lg { font-size: 13px; font-weight: 800; color: var(--ink); letter-spacing: -0.012em; }

.ys-foot-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
  margin-bottom: 22px;
}
.ys-foot-contact-item { display: inline-flex; align-items: center; gap: 8px; }
.ys-foot-contact-item svg { color: var(--ink-2); flex-shrink: 0; }

.ys-foot-faq {
  background: oklch(94% 0.014 80);
  border-radius: 6px;
  margin-bottom: 20px;
}
.ys-foot-faq summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px;
  font-size: 13.5px;
  color: var(--ink-2);
  cursor: pointer;
  font-weight: 500;
}
.ys-foot-faq summary::-webkit-details-marker { display: none; }
.ys-foot-faq[open] summary svg { transform: rotate(180deg); }
.ys-foot-faq summary svg { transition: transform .2s; flex-shrink: 0; }
.ys-foot-faq-body {
  padding: 0 18px 16px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-2);
}

.ys-foot-bottom {
  text-align: center;
  font-size: 12px;
  color: var(--ink-2);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

/* Hide legacy footer */
.site-footer { display: none; }

/* Responsive */
@media (max-width: 1100px) {
  .ys-foot-columns { grid-template-columns: repeat(min(var(--foot-cols, 4), 3), minmax(0, 1fr)); gap: 24px 28px; }
  .ys-foot-links-row { grid-template-columns: repeat(3, 1fr); }
  .ys-foot-meta { grid-template-columns: 1fr; }
  .ys-foot-apps { flex-direction: row; flex-wrap: wrap; }
  .ys-foot-expand { display: none; }
}
@media (max-width: 720px) {
  .ys-foot-columns { grid-template-columns: repeat(min(var(--foot-cols, 4), 2), minmax(0, 1fr)); gap: 20px; }
  .ys-foot-links-row { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .spor-card { padding: 18px; }
  .spor-title { font-size: 20px; }
  .ys-foot-brands { gap: 12px; padding: 14px; }
  .ys-foot-brand-chip { font-size: 12px; padding: 4px 10px; }
}
