/**
 * Template tweaks
 */

.blog-full-post {
    overflow-x: hidden;
}

.fullWidth .Article__inner {
    max-width: 100%;
    padding: 0;
}

.blog-full-post .main > .content__container:first-child .content {
    padding-top: 0;
}

/**
 * Generic weblog output
 */

.wl-meta {
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #1293d1;
}

/**
 * Weblog Lists:
 * post-list-snippet-introduction & related-posts
 */

.wl-post-list {
    margin-bottom: 70px;
    padding: 30px 0 60px 0;
}

.templateHome .wl-post-list {
    background: #afd6ee;
}

.wl-related-posts {
    background: #afd6ee;
}

.wl-post-list__title {
    max-width: 1140px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.wl-post-items {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    max-width: 1140px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    list-style-type: none;
}

.wl-post-list li {
    width: 100%;
    margin-bottom: 30px;
    padding: 0 15px;
}

.wl-post-list li a {
    display: block;
    padding: 12px 24px;
    border-bottom: 4px solid #e9e9e9;
    color: #000;
    background: #fff;
}

.wl-image {
    position: relative;
    width: 100%;
    height: 175px;
    background: no-repeat center center;
    background-size: cover;
}

.wl-textwrapper {
    position: relative;
    height: 220px;
    padding-top: 14px;
    overflow: hidden;
    background: #fff;
    -webkit-transition: -webkit-transform .4s cubic-bezier(.21,.48,.53,.96);
    transition: -webkit-transform .4s cubic-bezier(.21,.48,.53,.96);
    transition: transform .4s cubic-bezier(.21,.48,.53,.96);
    transition: transform .4s cubic-bezier(.21,.48,.53,.96), -webkit-transform .4s cubic-bezier(.21,.48,.53,.96);
}

.wl-textwrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0)), to(#fff));
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 100%);
}

.wl-related-posts .wl-textwrapper {
    height: auto;
}

.wl-related-posts .wl-textwrapper::after {
    background: transparent;
}

.wl-post-list li a:hover .wl-textwrapper {
    -webkit-transform: translateY(-20px);
    transform: translateY(-20px);
}

.wl-post-items h2,
.wl-related-posts .wl-post-items h3 {
    margin-bottom: 10px;
    font-size: 24px;
}

.wl-related-posts .tags {
    font-size: .8em;
}

.wl-related-posts .tag:after {
    margin: 0 .1em;
    content: '-';
}

.wl-related-posts .tag:last-child::after {
    content: '';
}

.wl-post-list .wl-intro {
    position: relative;
    font-size: 16px;
}

.wl-moreNewsWrapper {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    margin-top: 60px;
    text-align: center;
}

.wl-moreNews {
    padding: 8px 20px;
    border-radius: 25px;
    border: 2px solid #1293d1;
    font-weight: 600;
    color: #1293d1;
    -webkit-transition: all .15s ease-out;
    transition: all .15s ease-out;
}

.wl-moreNews:hover {
    background-color: #1293d1;
}

@media screen and (min-width: 580px) {
    .wl-post-list li {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media screen and (min-width: 1140px) {
    .wl-post-list li {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 33.33333%;
        flex: 0 0 33.33333%;
        max-width: 33.33333%;
    }
}

/**
 * Full weblog article
 */

.blog-full-post .wl-related-posts .wl-meta {
    text-align: left;
}

.blog-full-post h1 {
    margin-bottom: 0.2em;
    text-align: center;
}

.blog-full-post h1 a {
    display: block;
    font-size: calc(21px + .75vw);
    color: inherit;
}

.blog-full-post .wl-subtitle {
    margin-bottom: 1em;
    font-size: calc(16px + .75vw);
    text-align: center;
}

.wl-post-navigation {
    display: none;
}

.wl-full-post__header {
    position: relative;
    padding: 2em 0;
}

.wl-full-post__header::before {
    content: '';
    z-index: 0;
    position: absolute;
    top: 0;
    bottom: calc(225px + 2em);
    left: 50%;
    display: block;
    width: 100vw;
    transform: translateX(-50%);
    background: #afd6ee;
}

.wl-full-post__header > * {
    position: relative;
}

.site--mainMenuCollapsed.blog-full-post .wl-full-post__header::before {
    bottom: calc(125px + 2em);
}

.blog-full-post .wl-meta {
    text-align: center;
}

.wl-full-post .breadcrumbs {
    margin-bottom: 1em;
    text-align: center;
    color: #fff;
}

.wl-picture {
    text-align: right;
}

.blog-full-post .wl-picture__image {
    position: relative;
    height: 250px;
    max-width: 84%;
    margin: 0 auto;
    background-color: #adcfe8;
    background-repeat: no-repeat;
    background-size: cover;
}

@media screen and (min-height: 930px) and (min-width: 930px) {
    .blog-full-post .wl-picture__image {
        height: 450px;
    }
}

.blog-full-post .wl-intro {
    font-weight: 600;
}

.blog-full-post .wl-intro,
.blog-full-post .wl-body {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 66.66667%;
    flex: 0 0 66.66667%;
    max-width: 66.66667%;
    margin: 0 auto;
    text-align: left;
}


/** Blog overwrites only for blog template variant **/
.templateBlog #postListFilterSection {
    padding-top: 1em;
}

.templateBlog #postListFilterSection label.field {
    background-color: #1293d1;
    color: #afd6ee;
}

.templateBlog #postListFilterSection label.field:after {
    background-image: url(../../../img/carret_right_blue_light.svg);
}

.templateBlog .blog-full-post .main {
    background: transparent;
    text-align: center;
}

.templateBlog .fullWidth-top {
    padding: 30px 0;
}

.templateBlog .wl-post-list {
    margin-bottom: 20px;
    padding-bottom: 0;
}

.templateBlog .blog-full-post.site--mainMenuCollapsed .main {
    padding-top: 4px;
}

.templateBlog .wl-related-posts.wl-post-list {
    margin-bottom: 0;
}