/* ================================
   slider de escuelas oficiales
   ================================ */

.wsCertOfficialSection {
  width: 100%;
  box-sizing: border-box;
  padding: 26px 34px 30px;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: #111827;
  position: relative;
  overflow: hidden;
}

.wsCertOfficialSection::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(0, 111, 255, 0.10), transparent 28%),
    radial-gradient(circle at 92% 0%, rgba(0, 111, 255, 0.08), transparent 32%);
  pointer-events: none;
}

.wsCertOfficialHeader {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
}

.wsCertOfficialHeader h2 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #172554;
}

.wsCertOfficialBadge {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.16);
  flex: 0 0 auto;
}

.wsCertOfficialBadge svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wsCertOfficialSliderWrap {
  position: relative;
  z-index: 2;
}

.wsCertOfficialSlider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(255px, 1fr);
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 18px;
  scrollbar-width: none;
}

.wsCertOfficialSlider::-webkit-scrollbar {
  display: none;
}

.wsCertCard {
  min-height: 170px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
  color: #ffffff;
  display: grid;
  grid-template-columns: 92px 1fr 48px;
  align-items: center;
  padding: 24px 22px;
  box-sizing: border-box;
  scroll-snap-align: start;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.10), transparent 32%),
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.16), transparent 26%),
    linear-gradient(135deg, #07152f 0%, #051126 48%, #061d3f 100%);
  border: 1px solid rgba(110, 165, 255, 0.22);
  box-shadow:
    0 20px 45px rgba(15, 23, 42, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.wsCertCard::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.10) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
  z-index: -1;
}

