/* Overrides loaded after Bootstrap to ensure visibility of the navbar */

/* Keep navbar on top of hero/slider */
.sticky-top, .navbar.sticky-top, nav.navbar { z-index: 1100; }

/* Frontend navbar shell: keep full-width layout on all pages */
section.sticky-top > .container-fluid {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

section.sticky-top > .container-fluid > .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
  --bs-gutter-x: 0;
}

section.sticky-top > .container-fluid > .row > nav.navbar {
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Desktop: keep collapse open */
@media (min-width: 992px){
  .navbar-expand-lg .navbar-collapse{ display:flex !important; }
}

.navbar-collapse { visibility: visible; opacity: 1; }
.navbar-nav { align-items: center; }

/* Visible nav links on white background */
.navbar .nav-link { color: rgba(0,0,0,.85) !important; }

/* Unified hover/active menu styling (text stays white on blue background) */
.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active,
.navbar .nav-item.active > .nav-link,
.navbar .nav-item.active .nav-link,
.navbar .nav-item.show > .nav-link,
.navbar .nav-item.show > .nav-link.dropdown-toggle {
  background-color: #1E2285 !important;
  color: #ffffff !important;
  border-radius: 10px;
}

/* Some pages wrap a button-like dropdown toggle with .nav-link class */
.navbar .nav-link.dropdown-toggle:hover,
.navbar .nav-link.dropdown-toggle:focus {
  color: #ffffff !important;
}

/* Toggler icon fallback (some themes miss it) */
.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mega menu width and placement */
#ConditionsTreatedMenu{ width: 900px; max-width: 100%; z-index: 1100; }
@media (min-width: 992px){
  /* Center the mega menu under its toggle */
  #ConditionsTreatedMenu{ left: 50% !important; transform: translateX(-50%); right: auto; }
}
@media (max-width: 991.98px){
  #ConditionsTreatedMenu{ width: 100%; left: 0 !important; transform: none; }
}

/* Ensure dropdown is on top of slider */
.navbar .dropdown-menu{ z-index: 1100; }

/* Mega menu content wrapping */
#ConditionsTreatedMenu .dropdown-item{ white-space: normal; line-height: 1.3; padding: .25rem .5rem; }

/* Home testimonials slick spacing + width normalization */
.Red-Testimonials .testinomial-slick-slide.slick-slider {
  margin-left: 0;
  margin-right: 0;
}

.Red-Testimonials .testinomial-slick-slide .slick-list {
  margin-left: -10px;
  margin-right: -10px;
  padding-bottom: 18px;
}

.Red-Testimonials .testinomial-slick-slide .slick-track {
  display: flex;
  align-items: flex-start;
}

.Red-Testimonials .testinomial-slick-slide .slick-slide {
  height: auto;
}

.Red-Testimonials .testinomial-slick-slide .slick-slide > div {
  display: block;
  padding-left: 10px;
  padding-right: 10px;
  height: auto;
}

/* Slick controls slide width; bootstrap column widths cause compressed cards inside slides */
.Red-Testimonials .testinomial-slick-slide .slick-slide > div > [class*="col-"] {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.Red-Testimonials .testinomial-slick-slide .testimonials-reviews {
  height: auto !important;
  min-height: 280px;
  margin: 0;
  border-radius: 14px !important;
  border: 1px solid #dde5ef !important;
  box-shadow: 0 10px 24px rgba(10, 33, 67, 0.06);
  padding: 18px 18px 14px !important;
}

.Red-Testimonials .testinomial-slick-slide a.text-decoration-none {
  display: block;
  color: inherit;
}

.Red-Testimonials .testinomial-slick-slide .testimonials-reviews > h6 {
  margin-bottom: 6px;
  font-weight: 700;
  line-height: 1.2;
}

.Red-Testimonials .testinomial-slick-slide .testimonials-reviews > p.text-danger {
  margin-bottom: 10px;
  font-size: 0.98rem;
}

.Red-Testimonials .testinomial-slick-slide .testimonials-reviews .example {
  line-height: 1.6;
  color: #263445 !important;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 0;
}

.Red-Testimonials .testinomial-slick-slide .testimonials-reviews > .mt-auto {
  margin-top: 14px !important;
  padding-top: 12px;
  border-top: 1px solid #edf1f6;
}

.Red-Testimonials .testinomial-slick-slide .testimonials-reviews .mt-auto > span {
  font-weight: 600;
}

.Red-Testimonials .testinomial-slick-slide .testimonials-reviews .mt-auto .d-flex.align-items-center {
  flex-wrap: wrap;
  gap: 8px 10px;
}

.Red-Testimonials .testinomial-slick-slide .testimonials-reviews .mt-auto .d-flex.align-items-center h6 {
  font-size: 0.98rem;
}

.Red-Testimonials .testinomial-slick-slide .testimonials-reviews .mt-auto .d-flex.align-items-center .ms-3 {
  margin-left: 0 !important;
}

.Red-Testimonials .testinomial-slick-slide .testimonials-reviews .person-logo {
  margin-bottom: 0 !important;
  width: 74px;
  height: 74px;
  object-fit: contain;
  opacity: 0.95;
}

.Red-Testimonials .testinomial-slick-slide .testimonials-reviews .p-3 {
  padding: 10px 0 0 !important;
}

.Red-Testimonials .testinomial-slick-slide .slick-slide > div > [class*="col-"] {
  margin-bottom: 4px;
}

@media (max-width: 767.98px) {
  .Red-Testimonials .testinomial-slick-slide .slick-list {
    margin-left: -6px;
    margin-right: -6px;
  }
  .Red-Testimonials .testinomial-slick-slide .slick-slide > div {
    padding-left: 6px;
    padding-right: 6px;
  }
}

/* Home testimonial redesign (strong override) */
.Red-Testimonials {
  padding-top: 10px;
  padding-bottom: 26px;
}

.Red-Testimonials .home-testimonial-slider {
  margin-top: 14px;
}

.Red-Testimonials .home-testimonial-slide {
  width: 100%;
}

.Red-Testimonials .home-testimonial-link {
  color: inherit;
}

.Red-Testimonials .home-testimonial-link:hover {
  text-decoration: none;
}

.Red-Testimonials .home-testimonial-card {
  max-width: none !important;
  width: 100%;
  min-height: 312px;
  height: auto !important;
  margin: 0 !important;
  border: 1px solid #e3eaf2 !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 26px rgba(20, 44, 77, 0.07);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  padding: 18px 18px 14px !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.Red-Testimonials .home-testimonial-link:hover .home-testimonial-card {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(20, 44, 77, 0.12);
  border-color: #cfdceb !important;
}

.Red-Testimonials .home-testimonial-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.Red-Testimonials .home-testimonial-card__identity {
  min-width: 0;
}

.Red-Testimonials .home-testimonial-card__identity > h6 {
  margin: 0 0 6px 0;
  line-height: 1.25;
  font-weight: 700;
  color: #c43e4d !important;
}

.Red-Testimonials .home-testimonial-card__identity > p {
  margin: 0;
  font-size: 0.98rem;
  color: #b34f62 !important;
  line-height: 1.35;
}

.Red-Testimonials .home-testimonial-card__avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid #d6e7f8;
  background: linear-gradient(180deg, #eef7ff, #f8fbff);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.Red-Testimonials .home-testimonial-card__avatar .person-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  margin: 0 !important;
}

.Red-Testimonials .home-testimonial-card__quote {
  margin: 0 !important;
  padding-top: 0 !important;
  color: #243447 !important;
  line-height: 1.65;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.Red-Testimonials .home-testimonial-card__footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #edf2f7;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.Red-Testimonials .home-testimonial-card__source-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  line-height: 1.3;
}

.Red-Testimonials .home-testimonial-card__source-label {
  color: #5d6f83;
  font-weight: 600;
  font-size: 0.92rem;
}

.Red-Testimonials .home-testimonial-card__source-value {
  color: #1f63a9;
  font-weight: 700;
  font-size: 0.95rem;
}

.Red-Testimonials .home-testimonial-card__stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 2px;
  color: #f5b400;
  font-size: 0.9rem;
}

.Red-Testimonials .home-testimonial-card__cta-row {
  display: flex;
  align-items: center;
}

.Red-Testimonials .home-testimonial-card__cta {
  display: inline-flex;
  align-items: center;
  color: #142d53;
  font-weight: 700;
  font-size: 0.95rem;
}

.Red-Testimonials .home-testimonial-card__cta--muted {
  color: #6d7f92;
  font-weight: 600;
}

@media (max-width: 991.98px) {
  .Red-Testimonials .home-testimonial-card {
    min-height: 294px;
    padding: 16px 16px 13px !important;
  }
}

@media (max-width: 575.98px) {
  .Red-Testimonials .home-testimonial-card {
    min-height: 0;
  }
  .Red-Testimonials .home-testimonial-card__quote {
    -webkit-line-clamp: 6;
  }
}

/* Home blogs redesign */
.home-blog-slider {
  margin-top: 14px;
}

.home-blog-slider.slick-slider {
  margin-left: 0;
  margin-right: 0;
}

.home-blog-slider .slick-list {
  margin-left: -14px;
  margin-right: -14px;
  padding-top: 6px;
  padding-bottom: 8px;
}

.home-blog-slider .slick-track {
  display: flex !important;
  align-items: stretch;
  flex-wrap: nowrap;
}

.home-blog-slider .slick-slide {
  height: auto;
  min-width: 0;
  flex: 0 0 auto !important;
  float: none !important;
}

.home-blog-slider .slick-slide > div {
  padding-left: 14px;
  padding-right: 14px;
  height: 100%;
  width: 100%;
}

.home-blog-slide {
  height: 100%;
  width: 100%;
}

.home-blog-card {
  height: 100%;
  min-height: 100%;
  margin: 0 !important;
  border: 1px solid #dfe7f0 !important;
  border-radius: 16px !important;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 24px rgba(20, 44, 77, 0.07);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.home-blog-card:hover {
  transform: translateY(-2px);
  border-color: #c9d9ea !important;
  box-shadow: 0 14px 28px rgba(20, 44, 77, 0.11);
}

.home-blog-card__media {
  display: block;
  aspect-ratio: 16 / 9;
  background: linear-gradient(180deg, #eff4fa 0%, #f8fbff 100%);
  overflow: hidden;
  border-bottom: 1px solid #edf2f7;
}

.home-blog-card__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform .22s ease;
}

.home-blog-card:hover .home-blog-card__img {
  transform: scale(1.03);
}

.home-blog-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 14px 16px !important;
}

.home-blog-card__meta-row {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0;
  color: #5c6f84;
  font-size: 0.92rem;
  line-height: 1.3;
}

.home-blog-card__meta-item {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.home-blog-card__meta-item i {
  line-height: 1;
}

.home-blog-card__title {
  margin: 0;
  color: #1f2f43;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.05em;
}

.home-blog-card__cta {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #1f396b, #244d92) !important;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(31, 57, 107, 0.18);
}

.home-blog-card__cta:hover {
  color: #fff !important;
  text-decoration: none !important;
  filter: brightness(1.03);
}

.home-blog-card__cta i {
  margin-right: 0 !important;
}

@media (max-width: 767.98px) {
  .home-blog-slider .slick-list {
    margin-left: -8px;
    margin-right: -8px;
  }
  .home-blog-slider .slick-slide > div {
    padding-left: 8px;
    padding-right: 8px;
  }
  .home-blog-card__body {
    padding: 12px 12px 14px !important;
  }
  .home-blog-card__title {
    font-size: 1rem;
  }
}

/* Home clinic gallery grid redesign */
.home-clinic-gallery-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.home-clinic-gallery-item {
  min-width: 0;
}

.home-clinic-gallery-card {
  margin: 0 !important;
  border: 1px solid #e3ebf4 !important;
  border-radius: 14px !important;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(20, 44, 77, 0.06);
  background: #fff;
}

.home-clinic-gallery-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto !important;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .2s ease;
}

.home-clinic-gallery-card:hover .home-clinic-gallery-image {
  transform: scale(1.02);
}

@media (max-width: 1199.98px) {
  .home-clinic-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 767.98px) {
  .home-clinic-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (max-width: 479.98px) {
  .home-clinic-gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Home conditions treated section rebuild */
.home-conditions-section {
  max-width: 1200px;
}

.home-conditions-section__heading {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.home-conditions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.home-conditions-grid--more {
  margin-top: 16px;
}

.home-conditions-grid__item {
  min-width: 0;
}

.home-condition-card {
  display: block;
  height: 100%;
  background: #fff;
  border: 1px solid #dbe4ef;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(20, 44, 77, 0.06);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.home-condition-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(20, 44, 77, 0.1);
  text-decoration: none;
}

.home-condition-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.home-condition-card__title {
  min-height: 66px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #1f396b;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.home-conditions-more[hidden] {
  display: none !important;
}

.home-conditions-actions {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.home-conditions-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 164px;
  border: 1px solid #d7e2f0;
  border-radius: 999px;
  background: #fff;
  color: #1f396b;
  padding: 10px 18px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(31, 57, 107, 0.08);
}

.home-conditions-toggle-btn:hover {
  background: #f5f8fc;
}

.home-conditions-toggle-btn i {
  transition: transform .18s ease;
}

.home-conditions-toggle-btn[aria-expanded="true"] i {
  transform: rotate(180deg);
}

@media (max-width: 1199.98px) {
  .home-conditions-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .home-conditions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .home-condition-card__title {
    min-height: 58px;
    font-size: 0.86rem;
    padding: 10px 10px 12px;
  }
}

@media (max-width: 479.98px) {
  .home-conditions-grid {
    grid-template-columns: 1fr;
  }
}

/* Frontend appointment modal redesign */
.home-appointment-modal {
  border: 0 !important;
  border-radius: 18px !important;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(13, 27, 45, 0.28);
}

.home-appointment-modal__header {
  background: linear-gradient(135deg, #152b49 0%, #1f396b 52%, #28599d 100%);
  padding: 18px 20px 16px;
  align-items: flex-start;
}

.home-appointment-modal__header-copy {
  color: #fff;
  padding-right: 12px;
}

.home-appointment-modal__eyebrow {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
}

.home-appointment-modal__title {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.home-appointment-modal__subtitle {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  line-height: 1.45;
  margin-top: 6px;
  max-width: 520px;
}

.home-appointment-modal__aside {
  background: linear-gradient(180deg, #f1f6fc 0%, #e8f0fb 100%);
  border-right: 1px solid #dbe7f4;
  padding: 22px 20px;
}

.home-appointment-modal__aside-title {
  color: #1f396b;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 12px 0;
}

.home-appointment-modal__aside-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  color: #334a68;
  font-size: 0.92rem;
  line-height: 1.4;
}

.home-appointment-modal__aside-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e51934;
  transform: translateY(-50%);
}

.home-appointment-modal__form-wrap {
  padding: 20px;
  background: #fff;
}

.home-appointment-modal__result {
  min-height: 0;
}

.home-appointment-modal__result.alert {
  margin-bottom: 0;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.92rem;
}

.home-appointment-modal__label {
  display: block;
  margin: 0 0 6px 0;
  color: #1c355b;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.2;
}

.home-appointment-modal__label span {
  color: #e51934;
}

.home-appointment-modal__field {
  border-radius: 10px !important;
  border: 1px solid #d7e2f0 !important;
  padding: 10px 12px !important;
  min-height: 44px;
  box-shadow: none !important;
  color: #172b45;
}

.home-appointment-modal__field:focus {
  border-color: #3f7dd6 !important;
  box-shadow: 0 0 0 0.2rem rgba(48, 101, 185, 0.12) !important;
}

.home-appointment-modal__textarea {
  min-height: 110px;
  resize: vertical;
}

.home-appointment-modal__captcha {
  padding: 6px 0 0;
}

.home-appointment-modal__captcha .g-recaptcha {
  transform-origin: left top;
}

.home-appointment-modal__submit {
  border: 0 !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #1f396b 0%, #284f92 100%) !important;
  color: #fff !important;
  font-weight: 700;
  padding: 11px 16px !important;
  box-shadow: 0 10px 20px rgba(31, 57, 107, 0.22);
}

.home-appointment-modal__submit:hover,
.home-appointment-modal__submit:focus {
  filter: brightness(1.03);
  color: #fff !important;
}

.home-appointment-modal__footnote {
  margin-top: 10px;
  color: #5a6f8d;
  font-size: 0.78rem;
  line-height: 1.35;
}

.home-appointment-modal label.error {
  color: #d93025;
  font-size: 0.78rem;
  margin-top: 5px;
  display: block;
}

@media (max-width: 991.98px) {
  .home-appointment-modal__header {
    padding: 16px 16px 14px;
  }

  .home-appointment-modal__title {
    font-size: 1.18rem;
  }

  .home-appointment-modal__subtitle {
    font-size: 0.86rem;
  }

  .home-appointment-modal__form-wrap {
    padding: 16px;
  }
}

@media (max-width: 575.98px) {
  .home-appointment-modal__captcha {
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .home-appointment-modal__captcha .g-recaptcha {
    transform: scale(0.92);
  }

  .home-appointment-modal__field {
    min-height: 42px;
  }
}

/* About page dynamic content redesign */
.about-dynamic-banner {
  position: relative;
  overflow: hidden;
}

.about-dynamic-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20, 37, 62, 0.72), rgba(31, 57, 107, 0.72));
  pointer-events: none;
}

.about-dynamic-banner > .container {
  position: relative;
  z-index: 1;
}

.about-dynamic-banner__content {
  max-width: 900px;
  margin: 0 auto;
}

.about-dynamic-banner__eyebrow {
  color: rgba(255, 255, 255, 0.86);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

.about-dynamic-banner__title {
  margin: 0;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
}

.about-dynamic-banner__tagline {
  margin: 10px auto 0;
  color: rgba(255, 255, 255, 0.9);
  max-width: 760px;
  line-height: 1.45;
}

.about-dynamic-shell {
  max-width: 1180px;
}

.about-dynamic-media-card {
  background: #fff;
  border: 1px solid #dfebf8;
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 18px 40px rgba(16, 33, 54, 0.08);
}

.about-dynamic-media-card__img {
  display: block;
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  object-position: center;
}

.about-dynamic-content-card {
  background: #fff;
  border: 1px solid #dfebf8;
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 18px 40px rgba(16, 33, 54, 0.06);
}

.about-dynamic-content-card__eyebrow {
  margin: 0 0 8px 0;
  color: #e51934;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.about-dynamic-content-card__title {
  margin: 0;
  color: #163752;
  font-weight: 800;
  font-size: clamp(1.3rem, 2vw, 2rem);
  line-height: 1.2;
}

.about-dynamic-content-card__tagline {
  margin: 10px 0 0;
  color: #425d7d;
  font-size: 1rem;
  line-height: 1.45;
}

.about-dynamic-content-card__body {
  margin-top: 16px;
  color: #2b425f;
  line-height: 1.7;
  font-size: 0.98rem;
}

.about-dynamic-content-card__body h1,
.about-dynamic-content-card__body h2,
.about-dynamic-content-card__body h3,
.about-dynamic-content-card__body h4,
.about-dynamic-content-card__body h5,
.about-dynamic-content-card__body h6 {
  color: #163752;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.about-dynamic-content-card__body p {
  margin-bottom: 0.85rem;
}

.about-dynamic-content-card__body ul,
.about-dynamic-content-card__body ol {
  padding-left: 1.1rem;
}

.about-dynamic-content-card__body img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.about-dynamic-content-card__empty {
  margin-top: 14px;
  border: 1px dashed #c7d8eb;
  border-radius: 12px;
  background: #f7fbff;
  color: #385476;
  padding: 14px 16px;
}

@media (max-width: 767.98px) {
  .about-dynamic-content-card {
    padding: 16px;
    border-radius: 14px;
  }

  .about-dynamic-media-card {
    border-radius: 14px;
    padding: 8px;
  }

  .about-dynamic-banner__tagline {
    font-size: 0.92rem;
  }
}

/* Blog details redesign */
.blog-detail-v2-hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 18px 0 34px;
}

.blog-detail-v2-hero__inner {
  position: relative;
  z-index: 1;
}

.blog-detail-v2-hero__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.blog-detail-v2-hero__crumbs .is-current {
  color: #fff;
  font-weight: 600;
}

.blog-detail-v2-hero__content {
  max-width: 860px;
  background: rgba(9, 19, 33, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 20px 22px;
  backdrop-filter: blur(6px);
}

.blog-detail-v2-hero__eyebrow {
  color: #b8d7ff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  margin-bottom: 8px;
}

.blog-detail-v2-hero__title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.55rem, 2.8vw, 2.55rem);
  line-height: 1.15;
  font-weight: 800;
}

.blog-detail-v2-hero__tagline {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
  font-size: 0.98rem;
  max-width: 760px;
}

.blog-detail-v2-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.blog-detail-v2-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.86rem;
}

.blog-detail-v2-page {
  background: linear-gradient(180deg, #f4f8ff 0%, #ffffff 35%);
}

.blog-detail-v2-card {
  background: #fff;
  border: 1px solid #dce6f3;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(15, 37, 63, 0.08);
}

.blog-detail-v2-card__media {
  position: relative;
  background: #e9f0fa;
}

.blog-detail-v2-card__img {
  display: block;
  width: 100%;
  height: min(440px, 56vw);
  object-fit: cover;
}

.blog-detail-v2-card__body {
  padding: 20px 22px 24px;
}

.blog-detail-v2-card__toprow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.blog-detail-v2-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.blog-detail-v2-card__author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #1f396b, #2a5fa9);
  color: #fff;
  box-shadow: 0 8px 16px rgba(31, 57, 107, 0.2);
}

.blog-detail-v2-card__author-label {
  color: #7287a3;
  font-size: 0.78rem;
  line-height: 1.1;
}

.blog-detail-v2-card__author-name {
  color: #173859;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
}

.blog-detail-v2-backlink {
  white-space: nowrap;
  font-size: 0.85rem;
  color: #1f396b;
  text-decoration: none;
  font-weight: 600;
}

.blog-detail-v2-backlink:hover,
.blog-detail-v2-backlink:focus {
  color: #163e86;
  text-decoration: none;
}

.blog-detail-v2-card__lead {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f4f8fe;
  border: 1px solid #dce7f4;
  color: #2b4a6b;
  font-size: 0.95rem;
}

.blog-detail-v2-content {
  color: #233a58;
  font-size: 1rem;
  line-height: 1.8;
}

.blog-detail-v2-content h1,
.blog-detail-v2-content h2,
.blog-detail-v2-content h3,
.blog-detail-v2-content h4,
.blog-detail-v2-content h5,
.blog-detail-v2-content h6 {
  color: #173859;
  font-weight: 700;
  margin: 1.2rem 0 0.55rem;
  line-height: 1.3;
}

.blog-detail-v2-content p,
.blog-detail-v2-content li {
  color: #2d445f;
}

.blog-detail-v2-content p {
  margin-bottom: 0.95rem;
}

.blog-detail-v2-content ul,
.blog-detail-v2-content ol {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.blog-detail-v2-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 10px 0;
}

.blog-detail-v2-content blockquote {
  margin: 1rem 0;
  padding: 12px 16px;
  border-left: 4px solid #1f396b;
  background: #f6f9ff;
  color: #243e5f;
  border-radius: 0 10px 10px 0;
}

.blog-detail-v2-sidebar {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 16px;
}

.blog-detail-v2-sidebar__card {
  background: #fff;
  border: 1px solid #dce6f3;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(15, 37, 63, 0.05);
}

.blog-detail-v2-sidebar__title {
  margin: 0 0 12px;
  color: #173859;
  font-weight: 800;
  font-size: 1rem;
}

.blog-detail-v2-share-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.blog-detail-v2-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  border: 1px solid #dce6f3;
  padding: 10px 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.blog-detail-v2-share-btn:hover,
.blog-detail-v2-share-btn:focus {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(17, 34, 56, 0.1);
}

.blog-detail-v2-share-btn.is-facebook { color: #1f4fbf; background: #f5f8ff; }
.blog-detail-v2-share-btn.is-twitter { color: #0f7ac7; background: #f2fbff; }
.blog-detail-v2-share-btn.is-whatsapp { color: #118f55; background: #f2fff8; }
.blog-detail-v2-share-btn.is-email { color: #b24a1f; background: #fff8f2; }

.blog-detail-v2-recent-list {
  display: grid;
  gap: 12px;
}

.blog-detail-v2-recent-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 8px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.blog-detail-v2-recent-item:hover,
.blog-detail-v2-recent-item:focus {
  text-decoration: none;
  background: #f7fbff;
  border-color: #dce6f3;
}

.blog-detail-v2-recent-item__thumb {
  width: 82px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  background: #eef4fb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6884a7;
}

.blog-detail-v2-recent-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-detail-v2-recent-item__title {
  color: #173859;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-detail-v2-recent-item__meta {
  margin-top: 6px;
  color: #6f86a3;
  font-size: 0.79rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-detail-v2-cta-card {
  background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  border-color: #d6e4f7;
}

.blog-detail-v2-cta-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #1f396b, #2a5fa9);
  color: #fff;
  margin-bottom: 10px;
  box-shadow: 0 10px 20px rgba(31, 57, 107, 0.18);
}

.blog-detail-v2-cta-card p {
  color: #395675;
  font-size: 0.92rem;
  line-height: 1.55;
}

.blog-detail-v2-cta-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-detail-v2-cta-card__actions .btn {
  border-radius: 10px;
  font-weight: 600;
}

@media (max-width: 991.98px) {
  .blog-detail-v2-sidebar {
    position: static;
    top: auto;
  }

  .blog-detail-v2-card__toprow {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767.98px) {
  .blog-detail-v2-hero {
    padding: 12px 0 22px;
  }

  .blog-detail-v2-hero__content {
    padding: 16px;
    border-radius: 14px;
  }

  .blog-detail-v2-meta-chip {
    font-size: 0.8rem;
    padding: 7px 10px;
  }

  .blog-detail-v2-card {
    border-radius: 14px;
  }

  .blog-detail-v2-card__body {
    padding: 16px;
  }

  .blog-detail-v2-share-grid {
    grid-template-columns: 1fr;
  }

  .blog-detail-v2-recent-item {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 10px;
  }

  .blog-detail-v2-recent-item__thumb {
    width: 74px;
    height: 58px;
  }
}

/* Blogs list redesign */
.blogs-list-v2-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 16px 0 30px;
}

.blogs-list-v2-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(15, 28, 50, 0.82), rgba(25, 55, 104, 0.75));
}

.blogs-list-v2-hero__inner {
  position: relative;
  z-index: 1;
}

.blogs-list-v2-hero__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.blogs-list-v2-hero__crumbs .is-current {
  color: #fff;
  font-weight: 600;
}

.blogs-list-v2-hero__content {
  background: rgba(7, 17, 31, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  padding: 20px 22px;
  max-width: 920px;
  backdrop-filter: blur(5px);
}

.blogs-list-v2-hero__eyebrow {
  color: #b3d4ff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  margin-bottom: 8px;
}

.blogs-list-v2-hero__title {
  color: #fff;
  margin: 0;
  font-weight: 800;
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
  line-height: 1.15;
}

.blogs-list-v2-hero__subtitle {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  font-size: 0.96rem;
  max-width: 780px;
}

.blogs-list-v2-hero__stats {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blogs-list-v2-hero__stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.85rem;
}

.blogs-list-v2-page {
  background: linear-gradient(180deg, #f4f8ff 0%, #ffffff 34%);
}

.blogs-list-v2-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 20px;
  background: #fff;
  border: 1px solid #dbe6f4;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 14px 34px rgba(15, 37, 63, 0.07);
}

.blogs-list-v2-featured__media {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: #eaf2fc;
  min-height: 280px;
}

.blogs-list-v2-featured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.blogs-list-v2-featured:hover .blogs-list-v2-featured__media img {
  transform: scale(1.03);
}

.blogs-list-v2-featured__media-fallback,
.blogs-list-v2-card__media-fallback {
  width: 100%;
  height: 100%;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6e86a6;
  font-size: 2rem;
  background: linear-gradient(145deg, #eef4fd, #e1ebfa);
}

.blogs-list-v2-featured__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blogs-list-v2-featured__title {
  margin: 10px 0 0;
  font-size: clamp(1.3rem, 1.8vw, 1.9rem);
  line-height: 1.22;
  font-weight: 800;
}

.blogs-list-v2-featured__title a {
  color: #183a5b;
  text-decoration: none;
}

.blogs-list-v2-featured__title a:hover,
.blogs-list-v2-featured__title a:focus {
  color: #1d4f86;
  text-decoration: none;
}

.blogs-list-v2-featured__tagline {
  margin: 12px 0 0;
  color: #2e4e70;
  font-weight: 600;
  line-height: 1.5;
}

.blogs-list-v2-featured__excerpt {
  margin: 10px 0 0;
  color: #516b89;
  line-height: 1.65;
}

.blogs-list-v2-featured__cta {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  border-radius: 10px;
  padding: 10px 14px;
  background: #1f396b;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 12px 22px rgba(31, 57, 107, 0.18);
}

.blogs-list-v2-featured__cta:hover,
.blogs-list-v2-featured__cta:focus {
  color: #fff;
  background: #23467f;
  text-decoration: none;
}

.blogs-list-v2-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.blogs-list-v2-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #dbe6f4;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(15, 37, 63, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.blogs-list-v2-card:hover {
  transform: translateY(-3px);
  border-color: #cadbf0;
  box-shadow: 0 16px 28px rgba(15, 37, 63, 0.08);
}

.blogs-list-v2-card__media {
  display: block;
  background: #ebf2fc;
  overflow: hidden;
}

.blogs-list-v2-card__media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.blogs-list-v2-card:hover .blogs-list-v2-card__media img {
  transform: scale(1.03);
}

.blogs-list-v2-card__media-fallback {
  min-height: 220px;
}

.blogs-list-v2-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 14px 14px 16px;
}

.blogs-list-v2-card__meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.blogs-list-v2-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #5d7594;
  font-size: 0.82rem;
  font-weight: 600;
}

.blogs-list-v2-card__meta-item i {
  color: #d83a4d;
}

.blogs-list-v2-card__title {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.35;
  font-weight: 800;
}

.blogs-list-v2-card__title a {
  color: #183a5b;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blogs-list-v2-card__title a:hover,
.blogs-list-v2-card__title a:focus {
  color: #1d4f86;
  text-decoration: none;
}

.blogs-list-v2-card__excerpt {
  margin: 10px 0 0;
  color: #5a738f;
  line-height: 1.55;
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blogs-list-v2-card__cta {
  margin-top: auto;
  padding-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1f396b;
  font-weight: 700;
  text-decoration: none;
}

.blogs-list-v2-card__cta:hover,
.blogs-list-v2-card__cta:focus {
  color: #214f8e;
  text-decoration: none;
}

.blogs-list-v2-empty-state {
  background: #fff;
  border: 1px dashed #cfe0f2;
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
  color: #5f7897;
}

.blogs-list-v2-empty-state i {
  font-size: 2rem;
  color: #1f396b;
  margin-bottom: 10px;
}

.blogs-list-v2-empty-state h3 {
  margin: 0;
  color: #173859;
  font-size: 1.15rem;
  font-weight: 700;
}

.blogs-list-v2-empty-state p {
  margin: 8px 0 0;
}

@media (max-width: 1199.98px) {
  .blogs-list-v2-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .blogs-list-v2-featured {
    grid-template-columns: 1fr;
  }

  .blogs-list-v2-featured__media {
    min-height: 220px;
  }
}

@media (max-width: 767.98px) {
  .blogs-list-v2-hero {
    padding: 12px 0 22px;
  }

  .blogs-list-v2-hero__content {
    padding: 16px;
    border-radius: 14px;
  }

  .blogs-list-v2-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .blogs-list-v2-featured,
  .blogs-list-v2-card {
    border-radius: 14px;
  }

  .blogs-list-v2-featured {
    padding: 12px;
    gap: 14px;
  }

  .blogs-list-v2-card__media img,
  .blogs-list-v2-card__media-fallback {
    height: 200px;
    min-height: 200px;
  }
}

/* Shared frontend banner breadcrumb */
.acnp-banner-breadcrumb {
  margin-top: 10px;
}

.acnp-banner-breadcrumb__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 500;
}

.acnp-banner-breadcrumb__list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.acnp-banner-breadcrumb__list li + li::before {
  content: "/";
  color: rgba(255, 255, 255, 0.75);
  margin-right: 2px;
}

.acnp-banner-breadcrumb__list a {
  color: #fff;
  text-decoration: none;
}

.acnp-banner-breadcrumb__list a:hover,
.acnp-banner-breadcrumb__list a:focus {
  color: #fff;
  text-decoration: underline;
}

.acnp-banner-breadcrumb__list li[aria-current="page"] {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
}

@media (max-width: 767.98px) {
  .acnp-banner-breadcrumb__list {
    font-size: 0.85rem;
    gap: 6px;
  }
}

/* Doctor Profile v2 (Dr Kranthi Kiran) */
.doctor-profile-v2-hero {
  position: relative;
  padding: 22px 0 26px;
  background: linear-gradient(180deg, #f4f8fc 0%, #eef4fb 100%);
}

.doctor-profile-v2-hero__inner {
  position: relative;
  border-radius: 18px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid #d8e6f4;
  background: linear-gradient(120deg, rgba(10, 35, 66, 0.92), rgba(17, 65, 115, 0.78));
}

.doctor-profile-v2-hero__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--doctor-hero-image);
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}

.doctor-profile-v2-hero__breadcrumb {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
}

.doctor-profile-v2-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.doctor-profile-v2-hero__breadcrumb a:hover,
.doctor-profile-v2-hero__breadcrumb a:focus {
  color: #fff;
  text-decoration: underline;
}

.doctor-profile-v2-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 360px);
  gap: 18px;
  align-items: center;
}

