﻿.full-width-container > .latest-posts {
    position: relative;
    left: 40px;
    width: calc(100% - 80px);
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    padding: 40px 0;
}

.page-subnav {
    margin-bottom: 20px;
}

.latest-posts-header {
    text-align: center;
    position: relative;
    width: 100%;
}

.latest-posts-header > h3 {
    font-weight: bold;
}

.latest-posts-header > h3::before {
    content: "";
    border-block: 2px solid #FF5271;
    width: 50px;
    position: absolute;
    margin-left: -70px;
    margin-top: 11px;
}

.latest-posts-header > h3::after {
    content: "";
    border-block: 2px solid #FF5271;
    width: 50px;
    position: absolute;
    margin-left: 20px;
    margin-top: 11px;
}


.latest-posts > .post {
    width: calc(50% - 20px);
    height: 300px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.latest-posts > .post:hover {
    text-decoration: none;
    color: #fff;
}

.latest-posts > .post > img {
    position: absolute;
    overflow: hidden;
    min-height: 100%;
    min-width: 100%;
    align-self: center;
}

.latest-posts > .post > .post-image-overlay {
    opacity: 0.55;
    background-color: #000;
    transition: opacity 0.3s, background-color 0.3s;
}

.latest-posts > .post:hover > .post-image-overlay {
    opacity: 1;
    background-color: #ff5271;
}

.latest-posts > .post > div > .post-date {
    display: block;
}

.latest-posts > .post:hover > div > .post-date {
    display: none;
}

.latest-posts > .post > div > .post-preview {
    display: none;
}

.latest-posts > .post:hover > div > .post-preview {
    display: block;
}

.latest-posts > .post > div {
    width: 100%;
    height: 300px;
    text-align: start;
    display: flex;
    flex-direction: column;
    justify-content: start;
    color: #fff;
    position: absolute;
    padding: 40px;
}

.latest-posts > .post > div > h3 {
    font-size: 28px;
    line-height: 1.3;
    word-break: break-word;
    margin-top: 10px;
}

.latest-posts > .post > div > h4 {
    font-size: 16px;
    line-height: 1.4;
}

.latest-posts > .post > div > span {
    margin-top: 10px;
    line-height: 1.4;
}



.latest-posts > .main-post {
    width: 100%;
    height: 500px;
}

.latest-posts > .main-post > div {
    height: 500px;
}

.latest-posts > .main-post > div > h3 {
    font-size: 65px;
    line-height: 1.4;
}

.post-preview > p {
    font-size: 17px;
}