/* style/news.css */
.page-news {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

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

.page-news__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: #26A9E0; /* Brand color for titles */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-news__sub-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-news__description,
.page-news p,
.page-news li {
  font-size: 17px;
  margin-bottom: 15px;
}

.page-news ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-news__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* body handles header offset, this is decorative top padding */
  overflow: hidden;
}

.page-news__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  position: relative;
}

.page-news__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6);
}

.page-news__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 900px;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-news__main-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.page-news__hero-content .page-news__description {
  font-size: clamp(18px, 2.5vw, 22px);
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-news__cta-button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
  box-sizing: border-box;
  max-width: 100%;
  width: auto;
}

.page-news__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-news__btn-primary:hover {
  background-color: #1a8cc7;
  transform: translateY(-2px);
}

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

.page-news__btn-secondary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.page-news__latest-news-section {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent background for contrast */
  padding-bottom: 80px;
}

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

.page-news__news-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-news__news-card:hover {
  transform: translateY(-5px);
}

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

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

.page-news__news-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-news__news-title a {
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__news-title a:hover {
  color: #26A9E0;
}

.page-news__news-meta {
  font-size: 14px;
  color: #bbbbbb;
  margin-bottom: 15px;
}

.page-news__news-excerpt {
  font-size: 16px;
  color: #e0e0e0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news__read-more-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  align-self: flex-start;
}

.page-news__read-more-link:hover {
  color: #1a8cc7;
  text-decoration: underline;
}

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

.page-news__video-highlight-section {
  padding-top: 10px; /* Decorative top padding, body handles header offset */
  background-color: rgba(255, 255, 255, 0.03);
}

.page-news__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin-bottom: 20px;
  border-radius: 10px;
}

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

.page-news__video-description {
  text-align: center;
  margin-bottom: 30px;
  font-size: 17px;
  color: #e0e0e0;
}

.page-news__in-depth-section,
.page-news__industry-trends-section {
  background-color: rgba(255, 255, 255, 0.05);
}

.page-news__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-news__faq-section {
  background-color: rgba(255, 255, 255, 0.03);
}

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

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

.page-news__faq-item[open] {
  background-color: rgba(255, 255, 255, 0.12);
}

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 18px;
  font-weight: 600;
  color: #FFFFFF;
  cursor: pointer;
  list-style: none;
}

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

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

.page-news__faq-toggle {
  font-size: 24px;
  margin-left: 15px;
  line-height: 1;
}

.page-news__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 16px;
  color: #e0e0e0;
}

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

.page-news__cta-section .page-news__section-title {
  color: #FFFFFF;
}

.page-news__cta-section .page-news__description {
  color: #f0f0f0;
  margin-bottom: 40px;
  font-size: 18px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-news__section {
    padding: 40px 0;
  }

  .page-news__container {
    padding: 0 15px;
  }

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

  .page-news__main-title {
    font-size: 32px;
  }

  .page-news__hero-content .page-news__description {
    font-size: 16px;
  }

  .page-news__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 10px; /* For stacked buttons */
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-news__cta-buttons, .page-news__button-group, .page-news__btn-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

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

  .page-news__news-image,
  .page-news__content-image,
  .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,
  .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;
    overflow: hidden !important;
  }
  
  .page-news__video-section {
    padding-top: 10px !important;
  }

  .page-news__faq-question {
    font-size: 16px;
    padding: 15px;
  }

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