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

/* Body background is dark (#0a0a0a), so general text should be light. */
/* Main content areas with explicit backgrounds will define their own text colors. */
.page-news-latest-industry-trends {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for sections without specific background */
  line-height: 1.6;
}

.page-news-latest-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, body handles header offset */
  background-color: #0d0d0d;
  color: #ffffff;
  text-align: center;
}

.page-news-latest-industry-trends__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-news-latest-industry-trends__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-news-latest-industry-trends__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-news-latest-industry-trends__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.page-news-latest-industry-trends__description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-news-latest-industry-trends__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #1a1a1a; /* Darker background for content sections */
  color: #ffffff; /* Light text for dark background */
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  margin-top: -40px; /* Slightly overlap hero section */
  position: relative;
  z-index: 1;
}

.page-news-latest-industry-trends__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #26A9E0;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 600;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(38, 169, 224, 0.3);
}

.page-news-latest-industry-trends__sub-section-title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 500;
}

.page-news-latest-industry-trends__text-block {
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #e0e0e0;
}

.page-news-latest-industry-trends__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-news-latest-industry-trends__card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white for dark body bg */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
  color: #ffffff;
}

.page-news-latest-industry-trends__card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.15);
}

.page-news-latest-industry-trends__card-image {
  width: 100%;
  max-width: 400px; /* Max width for content images */
  height: auto;
  min-height: 200px; /* Minimum height for content images */
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
  display: block;
}

.page-news-latest-industry-trends__card-title {
  font-size: 1.35rem;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-news-latest-industry-trends__card-text {
  font-size: 0.95rem;
  color: #e0e0e0;
}

.page-news-latest-industry-trends__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-news-latest-industry-trends__list li {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.page-news-latest-industry-trends__cta-block {
  background-color: rgba(38, 169, 224, 0.15);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.page-news-latest-industry-trends__cta-text {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 500;
}

.page-news-latest-industry-trends__btn-primary,
.page-news-latest-industry-trends__btn-secondary,
.page-news-latest-industry-trends__cta-button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-news-latest-industry-trends__btn-primary,
.page-news-latest-industry-trends__cta-button {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-news-latest-industry-trends__btn-primary:hover,
.page-news-latest-industry-trends__cta-button:hover {
  background: #1e87b7;
  border-color: #1e87b7;
  transform: translateY(-3px);
}

.page-news-latest-industry-trends__btn-secondary {
  background: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  margin-left: 15px;
}

.page-news-latest-industry-trends__btn-secondary:hover {
  background: rgba(38, 169, 224, 0.1);
  color: #ffffff;
  transform: translateY(-3px);
}

.page-news-latest-industry-trends__faq-list {
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-news-latest-industry-trends__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  color: #ffffff;
}

.page-news-latest-industry-trends__faq-item summary {
  list-style: none; /* Hide default marker */
  cursor: pointer;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #26A9E0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

.page-news-latest-industry-trends__faq-item[open] .page-news-latest-industry-trends__faq-toggle {
  transform: rotate(45deg); /* Change + to X or similar */
}

.page-news-latest-industry-trends__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #e0e0e0;
}

.page-news-latest-industry-trends__cta-final {
  text-align: center;
  padding: 40px 20px;
  background-color: rgba(38, 169, 224, 0.1);
  border-radius: 10px;
  margin-top: 60px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.page-news-latest-industry-trends__cta-final .page-news-latest-industry-trends__cta-text {
  font-size: 1.4rem;
  margin-bottom: 25px;
  color: #ffffff;
  font-weight: 600;
}

/* Multiple buttons in final CTA */
.page-news-latest-industry-trends__cta-final .page-news-latest-industry-trends__cta-button:first-of-type {
  margin-right: 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-news-latest-industry-trends__hero-content {
    padding: 0 15px;
  }
  .page-news-latest-industry-trends__content-area {
    padding: 40px 15px;
  }
  .page-news-latest-industry-trends__grid-container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-news-latest-industry-trends img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-news-latest-industry-trends__section,
  .page-news-latest-industry-trends__card,
  .page-news-latest-industry-trends__container,
  .page-news-latest-industry-trends__hero-section,
  .page-news-latest-industry-trends__content-area,
  .page-news-latest-industry-trends__grid-container,
  .page-news-latest-industry-trends__cta-block,
  .page-news-latest-industry-trends__faq-list,
  .page-news-latest-industry-trends__cta-final {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important;
  }
  .page-news-latest-industry-trends__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  .page-news-latest-industry-trends__main-title {
    font-size: 2.2rem;
  }
  .page-news-latest-industry-trends__description {
    font-size: 1rem;
  }
  .page-news-latest-industry-trends__section-title {
    font-size: 1.8rem;
  }
  .page-news-latest-industry-trends__sub-section-title {
    font-size: 1.3rem;
  }
  .page-news-latest-industry-trends__cta-button,
  .page-news-latest-industry-trends__btn-primary,
  .page-news-latest-industry-trends__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 15px !important;
  }
  .page-news-latest-industry-trends__cta-final .page-news-latest-industry-trends__cta-button:first-of-type {
    margin-right: 0 !important;
  }
  .page-news-latest-industry-trends__cta-final {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .page-news-latest-industry-trends__faq-item summary {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-news-latest-industry-trends__faq-answer {
    padding: 0 20px 15px;
  }
  .page-news-latest-industry-trends__card-image {
    min-height: 200px !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .page-news-latest-industry-trends__card {
    padding: 20px;
  }
  .page-news-latest-industry-trends__list {
    margin-left: 0;
    padding-left: 20px;
  }
}

@media (max-width: 480px) {
  .page-news-latest-industry-trends__main-title {
    font-size: 1.8rem;
  }
  .page-news-latest-industry-trends__description {
    font-size: 0.9rem;
  }
  .page-news-latest-industry-trends__section-title {
    font-size: 1.5rem;
  }
  .page-news-latest-industry-trends__cta-text {
    font-size: 1.1rem;
  }
  .page-news-latest-industry-trends__btn-primary,
  .page-news-latest-industry-trends__btn-secondary,
  .page-news-latest-industry-trends__cta-button {
    font-size: 0.95rem;
    padding: 12px 20px;
  }
}