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

/* Custom Colors */
:root {
  --page-bg-color: #08160F;
  --card-bg-color: #11271B;
  --text-main-color: #F2FFF6;
  --text-secondary-color: #A7D9B8;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
}

.page-news-industry-trends {
  background-color: var(--page-bg-color);
  color: var(--text-main-color);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Hero Section */
.page-news-industry-trends__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  box-sizing: border-box;
  overflow: hidden;
}

.page-news-industry-trends__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
  box-sizing: border-box;
}

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

.page-news-industry-trends__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-news-industry-trends__main-title {
  font-weight: bold;
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Using clamp for responsive H1 */
}

.page-news-industry-trends__description {
  font-size: 1.1rem;
  color: var(--text-secondary-color);
  margin-bottom: 30px;
}

/* CTA Button */
.page-news-industry-trends__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-news-industry-trends__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-news-industry-trends__cta-button--centered {
  display: block;
  margin: 40px auto 20px auto;
  max-width: 300px;
  text-align: center;
}

/* Sections */
.page-news-industry-trends__section {
  padding: 80px 20px;
  box-sizing: border-box;
}

.page-news-industry-trends__section--dark-bg {
  background-color: var(--deep-green-color);
}

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

.page-news-industry-trends__section-title {
  font-size: 2.5rem;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 50px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-news-industry-trends__text-block {
  font-size: 1.05rem;
  color: var(--text-secondary-color);
  margin-bottom: 25px;
  text-align: justify;
}

.page-news-industry-trends__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  object-fit: cover;
}

/* Grid Layout for Cards */
.page-news-industry-trends__grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-news-industry-trends__card {
  background-color: var(--card-bg-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-news-industry-trends__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-news-industry-trends__card-title {
  font-size: 1.6rem;
  color: var(--text-main-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-news-industry-trends__card-text {
  font-size: 0.95rem;
  color: var(--text-secondary-color);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news-industry-trends__card-image {
  width: 100%;
  max-width: 400px; /* Ensure card images are not tiny */
  height: auto;
  display: block;
  border-radius: 6px;
  margin-top: 20px;
  object-fit: cover;
}

/* FAQ Section */
.page-news-industry-trends__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-news-industry-trends__faq-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-news-industry-trends__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--text-main-color);
  background-color: var(--deep-green-color);
  transition: background-color 0.3s ease;
}

.page-news-industry-trends__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-news-industry-trends__faq-item summary:hover {
  background-color: var(--border-color);
}

.page-news-industry-trends__faq-qtext {
  flex-grow: 1;
}

.page-news-industry-trends__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-news-industry-trends__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: var(--text-secondary-color);
  border-top: 1px solid var(--divider-color);
}

.page-news-industry-trends__faq-answer p {
  margin-bottom: 10px;
  color: var(--text-secondary-color);
}

.page-news-industry-trends__faq-answer p:last-child {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-news-industry-trends__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-news-industry-trends__section-title {
    font-size: 2rem;
  }
  .page-news-industry-trends__grid-layout {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-news-industry-trends__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Ensure small top padding */
  }
  .page-news-industry-trends__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-news-industry-trends__description {
    font-size: 1rem;
  }
  .page-news-industry-trends__section {
    padding: 60px 15px;
  }
  .page-news-industry-trends__section-title {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }
  .page-news-industry-trends__grid-layout {
    grid-template-columns: 1fr;
  }
  .page-news-industry-trends__card {
    padding: 25px;
  }
  .page-news-industry-trends__card-title {
    font-size: 1.4rem;
  }
  .page-news-industry-trends__faq-item summary {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-news-industry-trends__faq-answer {
    padding: 15px 20px;
    font-size: 0.95rem;
  }

  /* Mobile image, video, button responsive requirements */
  .page-news-industry-trends img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-news-industry-trends__hero-image-wrapper,
  .page-news-industry-trends__container,
  .page-news-industry-trends__section,
  .page-news-industry-trends__card,
  .page-news-industry-trends__faq-list,
  .page-news-industry-trends__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-news-industry-trends__cta-button,
  .page-news-industry-trends a[class*="button"],
  .page-news-industry-trends 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-industry-trends__cta-button--centered {
    margin-left: auto;
    margin-right: auto;
  }
  .page-news-industry-trends__cta-buttons,
  .page-news-industry-trends__button-group,
  .page-news-industry-trends__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;
  }
  .page-news-industry-trends__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}