/* ==============================
   Trusted Cancer Hospital Section
   REM Based (Root = vw system)
   ============================== */

.trusted-hospital {
  margin: 2.72rem 0 0 0;
}

/* ---------- Header ---------- */

.trusted-hospital__header {
  margin-bottom: 1.6rem;
}

.trusted-hospital__header h2 {
  font-size: 1.45rem;
  color: #802a8f;
  font-weight: 500;
  line-height: 1.12;
  margin-bottom: 0.4rem;
  width: 17.9rem;
}

.trusted-hospital__header h2 span {
  font-weight: 800;
}

.trusted-hospital__header p {
  font-size: 0.727rem;
  line-height: 1.3;
  color: #444;
}

.trusted-hospital__header-description-1 {
  display: block;
  color: #5a5b60;
  font-weight: 800;
}

.trusted-hospital__header-description-2 {
  display: block;
  font-weight: 500;
}

/* ---------- Cards ---------- */

.trusted-hospital__card {
  background: #f6f1ff;
  border-radius: 1rem;
  padding: 1rem;
  margin-bottom: 1.8rem;
  border: 1px solid #dedede;
  background: url("../assets/trusted/bg.webp") no-repeat right cover;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---------- Content ---------- */

.trusted-hospital__content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #62186f;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.trusted-hospital__content p {
  font-size: 0.85rem;
  color: #62186f;
  line-height: 1.3;
  margin-bottom: 1rem;
}

/* ---------- Image ---------- */

.trusted-hospital__image {
  margin: 0.8rem 0 1.2rem;
  overflow: hidden;
  border-radius: 0.4rem;
  width: 15.72rem;
  height: 15.72rem;
}

.trusted-hospital__image img {
  width: 100%;
  height: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ---------- Button ---------- */

.trusted-hospital__btn {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--brandClr);
  color: #ffffff;
  text-decoration: none;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 0.4rem;
}

.why-patients-btn {
  width: 15.45rem;
  height: 2.45rem;
}

/* ---------- Tablet & Above ---------- */

@media screen and (min-width: 768px) {
  .trusted-hospital {
    /* width:; */
    margin: 1.92rem 0;
  }

  .trusted-hospital__header h2 {
    font-weight: 500;
    font-style: Medium;
    font-size: 1.04rem;
    leading-trim: NONE;
    line-height: 110.00000000000001%;
    letter-spacing: -2%;
    width: 15.5rem;
    angle: 0 deg;
    opacity: 1;
  }

  .trusted-hospital__header h2 span {
    font-weight: 800;
    font-style: ExtraBold;
  }

  .trusted-hospital__card {
    padding: 0.45rem;
    border-radius: 0.15rem;
    width: 8.3rem;
    height: 11.88rem;
    margin: 0;
    position: relative;
  }

  .trusted-hospital__content h3 {
    font-size: 0.377rem;
    font-weight: 800;
    font-style: ExtraBold;
    line-height: 120%;
    letter-spacing: 0%;
    margin: 0 0 0.226rem 0;
  }

  .trusted-hospital__content p {
    font-size: 0.301rem;
    font-weight: 400;
    font-style: Regular;
    line-height: 130%;
    letter-spacing: 0%;
    margin: 0 0 0.26rem 0;
  }

  .trusted-hospital__btn {
    font-size: 0.95rem;
    width: 7.39rem;
    height: 1.01rem;
    border-radius: 0.075rem;
    opacity: 1;
    padding: 0.226rem;
    gap: 0.226rem;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 0.377rem;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
  }
  .trusted-hospital__header-description-1,
  .trusted-hospital__header-description-2 {
    display: none;
  }
  .hospital__cards-container {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    justify-content: center;
  }
  .why-patients-btn {
    width: 7.39rem;
    height: 1.01rem;
    position: absolute;
    top: 10.41rem;
    /* left: 1.09rem; */
    margin: 0 0 0 0;
  }
  .trusted-hospital__image {
    margin: 0;
    overflow: hidden;
    border-radius: 0.4rem;
    width: 7.39rem;
    height: 6.41rem;
  }

  .trusted-hospital__image img {
    width: 100%;
    height: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }
}
