.home-banner {
  margin-bottom: 19px;
}

hr.home-line {
  border-top: 8px solid #f0f1f3;
  margin-top: 30px;
  margin-bottom: 32px;
  opacity: 1;
}

.home-button .box {
  box-shadow: 2px 2px 16px 0px rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  padding: 20px 12px 12px 20px;
  background-color: white;
  display: flex;
  flex-direction: column;
}
.home-button .box strong {
  font-family: "Pretendard-Bold";
  line-height: 29.4px;
  font-size: 21px;
  display: block;
  margin-bottom: 2px;
}
.home-button .box p {
  font-size: 15px;
  color: #757575;
  font-family: "Pretendard-Medium";
  line-height: 22px;
  margin-bottom: auto;
}
.home-button .r-1 .box {
  /*max-height: 160px;*/
}
.home-button .r-1 .box:last-child img {
  height: 71px;
  margin-top: -4px;
  margin-right: 11px;
}
.home-button .r-1 .box .text-end {
  margin-top: -3px;
}
.home-button .home-new-hospital .box {
  position: relative;
  padding: 19px 20px 19px;
  max-height: 92px;
}
.home-button .home-new-hospital .box .image {
  position: absolute;
  right: 20px;
  bottom: 14px;
}
.home-button .home-new-hospital .box .image img {
  width: 62px;
  height: 64px;
}

.home-review-item {
  padding: 28px 24px;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.08);
  border: 1px solid #ededed;
  border-radius: 16px;
}
.home-review-item h5 {
  font-family: "Pretendard-Bold";
  font-size: 18px;
  line-height: 24.84px;
  margin-bottom: 4px;
}
.home-review-item .rate span {
  line-height: 25.2px;
  font-size: 18px;
  font-family: "Pretendard-Medium";
  display: block;
  padding-left: 10px;
  position: relative;
}
.home-review-item .rate span:before {
  content: "";
  display: block;
  width: 2px;
  height: 13px;
  background-color: #cbcbcb;
  position: absolute;
  left: 4px;
  top: 6px;
}
.home-review-item p {
  line-height: 22px;
  color: #333333;
}
.home-review-item .read-more-btn {
  color: #686868;
  font-family: "Pretendard-Medium";
  line-height: 22.4px;
}
.home-review-item .read-more-btn img {
  transition: all 0.2s;
}
.home-review-item .read-more-btn.less img {
  transform: rotate(-180deg);
}
.home-review-item .images {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 8px;
}
.home-review-item .images .item {
  position: relative;
  padding-top: 100%;
}
.home-review-item .images .item img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
  border-radius: 4px;
}

.home-review-item .images .item img {
  width: 100px;
  height: 100px;
}

.home-review-item .images .item {
  width: 100px;
  height: 100px;
  padding-top: unset;
}

.home-review-item .images {
  height: 100px;
}

.home-review-item.time-top .read-more-btn ~ .review-images.d-none {
  display: block !important;
  height: 0;
  margin-top: -16px;
}

p.pre-line + .review-images.d-none {
  display: block !important;
  height: 0;
  margin-top: -8px;
}

.load-more-review-btn {
  line-height: 25px;
  font-size: 18px;
  font-family: "Pretendard-Medium";
  padding: 15px 15px 14px;
}

.list-category-btn {
  margin-bottom: 26px;
}
.list-category-btn .btn {
  line-height: 33.6px;
  font-size: 24px;
  font-family: "Pretendard-Bold";
  color: #b3b5b9;
  border: none;
}
.list-category-btn .btn.active {
  color: #1e1f23;
}
.list-category-btn .swiper-slide {
  width: auto;
}

