.home-banner {
  height: 250px;
  position: relative;

  .row {
    height: inherit;

    .banner-image {
      height: inherit;

      .container {

        @media screen and (max-width:767px) {
          padding: 0;
        }

        img {
          height: 100%;
          object-fit: cover;
          width: 100%;
        }
      }
    }

    .job-filter {
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);

      .location-search-button {
        cursor: pointer;
        border-radius: 3px;
      }
    }
  }
}

.section {
  padding: 20px 0;

  &:nth-child(2n) {
    background: #F6F6F6;
  }
}

.section-title {
  font-size: var(--font-size-section-heading);
  text-align: center;
}

.job-wrapper {
  background: #fff;
  border: 1px solid #e7e7ed;
  border-radius: 3px;
  height: 100%;
}

.job-wrapper .job-type {
  color: var(--color-golden-2);
}

.latest-news {
  .large {
    .single-news-wrapper {
      .single-news-details-wrapper {
        overflow: hidden;
        position: relative;

        &:hover img {
          transform: scale(1.1);
        }

        img {
          height: 100%;
          max-height: 300px;
          object-fit: cover;
          transition: transform 0.3s;
          width: 100%;
        }

        .single-news-details {
          position: absolute;
          bottom: 10px;
          left: 10px;
          text-shadow: 2px 2px 8px #000;
        }
      }
    }
  }

  .single-news-wrapper {
    text-decoration: none;
    width: 100%;
    box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.05);
    border-radius: 5px;

    &:hover .single_news-title {
      text-decoration: underline;
    }

    .single-news-details {
      color: #000;
      height: 100%;
      display: flex;
      flex-direction: column;

      .news-title {
        font-size: 16px;
        // font-weight: 600;
        line-height: 24px;
      }

      .image-wrapper {
        padding-top: 56.25%;
        position: relative;
        width: 100%;

        img {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          object-fit: cover;
          border-radius: 5px;
          transition: 0.2s all ease-in;
        }

        a:hover img {
          filter: brightness(0.75);
        }
      }

      .single-news-content {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;

        .single-news-content-bottom {
          padding: 10px 0;
          margin-top: 12px;
          gap: 20px;
          margin-bottom: 5px;
          display: none !important;

          @media screen and (min-width:768px) and (max-width:1024px) {
            flex-direction: column;
            gap: 0;
          }

          .publish-date::before {
            content: "";
            width: 1px;
            background: rgb(228, 230, 233);
            height: 23px;
            position: absolute;
            transform: translateX(-10px);

            @media screen and (min-width:768px) and (max-width:1024px) {
              content: none;
            }
          }
        }
      }
    }

  }
}

.latest-news .col-single-top-news .single-news-wrapper .single-news-details .news-title {
  font-size: 20px;
  line-height: 28px;
}

.single-news-content-top {
  padding-bottom: 5px;
}

.events {
  .event-wrapper {
    text-decoration: none;

    .featured-image {
      height: 180px;
      position: relative;

      img {
        height: 100%;
        object-fit: cover;
        width: 100%;
      }
    }

    .event-info {
      color: #000;
    }

    &:hover {
      .event-title {
        color: var(--color-primary);
      }
    }
  }
}

.insights {
  .image-wrapper {
    padding-top: 56.25%;
    position: relative;
    width: 100%;

    img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
}

.media {
  .youtube-video {
    padding-top: calc(56.25%); // aspect-ratio: 16:9
    position: relative;
    width: 100%;

    iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }
  }
}

.education {
  .single-education-details {
    color: #000;

    .image-wrapper {
      padding-top: 56.25%;
      position: relative;
      width: 100%;

      img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }
  }
}

.media-wrapper {
  border: 1px solid var(--color-border);
  position: relative;
  padding-bottom: 40px;
  border-radius: 5px;
}

.media-card-bottom {
  border-top: 1px solid #f3f3f6;
  padding-top: 10px;
  padding-bottom: 10px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}

.media-img-wrapper {
  padding-top: 56.25%;
  position: relative;
  width: 100%;
}

.media-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.2s all ease-in;
  border-radius: 5px;
}

.media-img-wrapper:hover img {
  filter: brightness(0.75);
}