.elementor-2117 .elementor-element.elementor-element-5988159{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;}.elementor-2117 .elementor-element.elementor-element-bd23cbf{--display:flex;}.elementor-2117 .elementor-element.elementor-element-107e96a{--display:flex;}:root{--page-title-display:none;}body.elementor-page-2117:not(.elementor-motion-effects-element-type-background), body.elementor-page-2117 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-455e6eb );}@media(min-width:768px){.elementor-2117 .elementor-element.elementor-element-bd23cbf{--width:78%;}.elementor-2117 .elementor-element.elementor-element-107e96a{--width:22%;}}/* Start custom CSS for container, class: .elementor-element-5988159 *//* =========================
   CONTENEDOR GENERAL OPCIONAL
   (pon esta clase al contenedor padre en Elementor)
========================= */

.monavi-asignaturas-shell{
  align-items: start;
}

/* =========================
   GRID DE ASIGNATURAS
========================= */

.monavi-asignaturas-main{
  min-width: 0;
}

.monavi-asignaturas-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* =========================
   TARJETAS DE ASIGNATURA
========================= */

.monavi-card-asignatura{
  min-width: 0;
}

.monavi-card-link{
  position: relative;
  display: flex;
  min-height: 190px;
  height: 100%;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  box-shadow:
    0 10px 30px rgba(20, 32, 28, 0.08),
    0 2px 8px rgba(20, 32, 28, 0.04);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.monavi-card-link:hover{
  transform: translateY(-4px);
  box-shadow:
    0 18px 38px rgba(20, 32, 28, 0.12),
    0 4px 12px rgba(20, 32, 28, 0.06);
}

.monavi-card-accent{
  width: 6px;
  flex: 0 0 6px;
  background: #0f6a67;
}

.monavi-card-body{
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 22px 22px 18px;
}

.monavi-card-body h3{
  margin: 0 0 8px;
  color: #111111;
  font-size: clamp(1.28rem, 1.08rem + 0.6vw, 1.8rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.monavi-card-body p{
  margin: 0 0 18px;
  color: #2d2d2d;
  font-size: 1rem;
  line-height: 1.45;
  max-width: 34ch;
}

.monavi-chip{
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #f1f2f3;
  color: #2b2b2b;
  font-size: 0.92rem;
  line-height: 1;
  font-weight: 500;
  white-space: nowrap;
}

/* =========================
   SIDEBAR / FILTROS
========================= */

.monavi-sidebar-tools{
  position: sticky;
  top: 110px;
  padding-top: 2px;
}

.monavi-filter-group{
  margin-bottom: 22px;
}

.monavi-filter-group h4{
  margin: 0;
  color: #2b2b2b;
  font-size: 1.05rem;
  line-height: 1.2;
  font-weight: 700;
}

.monavi-filter-group label{
  display: block;
  margin: 0 0 8px;
  color: #2f2f2f;
  font-size: 0.96rem;
  font-weight: 500;
}

.monavi-filter-group input[type="search"],
.monavi-filter-group select,
.monavi-filter-reset{
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #d8dcde;
  border-radius: 12px;
  background: #ffffff;
  color: #1f1f1f;
  font-size: 0.96rem;
  line-height: 1.2;
  box-shadow: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.monavi-filter-group input[type="search"]::placeholder{
  color: #7c858b;
}

.monavi-filter-group input[type="search"]:focus,
.monavi-filter-group select:focus{
  outline: none;
  border-color: #0f6a67;
  box-shadow: 0 0 0 3px rgba(15, 106, 103, 0.12);
}

.monavi-filter-reset{
  cursor: pointer;
}

.monavi-filter-reset:hover{
  background: #f6f8f8;
}

/* =========================
   ESTADO VACÍO
========================= */

.monavi-empty-state{
  margin-top: 24px;
  padding: 26px 22px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow:
    0 10px 30px rgba(20, 32, 28, 0.08),
    0 2px 8px rgba(20, 32, 28, 0.04);
  color: #2b2b2b;
  font-size: 1rem;
  line-height: 1.5;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1180px){
  .monavi-asignaturas-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px){
  .monavi-sidebar-tools{
    position: static;
  }
}

@media (max-width: 767px){
  .monavi-asignaturas-grid{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .monavi-card-link{
    min-height: 170px;
    border-radius: 14px;
  }

  .monavi-card-body{
    padding: 18px 18px 16px;
  }

  .monavi-card-body p{
    font-size: 0.97rem;
    max-width: none;
  }

  .monavi-filter-group{
    margin-bottom: 18px;
  }
}/* End custom CSS */