﻿/* Blog Lists - used in sidebar for recent posts, categories and archives. */

ul.blog-list {
    margin-bottom: 0;
    padding-left: 0;
    list-style-type: none;
}

ul.blog-list li {
    padding-bottom: 4px;
}

ul.blog-list li:last-child {
    padding-bottom: 0;
}

ul.blog-list li .badge {
    position: relative;
    top: -2px;
}

/* Post Grid - used for displaying a list of posts with featured imaged + except. */

.post-grid {
}

.post-grid .post {
    margin-bottom: 1.5rem;
}

.post-grid .post:last-child {
    margin-bottom: 0;
}

.post-grid .post .featured-image {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.post-grid .post .post-title {
    margin-bottom: 0.25rem !important;
    line-height: 125% !important;
}

    .post-grid .post h3.post-title,
    .post-grid .post .post-title a,
    .post-grid .post .post-title a:visited,
    .post-grid .post .post-title a:hover {
        color: #001F60;
    }

    .post-grid .post h3.post-title {
        font-size: var(--font-h4) !important;
        line-height: 1.2;
        color: #FF00FF;
    }

        .post-grid .post .post-info {
            margin-bottom: 1rem;
            font-size: var(--font-extra-small);
            color: #606060;
        }

.post-grid .post .post-info a,
.post-grid .post .post-info a:visited,
.post-grid .post .post-info a:hover {
    color: #606060;
    text-decoration: none;
}

.post-grid .post .post-info .post-category {
    font-weight: bold;
}

.post-grid .post .post-info .post-published {
    font-weight: bold;
}

.post-grid .post .post-excerpt {
    margin-bottom: 1.5rem;
}

.post-grid .post .post-continue {
    text-align: right;
}

@media (max-width : 767px) {

    .post-grid .post:last-child {
        margin-bottom: 1.5rem;
    }

}

/* Post Grid on the home page */

.post-grid.featured-posts {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr 1fr 1fr;
}

.post-grid.featured-posts .post {
    margin-bottom: 0;
}

    .post-grid.featured-posts .post h3.post-title,
    .post-grid.featured-posts .post .post-info {
        text-align: center;
    }

@media (max-width : 767px) {

    .post-grid.featured-posts {
        display: grid;
        gap: 20px;
        grid-template-columns: 1fr;
    }

    .post-grid.featured-posts .post:last-child {
        margin-bottom: 0;
    }

}

/* Single Post - Featured Image (Large Version) */

.big-photo .featured-image {
    background-size: cover;
    background-position: center center;
    border-bottom: 6px solid #00D501;
}

.ratio-featured {
    padding-bottom: 37.5%;
}

@media (max-width : 767px) {

    .ratio-featured {
        padding-bottom: 56.25%;
    }

}

/* Top Image Blog Block */

.bg-gradient-alt {
    position: relative;
}

.bg-gradient-alt:after {
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&1+32,0.5+34,0.5+34,0+100 */
    background-color: rgba(0,0,0,0.40)
}

.blog-bg {
    min-height: 650px;
    border-bottom: 6px solid #00D501;
    align-content: center;
    overflow: hidden;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.max-z {
    position: relative;
    z-index: 99;
}

.title-block {
    padding: 45px 30px;
    border-radius: 10px;
    background-color: rgba(0,0,0,0.60);
    text-align: center;
    display: grid;
}

    .title-block h1 {
        color: #fff !important;
        margin-bottom: 0.75rem;
    }

    .title-block .post-info {
        color: #fff !important;
    }

    .title-block .post-info a,
    .title-block .post-info a:visited{
        color: #fff !important;
        font-weight:bold;
    }
    
    .title-block .post-info a:hover{
        color: #fff !important;
        font-weight:bold;
        text-decoration:underline;
    }

@media(max-width:1199px) {
    .blog-bg {
        min-height: 400px
    }
}

@media(max-width:992px) {
    .blog-bg {
        min-height: 300px;
    }
}


/* Single Post - used for displaying a single post with featured image + content. */
.single-post .featured-image-wrapper {
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.single-post {
    margin-bottom: 1.5rem;
}

.single-post .featured-image {
    background-size: cover;
    background-position: center center;
}

.single-post .post-title {
    margin-bottom: 0.5rem !important;
    text-align: center;
    line-height: 125% !important;
}

.single-post .post-info {
    margin-bottom: 1.5rem;
    color: #606060;
    text-align: center;
}

    .single-post .post-info a,
    .single-post .post-info a:visited{
        color: #606060;
        text-decoration: none;
    }

        .single-post .post-info a:hover {
            color: #292929;
            text-decoration: none;
        }

    .single-post .post-info .post-category {
        font-weight: bold;
    }

.single-post .post-info .post-published {
    font-weight: bold;
}

.single-post .post .post-excerpt {
    margin-bottom: 1.5rem;
}

.blog-hr {
    color: #6c757d;
}

/* Post Nav - used to navigate to newer / older posts - at the bottom of the single post page. */

.post-nav {
    margin-top: 1.5rem;
}
