/* Aktualności page styles */

.news-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('/assets/images/casino-hero-news.webp');
  background-size: cover;
  background-position: center;
  color: var(--color-warm-ivory);
  padding-block: var(--space-8);
}

.news-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.65) 0%, rgba(26, 26, 26, 0.45) 100%);
}

.news-hero__content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
  padding-inline: var(--space-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.news-hero__eyebrow {
  font-size: var(--text-caption-size);
  line-height: var(--text-caption-line-height);
  letter-spacing: var(--text-caption-letter-spacing);
  color: var(--color-brushed-champagne);
  text-transform: uppercase;
  margin: 0;
}

.news-hero__title {
  font-size: var(--text-display-size);
  line-height: var(--text-display-line-height);
  letter-spacing: var(--text-display-letter-spacing);
  color: var(--color-warm-ivory);
  margin: 0;
}

.news-hero__lead {
  font-size: var(--text-body-large-size);
  line-height: var(--text-body-large-line-height);
  letter-spacing: var(--text-body-large-letter-spacing);
  color: var(--color-warm-ivory);
  margin: 0;
  max-width: 560px;
}

.news-hero__cta {
  margin-top: var(--space-2);
}

.news-intro__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-6);
  align-items: center;
}

.news-intro__text {
  min-width: 0;
}

.news-intro__text h2 {
  color: var(--color-graphite-black);
}

.news-intro__text p {
  color: var(--color-graphite-black);
  max-width: 500px;
}

.news-intro__lead {
  font-size: var(--text-body-large-size);
  line-height: var(--text-body-large-line-height);
  letter-spacing: var(--text-body-large-letter-spacing);
}

.news-intro__figure {
  margin: 0;
  min-width: 0;
}

.news-intro__figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-none);
}

.news-intro__figure figcaption {
  color: var(--color-graphite-black);
  opacity: 0.8;
}

.news-list__heading {
  margin-bottom: var(--space-6);
}

.news-list__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.news-card {
  background-color: var(--color-dark-walnut);
  border: var(--border-thin) solid var(--color-brushed-champagne);
  border-radius: var(--radius-none);
  padding: var(--space-5);
  color: var(--color-warm-ivory);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: border-color var(--transition-duration) var(--transition-timing);
}

.news-card:hover {
  border-color: var(--color-brushed-champagne);
}

.news-card__date {
  font-size: var(--text-caption-size);
  line-height: var(--text-caption-line-height);
  letter-spacing: var(--text-caption-letter-spacing);
  color: var(--color-brushed-champagne);
  margin: 0;
}

.news-card__title {
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line-height);
  letter-spacing: var(--text-h3-letter-spacing);
  color: var(--color-warm-ivory);
  margin: 0;
}

.news-card__text {
  max-width: 300px;
  margin: 0;
}

.news-featured__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
}

.news-featured__figure {
  margin: 0;
  min-width: 0;
}

.news-featured__figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-none);
}

.news-featured__figure figcaption {
  color: var(--color-graphite-black);
  opacity: 0.8;
}

.news-featured__text {
  min-width: 0;
}

.news-featured__eyebrow {
  font-size: var(--text-caption-size);
  line-height: var(--text-caption-line-height);
  letter-spacing: var(--text-caption-letter-spacing);
  color: var(--color-deep-cobalt);
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.news-featured__text h2 {
  color: var(--color-graphite-black);
}

.news-featured__text p {
  color: var(--color-graphite-black);
  max-width: 600px;
}

.news-featured__lead {
  font-size: var(--text-body-large-size);
  line-height: var(--text-body-large-line-height);
  letter-spacing: var(--text-body-large-letter-spacing);
}

.news-events__heading {
  margin-bottom: var(--space-6);
}

.news-events__timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  position: relative;
  padding-left: var(--space-6);
}

.news-events__timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--color-brushed-champagne);
}

.news-event {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.news-event__date {
  font-size: var(--text-caption-size);
  line-height: var(--text-caption-line-height);
  letter-spacing: var(--text-caption-letter-spacing);
  color: var(--color-brushed-champagne);
  margin: 0;
}

.news-event__title {
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line-height);
  letter-spacing: var(--text-h3-letter-spacing);
  color: var(--color-warm-ivory);
  margin: 0;
}

.news-event__text {
  max-width: 500px;
  margin: 0;
}

.news-quote__container {
  display: flex;
  justify-content: center;
}

.news-quote__block {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  border-inline-start: none;
  padding-inline-start: 0;
  font-style: normal;
}

.news-quote__block p {
  font-family: var(--font-heading);
  font-size: var(--text-h2-size);
  line-height: var(--text-h2-line-height);
  letter-spacing: var(--text-h2-letter-spacing);
  color: var(--color-graphite-black);
  margin-bottom: var(--space-3);
}

.news-quote__footer {
  font-size: var(--text-caption-size);
  line-height: var(--text-caption-line-height);
  letter-spacing: var(--text-caption-letter-spacing);
  color: var(--color-graphite-black);
  opacity: 0.75;
}

.news-gallery__heading {
  margin-bottom: var(--space-3);
}

.news-gallery__intro {
  max-width: 500px;
  margin-bottom: var(--space-6);
}

.news-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.news-gallery__item {
  display: block;
  min-width: 0;
  border-radius: var(--radius-none);
  overflow: hidden;
  line-height: 0;
}

.news-gallery__item img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-none);
  transition: opacity var(--transition-duration) var(--transition-timing);
}

.news-gallery__item:hover img {
  opacity: 0.85;
}

.news-cta__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
}

.news-cta__container h2 {
  color: var(--color-graphite-black);
  margin: 0;
}

.news-cta__text {
  max-width: 500px;
  color: var(--color-graphite-black);
  margin: 0;
}

.news-cta__text a {
  color: var(--color-deep-cobalt);
}

.news-cta__text a:hover {
  color: var(--color-graphite-black);
  text-decoration-color: var(--color-deep-cobalt);
}

.news-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}

.news-cta__btn {
  min-width: 160px;
}

.news-legal__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
}

.news-legal__container h2 {
  margin: 0;
}

.news-legal__text {
  max-width: 600px;
  margin: 0;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
  .news-intro__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
  }

  .news-featured__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
  }

  .news-list__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 767px) {
  .news-hero {
    min-height: 60vh;
    padding-block: var(--space-6);
  }

  .news-hero__content {
    max-width: 90%;
  }

  .news-hero__title {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .news-hero__lead {
    font-size: var(--text-body-size);
  }

  .news-intro__grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .news-intro__text p {
    max-width: 100%;
  }

  .news-featured__grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .news-featured__text p {
    max-width: 100%;
  }

  .news-list__grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .news-card__text {
    max-width: 100%;
  }

  .news-events__timeline {
    padding-left: 0;
    gap: var(--space-5);
  }

  .news-events__timeline::before {
    display: none;
  }

  .news-event__text {
    max-width: 100%;
  }

  .news-quote__block p {
    font-size: var(--text-h3-size);
    line-height: var(--text-h3-line-height);
    letter-spacing: var(--text-h3-letter-spacing);
  }

  .news-gallery__grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .news-cta__actions {
    flex-direction: column;
    width: 100%;
  }

  .news-cta__btn {
    width: 100%;
    min-width: 0;
  }
}
