.page-news__hero-section {
  position: relative;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, #26A9E0, #1a7bb0);
  color: #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

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

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

.page-news__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  color: #ffffff;
}

.page-news__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-news__section-description {
  font-size: 1.1em;
  color: #666666;
  text-align: center;
  margin-bottom: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

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

.page-news__btn-primary {
  display: inline-block;
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 600;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-news__btn-primary:hover {
  background-color: #d16b06;
}

.page-news__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #26A9E0;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  border: 2px solid #26A9E0;
  cursor: pointer;
  margin-left: 20px;
}

.page-news__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-news__btn-center {
  display: block;
  margin: 40px auto 0 auto;
  text-align: center;
}

.page-news__latest-articles {
  padding: 80px 0;
  background-color: #ffffff;
}

.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: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #333333;
}

.page-news__article-card:hover {
  transform: translateY(-8px);
}

.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.5em;
  margin-bottom: 10px;
  line-height: 1.4;
  font-weight: 600;
}

.page-news__article-title .page-news__article-link {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__article-title .page-news__article-link:hover {
  color: #1a7bb0;
}

.page-news__article-meta {
  font-size: 0.9em;
  color: #999999;
  margin-bottom: 15px;
}

.page-news__article-excerpt {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news__pagination {
  display: flex;
  justify-content: center;
  margin-top: 60px;
  gap: 10px;
}

.page-news__pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f0f0f0;
  color: #333333;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-news__pagination-link:hover,
.page-news__pagination-link--active {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-news__featured-video {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

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

.page-news__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.page-news__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.page-news__guides-tips {
  padding: 80px 0;
  background-color: #f9f9f9;
}

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

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

.page-news__guide-card:hover {
  transform: translateY(-8px);
}

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

.page-news__guide-title {
  font-size: 1.4em;
  margin: 20px 20px 10px 20px;
  line-height: 1.4;
  font-weight: 600;
}

.page-news__guide-title .page-news__guide-link {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__guide-title .page-news__guide-link:hover {
  color: #1a7bb0;
}

.page-news__guide-excerpt {
  font-size: 0.95em;
  line-height: 1.6;
  color: #555555;
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-news__guide-card .page-news__btn-secondary {
  margin: 0 20px 20px 20px;
  align-self: flex-start;
}

.page-news__faq-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-news__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-news__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-news__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-news__faq-item.active .page-news__faq-toggle {
  transform: rotate(45deg);
}

.page-news__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-news__faq-item.active .page-news__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 15px 25px 25px 25px;
}

.page-news__faq-answer p {
  font-size: 1em;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-news__cta-section {
  padding: 80px 0;
  background-color: #f9f9f9;
  text-align: center;
}

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

.page-news__cta-title {
  font-size: 2.5em;
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-news__cta-description {
  font-size: 1.1em;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 40px;
}

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

/* General body text color for dark body background */
.page-news {
  color: #ffffff; /* Default text color for page, adjusted for dark body background */
}

.page-news__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-news__dark-bg {
  background-color: #1a1a1a;
  color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-news__hero-title {
    font-size: 2.8em;
  }
  .page-news__section-title,
  .page-news__cta-title {
    font-size: 2em;
  }
  .page-news__hero-description,
  .page-news__section-description,
  .page-news__cta-description {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-news__hero-section {
    min-height: 300px;
    padding: 60px 15px;
  }
  .page-news__hero-title {
    font-size: 2.2em;
  }
  .page-news__hero-description {
    font-size: 0.95em;
  }
  .page-news__btn-primary,
  .page-news__btn-secondary {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-news__latest-articles,
  .page-news__featured-video,
  .page-news__guides-tips,
  .page-news__faq-section,
  .page-news__cta-section {
    padding: 50px 0;
  }
  .page-news__section-title,
  .page-news__cta-title {
    font-size: 1.8em;
  }
  .page-news__section-description,
  .page-news__cta-description {
    font-size: 0.9em;
    margin-bottom: 30px;
  }
  .page-news__articles-grid,
  .page-news__guides-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-news__article-title,
  .page-news__guide-title {
    font-size: 1.3em;
  }
  .page-news__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-news__faq-answer {
    padding: 0 20px;
  }
  .page-news__faq-item.active .page-news__faq-answer {
    padding: 10px 20px 20px 20px;
  }
  .page-news__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-news__btn-secondary {
    margin-left: 0;
  }
  
  /* Mobile image responsive adaptation */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-news__section,
  .page-news__card,
  .page-news__container,
  .page-news__article-card,
  .page-news__guide-card,
  .page-news__video-wrapper,
  .page-news__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-news__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
  }
  /* Mobile video responsive adaptation */
  .page-news video,
  .page-news__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-news__video-section,
  .page-news__video-container,
  .page-news__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  /* Mobile button responsive adaptation */
  .page-news__cta-button,
  .page-news__btn-primary,
  .page-news__btn-secondary,
  .page-news a[class*="button"],
  .page-news a[class*="btn"] {
    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,
  .page-news__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-news__cta-buttons {
    flex-direction: column;
  }
}