/* style/industry-news.css */
.page-industry-news {
  font-family: 'Arial', sans-serif;
  color: #1A2E5B; /* Dark blue for primary text */
  line-height: 1.7;
  background-color: #f9f9f9;
}

.page-industry-news__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #1A2E5B 0%, #3a5c9a 100%); /* Gradient background with main color */
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-industry-news__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-industry-news__hero h1 {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFC107; /* Brighter accent for title */
  line-height: 1.2;
}

.page-industry-news__hero p {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-industry-news__hero-image-wrapper {
  position: absolute;
  bottom: -50px; /* Adjust as needed */
  right: -50px; /* Adjust as needed */
  opacity: 0.1;
  z-index: 0;
}

.page-industry-news__hero-image {
  width: 500px;
  height: auto;
  transform: rotate(15deg);
}

.page-industry-news__cta-button {
  display: inline-block;
  background-color: #FF8C00; /* Auxiliary color for CTA */
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.05em;
  border: none;
  cursor: pointer;
}

.page-industry-news__cta-button:hover {
  background-color: #e67e00;
  transform: translateY(-2px);
}

.page-industry-news__cta-button--large {
  padding: 15px 35px;
  font-size: 1.2em;
}

.page-industry-news__section {
  max-width: 1000px;
  margin: 40px auto;
  padding: 30px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-industry-news__section h2 {
  font-size: 2em;
  color: #1A2E5B;
  margin-bottom: 25px;
  text-align: center;
  position: relative;
}

.page-industry-news__section h2::after {
  content: '';
  width: 60px;
  height: 4px;
  background-color: #FF8C00;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  border-radius: 2px;
}

.page-industry-news__section h3 {
  font-size: 1.5em;
  color: #1A2E5B;
  margin-top: 30px;
  margin-bottom: 15px;
  border-left: 5px solid #FF8C00;
  padding-left: 15px;
}

.page-industry-news__section p {
  margin-bottom: 15px;
  color: #333333;
}

.page-industry-news__image-with-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 30px 0;
  text-align: center;
}

.page-industry-news__image--large {
  max-width: 80%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
}

.page-industry-news__image--centered {
  display: block;
  margin: 30px auto;
  max-width: 70%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-industry-news__image--responsive {
  max-width: 90%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-industry-news__image--full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-industry-news__related-articles h2 {
  margin-bottom: 30px;
}

.page-industry-news__article-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-industry-news__article-item {
  background-color: #f0f4f8;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-industry-news__article-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-industry-news__article-item h3 {
  font-size: 1.3em;
  margin-top: 0;
  margin-bottom: 10px;
  border-left: none;
  padding-left: 0;
}

.page-industry-news__article-item h3 a {
  color: #1A2E5B;
  text-decoration: none;
}

.page-industry-news__article-item h3 a:hover {
  color: #FF8C00;
}

.page-industry-news__article-item p {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
}

.page-industry-news__read-more {
  display: inline-block;
  background-color: #1A2E5B;
  color: #ffffff;
  padding: 8px 15px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}

.page-industry-news__read-more:hover {
  background-color: #3a5c9a;
}

/* Floating Ad Menu */
.page-industry-news__floating-ad-menu {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: rgba(26, 46, 91, 0.95); /* Main color with transparency */
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.page-industry-news__ad-button {
  display: block;
  background-color: #FF8C00; /* Auxiliary color */
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1em;
}

.page-industry-news__ad-button:hover {
  background-color: #e67e00;
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-industry-news__hero {
    padding: 40px 15px;
  }

  .page-industry-news__hero h1 {
    font-size: 2em;
  }

  .page-industry-news__hero p {
    font-size: 1em;
  }

  .page-industry-news__hero-image-wrapper {
    display: none; /* Hide background image on smaller screens */
  }

  .page-industry-news__section {
    margin: 20px auto;
    padding: 20px;
  }

  .page-industry-news__section h2 {
    font-size: 1.7em;
  }

  .page-industry-news__section h3 {
    font-size: 1.3em;
  }

  .page-industry-news__image--large, .page-industry-news__image--centered, .page-industry-news__image--responsive, .page-industry-news__image--full-width {
    max-width: 100%;
  }

  .page-industry-news__article-list {
    grid-template-columns: 1fr;
  }

  .page-industry-news__floating-ad-menu {
    right: 10px;
    bottom: 10px;
    padding: 10px;
  }

  .page-industry-news__ad-button {
    padding: 8px 15px;
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .page-industry-news__hero h1 {
    font-size: 1.8em;
  }

  .page-industry-news__hero p {
    font-size: 0.9em;
  }

  .page-industry-news__section h2 {
    font-size: 1.5em;
  }

  .page-industry-news__section h3 {
    font-size: 1.2em;
  }
}