label[for="user_subscribe_to_emails"] {
  display: none;
}

.ic-app-header__menu-list-item:has(#global_nav_help_link), 
.ic-Login-footer__links .help_dialog_trigger {
  display: none;
}

#registration_header h1 a{
  background-image: url("https://saberestu.uaemex.mx/accounts/1/files/361/download?verifier=SxXuzp71gK73XnErus8tRX6zhxW7KSKLxFVOuyXa") !important;
}
.ic-Login-confirmation__header {
  background: #e4e4e4;
}


#next-link{
  display: none;

}

#previous-link{
  display: none;
}

#header-custom,
#footer-custom {
  margin-left: var(--nav-w);
  padding-inline: 6%;
}

#header-custom {
  background: #fff;
  border-bottom: 17px solid var(--ic-brand-primary);
}

#header-custom .inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 112px;
}

#header-custom img {
  display: block;
}

#header-custom .uaemex {
  margin-inline-start: -10px;
}

#header-custom .uaemex img {
  height: 72px;
}

#header-custom .ciencia img {
  height: 48px;
}

#header-custom .saberes {
  margin-inline-start: auto;
  margin-inline-end: -13px;
}

#header-custom .saberes img {
  height: 106px;
}

#footer-custom img {
  display: block;
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
}

@media (max-width: 767px) {
  #header-custom {
    display: none;
  }

  #footer-custom {
    margin-left: 0;
    padding-inline: 16px;
  }
}
	/* Anton test */
#wrapper:has(#catalog_content) #right-side-wrapper {
  display: none;
}

#wrapper:has(#catalog_content) {
  max-width: 1500px;
  margin-left: max(var(--nav-w), calc((100% + var(--nav-w) - 1500px)/2

  )
  );
}

.ic-Login__container::after {
  content: "";
  display: block;
  margin-top: 15px;
  aspect-ratio: 848 / 234;
  background-image: url("https://i.imgur.com/IQqtYVD.png");
  background-size: contain;
}



body.ic-Login-Body #footer.ic-Login-footer {
  display: none !important;
}

#footer .ic-app-footer__logo-link,
#footer .ic-app-footer__links a[href*="instructure.com"] {
  display: none;
}

#footer.ic-app-footer:not(:has(.ic-app-footer__links a:not([href*="instructure.com"]))) {
  display: none;
}

.mobileLogin-Header {
  background-image: url("https://saberestu.uaemex.mx/accounts/1/files/361/download?verifier=SxXuzp71gK73XnErus8tRX6zhxW7KSKLxFVOuyXa");
  background-size: auto 120px;
}

img.ic-Login-confirmation__logo {
	width: 110px;
	height: 110px;
	content: url("https://saberestu.uaemex.mx/accounts/1/files/361/download?verifier=SxXuzp71gK73XnErus8tRX6zhxW7KSKLxFVOuyXa"); 
}

/*
.ic-Login-header__links a[href="/search/all_courses"] {
  display: none;
}

*/

.ic-Login-header__links {
  display: none;
}



.ic-Login-header {
  justify-content: center;
}

body:has(#catalog_content) {
  background-color: #f1f1f1;
}

#wrapper:has(#catalog_content) #content > h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}

#course_filter {
  width: 100%;
  max-width: 1404px;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 20px;
  margin-inline: auto;
  margin-bottom: 60px;
}

#course_filter input[type="search"] {
  flex: 1 1 auto;
  width: auto;
  max-width: none;
  min-width: 0;
  padding: 12px 18px;
  font-size: 1rem;
}

#course_filter .ic-Form-control--checkbox {
  flex: 0 0 auto;
}

#course_filter .btn {
  flex: 0 0 auto;
  padding: 12px 28px;
  border: 0;
  border-radius: 999px;
  background: #5d6b78;
  background-image: none;
  box-shadow: none;
  color: #fff;
  font-size: 0.95rem;
  text-shadow: none;
}

#course_filter .btn:hover,
#course_filter .btn:focus-visible {
  background: color-mix(in srgb, #5d6b78 78%, #000);
  color: #fff;
}

#course_summaries,
#catalog_content .not_found {
  visibility: hidden;
  animation: saberes-respaldo 0s linear 3s forwards;
}

@keyframes saberes-respaldo {
  to {
    visibility: visible;
  }
}

.saberes-cards #course_summaries,
.saberes-cards #catalog_content .not_found {
  display: none;
}

#saberes-vacio {
  margin: 40px 0;
  color: #4a5b68;
  font-size: 1rem;
  text-align: center;
}

