.page-news {
  color: #ffffff; /* Body background is #000 (dark), so use light text */
  background-color: #000; /* Ensure the main content area has a consistent dark background */
  padding-top: 120px; /* Desktop: Ensure content is not hidden by fixed header */
}

@media (max-width: 768px) {
  .page-news {
    padding-top: 100px !important; /* Mobile: Ensure content is not hidden by fixed header */
  }
}

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

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

/* Hero Section */
.page-news__hero-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color, #003366) 0%, #001a33 100%);
  border-bottom: 2px solid var(--secondary-color, #FFD700);
}

@media (max-width: 768px) {
  .page-news__hero-section {
    padding: 60px 0 !important;
  }
}

.page-news__main-title {
  font-size: 48px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .page-news__main-title {
    font-size: 32px !important;
    margin-bottom: 15px !important;
  }
}

.page-news__hero-description {
  font-size: 18px;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .page-news__hero-description {
    font-size: 15px !important;
    margin-bottom: 30px !important;
  }
}

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

@media (max-width: 768px) {
  .page-news__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-news__cta-buttons--centered {
    padding: 0 !important;
  }
}

.page-news__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .page-news__cta-button {
    padding: 12px 25px !important;
    font-size: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

.page-news__btn-primary {
  background: var(--secondary-color, #FFD700);
  color: var(--primary-color, #003366);
}

.page-news__btn-primary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-news__btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid var(--secondary-color, #FFD700);
}

.page-news__btn-secondary:hover {
  background: var(--secondary-color, #FFD700);
  color: var(--primary-color, #003366);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Blog Section */
.page-news__blog-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

@media (max-width: 768px) {
  .page-news__blog-section {
    padding: 60px 0 !important;
  }
}

.page-news__blog-title {
  font-size: 38px;
  font-weight: bold;
  text-align: center;
  color: #ffffff;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .page-news__blog-title {
    font-size: 28px !important;
  }
}

.page-news__blog-intro {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #f0f0f0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .page-news__blog-intro {
    font-size: 15px !important;
    margin-bottom: 30px !important;
  }
}

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

@media (max-width: 768px) {
  .page-news__blog-list {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

.page-news__blog-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-news__blog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

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

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

@media (max-width: 768px) {
  .page-news__blog-item-image {
    max-width: 100% !important;
    width: 100% !important;
    height: 180px !important;
  }
}

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

@media (max-width: 768px) {
  .page-news__blog-item-content {
    padding: 20px !important;
  }
}

.page-news__blog-item-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--secondary-color, #FFD700);
  margin-bottom: 10px;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .page-news__blog-item-title {
    font-size: 18px !important;
  }
}

.page-news__blog-item-excerpt {
  font-size: 16px;
  color: #e0e0e0;
  line-height: 1.5;
  margin-bottom: 15px;
  flex-grow: 1;
}

@media (max-width: 768px) {
  .page-news__blog-item-excerpt {
    font-size: 14px !important;
  }
}

.page-news__blog-item-date {
  font-size: 14px;
  color: #aaa;
  margin-top: auto;
}

.page-news__read-more {
  display: flex;
  align-items: center;
  margin-top: 15px;
  color: var(--secondary-color, #FFD700);
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s ease;
}

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

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

.page-news__blog-item:hover .page-news__arrow {
  transform: translateX(5px);
}

/* Brand Section */
.page-news__brand-section {
  padding: 80px 0;
  background-color: var(--primary-color, #003366);
  color: #ffffff;
}

@media (max-width: 768px) {
  .page-news__brand-section {
    padding: 60px 0 !important;
  }
}

.page-news__brand-title {
  font-size: 38px;
  font-weight: bold;
  text-align: center;
  color: #ffffff;
  margin-bottom: 50px;
}

@media (max-width: 768px) {
  .page-news__brand-title {
    font-size: 28px !important;
    margin-bottom: 30px !important;
  }
}

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

@media (max-width: 768px) {
  .page-news__brand-content {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
  }
}

.page-news__brand-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-news__brand-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .page-news__brand-item {
    padding: 25px !important;
  }
}

.page-news__brand-item-image {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 20px auto;
  display: block;
}

@media (max-width: 768px) {
  .page-news__brand-item-image {
    width: 100px !important;
    height: 100px !important;
    max-width: 100% !important;
  }
}

.page-news__brand-item-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color, #FFD700);
  margin-bottom: 15px;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .page-news__brand-item-title {
    font-size: 20px !important;
  }
}

.page-news__brand-item p {
  font-size: 16px;
  color: #f0f0f0;
  line-height: 1.6;
  flex-grow: 1;
}

@media (max-width: 768px) {
  .page-news__brand-item p {
    font-size: 14px !important;
  }
}

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

@media (max-width: 768px) {
  .page-news__faq-section {
    padding: 60px 0 !important;
  }
}

.page-news__faq-title {
  font-size: 38px;
  font-weight: bold;
  text-align: center;
  color: #ffffff;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .page-news__faq-title {
    font-size: 28px !important;
  }
}

.page-news__faq-intro {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #f0f0f0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .page-news__faq-intro {
    font-size: 15px !important;
    margin-bottom: 30px !important;
  }
}

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

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

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

.page-news__faq-item.active .page-news__faq-question {
  border-radius: 8px 8px 0 0;
}

.page-news__faq-question:hover {
  background: #004080;
  border-color: #0059b3;
}

@media (max-width: 768px) {
  .page-news__faq-question {
    padding: 15px 20px !important;
    flex-wrap: wrap;
  }
}

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

@media (max-width: 768px) {
  .page-news__faq-question h3 {
    font-size: 16px !important;
    width: calc(100% - 40px) !important;
  }
}

.page-news__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color, #FFD700);
  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;
}

.page-news__faq-item.active .page-news__faq-toggle {
  color: #ffffff;
}

@media (max-width: 768px) {
  .page-news__faq-toggle {
    margin-left: 10px !important;
    width: 28px !important;
    height: 28px !important;
    font-size: 24px !important;
  }
}

.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: #0d0d0d;
  color: #e0e0e0;
  border: 1px solid #004d99;
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.page-news__faq-item.active .page-news__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to contain any content */
  padding: 20px 25px !important;
  opacity: 1;
  border-bottom: 1px solid #004d99;
}

@media (max-width: 768px) {
  .page-news__faq-answer {
    padding: 0 20px !important;
  }
  .page-news__faq-item.active .page-news__faq-answer {
    padding: 15px 20px !important;
  }
}

.page-news__faq-answer p {
  margin: 0;
  line-height: 1.6;
  font-size: 16px;
}

@media (max-width: 768px) {
  .page-news__faq-answer p {
    font-size: 14px !important;
  }
}

/* Global image responsiveness */
.page-news img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-news__section,
  .page-news__card,
  .page-news__container,
  .page-news__blog-item,
  .page-news__brand-item,
  .page-news__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-news__hero-section .page-news__container,
  .page-news__blog-section .page-news__container,
  .page-news__brand-section .page-news__container,
  .page-news__faq-section .page-news__container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* Dark background text color override for specific elements if needed */
.page-news__dark-section h1, .page-news__dark-section h2, .page-news__dark-section h3, .page-news__dark-section p {
  color: #ffffff;
}

.page-news__light-bg h2, .page-news__light-bg h3, .page-news__light-bg p {
  color: #ffffff; /* Overriding for blog/faq sections on darker background than white */
}

.page-news__blog-item-title {
  color: var(--secondary-color, #FFD700); /* Specific override for blog titles */
}

.page-news__brand-item-title {
  color: var(--secondary-color, #FFD700); /* Specific override for brand item titles */
}