.homepage-blogposts {
    text-align: center;
}
#blog-header {
    height: 425px;
    background-color: #16263E;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2em;
    text-align: center;
}
@media only screen and (max-width: 775px) {
    #blog-header {
        height: 275px;
    }
}
#blog-header:before{
    content:'';
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    position: absolute;
    background: url('/wp-content/uploads/2022/02/firehouse-1.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center right;
    opacity: 0.1;
}
#blog-header h1{
    font-size: 48px;
    max-width: 750px;
    margin: 0;
    color: white;
}
.blogposts-heading{
    font-family: 'Le Monde Courrier Std';
    font-size: 40px;
    color: #16263E;
    text-transform: uppercase;
    text-align: center;
    padding-top: 1em;
}
.blogposts-heading-btn {
    margin-bottom: 2em;
}
.blogposts {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2em;
    padding: 3em 1em;
    margin: 0 auto;
}
@media only screen and (max-width: 950px) {
    .blogposts {
        grid-template-columns:  1fr 1fr;
    }
}
@media only screen and (max-width: 775px) {
    .blogposts {
        grid-template-columns:  auto;
    }
}
.blogposts .blog-card{
    color: #16263E;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
}
.blogposts .blog-card img{
    height: 340px;
    width: 100%;
    object-fit: cover;
    object-position: center center;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    background-color: #16263E;
}
@media only screen and (max-width: 775px) {
    .blogposts .blog-card img{
        height: 225px;
    }
}
.blogposts .blog-card h2,
.blogposts .blog-card p{
    color: #16263E;
}
.blogposts .blog-card .blog-card-inner{
    padding: 2em;
}
.blogposts .blog-card .blog-card-inner .blog-card-inner-heading{
    font-size: 1.75em;
    color: #16263E;
    text-transform: none;
}
@media only screen and (max-width: 775px) {
    .blogposts .blog-card .blog-card-inner .blog-card-inner-heading{
        font-size: 1.4em;
    } 
}
.blogposts .blog-card .btn:after{
    content:'';
    position: absolute;
    top: 0;
    left:0;
    width: 100%;
    height: 100%;
}
.no-blogposts{
    padding: 6em 1em;
    color: #16263E;
    text-align: center;
}
.no-blogposts p{
    color: inherit;
    font-size: 1.4em;
}
.navigation {
    padding-bottom: 2em;
    text-transform: capitalize;
}
.navigation .screen-reader-text{
    display: none;
}
.navigation .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
}
.nav-previous:before{
    content:'';
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 0.1em;
    margin-right: 0.5em;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='black' %3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M10.5 19.5L3 12m0 0l7.5-7.5M3 12h18' /%3E%3C/svg%3E%0A");
}
.nav-previous{
    text-align: right;
    margin-right: 2em;
}
.nav-next{
    text-align: left;
    margin-left: 2em;
}
.nav-next:after{
    content:'';
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 0.1em;
    margin-left: 0.5em;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M13.5 4.5L21 12m0 0l-7.5 7.5M21 12H3' /%3E%3C/svg%3E");
}