/* style/resources-2024-trends-report.css */
:root {
  --primary-color: #007bff;
  --secondary-color: #28a745;
  --text-color-dark-bg: #ffffff;
  --text-color-light-bg: #333333;
  --background-dark: #121212; /* Body background from shared.css */
  --background-light: #f8f9fa;
  --card-background: #ffffff;
  --border-color: #e0e0e0;
}

.page-resources-2024-trends-report {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark-bg); /* Default text color for dark body background */
  background-color: var(--background-dark);
}

.page-resources-2024-trends-report__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Fixed navigation bar spacing for the first content section */
.page-resources-2024-trends-report__intro-section {
  padding-top: 120px; /* Desktop: Adjust based on fixed header height */
  padding-bottom: 60px;
  background-color: var(--background-dark);
  color: var(--text-color-dark-bg);
  text-align: center;
}

.page-resources-2024-trends-report__dark-bg {
  background-color: var(--background-dark);
  color: var(--text-color-dark-bg);
}

.page-resources-2024-trends-report__light-bg {
  background-color: var(--background-light);
  color: var(--text-color-light-bg);
}

.page-resources-2024-trends-report__page-title {
  font-size: 3.2em;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--text-color-dark-bg);
}

.page-resources-2024-trends-report__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-2024-trends-report__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin-bottom: 40px;
}

.page-resources-2024-trends-report__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-resources-2024-trends-report__btn-primary {
  background-color: var(--primary-color);
  color: var(--text-color-dark-bg);
}

.page-resources-2024-trends-report__btn-primary:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-resources-2024-trends-report__btn-secondary {
  background-color: var(--secondary-color);
  color: var(--text-color-dark-bg);
}

.page-resources-2024-trends-report__btn-secondary:hover {
  background-color: #218838;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-resources-2024-trends-report__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 40px;
  text-align: center;
}

.page-resources-2024-trends-report__core-focus-section,
.page-resources-2024-trends-report__promotions-section,
.page-resources-2024-trends-report__related-articles-section,
.page-resources-2024-trends-report__faq-section {
  padding: 60px 0;
}

.page-resources-2024-trends-report__core-focus-section .page-resources-2024-trends-report__section-title,
.page-resources-2024-trends-report__related-articles-section .page-resources-2024-trends-report__section-title {
  color: var(--text-color-light-bg);
}

.page-resources-2024-trends-report__promotions-section .page-resources-2024-trends-report__section-title,
.page-resources-2024-trends-report__faq-section .page-resources-2024-trends-report__section-title {
  color: var(--text-color-dark-bg);
}

.page-resources-2024-trends-report__core-focus-section p {
  color: var(--text-color-light-bg);
  max-width: 900px;
  margin: 0 auto 30px auto;
  text-align: center;
}

.page-resources-2024-trends-report__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-2024-trends-report__feature-card {
  background-color: var(--card-background);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  color: var(--text-color-light-bg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-2024-trends-report__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-resources-2024-trends-report__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-resources-2024-trends-report__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 20px;
}

.page-resources-2024-trends-report__feature-card p {
  font-size: 0.95em;
  line-height: 1.7;
  color: var(--text-color-light-bg);
}

.page-resources-2024-trends-report__conclusion-text {
  margin-top: 40px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  color: var(--text-color-light-bg);
}

.page-resources-2024-trends-report__promotions-section .page-resources-2024-trends-report__conclusion-text {
  color: var(--text-color-dark-bg);
}

.page-resources-2024-trends-report__promotions-section .page-resources-2024-trends-report__cta-button {
  margin-top: 40px;
}

.page-resources-2024-trends-report__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-2024-trends-report__promo-card {
  background-color: var(--card-background);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  color: var(--text-color-light-bg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-2024-trends-report__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-resources-2024-trends-report__promo-card p {
  font-size: 0.95em;
  line-height: 1.7;
  color: var(--text-color-light-bg);
  margin-bottom: 20px;
}

.page-resources-2024-trends-report__related-articles-section p {
  color: var(--text-color-light-bg);
  max-width: 900px;
  margin: 0 auto 30px auto;
  text-align: center;
}

.page-resources-2024-trends-report__article-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-2024-trends-report__article-card {
  background-color: var(--card-background);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 25px;
  color: var(--text-color-light-bg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-resources-2024-trends-report__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-resources-2024-trends-report__article-card .page-resources-2024-trends-report__card-image {
  margin-bottom: 15px;
  max-height: 180px;
  object-fit: cover;
  width: 100%;
}

.page-resources-2024-trends-report__article-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary-color);
  flex-grow: 1;
}

.page-resources-2024-trends-report__article-title a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources-2024-trends-report__article-title a:hover {
  color: #0056b3;
  text-decoration: underline;
}

.page-resources-2024-trends-report__article-excerpt {
  font-size: 0.9em;
  line-height: 1.6;
  color: var(--text-color-light-bg);
  margin-bottom: 15px;
}

.page-resources-2024-trends-report__read-more {
  display: inline-block;
  margin-top: auto;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-2024-trends-report__read-more:hover {
  color: #218838;
  text-decoration: underline;
}

/* FAQ Section */
.page-resources-2024-trends-report__faq-section p {
  color: var(--text-color-dark-bg);
  max-width: 900px;
  margin: 0 auto 30px auto;
  text-align: center;
}

.page-resources-2024-trends-report__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-resources-2024-trends-report__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-resources-2024-trends-report__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  color: var(--text-color-light-bg);
}

.page-resources-2024-trends-report__faq-item.active .page-resources-2024-trends-report__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: var(--card-background);
  border-radius: 0 0 5px 5px;
}

.page-resources-2024-trends-report__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--card-background);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-color-light-bg);
}

.page-resources-2024-trends-report__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-resources-2024-trends-report__faq-question:active {
  background: #eeeeee;
}

.page-resources-2024-trends-report__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-color-light-bg);
}