#blog-cnt {
    display: flex;
    margin-top: 100px;
}

.content-cnt {
    width: 80%;
    padding: 0 10%;
}

.post-categories a {
    color: #A7A7A7;
}

.content-cnt h1 {
    font-size: 36px;
}

.author-cnt {
    display: flex;
}

.auth-img-cnt {
    width: 50px;
    height: 50px;
    position: relative;
}

.auth-img {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.auth-img img {
    width: 70%;
}

.auth-flag {
    position: absolute;
    width: 40%;
    bottom: -10%;
    right: 0;
    z-index: 1;
}

.auth-meta {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    margin-left: 20px;
}

.auth-meta  p {
    margin: 0;
}

.auth-meta > div {
    display: flex;
}

.auth-meta > div > p {
    font-size: 16px;
    margin-left: 20px;
}

.content-cnt .featured-image {
    margin: 40px 0;
}

.featured-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.featured-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Post content section  */
.post-content {
    width: 100%;
}

.post-content iframe, .post-content img {
    width: 100%;
}

.post-content a {
    color: #0844bc;
    text-decoration: underline;
}

.wp-block-embed__wrapper {
    padding: 56.25% 0 0 0;
    position: relative;
}

.wp-block-embed__wrapper iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Featured Articles Section  */
.featured-articles-cnt {
    width: 20%;
}

.featured-content-cnt h3 {
    font-size: 14px;
    color: #54595F;
    margin: 14px 0 0 0;
}

.featured-content-cnt time {
    font-size: 12px;
}

.post-grid {
    display: flex;
    flex-direction: column;
}

.post-grid > a {
    margin-bottom: 40px;
}

@media only screen and (max-width: 767px) {
    #blog-cnt {
        flex-direction: column;
        margin-top: 0;
    }

    .content-cnt {
        padding: 0;
        width: 100%;
    }

    .auth-meta time, .auth-meta > div p {
        font-size: 10px;
    }

    .featured-articles-cnt {
        width: 100%;
    }
}


/* Remediation (F-0248, F-0350, F-0217, F-0402): heading scale inside posts, readable meta on phones,
   closing call to action, previous / next navigation, related posts heading */
.post-content h2 {
    font-size: 28px;
    margin: 40px 0 16px;
}

.post-content h3 {
    font-size: 22px;
    margin: 32px 0 12px;
}

.post-content h4 {
    font-size: 19px;
    margin: 28px 0 10px;
}

.post-content h5,
.post-content h6 {
    font-size: 17px;
    margin: 24px 0 8px;
}

.featured-articles-cnt h2 {
    font-size: 20px;
    margin-bottom: 20px;
}

.post-cta {
    margin: 50px 0 30px;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
}

.post-cta h2 {
    font-size: 28px;
}

.post-cta .cta-cnt {
    justify-content: center;
    align-items: center;
}

.post-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 30px 0 60px;
}

.post-nav a {
    font-size: 16px;
    font-weight: 600;
}

.post-nav-next {
    margin-left: auto;
    text-align: right;
}

@media only screen and (max-width: 767px) {
    .auth-meta time,
    .auth-meta > div p {
        font-size: 14px;
    }

    .post-cta {
        padding: 24px;
    }

    .post-nav {
        flex-direction: column;
    }

    .post-nav-next {
        margin-left: 0;
        text-align: left;
    }
}
