@import url(variables.css);

/* Media Press Room */

.media-press-container {
  background-color: white;
  padding: var(--margen_secciones);
  min-height: 660px;
}

.media-press {
  max-width: 1500px;
  width: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.media-press-post-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 64px;
}

.media-press-post-header h2 {
  color: var(--color_titulos);
  font-size: var(--font_titulos);
  font-weight: var(--grosor_titulos);
  margin: 0;
  line-height: var(--line_height_titulos);
}

.media-press-post-header p {
  color: var(--color_textos);
  font-size: var(--font_textos);
  font-weight: var(--grosor_textos);
  line-height: 40px;
  text-align: right;
  display: flex;
  align-items: center;
}

.media-post-container {
  display: flex;
  flex-direction: row;
  width: auto;
  gap: 24px;
}

.media-press-post {
  display: flex;
  flex-wrap: wrap;
  width: 30%;
}

.media-press-image {
  height: 280px;
  display: flex;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
}

.media-press-image img {
  object-fit: cover;
  width: 100%;
  border-radius: 10px;
  transition: transform 0.2s ease;
}

.media-press-image img:hover {
  transform: scale(1.05);
}

.media-press-post > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  box-sizing: border-box;
}

.media-press-post a {
  text-decoration: none;
}

.media-press-post h3 {
  color: #1b1233;
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 0;
  margin-top: 40px;
}

.media-press-post p {
  color: var(--color_textos);
  font-size: var(--font_textos);
  font-style: normal;
  font-weight: var(--grosor_textos);
  margin-top: 24px;
  line-height: var(--line_height_textos);
}

.media-press-post label {
  color: #eac830;
  padding-top: 5px;
  cursor: pointer;
  font-weight: 400;
  font-size: 16px;
  transition: all 300ms ease-in-out;
}

.media-press-post label:hover {
  color: #1b1233;
}

.animate__animated {
  opacity: 0;
}

.media-press-others-container {
  overflow: hidden;
  width: 100%;
  background: #fafafa;
  border-radius: 6px;
  padding: 10px;
  box-sizing: border-box;
}

.media-press-others-header {
  color: #1b1233;
  font-size: 18px;
  font-style: normal;
  font-weight: 300;
  margin-bottom: 5px;
  margin-top: auto;
}

.media-press-others {
  display: flex;
  height: 50px;
  width: fit-content;
  margin: auto;
  animation: move 8s linear infinite;
}

.media-press-others.stopped {
  animation: none;
  margin: initial;
}

.media-press-others.stopped > a:last-of-type {
  border: none;
}

@keyframes move {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.media-press-others > a {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 15px;
  border-right: 1px solid #a4a4a4;
}

.media-press-others > a > img:hover {
  transform: scale(1.05);
}

.media-press-others > a > img {
  width: 100px;
  height: 100%;
  object-fit: contain;
  transition: transform 0.2s ease;
}

@media (max-width: 1500px) {
  .media-press-post-header h2 {
    font-size: 58px;
  }
}

@media (max-width: 1100px) {
  .media-post-container {
    flex-direction: column;
  }

  .media-press-post {
    width: auto;
  }
}

@media (max-width: 767px) {
  .media-press-post-header {
    flex-direction: column;
    margin-bottom: 40px;
  }

  .media-press-post-header p {
    text-align: left;
    line-height: 32px;
  }

  .media-press-container {
    padding: var(--margen_secciones_movil);
  }

}