.doctor-profile-v2-hero__copy {
  color: #fff;
}

.doctor-profile-v2-hero__eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.82);
}

.doctor-profile-v2-hero__title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  line-height: 1.15;
  font-weight: 800;
}

.doctor-profile-v2-hero__subtitle {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  max-width: 56ch;
}

.doctor-profile-v2-hero__chips {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.doctor-profile-v2-hero__chips span {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 600;
}

.doctor-profile-v2-hero__actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.doctor-profile-v2-btn {
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: 1px solid transparent;
}

.doctor-profile-v2-btn:hover,
.doctor-profile-v2-btn:focus {
  text-decoration: none;
}

.doctor-profile-v2-btn--primary {
  background: #ffffff;
  color: #173d69;
  border-color: #ffffff;
}

.doctor-profile-v2-btn--primary:hover,
.doctor-profile-v2-btn--primary:focus {
  background: #eef5ff;
  color: #123458;
}

.doctor-profile-v2-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.doctor-profile-v2-btn--ghost:hover,
.doctor-profile-v2-btn--ghost:focus {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.doctor-profile-v2-btn--whatsapp {
  background: #e7fbf1;
  color: #0f7a46;
  border-color: #c9f1dc;
}

.doctor-profile-v2-btn--whatsapp:hover,
.doctor-profile-v2-btn--whatsapp:focus {
  background: #d6f7e7;
  color: #0c6a3d;
}

.doctor-profile-v2-hero__photo-wrap {
  justify-self: end;
  width: 100%;
  max-width: 330px;
}

.doctor-profile-v2-hero__photo {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: #fff;
  box-shadow: 0 20px 34px rgba(4, 19, 38, 0.28);
}

.doctor-profile-v2-body {
  padding: 10px 0 34px;
  background: linear-gradient(180deg, #f6f9fd 0%, #f2f7fc 100%);
}

.doctor-profile-v2-card {
  background: #fff;
  border: 1px solid #dbe8f4;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 12px 30px rgba(20, 47, 78, 0.05);
}

.doctor-profile-v2-card + .doctor-profile-v2-card {
  margin-top: 18px;
}

.doctor-profile-v2-card--compact {
  padding: 18px;
}

.doctor-profile-v2-card__header h2 {
  margin: 0;
  color: #173a5f;
  font-size: 1.35rem;
  font-weight: 800;
}

.doctor-profile-v2-card__header p {
  margin: 8px 0 0;
  color: #5c7591;
  line-height: 1.55;
}

.doctor-profile-v2-card__content {
  margin-top: 14px;
  color: #28435f;
}

.doctor-profile-v2-card__content p {
  margin: 0 0 13px;
  line-height: 1.75;
}

.doctor-profile-v2-card__content p:last-child {
  margin-bottom: 0;
}

.doctor-profile-v2-richtext {
  color: #28435f;
}

.doctor-profile-v2-richtext > *:last-child {
  margin-bottom: 0;
}

.doctor-profile-v2-richtext p,
.doctor-profile-v2-richtext li {
  line-height: 1.75;
}

.doctor-profile-v2-richtext h2,
.doctor-profile-v2-richtext h3,
.doctor-profile-v2-richtext h4 {
  color: #173a5f;
  margin-top: 18px;
  margin-bottom: 10px;
  font-weight: 800;
}

.doctor-profile-v2-richtext ul,
.doctor-profile-v2-richtext ol {
  padding-left: 1.1rem;
  margin-bottom: 14px;
}

.doctor-profile-v2-section-title h3 {
  margin: 0;
  color: #173a5f;
  font-size: 1.15rem;
  font-weight: 800;
}

.doctor-profile-v2-section-title p {
  margin: 8px 0 0;
  color: #5f7895;
  line-height: 1.55;
}

.doctor-profile-v2-tags {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.doctor-profile-v2-tags span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 12px;
  border: 1px solid #dbe7f3;
  background: #f8fbff;
  color: #22435f;
  font-weight: 600;
  font-size: 0.88rem;
}

.doctor-profile-v2-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.doctor-profile-v2-list li {
  position: relative;
  padding: 0 0 0 22px;
  margin: 0 0 12px;
  color: #28435f;
  line-height: 1.6;
}

.doctor-profile-v2-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e5f9a, #27a2c6);
}

.doctor-profile-v2-list li:last-child {
  margin-bottom: 0;
}

.doctor-profile-v2-links-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.doctor-profile-v2-links-grid__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-radius: 12px;
  border: 1px solid #dbe8f4;
  background: #f8fbff;
  color: #1c3d61;
  text-decoration: none;
  padding: 11px 12px;
  font-weight: 600;
}

.doctor-profile-v2-links-grid__item:hover,
.doctor-profile-v2-links-grid__item:focus {
  background: #eef6ff;
  color: #153654;
  text-decoration: none;
}

.doctor-profile-v2-sidebar {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 16px;
}

.doctor-profile-v2-sidebar__card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #dbe8f4;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(20, 47, 78, 0.05);
}

