/* style/news.css */
.page-news {
  background-color: #08160F; /* Nền tối */
  color: #F2FFF6; /* Chữ sáng */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-news__dark-section {
  background-color: #08160F;
  color: #F2FFF6;
}

.page-news__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  overflow: hidden;
}

.page-news__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-news__hero-content {
  position: relative;
  z-index: 2;
  margin-top: 40px; /* Space between image and text */
  max-width: 900px;
}

.page-news__hero-title {
  font-size: clamp(2.2em, 4vw, 3em);
  font-weight: 700;
  color: #F2C14E; /* Gold color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

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

.page-news__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #F2C14E; /* Gold color for section titles */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-news__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  color: #22C768; /* Auxiliary color for sub titles */
  margin-top: 50px;
  margin-bottom: 25px;
  text-align: center;
}

.page-news__paragraph {
  font-size: 1.05em;
  color: #F2FFF6;
  margin-bottom: 20px;
  text-align: left;
}

.page-news__link {
  color: #2AD16F; /* Button gradient start color for links */
  text-decoration: none;
  font-weight: 600;
}

.page-news__link:hover {
  text-decoration: underline;
  color: #57E38D; /* Glow color on hover */
}

.text-main {
  color: #2AD16F; /* Consistent with button start color for emphasis */
  font-weight: 600;
}

.page-news__image-text-block {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 50px;
}

.page-news__image-text-block--reverse {
  flex-direction: row-reverse;
}

.page-news__content-image {
  width: 50%;
  max-width: 600px;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.page-news__image-text-block .page-news__paragraph {
  flex-grow: 1;
}

.page-news__button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
  justify-content: center;
}

.page-news__btn-primary,
.page-news__btn-secondary {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-news__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: 2px solid transparent;
}

.page-news__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.6);
}

.page-news__btn-secondary {
  background-color: transparent;
  color: #2AD16F;
  border: 2px solid #2AD16F;
}

.page-news__btn-secondary:hover {
  background-color: #2AD16F;
  color: #F2FFF6;
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.3);
}

/* FAQ Section */
.page-news__faq-section {
  background-color: #11271B; /* Card BG color for FAQ section */
  padding: 80px 20px;
}

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

.page-news__faq-item {
  background-color: #0A4B2C; /* Deep Green for FAQ item background */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6;
}

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1em;
  color: #F2C14E; /* Gold for FAQ question text */
  list-style: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.page-news__faq-question::-webkit-details-marker {
  display: none;
}

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

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

.page-news__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #A7D9B8;
}

.page-news__faq-answer .page-news__paragraph {
  margin-bottom: 0;
}

.page-news__conclusion-section {
  text-align: center;
  padding-bottom: 80px;
}

/* Responsive styles */
@media (max-width: 992px) {
  .page-news__hero-content {
    margin-top: 30px;
  }

  .page-news__hero-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }

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

  .page-news__sub-title {
    font-size: 1.5em;
  }

  .page-news__image-text-block {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .page-news__image-text-block--reverse {
    flex-direction: column;
  }

  .page-news__content-image {
    width: 80%;
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .page-news__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-news__hero-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

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

  .page-news__section,
  .page-news__faq-section,
  .page-news__conclusion-section {
    padding: 40px 15px;
  }

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

  .page-news__sub-title {
    font-size: 1.3em;
    margin-top: 40px;
  }

  .page-news__paragraph {
    font-size: 0.95em;
  }

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

  /* Image containers */
  .page-news__image-text-block,
  .page-news__hero-image-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Buttons */
  .page-news__btn-primary,
  .page-news__btn-secondary {
    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__button-group {
    flex-direction: column;
    gap: 15px;
    padding-left: 0;
    padding-right: 0;
  }

  .page-news__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

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

@media (max-width: 480px) {
  .page-news__hero-title {
    font-size: clamp(1.6em, 7vw, 2.2em);
  }

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

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

/* Ensure all images adhere to min-size requirements */
.page-news img:not(.shared-logo):not(.shared-icon) {
  min-width: 200px;
  min-height: 200px;
}