.home-page {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-size: 1rem;
  color: #1E1E1E;
}

.home-page>.row,
.home-page>main>div>.row {
  margin-bottom: 5rem;
}

@media (min-width: 768px) {

  .home-page>.row,
  .home-page>main>div>.row {
    margin-bottom: 7.5rem;
  }
}

/* COMMON SECTION */
.home-page .section-heading {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-size: 2rem;
  color: #1E1E1E;
}

.home-page .section-subheading {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-size: 1.25rem;
  color: #757575;
}

.home-page .card-link {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-size: 1rem;
  color: #1E1E1E;
  text-decoration: none;
}

.home-page .card-view figure {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.home-page .card-view img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.home-page .card-view .card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.home-page .card-view .card-body .card-title {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-size: 1.5rem;
  color: #1E1E1E;
  margin: .5rem 0;
}

.home-page .card-view .card-body .card-text {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-size: 1rem;
  color: #757575;
}

.home-page .card-view .card-body .card-text p {
  margin-bottom: 0;
}

.home-page .card-view .card-body .card-link a {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-size: 1rem;
  color: #3366CC;
  text-decoration: none;
}

/* BANNER SECTION */
.home-page .banner figure {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 100%;
}

.home-page .banner img {
  width: 100%;
  object-fit: contain;
}

/* QUICK LINKS SECTION */
.home-page .quick-links:not(:has(.card-title)) {
  display: none;
}

.home-page .quick-links>div:not(:has(.card-title)) {
  display: none;
}

.home-page .quick-links .card-view {
  height: 100%;
  background: #DDEEFF;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
  border-radius: .5rem;
  padding: 1rem;
}

/* SPOTLIGHT SECTION */
.home-page .spotlight:has(.section-heading:empty) {
  display: none;
}

.home-page .spotlight {
  background: #FEE7C7;
}

@media (min-width: 768px) {
  .home-page .spotlight .has-image .card-view .card-body {
    margin-left: 1.5rem;
  }
}

@media (min-width: 768px) {
  .home-page .spotlight .card-view .card-body .card-title {
    margin-top: 0;
  }
}

.home-page .spotlight .card-view .card-body .card-text {
  color: #1E1E1E;
  display: -webkit-box;
  -webkit-line-clamp: 10;
  line-clamp: 10;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.home-page .spotlight .card-view .card-body .card-text:empty {
  display: none;
}

@media (min-width: 768px) {
  .home-page .spotlight .card-view .card-body .card-text {
    -webkit-line-clamp: 7;
    line-clamp: 7;
  }
}

@media (min-width: 992px) {
  .home-page .spotlight .card-view .card-body .card-text {
    -webkit-line-clamp: 10;
    line-clamp: 10;
  }
}

@media (min-width: 1200px) {
  .home-page .spotlight .card-view .card-body .card-text {
    -webkit-line-clamp: 12;
    line-clamp: 12;
  }
}

@media (min-width: 1400px) {
  .home-page .spotlight .card-view .card-body .card-text {
    -webkit-line-clamp: 13;
    line-clamp: 13;
  }
}

.home-page .spotlight .card-view img {
  height: calc(11rem * var(--bs-body-line-height));
  width: fit-content;
  max-width: 100%;
  object-fit: contain;
}

@media (min-width: 768px) {
  .home-page .spotlight .card-view img {
    height: calc(8rem * var(--bs-body-line-height));
  }
}

@media (min-width: 992px) {
  .home-page .spotlight .card-view img {
    height: calc(11rem * var(--bs-body-line-height));
  }
}

@media (min-width: 1200px) {
  .home-page .spotlight .card-view img {
    height: calc(13rem * var(--bs-body-line-height));
  }
}

@media (min-width: 1400px) {
  .home-page .spotlight .card-view img {
    height: calc(14rem * var(--bs-body-line-height));
  }
}

/* NEWS SECTION */
.home-page .news:has(.section-heading:empty) {
  display: none;
}

@media (min-width: 768px) {
  .home-page .news .card-view img {
    height: calc(15rem * var(--bs-body-line-height));
  }
}

.home-page .news .card-view .card-body .card-text {
  display: -webkit-box;
  -webkit-line-clamp: 10;
  line-clamp: 10;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.home-page .news .view-all-link {
  color: #3366CC;
  text-decoration: none;
}

/* HOW TO SECTION */
.home-page .howto:has(.section-heading:empty) {
  display: none;
}

.home-page .howto .card-view .card-body {
  margin-left: 0;
}

/* QRS SECTION */
.home-page .qrs:has(.section-heading:empty) {
  display: none;
}

.home-page .qrs {
  background: #FEE7C7;
}

.home-page .qrs .card-view {
  background: #FFFFFF;
  border: 1px solid #D9D9D9;
  border-radius: .5rem;
  padding: 1rem .25rem;
}

@media (min-width: 768px) {
  .home-page .qrs .card-view .card-body {
    margin-left: 1.5rem;
  }
}

.home-page .qrs .card-view img {
  display: none;
}

@media (min-width: 768px) {
  .home-page .qrs .card-view img {
    height: calc(10rem * var(--bs-body-line-height));
    display: block;
  }
}

.home-page .qrs .card-view .card-body .card-title,
.home-page .qrs .card-view .card-body .card-text {
  display: none;
}

.home-page .qrs .card-view .card-body .card-link {
  margin-top: 0 !important;
  margin-left: 1rem !important;
}

@media(min-width: 768px) {
  .home-page .qrs .card-view .card-body .card-link {
    margin-left: 0rem !important;
  }
}

/* TENDERS SECTION */
.home-page .tenders:has(.section-heading:empty) {
  display: none;
}

.home-page .tenders .card-view {
  border: 1px solid #0A66C2;
  border-radius: .5rem;
  padding: 1rem;
}

@media (min-width: 768px) {
  .home-page .tenders .card-view img {
    height: calc(15rem * var(--bs-body-line-height));
  }
}

/* FAQS SECTION */
.home-page .faqs:has(.section-heading:empty) {
  display: none;
}