#saberes-courses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 60px 60px;
  max-width: 1404px;
  list-style: none;
  margin-inline: auto;
  margin-block: 0;
  padding: 0;
}

@media (max-width: 1320px) {
  #course_filter { max-width: 916px; }

  #saberes-courses {
    grid-template-columns: repeat(2, 1fr);
    max-width: 916px;
  }

  .saberes-card:nth-child(6n+1),
  .saberes-card:nth-child(6n+2) { --accent: #ca8f1b; }

  .saberes-card:nth-child(6n+3),
  .saberes-card:nth-child(6n+4) { --accent: #718e58; }

  .saberes-card:nth-child(6n+5),
  .saberes-card:nth-child(6n)   { --accent: #547278; }
}

@media (max-width: 860px) {
  #course_filter {
    max-width: 428px;
    flex-wrap: wrap;
    justify-content: center;
  }

  #course_filter input[type="search"] {
    flex: 1 0 100%;
  }

  #saberes-courses {
    grid-template-columns: 1fr;
    max-width: 428px;
  }

  .saberes-card:nth-child(3n+1) { --accent: #ca8f1b; }
  .saberes-card:nth-child(3n+2) { --accent: #718e58; }
  .saberes-card:nth-child(3n)   { --accent: #547278; }
}

.saberes-card {
  --accent: #547278;
  --alto-img: 220px;
  --velo: 0.45;
  --desenfoque: 2px;
  --radio: 30px;
  --gusano-grosor: 23px;
  --gusano-radio: 45px;
  --gusano-largo: 40%;
  --gusano-fuera: 8px;
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  border: 1px solid #dcdfe1;
  border-radius: var(--radio);
  background: #fff;
}

.saberes-card:nth-child(9n+1),
.saberes-card:nth-child(9n+2),
.saberes-card:nth-child(9n+3) { --accent: #ca8f1b; }

.saberes-card:nth-child(9n+4),
.saberes-card:nth-child(9n+5),
.saberes-card:nth-child(9n+6) { --accent: #718e58; }

.saberes-card:nth-child(9n+7),
.saberes-card:nth-child(9n+8),
.saberes-card:nth-child(9n)   { --accent: #547278; }

.saberes-card__media {
  position: relative;
}

.saberes-card__media::before {
  content: "";
  position: absolute;
  inset: calc(var(--gusano-fuera) * -1) calc(var(--gusano-fuera) * -1) auto calc(var(--gusano-grosor) / 2);
  height: calc(var(--gusano-radio) + var(--gusano-fuera));
  border: 0 solid var(--accent);
  border-width: var(--gusano-grosor) var(--gusano-grosor) 0 0;
  border-top-right-radius: var(--gusano-radio);
}

.saberes-card::after {
  content: "";
  position: absolute;
  top: calc(var(--gusano-fuera) * -1);
  left: 0;
  width: var(--gusano-grosor);
  height: var(--gusano-grosor);
  border-radius: 50%;
  background: var(--accent);
}

.saberes-card__media::after {
  content: "";
  position: absolute;
  top: var(--gusano-radio);
  right: calc(var(--gusano-fuera) * -1);
  width: var(--gusano-grosor);
  height: calc(var(--gusano-largo) - var(--gusano-radio));
  border-radius: 0 0 999px 999px;
  background: var(--accent);
}

.saberes-card__media img {
  display: block;
  width: 100%;
  height: var(--alto-img);
  border-radius: var(--radio) var(--radio) 0 0;
  object-fit: cover;
}

.saberes-card__media--vacia {
  height: var(--alto-img);
  border-radius: var(--radio) var(--radio) 0 0;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 45%, #fff));
}

.saberes-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 18px 20px 22px;
}

/*
 *-webkit-line-clamp: 3;
 * overflow: hidden;
 */

.saberes-card__title {
  box-sizing: border-box;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--alto-img);
  margin: 0;
  padding: 16px 20px;
  border-radius: var(--radio) var(--radio) 0 0;
  background: rgba(0, 0, 0, 0.58);
  overflow-wrap: break-word;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 600;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

@supports (backdrop-filter: blur(1px)) {
  .saberes-card__title {
    background: rgba(0, 0, 0, var(--velo));
    backdrop-filter: blur(var(--desenfoque));
  }
}

.saberes-card::after,
.saberes-card__media::before,
.saberes-card__media::after {
  z-index: 2;
}

.saberes-card__title a {
  color: #fff;
  text-decoration: none;
}

.saberes-card__title a:hover,
.saberes-card__title a:focus-visible {
  text-decoration: underline;
}

.saberes-card__desc {
  display: block;
  margin: 0;
  color: #4a5b68;
  font-size: 0.85rem;
  line-height: 1.5;
  text-align: justify;
}

.saberes-card__meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin: auto 0 4px;
  padding: 0;
  list-style: none;
  color: #5d6b78;
  font-size: 0.75rem;
}

.saberes-card__meta li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.saberes-card__icon {
  flex: none;
  width: 26px;
  height: 26px;
  fill: var(--accent);
}

.saberes-card__cta {
  align-self: center;
  min-width: 150px;
  padding: 8px 24px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  text-align: center;
  text-decoration: none;
}

.saberes-card__cta:hover,
.saberes-card__cta:focus-visible {
  background: color-mix(in srgb, var(--accent) 78%, #000);
  color: #fff;
  text-decoration: none;
}

#saberes-banner {
  --panel-top: 16%;
  --panel-alto: 56%;
  --panel-cta: 0px;
  position: relative;
  margin: 8px 0 60px;
}

.saberes-banner__slides {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 1700 / 400;
  margin: 0;
  padding: 0;
  list-style: none;
}

.saberes-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s ease, visibility 0.5s;
}

.saberes-slide.is-activa {
  visibility: visible;
  opacity: 1;
}

.saberes-slide__link-wrapper {
  display: block;
  position: relative;
  height: 100%;
  border-radius: 0.92cqi;
}

.saberes-slide__link-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: #fff;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.saberes-slide__link-wrapper:hover::before,
.saberes-slide__link-wrapper:focus-visible::before {
  opacity: 0.14;
}

@media (prefers-reduced-motion: reduce) {
  .saberes-slide__link-wrapper::before {
    transition: none;
  }
}

.saberes-slide__img {
  width: 100%;
  height: 100%;
  border-radius: 0.92cqi;
  object-fit: cover;
}

.saberes-slide__img--vacia {
  background: linear-gradient(135deg, #547278, #9db3b0);
}

.saberes-slide__panel {
  position: absolute;
  top: var(--panel-top);
  right: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  width: 54%;
  height: var(--panel-alto);
  padding: 0 4.21cqi 0 6.04cqi;
  border-radius: 999px 0 0 999px;
  background: #547278;
  color: #fff;
  text-align: right;
}


/*Prueba Antonio */

.saberes-slide__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 -0.37cqi;
  color: #fff;
  font-size: 1.5cqi;
  font-weight: 400;
  text-wrap: balance;
}

.saberes-slide__desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 0;
  font-size: 1.3cqi;
  line-height: 1.5;
  text-wrap: revert;
}

.saberes-slide__desc:empty {
  display: none;
}

@media (max-width: 1024px) {
  .saberes-slide__desc {
    display: none;
  }
}

/* Prueba Antonio*/

.saberes-slide__cta {
  position: absolute;
  top: calc(var(--panel-top) + var(--panel-alto) + var(--panel-cta));
  right: 3%;
  transform: translateY(-50%);
  min-width: 16.03cqi;
  padding: 0.73cqi 2.38cqi;
  border-radius: 999px;
  background: #35b6c9;
  color: #fff;
  font-size: 1.25cqi;
  text-align: center;
  text-decoration: none;
}

.saberes-slide__cta:hover,
.saberes-slide__cta:focus-visible {
}


.saberes-banner__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.saberes-banner__dots li {
  margin: 0;
}

.saberes-banner__dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c9cfd2;
  cursor: pointer;
}

.saberes-banner__dots button[aria-current="true"] {
  background: #6b7a80;
}

@media (max-width: 767px) {
  #saberes-banner {
    display: none;
  }
}

#saberes-mas {
  display: flex;
  justify-content: flex-end;
  margin: 28px 0 0;
}

#saberes-mas[hidden] {
  display: none;
}

#saberes-mas button {
  min-width: 150px;
  padding: 9px 28px;
  border: 0;
  border-radius: 999px;
  background: #ca8f1b;
  color: #fff;
  font-size: 0.85rem;
  cursor: pointer;
}

#saberes-mas button:hover,
#saberes-mas button:focus-visible {
  background: #a97614;
}

  a.saberes-boton,
  .user_content a.saberes-boton {
    display: inline-block;
    padding: 9px 28px;
    border-radius: 999px;
    color: #fff;
    font-size: 0.95rem;
    text-decoration: none;
    transition: filter 0.2s ease;
  }

  a.saberes-boton:hover,
  a.saberes-boton:focus-visible,
  .user_content a.saberes-boton:hover,
  .user_content a.saberes-boton:focus-visible {
    filter: brightness(0.78);
    color: #fff;
    text-decoration: none;
  }
