/* Hero slider */
.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: var(--color-black);
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease;
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
}

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

.hero__caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}

.hero__title {
  font-family: var(--font-heading);
  color: var(--color-white);
  font-size: 44px;
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  margin: 0;
  max-width: 900px;
}

.hero__dots {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 0;
  padding: 0;
  cursor: pointer;
}

.hero__dot.is-active {
  background: var(--color-white);
}

/* Intro */
.intro {
  padding: 40px 0 46px;
  text-align: center;
}

.intro p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

/* News */
.news {
  padding: 60px 0;
}

.news__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 32px;
}

.news__card {
  display: flex;
  gap: 20px;
}

.news__card img {
  width: 219px;
  height: 219px;
  object-fit: cover;
  flex-shrink: 0;
}

.news__card h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.news__card h3 a {
  color: var(--color-heading);
  text-decoration: none;
}

.news__date {
  display: inline-block;
  background: #eeeeee;
  color: #333;
  font-size: 12px;
  padding: 4px 8px;
  float: right;
  text-align: center;
  line-height: 1.2;
}

.news__card p {
  font-size: 14px;
  margin: 0;
}

@media (max-width: 768px) {
  .hero {
    height: 480px;
  }

  .hero__title {
    font-size: 28px;
  }

  .news__card {
    flex-direction: column;
  }

  .news__card img {
    width: 100%;
    max-width: 270px;
    height: auto;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .news__grid {
    grid-template-columns: 1fr;
  }
}