.pv-tab.home .nav-link {
  border: none;
  margin: 0 !important;
  width: 100%;
  height: 106px;
  border-radius: 16px;
  padding: 16px;
  background-color: #f8f9fb;
  color: #454545 !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.pv-tab.home .nav-link.active {
  background-color: var(--app-color);
  color: white !important;
}
.pv-tab.home .nav-link.active span {
  color: white;
}
.pv-tab.home .nav-link p {
  font-family: "Pretendard-Bold";
  line-height: 22px;
  margin-bottom: 0;
}
.pv-tab.home .nav-link span {
  font-size: 32px;
  line-height: 32px;
  font-family: "Pretendard-Bold";
  margin: 0;
  top: 0;
}

.pv-tab-content.home .request-item {
  padding: 16px 0 !important;
  border-radius: 0 !important;
  border: none !important;
  border-bottom: 1px solid #f0f1f3 !important;
  box-shadow: none !important;
}
.pv-tab-content.home .request-item strong {
  font-size: 18px;
}
.pv-tab-content.home .request-item p {
  color: #454545 !important;
  margin-bottom: 4px;
}
.pv-tab-content.home .request-item span.date {
  margin-bottom: 12px !important;
}
.pv-tab-content.home #review-tab-pane .request-item {
  padding-top: 24px !important;
  padding-bottom: 24px !important;
}
.pv-tab-content.home #review-tab-pane .request-item span.date {
  margin-bottom: 0 !important;
}
.pv-tab-content.home #review-tab-pane .request-item p {
  color: #333333 !important;
}
.pv-tab-content.home #review-tab-pane .request-item .images {
  margin-bottom: 24px;
}

.home-banner-slider img {
  width: 100%;
}

.home-upper {
  background: linear-gradient(180deg, rgba(249, 249, 251, 0) 0%, #f5f6f8 35.5%);
  padding-bottom: 22px;
}

#home-nearby {
  min-height: 216px;
}

.loadmore > a {
  color: #686868;
}

.home-review-item .rate span {
  padding-left: 5px !important;
}

.home-review-item .rate span:before {
  display: none;
}

.hospital-item .text h4 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link-to-kakao {
  bottom: 114px;
  z-index: 10;
}

.home-banner-slider.main-wrapper {
  margin-left: 24px;
  padding-left: 0;
}

.home-hospital-warning {
  background: #f0f1f3;
  font-size: 16px;
  /*height: 214px;*/
  height: 216px;
  border-radius: 16px;
  padding: 85px 5px 85px 5px;
}

.text-highlight {
  color: var(--app-color) !important;
  border: none !important;
  outline: none !important;
}

.social {
  margin-top: 26px;
  display: flex;
  gap: 14px;
}
.social img {
  width: 30px;
  height: 30px;
}

.home-popup .popup_image {
  flex: 1 0 auto;
}
.home-popup .popup_image .swiper-button-next,
.home-popup .popup_image .swiper-button-prev {
  display: none;
}
.home-popup .popup_image .swiper {
  height: 100%;
}
.home-popup .modal-content {
  border-top-left-radius: 30px !important;
  border-top-right-radius: 30px !important;
  overflow: hidden;
}
.home-popup .modal-body {
  padding: 0 !important;
  display: flex;
  flex-direction: column;
}
.home-popup .modal-body .swiper-wrapper {
  align-items: center;
}
.home-popup .modal-body .swiper-slide {
  height: 100%;
}
.home-popup .modal-body img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-popup .btns {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  height: 56px;
  max-height: 56px;
  padding-left: 24px;
  padding-right: 24px;
}
.home-popup .btns .close-a-day {
  font-size: 14px;
  line-height: 18px;
  letter-spacing: -0.5px;
  color: #333333;
}
.home-popup .btns .close-now {
  font-weight: 600;
  font-size: 14px;
  line-height: 18px;
  text-align: right;
  letter-spacing: -0.5px;
  color: #333333;
}
@media screen and (min-width: 660px) {
  .home-popup .modal-dialog {
    display: flex;
    align-items: center;
    min-height: calc(100% - var(--bs-modal-margin) * 2);
  }
  .home-popup .modal-content,
  .home-popup .modal-body {
    width: 380px !important;
    height: 327px;
  }
  .home-popup .modal-content .popup_image,
  .home-popup .modal-body .popup_image {
    height: 268px;
  }
  .home-popup .modal-content .btns,
  .home-popup .modal-body .btns {
    height: 59px;
    padding-left: 25px;
    padding-right: 25px;
  }
  .home-popup .modal-content .btns .close-a-day,
  .home-popup .modal-body .btns .close-a-day {
    font-size: 16px;
    line-height: 19px;
  }
  .home-popup .modal-content .btns .close-now,
  .home-popup .modal-body .btns .close-now {
    font-size: 16px;
    line-height: 19px;
  }
  .home-popup .modal-content {
    border-bottom-left-radius: 30px !important;
    border-bottom-right-radius: 30px !important;
  }
}

