/* ── Aktualności (news) — index + show ────────────────────────────── */

.news-page,
.news-show {
  background: var(--color-court-deep-dark);
  color: var(--color-cream);
  padding-top: calc(var(--nav-height) + var(--space-12));
  padding-bottom: var(--space-20);
  min-height: 100vh;
}

.news-page__inner,
.news-show__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.news-show__inner {
  max-width: 44rem;
}

/* Header (index) */
.news-page__header {
  margin-bottom: var(--space-12);
}

.news-page__eyebrow {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-ball-yellow);
  margin: 0 0 var(--space-3);
}

.news-page__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: var(--leading-tight);
  text-transform: uppercase;
  color: var(--color-cream);
  margin: 0 0 var(--space-3);
}

.news-page__subtitle {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 36rem;
  margin: 0;
}

.news-page__empty {
  font-family: var(--font-body);
  color: var(--color-text-muted);
  font-size: var(--text-lg);
  text-align: center;
  padding: var(--space-20) 0;
}

/* Grid */
.news-page__grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .news-page__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .news-page__grid { grid-template-columns: repeat(3, 1fr); }
}

/* Card */
.news-card {
  display: flex;
  flex-direction: column;
  background: rgba(241, 236, 219, 0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

.news-card:hover {
  border-color: var(--color-ball-yellow);
  transform: translateY(-2px);
  box-shadow: 0 24px 48px -24px rgba(216, 242, 107, 0.30);
}

.news-card__image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(241, 236, 219, 0.06);
}

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.news-card:hover .news-card__image img {
  transform: scale(1.05);
}

.news-card__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--text-xl);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(241, 236, 219, 0.30);
  background: linear-gradient(135deg, rgba(26, 42, 107, 0.6), rgba(15, 26, 74, 0.9));
}

.news-card__placeholder-dot { color: var(--color-ball-yellow); }

.news-card__body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card__date {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.news-card__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--text-xl);
  line-height: var(--leading-snug);
  color: var(--color-cream);
  margin: 0 0 var(--space-3);
  transition: color var(--transition-base);
}

.news-card:hover .news-card__title { color: var(--color-ball-yellow); }

.news-card__excerpt {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-4);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__cta {
  margin-top: auto;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--text-sm);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-ball-yellow);
}

/* ── Show ─────────────────────────────────────────────────────────── */

.news-show__back {
  display: inline-flex;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-decoration: none;
  margin-bottom: var(--space-8);
  transition: color var(--transition-base);
}

.news-show__back:hover { color: var(--color-cream); }

.news-show__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background: rgba(241, 236, 219, 0.06);
  margin-bottom: var(--space-8);
}

.news-show__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-show__date {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.news-show__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2rem, 4.8vw, 3rem);
  line-height: var(--leading-tight);
  text-transform: uppercase;
  color: var(--color-cream);
  margin: 0 0 var(--space-6);
}

.news-show__lead {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-8);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-border);
}

.news-show__content {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--color-cream);
}

.news-show__content p { margin: 0 0 var(--space-4); }

.news-show__footer {
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
}

.news-show__back-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border: 1px solid var(--color-border-strong);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--text-sm);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-cream);
  text-decoration: none;
  transition: background var(--transition-base), border-color var(--transition-base), color var(--transition-base);
}

.news-show__back-btn:hover {
  background: var(--color-ball-yellow);
  border-color: var(--color-ball-yellow);
  color: var(--color-ink);
}