.wsCertCard:hover {
  transform: translateY(-5px) scale(1.015);
  border-color: rgba(140, 190, 255, 0.42);
  box-shadow:
    0 28px 60px rgba(15, 23, 42, 0.26),
    0 0 26px rgba(0, 111, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.wsCertCard:hover::before {
  transform: translateX(120%);
}

.wsCertCardGlow {
  position: absolute;
  width: 210px;
  height: 210px;
  left: -64px;
  top: -64px;
  border-radius: 999px;
  opacity: 0.52;
  filter: blur(22px);
  z-index: -1;
}

.wsCertCardIcon {
  width: 78px;
  height: 78px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wsCertAccent);
  filter:
    drop-shadow(0 0 8px var(--wsCertAccentSoft))
    drop-shadow(0 0 18px var(--wsCertAccentSoft));
}

.wsCertCardIcon svg {
  width: 68px;
  height: 68px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wsCertCardContent {
  min-width: 0;
  padding-right: 10px;
}

.wsCertCardContent h3 {
  margin: 0 0 8px;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: rgba(255, 255, 255, 0.96);
}

.wsCertCardContent p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
}

.wsCertCardButton {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(160, 190, 255, 0.26);
  box-shadow:
    0 0 22px rgba(70, 130, 255, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;
}

.wsCertCardButton svg {
  width: 25px;
  height: 25px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wsCertCard:hover .wsCertCardButton {
  transform: translateX(3px);
  border-color: rgba(255, 255, 255, 0.44);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
}

.wsCertCardLine {
  position: absolute;
  left: 20px;
  bottom: 18px;
  width: 48%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--wsCertAccent), transparent);
  box-shadow: 0 0 16px var(--wsCertAccentSoft);
}

.wsCertCardPink {
  --wsCertAccent: #ff2fc8;
  --wsCertAccentSoft: rgba(255, 47, 200, 0.55);
}

.wsCertCardPink .wsCertCardGlow {
  background: #ff2fc8;
}

.wsCertCardBlue {
  --wsCertAccent: #1f8bff;
  --wsCertAccentSoft: rgba(31, 139, 255, 0.60);
}

.wsCertCardBlue .wsCertCardGlow {
  background: #1f8bff;
}

.wsCertCardPurple {
  --wsCertAccent: #7c4dff;
  --wsCertAccentSoft: rgba(124, 77, 255, 0.60);
}

.wsCertCardPurple .wsCertCardGlow {
  background: #7c4dff;
}

.wsCertCardCyan {
  --wsCertAccent: #21d6ff;
  --wsCertAccentSoft: rgba(33, 214, 255, 0.55);
}

.wsCertCardCyan .wsCertCardGlow {
  background: #21d6ff;
}

.wsCertSliderArrow {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(12px);
  color: #0f3f91;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.18);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.wsCertSliderArrow:hover {
  background: #ffffff;
  color: #006fff;
  transform: translateY(-50%) scale(1.06);
}

.wsCertSliderArrow svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wsCertSliderPrev {
  left: -18px;
}

.wsCertSliderNext {
  right: -18px;
}

@media (min-width: 1180px) {
  .wsCertOfficialSlider {
    grid-auto-columns: calc((100% - 54px) / 4);
  }

  .wsCertSliderArrow {
    display: flex;
  }
}

@media (max-width: 1179px) {
  .wsCertOfficialSlider {
    grid-auto-columns: minmax(270px, 36vw);
  }

  .wsCertSliderArrow {
    display: flex;
  }
}

@media (max-width: 768px) {
  .wsCertOfficialSection {
    padding: 24px 18px 28px;
  }

  .wsCertOfficialHeader {
    gap: 10px;
    margin-bottom: 16px;
  }

  .wsCertOfficialBadge {
    width: 31px;
    height: 31px;
    border-radius: 10px;
  }

  .wsCertOfficialSlider {
    grid-auto-columns: minmax(252px, 82vw);
    gap: 14px;
    padding-bottom: 14px;
  }

  .wsCertCard {
    min-height: 154px;
    border-radius: 22px;
    grid-template-columns: 72px 1fr 42px;
    padding: 22px 18px;
  }

  .wsCertCardIcon {
    width: 64px;
    height: 64px;
  }

  .wsCertCardIcon svg {
    width: 58px;
    height: 58px;
  }

  .wsCertCardButton {
    width: 42px;
    height: 42px;
  }

  .wsCertCardLine {
    left: 18px;
    bottom: 15px;
    height: 5px;
    width: 54%;
  }

  .wsCertSliderArrow {
    display: none;
  }
}

@media (max-width: 430px) {
  .wsCertOfficialSection {
    padding-inline: 14px;
  }

  .wsCertOfficialSlider {
    grid-auto-columns: minmax(238px, 88vw);
  }

  .wsCertCard {
    grid-template-columns: 62px 1fr 38px;
    min-height: 145px;
    padding: 20px 15px;
  }

  .wsCertCardContent h3 {
    font-size: 17px;
  }

  .wsCertCardContent p {
    font-size: 12.5px;
  }

  .wsCertCardIcon {
    width: 56px;
    height: 56px;
  }

  .wsCertCardIcon svg {
    width: 51px;
    height: 51px;
  }
}




/* ================================
   Iconos footer
   ================================ */
.wsSidebarFooterIcon svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wsClassroomSidebarFooter {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.wsSidebarFooterLinks {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wsSidebarFooterItem {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  transition: all 0.2s ease;
}

.wsSidebarFooterItem:hover {
  color: #ffffff;
}

.wsSidebarFooterIcon {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wsSidebarFooterIcon svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wsSidebarFooterText {
  display: block;
  white-space: nowrap;
}

.wsSidebarLogoutBtn {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: all 0.2s ease;
	margin-top: 15px;
}

.wsSidebarLogoutBtn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}



/* ================================
   Buscador flotante sobre hero
   ================================ */

.wsClassroomSearchSection {
  position: relative !important;
  z-index: 1000 !important;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
}

.wsClassroomSearchSection .qx-row,
.wsClassroomSearchSection .qx-column,
.wsClassroomSearchSection .qx-element-wrap,
.wsClassroomSearchSection .qx-element,
.wsClassroomSearchSection .qx-module-position,
.wsClassroomSearchSection .qx-module {
  overflow: visible !important;
}

.wsClassroomSearchSection .wsClassroomSearch {
  position: relative !important;
  top: 36px !important;
  margin: 0 auto !important;
  z-index: 1001 !important;
}

.wsClassroomSearchPanel {
  z-index: 1002 !important;
}






/* ================================
   WS Classroom layout con sidebar
   ================================ */

body.wsClassroomSidebarActive {
  --ws-sidebar-width: 190px;
}

body.wsClassroomSidebarCollapsed {
  --ws-sidebar-width: 74px;
}

@media (min-width: 768px) {
  body.wsClassroomSidebarActive .wsClassroomMainArea,
  body.wsClassroomSidebarCollapsed .wsClassroomMainArea {
    position: relative !important;
    margin-left: var(--ws-sidebar-width) !important;
    width: calc(100vw - var(--ws-sidebar-width)) !important;
    max-width: calc(100vw - var(--ws-sidebar-width)) !important;
    box-sizing: border-box !important;
    transition: margin-left 0.28s ease;
  }
}

@media (max-width: 767px) {
  body.wsClassroomSidebarActive .wsClassroomMainArea,
  body.wsClassroomSidebarCollapsed .wsClassroomMainArea,
  body.wsClassroomMobile .wsClassroomMainArea {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-bottom: 82px;
    box-sizing: border-box !important;
  }
}






























/* ================================
   WS CLASSROOM PANEL NAVIGATION
   ================================ */

@media (min-width: 992px) {
    .col-lg-8 {
        flex: 0 0 auto;
        width: 100%;
    }
}








/* ================================
   WS CLASSROOM PANEL NAVIGATION
   ================================ */

:root {
  --ws-classroom-blue: #0070ff;
  --ws-classroom-blue-soft: #eaf3ff;
  --ws-classroom-dark: #1f232a;
  --ws-classroom-dark-2: #252a31;
  --ws-classroom-dark-3: #121821;
  --ws-classroom-white: #ffffff;
  --ws-classroom-muted: #9ca3af;
  --ws-classroom-border: rgba(255,255,255,0.10);
  --ws-classroom-shadow: 0 20px 50px rgba(0,0,0,0.18);
}

/* Evita scroll lateral */
html,
body {
  overflow-x: hidden;
}

/* Ajuste general del contenido cuando existe sidebar */
body.wsClassroomSidebarActive {
  padding-left: 190px;
  transition: padding-left 0.25s ease;
}

body.wsClassroomSidebarCollapsed {
  padding-left: 74px;
}

body.wsClassroomMobile {
  padding-left: 0;
  padding-bottom: 86px;
}

/* Sidebar */
.wsClassroomSidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 190px;
  height: 100vh;
  /*background: linear-gradient(180deg, #252a31 0%, #1d2229 100%);*/
background:
  linear-gradient(180deg, rgba(0, 95, 255, 0.10) 0%, rgba(0, 0, 0, 0) 35%),
  radial-gradient(circle at 20% 0%, rgba(72, 115, 255, 0.35) 0%, rgba(22, 69, 170, 0.18) 18%, transparent 40%),
  radial-gradient(circle at 100% 45%, rgba(0, 122, 255, 0.16) 0%, transparent 38%),
  linear-gradient(180deg, #061a3d 0%, #04142f 42%, #020817 100%);

background-position: center;
background-size: cover;
background-repeat: no-repeat;
background-attachment: scroll;
background-origin: border-box;
background-clip: border-box;
background-color: #020817;
  color: #fff;
  
border-right: 1px solid rgba(255, 255, 255, 0.08);
box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.04);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  /*box-shadow: 12px 0 35px rgba(0,0,0,0.18);*/
  transition: width 0.25s ease, transform 0.25s ease;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}




/* Parte superior */
.wsClassroomSidebarTop {
  min-height: 52px;
  padding: 10px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--ws-classroom-border);
}

.wsClassroomBrand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.wsClassroomBrandIcon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: radial-gradient(circle, #ffffff 0%, #dbeafe 42%, #0070ff 100%);
  padding: 2px;
  flex: 0 0 auto;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.2);
}

