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

:root {
  --primary-color: #017439;
  --auxiliary-color: #FFFFFF;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --button-register-bg: #C30808;
  --button-login-bg: #C30808;
  --button-text-register-login: #FFFF00;
  --background-color: #FFFFFF;
}

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

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

.page-news-industry-insights__section {
  padding: 60px 0;
  text-align: center;
}

.page-news-industry-insights__section-title {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-news-industry-insights__section-title--white {
  color: var(--text-color-light);
}

.page-news-industry-insights__paragraph {
  font-size: 17px;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-color-dark);
}

.page-news-industry-insights__paragraph--white {
  color: var(--text-color-light);
}

/* Hero Section */
.page-news-industry-insights__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: linear-gradient(135deg, var(--primary-color) 0%, #004d2c 100%); /* Adjusted gradient for better contrast */
  color: var(--text-color-light);
  overflow: hidden;
}

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

.page-news-industry-insights__hero-image {
  width: 100%;
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-news-industry-insights__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.page-news-industry-insights__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--text-color-light);
}

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

.page-news-industry-insights__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-register-bg); /* Using specific color for register */
  color: var(--button-text-register-login); /* Using specific color for font */
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: 2px solid var(--button-text-register-login);
}

.page-news-industry-insights__cta-button:hover {
  background: #a80707; /* Slightly darker red on hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Dark background section */
.page-news-industry-insights__dark-section {
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

.page-news-industry-insights__dark-section .page-news-industry-insights__section-title {
  color: var(--text-color-light);
}

.page-news-industry-insights__dark-section .page-news-industry-insights__paragraph {
  color: var(--text-color-light);
}

/* Card Grid Layouts */
.page-news-industry-insights__grid-2-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-news-industry-insights__grid-3-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-news-industry-insights__card {
  background: var(--auxiliary-color);
  color: var(--text-color-dark);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-news-industry-insights__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-news-industry-insights__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency in cards */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-news-industry-insights__card-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-news-industry-insights__card-text {
  font-size: 16px;
  color: var(--text-color-dark);
}

/* Feature List */
.page-news-industry-insights__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-news-industry-insights__list-item {
  background: var(--auxiliary-color);
  color: var(--text-color-dark);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  border-left: 5px solid var(--primary-color);
}

.page-news-industry-insights__list-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* Image Content Grid */
.page-news-industry-insights__image-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
  text-align: left;
}

.page-news-industry-insights__image-wrapper {
  padding: 20px;
  background: var(--auxiliary-color);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-news-industry-insights__text-block {
  padding: 30px;
  background: var(--auxiliary-color);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: var(--text-color-dark);
}

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

/* CTA Section */
.page-news-industry-insights__cta-section {
  background-color: var(--primary-color);
  color: var(--text-color-light);
  padding: 80px 0;
}

.page-news-industry-insights__cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-news-industry-insights__btn-primary {
  background: var(--button-register-bg);
  color: var(--button-text-register-login);
  border: 2px solid var(--button-text-register-login);
}

.page-news-industry-insights__btn-primary:hover {
  background: #a80707;
}

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

.page-news-industry-insights__btn-secondary:hover {
  background: #f0f0f0;
  color: #004d2c;
}

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

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

  .page-news-industry-insights__grid-2-cols,
  .page-news-industry-insights__grid-3-cols,
  .page-news-industry-insights__image-content-grid {
    grid-template-columns: 1fr;
  }

  .page-news-industry-insights__card-image {
    height: 180px;
  }

  .page-news-industry-insights__list-title {
    font-size: 22px;
  }
}

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

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

  .page-news-industry-insights__intro-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-news-industry-insights__section {
    padding: 40px 0;
  }

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

  .page-news-industry-insights__paragraph {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .page-news-industry-insights__card-image {
    height: 160px;
  }

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

  .page-news-industry-insights__list-item {
    padding: 20px;
  }

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

  .page-news-industry-insights__cta-button,
  .page-news-industry-insights__btn-primary,
  .page-news-industry-insights__btn-secondary,
  .page-news-industry-insights a[class*="button"],
  .page-news-industry-insights 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-insights__cta-buttons,
  .page-news-industry-insights__button-group,
  .page-news-industry-insights__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important;
    gap: 15px;
  }

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

  /* Images responsiveness */
  .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__image-wrapper,
  .page-news-industry-insights__text-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}