#fourgrid-section .dark-bg h2 {
  font-family: "Red Hat Display", sans-serif;
  margin-top: 16px;
  margin-bottom: 42px;
  color: #fff;
}

#fourgrid-section h3 {
  font-family: "Red Hat Display", sans-serif;
  font-size: 24px;
  color: #fff;
}

#fourgrid-section .dark-bg p,
#fourgrid-section .dark-bg ul {
  font-family: Lato, sans-serif;
  font-size: 16px;
  line-height: 1.95em;
  margin-bottom: 24px;
  color: #fff;
}

#fourgrid-section .dark-bg a {
  color: #fff !important;
  text-decoration: none;
}

#fourgrid-section a.cta-button {
  font-family: "Red Hat Display", sans-serif;
  font-size: 14px;
  font-weight: 600;
  background-color: #ffb838 !important;
  color: #151317 !important;
  border-radius: 100px;
  padding: 11px;
  width: 248px;
  text-align: center;
  text-decoration: none;
  display: block;
  box-sizing: border-box;
  transition: background 0.3s ease-in-out;
  margin: 50px 0;
}

#fourgrid-section a.cta-button:hover {
  background-color: #ffc356 !important;
}

#fourgrid-section {
  display: flex !important;
  align-items: stretch;
  flex-direction: row;
  flex-wrap: nowrap;
  box-sizing: border-box;
}

#fourgrid-section .section {
  width: 50%;
  height: auto;
  padding: 32px;
  box-sizing: border-box;
}

#fourgrid-section .about-section {
  width: 40%;
  min-width: 535px;
  padding: 35px 90px 90px;
}

#fourgrid-section .inventory-section {
  width: 60%;
  padding: 32px 32px 48px 32px;
}

#fourgrid-section .dark-bg {
  background: linear-gradient(90deg, #000000 0, #1a2549 65.97%);
  color: #fff !important;
}

#fourgrid-section .dark-bg h2 {
  font-size: 32px;
}

#fourgrid-section .gradient-bg {
  background: linear-gradient(90deg, #f5f9fd 0, #f5f9fd 65.97%);
  mix-blend-mode: normal;
}

#fourgrid-section .inventory-section>h2 {
  font-size: 20px;
  text-align: center;
  margin-bottom: 48px;
  color: #0257d4;
}

#fourgrid-section .list-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

#fourgrid-section .list-automobile h3 {
  margin: 0;
}

#fourgrid-section .list-automobile p,
#fourgrid-section .list-automobile p a {
  margin: 0;
  font-size: 16px;
  text-decoration: none;
}

#fourgrid-section .list-truck h3 {
  margin: 0;
}

#fourgrid-section .list-truck p,
#fourgrid-section .list-truck p a {
  margin: 0;
  font-size: 16px;
  text-decoration: none;
}

#fourgrid-section .list-suv h3 {
  margin: 0;
}

#fourgrid-section .list-suv p,
#fourgrid-section .list-suv p a {
  margin: 0;
  font-size: 16px;
  text-decoration: none;
}

#fourgrid-section .list-motorcycle h3 {
  margin: 0;
}

#fourgrid-section .list-motorcycle p,
#fourgrid-section .list-motorcycle p a {
  margin: 0;
  font-size: 16px;
  text-decoration: none;
}

@media only screen and (max-width: 1440px) {
  #fourgrid-section .list-automobile {
    width: 50%;
    padding-right: 20px;
    box-sizing: border-box;
  }
}

@media only screen and (max-width: 1200px) {
  #fourgrid-section .list-automobile {
    width: 100%;
  }

  #fourgrid-section .section {
    width: 50%;
    min-width: auto !important;
  }
}

@media only screen and (max-width: 1200px) {
  #fourgrid-section {
    flex-direction: column;
  }

  #fourgrid-section .section {
    width: 100%;
  }

  .list-links-wrapper ul li {
    font-size: 13px;
  }
}

@media screen and (max-width: 500px) {

}

#fourgrid-section .about-section p a {
  color: #ffb838 !important;
  font-family: "Lato Bold";
}

@media (max-width: 1200px) {
  #fourgrid-section .about-section {
    width: 100%;
  }
}

.list-font {
  font-size: 18px;
  line-height: 28px;
  text-decoration: none;
}

.blog-card {
  display: flex;
  flex-direction: column;
  margin: 1rem auto;
  box-shadow: 0 3px 7px -1px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.6%;
  background: #fff;
  line-height: 1.4;
  font-family: sans-serif;
  border-radius: 5px;
  overflow: hidden;
  z-index: 0;
}

.blog-card a {
  color: inherit;
}

.blog-card a:hover {
  color: #0457d4;
}

.blog-card:hover .photo {
  transform: scale(1.05) rotate(3deg);
}

.blog-card .meta {
  position: relative;
  z-index: 0;
  height: 200px;
}

.blog-card .photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.2s;
}

.blog-card .details,
.blog-card .details ul {
  margin: auto;
  padding: 0;
  list-style: none;
}

.blog-card .details {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -100%;
  margin: auto;
  transition: left 0.2s;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 10px;
  width: 100%;
  font-size: 0.9rem;
}

.blog-card .description {
  padding: 3% 4% 2% 4%;
  background: #fff;
  position: relative;
  z-index: 1;
}

.blog-card .description h1,
.blog-card .description h2 {
  font-family: Poppins, sans-serif;
}

#fourgrid-section .blog-card .description h2 {
  line-height: 1.1;
  margin: 0 0 10px;
  font-size: 27px;
  text-align: left;
}

.blog-card .description ul {
  padding-left: 0;
}

.blog-card .description li {
  list-style: none;
}

.blog-card .description li a {
  padding-bottom: 5px;
}

.blog-card ul:before {
  content: "";
  position: absolute;
  height: 5px;
  background: #0457d4;
  width: 35px;
  top: -0.75rem;
  border-radius: 3px;
}

.blog-card:hover .details {
  left: 0%;
}

@media (min-width: 1430px) {
  .blog-card {
    flex-direction: row;
    width: calc(50% - 2rem);
    width: 85%;
  }

  .blog-card .meta {
    flex-basis: 55%;
    height: auto;
  }

  .blog-card .description {
    flex-basis: 45%;
  }

  .blog-card .description:before {
    transform: skewX(-3deg);
    content: "";
    background: #fff;
    width: 30px;
    position: absolute;
    left: -10px;
    top: 0;
    bottom: 0;
    z-index: -1;
  }

  .blog-card.alt {
    flex-direction: row-reverse;
  }

  .blog-card.alt .description:before {
    left: inherit;
    right: -10px;
    transform: skew(3deg);
  }

  .blog-card.alt .details {
    padding-left: 25px;
  }
}

@media (min-width: 330px) and (max-width: 767px) {

  .mobcont {
    width: 310px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 768px) and (max-width: 1429px) {

  .mobcont {
    width: 44%;
    margin-left: auto;
    margin-right: auto;
  }
}