.wsClassroomBrandIcon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: inherit;
}

.wsClassroomBrandText {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 0;
}

.wsClassroomBrandName {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  max-width: 86px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wsClassroomBrandRole {
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  margin-top: 2px;
}

.wsClassroomTopActions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.wsClassroomIconBtn {
  width: 24px;
  height: 24px;
  border: 0;
  outline: 0;
  color: rgba(255,255,255,0.8);
  background: transparent;
  border-radius: 7px;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease;
}

.wsClassroomIconBtn:hover {
  background: rgba(255,255,255,0.10);
  color: #ffffff;
}

/* Menú principal */
.wsClassroomMenu {
  padding: 10px 8px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wsClassroomMenuItem {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.88);
  text-decoration: none !important;
  border-radius: 7px;
  padding: 0 10px;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.wsClassroomMenuItem:hover {
  color: #ffffff;
  
  transform: translateX(2px);
  background: linear-gradient(90deg, rgba(0, 111, 255, 0.95), rgba(0, 76, 190, 0.72));
  color: #ffffff;
  border: 1px solid rgba(120, 170, 255, 0.35);
  box-shadow:
    0 8px 22px rgba(0, 82, 255, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.wsClassroomMenuItem.is-active {
  color: #ffffff;
  
  transform: translateX(2px);
  background: linear-gradient(90deg, rgba(0, 111, 255, 0.95), rgba(0, 76, 190, 0.72));
  color: #ffffff;
  border: 1px solid rgba(120, 170, 255, 0.35);
  box-shadow:
    0 8px 22px rgba(0, 82, 255, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.wsClassroomMenuIcon {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  display: grid;
  place-items: center;
}

.wsClassroomMenuIcon img {
  width: 21px;
  height: 21px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

.wsClassroomMenuText {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* Favoritos */
.wsClassroomFavorites {
  padding: 8px;
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.22) transparent;
}

.wsClassroomFavorites::-webkit-scrollbar {
  width: 4px;
}

.wsClassroomFavorites::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.22);
  border-radius: 99px;
}

.wsClassroomSectionTitle {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.58);
  margin: 8px 0 8px;
}

.wsClassroomFavoriteItem {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #ffffff;
  text-decoration: none !important;
  padding: 8px 5px;
  border-radius: 9px;
  transition: background 0.2s ease;
}

.wsClassroomFavoriteItem:hover {
  background: rgba(255,255,255,0.08);
}

.wsClassroomFavoriteBadge {
  width: 31px;
  height: 31px;
  border-radius: 3px;
  background: var(--ws-classroom-blue);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  flex: 0 0 auto;
}

.wsClassroomFavoriteText {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.wsClassroomFavoriteText strong {
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.95);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

.wsClassroomFavoriteText small {
  font-size: 9.5px;
  color: rgba(255,255,255,0.72);
  margin-top: 3px;
}

/* Footer sidebar */
.wsClassroomSidebarFooter {
  padding: 10px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--ws-classroom-border);
}

.wsClassroomSidebarFooter a {
  color: rgba(255,255,255,0.82);
  font-size: 10.5px;
  line-height: 1.2;
  text-decoration: none !important;
}

.wsClassroomSidebarFooter a:hover {
  color: #ffffff;
}

/* Estado colapsado */
body.wsClassroomSidebarCollapsed .wsClassroomSidebar {
  width: 74px;
}

body.wsClassroomSidebarCollapsed .wsClassroomBrandText,
body.wsClassroomSidebarCollapsed .wsClassroomMenuText,
body.wsClassroomSidebarCollapsed .wsClassroomSectionTitle,
body.wsClassroomSidebarCollapsed .wsClassroomFavoriteText,
body.wsClassroomSidebarCollapsed .wsClassroomSidebarFooter,
body.wsClassroomSidebarCollapsed .wsClassroomTopActions .wsClassroomIconBtn:first-child {
  display: none;
}

body.wsClassroomSidebarCollapsed .wsClassroomSidebarTop {
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}

body.wsClassroomSidebarCollapsed .wsClassroomTopActions {
  display: flex;
}

body.wsClassroomSidebarCollapsed .wsClassroomMenuItem {
  justify-content: center;
  padding: 0;
}

body.wsClassroomSidebarCollapsed .wsClassroomFavoriteItem {
  justify-content: center;
}

body.wsClassroomSidebarCollapsed .wsClassroomFavorites {
  padding-top: 6px;
}

/* Botón flotante para abrir */
.wsClassroomOpenSidebarBtn {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 99998;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 13px;
  background: #ffffff;
  color: #111827;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  cursor: pointer;
  font-size: 22px;
  display: none;
}

body.wsClassroomSidebarCollapsed .wsClassroomOpenSidebarBtn {
  display: none;
}

/* Menú móvil */
.wsMobileBottomNav {
  display: none;
}

/* Tablet */
@media (max-width: 1024px) {
  body.wsClassroomSidebarActive {
    padding-left: 74px;
  }

  .wsClassroomSidebar {
    width: 74px;
  }

  .wsClassroomBrandText,
  .wsClassroomMenuText,
  .wsClassroomSectionTitle,
  .wsClassroomFavoriteText,
  .wsClassroomSidebarFooter,
  .wsClassroomTopActions .wsClassroomIconBtn:first-child {
    display: none;
  }

  .wsClassroomSidebarTop {
    justify-content: center;
    flex-direction: column;
    gap: 8px;
  }

  .wsClassroomMenuItem {
    justify-content: center;
    padding: 0;
  }

  .wsClassroomFavoriteItem {
    justify-content: center;
  }
}

/* Celular */
@media (max-width: 767px) {
  body.wsClassroomSidebarActive,
  body.wsClassroomSidebarCollapsed {
    padding-left: 0;
    padding-bottom: 82px;
  }

  .wsClassroomSidebar,
  .wsClassroomOpenSidebarBtn {
    display: none !important;
  }

  .wsMobileBottomNav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 72px;
    background: rgba(31, 35, 42, 0.98);
    backdrop-filter: blur(16px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 8px 10px 12px;
    box-shadow: 0 -14px 34px rgba(0,0,0,0.25);
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .wsMobileNavItem {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    text-decoration: none !important;
    transition: background 0.2s ease, transform 0.2s ease;
  }

  .wsMobileNavItem:hover,
  .wsMobileNavItem.is-active {
    background: rgba(255,255,255,0.12);
    transform: translateY(-2px);
  }

  .wsMobileNavIcon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
  }

  .wsMobileNavIcon img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
  }

  .wsMobileProfileIcon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: radial-gradient(circle, #ffffff 0%, #dbeafe 42%, #0070ff 100%);
    padding: 3px;
  }

  .wsMobileProfileIcon img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    filter: none;
  }
}


.wsClassroomBrandRole {
  font-size: 9.5px;
  color: rgba(255,255,255,0.58);
  margin-top: 3px;
  max-width: 104px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}



.wsClassroomGuestBox {
  padding: 18px 12px;
  color: #fff;
}

.wsClassroomGuestBox p {
  font-size: 12px;
  line-height: 1.35;
  color: rgba(255,255,255,0.72);
  margin: 0 0 12px;
}

.wsClassroomGuestBox a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 10px;
  background: #0070ff;
  color: #fff !important;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none !important;
}

.wsClassroomBrandIcon {
  text-decoration: none !important;
  cursor: pointer;
}

.wsClassroomBrandIcon:hover {
  transform: scale(1.04);
}



.wsClassroomToggleBtn img {
  width: 17px;
  height: 17px;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: transform 0.55s ease, opacity 0.22s ease;
}

.wsClassroomToggleBtn:hover img {
  opacity: 1;
  transform: scale(1.08);
}

body.wsClassroomSidebarCollapsed .wsClassroomToggleBtn img {
  transform: rotate(180deg);
}

.wsClassroomToggleBtn {
  width: 28px;
  height: 28px;
}


.wsClassroomNoFavorites {
  margin-top: 8px;
  padding: 10px 8px;
  border-radius: 10px;
  color: rgba(255,255,255,0.62);
  font-size: 11px;
  line-height: 1.35;
  background: rgba(255,255,255,0.05);
}


.wsClassroomFavoriteBadge {
  font-size: 13px;
}











/* ================================
   WS CLASSROOM SEARCH
   ================================ */

/* ================================
   WS CLASSROOM SEARCH - CONSOLE STYLE
   ================================ */

.wsClassroomSearch {
  position: relative;
  width: min(620px, calc(100% - 32px));
  margin: 22px auto 24px;
  z-index: 500;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

/* Barra principal */
.wsClassroomSearchBox {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(38, 43, 49, 0.98), rgba(28, 32, 37, 0.98));
  border: 2px solid rgba(230, 242, 255, 0.88);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.28),
    0 0 0 4px rgba(0, 112, 255, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.wsClassroomSearch:focus-within .wsClassroomSearchBox,
.wsClassroomSearch.is-open .wsClassroomSearchBox {
  border-color: rgba(215, 255, 237, 0.95);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.36),
    0 0 0 5px rgba(0, 112, 255, 0.16),
    0 0 24px rgba(0, 112, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

/* Icono */
.wsClassroomSearchIcon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: grid;
  place-items: center;
  color: #ffffff;
  opacity: 0.9;
}

.wsClassroomSearchIcon svg,
.wsClassroomSearchIcon img {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* Si sigues usando el símbolo ⌕ */
.wsClassroomSearchIcon {
  font-size: 22px;
  line-height: 1;
}

/* Input: aquí estaba el problema del fondo blanco */
.wsClassroomSearchInput {
  flex: 1;
  width: 100%;
  min-width: 0;
  height: 100%;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0 !important;
  appearance: none;
  -webkit-appearance: none;
}

.wsClassroomSearchInput::placeholder {
  color: rgba(255, 255, 255, 0.48);
  font-weight: 500;
}

.wsClassroomSearchInput::-webkit-search-decoration,
.wsClassroomSearchInput::-webkit-search-cancel-button,
.wsClassroomSearchInput::-webkit-search-results-button,
.wsClassroomSearchInput::-webkit-search-results-decoration {
  display: none;
}

/* Panel de resultados */
.wsClassroomSearchPanel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: min(560px, 100%);
  min-height: 250px;
  transform: translateX(-50%) translateY(-8px);
  padding: 18px 18px 12px;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(39, 43, 49, 0.98), rgba(31, 35, 40, 0.98));
  color: #ffffff;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s ease;
}

.wsClassroomSearch.is-open .wsClassroomSearchPanel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.wsClassroomSearchPanelTitle {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 15px;
  font-weight: 900;
}

/* Estado vacío */
.wsClassroomSearchResults {
  display: grid;
  gap: 10px;
}

.wsClassroomSearchEmpty {
  padding: 16px 14px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  background: rgba(255, 255, 255, 0.045);
}

/* Resultado futuro */
.wsClassroomSearchResultItem {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 76px;
  padding: 8px;
  border-radius: 12px;
  color: #ffffff;
  text-decoration: none !important;
  transition:
    background 0.18s ease,
    transform 0.18s ease;
}

.wsClassroomSearchResultItem:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(3px);
}

