﻿



/*BLOG PAGE*/
.blog {
    background-color: whitesmoke;
}

.blog__container {
    display: flex;
    margin-left: -15px;
    margin-right: -15px;
}

.blog__post-container {
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.blog__sidebar {
    width: 250px;
    min-width: 250px;
    background-color: white;
    margin: 15px;
    padding-bottom: 22.5px;
}

    .blog__sidebar ul {
        list-style: none;
        padding: 0;
    }

.blog__sidebar-item {
    margin: 0 30px;
}

    .blog__sidebar-item a {
        display: block;
        width: 100%;
        border-top: solid 1px whitesmoke;
        cursor: pointer;
        padding: 7.5px 0;
        white-space: normal !important;
    }


.blog__sidebar-heading {
    display: block;
    font-weight: 500;
    font-size: 16px;
    padding: 60px 30px 7.5px 30px;
}


.blog__article-wrapper {
    min-width: 50%;
    max-width: 50%;
    padding: 15px;
}

.blog__article {
    background-color: white;
}

.blog__link {
    white-space: normal !important;
}

.blog__image {
    display: block;
    width: 100%;
    height: 250px;
    background-size: cover;
    background-repeat: no-repeat;
}

.blog__heading {
    padding: 0 15px;
    color: black;
    text-transform: unset;
    font-size: 20px;
}

.blog__intro {
    position: relative;
    margin: 15px !important;
    color: black;
    font-size: 16px;
    line-height: 23px;
    font-weight: 300;
    overflow-y: hidden;
    white-space: pre-wrap;
    max-height: 90px;
}

    .blog__intro::after {
        content: '. . .';
        position: absolute;
        display: block;
        bottom: 0;
        right: 0;
        background-color: white;
        width: 24px;
        height: 20px;
        padding-left: 3px;
    }

.blog__date {
    display: block;
    border-top: solid 1px whitesmoke;
    padding: 7.5px 15px;
    color: #CCCCCC;
    font-size: 12px;
    font-weight: 300;
    text-align: right;
}

@media (max-width: 950px) {
    .blog__sidebar {
        display: none;
    }
}

@media (max-width: 550px) {
    .blog__article-wrapper {
        min-width: 100%;
        max-width: 100%;
        padding: 15px;
    }
}



/*ARTICLE PAGE*/
.article .container {
    max-width: 1000px;
}

.article__image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 400px;
}

.article__heading {
    color: white;
    text-align: center;
    text-shadow: 2px 2px 3px rgba(0,0,0,0.3);
}

.article__html {
    text-align: left;
    width: 100%;
    margin: 0 auto;
    padding-bottom: 60px;
}
