/* ===== Gündem — spotlight + sağ rail + alt sıra (16:9 standart kırpım) ===== */
.gundem-sect {
  padding: 32px 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.gundem-sect-head { margin-bottom: 18px; }
.gundem-cat-label { font-size: 20px; text-decoration: none; color: inherit; }
.gundem-cat-label:hover { color: var(--accent-ink); }
.gundem-cat-label::after { background: var(--accent); }

.gundem-mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: minmax(0, auto) 200px;
  grid-template-areas:
    "hero hero rail1"
    "hero hero rail2"
    "b1   b2   b3";
  gap: 14px;
  align-items: stretch;
}

.gundem-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;
}
.gundem-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);
}

.gundem-card--hero {
  height: auto;
  align-self: start;
}
.gundem-card--hero .gundem-card-media {
  aspect-ratio: var(--img-ratio-card);
}
.gundem-card--rail,
.gundem-card--bottom {
  height: 100%;
  min-height: 0;
}

.gundem-card-media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: var(--bg-3);
}
.gundem-card--hero .gundem-card-media {
  height: auto;
}

.gundem-card-photo {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto !important;
  border-radius: 0;
}
.gundem-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .4s ease;
}
.gundem-card:hover .gundem-card-photo img { transform: scale(1.04); }

.gundem-card-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: var(--accent-ink);
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1;
}

.gundem-card-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;
}
.gundem-card--hero .gundem-card-body {
  padding: 36px 18px 16px;
}
.gundem-card--rail .gundem-card-body {
  padding: 22px 10px 10px;
}

.gundem-card-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;
}
.gundem-card--hero .gundem-card-title {
  font-size: 17px;
  font-weight: 800;
  -webkit-line-clamp: 2;
}
.gundem-card--rail .gundem-card-title {
  font-size: 12px;
  -webkit-line-clamp: 2;
}
.gundem-card:hover .gundem-card-title { opacity: 0.92; }

.gundem-card-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;
}

@media (max-width: 1100px) {
  .gundem-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: minmax(0, auto) repeat(2, 176px) 200px;
    grid-template-areas:
      "hero  hero"
      "rail1 rail2"
      "b1    b2"
      "b3    b3";
  }
}

@media (max-width: 720px) {
  .gundem-sect { padding: 22px 0; }
  .gundem-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, auto) repeat(5, 200px);
    grid-template-areas:
      "hero"
      "rail1"
      "rail2"
      "b1"
      "b2"
      "b3";
    gap: 12px;
  }
  .gundem-card--hero .gundem-card-title { font-size: 16px; }
}