.doctor-profile-v2-sidebar__card h3 {
  margin: 0;
  color: #173a5f;
  font-size: 1.05rem;
  font-weight: 800;
}

.doctor-profile-v2-sidebar__card--cta p {
  margin: 10px 0 0;
  color: #5f7895;
  line-height: 1.6;
  font-size: 0.92rem;
}

.doctor-profile-v2-sidebar__card--cta .doctor-profile-v2-btn {
  margin-top: 12px;
}

.doctor-profile-v2-facts {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.doctor-profile-v2-facts__row {
  border: 1px solid #e2ecf6;
  border-radius: 12px;
  padding: 10px 12px;
  background: #f8fbff;
}

.doctor-profile-v2-facts__label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5f7995;
}

.doctor-profile-v2-facts__value {
  display: block;
  margin-top: 3px;
  color: #1f4061;
  line-height: 1.45;
  font-weight: 600;
}

.doctor-profile-v2-facts__value a {
  color: inherit;
  text-decoration: none;
}

.doctor-profile-v2-facts__value a:hover,
.doctor-profile-v2-facts__value a:focus {
  color: #0f5ea0;
  text-decoration: underline;
}

@media (max-width: 1199.98px) {
  .doctor-profile-v2-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  }

  .doctor-profile-v2-links-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991.98px) {
  .doctor-profile-v2-hero__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .doctor-profile-v2-hero__photo-wrap {
    justify-self: start;
    max-width: 260px;
  }

  .doctor-profile-v2-sidebar {
    position: static;
  }
}

