body {
    overflow-x: hidden;
}

figure {
    margin: 0 0 0 0;
    margin-block-start: 0px;
    margin-block-end: 0px;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

h4 {
    margin-top: 17px;
    margin-bottom: 12px;
    /* padding-right: 100px; */
    font-size: 22px;
    font-weight: 700;
    line-height: 35px;
}

p a {
    color: rgb(253, 114, 34);
}

.article-section-top-image {
    width: 100%;
    max-height: 500px;
    min-height: 400px;
    margin-top: 31px;
    padding-top: 15px;
    overflow: hidden;
}

.article-top-image-wrapper {
    max-height: 500px;
    max-width: 1000px;
    min-height: 400px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
}

.article-top-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    min-height: 400px;
    object-fit: cover;
    display: block;
}

.article-section-top {
    padding-left: 110px;
    padding-right: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.article-title {
    font-family: Roboto, sans-serif;
    font-size: 50px;
    font-weight: 700;
    line-height: 55px;
    text-align: left;
    width: 780px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.article-subheader {
    font-family: Roboto, sans-serif;
    font-size: 17px;
    line-height: 28px;
    width: 780px;
    margin-bottom: 20px;
}

.article-section-bylines {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 780px;
}

.article-section-bylines::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    width: 1000px;
    border-bottom: 1px solid #d4d4d4;
    transform: translateX(-50%);
}

.byline-image {
    border-radius: 50px;
    margin-right: 15px;
    object-fit: cover;
}

.byline-name {
    font-family: Roboto, sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    color: #000;
}

.bylines-wrapper {
    display: flex;
    align-items: center;
}

.article-sharebuttons-wrapper {
    display: flex;
}

.article-sharebuttons-wrapper>div {
    margin-right: 5px;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.article-section-bylines .resp-sharing-button {
    background-color: #f27226;
    border-color: #f27226;
    border-radius: 0px;
    transition: 25ms ease-out;
    padding: 8px 10px;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    border-radius: 9px;
}

.resp-sharing-button:hover {
    transform: translate(1px, 1px);
}

.resp-sharing-button__icon {
    fill: #fff;
    stroke: none;
}

.resp-sharing-button--small svg {
    margin: 0;
    vertical-align: middle;
}

.resp-sharing-button__icon svg {
    width: 17px;
    height: 17px;
}

.article-main-wrapper {
    width: 100%;
    position: relative;
    font-family: Roboto, sans-serif;
    margin-top: 90px;
}

.article-publish-time-wrapper {
    font-size: 14px;
    padding-left: 170px;
    padding-right: 170px;
}

.article-publish-time {
    display: block;
}

.article-main-text-wrapper {
    padding-top: 35px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    font-family: Roboto, sans-serif;
}

.article-bread-text {
    padding-left: 170px;
    padding-right: 170px;
    line-height: 26px;
}

.ytwrapper {
    height: 400px;
}

/* Bilder i artikkel */

.text-image-align-fullwidth img,
.w-richtext-align-fullwidth img {
    transform: translateX(-50%);
    left: 50%;
    position: relative;
    max-width: 1000px;
}

.text-image-align-right,
.w-richtext-align-floatright {
    float: right;
    clear: none;
    margin-left: 80px;
    max-width: 50%;
    margin-top: 15px;
    margin-bottom: 5px;
}

.text-image-align-right img,
.w-richtext-align-floatright img {
    width: 133%;
    transform-origin: center center;
    transform: translateX(-14%);
}

.text-image-align-middle,
.w-richtext-align-center {
    clear: both;
    margin-left: auto;
    margin-right: auto;
    max-width: 83%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.text-image-align-middle img,
.w-richtext-align-center img {
    max-width: 100%;
}

figcaption {
    margin-top: 2px;
    line-height: 20px;
    opacity: .6;
    text-align: center;
    font-size: 14px;
}

/* Bilder i artikkel slutt */
.patreon-wrapper {
    height: 80px;
    max-width: 800px;
    background-color: rgba(255, 200, 71, .2);
    border-radius: 7px;
    flex-direction: row;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    margin-bottom: 30px;
}

.patreon-text {
    width: 70%;
    align-self: center;
    padding-left: 20px;
    font-size: 13px;
    font-style: normal;
    line-height: 20px;
    display: inline-block;
}

.patreon-button-wrapper {
    width: 30%;
    justify-content: center;
    align-items: center;
    display: flex;
}

.patreon-button {
    font-weight: 400;
    line-height: 28px;
    color: #fff;
    background-color: tomato;
    border-radius: 12px;
    padding: 3px 10px;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, .41);
}

.patreon-button:hover {
    color: #fff;
    background-color: #ff7961;
    transform: translate(1px, 1px);
    box-shadow: 0 0 2px rgba(0, 0, 0, .41);
}

.quiz-wrapper {
    padding-right: 0px !important;
    padding-left: 0px !important;
}

.ytoverlay {
    position: relative;
    font-family: roboto;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    overflow: hidden;
}

.ytoverlaybg {
    width: 100%;
    height: 100%;
    filter: blur(4px);
    transform: scale(1.14);
}

.ytbutton {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 67px;
    filter: saturate(0);
    background-image: url("/assets/playbutton-yt.png");
    pointer-events: none;
    opacity: 0.8;
}

.ytoverlay:hover .ytbutton {
    filter: saturate(1);
    opacity: 1;
}

.ytsetautoload {
    font-size: 15px;
    text-align: center;
    color: #fd7222;
    cursor: pointer;
    text-decoration: none;
    line-height: 40px;
    margin-top: 5px;
}

.ytname {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 20px;
    text-align: left;
    padding-left: 25px;
    padding-top: 20px;
    padding-bottom: 15px;
    padding-right: 25px;
    font-size: 18px;
    color: white;
}

.ytnamebg {
    position: absolute;
    top: 0px;
    width: 100%;
    height: 60px;
    background-image: linear-gradient(to top, rgba(255, 0, 0, 0), rgba(0, 0, 0, 0.6));
}

.ytgetlink {
    color: #fd7222;
    cursor: pointer;
    text-decoration: none;
    margin-left: 10px;
    filter: saturate(0.1);
    opacity: 0.4;
}

.ytgetlink:hover {
    filter: saturate(1);
    opacity: 1;
}

.ytsetlink {
    font-size: 15px;
    text-align: center;
    color: #fd7222;
    cursor: pointer;
    text-decoration: none;
    line-height: 40px;
    margin-top: 5px;
    margin-left: 10px;
}

.article-tag-list {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    margin-top: 50px;
    max-width: 600px;
    display: flex;
    align-items: center;
}

.article-tags-wrapper {
    width: auto;
    flex-wrap: wrap;
    margin-left: 13px;
    font-size: 14px;
    display: flex;
}

.article-tag {
    color: #333;
    border: 1px solid #ffe4d6;
    margin-bottom: 3px;
    margin-right: 10px;
    padding: 7px 6px 7px 7px;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
}

.article-tag-text {
    text-wrap: nowrap;
}

.article-tag:hover {
    transform: translate(1px, 1px);
}

.comments-wrapper {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 6px;
    padding-right: 6px;
    box-sizing: border-box;
}

.tubewrap iframe {
    max-width: 100%;
}

.image-popup-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    cursor: pointer;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.image-popup {
    max-width: 80%;
    height: auto;
}

.no-scroll {
    overflow: hidden;
}

.article-bread-text img {
    cursor: pointer;
}

.video-long-article-mobile {
    display: none;
}

.video-long-article-desktop {
    display: block;
}

#disqus_thread a {
    color: tomato;
  }

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {

    .image-popup {
        max-width: 100%;
        height: auto;
    }

    html {
        width: 100%;
        height: 100%;
        margin: 0px;
        padding: 0px;
    }

    .article-main-wrapper {
        margin-top: 93px;
    }

    .article-section-top {
        padding-left: 15px;
        padding-right: 10px;
    }

    .article-section-top-image {
        width: 100%;
        height: auto;
        min-height: 0px;
        margin-top: 0px;
        padding-top: 0px;
    }

    .article-top-image-wrapper {
        max-height: none;
        max-width: none;
        min-height: auto;
    }

    .article-top-image {
        height: auto;
        max-height: none;
        min-height: 0px;
    }

    .article-title {
        width: 100%;
    }

    .article-subheader {
        width: 100%;
        margin-bottom: 20px;
    }

    .article-section-bylines {
        width: 100%;
        box-sizing: border-box;
    }

    .article-section-bylines::after {
        width: 110%;
    }

    .bylines-wrapper {
        opacity: .84;
    }

    .byline-name {
        color: #000;
    }

    .byline-image {
        height: 30px;
        width: 30px;
    }

    .article-main-text-wrapper {
        padding-top: 40px;
    }

    .article-publish-time-wrapper {
        padding-left: 20px;
        padding-right: 20px;
    }

    .article-publish-time {
        font-size: 14px;
    }

    .article-bread-text {
        padding-left: 20px;
        padding-right: 20px;
    }

    .article-bread-text .text-image-align-fullwidth,
    .w-richtext-align-fullwidth {
        width: 100% !important;
        max-width: 100%;
        text-align: center;
        clear: both;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    .text-image-align-fullwidth img,
    .w-richtext-align-fullwidth img {
        width: 100% !important;
        transform-origin: center center;
        transform: translateX(-0%) !important;
        left: 0%;
    }

    .patreon-wrapper {
        height: auto;
        background-color: rgba(255, 200, 71, .2);
        border-radius: 7px;
        padding-top: 10px;
        padding-bottom: 10px;
        padding-right: 5px;
        padding-left: 5px;
        margin-bottom: 30px;
        margin-left: 6px;
        margin-right: 6px;
        flex-direction: column;
        align-items: center;
    }

    .patreon-text {
        width: 90%;
        margin-bottom: 5px;
    }

    .patreon-button-wrapper {
        width: 50%;
        justify-content: center;
        align-items: center;
        display: flex;
    }

    .ytwrapper {
        height: 200px;
    }

    .text-image-align-right,
    .w-richtext-align-floatright {
        float: none;
        max-width: 100%;
        margin-left: 0px;
        margin-bottom: 15px;
    }

    .text-image-align-right img,
    .w-richtext-align-floatright img {
        width: 100%;
        transform-origin: center center;
        transform: translateX(-0%);
    }

    .text-image-align-middle,
    .w-richtext-align-center {
        max-width: 100%;
    }

    .article-tag-list {
        padding-right: 6px;
        padding-left: 6px;
    }

    .video-long-article-mobile {
        display: block;
    }

    .video-long-article-desktop {
        display: none;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    html {
        width: 100%;
        height: 100%;
        margin: 0px;
        padding: 0px;
    }

    .article-section-top {
        padding-left: 30px;
        padding-right: 30px;
    }

    .article-title {
        width: 100%;
    }

    .article-subheader {
        width: 100%;
    }

    .article-section-bylines {
        width: 100%;
    }

    .article-section-bylines::after {
        width: 100%;
    }

    .article-publish-time-wrapper {
        padding-left: 60px;
        padding-right: 60px;
    }

    .article-bread-text {
        padding-left: 60px;
        padding-right: 60px;
    }

    .article-bread-text .text-image-align-fullwidth,
    .w-richtext-align-fullwidth {
        width: 100%;
        max-width: 100%;
        text-align: center;
        clear: both;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    .text-image-align-fullwidth,
    .w-richtext-align-fullwidth img {
        width: 100% !important;
        transform-origin: center center;
        transform: translateX(-0%);
        left: 0%;
    }

    .ytwrapper {
        height: 250px;
    }

    .text-image-align-middle,
    .w-richtext-align-center {
        max-width: 100%;
    }

    .image-popup {
        max-width: 95%;
        height: auto;
    }

    .video-long-article-mobile {
        display: block;
    }

    .video-long-article-desktop {
        display: none;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    html {
        width: 100%;
        height: 100%;
        margin: 0px;
        padding: 0px;
    }

    .article-section-top {
        padding-left: 30px;
        padding-right: 30px;
    }

    .article-title {
        width: 100%;
    }

    .article-subheader {
        width: 100%;
    }

    .article-section-bylines {
        width: 100%;
    }

    .article-section-bylines::after {
        width: 100%;
    }

    .article-publish-time-wrapper {
        padding-left: 120px;
        padding-right: 120px;
    }

    .article-bread-text {
        padding-left: 120px;
        padding-right: 120px;
    }

    .text-image-align-right,
    .w-richtext-align-floatright {
        max-width: 45%;
    }
}