.page {
    display: none;
}

.pageActive {
    display: block !important;
}

.img-top-container {
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
}

.img-top {
    max-width: 1512px;
    width: 100%;
    height: 426px;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 37px 70px 32px 70px;
}

.img-top > h1 {
    font-family: "Campus 700";
    font-feature-settings: "case" on;
    font-size: 36px;
    line-height: 54px;
    text-transform: capitalize;
    color: #ffffff;
    margin: 0px;
}


.newsItem-button {
    font-family: "Campus 500";
    font-size: 16px;
    line-height: 30px;
    color: #ffffff;
    position: relative;
    background: rgba(27, 27, 27, 0.6);
    border-radius: 100px;
    padding: 15px 30px 15px 58px;
    border: 100px;
    transition: all 0.3s ease-in-out;
}

.newsItem-button::before {
    content: url(/assets/img/arrow-back-white.svg);
    width: 8px;
    height: 17px;
    position: absolute;
    top: 20px;
    left: 30px;
    transition: all 0.3s ease-in-out;
}

.newsItem-button:hover {
    background: #ffffff;
    color: #1b1b1b;
}

.newsItem-button:hover::before {
    content: url(/assets/img/arrow-back-black.svg);
    left: 20px;
}


/* Researches */
#researches {
    margin: 40px 0px 70px;
}

#researches hr {
    max-width: 902px;
}

hr {
    margin: 16px auto;
}


.page ul {
    padding: 0px 300px 0px 338px !important;
    max-width: 1512px;
    margin-inline: auto;
}

.page > h2,
.page > h3,
.page > p,
.page > .links {
    max-width: 1512px;
    padding: 0 300px;
}

.excels-container {
    max-width: 1512px;
    margin: 16px auto;
    padding: 0 300px;
    gap: 16px;
}

.page > h2 {
    margin: 40px auto 24px;
    font-family: "Campus 700";
    font-size: 26px;
    line-height: 39px;
    font-feature-settings: "case" on;
    text-transform: uppercase;
}

.page > h3 {
    margin: 40px auto 8px;
    font-family: "Campus 700";
    font-size: 16px;
    line-height: 24px;
    font-feature-settings: "case" on;
    text-transform: uppercase;
}

.page > h2:not(:first-child) {
    margin-top: 24px;
}

.page > p {
    margin: 0 auto 16px;
    font-family: "Campus 500";
    font-size: 16px;
    line-height: 24px;
    text-align: justify;
}


.page > .links {
    margin: 16px auto;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 32px;
}

.links > a {
    margin: auto 0;
    font-family: "Campus 700";
    text-decoration: none;
    font-size: 16px;
    line-height: 24px;
    color: #000000;
    word-break: break-word;
}

.pdf,
.excel {
    display: flex;
    align-items: center;
    gap: 16px;
    width: min-content;
    background: #f7f9fc;
    border: 1px solid #f1f1f1;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 10px 15px;
    transition: 0.3s ease-in-out;
    cursor: pointer;
}

.pdf img,
.excel img {
    height: 25px;
}

.pdf:hover,
.excel:hover {
    background: #f0f3f5;
}

.pdf > p,
.excel > p {
    margin: 0;
    white-space: nowrap;
    font-family: "Campus 500";
    font-feature-settings: "case" on;
    font-size: 16px;
    line-height: 24px;
    color: #000000;
}




/* R E S E A R C H E R S */

.persons {
    max-width: 1512px;
    margin: auto;
    padding: 40px 70px 80px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    column-gap: 45px;
    row-gap: 20px;
}

.person-card {
    max-width: 237px;
    cursor: pointer;
    text-decoration: none;
    color: #000000 !important;
}

.person-card p {
    font-family: "Campus 600";
    font-size: 16px;
    line-height: 24px;
    margin: 20px 0px 0px;
    word-wrap: break-word;
}

.person-card span {
    font-family: "Campus 400";
    font-size: 14px;
    line-height: 21px;
    word-wrap: break-word;
}

.person-card .img {
    width: 237px;
    height: 237px;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 100% !important;
    transition: 0.3s ease-out !important;
    position: relative;
}

.person-card .img::before {
    content: "";
    width: 78%;
    height: 78%;
    position: absolute;
    background-color: var(--main-yellow);
    bottom: 0px;
    left: 0px;
    z-index: -1;
    transition: 0.3s ease-out !important;
}