@media (max-width: 767.98px) {
  .doctor-profile-v2-hero {
    padding-top: 12px;
  }

  .doctor-profile-v2-hero__inner,
  .doctor-profile-v2-card,
  .doctor-profile-v2-sidebar__card {
    border-radius: 14px;
    padding: 14px;
  }

  .doctor-profile-v2-hero__actions {
    flex-direction: column;
  }

  .doctor-profile-v2-hero__actions .doctor-profile-v2-btn {
    width: 100%;
  }

  .doctor-profile-v2-hero__chips {
    gap: 8px;
  }

  .doctor-profile-v2-hero__chips span {
    font-size: 0.78rem;
  }
}

/* Contact Page v2 */
.contact-v2-overview {
  background: linear-gradient(180deg, #f4f8fd 0%, #f7fbff 100%);
}

.contact-v2-overview__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 18px;
  align-items: stretch;
}

.contact-v2-overview__panel {
  background: #ffffff;
  border: 1px solid #dce9f5;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 10px 26px rgba(17, 43, 74, 0.05);
}

.contact-v2-eyebrow {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: #1d5f9d;
}

.contact-v2-title {
  margin: 10px 0 0;
  color: #173a5f;
  font-size: clamp(1.3rem, 2.1vw, 1.9rem);
  line-height: 1.2;
  font-weight: 800;
}

