.page-news {
  color: var(--text-main); /* #F3F8FF */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: var(--color-deep-navy); /* #08162B */
}

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

.page-news__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-main); /* Default for dark background sections */
}

.page-news__section-title--white {
  color: #ffffff;
}

.page-news__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-secondary); /* Default for dark background sections */
}

.page-news__section-description--white {
  color: #AFC4E8;
}

/* Hero Section */
.page-news__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: var(--color-deep-navy);
}

.page-news__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-news__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-news__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 10px;
}

.page-news__hero-content h1 {
  font-size: 48px;
  color: var(--text-main); /* #F3F8FF */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-news__hero-content p {
  font-size: 20px;
  color: var(--text-secondary); /* #AFC4E8 */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Call to Action Button */
.page-news__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-news__cta-button:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-news__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
}

.page-news__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
}

.page-news__btn-secondary {
  background: var(--primary-color); /* #113B7A */
  color: #ffffff;
}

.page-news__btn-secondary:hover {
  background: var(--secondary-color); /* #1D5FD1 */
}

/* Latest Articles Section */
.page-news__latest-articles {
  padding: 80px 0;
  background-color: #f8f9fa; /* Light background for article cards */
}

.page-news__latest-articles .page-news__section-title,
.page-news__latest-articles .page-news__section-description {
  color: #333333; /* Dark text for light background */
}

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

.page-news__article-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  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.15);
}

.page-news__article-link {
  text-decoration: none;
  display: block;
  color: inherit;
}

.page-news__article-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistent card appearance */
  object-fit: cover;
  display: block;
}

.page-news__card-content {
  padding: 20px;
}

.page-news__article-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333333;
}

.page-news__article-summary {
  font-size: 16px;
  color: #555555;
  margin-bottom: 15px;
  line-height: 1.5;
}

.page-news__article-date {
  font-size: 14px;
  color: #888888;
}

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

/* Featured News Section */
.page-news__featured-news {
  padding: 80px 0;
  background-color: var(--card-bg); /* #10233F */
  color: var(--text-main);
}

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

.page-news__featured-card {
  background-color: var(--primary-color); /* #113B7A */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-news__featured-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-news__featured-card .page-news__article-title {
  color: var(--text-main); /* #F3F8FF */
}

.page-news__featured-card .page-news__article-summary {
  color: var(--text-secondary); /* #AFC4E8 */
}

.page-news__featured-card .page-news__article-date {
  color: rgba(255, 255, 255, 0.6);
}

/* FAQ Section */
.page-news__faq-section {
  padding: 80px 0;
  background-color: #f8f9fa; /* Light background */
}

.page-news__faq-section .page-news__section-title {
  color: #333333;
}

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

details.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color); /* #244D84 */
  overflow: hidden;
  background: var(--card-bg); /* #10233F */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
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;
  background-color: var(--primary-color); /* #113B7A */
}
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: var(--secondary-color); /* #1D5FD1 */
}
.page-news__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main); /* #F3F8FF */
}
.page-news__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--text-main); /* #F3F8FF */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}
details.page-news__faq-item[open] .page-news__faq-toggle {
  transform: rotate(45deg); /* Change + to X or similar */
}
details.page-news__faq-item .page-news__faq-answer {
  padding: 20px 20px;
  background: var(--card-bg); /* #10233F */
  border-radius: 0 0 8px 8px;
  color: var(--text-secondary); /* #AFC4E8 */
  font-size: 16px;
  line-height: 1.6;
}
details.page-news__faq-item .page-news__faq-answer p {
  margin: 0;
}

/* CTA Section at bottom */
.page-news__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--color-deep-navy); /* #08162B */
}

.page-news__cta-container {
  max-width: 900px;
}

.page-news__cta-title {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--text-main); /* #F3F8FF */
}

.page-news__cta-description {
  font-size: 20px;
  color: var(--text-secondary); /* #AFC4E8 */
  margin-bottom: 40px;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-news__hero-content h1 {
    font-size: 40px;
  }
  .page-news__hero-content p {
    font-size: 18px;
  }
  .page-news__section-title {
    font-size: 32px;
  }
  .page-news__article-card img {
    
  }
  .page-news__featured-card img {
    height: 220px;
  }
  .page-news__cta-title {
    font-size: 32px;
  }
  .page-news__cta-description {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .page-news__hero-section {
    padding-top: 10px !important; /* Keep small top padding */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-news__hero-content h1 {
    font-size: 32px;
  }
  .page-news__hero-content p {
    font-size: 16px;
  }
  .page-news__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-news__section-title {
    font-size: 28px;
  }
  .page-news__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-news__articles-grid,
  .page-news__featured-grid {
    grid-template-columns: 1fr;
  }
  .page-news__article-card img {
    height: 220px; /* Adjust height for better mobile viewing */
  }
  .page-news__featured-card img {
    height: 250px;
  }
  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: 15px; font-size: 15px; }
  .page-news__cta-title {
    font-size: 28px;
  }
  .page-news__cta-description {
    font-size: 16px;
  }
  .page-news__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  /* Mobile image and button responsiveness */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-news__section,
  .page-news__card,
  .page-news__container,
  .page-news__hero-section,
  .page-news__latest-articles,
  .page-news__featured-news,
  .page-news__faq-section,
  .page-news__cta-section,
  .page-news__cta-buttons,
  .page-news__button-group,
  .page-news__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 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;
  }
}

@media (max-width: 480px) {
  .page-news__hero-content h1 {
    font-size: 28px;
  }
  .page-news__section-title {
    font-size: 24px;
  }
  .page-news__article-title {
    font-size: 18px;
  }
  .page-news__cta-title {
    font-size: 24px;
  }
}