/* Adapted from Home Seven's Why Choose, newsletter and blog layouts. */
.why-choose-section7, .news-letter-section-two, .vs-blog-wrapper-seven {
  --subtitle-font: "Dancing Script", cursive;
}
.why-choose-section7 {
  position: relative;
  padding: clamp(3.5rem, 7vw, 7.5rem) 0 clamp(7rem, 10vw, 11rem);
  background: #e8f3ed url("medixi/why-choose1-1.webp") center / cover no-repeat;
}
.choose-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
}
.choose-content7 .title-area-three { margin-bottom: 1.8rem; }
.choose-content7 .title-area-three h2, .vs-blog-wrapper-seven .title-area-three h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.14;
  margin-bottom: .38em;
}
.choose-content7 .title-area-three p { max-width: 51ch; }
.choose-list { list-style: none; padding: 0; margin: 0; }
.choose-block { position: relative; padding-left: 6.75rem; min-height: 5rem; margin: 0 0 1.7rem; }
.choose-block:last-child { margin: 0; }
.choose-block .icon-box {
  position: absolute; inset: 0 auto auto 0; width: 5rem; height: 5rem;
  display: grid; place-items: center; border-radius: 50%; background-color: var(--theme-color);
}
.choose-block .icon-box img { width: 1.8rem; height: 2.25rem; filter: brightness(0) invert(1); }
.choose-block .content-box .title { font-size: 1.5rem; line-height: 1.18; margin-bottom: .25rem; }
.choose-block .content-box p { font-size: 1rem; line-height: 1.5; margin: 0; }
.choose-block .content-box a[href^="tel:"] { display: inline-block; }
.choose-img {
  position: relative; width: 100%; max-width: 39rem; aspect-ratio: 664 / 746;
  margin-inline: auto; align-self: center;
}
.choose-img img {
  position: absolute; height: auto; object-fit: cover; border: solid #fff;
  border-width: clamp(.4rem, .8vw, .9rem); box-shadow: 0 7px 10px #182a353b;
}
.choose-img picture:first-child img {
  z-index: 2; top: 8%; left: 5%; width: 74%; aspect-ratio: 1.15;
  transform: rotate(-10deg); object-position: center 54%;
}
.choose-img picture:nth-child(2) img {
  z-index: 1; left: 7%; top: 59%; width: 42%; aspect-ratio: 1.18; transform: rotate(10deg);
}
.choose-img picture:nth-child(3) img {
  right: 4%; top: 53%; width: 40%; aspect-ratio: 1.13; transform: rotate(-13deg);
}

.reading.wide > .news-letter-section-two { position: relative; margin-top: -5.5rem; }
.news-letter-box-two {
  position: relative; isolation: isolate;
  display: flex; gap: 2rem; align-items: center; justify-content: space-between;
  padding: clamp(2rem, 4.3vw, 4.5rem) clamp(1.7rem, 4.4vw, 4.5rem) clamp(2rem, 4.3vw, 4.5rem) 0;
  background: #214f39 url("medixi/letter1-1.webp") center / cover;
  background-blend-mode: luminosity;
  color: #fff;
}
.news-letter-box-two::before {
  content: ""; position: absolute; inset: 0 100% 0 auto; width: 50vw; z-index: -1;
  background: #214f39 url("medixi/letter1-1.webp") left / auto 100%;
  background-blend-mode: luminosity;
}
.news-content7 { display: flex; gap: clamp(1.2rem, 3.8vw, 3.8rem); align-items: center; }
.news-content7 > img { width: clamp(4.2rem, 7.8vw, 8rem); flex: none; }
.news-letter-title .sub-title7 { font: 700 clamp(1.5rem, 2.4vw, 2rem)/1.1 var(--subtitle-font); color: #e0f8c2; }
.news-letter-title h2 { color: #fff; font-size: clamp(1.65rem, 2.87vw, 2.6rem); margin: .27em 0 0; max-width: 25ch; line-height: 1.15; }
.letter-btn-box { flex-shrink: 0; }
.letter-btn-box a:focus-visible { outline-color: #fff; }

.reading.wide > .vs-blog-wrapper-seven { margin: 0; padding-top: clamp(3.5rem, 7vw, 7.5rem); }
.vs-blog-wrapper-seven .title-area-three { text-align: center; margin-bottom: clamp(1.8rem, 3.6vw, 3.1rem); }
.patient-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.5rem; padding: 0; list-style: none; margin: 0; }
.blog-card-seven { display: flex; flex-direction: column; margin: 0; background-color: #fff; box-shadow: 0 0 10px #0002; }
.blog-img-seven img { width: 100%; aspect-ratio: 1.65; object-fit: cover; }
.blog-content-seven {
  padding: clamp(1.25rem, 2.5vw, 2.4rem) clamp(1.1rem, 2vw, 1.85rem) 1.85rem;
  flex: 1; display: flex; flex-direction: column; align-items: flex-start;
}
.blog-content-seven .blog-title { color: var(--title-color); font-size: 1.5rem; line-height: 1.27; margin: 0 0 .4em; }
.blog-content-seven p { margin: 0 0 1.3rem; }
.blog-content-seven .btn-style7.v6 { color: #fff; background-color: var(--title-color); margin-top: auto; min-height: 2.65rem; }
.blog-content-seven .btn-style7.v6:hover { color: #fff; background-color: var(--theme-color); }

@media (max-width: 61.99rem) {
  .choose-layout { gap: 1rem; grid-template-columns: minmax(0,1.18fr) minmax(0,.82fr); }
  .choose-block { padding-left: 4.75rem; min-height: 3.6rem; }
  .choose-block .icon-box { width: 3.6rem; height: 3.6rem; }
  .choose-block .content-box .title { font-size: 1.32rem; }
  .news-letter-box-two { gap: 1.25rem; }
  .patient-links { gap: 1rem; }
}
@media (max-width: 47.99rem) {
  .choose-layout, .patient-links { grid-template-columns: 1fr; }
  .choose-layout { gap: 1.5rem; }
  .choose-img { width: min(84%, 24rem); }
  .why-choose-section7 { padding-block: 3rem 4.5rem; }
  .reading.wide > .news-letter-section-two { margin-top: -2.6rem; }
  .news-letter-box-two { flex-direction: column; align-items: flex-start; padding: 1.55rem 1.2rem; gap: 1rem; }
  .news-content7 { gap: 1.15rem; flex-wrap: wrap; max-width: 100%; }
  .news-letter-title { min-width: 0; overflow-wrap: anywhere; }
  .letter-btn-box { max-width: 100%; }
  .news-content7 > img { width: 3.5rem; }
  .news-letter-title h2 { font-size: 1.55rem; }
  .patient-links { width: min(100%, 31rem); margin-inline: auto; gap: 1.5rem; }
}
@media (forced-colors: active) {
  .choose-block .icon-box { border: 1px solid CanvasText; }
  .choose-img img, .blog-card-seven, .letter-btn-box a { border: 1px solid CanvasText; }
}
