/* SECTION19 clone — native Elementor widgets + theme layout */
.mc-about-wrap.elementor-section,
.elementor-section.mc-about-wrap {
  --mc-about-accent: #850e35;
  --mc-about-brand: #850e35;
  --mc-about-title: #051f4d;
  --mc-about-text: #545454;
  --mc-about-bg: rgb(255, 247, 249);
  position: relative;
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  min-height: 746px;
  /* Let decor ring/blob peek past stage (sample). Page-level overflow-x handles scroll. */
  overflow: visible;
  background: var(--mc-about-bg);
  font-family: Tinos, serif;
}

.mc-about-wrap > .elementor-container {
  position: relative !important;
  width: min(100%, 1200px) !important;
  max-width: 1200px !important;
  height: 746px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow: visible;
}

.mc-about-wrap > .elementor-container > .elementor-column,
.mc-about-wrap > .elementor-container > .elementor-column > .elementor-widget-wrap,
.mc-about-wrap > .elementor-container > .elementor-row,
.mc-about-wrap > .elementor-container > .elementor-row > .elementor-column,
.mc-about-wrap > .elementor-container > .elementor-row > .elementor-column > .elementor-widget-wrap {
  position: relative;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  overflow: visible;
}

/*
 * Feat cards reach ~1229px; keep a 1240 stage so labels aren't clipped,
 * then scale the whole composition to the viewport.
 */
@media (min-width: 1025px) {
  .mc-about-wrap.elementor-section,
  .elementor-section.mc-about-wrap {
    --mc-about-s: min(1, calc(100vw / 1240px));
    height: calc(746px * var(--mc-about-s)) !important;
    min-height: 0 !important;
  }

  .mc-about-wrap > .elementor-container {
    width: calc(1240px * var(--mc-about-s)) !important;
    max-width: none !important;
    height: calc(746px * var(--mc-about-s)) !important;
    overflow: visible !important;
  }

  .mc-about-wrap > .elementor-container > .elementor-column {
    display: block !important;
    flex: none !important;
    width: 100% !important;
    height: 100% !important;
    overflow: visible !important;
  }

  .mc-about-wrap > .elementor-container > .elementor-column > .elementor-widget-wrap {
    display: block !important;
    flex: 0 0 1240px !important;
    flex-shrink: 0 !important;
    width: 1240px !important;
    min-width: 1240px !important;
    max-width: 1240px !important;
    height: 746px !important;
    min-height: 746px !important;
    transform: scale(var(--mc-about-s)) !important;
    transform-origin: top left !important;
    overflow: visible !important;
  }
}

.mc-about-wrap .elementor-element {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
}

/* Decor SVGs (HTML widget) */
.mc-about-wrap .elementor-element.mc-about__decor-html {
  position: absolute !important;
  inset: 0;
  z-index: 0;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none;
  overflow: visible !important;
}
.mc-about-wrap .mc-about__decor-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
}
.mc-about-wrap .mc-about__decor {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}
.mc-about-wrap .mc-about__decor--ring {
  left: -67px;
  top: -17px;
  width: 127px;
  height: 127px;
  fill: color-mix(in srgb, var(--mc-about-accent) 28%, transparent);
}
.mc-about-wrap .mc-about__decor--blob {
  left: -119px;
  top: 271px;
  width: 352px;
  height: 189px;
  fill: color-mix(in srgb, var(--mc-about-accent) 14%, transparent);
  transform: rotate(-22deg);
}
.mc-about-wrap .mc-about__decor--dots {
  left: 481px;
  top: 111px;
  width: 107px;
  height: 57px;
  fill: color-mix(in srgb, var(--mc-about-accent) 40%, transparent);
}

.mc-about-wrap .elementor-element.mc-about__title {
  position: absolute !important;
  left: 0;
  top: 27px;
  width: 510px !important;
  z-index: 2;
}
.mc-about-wrap .mc-about__title .elementor-heading-title {
  margin: 0;
  font-family: "Cormorant Upright", Tinos, serif !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  line-height: 41.6px !important;
  text-align: justify !important;
  color: var(--mc-about-title) !important;
}
.mc-about-wrap .mc-about__title-brand {
  color: var(--mc-about-accent) !important;
}
.mc-about-wrap .mc-about__title-rest {
  color: var(--mc-about-title) !important;
}

.mc-about-wrap .elementor-element.mc-about__desc {
  position: absolute !important;
  left: 0;
  top: 128px;
  width: 510px !important;
  z-index: 2;
  color: var(--mc-about-text);
  font-family: Tinos, serif;
  font-size: 16px;
  line-height: 25.6px;
  text-align: justify;
}
.mc-about-wrap .mc-about__desc p {
  margin: 0;
}
.mc-about-wrap .mc-about__desc p + p {
  margin-top: 25.6px;
}
.mc-about-wrap .mc-about__desc strong {
  font-weight: 700;
  color: rgb(84, 84, 84);
}

