html,
body {
  overflow-x: hidden;
}

.ast-container,
.site-content .ast-container,
.entry-content,
.page .entry-content,
.single .entry-content,
.entry-content > .wp-block-shortcode {
  max-width: 100% !important;
}

.page .entry-content,
.single .entry-content,
.ast-container,
.site-content .ast-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.entry-content > .wp-block-uagb-container,
.entry-content .wp-block-uagb-container:has(.vm-habitos-section),
.uagb-container-inner-blocks-wrap:has(.vm-habitos-section),
.wp-block-uagb-container:has(.vm-habitos-section) {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.wp-block-uagb-container,
.uagb-container-inner-blocks-wrap {
  max-width: 100%;
}

.vm-habitos-section {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  background: #ffffff;
  padding: 58px 0 72px;
  box-sizing: border-box;
  overflow: hidden;
}

.vm-habitos-shell {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
}

.vm-habitos-copy {
  max-width: 1100px;
  margin: 0 auto 44px;
}

.vm-habitos-title {
  margin: 0 0 24px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: 0;
  color: #49a650 !important;
}

.vm-habitos-title span {
  display: block;
  margin: 0;
  padding: 0;
  color: #49a650 !important;
}

.vm-habitos-title span:first-child {
  font-size: 2.9rem;
  line-height: 0.95;
  margin-bottom: 8px;
}

.vm-habitos-title span:last-child {
  font-size: 4.7rem;
  line-height: 0.92;
}

.vm-habitos-copy p {
  margin: 0 0 10px;
  color: #2b2b2b;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
}

.vm-habitos-copy p:last-child {
  margin-bottom: 0;
}

.vm-habitos-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  align-items: stretch;
  max-width: 1240px;
  margin: 0 auto;
}

.vm-habitos-card {
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.vm-habitos-card-top {
  background: #efefec;
  min-height: 238px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  box-sizing: border-box;
}

.vm-habitos-card-top img {
  display: block;
  width: 100%;
  max-width: 190px;
  height: auto;
  object-fit: contain;
}

.vm-habitos-card-body {
  padding: 22px 22px 18px;
  box-sizing: border-box;
}

.vm-habitos-card-body h3 {
  margin: 0 0 18px;
  color: #173b80;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 700;
  text-transform: uppercase;
}

.vm-habitos-card-body p {
  margin: 0;
  color: #29478d;
  font-family: "Poppins", sans-serif;
  font-size: 0.92rem;
  line-height: 1.55;
  font-weight: 400;
}

@media (max-width: 1200px) {
  .vm-habitos-shell {
    padding: 0 20px;
  }

  .vm-habitos-title span:first-child {
    font-size: 2.4rem;
  }

  .vm-habitos-title span:last-child {
    font-size: 3.8rem;
  }

  .vm-habitos-cards {
    gap: 24px;
  }

  .vm-habitos-card-top {
    min-height: 210px;
  }
}

@media (max-width: 980px) {
  .vm-habitos-cards {
    grid-template-columns: 1fr;
    max-width: 720px;
  }

  .vm-habitos-card-top {
    min-height: 220px;
  }
}

@media (max-width: 640px) {
  .vm-habitos-section {
    padding: 42px 0 52px;
  }

  .vm-habitos-title span:first-child {
    font-size: 1.9rem;
  }

  .vm-habitos-title span:last-child {
    font-size: 2.9rem;
  }

  .vm-habitos-copy {
    margin-bottom: 30px;
  }

  .vm-habitos-copy p {
    font-size: 0.96rem;
    line-height: 1.6;
  }

  .vm-habitos-card-top {
    min-height: 190px;
    padding: 22px 18px;
  }

  .vm-habitos-card-top img {
    max-width: 165px;
  }

  .vm-habitos-card-body {
    padding: 18px;
  }

  .vm-habitos-card-body h3 {
    font-size: 0.94rem;
  }

  .vm-habitos-card-body p {
    font-size: 0.9rem;
  }
}