/* Course home: visual hierarchy around dynamic WooCommerce data. */
body#thim-body.ena-home .elementor-12 .elementor-element-da4e67a {
  position: relative;
  overflow: hidden;
  padding: 96px 20px 100px;
  background: #f9f6ee;
  isolation: isolate;
}
body#thim-body.ena-home .elementor-element-da4e67a::before {
  content: "";
  position: absolute;
  top: 25px;
  right: max(-130px, calc((100vw - 1450px) / 2));
  width: 325px;
  aspect-ratio: 520 / 440;
  background: url("../graphics/ena-leaves.svg") center / contain no-repeat;
  opacity: .18;
  transform: rotate(-18deg);
  pointer-events: none;
  z-index: -1;
}
body#thim-body.ena-home .elementor-element-da4e67a > .elementor-container {
  position: relative;
  z-index: 1;
}
body#thim-body.ena-home .elementor-element-da4e67a .elementor-element-ff2d343 > .elementor-widget-wrap {
  padding: 0;
  margin: 0;
}
body#thim-body.ena-home .elementor-element-da4e67a .elementor-element-a731db0 { margin: 0; }
body#thim-body.ena-home .elementor-element-da4e67a .ena-section-heading { max-width: 670px; margin: 0; }
body#thim-body.ena-home .elementor-element-da4e67a .ena-section-heading h2 {
  max-width: 650px;
  font-size: clamp(38px, 4.2vw, 58px);
}
body#thim-body.ena-home .elementor-element-da4e67a .ena-section-heading__intro {
  max-width: 550px;
  margin-top: 20px;
  color: #514d44;
  font-size: 15px;
  line-height: 1.72;
}
body#thim-body.ena-home .elementor-element-da4e67a .ena-course-paths-label {
  margin: 30px 0 11px;
  color: #536925;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .12em;
  text-transform: uppercase;
}
body#thim-body.ena-home .elementor-element-da4e67a .elementor-element-7cd9ed2 { --min-height: 0; min-height: 0; margin: 0 0 43px; }
body#thim-body.ena-home .elementor-element-da4e67a .elementor-element-7cd9ed2 > .e-con-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  gap: 10px;
  justify-content: flex-start;
}
body#thim-body.ena-home .elementor-element-da4e67a .elementor-element-7cd9ed2 .elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid #c9d4a9;
  border-radius: 5px;
  background: #fff;
  color: #344516;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  box-shadow: 0 2px 8px rgb(63 74 31 / 4%);
}
body#thim-body.ena-home .elementor-element-da4e67a .elementor-element-7cd9ed2 .elementor-button:hover {
  border-color: #83a729;
  background: #edf3df;
  color: #263510;
}
body#thim-body.ena-home .elementor-element-d2a5b31 { margin: 0; }
body#thim-body.ena-home .elementor-element-d2a5b31 .thim-ekits-product__item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: auto;
  min-width: 0;
  padding: 0 0 20px;
  border: 1px solid #ded7c8;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 23px rgb(67 47 19 / 6%);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
body#thim-body.ena-home .elementor-element-d2a5b31 .thim-ekits-product__item:hover {
  border-color: #cabb9b;
  box-shadow: 0 18px 38px rgb(67 47 19 / 11%);
}
body#thim-body.ena-home .elementor-element-d2a5b31 img.attachment-woocommerce_thumbnail {
  order: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  margin: 0;
  object-fit: cover;
}
body#thim-body.ena-home .elementor-element-d2a5b31 .onsale {
  top: 15px;
  left: 15px;
  z-index: 2;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 8px 11px;
  border-left: 4px solid #83a729;
  border-radius: 4px;
  background: #fffdf8;
  color: #354916;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  box-shadow: 0 3px 12px rgb(26 32 12 / 12%);
}
body#thim-body.ena-home .elementor-element-d2a5b31 .woocommerce-loop-product__title {
  order: 2;
  min-height: 3.1em;
  margin: 0;
  padding: 21px 22px 17px;
  color: var(--ena-ink);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: break-word;
  letter-spacing: -.025em;
}
body#thim-body.ena-home .elementor-element-d2a5b31 .ena-insc {
  order: 3;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 128px), 1fr));
  gap: 4px 8px;
  margin: 0 22px;
  padding: 13px 14px;
  border: 1px solid #dce6c8;
  border-radius: 7px;
  background: #f4f8eb;
  color: #3e5320;
  text-align: left;
  box-shadow: none;
}
body#thim-body.ena-home .elementor-element-d2a5b31 .ena-insc__label {
  grid-column: 1 / -1;
  margin: 0 0 5px;
  padding: 0 0 7px;
  border-bottom: 1px solid #d2dfba;
  color: #4c681a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-align: left;
}
body#thim-body.ena-home .elementor-element-d2a5b31 .ena-insc__fecha {
  color: #34491b;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
