/* Base styles */
.page-news {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main */
  background-color: #B71C1C; /* Background */
}

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

.page-news__section-title {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #FFF5E1; /* Text Main */
}

.page-news__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button */
  color: #7A0E0E; /* Deep Red for contrast on gold button */
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-news__btn-primary:hover {
  background: linear-gradient(180deg, #FFE89C 0%, #F0C810 100%);
  transform: translateY(-2px);
}

.page-news__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: transparent;
  color: #FFD86A; /* Gold */
  border: 2px solid #FFD86A; /* Gold */
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.page-news__btn-secondary:hover {
  background: rgba(255, 216, 106, 0.1);
  transform: translateY(-2px);
}

/* Hero Section */
.page-news__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background-color: #7A0E0E; /* Deep Red */
  color: #FFF5E1;
  text-align: center;
}

.page-news__hero-section .page-news__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-news__hero-content {
  flex: 1;
  max-width: 800px;
}

.page-news__main-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFD86A; /* Gold */
}

.page-news__hero-description {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF5E1;
}

.page-news__hero-image-wrapper {
  width: 100%;
  max-width: 800px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-news__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Latest Articles Section */
.page-news__latest-articles {
  padding: 60px 0;
  background-color: #B71C1C; /* Background */
  color: #FFF5E1;
}

.page-news__latest-articles .page-news__section-title {
  color: #FFD86A; /* Gold */
}

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

.page-news__article-card {
  display: flex;
  flex-direction: column;
  background-color: #D32F2F; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  color: #FFF5E1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-news__article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-news__article-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-news__article-title {
  font-size: 22px;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 10px;
  color: #FFD86A; /* Gold */
}

.page-news__article-excerpt {
  font-size: 16px;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-news__article-date {
  font-size: 14px;
  color: rgba(255, 245, 225, 0.7);
  margin-bottom: 15px;
}

.page-news__read-more-btn {
  display: inline-block;
  align-self: flex-start;
  color: #FFD86A; /* Gold */
  font-weight: bold;
  text-decoration: none;
  border-bottom: 2px solid #FFD86A;
  padding-bottom: 3px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-news__read-more-btn:hover {
  color: #FFE89C;
  border-color: #FFE89C;
}

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

/* FAQ Section */
.page-news__faq-section {
  padding: 60px 0;
  background-color: #7A0E0E; /* Deep Red */
  color: #FFF5E1;
}

.page-news__faq-section .page-news__section-title {
  color: #FFD86A; /* Gold */
}

details.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #F2B544; /* Border */
  overflow: hidden;
  background: #D32F2F; /* Card BG */
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

details.page-news__faq-item summary.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFD86A; /* Gold */
}

details.page-news__faq-item summary.page-news__faq-question::-webkit-details-marker {
  display: none;
}

details.page-news__faq-item summary.page-news__faq-question:hover {
  background: rgba(255, 216, 106, 0.1);
}

.page-news__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.5;
  text-align: left;
}

.page-news__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F4D34D; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-news__faq-item .page-news__faq-answer {
  padding: 0 20px 20px;
  background: rgba(211, 47, 47, 0.8); /* Slightly lighter Card BG */
  border-radius: 0 0 10px 10px;
  color: #FFF5E1;
}

.page-news__faq-answer p {
  margin-top: 0;
  font-size: 16px;
}

/* CTA Bottom Section */
.page-news__cta-bottom {
  padding: 60px 0;
  background-color: #B71C1C; /* Background */
  color: #FFF5E1;
  text-align: center;
}

.page-news__cta-bottom .page-news__section-title {
  color: #FFD86A; /* Gold */
}

.page-news__cta-description {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Responsive Styles */
@media (max-width: 1023px) {
  .page-news__hero-section .page-news__container {
    flex-direction: column;
  }
  .page-news__main-title {
    font-size: 42px;
  }
  .page-news__hero-description {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-news__main-title {
    font-size: 32px;
  }
  .page-news__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-news__hero-description,
  .page-news__cta-description {
    font-size: 16px;
  }
  .page-news__articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-news__article-title {
    font-size: 18px;
  }
  .page-news__article-excerpt {
    font-size: 15px;
  }
  .page-news__cta-button,
  .page-news__btn-primary,
  .page-news__btn-secondary,
  .page-news a[class*="button"],
  .page-news a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-news__cta-buttons-wrapper {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-news__container {
    padding: 0 15px;
  }
  /* Mobile image responsiveness */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-news__hero-image-wrapper,
  .page-news__article-card,
  .page-news__article-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  details.page-news__faq-item summary.page-news__faq-question {
    padding: 15px;
  }
  .page-news__faq-qtext {
    font-size: 16px;
  }
  .page-news__faq-toggle {
    font-size: 24px;
    width: 24px;
  }
  details.page-news__faq-item .page-news__faq-answer {
    padding: 0 15px 15px;
  }
}

/* Ensure body padding-top for fixed header is handled by shared.css */
/* If shared.css does NOT provide body { padding-top: var(--header-offset); }, uncomment below: */
/* .page-news { padding-top: var(--header-offset, 122px); } */

/* General image and container overflow prevention */
.page-news img {
  max-width: 100%;
  height: auto;
  display: block;
}
.page-news__section,
.page-news__card,
.page-news__container,
.page-news__hero-image-wrapper,
.page-news__articles-grid,
.page-news__faq-list {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}