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

:root {
  --primary-color: #FFD700;
  --secondary-color: #8B0000;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-light: #f9f9f9;
  --border-color: #e0e0e0;
}

.page-resources-latest-industry-news {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
  background-color: #ffffff; /* Default body background is white, so use dark text */
}

.page-resources-latest-industry-news__hero-banner {
  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: #f0f0f0; /* Light background for the hero section */
}

.page-resources-latest-industry-news__hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 30px;
}

.page-resources-latest-industry-news__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-latest-industry-news__hero-title {
  font-size: 2.8em;
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-resources-latest-industry-news__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-latest-industry-news__cta-button:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-resources-latest-industry-news__cta-button--bottom {
    margin-top: 40px;
}

.page-resources-latest-industry-news__section {
  padding: 60px 20px;
  background-color: #ffffff;
}

.page-resources-latest-industry-news__section:nth-of-type(even) {
  background-color: var(--background-light);
}

.page-resources-latest-industry-news__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-resources-latest-industry-news__section-title {
  font-size: 2.2em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-resources-latest-industry-news__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.page-resources-latest-industry-news__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  line-height: 1.7;
  color: var(--text-color-dark);
}

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

.page-resources-latest-industry-news__grid--three-cols {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-resources-latest-industry-news__grid-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-latest-industry-news__grid-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-resources-latest-industry-news__item-title {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-top: 20px;
  margin-bottom: 15px;
}

.page-resources-latest-industry-news__image {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-resources-latest-industry-news__image--full-width {
  margin-bottom: 30px;
}

.page-resources-latest-industry-news__card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-resources-latest-industry-news__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-resources-latest-industry-news__card-image {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 15px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-resources-latest-industry-news__card-title {
  font-size: 1.3em;
  color: var(--secondary-color);
  margin-top: 10px;
  margin-bottom: 10px;
}

.page-resources-latest-industry-news__card-description {
  font-size: 0.95em;
  color: var(--text-color-dark);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources-latest-industry-news__card-button {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-latest-industry-news__card-button:hover {
  background: var(--secondary-color);
}

.page-resources-latest-industry-news__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-resources-latest-industry-news__list-item {
  background: #ffffff;
  border-left: 5px solid var(--primary-color);
  margin-bottom: 15px;
  padding: 15px 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  font-size: 1.05em;
  color: var(--text-color-dark);
}

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

@media (max-width: 768px) {
  .page-resources-latest-industry-news__hero-banner {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-latest-industry-news__hero-title {
    font-size: 2em;
  }
  .page-resources-latest-industry-news__hero-description {
    font-size: 1em;
  }
  .page-resources-latest-industry-news__cta-button {
    padding: 12px 30px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
  .page-resources-latest-industry-news__section {
    padding: 40px 0;
  }
  .page-resources-latest-industry-news__container {
    padding: 0 15px;
  }
  .page-resources-latest-industry-news__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-resources-latest-industry-news__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-resources-latest-industry-news__grid-item,
  .page-resources-latest-industry-news__card {
    padding: 20px;
  }
  .page-resources-latest-industry-news__item-title,
  .page-resources-latest-industry-news__card-title {
    font-size: 1.3em;
  }
  .page-resources-latest-industry-news__image,
  .page-resources-latest-industry-news__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px;
    min-height: 150px;
  }
  .page-resources-latest-industry-news__section,
  .page-resources-latest-industry-news__card,
  .page-resources-latest-industry-news__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-latest-industry-news__card-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
}

@media (max-width: 480px) {
  .page-resources-latest-industry-news__hero-title {
    font-size: 1.8em;
  }
  .page-resources-latest-industry-news__section-title {
    font-size: 1.5em;
  }
  .page-resources-latest-industry-news__cta-button {
    font-size: 0.9em;
    padding: 10px 20px;
  }
}