/* /etkinlikler/ — etkinlik kataloğu (site tasarım dili).
   Renkler site.css :root değişkenlerinden gelir; üst bar/alt bilgi build tarafından eklenir. */

.catalog { padding-block: 1.5rem 4.5rem; }

.ad-panel {
  display: grid;
  gap: .35rem;
  margin-bottom: 2.5rem;
  padding: 1rem 1.1rem;
  border: 1px dashed rgba(18, 52, 59, .2);
  border-radius: 18px;
  background: rgba(255, 255, 255, .55);
}

.ad-label {
  color: var(--muted);
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.grade-block + .grade-block { margin-top: 3.25rem; }

.grade-head { margin-bottom: 1.4rem; }

.grade-head h2 {
  margin: 0 0 .4rem;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.15;
}

.grade-head p {
  max-width: 72ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.games-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1.15rem;
  align-items: stretch;
}

.game-row {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  min-height: 100%;
  padding: 1.35rem 1.3rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(18, 52, 59, .05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.game-row:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 111, 120, .4);
  box-shadow: 0 14px 32px rgba(18, 52, 59, .13);
}

.game-row:focus-visible {
  outline: 3px solid rgba(31, 111, 120, .45);
  outline-offset: 3px;
}

.game-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .85rem;
  min-width: 0;
}

.game-mark {
  display: grid;
  place-items: center;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--mint);
  font-size: 1.45rem;
}

.game-title strong { display: block; font-size: 1.08rem; line-height: 1.3; }

.game-title span {
  display: block;
  margin-top: .3rem;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.55;
}

.game-type {
  align-self: flex-start;
  padding: .35rem .8rem;
  border: 1px solid rgba(31, 111, 120, .22);
  border-radius: 999px;
  background: rgba(223, 244, 234, .65);
  color: var(--ocean);
  font-size: .72rem;
  font-weight: 850;
  line-height: 1.35;
  white-space: normal;
}

.game-cta {
  margin-top: auto;
  font-weight: 850;
  white-space: nowrap;
}

.game-row:hover .game-cta { color: var(--ocean); }

@media (max-width: 1024px) {
  .games-list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
}

@media (max-width: 520px) {
  .game-row { padding: 1.1rem 1.05rem; }
  .game-mark { width: 46px; height: 46px; flex-basis: 46px; }
}