.person-card .img::after {
    content: "";
    width: 78%;
    height: 78%;
    position: absolute;
    background-color: var(--main-yellow);
    top: 0px;
    right: 0px;
    z-index: -1;
    transition: 0.3s ease-out !important;
}

.person-card:hover .img {
    background-size: 105% !important;
}

.person-card:hover .img::before {
    bottom: -8px;
    left: -8px;
}

.person-card:hover .img::after {
    top: -8px;
    right: -8px;
}



/* N E W S  */

.news-body {
    max-width: 1512px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    column-gap: 40px;
    row-gap: 25px;
    padding: 50px 70px 75px;
}

.single-news {
    width: 100%;
    max-width: 315px;
    cursor: pointer;
}

.single-news > img {
    width: 100%;
    height: 255px;
    object-position: center !important;
    object-fit: cover !important;
    border-radius: 8px;
}

.single-news p,
.single-news h4 {
    font-family: "Campus 500";
    font-size: 16px;
    line-height: 24px;
    color: #000000;
    margin: 8px 0px 8px;
    opacity: 0.5;
    word-wrap: break-word;
}

.single-news h4 {
    opacity: 1;
    margin: 0px;
}



/* R E S P O N S I V E */

@media screen and (max-width: 1500px) {
    .persons {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 1230px) {
    .persons {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 1199px) {
    .img-top {
        padding: 37px 45px 32px;
    }

    .page > h2,
    .page > h3,
    .page > p,
    .page > .links {
        padding: 0px 45px;
    }

    .page > h2 {
        font-size: 20px;
        line-height: 27px;
        margin: 24px auto 16px;
    }

    .page > p {
        margin: 0px auto 16px;
        text-align: unset;
    }

    .page ul {
        padding: 0 45px 0 65px !important;
    }

    #researches {
        margin: 24px 0px 40px;
    }

    .excels-container {
        padding: 0px 45px;
        gap: 0.5rem;
        flex-direction: column;
    }

    #researches hr {
        max-width: calc(100vw - 90px);
    }


    .persons {
        padding: 24px 45px 40px;
    }

    .news-body {
        grid-template-columns: 1fr 1fr 1fr;
        column-gap: 25px;
        padding: 24px 45px 40px;
    }
}

@media screen and (max-width: 890px) {
    .persons {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .img-top {
        height: 188px;
        padding: 15px;
    }

    .img-top > h1 {
        font-size: 22px;
        line-height: 26px;
    }

    .newsItem-button {
        display: none;
    }

    .page > h2,
    .page > h3,
    .page > p,
    .page > .links {
        padding: 0px 15px;
    }

    .page ul {
        padding: 0 15px 0 35px !important;
    }

    .page > h2 {
        font-size: 18px;
    }

    .page > p {
        text-align: unset !important;
    }

    .page > .links {
        margin-bottom: 1rem;
        flex-wrap: wrap;
    }

    .page .excels-container {
        padding: 0px 15px;
        gap: 0.5rem;
        flex-direction: column;
    }

    #researches hr {
        display: none;
        /* max-width: calc(100vw - 30px); */
    }






    .persons {
        grid-template-columns: repeat(1, 1fr);
        padding: 24px 15px 40px;
    }

    .person-card {
        max-width: unset;
        display: flex;
        gap: 10px;
    }

    .person-card > div:last-child {
        width: 100%;
    }

    .person-card p {
        font-family: "Campus 700";
        margin: 0px;
    }

    .person-card .img {
        min-width: 140px;
        width: 140px;
        height: 140px;
    }

    .person-card .img::before,
    .person-card .img::after {
        display: none;
    }

    .person-card:hover .img {
        background-size: 100% !important;
    }


    .news-body {
        padding: 24px 15px 40px;
        display: flex;
        flex-direction: column;
        gap: 0px;
    }

    .single-news {
        padding: 12px 0px;
        gap: 16px;
        display: flex;
        max-width: unset;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .single-news > img {
        min-width: 96px;
        width: 96px;
        height: 80px;
    }

    .single-news > div {
        width: 100%;
    }

    .single-news p {
        margin: 0px 0px 8px;
        font-size: 14px;
    }
}