.news-wrapper{
    margin: 80px 200px;
    text-align: center;
}
.news-header h1{
    font-size: 80px;
    margin-bottom: 15px;
    letter-spacing: -2px;
}

.news-header p{
    font-size: 20px;
    margin-bottom:30px;
    line-height: 30px;
    letter-spacing: 1px;
}


.swiper-wrapper{
  height: 500px;
}

/* News/Updates carousel */
.updates-swiper {
    margin: 0 auto;
}

.updates-swiper .swiper-slide {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    transition: transform 0.3s ease;
}

.updates-swiper .swiper-slide:hover {
    transform: translateY(-6px);
}

/* Navigation buttons specific to news */
.updates-swiper .updates-prev,
.updates-swiper .updates-next {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #D36C2F;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}


.card {
  border-radius: 16px;
  overflow: hidden;
  max-width: 356px;
}

.card img {
  max-width: 350px;
  height: 250px;
  display: block;
  object-fit: cover;
  object-position: center;
  background-color: #D36C2F;
  border-radius: 20px;
}

.card-content {
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
}

.card-content .date {
  font-size: 20px;
  color: #e36c3d;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.card-content h3 {
  font-size: 23px;
  font-weight: bold;
  letter-spacing: 0.5px;
  margin: 8px 0;
  color: #354637;
  margin-top: 16px;
}

.card-content a {
  color: #949494;
  text-decoration: none;
  font-size: 20px;
}

.card-content p{
  font-size: 20px;
  color: #354637;
  letter-spacing: 1px;
  line-height: 30px;
}


/* Footer wrapper */
.swiper-footer-news {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding: 10px 20xp;
}

/* View all link */
.swiper-footer-news .view-all {
    font-size: 20px;
    font-weight: bold;
    color: #D36C2F; /* orange-ish */
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: "HenrySans", sans-serif;
}

/* Navigation buttons */
/* Prevent Swiper from absolutely centering arrows */
.swiper-button-next,
.swiper-button-prev {
    position: static !important;
    margin: 0 !important;
}

.swiper-nav-news {
    display: flex;
    gap: 12px;
}

/* Circle buttons */
.swiper-footer-news .swiper-button-prev,
.swiper-footer-news .swiper-button-next {
    width: 40px;
    height: 40px;
    background: #D36C2F;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    cursor: pointer;
    padding: 8px;
    transition: background 0.3s ease;
}

.swiper-footer-news .swiper-button-prev:hover,
.swiper-footer-news .swiper-button-next:hover {
    background: #DE9A5E;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    content: none !important; /* removes the built-in arrow */
}

.swiper-button-next svg,
.swiper-button-prev svg {
    fill: #fff;
}

.article{
  max-width: 480px;
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .news-wrapper {
    margin: 0 60px;
  }

  .news-header h1 {
    font-size: 50px;
    margin-bottom: 12px;
    letter-spacing: -1px;
  }

  .news-header p {
    font-size: 18px;
    line-height: 26px;
    margin-bottom: 24px;
  }

  .swiper-wrapper {
    height: 380px;
  }

  .card {
    max-width: 300px;
  }

  .card img {
    max-width: 100%;
    height: 200px;
  }

  .card-content .date {
    font-size: 16px;
  }

  .card-content h3 {
    font-size: 20px;
  }

  .card-content p,
  .card-content a {
    font-size: 16px;
    line-height: 24px;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  .news-wrapper {
    margin: 0 20px;
    text-align: center;
  }

  .news-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
  }

  .news-header p {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 16px;
  }

  .swiper-wrapper {
    height: auto; /* let cards define height */
  }

  .card {
    max-width: 100%;
  }

  .card img {
    width: 100%;
    height: 180px;
  }

  .card-content {
    padding: 12px 0;
  }

  .card-content .date {
    font-size: 14px;
  }

  .card-content h3 {
    font-size: 18px;
    margin-top: 8px;
  }

  .card-content p,
  .card-content a {
    font-size: 14px;
    line-height: 20px;
  }

  .swiper-footer-news .view-all {
    font-size: 16px;
  }

  .swiper-footer-news .swiper-button-prev,
  .swiper-footer-news .swiper-button-next {
    width: 32px;
    height: 32px;
    padding: 6px;
  }
}