.page-news {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #f8f8f8;
}

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

.page-news__section {
  padding: 60px 0;
}

.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: var(--header-offset, 120px); /* Ensure header offset */
  overflow: hidden;
  background: linear-gradient(135deg, #B22222, #FFD700);
  color: #ffffff;
}

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

.page-news__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 800px;
  margin-bottom: 30px;
}

.page-news__hero-title {
  font-size: 3.2em;
  margin-bottom: 15px;
  color: #ffffff;
  line-height: 1.2;
  font-weight: bold;
}

.page-news__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-news__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px; /* Adjust max-width as needed */
  margin-top: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.page-news__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #FFD700; /* Secondary color for CTA */
  color: #B22222; /* Primary color for text on secondary background */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-news__cta-button:hover {
  background: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-news__section-title {
  font-size: 2.5em;
  color: #B22222; /* Primary color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-news__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-news__section-description--light {
  color: #f0f0f0;
}

/* Featured Articles */
.page-news__featured-articles {
  background-color: #f8f8f8;
}

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

.page-news__article-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

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

.page-news__article-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #B22222; /* Primary color for article titles */
  font-weight: bold;
}

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

.page-news__article-title a:hover {
  color: #FFD700; /* Secondary color on hover */
}

.page-news__article-summary {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-news__article-date {
  font-size: 0.85em;
  color: #999999;
  margin-top: auto; /* Push date to bottom */
  display: block;
}

.page-news__read-more {
  display: inline-block;
  margin-top: 15px;
  color: #B22222;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-news__read-more:hover {
  color: #FFD700;
}

/* Categories */
.page-news__categories {
  background-color: #f0f0f0;
}

.page-news__categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.page-news__category-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  display: block;
  color: #333333;
}

.page-news__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-news__category-title {
  font-size: 1.3em;
  color: #B22222;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-news__category-description {
  font-size: 0.9em;
  color: #666666;
}

/* Latest Articles */
.page-news__latest-articles {
  background-color: #ffffff;
}

.page-news__article-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.page-news__list-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #fdfdfd;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s ease;
}

.page-news__list-item:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-news__list-image {
  width: 250px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.page-news__list-content {
  flex-grow: 1;
}

.page-news__list-title {
  font-size: 1.2em;
  margin-top: 0;
  margin-bottom: 8px;
  font-weight: bold;
}

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

.page-news__list-title a:hover {
  color: #FFD700;
}

.page-news__list-summary {
  font-size: 0.9em;
  color: #666666;
  margin-bottom: 10px;
}

.page-news__list-date {
  font-size: 0.8em;
  color: #999999;
  display: block;
}

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

.page-news__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: #B22222;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-news__btn-primary:hover {
  background: #8e1c1c;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-news__faq-section {
  background: #B22222; /* Primary color for dark section */
  color: #ffffff;
}

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

.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-news__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-news__faq-question:active {
  background: #eeeeee;
}

.page-news__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #333333;
}

.page-news__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #B22222; /* Primary color for toggle icon */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-news__faq-item.active .page-news__faq-toggle {
  transform: rotate(45deg);
  color: #FFD700; /* Secondary color when active */
}

.page-news__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: #fdfdfd;
  color: #444444;
  font-size: 0.95em;
}

.page-news__faq-item.active .page-news__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  border-radius: 0 0 8px 8px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* CTA Section at bottom */
.page-news__cta-section {
  background: linear-gradient(90deg, #B22222, #FFD700);
  padding: 80px 0;
  text-align: center;
  color: #ffffff;
}

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

.page-news__cta-title {
  font-size: 2.8em;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-news__cta-description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-news__cta-button--large {
  padding: 18px 50px;
  font-size: 1.2em;
  background: #B22222; /* Primary color for main CTA */
  color: #ffffff;
  margin-right: 20px;
}

.page-news__cta-button--large:hover {
  background: #8e1c1c;
}

.page-news__cta-button--secondary {
  background: #ffffff;
  color: #B22222;
  border: 2px solid #B22222;
  padding: 16px 48px;
}

.page-news__cta-button--secondary:hover {
  background: #f0f0f0;
  color: #8e1c1c;
  border-color: #8e1c1c;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-news__hero-title {
    font-size: 2.8em;
  }
  .page-news__section-title {
    font-size: 2em;
  }
  .page-news__article-list {
    gap: 15px;
  }
  .page-news__list-image {
    width: 200px;
    height: 120px;
  }
  .page-news__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-news__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-news__hero-title {
    font-size: 2.2em;
  }

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

  .page-news__hero-image-wrapper {
    margin-top: 20px;
  }

  .page-news__section {
    padding: 40px 0;
  }

  .page-news__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

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

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

  .page-news__article-card {
    flex-direction: column;
  }

  .page-news__article-image {
    height: 180px;
  }

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

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

  .page-news__categories-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .page-news__category-card {
    padding: 25px;
  }

  .page-news__list-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    padding: 15px;
  }

  .page-news__list-image {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }

  .page-news__list-title {
    font-size: 1.1em;
  }

  .page-news__faq-question {
    padding: 15px 20px;
  }

  .page-news__faq-question h3 {
    font-size: 1em;
  }

  .page-news__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }

  .page-news__faq-item.active .page-news__faq-answer {
    padding: 15px 20px !important;
  }

  .page-news__cta-section {
    padding: 50px 0;
  }

  .page-news__cta-title {
    font-size: 1.8em;
  }

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

  .page-news__cta-button {
    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;
    margin-right: 0;
    margin-bottom: 15px;
  }

  .page-news__cta-button--large {
    padding: 15px 30px;
  }

  .page-news__cta-button--secondary {
    padding: 13px 28px;
  }

  .page-news__hero-image {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-news__img {
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important;
  }
  .page-news__articles-grid img,
  .page-news__list-item img {
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important;
  }
  .page-news__section,
  .page-news__card,
  .page-news__container,
  .page-news__hero-container,
  .page-news__articles-grid,
  .page-news__categories-grid,
  .page-news__article-list,
  .page-news__faq-list,
  .page-news__cta-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-news__cta-section .page-news__cta-button {
    margin-right: 0;
    margin-bottom: 15px;
  }
}