/* Estilos para Desktop */
.ren-main-section {
    width: 100%;
    margin-top: 100px;
    background-color: hsl(137, 37%, 96%);
    /*padding-top: 100px;*/
}

.ren-inner-section {
    width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.ren-title {
    font-size: 30px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.ren-subtitle {
    font-size: 14px;
    font-weight: 400;
    color: black;
    margin-bottom: 20px;
}

.ren-tabs-container {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.ren-tab {
    padding: 10px 20px;
    width: 195.83px;
    height: 38px;
    gap: 5px;
    font-size: 16px;
    color: #000;
    background: none;
    border: none;
    cursor: pointer;
    margin: 0 5px;
    position: relative;
    transition: color 0.3s, font-weight 0.3s;
}

.ren-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0.5px;
    background-color: black;
}

.ren-tab.ren-tab-active {
    color: #4caf50;
    font-weight: 500;
}

.ren-tab.ren-tab-active::after {
    background-color: #4caf50;
    height: 1px;
}

.ren-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.ren-news-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.ren-news-item.condos,
.ren-news-item.commercial,
.ren-news-item.business,
.ren-news-item.land,
.ren-news-item.multi-family {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    width: 95%;
    height: 260px;
}

.ren-news-item.condos::after,
.ren-news-item.commercial::after,
.ren-news-item.business::after,
.ren-news-item.land::after,
.ren-news-item.multi-family::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90%;
    border-radius: 12px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.374), rgba(0, 0, 0, 0));
    z-index: 1;
}

.ren-news-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ren-news-item img {
    width: 100%;
    height: 100%;
    display: block;
}

.ren-overlay {
    position: absolute;
    width: 352px;
    height: 56px;
    bottom: 7px;
    left: 9px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 600;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ren-read-more {
    background-color: #4caf50;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.ren-read-more:hover {
    background-color: #45a049;
}

/* Estilos para Móvil (Media Query) */
@media (max-width: 480px) {
    .ren-main-section {
        width: 100%;
    }

    .ren-inner-section {
        width: 100%;
        padding: 0 15px;
    }

    .ren-title {
        font-size: 22px;
        text-align: start;
        margin-bottom: 6px;
    }

    .ren-subtitle {
        font-size: 13px;
        text-align: start;
        margin-bottom: 20px;
        line-height: 20px;
    }

    .ren-tabs-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 25px;
        width: 100%;
    }

    .ren-tab {
        font-size: 14px;
        text-align: center;
        border: none;
        border-bottom: 1px solid #333;
        background: none;
        cursor: pointer;
        width: auto;
    }

    .ren-tab.ren-tab-active {
        color: #4caf50;
        font-weight: 600;
        border-bottom: 2px solid #4caf50;
    }

    .ren-news-grid {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        align-items: center;
        width: 100%;
        margin-bottom: 20px;
    }

    .ren-news-item {
        width: 100%;
        max-width: 400px;
        border-radius: 12px;
        overflow: hidden;
        position: relative;
    }

    .ren-news-item img {
        width: 100%;
        display: block;
        border-radius: 12px;
    }

    .ren-overlay {
        position: absolute;
        bottom: 10px;
        left: 10px;
        right: 10px;
        background: rgba(255, 255, 255, 0.85);
        border-radius: 8px;
        padding: 10px;
        text-align: center;
        font-size: 13px;
        font-weight: 600;
        color: #000;
        width: auto;
    }

    .ren-read-more {
        width: 178px;
        padding: 14px 0;
        font-size: 15px;
        font-weight: 600;
        border-radius: 6px;
        background-color: #4caf50;
        color: #fff;
        border: none;
        cursor: pointer;
    }

    .ren-read-more i {
        margin-left: 6px;
    }
}