:root {
  --primary-color: #113B7A; /* Blue Gold - main */
  --secondary-color: #1D5FD1; /* Blue Gold - accent */
  --color-text-main: #F3F8FF;
  --color-text-secondary: #AFC4E8;
  --color-card-bg: #10233F;
  --color-button-gradient-start: #2B73F6;
  --color-button-gradient-end: #1144A6;
  --color-border: #244D84;
  --color-glow: #4FA8FF;
  --color-gold: #F2C14E;
  --color-divider: #1B3357;
  --color-deep-navy: #08162B; /* Body background from shared.css */
}

.page-news {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--color-text-main); /* Default text color for the page, light for dark background */
  background-color: var(--color-deep-navy); /* Ensure consistency with body background */
}

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

/* 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 as body handles header offset */
  background-color: var(--color-deep-navy); /* Ensure dark background for hero */
  color: var(--color-text-main);
}

.page-news__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* Ensure full width on desktop */
}

.page-news__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-news__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-news__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 15px; /* Add some horizontal padding */
}

.page-news__hero-content h1 {
  font-size: clamp(28px, 4vw, 48px); /* Use clamp for responsive H1 */
  font-weight: 700;
  color: var(--color-gold); /* Gold color for main title */
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-news__hero-description {
  font-size: 1.1em;
  color: var(--color-text-secondary);
  max-width: 800px;
  margin: 0 auto 30px auto;
}

/* General Section Styling */
.page-news__section-title {
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--color-gold);
  padding-top: 40px;
}

.page-news__section-description {
  font-size: 1.05em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: var(--color-text-secondary);
}

/* Articles Section */
.page-news__articles-section {
  padding: 60px 0;
  background-color: var(--color-deep-navy); /* Dark background for this section */
  color: var(--color-text-main);
}

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

.page-news__article-card {
  background-color: var(--color-card-bg); /* Card background, dark */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--color-text-main); /* Light text for card content */
  border: 1px solid var(--color-border);
}

.page-news__article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

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

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

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

.page-news__article-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-gold); /* Gold for article titles */
  line-height: 1.3;
}

.page-news__article-date {
  display: block;
  font-size: 0.9em;
  color: var(--color-text-secondary);
  margin-bottom: 15px;
}

.page-news__article-excerpt {
  font-size: 1em;
  color: var(--color-text-main);
  margin-bottom: 20px;
}

.page-news__read-more {
  display: inline-block;
  color: var(--color-secondary-color);
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-news__read-more:hover {
  color: var(--color-glow);
}

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

/* CTA Section */
.page-news__cta-section {
  padding: 80px 0;
  background-color: var(--primary-color); /* A slightly different dark background */
  color: var(--color-text-main);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-news__cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(17,59,122,0.8) 0%, rgba(29,95,209,0.8) 100%);
  z-index: 1;
}

.page-news__cta-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-news__cta-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-news__cta-title {
  font-size: clamp(26px, 3.8vw, 44px);
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-news__cta-description {
  font-size: 1.15em;
  color: var(--color-text-secondary);
  max-width: 900px;
  margin: 0 auto 40px auto;
}

/* Buttons */
.page-news__btn-primary {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%; /* Button responsive */
  box-sizing: border-box; /* Button responsive */
  white-space: normal; /* Button responsive */
  word-wrap: break-word; /* Button responsive */
}

.page-news__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-news__faq-section {
  padding: 60px 0;
  background-color: var(--color-deep-navy); /* Dark background */
  color: var(--color-text-main);
}

.page-news__faq-list {
  margin-top: 40px;
}

details.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  overflow: hidden;
  background-color: var(--color-card-bg); /* Dark card background */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  color: var(--color-text-main);
}

details.page-news__faq-item summary.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--color-gold); /* Gold for FAQ questions */
  font-weight: 600;
  font-size: 1.1em;
}

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-color: rgba(255, 255, 255, 0.05); /* Slightly lighter on hover */
}

.page-news__faq-qtext {
  flex: 1;
  font-size: 1em; /* Adjusted for better responsiveness */
  line-height: 1.5;
  text-align: left;
}

.page-news__faq-toggle {
  font-size: 28px; /* Larger for better visibility */
  font-weight: bold;
  color: var(--color-text-secondary);
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
}

details.page-news__faq-item .page-news__faq-answer {
  padding: 0 25px 25px;
  background-color: var(--color-card-bg);
  border-radius: 0 0 12px 12px;
  color: var(--color-text-secondary); /* Secondary text color for answers */
  font-size: 0.95em;
}

.page-news__faq-answer p {
  margin-bottom: 10px;
}
.page-news__faq-answer p:last-child {
  margin-bottom: 0;
}

/* About F1680 Section */
.page-news__about-f1680-section {
  padding: 60px 0 80px;
  background-color: var(--color-deep-navy); /* Dark background */
  color: var(--color-text-main);
}

.page-news__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-news__text-block {
  flex: 1;
  min-width: 300px;
  color: var(--color-text-secondary);
}

.page-news__text-block p {
  margin-bottom: 20px;
  font-size: 1.05em;
}

.page-news__image-block {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-news__image-block img {
  width: 100%;
  height: auto;
  max-width: 600px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-news__articles-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-news__hero-section {
    padding-top: 10px !important; /* Ensure small top padding on mobile */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-news__hero-image img {
    border-radius: 4px;
  }

  .page-news__hero-content h1 {
    font-size: clamp(24px, 7vw, 36px); /* Adjust H1 size for mobile */
  }

  .page-news__hero-description {
    font-size: 1em;
  }

  .page-news__section-title {
    font-size: clamp(22px, 6vw, 36px);
    padding-top: 30px;
  }

  .page-news__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-news__articles-section,
  .page-news__cta-section,
  .page-news__faq-section,
  .page-news__about-f1680-section {
    padding: 40px 0;
  }

  .page-news__articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-news__article-card {
    border-radius: 8px;
  }

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

  .page-news__article-title {
    font-size: 1.3em;
  }

  .page-news__article-date,
  .page-news__article-excerpt {
    font-size: 0.9em;
  }

  .page-news__view-all {
    margin-top: 40px;
  }

  .page-news__cta-image {
    border-radius: 8px;
    margin-bottom: 30px;
  }

  .page-news__cta-title {
    font-size: clamp(22px, 6.5vw, 36px);
  }

  .page-news__cta-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-news__btn-primary {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important; /* Force responsive button */
    width: 100% !important; /* Force responsive button */
    box-sizing: border-box !important; /* Force responsive button */
    white-space: normal !important; /* Force responsive button */
    word-wrap: break-word !important; /* Force responsive button */
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-news__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  details.page-news__faq-item {
    border-radius: 8px;
  }

  details.page-news__faq-item summary.page-news__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-news__faq-qtext {
    font-size: 0.95em;
  }

  .page-news__faq-toggle {
    font-size: 24px;
    margin-left: 15px;
  }

  details.page-news__faq-item .page-news__faq-answer {
    padding: 0 20px 20px;
    font-size: 0.9em;
  }

  .page-news__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-news__image-block img {
    max-width: 100%;
  }

  /* Mobile image and container responsive */
  .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-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Ensure no CSS filter for images */
.page-news img {
  filter: none !important;
}

/* Contrast emergency fix (if needed, but design should prevent) */
.page-news__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-news__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}