.ads{
    display: none;
    position: relative;
    border-width: 1px 0;
    border-style: solid;
    border-color: #ccc;
    margin: 1rem 0;
    align-items: center;
    justify-content: center;
}

.ads.ads-lateral{
    width: 300px;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
}

.ads.ads-centralizado{
    margin-left: auto;
    margin-right: auto;
}

.ads::before{
    content: 'Publicidade';
    position: absolute;
    top: 0;  
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 0 2rem;
    color: #555;
    font-size: .7rem;
}

section.featured{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: .5rem;
}

section.featured h1{
    font-size: 3rem;
    line-height: 52px;
    font-weight: 900;
    font-family: PoppinsBold;
}

section.featured h3 {
    font-size: 1.3rem;
    color: #282828;
}

section.featured h4 {
    font-size: 1rem;
    color: #282828;
}

section.featured i {
    font-size: 1.2rem;
    color: rgb(54 99 167);
}

.featured > * {
    width: 50%;
    height: 100%;
}
section.featured .video-container{
    display: flex;
    flex-direction: column;
    padding: 0 2em;
}

.video-header, .video-footer{
    background: linear-gradient( 126deg, rgb(12 42 79) 0%, rgb(54 99 167) 70% );
    height: 50px;
}

.video-header{
    border-radius: 5px 5px 0 0;
}
.video-footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    color: white;
    font-size: 0.7rem;
    border-radius: 0 0 5px 5px;
}
i.fab.fa-youtube {
    color: #fff;
    vertical-align: sub;
}

.video-header img{
    height: 100%;
}

.columnists{
    margin: 1rem 0;
    flex-direction: row;
    justify-content: center;
    align-content: space-around;
    background: #78beb8;
    width: 100%;
    border-radius: 4px;
    box-shadow: 1px 1px 4px 1px rgb(12 42 79);
}

.columnists-start > *{
    display: block;
}

.columnists-start, .columnists-end{
    flex-basis: 20%;
    align-self: center;
}

.columnists-start span{
    font-size: 12px;
    text-align: center;
}

.columnists-center{
    display: flex;
    flex: 1;
}

.columnist{
    display: flex;
    flex-basis: 100%;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 10px;
    gap: 5px;
}

.columnist img{
    height: 200px;
    border-radius: 12px;
}

.columnist-name{
    font-weight: bold;
    font-size: 16px;
    font-family: 'poppinsMedium', 'poppins', sans-serif;
    text-align: center;
    margin: 0;
}

.article-title{
    margin: 0;
    font-size: 0.9rem;
    text-align: center;
    color:#fff;
    line-height: 1.25;
    width: 85%;
}

.articles-group, .programs{
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.program{
    width: 200px;
    height: 100px;
    background-color: #ebebff;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow :1px 1px 4px 1px rgb(12 42 79)
}

.program img{
    object-fit: contain;
    height: 100%;
    width: 100%;
}

.article{
    width: 300px;
    border: none;
    border-radius: 10px;
    margin: 10px 0;
}

.articles-group img{
    width: 100%;
    height: 180px;
    border-radius: 12px;
    background-size: contain;
    object-fit: cover;
}

.article h2{
    margin-top: 5px;
    font-size: 1em;
    line-height: 19px;
    letter-spacing: 1px;
    font-weight: 700;
    font-family: poppinsMedium;
}

.line-title{
    width: 100%;
    font-size: 24px;
    line-height: normal;
    font-weight: 700;
    margin-top: 10px;
}

.articles hr{
    width: 100%;
    overflow: hidden;
    border-style: inset;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
    background: linear-gradient(to right, rgba(116,193,217,1), rgba(74,132,190,1));
    height: 1px;
}

.columnists-start h4, .columnists-start p{
    text-align: center;
}

.btn-columnist{
    padding: 8px;
    background-color: darkslategrey;
    color: #FFFFFF;
    border-radius: 5px;
    cursor: pointer;
    width: -moz-fit-content;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.margin-bottom-text{
    margin-bottom: 1rem;
}

div[data-device=mobile], div[data-device=tablet]{
    padding: 1rem;
    margin-left: auto;
    margin-right: auto;

}

@media screen and (min-width: 1050px) and (max-width: 1259px) {
    section.featured{
        padding: 0px 2em;
    }

    .article, .program{
        width: 170px;
    }

    .articles-group, .programs{
        justify-content: space-evenly;
    }
}

@media screen and (max-width: 1049px) {

    section.featured{
        width: 100%;
    }

    .featured > * {
        width: 100%;
        padding: 0 1em;
    }

    .articles-group, .programs{
        margin: 20px;
        justify-content: space-evenly;
        flex-wrap: wrap;
    }
    .article, .program{
        width: 40%;
    }

    .article img{
        height: 250px;
    }

    .columnists{
        flex-direction: column;
        height: auto;
        padding: 1em 2em;
        gap: 10px;
    }

    .columnists-center{
        flex-wrap: wrap;
        align-content: center;
    }

    .columnist{
        flex-basis: 50%;
    }

    .programs{
        gap: 20px;
    }

    .program{
        margin-bottom: 0px;
    }

    .line-title{
        text-align: center;
    }
}


@media screen and (max-width: 768px){
   
    section.featured{
        flex-direction: column;
    }

    section.featured .video-container{
        padding: 0 1rem;
    }
}

@media  screen and (max-width: 600px) {

    section.featured h1{
        font-size: 1.4em;
        line-height: 34px;
    }

    .articles-group, .programs{
        flex-direction: column;
    }

    .article, .program {
        width: 100%;
        padding: 0 1.5em;
    }

    .programs{
        width: 80%;
    }

    .program{
        padding: 25px;
    }

    .video-footer{
        font-size: 0.7rem;
    }

    .columnist{
        flex-basis: 100%;
    }
}