.article-board-banner {
  background-image: url(/img/created/compressed_img/truck_at_night_2.jpg);
  background-size: cover; /* Adjust to your liking */
  background-position: center; /* Adjust to your liking */
  height: calc(50vh - 2px); /* Adjust to your liking */
  display: flex;
  justify-content: center;
  align-items: center;
}

.article-board-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.article-board-banner h2 {
  color: #fff; /* Set the color of your title */
  font-size: 5.5rem; /* Adjust to your liking */
  text-align: center;
  text-shadow: 2px 2px #000; /* Add a shadow to your title */
  z-index: 999;
}

.article-board-banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-shadow: 2px 2px 5px #000000;
}

.article-board-text {
  border-bottom: 2px solid var(--site-color-01);
  padding-bottom: 5vh;
}

.image-container2 {
  display: flex;
  align-items: center; /* Centers vertically */
  justify-content: center; /* Centers horizontally */
  height: 75vh; /* Sets the height of the container to the full viewport height */
}

/*CATEGORY SECTION*/

.article-board {
  width: 100%;
  padding-top: 20px;
  padding-bottom: 25px;
  background-color: #fff;
  display: flex;
  justify-content: center;
  column-gap: 50px;
  flex-wrap: wrap;
}

.article-board p {
  color: #000;
  text-align: center;
  padding-bottom: 40px;
  flex-basis: 100%;
  text-transform: uppercase;
  font-size: 2.2rem;
}

.read-this {
  padding-top: 15px;
}

.article-board-box {
  width: 35rem;
  height: 30rem;
  background-color: #111;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  margin: 5px;
  justify-content: center;
  align-items: center;
  position: relative;
  border-radius: 5px;
}

.article-board-box:nth-child(2) {
  background-image: url(/img/created/linkedin-article-pavement.jpeg);
}

.article-board-box:nth-child(3) {
  background-image: url(/img/created/nature-article/cracks.png);
  background-position: right;
}

.article-board-box:nth-child(4) {
  background-image: url(/img/created/nature-article/potholes.jpg);
  background-position: right;
}

.article-board-box:nth-child(5) {
  background-image: url(/img/created/nature-article/oldschoolpaving.jpg);
}

.article-board-box:nth-child(6) {
  background-image: url(/img/created/nature-article/Nature-article-img.jpeg);
}

.article-board-box:nth-child(7) {
  background-image: url(/img/created/linkedin_article_stretching_budget.png);
  background-position: right;
}

.article-board-box:nth-child(8) {
  background-image: url(/img/created/nature-article/culdesac-article.png);
}

.article-board-box:nth-child(9) {
  background-image: url(/img/created/linkedin_article_img/comparing-pp-and-permeable-pavements/comparing_linkedin_article.jpeg);
}

.article-board-box:nth-child(10) {
  background-image: url(/img/created/linkedin_article_img/clean_fuels/cleaner_fuels_linkedin_article.png);
}

.article-board-dark-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #000;
  opacity: 0.75;
  transition: all ease-in-out 500ms;
  border-radius: 5px;
}

.article-board-box:hover .article-board-dark-overlay {
  opacity: 0;
}

.article-board-box h3 {
  font-size: 2.6rem;
  line-height: 1.2;
  text-align: center;
  text-shadow: -4px 4px 8px #000;
  z-index: 100;
  display: block;
}

.article-board-box h4 {
  font-size: 2rem;
  line-height: 1.2;
  text-align: center;
  text-shadow: -2px 2px 4px #000;
  z-index: 100;
  display: block;
}
