*{padding: 0;margin: 0; box-sizing: border-box; font-family: 'Poppins',sans-serif;}
:root{
    --light: #f7f8fd;
}

body{
    background: var(--light);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#homeScreen{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#homeScreen h1{
    font-weight: 400;
}
#homeScreen p{
    font-weight: 300;
}
.logo{
    padding: 30px;
}

.homeContainer{
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}




.news-wrapper {
    padding: 40px;
    background: #0b0f14;
}

.news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
    padding: 30px;
}

/* ===== POST PRINCIPAL ===== */

.news-feature {
    position: relative;
    overflow: hidden;
    border-radius: 50px;
    max-height: 600px;
}

.news-feature img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.4s ease;
}

.news-feature:hover img {
    transform: scale(1.05);
}

.feature-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgb(0, 0, 0), transparent);
    color: #fff;
}

.feature-overlay h2 {
    font-size: 28px;
    margin: 10px 0;
}

.category {
    font-size: 12px;
    text-transform: uppercase;
    color: #aaa;
    letter-spacing: 1px;
}

.date {
    font-size: 13px;
    color: #bbb;
}

/* ===== LATERAL ===== */

.news-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.side-post {
    display: flex;
    gap: 15px;
    background: #000000;
    padding: 10px;
    border-radius: 22px;
    transition: 0.3s;
}

.side-post:hover {
    background: #1a222c;
}

.side-post img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 15px;
}

.side-content h4 {
    font-size: 15px;
    color: #fff;
    margin: 5px 0;
}

.side-content .category {
    font-size: 11px;
}



.main-footer {
    color: #000000;
    padding: 50px 20px 30px;
    margin-top: 60px;
    border-top: 1px solid #000;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    text-align: center;
    flex-direction: column;
    gap: 30px;
}

.footer-brand h3 {
    color: #000000;
    margin-bottom: 10px;
}

.footer-brand p {
    max-width: 400px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #000000;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #000000;
}

.footer-copy {
    font-size: 13px;
    color: #000000;
}


/* ===== RESPONSIVO ===== */

@media (max-width: 992px) {
    *{
        overflow-X: hidden;
    }
    .news-grid {
        grid-template-columns: 1fr;
    }
    #homeScreen{
        width: 100%;
        padding: 0;
        margin: 0;
        gap: 0;

    }
    .news-side {
        flex-direction: column;
    }
    .mainPicture{
        width: 100%;
        height: auto;
    }
    #blogContainer{
        padding: 0;
    }
    .news-grid{
        display: flex;
        flex-direction: column;
    }

    .homeContainer{
        width: 90%;
    }
    .feature-overlay h2 {
    font-size: 1rem;
    }
}
