/*		Special på mall: Undersektionssida 		*/

.smhi-section--bg-img [class*="sv-column-"]>.sv-portlet,
.smhi-section--bg-img [class*="sv-column-"]>.sv-text-portlet,
.smhi-section--bg-img [class*="sv-column-"]>.sv-custom-module,
.smhi-section--bg-img [class*="sv-column-"]>.sv-layout {
    margin-bottom: 1rem;
}

.sv-grid-1280 .pagecontent .smhi-section--frontpage:not(.smhi-section--bg-img) {
    padding-left: 0;
    padding-right: 0;
}

.sv-grid-1280 .pagecontent .smhi-section--did-you-know {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.smhi-section--bg-img .preamble {
    margin: 1rem 0 0;
    font-family: var(--font-family-heading);
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.33;
    max-width: 75ch;
}

main .pagecontent > .smhi-section--frontpage.smhi-section--bg-img>.sv-image-portlet:before {
    background: rgba(29, 29, 29, 0.4);
}

main .pagecontent > .smhi-section--frontpage.smhi-section--bg-img:before {
    background: linear-gradient(90deg, #0E0E0E 0%, rgba(0, 16, 37, 0) 100%);
}

/*      Desktop     */
@media screen and (min-width: 64.0625rem) {
    .smhi-page-content-padding {
        padding-top: 3rem;
        padding-bottom: 8rem;
    }

    main .pagecontent > .smhi-section--frontpage.smhi-section--bg-img {
        padding: 12rem 4rem;
    }
}

/*      Tablet     */

@media screen and (min-width: 64rem) and (max-width: 48rem){

    main .pagecontent > .smhi-section--frontpage.smhi-section--bg-img {
        padding: 8rem 4rem;
    }
}

@media screen and (max-width: 47.9375rem){

    main .pagecontent > .smhi-section--frontpage.smhi-section--bg-img {
        padding: 4rem 1rem;
    }

    main .pagecontent > .smhi-section--frontpage.smhi-section--bg-img:after {
        background: linear-gradient(90deg, #0E0E0E 0%, rgba(0, 16, 37, 0) 100%);
    }

}