.page-news__banner-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);
  background: linear-gradient(135deg, #26A9E0, #1a7a9e);
  color: #FFFFFF;
}

.page-news__banner-section .page-news__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-news__banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

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

.page-news__intro-text {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  color: #f0f0f0;
}

.page-news__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #EA7C07; /* Sử dụng màu 'Đăng nhập' */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-news__cta-button:hover {
  background: #d46f06;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-news__banner-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  margin-top: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

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

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

.page-news__dark-bg {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-news__dark-bg .page-news__section-title {
  color: #FFFFFF;
}

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

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

.page-news__light-bg .page-news__section-title {
  color: #26A9E0;
}

.page-news__light-bg .page-news__section-description {
  color: #555;
}

.page-news__featured-articles {
  padding: 80px 0;
}

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

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

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

.page-news__article-image {
  width: 100%;
  height: 225px;
  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;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.4;
}

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

.page-news__article-title a:hover {
  color: #1a7a9e;
}

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

.page-news__article-date {
  font-size: 0.85em;
  color: #999;
  margin-top: auto;
  margin-bottom: 10px;
}

.page-news__read-more {
  display: inline-block;
  color: #EA7C07;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

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

.page-news__categories-section {
  padding: 80px 0;
  background-color: #26A9E0;
}

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

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

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

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

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

.page-news__category-title {
  font-size: 1.25em;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}

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

.page-news__category-title a:hover {
  color: #1a7a9e;
}

.page-news__category-description {
  font-size: 0.9em;
  line-height: 1.6;
  color: #666;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-news__faq-section {
  padding: 80px 0;
}

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

.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #f8f8f8;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
}

.page-news__faq-question:hover {
  background: #f0f0f0;
}

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

.page-news__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  line-height: 1;
  color: #26A9E0;
  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: 30px;
  height: 30px;
}

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

.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: #ffffff;
  border-top: 1px solid #eee;
}

.page-news__faq-item.active .page-news__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
}

.page-news__faq-answer p {
  margin: 0;
  font-size: 0.95em;
  line-height: 1.7;
  color: #555;
}

.page-news__cta-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, #26A9E0, #1a7a9e);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-news__cta-section .page-news__container {
  position: relative;
  z-index: 2;
}

.page-news__cta-section .page-news__section-title {
  color: #FFFFFF;
  margin-bottom: 25px;
}

.page-news__cta-description {
  font-size: 1.15em;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-news__cta-image {
  position: absolute;
  bottom: 0;
  right: 0;
  opacity: 0.15;
  width: 100%;
  height: auto;
  object-fit: cover;
  z-index: 1;
}

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

  .page-news__section-title {
    font-size: 2em;
  }
}

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

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

  .page-news__intro-text {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-news__cta-button {
    padding: 12px 30px;
    font-size: 1em;
    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__banner-image {
    margin-top: 30px;
    border-radius: 4px;
  }

  .page-news__container {
    padding: 30px 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

  .page-news__featured-articles, .page-news__categories-section, .page-news__faq-section, .page-news__cta-section {
    padding: 40px 0;
  }

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

  .page-news__article-card, .page-news__category-card {
    margin-bottom: 0;
  }

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

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

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

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

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

  .page-news__faq-toggle {
    font-size: 1.5em;
    width: 25px;
    height: 25px;
  }

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

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

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

  /* Ensure all images are responsive */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-news__section,
  .page-news__card,
  .page-news__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !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-section .page-news__cta-image {
    display: none; /* Hide background image on mobile for better performance/readability */
  }
}