@import url(variables.css);

/* Principal */

.news-container {
    max-width: 1200px;
    margin: auto;
    width: auto;
    padding: 120px 20px;
}

.news-body {
    display: flex;
    margin-top: 50px;
    flex-direction: column;
}

.news-p, .news-date, .news-second-titular, .news-list {
    margin-left: 350px;
}

.news-container a {
    color: var(--color_textos);
    font-weight: 700;
}

@media (max-width: 767px) {
    .news-p, .news-date, .news-second-titular, .news-list {
        margin-left: 0;
    }
}

/* Texto */

.news-titular {
    color: var(--color_textos);
    font-size: 50px;
    font-weight: 500;
    line-height: 50px;
}

.news-titular label {
    color: #1c3436;
}

.news-second-titular {
    color: var(--color_textos);
    font-size: 26px;
    font-weight: 700;
    line-height: 35px;
    margin-bottom: 0;
}

.news-main-image {
    text-align: center;
    width: 100%;
    aspect-ratio: 11 / 4;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.news-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin: 20px auto;
}

.news-img{
    margin-left: 350px;
}

.news-resume {
    color: #1B1233;
    font-size: 18px;
    font-weight: 500;
}

.campus-resume {
  color: #1B1233;
  font-size: 20px;
  font-weight: 300;
  margin-left: 350px;
}

.campus-resume li {
    margin-bottom: 20px;
}

.news-resume li {
    margin-bottom: 20px;
}

.news-date {
    border-bottom: 1px solid #1B1233;
    font-size: 16px;
    font-weight: 500;
    color: #1B1233;
    margin-bottom: 0;
}

.news-p {
    color: var(--color_textos);
    font-size: var(--font_textos);
    line-height: var(--line_height_textos);
    font-weight: var(--grosor_textos);
}

.news-list {
    color: #1B1233;
    font-size: 18px;
}

.news-list li {
    padding-bottom: 10px;
}

.news-p-salient {
    font-size: 28px;
    color: #1B1233;
    font-weight: 500;
    line-height: 32px;
    background-color: #f4feff;
    padding: 25px;
}

.news-p-salient-footer {
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
}

@media (max-width: 1400px) {
    .news-titular {
        font-size: 40px;
        line-height: 40px;
    }
}
@media (max-width: 767px) {
    .news-main-image img {
        margin: 20px auto;
    }

    .news-resume {
        padding-left: 25px;
    }

    .news-p-salient {
        padding: 15px;
        font-size: 26px;
    }

    .news-container {
        padding: 100px 20px;
    }
}

@media (max-width: 500px) {
    .news-img {
        margin-left: 0;
    }
}

/* Press External */

.home-press-external-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.home-press-external-header {
    color: #1B1233;
    font-size: 24px;
    font-weight: 500;
    line-height: 40px;
    display: flex;
    align-items: center;
    margin-top: 100px;
    margin-bottom: 20px;
}

.home-press-external {
    width: 25%;
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    box-sizing: border-box;
    position: relative;
    transition: transform 0.4s ease;
}

.home-press-external:hover {
    transform: translateY(-15px);
}

.home-press-external-image {
    height: 120px;
    display: flex;
    align-items: center;
}

.home-press-external-image > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-press-external-text {
    color: #3C8C8F;
    font-size: 16px;
    font-style: normal;
    margin-top: 10px;
    position: relative;
    text-align: center;
    font-weight: 400;
}

.home-press-external-text > img {
    position: absolute;
    width: 30px;
}

.home-press-external-text > img:first-of-type {
    left: -35px;
    top: -30px;
}

.home-press-external-text > img:last-of-type {
    right: -35px;
    bottom: -25px;
    transform: rotate(180deg);
    display: none;
}

@media (max-width: 1400px) {
    .home-press-external {
        padding: 20px 30px;
    }
}

@media (max-width: 900px) {
    .home-press-external-header {
        font-size: 24px;
        margin-top: 70px;
    }

    .home-press-external {
        width: 50%;
        max-width: 300px;
    }
}

@media (max-width: 500px) {
    .home-press-external {
        padding: 10px 20px;
    }
}


/* Galería de imágenes */

.news-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 70px;
}

.news-gallery > a {
    width: calc(25% - 15px);
    height: 250px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.news-gallery > a > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main__image-portada img {
    height: 57% !important;
}

.main__image-metropolitano {
    width: 900px;
    height: auto;
    border-radius: 20px;
    margin-left: 350px;
}

@media (max-width: 1300px) {
    .main__image-metropolitano {
        width: 850px;
    }
}

@media (max-width: 1025px) {
    .main__image-metropolitano {
        width: 620px;
    }
}

@media (max-width: 770px) {
    .main__image-metropolitano {
        width: 370px;
    }
}

@media (max-width: 450px) {
    .main__image-metropolitano {
        margin-left: 0px;
    }
}

/*SOCIAL LINKS*/

.social__news {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.social__news span {
  font-size: 20px;
  font-weight: 300;
  color: #1B1233;
  opacity: 0.6;
}

.news__social {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  justify-content: start;
}

.social-links {
  text-decoration: none;
  border: 1px solid #1B123317;
  border-radius: 4px;
  background: transparent;
  justify-content: center;
  align-items: center;
  width: 3rem;
  height: 3rem;
  display: flex;
  cursor: pointer;
  transition: all 0.3s;
}

.social-links svg {
  width: 30px;
  height: auto;
}

.link-pdf svg{
  width: 30px;
}

.social-links:hover {
  border: 1px solid #1B1233;
}