﻿div.post-list div.flex {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: nowrap;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: stretch;
    margin-bottom: 5em;
}

div.post-list div.flex > * {
    flex: 0 0 48%;
}

section.page-intro div.flex {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: nowrap;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: stretch;
}

section.page-intro div.flex > * {
    flex: 0 0 48%;
}

div.body img { 
    max-width: 100%; 
    width: 100%; 
    height: 100%;
    object-fit: contain;
}

div.body .highlight {
    background-color: rgba(122, 153, 172, 0.2);
    border-radius: 10px;
    padding: 25px;
}

@media screen and (max-width: 990px) {
    div.post-list div.flex {
        -ms-flex-wrap: wrap;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
        align-items: center;
    }

    div.post-list div.flex > * {
        flex: 0 0 100%;
    }
 
    section.page-intro div.flex {
        -ms-flex-wrap: wrap;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
        align-items: center;
    }

    section.page-intro div.flex > * {
        flex: 0 0 100%;
    }
 
    div.body img { 
        max-width: 100%; 
        width: 100%; 
        height: auto;
        object-fit: contain;
    }

}