* {
    padding: 0;
    margin: 0;
}

body {
    background-color: #ffffff !important;
}

main {
    font-family: "Open Sans", sans-serif;
    font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
h6,
ul {
    margin: 0;
    padding: 0;
}

h3 {
    color: #000000;
    font-size: 18px;
    font-weight: 300;
    padding-bottom: 5px;
}

h4 {
    color: #000000;
    font-size: 24px;
    font-weight: 500;
    padding-bottom: 1em;
}

h5 {
    font-size: 13px;
}

p {
    color: #000000;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

img.aligncenter {
    margin: 0 auto;
}

.breadcrumb-container {
    max-width: 1500px;
    margin: 2rem auto 4rem auto;
    padding: 0 2rem;
}

.breadcrumb {
    margin: 0 !important;
}

.breadcrumb-item {
    font-size: var(--fs-14);
    color: var(--quaternary-color);
}

.breadcrumb-item a {
    color: var(--quaternary-color);
    text-decoration: none;
    transition: color 0.3s ease;

    &:hover {
        color: var(--secondary-color);
    }
}

.breadcrumb-item.active {
    color: var(--secondary-color);
}

.blog-section {
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
        "featured-ad content ads"
        "categories content ads"
        "related related related";
    gap: 1.5rem;
    padding: 0 2rem;
}

#ads-sponsored.featured {
    grid-row: featured-ad;
}

.category-container {
    grid-area: categories;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.blog-container {
    grid-area: content;
    max-width: 720px;
}

.featured-posts__categories {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 1rem;
    margin-top: 0;
    max-height: 290px;
    overflow: auto;

    a {
        font-size: var(--fs-14);
        color: var(--quaternary-color);
        text-decoration: none;
        padding: 10px;
        border-radius: 60px;
        border: 1px solid var(--quaternary-color);
        font-weight: 600;
        transition: background-color 0.3s ease;

        &:visited {
            color: var(--quaternary-color);
        }
    }
}

.vertical-ads {
    grid-area: ads;
}

.related-posts__single {
    grid-area: related;
    width: 100%;
    margin-top: 0;
}

@media (max-width: 1300px) and (min-width: 768px) {
    .blog-section {
        grid-template-areas:
            "featured-ad content content"
            "categories content content"
            "related related related"
            "ads ads ads";
    }

    .vertical-ads {
        width: 100%;
    }

    .vertical-ads .stream__items {
        flex-direction: row;
    }
}

@media (max-width: 1140px) {
    .blog-section {
        grid-template-columns: 100%;
        grid-template-rows: auto;
        grid-template-areas:
            "content"
            "related"
            "categories"
            "featured-ad"
            "ads";
        justify-items: center;
    }

    .featured-posts__categories {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .featured-ad {
        display: none;
    }
}

@media (max-width: 768px) {
    .breadcrumb>.breadcrumb-item {
        display: none;
    }

    .breadcrumb .breadcrumb-item.active,
    .breadcrumb .breadcrumb-item:first-child {
        display: block;
    }
}