.landing-page .about-us-page {
  margin-top: 92px !important;
}

.about-us-page .about-sidebar {
  top: 110px;
  z-index: 5 !important;
  border-radius: 14px;
}

.about-us-page .about-section-link {
  border: 0;
  border-radius: 10px;
  margin-bottom: 6px;
  font-weight: 600;
  color: #2a3f46;
  padding: 12px;
  background: transparent;
  transition: all 0.2s ease;
}

.about-us-page .about-section-link.active {
  background: linear-gradient(135deg, #308e87 0%, #236b67 100%);
  color: #ffffff;
}

.about-us-page .about-section-link:last-child {
  margin-bottom: 0;
}

.about-us-page .about-sections-stack {
  display: grid;
  gap: 24px;
}

.about-us-page .about-content-card {
  border-radius: 16px;
  border: 1px solid rgba(48, 142, 135, 0.14);
  overflow: hidden;
  scroll-margin-top: 120px;
}

.about-us-page .about-content-card .card-body {
  position: relative;
}

.about-us-page .about-section-type-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
}

.about-us-page .about-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: center;
}

.about-us-page .about-content-body {
  order: 2;
}

.about-us-page .about-content-body h2,
.about-us-page .about-content-body .h2 {
  color: #1f3538;
}

.about-us-page .about-content-body .about-text {
  color: #4f5f6a;
  line-height: 1.7;
  font-size: 1rem;
}

.about-us-page .about-content-gallery {
  order: 1;
  position: relative;
  width: min(100%, 460px);
  margin-right: auto;
  margin-left: 0;
  min-height: 360px;
  padding: 0 32px 24px 0;
}

.about-us-page .about-content-media-main,
.about-us-page .about-content-media-overlay {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #edf4f4;
  border: 1px solid rgba(48, 142, 135, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-us-page .about-content-media-main {
  height: 360px;
  box-shadow: 0 16px 30px rgba(24, 67, 63, 0.12);
}

.about-us-page .about-content-media-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  height: 230px;
  border: 8px solid #ffffff;
  box-shadow: 0 14px 28px rgba(21, 61, 57, 0.18);
}

.about-us-page .about-content-media-main img,
.about-us-page .about-content-media-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about-us-page .about-content-media-main .about-content-initial,
.about-us-page .about-content-media-overlay .about-content-initial {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, #308e87 0%, #236b67 100%);
}

.about-us-page .about-empty-state {
  border: 1px dashed rgba(48, 142, 135, 0.4);
  border-radius: 12px;
  background: rgba(48, 142, 135, 0.05);
  padding: 32px 20px;
  text-align: center;
}

.about-us-page .about-content-card.layout-image-right .about-content-body {
  order: 1;
}

.about-us-page .about-content-card.layout-image-right .about-content-gallery {
  order: 2;
  margin-left: auto;
  margin-right: 0;
  padding: 0 0 24px 32px;
}

.about-us-page .about-content-card.layout-image-right .about-content-media-overlay {
  left: 0;
  right: auto;
}

.about-us-page .about-content-card.layout-image-center .about-content-layout {
  grid-template-columns: 1fr;
  gap: 22px;
}

.about-us-page .about-content-card.layout-image-center .about-content-body {
  order: 1;
  margin: 0 auto;
  width: min(100%, 900px);
  text-align: center;
}

.about-us-page .about-content-card.layout-image-center .about-content-body .d-flex {
  justify-content: center !important;
}

.about-us-page .about-content-card.layout-image-center .about-content-gallery {
  order: 2;
  margin: 0 auto;
  padding: 0 24px 18px 0;
}

.about-us-page .about-content-card.layout-image-center .about-content-media-overlay {
  right: 0;
  left: auto;
}

@media (max-width: 991px) {
  .landing-page .about-us-page {
    margin-top: 36px !important;
  }

  .about-us-page .about-sidebar {
    top: auto;
    position: relative !important;
  }

  .about-us-page .about-content-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-us-page .about-content-body {
    order: 1;
  }

  .about-us-page .about-content-gallery {
    order: 2;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    padding: 0 24px 18px 0;
  }

  .about-us-page .about-content-card.layout-image-right .about-content-gallery {
    padding: 0 24px 18px 0;
  }

  .about-us-page .about-content-card.layout-image-right .about-content-media-overlay {
    left: auto;
    right: 0;
  }
}

@media (max-width: 575px) {
  .about-us-page .about-content-card {
    scroll-margin-top: 100px;
  }

  .about-us-page .about-content-media-main {
    height: 250px;
  }

  .about-us-page .about-content-gallery {
    min-height: 260px;
    padding: 0;
  }

  .about-us-page .about-content-media-overlay {
    display: none;
  }

  .about-us-page .about-section-type-badge {
    top: 12px;
    right: 12px;
  }
}
