html[dir="rtl"] body {
  direction: rtl;
}

html[dir="rtl"] #Subheader,
html[dir="rtl"] .entry-content,
html[dir="rtl"] .widget,
html[dir="rtl"] .pricing-box,
html[dir="rtl"] .offer_thumb,
html[dir="rtl"] .post-desc {
  text-align: right;
}

.pricing-box {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.pricing-box .plan-header {
  overflow: visible;
}

.pricing-box .plan-header .image,
.pricing-box .plan-header .image img {
  display: block;
  width: 100%;
}

.pricing-box .plan-header .image img {
  height: auto;
  object-fit: cover;
}

.pricing-box .plan-header .price {
  position: static;
  display: block;
  clear: both;
  margin: 12px auto 8px;
  text-align: center;
  line-height: 1.1;
}

.pricing-box .plan-header .title {
  min-height: 2.4em;
  padding: 0 12px;
}

.pricing-box .plan-inside {
  flex: 1 1 auto;
}

.pricing-box .plan-inside ul {
  margin-left: 24px;
  margin-right: 24px;
}

html[dir="rtl"] .pricing-box .plan-inside ul {
  margin-left: 24px;
  margin-right: 24px;
  padding-right: 18px;
  padding-left: 0;
}

.offer_thumb .offer_thumb_li {
  overflow: hidden;
}

.offer_thumb .offer_thumb_li .image_wrapper {
  background: #fff;
}

.offer_thumb .offer_thumb_li .image_wrapper img {
  display: block;
  width: 100%;
  height: auto;
}

.offer_thumb .offer_thumb_li .desc_wrapper {
  box-sizing: border-box;
  overflow-wrap: anywhere;
}

.offer_thumb .offer_thumb_li .desc_wrapper .title h3 {
  line-height: 1.2;
}

.offer_thumb .offer_thumb_li .desc h2 {
  line-height: 1.25;
  margin-bottom: 12px;
}

.offer_thumb .offer_thumb_li .desc ul {
  margin-bottom: 14px;
}

.offer_thumb .offer_thumb_li .desc .button {
  white-space: normal;
}

html[dir="rtl"] .offer_thumb .offer_thumb_li .desc_wrapper.align_left,
html[dir="rtl"] .offer_thumb .offer_thumb_li .desc_wrapper {
  text-align: right;
}

.widgets_wrapper .widget {
  overflow-wrap: anywhere;
}

.yhs-services-overview {
  padding: 28px 0 46px;
}

.yhs-services-overview .fancy_heading {
  margin-bottom: 24px;
  text-align: center;
}

.yhs-services-intro {
  max-width: 760px;
  margin: 10px auto 0;
  color: #666;
  font-size: 15px;
  line-height: 1.6;
}

.yhs-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  clear: both;
}

.yhs-service-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e7e7e7;
}

.yhs-service-image {
  background: #f7f7f7;
}

.yhs-service-image img {
  display: block;
  width: 100%;
  height: auto;
}

.yhs-service-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 22px 24px 24px;
  text-align: center;
}

.yhs-service-body h3 {
  min-height: 2.4em;
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.2;
}

.yhs-service-meta {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 16px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #27c7bd;
  color: #27c7bd;
}

.yhs-price {
  font-size: 34px;
  line-height: 1;
}

.yhs-hours {
  color: #555;
  font-weight: 700;
  text-transform: uppercase;
}

.yhs-service-body ul {
  flex: 1 1 auto;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  color: #555;
  line-height: 1.55;
}

.yhs-service-body li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.yhs-service-body .button {
  align-self: center;
  margin: 0;
}

html[dir="rtl"] .yhs-services-intro,
html[dir="rtl"] .yhs-service-body {
  text-align: center;
}

html[dir="rtl"] .yhs-service-body ul {
  direction: rtl;
}

@media only screen and (max-width: 767px) {
  .pricing-box .plan-header .title {
    min-height: 0;
  }

  .pricing-box .plan-header .price > span {
    font-size: 32px;
  }

  .offer_thumb .offer_thumb_li .desc_wrapper {
    position: static !important;
    width: auto !important;
    min-height: 0;
  }

  .offer_thumb .offer_thumb_li .image_wrapper {
    width: 100% !important;
  }

  .yhs-services-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .yhs-service-body {
    padding: 18px;
  }

  .yhs-service-body h3 {
    min-height: 0;
    font-size: 21px;
  }

  .yhs-service-meta {
    flex-direction: column;
    gap: 6px;
  }

  .yhs-price {
    font-size: 30px;
  }
}
