/* ------------- FRONT PAGE ---- /*

/* ------- FONTS, TEXT STYLES */

#fp-latest-articles h3 {
    font-size: 12pt;
}

.section-headline {
    font-weight: 100;
    padding-bottom: 2%;
    line-height: 1.3;
    font-family: "Domaine";
}

.headline-bold {
    font-family: "Domaine";
}

.headline-narrow {
    font-family: "Domaine";
    /* font-family: 'Poppins', sans-serif; */
}

.section-ingress {
    font-weight: 400;
    padding-bottom: 2%;
}

.section-byline {
    text-transform: uppercase;
    font-weight: 300;
    font-size: 80%;
}

.post-caption {
    font-size: 60%;
    text-align: right;
}

/* ------------- INFOBOX */

#toimituksittain {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 66vh;
}

.special-box {
    padding: 3% 0;
}

.infobox-1 {
    padding: 2% 0;
}

.infobox-1 h1 {
    font-size: 200%;
}

.infobox-1 p {
    width: 100%;
}

.infobox-single img,
.infobox-single figure {
    width: 100% !important;
}

.infobox figure {
    max-width: unset !important;
}

/* -------- LINKBOX */

.link-box {
    text-decoration: none;
    color: black;
    padding: 0;
    margin: 0;
    background: transparent;
    display: inline-block;
    max-width: 100%;
}

.link-box:hover .headline-link,
.link-box:hover .section-ingress {
    text-decoration: underline;
}

.link-box:hover .post-thumbnail {
    filter: grayscale(1);
}

#toimituksittain .link-box {
    display: block;
}

.toimitus-link {
    padding: 2px;
    border-bottom: .2px solid grey;
    user-select: none;
}

.toimitus-link.link-box a {
    color: black;
}

/* ----------- VIIMEISIMMAT */
.section.left-article-section {
    padding-top: 0px;
}

/* ----------- OSASTOITTAIN */
.toimituksittain-single {
    display: none;
}

/* ----------- IMAGES */

.post-thumbnail {
    position: relative;
    width: 100%;
    min-height: 200px;
    height: 33vh;
    max-height: 330px;
    overflow: hidden;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left;
    -o-background-size: cover;
    -moz-background-size: cover;
    -webkit-background-size: cover;
}

.main-article {
    height: 30vh;
}

.main-article-img {
    width: 100%;
    height: auto;
}

.article-50 .post-thumbnail {
    height: 50vh;
}

.mobile-hide-picture .post-thumbnail {
    display: none;
}

@media screen and (min-width: 660px) {
    .post-thumbnail {
        height: 40vh;
        max-height: 410px;
    }
}

@media screen and (min-width: 700px) {
    .post-thumbnail {
        height: 35vh;
        max-height: 380px;
    }

    .article-50 .post-thumbnail {
        height: 51vh;
    } 

    .main-article {
        height: 50vh;
    }
}

@media screen and (min-width: 750px) {
    .post-thumbnail {
        height: 50vh;
    }

    .article-50 .post-thumbnail {
        height: 50vh;
        max-height: 430px;
    }
    
}

@media screen and (min-width: 830px) {
    .post-thumbnail {
        height: 50vh;
        max-height: 470px;
    }
    
}

@media screen and (min-width: 902px) {
    .mobile-hide-picture .post-thumbnail {
        display: block;
    }

    .toimituksittain-single {
        display: block;
    }

    .post-thumbnail {
        height: 20vh;
    }

    .article-50 .post-thumbnail {
        height: 31vh;
    }
      
}

@media screen and (min-width: 1000px) {
    #fp-top-articles {
        flex-wrap: nowrap;
    }

    .post-thumbnail {
        height: 18vh;
    }

    .main-article {
        height: 50vh;
    }

    .main-article-img-container {
        height: 61vh;
    }

    .main-article-img {
        width: auto;
        height: 100%;
    }

}

/* ------------ MEDIA QUERIES */
@media screen and (min-width: 1400px) {
    
    .post-thumbnail {
        height: 26vh;
    }

    .article-50 .post-thumbnail {
        height: 41vh;
        max-height: 360px;
    }

    .main-article {
        height: 50vh;
    }
    
}