/* Base styles for .page-news */
.page-news {
  color: var(--color-text-main); /* #F3F8FF from custom colors */
  background: var(--color-card-bg); /* #10233F from custom colors - dark background, so light text is correct */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: 10px; /* Small top padding, relying on body padding-top for header offset */
}

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

/* Typography */
.page-news__main-title {
  font-size: clamp(28px, 4vw, 48px); /* Using clamp for H1 as per instructions */
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-gold); /* #F2C14E */
  margin-bottom: 20px;
  text-align: center;
}

.page-news__section-title {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--color-text-main); /* #F3F8FF */
  text-align: center;
  margin-bottom: 30px;
  padding-top: 40px;
}

.page-news__description,
.page-news__section-description,
.page-news p {
  font-size: 16px;
  color: var(--color-text-secondary); /* #AFC4E8 */
  margin-bottom: 15px;
}

.page-news__article-title,
.page-news__benefit-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text-main); /* #F3F8FF */
  margin-bottom: 10px;
}

.page-news__cta-banner-title {
  font-size: clamp(26px, 3.8vw, 44px);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-news__cta-banner-description {
  font-size: 18px;
  color: #f0f0f0;
  margin-bottom: 25px;
}

/* Buttons */
.page-news__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%; /* Required for mobile */
  box-sizing: border-box; /* Required for mobile */
  white-space: normal; /* Required for mobile */
  word-wrap: break-word; /* Required for mobile */
}

.page-news__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-news__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: transparent;
  color: var(--color-gold); /* #F2C14E */
  border: 2px solid var(--color-gold); /* #F2C14E */
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-left: 15px;
  cursor: pointer;
  max-width: 100%; /* Required for mobile */
  box-sizing: border-box; /* Required for mobile */
  white-space: normal; /* Required for mobile */
  word-wrap: break-word; /* Required for mobile */
}

.page-news__btn-secondary:hover {
  background: var(--color-gold); /* #F2C14E */
  color: var(--color-deep-navy); /* #08162B */
}

.page-news__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap; /* Required for mobile */
  width: 100%; /* Required for mobile */
  max-width: 100%; /* Required for mobile */
  box-sizing: border-box; /* Required for mobile */
}

.page-news__view-all-button-container {
    text-align: center;
    margin-top: 40px;
    padding-bottom: 60px;
}

/* Hero Section */
.page-news__hero-section {
  position: relative;
  overflow: hidden;
  padding: 10px 0 60px; /* Small top padding */
  text-align: center;
}

.page-news__hero-image-container {
    position: relative;
    width: 100%;
    max-height: 500px; /* Adjust as needed */
    overflow: hidden;
    margin-bottom: 30px;
}

.page-news__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-news__hero-content-wrapper {
    position: relative;
    z-index: 2; /* Ensure text is above image */
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Articles Section */
.page-news__articles-section {
  padding: 60px 0;
}

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

.page-news__article-card {
  background: var(--color-deep-navy); /* #08162B */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--color-border); /* #244D84 */
}

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

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

.page-news__article-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

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

.page-news__article-meta {
  font-size: 14px;
  color: var(--color-text-secondary); /* #AFC4E8 */
  margin-bottom: 10px;
}

.page-news__read-more {
  display: inline-block;
  color: var(--color-gold); /* #F2C14E */
  font-weight: 600;
  margin-top: 10px;
}

/* About Section */
.page-news__about-section {
  padding: 60px 0;
  background: var(--color-deep-navy); /* #08162B */
  border-top: 1px solid var(--color-divider); /* #1B3357 */
  border-bottom: 1px solid var(--color-divider); /* #1B3357 */
}

.page-news__about-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-news__about-text {
  flex: 1;
}

.page-news__about-image {
  flex-shrink: 0;
  width: 450px;
  height: auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-news__about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Benefits Section */
.page-news__benefits-section {
    padding: 60px 0;
}

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

.page-news__benefit-item {
    background: var(--color-card-bg); /* #10233F */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-border); /* #244D84 */
}

.page-news__benefit-image {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 0 auto 15px;
    display: block;
}

/* CTA Banner */
.page-news__cta-banner {
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-news__cta-banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    z-index: 1;
}

.page-news__cta-banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 15px;
}

/* FAQ Section */
.page-news__faq-section {
  padding: 60px 0;
}

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

details.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--color-border); /* #244D84 */
  overflow: hidden;
  background: var(--color-deep-navy); /* #08162B */
  box-shadow: 0 2px 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: var(--color-text-main); /* #F3F8FF */
}
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(--color-border); /* #244D84 - slightly lighter for hover */
}
.page-news__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-news__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--color-gold); /* #F2C14E */
  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: var(--color-card-bg); /* #10233F */
  border-radius: 0 0 10px 10px;
  color: var(--color-text-secondary); /* #AFC4E8 */
}

/* Mandatory CSS snippets for homepage elements (even if not present on this page) */
@media (max-width: 1023px) {
  .page-news__home-hero {
    display: block !important;
    grid-template-columns: none !important;
    height: auto !important;
    max-height: none !important;
    overflow-x: hidden;
    box-sizing: border-box;
  }
}