.wsClassroomSearchResultThumb {
  width: 64px;
  height: 64px;
  border-radius: 9px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.wsClassroomSearchResultThumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wsClassroomSearchResultInfo {
  min-width: 0;
}

.wsClassroomSearchResultInfo strong {
  display: block;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wsClassroomSearchResultInfo span {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.2;
}

.wsClassroomSearchResultMeta {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.wsClassroomSearchHint {
  margin-top: 16px;
  padding-top: 12px;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Responsive */
@media (max-width: 767px) {
  .wsClassroomSearch {
    width: calc(100% - 28px);
    margin: 14px auto 18px;
  }

  .wsClassroomSearchBox {
    height: 46px;
    padding: 0 15px;
    border-width: 2px;
  }

  .wsClassroomSearchInput {
    font-size: 14px;
  }

  .wsClassroomSearchPanel {
    width: 100%;
    min-height: 220px;
    border-radius: 16px;
    padding: 15px;
  }

  .wsClassroomSearchResultItem {
    grid-template-columns: 54px minmax(0, 1fr);
    min-height: 66px;
  }

  .wsClassroomSearchResultThumb {
    width: 54px;
    height: 54px;
  }

  .wsClassroomSearchResultInfo strong {
    font-size: 14px;
  }
}












/* Aqui termina menu lateral */




















.wsClassroomSearchResultThumb {
  position: relative;
  display: grid;
  place-items: center;
}

.wsClassroomSearchResultThumb img[src$="default-course.png"] {
  object-fit: contain;
  padding: 0px;
  opacity: 0.75;
}







































/* ================================
   WS CLASSROOM HERO BANNER
   ================================ */

.wsClassroomHero {
  position: relative;
  width: 100%;
  min-height: 360px;
  margin: 0 auto 28px;
  overflow: hidden;
  background: #f4f6f9;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

.wsClassroomHero__slides {
  position: relative;
  min-height: inherit;
}

.wsClassroomHero__slide {
  position: absolute;
  inset: 0;
  min-height: 360px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.65s ease, visibility 0.65s ease;
}

.wsClassroomHero__slide.is-active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

/* Imagen de fondo */
.wsClassroomHero__image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  transform: scale(1.02);
}

/* Capa para que el texto sea legible y se funda con blanco/gris */
.wsClassroomHero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(244, 246, 249, 0.98) 0%,
      rgba(244, 246, 249, 0.88) 26%,
      rgba(244, 246, 249, 0.46) 52%,
      rgba(244, 246, 249, 0.12) 78%,
      rgba(244, 246, 249, 0.18) 100%
    );
  pointer-events: none;
}

/* Desvanecimiento inferior hacia blanco/gris claro */
.wsClassroomHero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 150px;
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(244, 246, 249, 0) 0%,
      rgba(244, 246, 249, 0.68) 55%,
      #f4f6f9 100%
    );
}

