/* style/news.css */
.page-news {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #f8f9fa; /* Light background for the page content itself */
}

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

.page-news__hero-section {
  position: relative;
  padding: 120px 0 80px 0;
  text-align: center;
  background-color: #0A0A0A;
  color: #ffffff;
  padding-top: var(--header-offset, 120px);
}

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

.page-news__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-news__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #0A0A0A;
}

.page-news__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #555555;
}

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

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

.page-news__article-card {
  background-color: #ffffff;
  border-radius: 8px;
  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 6px 20px rgba(0, 0, 0, 0.15);
}

.page-news__article-image {
  width: 100%;
  height: 250px;
  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;
  margin-bottom: 15px;
  color: #0A0A0A;
  line-height: 1.3;
}

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

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

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

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

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

.page-news__industry-insights {
  padding: 80px 0;
  background-color: #0A0A0A;
  color: #ffffff;
}

.page-news__industry-insights .page-news__section-title,
.page-news__industry-insights .page-news__section-description {
  color: #ffffff;
}

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

.page-news__insight-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.page-news__insight-title {
  font-size: 1.3em;
  margin-bottom: 15px;
  color: #E0B40C;
}

.page-news__insight-text {
  font-size: 0.95em;
  color: #f0f0f0;
}

.page-news__promotional-highlights {
  padding: 80px 0;
  background-color: #f0f2f5;
}

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

.page-news__promo-card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-news__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  margin-bottom: 25px;
}

.page-news__promo-title {
  font-size: 1.5em;
  color: #0A0A0A;
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-news__promo-text {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 25px;
  padding: 0 20px;
}

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

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

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

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #0A0A0A;
  cursor: pointer;
  background-color: #f9f9f9;
  transition: background-color 0.3s ease;
}

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

.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;
  color: #555555;
  background-color: #ffffff;
}

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

.page-news__faq-answer p {
  margin-bottom: 0;
  padding-bottom: 10px;
}

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

.page-news__cta-section .page-news__section-title,
.page-news__cta-section .page-news__section-description {
  color: #ffffff;
}

.page-news__btn-primary,
.page-news__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  margin: 10px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-news__btn-primary {
  background-color: #E0B40C;
  color: #0A0A0A;
  border: 2px solid #E0B40C;
}

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

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

.page-news__btn-secondary:hover {
  background-color: #E0B40C;
  color: #0A0A0A;
}

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

@media (max-width: 768px) {
  .page-news__hero-section {
    padding: 80px 0 60px 0;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-news__hero-title {
    font-size: 2.2em;
  }
  .page-news__hero-description {
    font-size: 1em;
    padding: 0 15px;
  }
  .page-news__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-news__section-description {
    font-size: 0.95em;
    margin-bottom: 40px;
    padding: 0 15px;
  }
  .page-news__article-grid,
  .page-news__insights-grid,
  .page-news__promo-cards {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }
  .page-news__article-image,
  .page-news__promo-image {
    height: 200px;
  }
  .page-news__article-content,
  .page-news__insight-card,
  .page-news__promo-card,
  .page-news__faq-item {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
  }
  .page-news__latest-articles, 
  .page-news__industry-insights, 
  .page-news__promotional-highlights, 
  .page-news__faq-section, 
  .page-news__cta-section {
    padding: 50px 0;
  }
  
  /* Images 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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Buttons responsiveness */
  .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;
    margin: 10px 0 !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-news__cta-section .page-news__container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .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;
    overflow: hidden !important;
  }

  /* FAQ specific mobile adjustments */
  .page-news__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-news__faq-answer {
    padding: 0 20px;
  }
  .page-news__faq-item.active .page-news__faq-answer {
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .page-news__hero-title {
    font-size: 1.8em;
  }
  .page-news__section-title {
    font-size: 1.5em;
  }
  .page-news__article-title {
    font-size: 1.2em;
  }
  .page-news__insight-title {
    font-size: 1.1em;
  }
  .page-news__promo-title {
    font-size: 1.3em;
  }
  .page-news__btn-primary,
  .page-news__btn-secondary {
    font-size: 1em;
    padding: 12px 25px;
  }
}