/*resources_leaders*/
.resources-leaders {
  padding: 120px 0 60px;
}

.resources-leaders .cards {
  width: 100%;
  max-width: 1401px;
  margin: 0px auto 0;
  display: grid;
  gap: 27px;
  grid-template-columns: repeat(2, 1fr);
}

.resources-leaders .card {
  width: 100%;
  border: 1px solid var(--2k25-border-1);
  display: flex;
  align-items: center;
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition3);
  position: relative;
}

.resources-leaders .card:hover {
  box-shadow: 0 12px 40px 4px rgba(10, 22, 94, 0.0784313725);
  border-color: var(--white);
}

.resources-leaders .card:nth-of-type(1) {
  grid-row: 1 / 4;
  flex-direction: column;
}

.resources-leaders .card:nth-of-type(2) {
  grid-row: 1;
}

.resources-leaders .card:nth-of-type(3) {
  grid-row: 2;
}

.resources-leaders .card:nth-of-type(4) {
  grid-row: 3;
}

.resources-leaders .card-img {
  width: 210px;
  height: 180px;
  flex-shrink: 0;
  background-color: var(--2k25-light-blue);
}

.resources-leaders .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.resources-leaders .card:nth-of-type(1) .card-img {
  width: 100%;
  height: 380px;
}

.resources-leaders .blog_badge {
  display: flex;
  background-color: var(--2k25-light-blue);
  color: var(--2k25-blue-primary);
  font-size: 15px;
  line-height: 1.5;
  padding: 3px 15px;
  border-radius: 100px;
  font-weight: 500;
  text-decoration: none;position: relative;
}

.resources-leaders .blog_badge:hover {
    background-color: var(--2k25-blue-primary);
    color: var(--white);
}

.resources-leaders .card-body {
  padding: 25px 25px;
  /* padding: 15px 30px; */
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
}
.resources-leaders .card .card-link {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.resources-leaders .card:nth-of-type(1) .card-body {
  padding: 30px;
}

.resources-leaders .card-body ul {
  padding: 0;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin: 0 0 16px;
  align-items: center;
}

.resources-leaders .card-body ul li:first-child::marker {
  display: none;
  opacity: 0;
  visibility: hidden;
  font-size: 0;
  width: 0;
  height: 0;
}

.resources-leaders .card-body ul li {
  /* font-weight: 400; */
  /* font-size: 16px; */
  /* color: var(--2k25-text-body); */
}

.resources-leaders .card:nth-of-type(1) .card-body ul li {
  font-size: 20px;
}

.resources-leaders .card-body h3 {
  width: 100%;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.5;
  color: var(--2k25-text-heading);
  margin: 0 0 16px;
  font-family: var(--poppins);
  /* overflow: hidden; */
  /* display: -webkit-box; */
  /* -webkit-box-orient: vertical; */
  /* -webkit-line-clamp: 2; */
}

.resources-leaders .card:nth-of-type(1) .card-body h3 {
  font-size: 24px;
  margin: 0 0 16px;
}

.resources-leaders .card-body>a.arrow-learn-more {
  margin-top: auto;
}

.resources-leaders .card:nth-of-type(1) .card-body .arrow-learn-more {
  font-size: 20px;
}

.resources-leaders .card:nth-of-type(1) .card-body .arrow-learn-more svg {
  position: relative;
  top: 1px;
}

.resources-leaders .card .arrow-learn-more {
    pointer-events: none;
}
.resources-leaders .card:hover .arrow-learn-more::before{
  opacity: 1;
    margin-right: 32px;
}
.resources-leaders .card:hover .arrow-learn-more::after {
    opacity: 0;
}

@media (max-width: 1439px) {
  .resources-leaders .cards {
    gap: 20px;
  }

  .resources-leaders .card-body ul li {
    font-size: 14px;
  }

  .resources-leaders .card-body h3 {
    /* font-size: 20px; */
    /* line-height: 1.3; */
  }

  .resources-leaders .card:nth-of-type(1) .card-body ul li {
    font-size: 18px;
  }

  .resources-leaders .card:nth-of-type(1) .card-img {
    height: 320px;
  }
}

@media (max-width: 1279px) {
  .resources-leaders {
    padding: 100px 0 50px;
  }

  .resources-leaders .cards {
    margin: 0 auto;
  }

  .resources-leaders .card:nth-of-type(1) {
    grid-row: unset;
  }

  .resources-leaders .card:nth-of-type(2) {
    grid-row: unset;
  }

  .resources-leaders .card:nth-of-type(3) {
    grid-row: unset;
  }

  .resources-leaders .card:nth-of-type(4) {
    grid-row: unset;
  }

  .resources-leaders .card:nth-of-type(1) {
    flex-direction: column;
  }

  .resources-leaders .card .card-img {
    width: 100%;
    height: 260px;
  }

  .resources-leaders .card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .resources-leaders .card:nth-of-type(1) .card-img {
    height: 260px;
  }

  .resources-leaders .card:nth-of-type(1) .card-body {
    padding: 20px;
  }

  .resources-leaders .card .card-body {
    padding: 20px;
  }

  .resources-leaders .card .card-body ul li {
    font-size: 16px;
  }

  .resources-leaders .card:nth-of-type(1) .card-body ul li {
    font-size: 16px;
  }

  .resources-leaders .card:nth-of-type(1) .card-body h3 {
    font-size: 18px;
  }

  .resources-leaders .card .card-body h3 {
    font-size: 18px;
  }

  .resources-leaders .card .card-body .learn-more {
    font-size: 14px;
  }

  .resources-leaders .card:nth-of-type(1) .card-body .learn-more {
    font-size: 14px;
  }

  .resources-leaders .card {
    flex-direction: column;
  }
}

@media (max-width: 991px) {
  .resources-leaders {
    padding: 80px 0 40px;
  }
}

@media (max-width: 768px) {
  .resources-leaders {
    padding: 50px 0 15px;
  }

  .resources-leaders .cards {
    gap: 16px;
    grid-template-columns: repeat(1, 1fr);
  }

  .resources-leaders .card-body ul {
    gap: 20px;
    padding: 0 0 0 20px;
  }

  .resources-leaders .blog_badge {
    font-size: 16px;
    margin-left: -20px;
    margin-right: 16px;
  }

}