body#thim-body.ena-home .elementor-element-d2a5b31 .ena-vacantes {
  order: 4;
  align-self: flex-start;
  margin: 13px 22px 0;
  padding: 5px 9px;
  border-radius: 3px;
  background: #fff1d3;
  color: #6b4710;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .04em;
}
body#thim-body.ena-home .elementor-element-d2a5b31 .mpa-subscription-badge {
  order: 4;
  align-self: flex-start;
  margin: 8px 22px 0;
  padding: 4px 9px;
  border-radius: 3px;
  background: #eef3e2;
  color: #3e5320;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}
body#thim-body.ena-home .elementor-element-d2a5b31 .price {
  order: 5;
  display: block;
  width: auto;
  margin: auto 22px 16px;
  padding: 22px 0 0;
  border-top: 1px solid #e7e1d5;
  color: var(--ena-ink);
  text-align: left;
  line-height: 1.35;
}
body#thim-body.ena-home .elementor-element-d2a5b31 .sale .price::before {
  content: "PRECIO CON DESCUENTO";
  display: block;
  margin-bottom: 8px;
  color: #5a6f29;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
}
body#thim-body.ena-home .elementor-element-d2a5b31 .price del {
  display: block;
  margin-bottom: 3px;
  color: #696357;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}
body#thim-body.ena-home .elementor-element-d2a5b31 .price ins,
body#thim-body.ena-home .elementor-element-d2a5b31 .price > .woocommerce-Price-amount {
  display: inline;
  padding: 0;
  background: transparent;
  color: var(--ena-ink);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.035em;
  text-decoration: none;
}
body#thim-body.ena-home .elementor-element-d2a5b31 .mpa-subscription-period {
  display: inline;
  color: #4e4a40;
  font-size: 14px;
  font-weight: 500;
  white-space: normal;
}
body#thim-body.ena-home .elementor-element-d2a5b31 .cuotas-suscripcion {
  display: block;
  margin-top: 7px;
  color: #575247;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}
body#thim-body.ena-home .elementor-element-d2a5b31 .thim-ekits-product__item > .button {
  order: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 44px);
  min-height: 52px;
  margin: 0 22px;
  padding: 11px 13px;
  border: 1px solid #f7a600;
  border-radius: 5px;
  background: #f7a600;
  color: #292823;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}
body#thim-body.ena-home .elementor-element-d2a5b31 .thim-ekits-product__item > .button:hover { background: #e99b00; border-color: #e99b00; }
body#thim-body.ena-home .elementor-element-d2a5b31 .thim-ekits-product__item > .button:focus-visible { outline: 3px solid #395c6b; outline-offset: 3px; }
body#thim-body.ena-home .elementor-element-da4e67a .elementor-element-d791f54 .elementor-button {
  border-color: #506719;
  background: #506719;
  color: #fff;
}
body#thim-body.ena-home .elementor-element-da4e67a .elementor-element-d791f54 .elementor-button:hover { background: #3e5210; border-color: #3e5210; }

