@import url('/assets/css/partials/header.css');
@import url('/assets/css/partials/fly-out-menu.css');
@import url('/assets/css/partials/footer.css');


body *,
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    font-family: "Poppins", sans-serif;
}


.title-div h1 {
    font-size: 2em;
    font-weight: 300;
    margin: 0;
    color: #0072ce;
}

.colorfull-lines {
    display: flex;
}

.colorfull-lines span {
    display: block;

    width: 25px;
    height: 4px;

    margin: 2px 0 36px;
}

.colorfull-lines .yellow {
    background-color: #FFC600;
}

.colorfull-lines .orange {
    background-color: #FF6A14;
}

.colorfull-lines .green {
    background-color: #97D700;
}

.colorfull-lines .dark-blue {
    background-color: #054E72;
}







/* News */

#news {
    margin-top: 4rem;

    padding: 6rem 2rem;
}

.news {
    max-width: 1400px;

    margin: auto;
}

.news-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}

.news-card {
    display: flex;
    flex-direction: column;
    height: 100%;

    width: 100%;

    text-decoration: none;
    color: black;

    border-radius: 16px;
    box-shadow: rgba(149, 157, 165, 0.363) 0px 8px 24px;

    transition: 0.2s ease;
}

.news-card:hover {
    color: #0072ce;
}

.news-card img {
    width: 100%;

    border-radius: 16px 16px 0 0;
}

.news-information {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 1rem 1rem 1rem;
    position: relative;
}


.news-information h2 {
    margin-bottom: 1rem;
}

.news-information p {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    /* Número de linhas que você quer exibir */
    -webkit-box-orient: vertical;
    overflow: hidden;
    
    margin-bottom: 1rem;
}

.news-information button {
    background-color: #FF6A14;
    color: white;
    text-decoration: none;

    margin-top: auto;

    font-size: 1rem;
    padding: .75rem;
    border-radius: 16px;
    border: none;
    cursor: pointer;

    width: 136px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    box-shadow: rgba(0, 0, 0, 0.116) 0px 3px 8px;
    transition: 0.2s;
}

.news-information button:hover {
    transform: scale(1.02);
    box-shadow: rgba(0, 0, 0, 0.281) 0px 3px 8px;
}

.news-information button img {
    width: 20px;
}


@media (max-width: 1024px) {
    .news-content {
        grid-template-columns: repeat(2, auto);
    }

    .news-card {
        width: 100%;
    }
}

@media (max-width: 700px) {
    .news-content {
        grid-template-columns: 1fr;
    }
}