.mc-about-wrap .elementor-element.mc-about__cta {
  position: absolute !important;
  left: 112px;
  top: 629px;
  z-index: 2;
  width: auto !important;
}
.mc-about-wrap .mc-about__cta .elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 100px;
  background: var(--mc-about-accent) !important;
  color: #fff !important;
  font-family: Tinos, serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  line-height: 1 !important;
  box-shadow: none !important;
}
.mc-about-wrap .mc-about__cta .elementor-button:hover {
  color: #fff !important;
  opacity: 0.92;
}

.mc-about-wrap .elementor-element.mc-about__main {
  position: absolute !important;
  left: 526px;
  top: 158px;
  width: 402px !important;
  height: 402px !important;
  z-index: 2;
}
.mc-about-wrap .elementor-element.mc-about__main::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.6px dashed var(--mc-about-accent);
  box-sizing: border-box;
  pointer-events: none;
  z-index: 1;
}
.mc-about-wrap .mc-about__main img {
  position: absolute;
  left: 17.5px;
  top: 17.5px;
  width: 367px !important;
  height: 367px !important;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* Feat rows (inner sections) */
.mc-about-wrap .mc-about__feat.elementor-inner-section {
  position: absolute !important;
  z-index: 2;
  height: auto !important;
}
.mc-about-wrap .mc-about__feat--1 { left: 837px; top: 104px; width: 383px !important; --mc-delay: 0s; }
.mc-about-wrap .mc-about__feat--2 { left: 928px; top: 234px; width: 286px !important; --mc-delay: .15s; }
.mc-about-wrap .mc-about__feat--3 { left: 928px; top: 380px; width: 301px !important; --mc-delay: .3s; }
.mc-about-wrap .mc-about__feat--4 { left: 837px; top: 516px; width: 259px !important; --mc-delay: .45s; }

.mc-about-wrap .mc-about__feat > .elementor-container,
.mc-about-wrap .mc-about__feat > .elementor-container > .elementor-column,
.mc-about-wrap .mc-about__feat .elementor-widget-wrap {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 19px;
  height: auto !important;
  width: 100% !important;
  max-width: none !important;
}

.mc-about-wrap .mc-about__feat .elementor-element.mc-about__feat-img {
  flex: 0 0 103px;
  width: 103px !important;
  height: 103px !important;
  max-width: 103px !important;
}
.mc-about-wrap .mc-about__feat-img img {
  width: 103px !important;
  height: 103px !important;
  border-radius: 50%;
  border: 4px solid color-mix(in srgb, var(--mc-about-accent) 55%, transparent);
  box-sizing: border-box;
  object-fit: cover;
  object-position: left center;
  display: block;
}

.mc-about-wrap .elementor-element.mc-about__feat-img--logo {
  background: #fff !important;
  border-radius: 50% !important;
  border: 4px solid #f2c1ce !important;
  overflow: hidden;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box !important;
}
.mc-about-wrap .mc-about__feat-img--logo .elementor-widget-container {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: 100% !important;
  background: transparent !important;
}
.mc-about-wrap .mc-about__feat-img--logo img {
  width: 72px !important;
  height: 72px !important;
  max-width: 72px !important;
  border: 0 !important;
  border-radius: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
}

.mc-about-wrap .mc-about__feat .elementor-element.mc-about__feat-label {
  flex: 1 1 auto;
  width: auto !important;
  max-width: none !important;
}
.mc-about-wrap .mc-about__feat-label .elementor-heading-title {
  margin: 0;
  color: rgb(15, 15, 15) !important;
  font-family: "Cormorant Upright", Tinos, serif !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 30.8px !important;
}

/* Scroll reveal */
.mc-anim:not(.is-inview) {
  opacity: 0;
}
.mc-anim--left:not(.is-inview) {
  transform: translateX(-20px);
}
.mc-anim--right:not(.is-inview) {
  transform: translateX(40px);
}
.mc-anim.is-inview {
  animation-duration: 1s;
  animation-delay: var(--mc-delay, 0s);
  animation-fill-mode: both;
  animation-iteration-count: 1;
}
.mc-anim--left.is-inview {
  animation-name: mc-fade-in-left;
}
.mc-anim--right.is-inview {
  animation-name: mc-fade-in-right;
}

/* Elementor editor: keep absolute right-side images visible while editing */
body.elementor-editor-active .mc-anim,
body.elementor-editor-preview .mc-anim,
.elementor-editor-active .mc-anim,
.elementor-editor-preview .mc-anim {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

@keyframes mc-fade-in-left {
  0% { opacity: 0; transform: translateX(-20px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes mc-fade-in-right {
  0% { opacity: 0; transform: translateX(40px); }
  100% { opacity: 1; transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .mc-anim:not(.is-inview),
  .mc-anim.is-inview {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* —— ≤1024: stacked, keep absolute desktop until tablet —— */
@media (max-width: 1024px) {
  .mc-about-wrap.elementor-section,
  .elementor-section.mc-about-wrap {
    min-height: 0;
    overflow: hidden;
  }

  .mc-about-wrap > .elementor-container {
    height: auto !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 48px 32px 56px !important;
  }

  .mc-about-wrap > .elementor-container > .elementor-column,
  .mc-about-wrap > .elementor-container > .elementor-column > .elementor-widget-wrap,
  .mc-about-wrap > .elementor-container > .elementor-row,
  .mc-about-wrap > .elementor-container > .elementor-row > .elementor-column,
  .mc-about-wrap > .elementor-container > .elementor-row > .elementor-column > .elementor-widget-wrap {
    height: auto !important;
  }

  .mc-about-wrap > .elementor-container > .elementor-column > .elementor-widget-wrap,
  .mc-about-wrap > .elementor-container > .elementor-row > .elementor-column > .elementor-widget-wrap {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
    align-items: center;
    justify-items: center;
  }

  .mc-about-wrap .elementor-element.mc-about__decor-html {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    grid-column: 1 / -1;
    z-index: 0;
    pointer-events: none;
  }

  .mc-about-wrap .mc-about__decor--ring {
    left: -40px;
    top: -10px;
    width: 110px;
    height: 110px;
    fill: color-mix(in srgb, var(--mc-about-accent) 28%, transparent);
  }

  .mc-about-wrap .mc-about__decor--blob {
    left: -90px;
    top: 38%;
    width: 260px;
    height: 140px;
    fill: color-mix(in srgb, var(--mc-about-accent) 14%, transparent);
  }

  .mc-about-wrap .mc-about__decor--dots {
    right: -10px;
    left: auto;
    top: auto;
    bottom: 18%;
    width: 120px;
    height: 64px;
    fill: color-mix(in srgb, var(--mc-about-accent) 40%, transparent);
  }

  .mc-about-wrap .elementor-element.mc-about__title,
  .mc-about-wrap .elementor-element.mc-about__desc,
  .mc-about-wrap .elementor-element.mc-about__cta,
  .mc-about-wrap .elementor-element.mc-about__main {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    grid-column: 1 / -1;
    width: 100% !important;
    max-width: min(720px, 100%);
    justify-self: center;
    z-index: 2;
  }

  .mc-about-wrap .mc-about__title .elementor-heading-title {
    text-align: center !important;
    line-height: 1.4 !important;
    font-size: 24px !important;
  }

  .mc-about-wrap .elementor-element.mc-about__desc {
    text-align: center;
    font-size: 15px;
    line-height: 1.6;
  }

  .mc-about-wrap .mc-about__desc p + p {
    margin-top: 1em;
  }

  .mc-about-wrap .elementor-element.mc-about__cta {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    max-width: min(720px, 100%) !important;
    margin: 12px auto 16px !important;
  }

  .mc-about-wrap .mc-about__cta .elementor-widget-container,
  .mc-about-wrap .mc-about__cta .elementor-button-wrapper {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
  }

  .mc-about-wrap .mc-about__cta .elementor-button {
    margin: 0 auto !important;
  }

  .mc-about-wrap .elementor-element.mc-about__main {
    width: min(100%, 360px) !important;
    height: auto !important;
    aspect-ratio: 1;
    margin: 8px auto 12px !important;
  }

  .mc-about-wrap .mc-about__main img {
    left: 4.3%;
    top: 4.3%;
    width: 91.4% !important;
    height: 91.4% !important;
  }

  .mc-about-wrap .mc-about__feat.elementor-inner-section {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: none;
    z-index: 2;
  }

  .mc-about-wrap .mc-about__feat .elementor-element.mc-about__feat-img {
    flex-basis: 72px;
    width: 72px !important;
    height: 72px !important;
    max-width: 72px !important;
  }

  .mc-about-wrap .mc-about__feat-img img {
    width: 72px !important;
    height: 72px !important;
    border-width: 3px;
  }

  .mc-about-wrap .mc-about__feat > .elementor-container,
  .mc-about-wrap .mc-about__feat > .elementor-container > .elementor-column,
  .mc-about-wrap .mc-about__feat .elementor-widget-wrap {
    gap: 10px;
  }

  .mc-about-wrap .mc-about__feat-label .elementor-heading-title {
    font-size: 16px !important;
    line-height: 1.3 !important;
  }
}

/* —— iPad / tablet: copy rộng hơn, feature 2 cột, CTA giữa —— */
@media (min-width: 768px) and (max-width: 1024px) {
  .mc-about-wrap > .elementor-container {
    padding: 48px 36px 64px !important;
  }

  .mc-about-wrap > .elementor-container > .elementor-column > .elementor-widget-wrap,
  .mc-about-wrap > .elementor-container > .elementor-row > .elementor-column > .elementor-widget-wrap {
    max-width: 880px;
    margin: 0 auto;
    width: 100%;
    gap: 24px 28px;
  }

  .mc-about-wrap .elementor-element.mc-about__title,
  .mc-about-wrap .elementor-element.mc-about__desc,
  .mc-about-wrap .elementor-element.mc-about__cta {
    max-width: min(760px, 100%);
  }

  .mc-about-wrap .mc-about__title .elementor-heading-title {
    font-size: 26px !important;
  }

  .mc-about-wrap .elementor-element.mc-about__desc {
    font-size: 16px;
    line-height: 1.65;
  }

  .mc-about-wrap .elementor-element.mc-about__main {
    width: min(100%, 380px) !important;
    margin: 12px auto 8px !important;
  }

  .mc-about-wrap .mc-about__feat.elementor-inner-section,
  .mc-about-wrap .mc-about__feat--1,
  .mc-about-wrap .mc-about__feat--2,
  .mc-about-wrap .mc-about__feat--3,
  .mc-about-wrap .mc-about__feat--4 {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: none !important;
    justify-self: stretch;
  }
}

/* —— ≤992 —— */
@media (max-width: 992px) {
  .mc-about-wrap > .elementor-container {
    padding: 40px 24px 48px !important;
  }

  .mc-about-wrap .mc-about__title .elementor-heading-title {
    font-size: 22px !important;
  }

  .mc-about-wrap .elementor-element.mc-about__main {
    width: min(100%, 320px) !important;
  }
}

/* —— ≤767 —— */
@media (max-width: 767px) {
  .mc-about-wrap > .elementor-container {
    padding: 32px 20px 40px !important;
  }

  .mc-about-wrap > .elementor-container > .elementor-column > .elementor-widget-wrap,
  .mc-about-wrap > .elementor-container > .elementor-row > .elementor-column > .elementor-widget-wrap {
    gap: 16px 12px;
  }

  .mc-about-wrap .mc-about__title .elementor-heading-title {
    font-size: 20px !important;
    line-height: 1.35 !important;
  }

  .mc-about-wrap .elementor-element.mc-about__desc {
    font-size: 14px;
    line-height: 1.55;
  }

  .mc-about-wrap .mc-about__cta .elementor-button {
    width: 200px;
    height: 42px;
    font-size: 16px !important;
  }

  .mc-about-wrap .elementor-element.mc-about__main {
    width: min(100%, 280px) !important;
  }

  .mc-about-wrap .mc-about__decor--ring {
    width: 96px;
    height: 96px;
    left: -28px;
    top: 0;
  }

  .mc-about-wrap .mc-about__decor--blob {
    width: 200px;
    height: 110px;
    left: -70px;
    top: 42%;
  }

  .mc-about-wrap .mc-about__decor--dots {
    width: 100px;
    height: 54px;
    bottom: 22%;
    right: -8px;
  }

  .mc-about-wrap .mc-about__feat .elementor-element.mc-about__feat-img {
    flex-basis: 64px;
    width: 64px !important;
    height: 64px !important;
    max-width: 64px !important;
  }

  .mc-about-wrap .mc-about__feat-img img {
    width: 64px !important;
    height: 64px !important;
  }

  .mc-about-wrap .mc-about__feat-label .elementor-heading-title {
    font-size: 14px !important;
  }
}

/* —— ≤320 —— */
@media (max-width: 320px) {
  .mc-about-wrap > .elementor-container {
    padding: 28px 14px 36px !important;
  }

  .mc-about-wrap > .elementor-container > .elementor-column > .elementor-widget-wrap,
  .mc-about-wrap > .elementor-container > .elementor-row > .elementor-column > .elementor-widget-wrap {
    gap: 14px 8px;
  }

  .mc-about-wrap .mc-about__title .elementor-heading-title {
    font-size: 18px !important;
  }

  .mc-about-wrap .elementor-element.mc-about__desc {
    font-size: 13px;
  }

  .mc-about-wrap .mc-about__cta .elementor-button {
    width: 180px;
    height: 40px;
    font-size: 15px !important;
  }

  .mc-about-wrap .elementor-element.mc-about__main {
    width: min(100%, 240px) !important;
  }

  .mc-about-wrap .mc-about__feat .elementor-element.mc-about__feat-img {
    flex-basis: 56px;
    width: 56px !important;
    height: 56px !important;
    max-width: 56px !important;
  }

  .mc-about-wrap .mc-about__feat-img img {
    width: 56px !important;
    height: 56px !important;
    border-width: 2px;
  }

  .mc-about-wrap .mc-about__feat-label .elementor-heading-title {
    font-size: 13px !important;
  }
}
