/* style/news.css */
.page-news {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

.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 {
  width: 100%;
  height: auto;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  max-width: 100%;
  display: block;
}

.page-news__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(17, 39, 27, 0.7); /* Card BG with transparency */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #F2FFF6;
}

.page-news__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  color: #57E38D; /* Glow */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-news__intro-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
}

.page-news__section-padding {
  padding: 60px 20px;
}

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

.page-news__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  color: #57E38D; /* Glow */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-news__section-description {
  font-size: 1.05em;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-news__news-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-news__card-image {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

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

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

.page-news__card-title a {
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__card-title a:hover {
  color: #57E38D; /* Glow */
}

.page-news__card-meta {
  font-size: 0.9em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 15px;
}

.page-news__card-text {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news__card-link {
  display: inline-block;
  color: #57E38D; /* Glow */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-news__card-link:hover {
  text-decoration: underline;
  color: #F2C14E; /* Gold */
}

.page-news__view-all-wrapper {
  text-align: center;
  margin-top: 50px;
}

.page-news__btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-news__btn--primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Text Main */
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-news__btn--secondary {
  background-color: transparent;
  color: #57E38D; /* Glow */
  border: 2px solid #57E38D; /* Glow */
}

.page-news__btn--secondary:hover {
  background-color: #57E38D;
  color: #08160F; /* Background */
}

.page-news__dark-section {
  background-color: #0A4B2C; /* Deep Green */
}

.page-news__flex-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.page-news__trend-item {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  flex: 1 1 calc(33% - 20px);
  min-width: 280px;
  text-align: center;
}

.page-news__trend-title {
  font-size: 1.6em;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-news__trend-text {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
}

.page-news__video-section {
  width: 100%;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding */
  text-align: center;
  background-color: #08160F; /* Background */
  box-sizing: border-box;
  overflow: hidden;
}

.page-news__video-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%; /* Important for desktop flex */
  box-sizing: border-box;
}

.page-news__video-wrapper {
  display: block;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  margin-top: 30px;
  cursor: pointer;
}

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

.page-news__faq-list {
  margin-top: 40px;
}

.page-news__faq-item {
  background-color: #11271B; /* Card BG */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  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: 20px 25px;
  cursor: pointer;
  font-size: 1.15em;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  background-color: #1E3A2A; /* Divider */
  border-bottom: 1px solid #2E7A4E; /* Border */
  transition: background-color 0.3s ease;
  list-style: none;
}

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

.page-news__faq-item[open] .page-news__faq-question {
  background-color: #0A4B2C; /* Deep Green */
}

.page-news__faq-qtext {
  flex-grow: 1;
}

.page-news__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #57E38D; /* Glow */
}

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

.page-news__cta-section {
  background-color: #0A4B2C; /* Deep Green */
  text-align: center;
}

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

.page-news__cta-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-news__cta-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-news__hero-section {
    padding: 40px 20px;
    padding-top: 10px;
  }

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

  .page-news__trend-item {
    flex: 1 1 calc(50% - 15px);
  }
}

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

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

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

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

  .page-news__section-padding {
    padding: 40px 15px;
  }

  .page-news__section-title {
    font-size: clamp(1.6em, 6vw, 2.2em);
  }

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

  .page-news__news-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile image responsiveness */
  .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__news-card, 
  .page-news__trend-item, 
  .page-news__video-container, 
  .page-news__video-wrapper, 
  .page-news__faq-item, 
  .page-news__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Mobile video responsiveness */
  .page-news video,
  .page-news__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-news__video-section {
    padding-top: 10px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Mobile button responsiveness */
  .page-news__btn,
  .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 {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-news__trend-item {
    flex: 1 1 100%;
  }

  .page-news__cta-title {
    font-size: clamp(1.6em, 7vw, 2.2em);
  }

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

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

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