.contact-v2-copy {
  margin: 12px 0 0;
  color: #5b7590;
  line-height: 1.65;
}

.contact-v2-quickcards {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.contact-v2-quickcards__item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  background: #f8fbff;
  border: 1px solid #dce9f5;
  text-decoration: none;
  color: #1f4368;
}

.contact-v2-quickcards__item:hover,
.contact-v2-quickcards__item:focus {
  background: #eef6ff;
  color: #163a5c;
  text-decoration: none;
}

.contact-v2-quickcards__icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #1f5f9b, #2a89bb);
  color: #fff;
  font-size: 1rem;
}

.contact-v2-quickcards__icon.is-whatsapp {
  background: linear-gradient(135deg, #11a05c, #18c06c);
}

.contact-v2-quickcards__item small {
  display: block;
  color: #65829f;
  font-size: 0.78rem;
  line-height: 1.15;
}

.contact-v2-quickcards__item strong {
  display: block;
  margin-top: 2px;
  font-size: 0.96rem;
  line-height: 1.25;
  font-weight: 700;
}

.contact-v2-overview__media-card {
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dce9f5;
  box-shadow: 0 10px 26px rgba(17, 43, 74, 0.05);
}

.contact-v2-overview__media-card img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  max-height: 320px;
  object-fit: cover;
  display: block;
}

