:root {
    --hero-padding: 6rem;
}

.blog-hero .contained {
    flex-direction: column;
    align-items: center;
    gap: 1rem !important;
}

aside.related-news {
    width: min(22rem, 100%);
    border: 1px solid #D9D9D9;
    padding: 1.5rem;
    border-radius: 20px;
}

header.blog-hero {
    background-position: center;
    background-size: cover;
}

.blog-hero h1 {
    width: min(52rem, 100%);
    text-align: center;
    justify-content: center;
}

.single main.page-container {
    display: flex;
    gap: 2.5rem;
    justify-content: space-between;
    align-items: flex-start;
}

.single article:not(.related-post-card) {
    width: min(45rem, 100%);
}

.single .entry-content h2 {
    margin-bottom: 1.5rem;
    margin-top: 4rem;
    color: var(--primary-color);
}

.single .entry-content p {
    line-height: 2;
    font-size: 1.1rem;
}

h2#related-heading {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

aside.related-news article {
    display: flex;
    gap: 1rem;
    align-items: center;
}

h3.related-post-title {
    margin: 0;
    line-height: 1;
    transform: translateY(-0.3rem);
}

h3.related-post-title a {
    text-decoration: none;
    font-size: 1.1rem;
    color: var(--primary-color);
    font-family: 'primana-bold';
}

aside.related-news article img {
    width: 4rem;
    height: 4rem;
    object-fit: cover;
    border-radius: 50%;
}

.related-post-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

a.related-post-image {
    flex-shrink: 0;
    line-height: 1;
}

main > article li {
    line-height: 2;
}

@media(width < 70rem){

    .single main.page-container {
        flex-direction: column;
        align-items: center;
    }

    aside.related-news {
        width: min(45rem, 100%);
    }

}