/* Difuminado suave adicional */
.wsClassroomHero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -40px;
  height: 120px;
  z-index: 3;
  pointer-events: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  mask-image: linear-gradient(to bottom, transparent 0%, black 50%, black 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 50%, black 100%);
}

.wsClassroomHero__content {
  position: relative;
  z-index: 5;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(620px, 52%);
  padding: 46px 42px 72px;
  box-sizing: border-box;
}

.wsClassroomHero__content h1 {
  margin: 0;
  color: #062565;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.wsClassroomHero__content p {
  margin: 10px 0 0;
  color: #062565;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.15;
  font-weight: 500;
}

.wsClassroomHero__content a {
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  padding: 0 22px;
  border-radius: 7px;
  background: #0070ff;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 16px 30px rgba(0,112,255,0.22);
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.wsClassroomHero__content a:hover {
  background: #005bd1;
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(0,112,255,0.3);
}

.wsClassroomHero__dots {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
}

.wsClassroomHero__dots button {
  width: 36px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(15,23,42,0.32);
  cursor: pointer;
  padding: 0;
  transition: width 0.25s ease, background 0.25s ease;
}

.wsClassroomHero__dots button.is-active {
  width: 54px;
  background: #0070ff;
}

/* Desktop grande */
@media (min-width: 1200px) {
  .wsClassroomHero {
    min-height: 390px;
  }

  .wsClassroomHero__slide {
    min-height: 390px;
  }

  .wsClassroomHero__content {
    min-height: 390px;
    padding-left: 54px;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .wsClassroomHero {
    min-height: 340px;
  }

  .wsClassroomHero__slide {
    min-height: 340px;
  }

  .wsClassroomHero__content {
    min-height: 340px;
    width: 58%;
    padding: 36px 32px 68px;
  }

  .wsClassroomHero__content h1 {
    font-size: clamp(36px, 5vw, 52px);
  }
}

/* Celular */
@media (max-width: 767px) {
  .wsClassroomHero {
    min-height: 420px;
    margin-bottom: 22px;
  }

  .wsClassroomHero__slide {
    min-height: 420px;
  }

  .wsClassroomHero__image {
    background-position: center top;
  }

  .wsClassroomHero__overlay {
    background:
      linear-gradient(
        180deg,
        rgba(244,246,249,0.38) 0%,
        rgba(244,246,249,0.70) 42%,
        #f4f6f9 82%,
        #f4f6f9 100%
      );
  }

  .wsClassroomHero::after {
    height: 160px;
  }

  .wsClassroomHero__content {
    min-height: 420px;
    width: 100%;
    justify-content: flex-end;
    padding: 220px 24px 68px;
  }

  .wsClassroomHero__content h1 {
    font-size: 42px;
  }

  .wsClassroomHero__content p {
    font-size: 19px;
  }

  .wsClassroomHero__content a {
    min-height: 42px;
    margin-top: 22px;
  }
}























/* ================================
   WS CLASSROOM ROUTES BOX
   ================================ */

.wsClassroomRoutesBox {
  width: 100%;
  max-width: 420px;
  height: 250px;
  background:
    radial-gradient(circle at 0% 0%, rgba(0,112,255,0.16), transparent 30%),
    linear-gradient(180deg, #282429 0%, #201d22 100%);
  border-radius: 28px;
  color: #ffffff;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  box-shadow: 0 26px 60px rgba(15,23,42,0.18);
  overflow: hidden;
  position: relative;
}

.wsClassroomRoutesBox__header {
  height: 62px;
  padding: 14px 18px 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  box-sizing: border-box;
}

.wsClassroomRoutesBox__header h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.wsClassroomRoutesBox__header p {
  margin: 6px 0 0;
  color: rgba(255,255,255,0.68);
  font-size: 11px;
  line-height: 1.2;
}

.wsClassroomRoutesBox__header a {
  margin-top: 3px;
  flex: 0 0 auto;
  color: #ffffff !important;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(255,255,255,0.48);
}

.wsClassroomRoutesBox__list {
  height: calc(100% - 62px);
  padding: 0 12px 12px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.38) rgba(255,255,255,0.08);
}

.wsClassroomRoutesBox__list::-webkit-scrollbar {
  width: 5px;
}

.wsClassroomRoutesBox__list::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.08);
  border-radius: 99px;
}