.contact-v2-overview__media-caption {
  padding: 16px;
  border-top: 1px solid #e3edf6;
  background: #fff;
}

.contact-v2-overview__media-caption h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: #173a5f;
}

.contact-v2-overview__media-caption p {
  margin: 8px 0 0;
  color: #607b97;
  line-height: 1.55;
  font-size: 0.9rem;
}

.contact-v2-richtext-card {
  background: #fff;
  border: 1px solid #dce9f5;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 26px rgba(17, 43, 74, 0.04);
}

.contact-v2-richtext-card > *:last-child {
  margin-bottom: 0;
}

.contact-v2-richtext-card p,
.contact-v2-richtext-card li {
  color: #2b4865;
  line-height: 1.7;
}

.contact-v2-locations {
  background: #f7fbff;
}

.contact-v2-section-head__title {
  margin: 0;
  color: #173a5f;
  font-weight: 800;
  font-size: clamp(1.35rem, 2.1vw, 1.95rem);
}

.contact-v2-section-head__copy {
  margin: 10px auto 0;
  color: #607b97;
  line-height: 1.6;
  max-width: 62ch;
}

.contact-v2-location-card {
  background: #fff;
  border: 1px solid #dce9f5;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(17, 43, 74, 0.05);
  display: flex;
  flex-direction: column;
}

.contact-v2-location-card__header {
  padding: 16px 18px;
  border-bottom: 1px solid #e4edf6;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.contact-v2-location-card__header h3 {
  margin: 0;
  color: #173a5f;
  font-size: 1.08rem;
  font-weight: 800;
}

.contact-v2-location-card__header p {
  margin: 4px 0 0;
  color: #607b97;
  font-size: 0.9rem;
}

.contact-v2-location-card__badge {
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid #d9ead8;
  background: #eefaf0;
  color: #1d7a3f;
  padding: 5px 10px;
  font-size: 0.75rem;
  font-weight: 700;
}

.contact-v2-location-card__body {
  padding: 16px 18px 8px;
  display: grid;
  gap: 14px;
}

.contact-v2-location-card__row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.contact-v2-location-card__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #f1f7fd;
  border: 1px solid #dce9f5;
  color: #1f5f9b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-v2-location-card__row h4 {
  margin: 0;
  color: #193c61;
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-v2-location-card__row p {
  margin: 5px 0 0;
  color: #5f7b97;
  line-height: 1.55;
  font-size: 0.9rem;
}

.contact-v2-location-card__row p + p {
  margin-top: 4px;
}

.contact-v2-location-card__row a {
  color: #1b4f84;
  text-decoration: none;
}

.contact-v2-location-card__row a:hover,
.contact-v2-location-card__row a:focus {
  color: #0f5ea0;
  text-decoration: underline;
}

.contact-v2-location-card__map {
  margin-top: auto;
  border-top: 1px solid #e4edf6;
}

.contact-v2-location-card__map iframe {
  display: block;
}

