/* MEGATIEMPO - NOTAS
UPDATE:19/06/2024
ivan.hermosilla@megamedia.cl*/

:root {
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-blue: #07369E;
    --color-blue-sky: #00C9FF;
    --color-yellow: #FFC200;
    --color-grey-light: #e8e8ee;
    --color-grey-dark: #484955;
    --color-grey-dark-night: #252729;
    --color-red: #E2192C;
}

/*2. Especial: Notas
---------------------------------*/
.masNoticias {
    display: flex;
    position: relative;
    width: 100%;
    margin: 30px 0;
}
.masNoticias .box {
    display: block;
    position: relative;
    width: 1290px;
    margin: 0 auto;
}
.masNoticias .box .contenedor {
    display: block;
    position: relative;
    width: 960px;
    float: left;
}
.masNoticias .box .contenedor .titulo {
    display: inline-block;
    position: relative;
    width: 100%;
    margin: 0 0 10px 0;
}
.masNoticias .box .contenedor .titulo h3 {
    font-weight: 900;
    font-size: 3.2em;
    color: var(--color-grey-dark);
}
.masNoticias .box .contenedor .titulo h3:hover {
    opacity: 0.75;
}
.masNoticias .box .contenedor .notas {
    display: inline-block;
    position: relative;
    width: 100%;
}
.masNoticias .box .contenedor .notas article {
    display: block;
    position: relative;
    width: 32%;
    height: 320px;
    float: left;
    margin: 0 2% 20px 0;
}
.masNoticias .box .contenedor .notas article:nth-child(3n) {
    display: block;
    position: relative;
    width: 32%;
    height: 320px;
    float: left;
    margin: 0 0 20px 0;
}
.masNoticias .box .contenedor .notas article figure {
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    width: 100%;
    height: 173px;
    background-color: var(--color-grey-light);
}
.masNoticias .box .contenedor .notas article figure img {
    width: 100%;
    height: 174px;
}
.masNoticias .box .contenedor .notas article figure img[alt]:after {
    display: block;
    position: absolute;
    border-radius: 10px 10px 0 0;
    top: 0;
    left: 0;
    height: 80px;
    width: 100%;
    content: attr(alt);
    background-color: var(--color-grey-light);
    color: transparent;
    z-index: 9;
}
.masNoticias .box .contenedor .notas article figure img:hover {
    opacity: 0.75;
}
.masNoticias .box .contenedor .notas article .titular {
    display: block;
    width: 100%;
    height: 150px;
    background-color:  var(--color-white);
    padding: 10px 20px 20px 20px;
    border-radius: 0 0 10px 10px;
    margin: -2px 0 0 0;
}
.masNoticias .box .contenedor .notas article .titular h2 {
    color: var(--color-grey-dark);
    font-size: 1.8em;
    font-weight: 500;
    line-height: 1.3em;
}
.masNoticias .box .contenedor .notas article .titular h2:hover {
    opacity: 0.75;
}

/*3. Responsive 
---------------------------------*/

/* Mobile */
@media (min-width: 0px) and (max-width: 767px) {

   /*2. Especial: Notas
    ---------------------------------*/
    .masNoticias {
        padding: 0 10px;
    }
    .masNoticias .box {
        width: 100%;
    }
    .masNoticias .box .contenedor {
        width: 100%;
    }
    .masNoticias .box .contenedor .titulo h3 {
        font-size: 2.8em;
    }
    .masNoticias .box .contenedor .notas article {
        width: 100%;
        height: auto;
        margin: 0 0 20px 0;
    }
    .masNoticias .box .contenedor .notas article:nth-child(3n) {
        width: 100%;
        height: auto;
        margin: 0 0 20px 0;
    }
    .masNoticias .box .contenedor .notas article figure {
        width: 100%;
        height: 0;
        padding: 0;
        margin: 0;
        border: 0;
        outline: 0;
        vertical-align: baseline;
        padding-bottom: 55.5%;
        overflow: hidden;
    }
    .masNoticias .box .contenedor .notas article figure img {
        display: block;
        width: 500px;
        height: auto;
        min-height: 1px;
        min-width: 1px;
    }
    .masNoticias .box .contenedor .notas article .titular {
        height: auto;
    }
    .masNoticias .box .contenedor .notas article .titular h2 {
        font-size: 2em;
    }

}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) { 

   /*2. Especial: Notas
    ---------------------------------*/
    .masNoticias .box {
        width: 720px;
    }
    .masNoticias .box .contenedor {
        width: 720px;
    }
    .masNoticias .box .contenedor .notas article,
    .masNoticias .box .contenedor .notas article:nth-child(3n) {
        height: 290px;
    }
    .masNoticias .box .contenedor .notas article figure {
        width: 100%;
        height: 130px;
    }
    .masNoticias .box .contenedor .notas article figure img {
        width: 100%;
        height: 131px;
    }
    .masNoticias .box .contenedor .notas article .titular {
        height: 160px;
        padding: 10px;
    }
    .masNoticias .box .contenedor .notas article .titular h2 {
        font-size: 1.6em;
    }
    .especialDosNotas .box .contenedor .contenido img.conductor {
        left: -200px;
    }
    
}

/* Tablet */
@media (min-width: 1024px) and (max-width: 1160px) { 

   /*2. Especial: Notas
    ---------------------------------*/
    .masNoticias .box {
        width: 1000px;
    }
    .masNoticias .box .contenedor {
        width: 670px;
    }

    .masNoticias .box .contenedor .notas article,
    .masNoticias .box .contenedor .notas article:nth-child(3n) {
        height: 290px;
    }
    .masNoticias .box .contenedor .notas article figure {
        width: 100%;
        height: 120px;
    }
    .masNoticias .box .contenedor .notas article figure img {
        width: 100%;
        height: 121px;
    }
    .masNoticias .box .contenedor .notas article .titular {
        height: 170px;
        padding: 10px;
    }
    .masNoticias .box .contenedor .notas article .titular h2 {
        font-size: 1.6em;
    }
    .especialDosNotas .box .contenedor .contenido img.conductor {
        left: -200px;
    }

}

/* Laptop */
@media (min-width: 1161px) and (max-width: 1289px) {

    .masNoticias .box {
        width: 1160px;
    }
    .masNoticias .box .contenedor {
        width: 830px;
    }
    .masNoticias .box .contenedor .notas article figure {
        height: 149px;
    }
    .masNoticias .box .contenedor .notas article figure img {
        width: 100%;
        height: 150px;
    }
    .masNoticias .box .contenedor .notas article .titular {
        height: 170px;
    }

}
