/* style/news-industry-insights.css */

:root {
  --primary-color: #CC0000;
  --secondary-color: #FFD700;
  --dark-bg-1: #0d0d0d;
  --light-text-color: #ffffff;
  --dark-text-color: #333333;
  --gray-light: #f1f3f5;
  --gray-medium: #e0e0e0;
  --gray-dark: #666666;
}

.page-news-industry-insights {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--light-text-color); /* Default text color for dark body background */
  background-color: var(--dark-bg-1);
}

/* Ensure page content is not hidden by fixed header */
.page-news-industry-insights__hero-section {
  padding-top: 10px; /* Desktop: Adjust based on actual header height */
}

.page-news-industry-insights__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-color: var(--dark-bg-1);
  color: var(--light-text-color);
}

.page-news-industry-insights__hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-news-industry-insights__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 30px;
}

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

.page-news-industry-insights__main-title {
  font-size: 42px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-news-industry-insights__hero-description {
  font-size: 18px;
  color: var(--light-text-color);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-news-industry-insights__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--light-text-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-news-industry-insights__cta-button:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  color: var(--dark-text-color);
}

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

.page-news-industry-insights__section-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-news-industry-insights__introduction-section {
  background-color: #1a1a1a;
  padding: 60px 0;
  color: var(--light-text-color);
}

.page-news-industry-insights__introduction-section p {
  font-size: 17px;
  margin-bottom: 15px;
  text-align: justify;
}

.page-news-industry-insights__introduction-section strong {
  color: var(--secondary-color);
}

.page-news-industry-insights__latest-news-section {
  background-color: var(--dark-bg-1);
  padding: 60px 0;
  color: var(--light-text-color);
}

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

.page-news-industry-insights__news-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-news-industry-insights__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

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

.page-news-industry-insights__news-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-news-industry-insights__news-title a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news-industry-insights__news-title a:hover {
  color: var(--primary-color);
}

.page-news-industry-insights__news-excerpt {
  font-size: 15px;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news-industry-insights__read-more-button {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary-color);
  color: var(--light-text-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 15px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.page-news-industry-insights__read-more-button:hover {
  background-color: var(--secondary-color);
  color: var(--dark-text-color);
}

.page-news-industry-insights__industry-analysis-section {
  background-color: #1a1a1a;
  padding: 60px 0;
  color: var(--light-text-color);
}

.page-news-industry-insights__content-block p {
  font-size: 17px;
  margin-bottom: 15px;
  text-align: justify;
}

.page-news-industry-insights__sub-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-news-industry-insights__content-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  margin: 25px 0;
  object-fit: cover;
}

.page-news-industry-insights__w88-announcements-section {
  background-color: var(--dark-bg-1);
  padding: 60px 0;
  color: var(--light-text-color);
}

.page-news-industry-insights__announcements-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.page-news-industry-insights__announcement-item {
  background-color: #1a1a1a;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news-industry-insights__announcement-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-news-industry-insights__announcement-image {
  width: 250px;
  height: 180px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 10px 0 0 10px;
}

.page-news-industry-insights__announcement-content {
  padding: 25px;
  flex-grow: 1;
}

.page-news-industry-insights__announcement-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-news-industry-insights__announcement-title a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news-industry-insights__announcement-title a:hover {
  color: var(--primary-color);
}

.page-news-industry-insights__announcement-date {
  font-size: 14px;
  color: var(--gray-dark);
  margin-bottom: 10px;
}

.page-news-industry-insights__announcement-excerpt {
  font-size: 15px;
  color: #cccccc;
  margin-bottom: 15px;
}

.page-news-industry-insights__cta-section {
  background-color: var(--primary-color);
  padding: 80px 0;
  text-align: center;
  color: var(--light-text-color);
}

.page-news-industry-insights__cta-section .page-news-industry-insights__section-title {
  color: var(--light-text-color);
  margin-bottom: 25px;
  text-shadow: none;
}

.page-news-industry-insights__cta-section p {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-news-industry-insights__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-news-industry-insights__btn-primary,
.page-news-industry-insights__btn-secondary {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-news-industry-insights__btn-primary {
  background: var(--secondary-color);
  color: var(--dark-text-color);
  border: 2px solid transparent;
}

.page-news-industry-insights__btn-primary:hover {
  background: #e0b800;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-news-industry-insights__btn-secondary {
  background: transparent;
  color: var(--light-text-color);
  border: 2px solid var(--light-text-color);
}

.page-news-industry-insights__btn-secondary:hover {
  background: var(--light-text-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-news-industry-insights__faq-section {
  background-color: #1a1a1a;
  padding: 60px 0;
  color: var(--light-text-color);
}

.page-news-industry-insights__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-news-industry-insights__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-news-industry-insights__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-news-industry-insights__faq-item.active .page-news-industry-insights__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #2a2a2a;
  border-radius: 0 0 5px 5px;
  color: #cccccc;
}

.page-news-industry-insights__faq-answer p {
    font-size: 16px;
}

.page-news-industry-insights__faq-answer a {
    color: var(--secondary-color);
    text-decoration: none;
}

.page-news-industry-insights__faq-answer a:hover {
    text-decoration: underline;
}

.page-news-industry-insights__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #1a1a1a;
  border: 1px solid #333333;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-news-industry-insights__faq-question:hover {
  background: #2a2a2a;
  border-color: #444444;
}

.page-news-industry-insights__faq-question:active {
  background: #3a3a3a;
}

.page-news-industry-insights__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--light-text-color);
}

.page-news-industry-insights__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  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: 28px;
  height: 28px;
}

.page-news-industry-insights__faq-item.active .page-news-industry-insights__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-news-industry-insights__main-title {
    font-size: 38px;
  }

  .page-news-industry-insights__section-title {
    font-size: 28px;
  }

  .page-news-industry-insights__news-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }

  .page-news-industry-insights__announcement-image {
    width: 200px;
    height: 150px;
  }

  .page-news-industry-insights__announcement-content {
    padding: 20px;
  }

  .page-news-industry-insights__announcement-title {
    font-size: 20px;
  }

  .page-news-industry-insights__btn-primary,
  .page-news-industry-insights__btn-secondary {
    padding: 12px 30px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-news-industry-insights__hero-section {
    padding-top: 10px !important; /* Mobile: Adjust based on actual header height */
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-news-industry-insights img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-news-industry-insights__section,
  .page-news-industry-insights__card,
  .page-news-industry-insights__container,
  .page-news-industry-insights__news-card,
  .page-news-industry-insights__announcement-item,
  .page-news-industry-insights__content-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-news-industry-insights__main-title {
    font-size: 30px;
  }

  .page-news-industry-insights__hero-description {
    font-size: 16px;
  }

  .page-news-industry-insights__cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-news-industry-insights__section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .page-news-industry-insights__introduction-section,
  .page-news-industry-insights__latest-news-section,
  .page-news-industry-insights__industry-analysis-section,
  .page-news-industry-insights__w88-announcements-section,
  .page-news-industry-insights__cta-section,
  .page-news-industry-insights__faq-section {
    padding: 40px 0;
  }

  .page-news-industry-insights__container {
    padding: 20px 15px;
  }

  .page-news-industry-insights__news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-news-industry-insights__news-title {
    font-size: 18px;
  }

  .page-news-industry-insights__news-excerpt {
    font-size: 14px;
  }

  .page-news-industry-insights__sub-title {
    font-size: 20px;
  }

  .page-news-industry-insights__announcement-item {
    flex-direction: column;
    border-radius: 10px;
  }

  .page-news-industry-insights__announcement-image {
    width: 100%;
    height: 180px;
    border-radius: 10px 10px 0 0;
  }

  .page-news-industry-insights__announcement-content {
    padding: 20px;
  }

  .page-news-industry-insights__announcement-title {
    font-size: 18px;
  }

  .page-news-industry-insights__announcement-excerpt {
    font-size: 14px;
  }

  .page-news-industry-insights__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-news-industry-insights__btn-primary,
  .page-news-industry-insights__btn-secondary {
    width: 100%;
    max-width: 100%;
    font-size: 15px;
    padding: 12px 20px;
    box-sizing: border-box;
  }

  .page-news-industry-insights__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-news-industry-insights__faq-question h3 {
    font-size: 16px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-news-industry-insights__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-news-industry-insights__faq-answer {
    padding: 0 15px;
  }
  
  .page-news-industry-insights__faq-item.active .page-news-industry-insights__faq-answer {
    padding: 15px !important;
  }
}