/*
*Theme Name: JORNALIZE
*Theme URI: https://www.elroi.com.br/
*Description: JORNALIZE - Tema exclusivo Elroi
*Author: Giordano Magalhães
*Author URI: https://www.elroi.com.br/
*/

/*
font-family: 'Times New Roman', Times, serif;
*/

/* -> GERAL */

:root {
    --font-times: 'Times New Roman', Times, serif;
}

html,
body {
    height: 100%;
}
body {
    background-color: #fff;
    font-family: var(--font-times);
    font-size: 18px;
    overflow-x: hidden;
}

.body-modal {
    overflow: hidden;
}

img {
    max-width: 100%;
}

a,
a:visited,
a:active {
    color: #ffffff;
    text-decoration: none;
    transition: all 200ms linear;
}

a:hover {
    color: #60ae7a;
    text-decoration: none;
}

.wrap {
    position: relative;
    max-width: 1200px;
    width: 100%;
    margin: auto;
}

#wpadminbar {
    display: none;
}

.menumob__btn {
    display: none;
    position: absolute; top: 50%; right: 20px;
    transform: translateY(-50%);
}
.menumob__btn {
    min-width: 20px;
    height: 4px;
    font-size: 35px;
    color: #1d1d1d;
    margin-top: -20px;
}

.main-l2 {
    padding: 30px 0 40px 0;
}

.noticias-l1 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 30px 0 40px 0;
}

.noticias-l1-item {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: center;
}

.noticias-l1-item img {
    width: 100%;
    grid-column: 1/2;
}

.noticias-l1-item h1 {
    grid-column: 2/5;
    font-size: 14px;
    color: #000;
    margin: 0;
    font-family: 'Noto Serif JP', serif;
}

.noticias-l2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.noticias-l2-item h1 {
    font-size: 2rem;
    color: #000;
    margin: 0;
    padding: 20px 0;
}

.noticias-l2-item h2 {
    font-size: 20px;
    color: #7a7a7a;
    margin: 0;
}

.main-l3 {
    padding: 0 0 50px 0;
}

.noticias-l3 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.noticias-l3-item .data-cat {
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    color: #7a7a7a;
    margin-top: 10px;
    margin-bottom: 0;
}

.noticias-l3-item .data-cat .cat {
    color: #a50000;
}

.noticias-l3-item h1 {
    font-size: 1.2rem;
    margin: 10px 0;
    font-family: "Noto Serif JP", serif;
    font-weight: 700;
}

.noticias-l3-item p {
    margin: 0.5rem 0;
    color: #494949;
    font-size: 15px;
    font-family: "Roboto", sans-serif;
}

a.read-more {
    font-family: "Roboto", sans-serif;
    color: #000;
    font-weight: 600;
    font-size: 14px;
}

.main-l6 {
    padding: 80px 0;
}

.categoria {
    padding: 0 0 30px 0;
}

.categoria h1 {
    font-size: 2rem;
}

.categoria-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.categoria-grid-item img {
    width: 100%;
}

.categoria-grid-item h2 {
    font-size: 1.1rem;
    margin: 10px 0;
    color: #000;
}

.categorias a {
    font-family: "Poppins", sans-serif;
    color: #000;
    text-transform: uppercase;
    background-color: #e5e5e5;
    border-radius: 30px;
    padding: 10px 18px;
    white-space: nowrap;
    margin-right: 12px;
}

.trends-section {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    padding: 50px 0;
}

.trends-title {
    display: flex;
    gap: 10px;
    grid-column: 1 / 3;
    align-items: center;
    font-size: 24px;
}

.trends-title span:nth-child(2) {
    color: #000;
    font-size: 30px;
    font-family: "Poppins", sans-serif;
    font-weight: 800;
}

.trends-carrossel {
    grid-column: 3 / 11;
    display: flex;
    overflow: hidden;
}

.categorias {
    display: flex;
    transition: transform 0.3s ease-in-out;
}

.trends-button {
    grid-column: 11 / 13;
    display: flex;
    gap: 10px;
    justify-content: end;
}

button#prev-button {
    width: 50px;
    border: none;
    background-color: #e5e5e5;
    border-radius: 5px;
}

button#next-button {
    width: 50px;
    border: none;
    background-color: #e5e5e5;
    border-radius: 5px;
}

.news-carrossel {
    display: flex;
    overflow: hidden;
}

div#news-section {
    display: flex;
    gap: 40px;
    transition: transform 0.3s ease-in-out;
}

.news-section a {
    width: 166px;
}

.news-section {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 40px;
}

.news-item .img-number {
    position: relative;
}

.news-item img {
    width: 100%;
    position: relative;
    border-radius: 10px;
}

.news-item .number {
    position: absolute;
    top: 10px;
    left: 10px;
    color: #fff;
    font-weight: 700;
    font-size: 25px;
    font-family: "Poppins", sans-serif;
}

.news-item h3 {
    margin: 0;
    font-size: 18px;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    padding: 20px 0;
}

.news-section a:nth-child(1) .news-item h3,
.news-section a:nth-child(3) .news-item h3,
.news-section a:nth-child(4) .news-item h3,
.news-section a:nth-child(6) .news-item h3 {
    color: #ffe500;
}

.news-section a:nth-child(1) .news-item img,
.news-section a:nth-child(3) .news-item img,
.news-section a:nth-child(4) .news-item img,
.news-section a:nth-child(6) .news-item img {
    border-bottom: 5px solid #ffe500;
}

.news-section a:nth-child(2) .news-item h3,
.news-section a:nth-child(8) .news-item h3 {
    color: #ff4d4d;
}

.news-section a:nth-child(2) .news-item img,
.news-section a:nth-child(8) .news-item img {
    border-bottom:  5px solid #ff4d4d;
}

.news-section a:nth-child(5) .news-item h3,
.news-section a:nth-child(7) .news-item h3 {
    color: #b9ea7f;
}

.news-section a:nth-child(5) .news-item img,
.news-section a:nth-child(7) .news-item img {
    border-bottom: 5px solid #b9ea7f;
}

.news-item p {
    margin: 0;
    color: #000;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 500;
}

@media screen and (max-width: 1240px) {
    .wrap {
        padding: 0 20px;
    }
}