.contact-v2-form-section {
  background: linear-gradient(180deg, #f4f8fd 0%, #edf4fc 100%);
}

.contact-v2-side-panel,
.contact-v2-form-card {
  background: #fff;
  border: 1px solid #dce9f5;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(17, 43, 74, 0.05);
}

.contact-v2-side-panel {
  padding: 20px;
}

.contact-v2-side-panel__title {
  margin: 8px 0 0;
  color: #173a5f;
  font-size: 1.35rem;
  font-weight: 800;
}

.contact-v2-side-panel__copy {
  margin: 10px 0 0;
  color: #607b97;
  line-height: 1.6;
}

.contact-v2-side-panel__box {
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #e2ecf6;
  background: #f8fbff;
}

.contact-v2-side-panel__box h3 {
  margin: 0;
  color: #173a5f;
  font-size: 0.95rem;
  font-weight: 800;
}

.contact-v2-side-panel__box ul {
  margin: 10px 0 0;
  padding-left: 1.05rem;
  color: #5f7b97;
}

.contact-v2-side-panel__box li {
  margin-bottom: 7px;
  line-height: 1.5;
}

.contact-v2-side-panel__box li:last-child {
  margin-bottom: 0;
}

.contact-v2-side-links {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.contact-v2-side-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1b4f84;
  text-decoration: none;
  font-weight: 600;
}

.contact-v2-side-links a:hover,
.contact-v2-side-links a:focus {
  color: #0f5ea0;
  text-decoration: underline;
}

.contact-v2-form-card {
  padding: 20px;
}

.contact-v2-form-card__header h3 {
  margin: 0;
  color: #173a5f;
  font-weight: 800;
  font-size: 1.25rem;
}

.contact-v2-form-card__header p {
  margin: 8px 0 0;
  color: #607b97;
  line-height: 1.55;
}

.contact-v2-form-card__result {
  margin-top: 12px;
}

.contact-v2-form-card__label {
  display: block;
  margin: 0 0 6px;
  color: #274663;
  font-weight: 700;
  font-size: 0.9rem;
}

.contact-v2-form-card__label span {
  color: #c73542;
}

.contact-v2-field {
  border-radius: 12px;
  border: 1px solid #d7e4f1;
  min-height: 46px;
  color: #173a5f;
  box-shadow: none;
}

.contact-v2-field:focus {
  border-color: #76abda;
  box-shadow: 0 0 0 0.18rem rgba(37, 113, 188, 0.14);
}

.contact-v2-field--textarea {
  min-height: 132px;
  resize: vertical;
}

.contact-v2-form-card__captcha {
  overflow-x: auto;
  padding-bottom: 4px;
}

.contact-v2-submit {
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #1b4f84, #245ea4);
  color: #fff;
  font-weight: 700;
  min-height: 46px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 10px 18px rgba(21, 64, 114, 0.2);
}

.contact-v2-submit:hover,
.contact-v2-submit:focus {
  color: #fff;
  background: linear-gradient(135deg, #163f69, #214f89);
  transform: translateY(-1px);
}

@media (max-width: 1199.98px) {
  .contact-v2-overview__grid {
    grid-template-columns: 1fr;
  }

  .contact-v2-overview__media-card img {
    max-height: 280px;
  }
}

@media (max-width: 767.98px) {
  .contact-v2-overview__panel,
  .contact-v2-overview__media-card,
  .contact-v2-richtext-card,
  .contact-v2-location-card,
  .contact-v2-side-panel,
  .contact-v2-form-card {
    border-radius: 14px;
  }

  .contact-v2-overview__panel,
  .contact-v2-richtext-card,
  .contact-v2-side-panel,
  .contact-v2-form-card {
    padding: 14px;
  }

  .contact-v2-location-card__header,
  .contact-v2-location-card__body {
    padding-left: 14px;
    padding-right: 14px;
  }

  .contact-v2-location-card__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-v2-location-card__badge {
    white-space: normal;
  }

  .contact-v2-form-card__captcha .g-recaptcha {
    transform: scale(0.90);
    transform-origin: left top;
  }
}

/* About Page Corporate Redesign (hero intentionally unchanged) */
.about-corp-page {
  background: linear-gradient(180deg, #f5f9fe 0%, #f2f7fd 100%);
}

.about-corp-card,
.about-corp-media-card,
.about-corp-sidecard,
.about-corp-stat-card,
.about-corp-doctor-card,
.about-corp-faq {
  background: #fff;
  border: 1px solid #dce9f5;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(17, 43, 74, 0.05);
}

.about-corp-card {
  padding: 20px;
}

.about-corp-eyebrow {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: #1d5f9d;
}

.about-corp-card__title {
  margin: 10px 0 0;
  color: #173a5f;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.2;
  font-weight: 800;
}

.about-corp-card__title--sm {
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
}

.about-corp-card__subtitle {
  margin: 10px 0 0;
  color: #1e5f99;
  font-weight: 600;
  line-height: 1.55;
}

.about-corp-card__subtitle--body {
  color: #5f7895;
  font-weight: 500;
}

.about-corp-richtext {
  margin-top: 14px;
  color: #28435f;
}

.about-corp-richtext > *:last-child {
  margin-bottom: 0;
}

.about-corp-richtext p,
.about-corp-richtext li {
  line-height: 1.75;
}

.about-corp-richtext h2,
.about-corp-richtext h3,
.about-corp-richtext h4 {
  color: #173a5f;
  margin-top: 18px;
  margin-bottom: 10px;
  font-weight: 800;
}

.about-corp-empty-state {
  margin-top: 14px;
  color: #5f7895;
  line-height: 1.6;
}

.about-corp-media-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

.about-corp-media-card {
  overflow: hidden;
  position: relative;
  flex: 1 1 auto;
  min-height: 360px;
}

.about-corp-media-card > img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  max-height: 380px;
  object-fit: cover;
  display: block;
}

.about-corp-media-card__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px;
  background: linear-gradient(180deg, rgba(10, 24, 41, 0.02) 0%, rgba(10, 24, 41, 0.85) 100%);
  color: #fff;
}

.about-corp-media-card__badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 10px;
}

.about-corp-media-card__overlay p {
  margin: 9px 0 0;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.9rem;
}

.about-corp-media-card--gallery {
  padding: 14px;
  background: linear-gradient(180deg, #eef4fb 0%, #e6eef8 100%);
  min-height: 420px;
}

.about-corp-media-card--gallery .about-corp-clinic-wall {
  height: 100%;
}

.about-corp-media-card--gallery .about-corp-clinic-wall__grid {
  max-height: none;
}

.about-corp-clinic-wall--intro {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.about-corp-clinic-wall__grid--intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 10px;
  min-height: 0;
  max-height: none;
  overflow: visible;
  align-content: stretch;
  padding-right: 0;
}

.about-corp-clinic-wall__grid--intro .about-corp-clinic-wall__tile {
  display: block;
  min-height: auto;
}

.about-corp-clinic-wall__grid--intro .about-corp-clinic-wall__tile:nth-child(1) {
  grid-column: 1 / -1;
  grid-row: span 1;
}

.about-corp-clinic-wall__grid--intro .about-corp-clinic-wall__tile:nth-child(4n+2) {
  grid-row: span 1;
}

.about-corp-clinic-wall__grid--intro .about-corp-clinic-wall__tile:only-child {
  grid-column: 1 / -1;
  grid-row: span 1;
}

.about-corp-clinic-wall__grid--intro .about-corp-clinic-wall__tile img {
  width: 100%;
  height: 132px;
  min-height: 0;
  object-fit: cover;
  display: block;
}

.about-corp-clinic-wall__grid--intro .about-corp-clinic-wall__tile:nth-child(1) img {
  height: 180px;
}

.about-corp-clinic-wall__grid--intro .about-corp-clinic-wall__tile figcaption {
  display: none;
}

.about-corp-sidecard {
  padding: 16px;
  margin-top: auto;
}

.about-corp-sidecard h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: #173a5f;
}

.about-corp-sidecard__list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.about-corp-sidecard__list li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 18px;
  line-height: 1.55;
  color: #28455f;
}

.about-corp-sidecard__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1f5f9b, #2ea0c4);
}

.about-corp-sidecard__list li:last-child {
  margin-bottom: 0;
}

.about-corp-clinic-card {
  padding: 16px;
  border: 1px solid #dce9f5;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(17, 43, 74, 0.05);
}

.about-corp-clinic-card__head h3 {
  margin: 0;
  color: #173a5f;
  font-size: 1rem;
  font-weight: 800;
}

.about-corp-clinic-card__head p {
  margin: 8px 0 0;
  color: #5f7b97;
  line-height: 1.55;
  font-size: 0.88rem;
}

.about-corp-clinic-card__grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.about-corp-clinic-card__tile {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #deebf6;
  background: #f8fbff;
}

.about-corp-clinic-card__tile:first-child {
  grid-column: 1 / -1;
}

.about-corp-clinic-card__tile img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

.about-corp-clinic-card__tile:first-child img {
  height: 150px;
}

.about-corp-clinic-card__tile figcaption {
  padding: 8px 10px;
  color: #23445f;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
}

.about-corp-clinic-card__footer {
  margin-top: 12px;
  display: grid;
  gap: 8px;
  border-top: 1px solid #e5eef7;
  padding-top: 12px;
}

.about-corp-clinic-card__footer > div {
  display: grid;
  gap: 2px;
}

.about-corp-clinic-card__footer strong {
  color: #173a5f;
  font-size: 0.82rem;
  font-weight: 800;
}

.about-corp-clinic-card__footer span {
  color: #5f7b97;
  font-size: 0.84rem;
  line-height: 1.4;
}

.about-corp-stat-card {
  padding: 16px;
  height: 100%;
}

.about-corp-stat-card__value {
  margin: 0;
  color: #173a5f;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1;
}

.about-corp-stat-card__label {
  margin: 8px 0 0;
  color: #1f4b74;
  font-size: 0.95rem;
  font-weight: 700;
}

.about-corp-stat-card__note {
  margin: 8px 0 0;
  color: #5f7b97;
  line-height: 1.45;
  font-size: 0.84rem;
}

.about-corp-doctor-card {
  overflow: hidden;
}

.about-corp-doctor-card__media {
  height: 100%;
  min-height: 100%;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #eef4fb 0%, #e4edf8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 18px 10px;
}

.about-corp-doctor-card__media--gallery {
  padding: 14px;
  align-items: stretch;
  justify-content: stretch;
}

