@import url(variables.css);

.prox-campus {
  padding: 120px;
  font-size: 24px;
  color: #1b1233;
}

.campus-press-container {
  background-color: white;
  padding: 120px 0;
  min-height: 660px;
}

.campus-press {
  max-width: 100%;
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: row;
  padding: 0 120px;
  box-sizing: border-box;
  gap: 40px;
}

.campus-press-post-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-direction: column;
}

.campus-press-post-header {
  color: #1b1233;
  font-size: 64px;
  font-weight: 700;
  margin: 0;
  line-height: 72px;
  padding: 0px 120px;
}

.campus-press-post-header p {
  color: #1b1233;
  font-size: 24px;
  font-weight: 500;
  line-height: 40px;
  text-align: right;
  display: flex;
  align-items: center;
}

.campus-press-post {
  width: 400px;
  display: flex;
  flex-wrap: wrap;
}

.campus-press-image {
  height: 280px;
  display: flex;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
}

.campus-press-image img {
  object-fit: cover;
  width: 100%;
  border-radius: 10px;
  transition: transform 0.2s ease;
}

.campus-press-image img:hover {
  transform: scale(1.05);
}

.campus-press-post > div {
  width: 430px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  box-sizing: border-box;
  height: 690px;
}

.campus-press-post a {
  text-decoration: none;
}

.campus-dropdown__line {
  width: 100%;
  height: 0px;
  color: #fafafa;
  opacity: 0.3;
}

.campus-press-post-subheader {
  color: #1b1233;
  font-size: 14px;
  font-weight: 300;
  margin-bottom: 0;
}

.campus-press-post-title {
  color: #1b1233;
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 0;
  margin-top: 10px;
}

.campus-press-post p {
  color: #1b1233;
  font-size: 20px;
  font-style: normal;
  font-weight: 300;
  margin-top: 24px;
  line-height: 24px;
}

.campus-press-post label {
  color: #eac830;
  padding-top: 5px;
  cursor: pointer;
  font-weight: 400;
  font-size: 16px;
  transition: all 300ms ease-in-out;
}

.campus-press-post label:hover {
  color: #1b1233;
}

.animate__animated {
  opacity: 0;
}

.campus-press-others-container {
  overflow: hidden;
  width: 100%;
  background: #fafafa;
  border-radius: 6px;
  padding: 10px;
  box-sizing: border-box;
}

.campus-press-others-header {
  color: #1b1233;
  font-size: 18px;
  font-style: normal;
  font-weight: 300;
  margin-bottom: 5px;
  margin-top: auto;
}

.campus-press-others {
  display: flex;
  height: 50px;
  width: fit-content;
  margin: auto;
  animation: move 8s linear infinite;
}

.campus-press-others.stopped {
  animation: none;
  margin: initial;
}

.campus-press-others.stopped > a:last-of-type {
  border: none;
}

@keyframes move {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.campus-press-others > a {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 15px;
  border-right: 1px solid #a4a4a4;
}

.campus-press-others > a > img:hover {
  transform: scale(1.05);
}

.campus-press-others > a > img {
  width: 100px;
  height: 100%;
  object-fit: contain;
  transition: transform 0.2s ease;
}

@media (max-width: 1500px) {
  .campus-press-post-header h2 {
    font-size: 58px;
  }
}

@media (max-width: 1100px) {
  .campus-press-post > div {
    width: 100%;
    padding: 30px 0;
  }
}

@media (max-width: 767px) {
  .campus-press-post-header {
    flex-direction: column;
    margin-bottom: 40px;
    padding: 0px 20px;
  }

  .campus-press-post-header p {
    text-align: left;
    line-height: 32px;
  }

  .campus-press-container {
    padding: 100px 0;
  }

  .campus-press {
    padding: 0 20px;
  }
}

@media (max-width: 550px) {
  .campus-press-container {
    padding: 0px;
    padding-top: 60px;
  }

  .campus-press {
    flex-direction: column;
    gap: 0px;
  }

  .campus-press-post {
    width: 100%;
  }

  .campus-press-post-header {
    font-size: 44px;
    line-height: 52px;
    margin-bottom: 0px;
  }

  .campus-press-post > div {
    justify-content: normal;
    height: auto;
  }
}

/*MODIFICACIONES DE TEXTOS DE CAMPUS*/

.news-p {
  text-align: justify !important;
}

/*CAMPUS WEBINAR*/

.campus-webinar-container {
  background-color: white;
  padding: var(--margen_secciones);
  padding-top: 0px;
}

.campus-webinar-post-header {
  font-size: var(--font_titulos);
  line-height: var(--line_height_titulos);
  font-weight: var(--grosor_titulos);
  color: var(--color_textos);
  margin: 0px;
  margin-bottom: var(--espacio_titulo_contenido);
}

.campus-webinar-container iframe {
  width: 100%;
  border-radius: 20px;
  height: 940px;
}

@media (max-width: 770px) {
  .campus-webinar-container {
    padding: var(--margen_secciones_movil);
  }

  .campus-webinar-post-header {
    font-size: var(--font_titulos_movil);
    line-height: var(--line_height_titulos_movil);
  }

  .campus-webinar-container iframe {
    height: 100%;
    aspect-ratio: 16/9;
  }
}
