.article img {
    max-width: 100%;
}

.article-banner {
    height: 9.4rem;
    width: 100%;
}

    .article-banner:has(img) {
        height: fit-content;
        padding-bottom: 7.5rem;
    }

.kapittel-logo {
    position: relative;
    margin: 0 auto;
    height: fit-content;
    width: fit-content;
    display: block;
    z-index: 1;
}


@media screen and (max-width: 959px) {
    .large-kapittel-logo {
        display: none;
    }
    .small-kapittel-logo{
        display: block;
    }
}


@media screen and (max-width: 959px) {
    .large-kapittel-logo {
        display: none;
    }
    .small-kapittel-logo{
        display: block;
    }
}
@media screen and (min-width: 960px) {
    .kapittel-logo {
        margin: 10px;
    }
    .large-kapittel-logo {
        display: block;
    }
    .small-kapittel-logo {
        display: none;
    }
}

@media screen and (min-width: 960px) {
    .article-banner:has(img) {
        height: fit-content;
        padding-bottom: 3rem;
    }
}

.article-header {
    margin-top: 3rem;
}

    .article-header:has(img) {
        margin-top: -7.5rem;
        align-items: flex-end !important;
        flex-direction: row-reverse !important;
    }

@media screen and (min-width: 600px) {
    .article-header h1 {
        /* padding-top: 6rem; */
    }
}

@media screen and (min-width: 960px) {
    .article-header:has(img) {
        margin-top: -10rem;
    }

        .article-header:has(img) h1 {
            padding-top: 9rem;
        }
}

@media screen and (min-width: 960px) {
    .article-service-header {
        padding-top: 1.25rem !important;
        margin-top: 0rem;
    }
}

.article-sidebar {
    overflow-wrap: break-word;
}

    .article-sidebar img {
        width: 70%;
        margin: auto;
        display: flex;
    }

.podcast {
    width: 65%;
    height: 166px;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 35px;
}

.embeddedHTML {
    width: 100%;
    aspect-ratio: 16/9;
    margin-top: 2px;
    margin-bottom: 2px;
}

.text-article-meta img {
    border-radius: 50%;
    height: 50px;
    max-width: 50px;
}

/* Page header article */

.pageheader-container {
    position: relative;
    flex-flow: column;
}

.pageheader-box {
    margin-top: -1rem;
}

.pageheader-content {
    flex-direction: column;
}

@media screen and (min-width: 960px) {
    .pageheader-box {
        margin-top: 0;
        display: flex;
        width: 41%;
        position: absolute;
        top: 12%;
        bottom: 12%;
        left: 0
    }

    /*
     MudBlazor's grid system divides the container into 12 columns (12 units).
     The `.mud-grid-item-md-8` class means this item spans 8 out of 12 columns (8/12 of the width).
     By default, MudBlazor uses 100% of the container width: (100% / 12) * 8 = 66.67%.
     For featured link we want to use 90% of the container width instead: (90% / 12) * 8 = 60%.
     This makes the image container slightly smaller for a single featured link.
    */
    .pageheader-image {
        margin-top: 0rem;
        max-width: calc(90% / 12 * 8);
    }

    .pageheader-content {
        align-self: flex-end;
    }

    
}
