.featured-video {
    margin-bottom: 2rem;
}

.iframe-container {
    position: relative;
    width: 100%;
}

.iframe-container iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.iframe-container::before {
    content: "";
    display: block;
    padding-bottom: calc(100% / (16/9));
}

.featured-top {
    width: 100%;
    height: 150px;
    background: rgb(23,211,255);
    background: linear-gradient( 126deg, rgb(12 42 79) 0%, rgb(54 99 167) 70% );

    display: flex;
    align-items: center;
}

.featured-top img{
    height: 85%;
}

.featured-bottom {
    background: linear-gradient(
        135deg, 
        rgb(12 42 79) 0%, 
        rgba(54,99,167,0.7) 105%
    );
    color: #fff;
    height: 100px;
    width: 100%;
    padding: 1em 2em;
    position: relative;
}

.featured-bottom {
    font-size: 1.5em;
    text-transform: uppercase;
    line-height: 1.2em;

    display: flex;
    justify-content: space-between;
}

.featured-bottom:after {
    content: "";
    background-image: url("../../assets/img/porto360/bg_porto1.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100px;
    z-index: -1;

    position: absolute;
    bottom: 0;
    left: 0;
}

.featured-bottom > a {
    text-align: right; 
    font-size: .9em; 
    
    display: flex; 
    align-items: center;
}

.featured-bottom > a img{
    margin-left: .3em;
    filter: brightness(2);
}

.articles {
    margin-bottom: 2em;

    display: grid;
    grid-template-columns: 1fr 400px;
    grid-template-rows: 150px 580px;
    grid-template-areas:
        "head head"
        "feature side";
    gap: 1em;
}

.articles-header {
    background-color: rgb(12 42 79);
    color: white;
    height: 100%;
    padding: .5em 2em;
    font-size: 1.2em;
    text-transform: uppercase;

    grid-area: head;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.articles-header span,
.articles-side-header span {
    display: block;
    width: 100%;
    line-height: 1.2em;
}

.articles-newest {
    grid-area: feature;
}

.articles-newest .photo-article .title {
    font-size: 1.6em;
}

.articles-side {
    grid-area: side;
    height: 100%;
}

.articles-side-header {
    background-color: rgb(12 42 79);
    color: #fff;
    height: 60px;
    padding: .3em 1em;
    text-transform: uppercase;
    margin-bottom: 1em;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.articles-scroller {
    overflow-y: scroll;
    height: calc(100% - 75px);
    padding: 0 1em;
}

.articles-scroller > a + a {
    display: block;
    margin-top: 1em;
}

.articles-scroller .photo-article img {
    height: 240px;
}

.articles-scroller::-webkit-scrollbar {
    width: 10px;
}

.articles-scroller::-webkit-scrollbar-track {
    background: #fff;
    border: 1px solid rgb(12 42 79);
}

.articles-scroller::-webkit-scrollbar-thumb {
    background-color: rgb(12 42 79);   
}

.photo-article {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.photo-article img {
    width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.photo-article .details {
    width: 100%;
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 1em;

    position: absolute;
    bottom: 0;
}

.photo-article .title {
    font-size: 1.2em;
}

.footer-porto {
    width: 100%;
    max-height: 500px;
    padding: 3em 2em 0 2em;
    background: linear-gradient(
        126deg, 
        rgb(12 42 79) 0%, 
        rgb(54 99 167) 46%
    );

    display: flex;
    justify-content: space-around;
}

.footer-porto img {
    height: 100%;
}

.footer-porto .about {
    color: #fff;
    max-width: 30%;
    display: inline-block;
    max-width: 400px;
}

.footer-porto .about h3 {
    font-weight: bold;
    font-size: 2.4em;
    text-transform: uppercase;
}

.footer-porto .about p {
    text-align: justify;
}

.whats-fixed,
.insta-fixed {
    width: 60px;
    height: 60px;
    border-radius: 100%;

    position: fixed;
    right: 15px;

    display: flex;
    justify-content: center;
    align-items: center;

    transition: filter .5s ease-in;
}

.whats-fixed {
    background-color: #46a51e;
    border: 3px solid #fff;
    bottom: 20px;
}

.insta-fixed {
    background-color: #b72f85;
    border: 3px solid #fff;
    bottom: 90px;
}

.whats-fixed:hover,
.insta-fixed:hover {
    filter: brightness(1.3);
}

.whats-fixed img,
.insta-fixed img {
    max-width: 100%;
    filter: invert(1);
    transform: scale(.5)
}

.ad {
    display: block !important;
}

@media screen and (max-width: 1260px) {
    .articles {
        grid-template-columns: 1fr;
        grid-template-rows: 150px 1fr 255px;
        grid-template-areas:
        "head"
        "feature"
        "side";
    }

    .articles-newest {
        display: flex;
        justify-content: center;
    }

    .photo-article {
        width: 95%;
    }

    .photo-article img {
        max-height: 500px;
        height: 100%;
    }

    .articles-scroller {
        overflow-y: hidden;
        overflow-x: scroll;
        width: 100vw;
        white-space: nowrap;
    }

    .articles-scroller .photo-article {
        display: inline-block;
        width: 260px;
        height: 150px;
        margin-right: 1em;
        white-space: normal;
    }

    .articles-scroller > .photo-article + .photo-article {
        margin-top: 0;
    }

    .articles-scroller .photo-article img {
        height: 100%;
    }

    .footer-porto {
        flex-direction: column;
        align-items: center;
        max-height: none;
    }

    .footer-porto img {
        max-height: 450px;
        order: 3;
    }

    .footer-porto .about {
        max-width: 480px;
    }
}

@media screen and (max-width: 1080px) {
    html {
        font-size: 93.75%;
    }
}

@media screen and (max-width: 720px) {
    html {
        font-size: 87.5%;
    }

    .featured-top{
        justify-content: center;
    }

    .featured-top img {
        height: 65%;
    }

    .featured-bottom {
        justify-content: center;
    }

    .featured-bottom > :first-child {
        display: none;
    }

    .whats-fixed,
    .insta-fixed {  
        width: 50px;
        height: 50px;
    }

    .insta-fixed {
        bottom: 80px;
    }
}