.home-ads--images-slide-num-box {
  position: absolute;
  background: rgba(255, 255, 255, 0.7490196078);
  border-radius: 20px;
  right: 18px;
  bottom: 23px;
  z-index: 10;
  align-items: center;
  padding: 3px 7px;
  gap: 10px;
  height: 24px;
  background: rgba(255, 255, 255, 0.75);
}
.home-ads--images-slide-num-box .images-slide-num {
  height: 18px;
  font-size: 13px;
  line-height: 138%;
  color: #111111;
}
.home-ads--images-slide-num-box .images-slide-num span {
  padding: 0 2px;
}
@media screen and (min-width: 1104px) {
  .home-ads--images-slide-num-box {
    right: 20px;
    bottom: 22px;
  }
}

.home-hos-ads {
  padding: 0 24px 24px 24px;
}
.home-hos-ads .hospital-ads {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  /*.ads-swiper {
    grid-column: 1 / 1;
    grid-row: 1 / 1;

    .swiper-wrapper {
      .swiper-slide {
        margin-top: auto;
        margin-bottom: auto;

        height: calc((100vw - 48px) / 366 * 370);
        max-height: calc((660px - 48px) / 366 * 370);
        @media screen and (min-width: $dkModeWidth) {
          max-height: 358px;
        }

        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
        }
      }
    }
  }*/
}
.home-hos-ads .hospital-ads > img {
  width: 100%;
  object-fit: cover;
  height: calc((100vw - 48px) / 366 * 370);
  max-height: 618.6885245902px;
}
@media screen and (min-width: 1104px) {
  .home-hos-ads .hospital-ads > img {
    max-height: 358px;
  }
}
.home-hos-ads .hospital-ads .tt-glass {
  z-index: 2;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(243, 243, 243, 0) 50%, rgba(31, 31, 31, 0.55) 85%);
}
.home-hos-ads .hospital-ads .tt-glass .tt-textbox {
  position: absolute;
  bottom: 0;
  left: 0;
  margin-bottom: 26px;
  margin-left: 20px;
}
@media screen and (min-width: 1104px) {
  .home-hos-ads .hospital-ads .tt-glass .tt-textbox {
    margin-bottom: 28px;
    margin-left: 35px;
  }
}
.home-hos-ads .hospital-ads .tt-glass .tt-textbox > span {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5px 9px;
  gap: 10px;
  background: #ecf7f1;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  color: #00804a;
  height: 30px;
  margin-bottom: 13px;
}
.home-hos-ads .hospital-ads .tt-glass .tt-textbox > h4 {
  min-height: 31px;
  font-weight: 700;
  font-size: 22px;
  line-height: 140%;
  color: #ffffff;
  margin-bottom: 4px;
}
.home-hos-ads .hospital-ads .tt-glass .tt-textbox > p {
  min-height: 21px;
  font-size: 15px;
  line-height: 21px;
  color: #f9f9f9;
  margin: 0;
}
@media screen and (min-width: 660px) {
  .home-hos-ads .hospital-ads .tt-glass .tt-textbox > p {
    display: inline-block;
  }
}