/* Resource cards share Woo markup, but need their own legible type scale. */
body#thim-body.ena-home .elementor-12 .elementor-element-0890d28 .ena-section-heading h2 { font-size: clamp(36px, 3.8vw, 52px); }
body#thim-body.ena-home .elementor-12 .elementor-element-0890d28 .ena-section-heading__intro { font-size: 16px; }
body#thim-body.ena-home .elementor-12 .elementor-element-0890d28 .ena-eyebrow { font-size: 11px; }
body#thim-body.ena-home .elementor-12 .elementor-element-0890d28 .elementor-element-94369ac .woocommerce-loop-product__title { min-height: 3.2em; margin-bottom: 14px; padding-inline: 22px; font-size: 21px; line-height: 1.38; overflow-wrap: break-word; }
body#thim-body.ena-home .elementor-12 .elementor-element-0890d28 .elementor-element-94369ac .price { margin: 16px 0; padding-inline: 22px; font-size: 19px; line-height: 1.5; }
body#thim-body.ena-home .elementor-12 .elementor-element-0890d28 .elementor-element-94369ac .price del { font-size: 14px; }
body#thim-body.ena-home .elementor-12 .elementor-element-0890d28 .elementor-element-94369ac .onsale { font-size: 12px; }
body#thim-body.ena-home .elementor-12 .elementor-element-0890d28 .elementor-element-94369ac .thim-ekits-product__item > .button { min-height: 52px; font-size: 15px; }
body#thim-body.ena-home .elementor-12 .elementor-element-0890d28 .elementor-element-94369ac .thim-slider-nav { top: 180px; }
@media (max-width: 767px) {
  body#thim-body.ena-home .elementor-12 .elementor-element-0890d28 .ena-section-heading h2 { font-size: 34px; }
  body#thim-body.ena-home .elementor-12 .elementor-element-0890d28 .ena-section-heading__intro { font-size: 15px; line-height: 1.7; }
  body#thim-body.ena-home .elementor-12 .elementor-element-0890d28 .ena-eyebrow { font-size: 11px; }
  body#thim-body.ena-home .elementor-12 .elementor-element-0890d28 .elementor-element-94369ac .woocommerce-loop-product__title { min-height: 0; margin-bottom: 10px; padding-inline: 12px; font-size: 17px; line-height: 1.4; }
  body#thim-body.ena-home .elementor-12 .elementor-element-0890d28 .elementor-element-94369ac .price { margin: 12px 0; padding-inline: 12px; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
  body#thim-body.ena-home .elementor-12 .elementor-element-0890d28 .elementor-element-94369ac .price del { display: block; font-size: 13px; }
  body#thim-body.ena-home .elementor-12 .elementor-element-0890d28 .elementor-element-94369ac .thim-ekits-product__item > .button { width: calc(100% - 24px); min-height: 48px; margin-inline: 12px; padding-inline: 6px; font-size: 14px; }
  body#thim-body.ena-home .elementor-12 .elementor-element-0890d28 .elementor-element-94369ac .thim-slider-nav { top: 85px; }
}
@media (max-width: 767px) {
  body#thim-body.ena-home .elementor-12 .elementor-element-da4e67a { padding: 58px 20px 62px; }
  body#thim-body.ena-home .elementor-element-da4e67a::before { width: 175px; top: 20px; right: -115px; }
  body#thim-body.ena-home .elementor-element-da4e67a .ena-section-heading h2 { font-size: 34px; }
  body#thim-body.ena-home .elementor-element-da4e67a .ena-section-heading__intro { font-size: 14px; }
  body#thim-body.ena-home .elementor-element-da4e67a .ena-course-paths-label { margin-top: 25px; }
  body#thim-body.ena-home .elementor-element-da4e67a .elementor-element-7cd9ed2 { margin-bottom: 30px; }
  body#thim-body.ena-home .elementor-element-d2a5b31 .woocommerce-loop-product__title { min-height: 0; padding: 18px 18px 15px; font-size: 21px; }
  body#thim-body.ena-home .elementor-element-d2a5b31 .ena-insc { margin-inline: 18px; padding: 12px; }
  body#thim-body.ena-home .elementor-element-d2a5b31 .ena-vacantes,
  body#thim-body.ena-home .elementor-element-d2a5b31 .mpa-subscription-badge { margin-left: 18px; margin-right: 18px; }
  body#thim-body.ena-home .elementor-element-d2a5b31 .price { margin-inline: 18px; padding-top: 17px; }
  body#thim-body.ena-home .elementor-element-d2a5b31 .price ins,
  body#thim-body.ena-home .elementor-element-d2a5b31 .price > .woocommerce-Price-amount { font-size: 27px; }
  body#thim-body.ena-home .elementor-element-d2a5b31 .thim-ekits-product__item > .button { width: calc(100% - 36px); margin-inline: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  body#thim-body.ena-home .elementor-element-d2a5b31 .thim-ekits-product__item { transition: none; }
}