.wsClassroomRoutesBox__list::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.38);
  border-radius: 99px;
}

.wsClassroomRouteCard {
  min-height: 72px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  color: #ffffff !important;
  text-decoration: none !important;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background:
    linear-gradient(90deg, rgba(18,24,35,0.86), rgba(13,18,28,0.96));
  box-sizing: border-box;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.wsClassroomRouteCard + .wsClassroomRouteCard {
  margin-top: 8px;
}

.wsClassroomRouteCard:hover {
  transform: translateX(3px);
  background:
    linear-gradient(90deg, rgba(25,37,56,0.96), rgba(12,20,34,0.98));
  border-color: rgba(0,112,255,0.55);
}

.wsClassroomRouteCard__badge {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: #0070ff;
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(0,112,255,0.22);
}

.wsClassroomRouteCard__body {
  min-width: 0;
}

.wsClassroomRouteCard__body span {
  display: block;
  color: #58a8ff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wsClassroomRouteCard__body strong {
  display: block;
  margin-top: 3px;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.15;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wsClassroomRouteCard__body small {
  display: block;
  margin-top: 3px;
  color: rgba(255,255,255,0.82);
  font-size: 10px;
  line-height: 1.1;
  font-weight: 700;
}

.wsClassroomRouteCard__progress {
  height: 5px;
  margin-top: 7px;
  border-radius: 99px;
  overflow: hidden;
  background: rgba(255,255,255,0.12);
}

.wsClassroomRouteCard__progress em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #0070ff;
}

.wsClassroomRouteCard b {
  align-self: end;
  margin-bottom: 7px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
}

.wsClassroomRoutesBox__empty {
  height: calc(100% - 6px);
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  box-sizing: border-box;
}

.wsClassroomRoutesBox__empty strong {
  display: block;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.15;
}

.wsClassroomRoutesBox__empty span {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,0.68);
  font-size: 13px;
  line-height: 1.35;
}

