.page-news {
  background-color: #0D0E12;
  color: #FFF3E6;
  font-family: sans-serif;
  line-height: 1.6;
  padding-bottom: 40px; /* Ensure space above footer */
}

.page-news__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-news__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  text-align: center;
}

.page-news__main-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFF3E6; /* Main text color */
  /* text-shadow: 0 0 10px rgba(255, 176, 77, 0.5); */ /* Optional glow effect */
}

.page-news__intro-text {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
  color: #FFF3E6;
}

.page-news__articles-section {
  padding: 40px 0;
}

.page-news__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  background: linear-gradient(to right, #FFB04D, #FF8C1A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.page-news__articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-news__article-card {
  background-color: #17191F;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #A84F0C;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news__article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 15px #FFB04D;
}

.page-news__article-image-wrapper {
  height: 220px;
  overflow: hidden;
}

.page-news__article-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; /* Ensure no extra space below image */
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-news__article-content {
  padding: 25px;
}

.page-news__article-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-news__article-title a {
  color: #FFF3E6;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__article-title a:hover {
  color: #FFA53A;
}

.page-news__article-date {
  font-size: 0.9rem;
  color: #FFA53A;
  margin-bottom: 15px;
  display: block;
}

.page-news__article-excerpt {
  font-size: 1rem;
  color: #FFF3E6;
  margin-bottom: 20px;
}

.page-news__read-more-btn {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: opacity 0.3s ease;
  min-height: 44px; /* Touch target size */
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-news__read-more-btn:hover {
  opacity: 0.9;
}

.page-news__view-all-wrapper {
  text-align: center;
  margin-top: 50px;
}

.page-news__view-all-btn {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  text-decoration: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 44px; /* Touch target size */
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 300px;
  margin: 0 auto;
}

.page-news__view-all-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 176, 77, 0.4);
}

.page-news__cta-section {
  background-color: #17191F;
  padding: 60px 0;
  text-align: center;
  border-top: 1px solid #A84F0C;
  border-bottom: 1px solid #A84F0C;
  margin-top: 40px;
}

.page-news__cta-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(to right, #FFB04D, #FF8C1A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.page-news__cta-description {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 30px;
  color: #FFF3E6;
}

.page-news__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-news__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 150px;
  min-height: 44px; /* Touch target size */
}

.page-news__btn--primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
}

.page-news__btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 176, 77, 0.4);
}

.page-news__btn--secondary {
  background-color: #A84F0C; /* Border color as secondary background */
  color: #FFF3E6;
  border: 1px solid #FF8C1A;
}

.page-news__btn--secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(168, 79, 12, 0.4);
}

.page-news__faq-section {
  padding: 60px 0;
}

.page-news__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-news__faq-item {
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-news__faq-question {
  font-size: 1.2rem;
  font-weight: 600;
  color: #FFA53A;
  margin-bottom: 15px;
}

.page-news__faq-answer {
  font-size: 1rem;
  color: #FFF3E6;
}

.page-news__faq-answer a {
  color: #FFA53A;
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 849px) {
  .page-news__articles-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-news__cta-buttons {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  .page-news__btn {
    width: 100%;
    max-width: 280px;
  }
  .page-news__article-image {
    max-width: 100%;
    height: auto; /* Ensure image scales down */
  }
  .page-news__article-image-wrapper {
    height: auto;
  }
}

@media (max-width: 768px) {
  .page-news__article-image {
    max-width: 100%;
    height: auto; /* Required for mobile content images */
  }
  .page-news__articles-grid {
    grid-template-columns: 1fr; /* Single column on smaller mobiles */
  }
  .page-news__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem); /* Adjust clamp for smaller screens */
  }
  .page-news__section-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }
  .page-news__cta-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
  .page-news__article-image {
    min-width: 200px; /* Ensure images are not smaller than 200px */
    min-height: 200px;
  }
}

@media (max-width: 549px) {
  .page-news__container {
    padding: 0 15px;
  }
  .page-news__hero-section,
  .page-news__articles-section,
  .page-news__cta-section,
  .page-news__faq-section {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-news__article-content {
    padding: 20px;
  }
  .page-news__article-title {
    font-size: 1.2rem;
  }
  .page-news__intro-text,
  .page-news__cta-description,
  .page-news__faq-answer {
    font-size: 0.95rem;
  }
  .page-news__read-more-btn,
  .page-news__view-all-btn {
    font-size: 1rem;
    padding: 12px 25px;
  }
  .page-news__faq-question {
    font-size: 1.1rem;
  }
}