.about-corp-doctor-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 18%, rgba(42, 119, 201, 0.10) 0, rgba(42, 119, 201, 0.10) 18%, transparent 19%),
    radial-gradient(circle at 85% 12%, rgba(34, 161, 189, 0.12) 0, rgba(34, 161, 189, 0.12) 16%, transparent 17%),
    radial-gradient(circle at 76% 84%, rgba(27, 79, 132, 0.09) 0, rgba(27, 79, 132, 0.09) 18%, transparent 19%);
  pointer-events: none;
}

.about-corp-doctor-card__media-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.about-corp-clinic-wall {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-corp-clinic-wall__head {
  border-radius: 12px;
  border: 1px solid #d7e5f4;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(4px);
  padding: 10px 12px;
}

.about-corp-clinic-wall__head h4 {
  margin: 0;
  color: #173a5f;
  font-size: 0.92rem;
  font-weight: 800;
}

.about-corp-clinic-wall__head p {
  margin: 4px 0 0;
  color: #5f7b97;
  font-size: 0.8rem;
  line-height: 1.35;
}

.about-corp-clinic-wall__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-height: 520px;
  overflow: auto;
  padding-right: 2px;
}

.about-corp-clinic-wall__tile {
  margin: 0;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #d7e5f4;
  background: rgba(255, 255, 255, 0.7);
}

.about-corp-clinic-wall__tile img {
  width: 100%;
  height: 118px;
  object-fit: cover;
  display: block;
}

.about-corp-clinic-wall__tile figcaption {
  padding: 7px 8px;
  color: #21425f;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  background: rgba(255, 255, 255, 0.92);
}

.about-corp-clinic-wall__watermark {
  position: absolute;
  right: 8px;
  bottom: 34px;
  width: 72px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  opacity: 0.85;
}

.about-corp-clinic-wall__watermark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.9;
}

.about-corp-doctor-card__media img {
  width: 100%;
  max-width: 300px;
  max-height: 360px;
  object-fit: contain;
}

.about-corp-doctor-card__media-note {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #d7e5f4;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  padding: 10px 12px;
  text-align: center;
}

.about-corp-doctor-card__media-note strong {
  display: block;
  color: #173a5f;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.25;
}

.about-corp-doctor-card__media-note span {
  display: block;
  margin-top: 3px;
  color: #5f7b97;
  font-size: 0.82rem;
  line-height: 1.35;
}

.about-corp-doctor-card__body {
  padding: 20px;
}

.about-corp-doctor-card__header h3 {
  margin: 2px 0 0;
  color: #173a5f;
  font-size: 1.25rem;
  font-weight: 800;
}

.about-corp-doctor-card__credentials {
  margin: 8px 0 0;
  color: #1f5f99;
  line-height: 1.5;
  font-weight: 600;
}

.about-corp-doctor-card__content {
  margin-top: 14px;
  color: #28435f;
}

.about-corp-doctor-card__content p {
  margin: 0 0 12px;
  line-height: 1.7;
}

.about-corp-doctor-card__quote {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8fbff;
  border: 1px solid #dce9f5;
  color: #173a5f;
  font-weight: 700;
  line-height: 1.6;
}

.about-corp-doctor-card__actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-corp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  padding: 10px 14px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.about-corp-btn:hover,
.about-corp-btn:focus {
  text-decoration: none;
}

.about-corp-btn--primary {
  background: linear-gradient(135deg, #1b4f84, #245ea4);
  border-color: #245ea4;
  color: #fff;
}

.about-corp-btn--primary:hover,
.about-corp-btn--primary:focus {
  background: linear-gradient(135deg, #153f68, #214f89);
  color: #fff;
}

.about-corp-btn--ghost {
  background: #fff;
  border-color: #cfdff0;
  color: #173a5f;
}

.about-corp-btn--ghost:hover,
.about-corp-btn--ghost:focus {
  background: #f6faff;
  color: #123458;
}

.about-corp-why__media {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #dce9f5;
  box-shadow: 0 12px 28px rgba(17, 43, 74, 0.05);
}

.about-corp-why__media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.about-corp-checklist {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.about-corp-checklist li {
  position: relative;
  padding: 10px 12px 10px 36px;
  border-radius: 12px;
  background: #f8fbff;
  border: 1px solid #dce9f5;
  color: #28445f;
  line-height: 1.55;
}

.about-corp-checklist li::before {
  content: "\2713";
  position: absolute;
  left: 12px;
  top: 9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e8f4ff;
  border: 1px solid #bddbf3;
  color: #1b5f9c;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.about-corp-faq-wrap {
  background: #f4f8fd;
}

.about-corp-faq {
  padding: 20px;
}

.about-corp-faq__intro {
  color: #607b97;
  line-height: 1.6;
}

.about-corp-faq__item {
  border: 1px solid #dce9f5 !important;
  border-radius: 14px !important;
  overflow: hidden;
  margin-bottom: 10px;
}

.about-corp-faq__item:last-child {
  margin-bottom: 0;
}

.about-corp-faq__button {
  background: #fff !important;
  color: #173a5f !important;
  box-shadow: none !important;
  padding: 14px 16px !important;
}

.about-corp-faq__button:not(.collapsed) {
  background: #f7fbff !important;
  color: #173a5f !important;
}

.about-corp-faq__button strong {
  font-size: 0.97rem;
}

.about-corp-faq__body {
  color: #28435f;
  line-height: 1.7;
}

.about-corp-faq__body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 991.98px) {
  .about-corp-media-stack {
    height: auto;
  }

  .about-corp-media-card {
    min-height: 300px;
  }

  .about-corp-media-card > img {
    max-height: 340px;
  }

  .about-corp-media-card--gallery {
    min-height: 360px;
  }

  .about-corp-clinic-card__tile img {
    height: 110px;
  }

  .about-corp-clinic-card__tile:first-child img {
    height: 140px;
  }

  .about-corp-doctor-card__media {
    border-bottom: 1px solid #dce9f5;
  }

  .about-corp-clinic-wall__grid {
    max-height: none;
  }

  .about-corp-doctor-card__actions {
    flex-direction: column;
  }

  .about-corp-doctor-card__actions .about-corp-btn {
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .about-corp-card,
  .about-corp-media-card,
  .about-corp-sidecard,
  .about-corp-clinic-card,
  .about-corp-stat-card,
  .about-corp-doctor-card,
  .about-corp-faq,
  .about-corp-why__media {
    border-radius: 14px;
  }

  .about-corp-card,
  .about-corp-sidecard,
  .about-corp-clinic-card,
  .about-corp-stat-card,
  .about-corp-doctor-card__body,
  .about-corp-faq {
    padding: 14px;
  }

  .about-corp-doctor-card__media {
    padding: 14px 14px 0;
  }

  .about-corp-media-card > img,
  .about-corp-why__media img {
    min-height: 220px;
  }

  .about-corp-media-card {
    min-height: 240px;
  }

  .about-corp-media-card--gallery {
    min-height: 320px;
  }

  .about-corp-clinic-card__grid {
    grid-template-columns: 1fr;
  }

  .about-corp-clinic-card__tile:first-child {
    grid-column: auto;
  }

  .about-corp-clinic-card__tile img,
  .about-corp-clinic-card__tile:first-child img {
    height: 135px;
  }

  .about-corp-doctor-card__media {
    padding: 14px 14px 8px;
  }

  .about-corp-clinic-wall__grid {
    grid-template-columns: 1fr;
  }

  .about-corp-clinic-wall__tile img {
    height: 150px;
  }

  .about-corp-clinic-wall__grid--intro {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
  }

  .about-corp-clinic-wall__grid--intro .about-corp-clinic-wall__tile:nth-child(1),
  .about-corp-clinic-wall__grid--intro .about-corp-clinic-wall__tile:nth-child(4n+2),
  .about-corp-clinic-wall__grid--intro .about-corp-clinic-wall__tile:only-child {
    grid-column: auto;
    grid-row: span 1;
  }

  .about-corp-clinic-wall__grid--intro .about-corp-clinic-wall__tile img,
  .about-corp-clinic-wall__grid--intro .about-corp-clinic-wall__tile:nth-child(1) img {
    height: 150px;
  }

  .about-corp-clinic-wall__watermark {
    width: 68px;
    height: 26px;
    bottom: 36px;
  }
}