@media (max-width: 767px) {
  .wsClassroomRoutesBox {
    max-width: 100%;
    height: 280px;
    border-radius: 24px;
  }

  .wsClassroomRoutesBox__header h2 {
    font-size: 22px;
  }

  .wsClassroomRouteCard {
    grid-template-columns: 50px minmax(0, 1fr) auto;
  }
}


/* ================================
   WS SCHOOL CARDS SECTION
   ================================ */

.wsSchoolCardsSection {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 18px 28px;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

.wsSchoolCardsHeader {
  margin-bottom: 14px;
}

.wsSchoolCardsHeader h2 {
  margin: 0;
  color: #062565;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.wsSchoolCardsGrid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1.08fr) minmax(180px, 0.52fr);
  gap: 14px;
  align-items: stretch;
}

.wsSchoolCardsSide {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}

.wsSchoolCard {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 24px;
  text-decoration: none !important;
  color: #ffffff !important;
  background: #dbe7f7;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
  isolation: isolate;
  transform: translateZ(0);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    filter 0.24s ease;
}

.wsSchoolCardLarge {
  min-height: 210px;
}

.wsSchoolCardSmall {
  min-height: 98px;
  border-radius: 16px;
}

.wsSchoolCard img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.45s ease, filter 0.45s ease;
  z-index: 1;
}

.wsSchoolCardOverlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.00) 28%,
      rgba(0, 58, 140, 0.46) 70%,
      rgba(6, 37, 101, 0.86) 100%
    );
  transition: opacity 0.25s ease;
}

.wsSchoolCardLarge:first-child .wsSchoolCardOverlay {
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.00) 28%,
      rgba(130, 20, 22, 0.42) 70%,
      rgba(155, 34, 37, 0.88) 100%
    );
}

.wsSchoolCardContent {
  position: absolute;
  left: 22px;
  right: 18px;
  bottom: 17px;
  z-index: 3;
  display: block;
}

.wsSchoolCardSmall .wsSchoolCardContent {
  left: 13px;
  right: 12px;
  bottom: 10px;
}

.wsSchoolCardContent strong {
  display: block;
  color: #ffffff;
  font-size: 19px;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.035em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.wsSchoolCardContent small {
  display: block;
  margin-top: 3px;
  color: rgba(255,255,255,0.92);
  font-size: 11.5px;
  line-height: 1.15;
  font-weight: 500;
  text-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.wsSchoolCardSmall .wsSchoolCardContent strong {
  font-size: 13px;
}

.wsSchoolCardSmall .wsSchoolCardContent small {
  font-size: 9.5px;
}

.wsSchoolCard::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.28);
  pointer-events: none;
}

.wsSchoolCard:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 26px 58px rgba(15, 23, 42, 0.18);
}

.wsSchoolCard:hover img {
  transform: scale(1.07);
  filter: saturate(1.06) contrast(1.04);
}

.wsSchoolCard:hover .wsSchoolCardOverlay {
  opacity: 0.94;
}

/* Efecto de brillo tipo tarjeta premium */
.wsSchoolCard::before {
  content: "";
  position: absolute;
  top: -80%;
  left: -60%;
  width: 70%;
  height: 220%;
  z-index: 5;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.24),
    transparent
  );
  transform: rotate(18deg) translateX(-120%);
  transition: transform 0.7s ease;
  pointer-events: none;
}

.wsSchoolCard:hover::before {
  transform: rotate(18deg) translateX(260%);
}

/* Responsive */
@media (max-width: 1100px) {
  .wsSchoolCardsGrid {
    grid-template-columns: 1fr 1fr;
  }

  .wsSchoolCardsSide {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .wsSchoolCardSmall {
    min-height: 120px;
  }
}

@media (max-width: 767px) {
  .wsSchoolCardsSection {
    padding: 8px 14px 22px;
  }

  .wsSchoolCardsGrid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .wsSchoolCardsSide {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .wsSchoolCardLarge {
    min-height: 180px;
    border-radius: 22px;
  }

  .wsSchoolCardSmall {
    min-height: 120px;
    border-radius: 18px;
  }

  .wsSchoolCardsHeader h2 {
    font-size: 20px;
  }
}