/* style/resources-latest-industry-trends.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --login-color: #EA7C07;
  --text-dark: #333333;
  --text-light: #ffffff;
  --border-color: #e0e0e0;
  --bg-light: #f9f9f9;
  --bg-white: #ffffff;
}

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

.page-resources-latest-industry-trends__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-resources-latest-industry-trends__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-resources-latest-industry-trends__hero-section .page-resources-latest-industry-trends__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.page-resources-latest-industry-trends__hero-content {
  max-width: 800px;
  margin-bottom: 30px;
}

.page-resources-latest-industry-trends__main-heading {
  font-size: 3em;
  margin-bottom: 20px;
  color: var(--text-light);
  line-height: 1.2;
}

.page-resources-latest-industry-trends__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-resources-latest-industry-trends__hero-image-wrapper {
  width: 100%;
  max-width: 1000px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources-latest-industry-trends__hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* General Section Styles */
.page-resources-latest-industry-trends__section {
  padding: 80px 0;
}

.page-resources-latest-industry-trends__dark-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-resources-latest-industry-trends__light-bg {
  background-color: var(--bg-white);
  color: var(--text-dark);
}

.page-resources-latest-industry-trends__section-heading {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: inherit;
}

.page-resources-latest-industry-trends__highlight {
  color: var(--login-color);
}

.page-resources-latest-industry-trends__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-latest-industry-trends__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

/* Card Styles */
.page-resources-latest-industry-trends__card {
  background-color: var(--bg-white);
  color: var(--text-dark);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-resources-latest-industry-trends__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.page-resources-latest-industry-trends__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-resources-latest-industry-trends__card-text {
  font-size: 1em;
  line-height: 1.6;
  flex-grow: 1;
}

.page-resources-latest-industry-trends__card-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 8px;
  object-fit: cover;
}

/* CTA Buttons */
.page-resources-latest-industry-trends__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-latest-industry-trends__btn-primary {
  background: var(--primary-color);
  color: var(--text-light);
  border: 2px solid transparent;
}

.page-resources-latest-industry-trends__btn-primary:hover {
  background: #1e87b7;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-resources-latest-industry-trends__btn-secondary {
  background: var(--text-light);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-resources-latest-industry-trends__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-light);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-resources-latest-industry-trends__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-latest-industry-trends__main-heading {
    font-size: 2.5em;
  }

  .page-resources-latest-industry-trends__section-heading {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-latest-industry-trends__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-latest-industry-trends__hero-section .page-resources-latest-industry-trends__container {
    gap: 20px;
  }

  .page-resources-latest-industry-trends__main-heading {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-resources-latest-industry-trends__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-resources-latest-industry-trends__section {
    padding: 50px 0;
  }

  .page-resources-latest-industry-trends__section-heading {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-resources-latest-industry-trends__paragraph {
    font-size: 1em;
  }

  .page-resources-latest-industry-trends__grid {
    grid-template-columns: 1fr;
  }

  .page-resources-latest-industry-trends__card {
    padding: 20px;
  }

  .page-resources-latest-industry-trends__card-title {
    font-size: 1.3em;
  }

  /* Image responsive rules */
  .page-resources-latest-industry-trends img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-resources-latest-industry-trends__container,
  .page-resources-latest-industry-trends__section,
  .page-resources-latest-industry-trends__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button responsive rules */
  .page-resources-latest-industry-trends__cta-button,
  .page-resources-latest-industry-trends__btn-primary,
  .page-resources-latest-industry-trends__btn-secondary,
  .page-resources-latest-industry-trends a[class*="button"],
  .page-resources-latest-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-resources-latest-industry-trends__button-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important;
    gap: 15px;
  }
}