.page-news {
  color: #ffffff; /* Body background #111 (dark), so use light text */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-news__hero-banner {
  padding-top: var(--header-offset, 120px);
  padding-bottom: 60px;
  text-align: center;
  background-color: #000080; /* Use auxiliary color for hero banner background */
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-news__main-title {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD700; /* Gold color for main title */
  line-height: 1.2;
}

.page-news__intro-text {
  font-size: 18px;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #f0f0f0;
}

.page-news__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #FFD700; /* Gold for section titles */
}

.page-news__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: -20px auto 60px auto;
  color: #f0f0f0;
}

.page-news__sub-title {
  font-size: 28px;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for sub-titles */
}

.page-news__latest-news-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background */
}

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

.page-news__news-card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.page-news__news-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-news__news-image-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.page-news__news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.page-news__news-card:hover .page-news__news-image {
  transform: scale(1.05);
}

.page-news__news-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-news__news-card-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFD700; /* Gold for card titles */
  line-height: 1.3;
}

.page-news__news-card-excerpt {
  font-size: 16px;
  color: #cccccc;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-news__read-more {
  display: flex;
  align-items: center;
  color: #FFD700;
  font-weight: bold;
  transition: color 0.3s ease;
}

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

.page-news__arrow-right {
  margin-left: 8px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.page-news__news-card:hover .page-news__arrow-right {
  transform: translateX(5px);
}

.page-news__category-section {
  padding: 80px 0;
  background-color: #000080; /* Auxiliary color background */
}

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

.page-news__category-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.page-news__category-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.page-news__category-title {
  font-size: 20px;
  font-weight: bold;
  margin: 15px 15px 10px 15px;
  color: #FFD700;
}

.page-news__category-description {
  font-size: 15px;
  color: #cccccc;
  padding: 0 15px 20px 15px;
  flex-grow: 1;
}

.page-news__deep-content-section {
  padding: 80px 0;
  background-color: #111111; /* Main dark background */
}

.page-news__deep-content-section p {
  margin-bottom: 20px;
  font-size: 17px;
  color: #f0f0f0;
}

.page-news__deep-content-section p a {
  color: #FFD700;
  text-decoration: underline;
}

.page-news__deep-content-section p a:hover {
  color: #ffffff;
}

.page-news__faq-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Light background for FAQ to contrast with deep content */
  color: #ffffff;
}

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

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

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

.page-news__faq-question:hover {
  background: #FFD700; /* Gold on hover */
  border-color: #FFD700;
  color: #000080;
}

.page-news__faq-item.active .page-news__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.page-news__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Prevent h3 from blocking click event */
  color: inherit;
}

.page-news__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700; /* Gold for toggle icon */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
}

.page-news__faq-item.active .page-news__faq-toggle {
  transform: rotate(45deg);
  color: #000080;
  background-color: #FFD700;
}

.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 20px;
  opacity: 0;
  color: #cccccc;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 8px 8px;
}

.page-news__faq-item.active .page-news__faq-answer {
  max-height: 2000px !important; /* Ensure it can expand for any content */
  padding: 20px !important;
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-news__main-title {
    font-size: 36px;
  }

  .page-news__intro-text {
    font-size: 17px;
  }

  .page-news__section-title {
    font-size: 32px;
  }

  .page-news__news-card-title {
    font-size: 20px;
  }

  .page-news__category-title {
    font-size: 18px;
  }

  .page-news__sub-title {
    font-size: 24px;
  }

  .page-news__deep-content-section p {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-news__container {
    padding: 0 15px;
  }

  .page-news__hero-banner {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
  }

  .page-news__main-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-news__intro-text {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .page-news__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .page-news__section-description {
    font-size: 15px;
    margin: -10px auto 40px auto;
  }

  .page-news__latest-news-section,
  .page-news__category-section,
  .page-news__deep-content-section,
  .page-news__faq-section {
    padding: 50px 0;
  }

  .page-news__news-grid,
  .page-news__category-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-news__news-image-wrapper {
    height: 180px;
  }

  .page-news__news-content {
    padding: 15px;
  }

  .page-news__news-card-title {
    font-size: 18px;
  }

  .page-news__news-card-excerpt {
    font-size: 14px;
  }

  .page-news__category-image {
    height: 150px;
  }

  .page-news__category-title {
    font-size: 16px;
  }

  .page-news__category-description {
    font-size: 13px;
  }

  .page-news__sub-title {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-news__deep-content-section p {
    font-size: 15px;
  }

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

  .page-news__faq-question h3 {
    font-size: 16px;
  }

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

  .page-news__faq-answer {
    padding: 0 15px;
  }

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

  /* Image responsiveness for all img tags */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* All containers with images */
  .page-news__hero-banner,
  .page-news__latest-news-section,
  .page-news__news-grid,
  .page-news__news-card,
  .page-news__news-image-wrapper,
  .page-news__category-section,
  .page-news__category-grid,
  .page-news__category-card,
  .page-news__category-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }

  /* Button responsiveness */
  .page-news a[class*="button"],
  .page-news a[class*="btn"],
  .page-news 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;
  }

  .page-news__cta-buttons,
  .page-news__button-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important;
    gap: 10px;
  }
}