/* =====================================================
   custom-base.css: Custom base styles for headlines, hero, and paragraphs
   ===================================================== */

:root {
    --font-roboto: 'Roboto', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Arial', sans-serif;
    --font-playfair: 'Playfair Display', serif;
    /* Menu heights */
    --sn-mobile-menu-height: 54px;
    --sn-desktop-menu-height: 60px;
    /* Nora color palette */
    --nora-gold: #AC8051;
    --nora-gold-hover: #956f46;
    --nora-gray: #726B6F;
    --nora-dark: #374151;
    --nora-white: #e5e7eb;
    --nora-highlight: #FFF6ED;
    --nora-burgundy: #6b2a44;
    --green-600: #16a34a;
    --green-800: #166534;
    --green-900: #14532d;
    --green-soft-900: #3c5a47;
    --text-black: #000000;
    /* Bluish colors from Tailwind config */
    --bluish: #264653;
    --bluish-light: #607495;
    --gray-300: #D1D5DB;
    --gray-400: #9ea0a3;
}

/*
========================================
  CSS RESET & BASE STYLES
  - Grundläggande återställning av standardmarginaler, padding och boxmodell
  - Sätter grundläggande typografi och bakgrundsfärg
========================================
*/

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

img {
    width: 100%
}

.bg-green {
    background: #33690f;
}

.bg-black {
    background: #000;
    color: #fff
}

.lightblue {
    color: #b0cfea
}

a:focus {
    outline: none;
}

button:focus {
    outline: none;
}

body {
    line-height: 1.6;
    background-color: #f9fafb;
    color: #333;
    font-family: var(--font-roboto);
    margin-top: var(--sn-mobile-menu-height) !important;
}

/* Ensure anchor targets are visible below fixed menu */
[id] {
    scroll-margin-top: 84px;
}

ul,
ul li p,
ul li blockquote {
    font-size: 1.125rem;
    color: var(--nora-dark);
}

/*helpers */

.no-justify,
p .no-justify {
    display: inline-block;
    text-align: left !important;
    hyphens: none !important;
    width: 100%;
}


/* Inline link styling */
.sn-inline-link,
.inline-link {
    color: var(--bluish);
    text-decoration: underline;
    transition: color 0.2s;
}

.sn-inline-link:hover,
.sn-inline-link:focus,
.sn-inline-link:active,
.inline-link:hover,
.inline-link:focus,
.inline-link:active {
    color: var(--nora-gold);
    text-decoration: underline;
}

.external-link {
    position: relative;
    color: var(--bluish);
    text-decoration: underline;
    transition: color 0.2s;
    line-height: 1;
}

.external-link:hover,
.external-link:focus,
.external-link:active {
    color: var(--nora-gold);
    text-decoration: underline;
    /* outline: none; */
}

.external-link::after {
    content: "";
    display: inline-block;
    width: 1rem;
    height: 1rem;
    background: no-repeat center/contain url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2048 2048" fill="currentColor"><path d="M2048 0v1664h-384v384H0V384h384V0h1664zm-128 1536V128H512v256h256v128H128v1408h1408v-640h128v256h256zm-979-339l-90-90 594-595h-421V384h640v640h-128V603l-595 594z"/></svg>');
    vertical-align: middle;
    margin-left: 0.2em;
    margin-bottom: 0.25rem;
    opacity: 0.7;
    pointer-events: none;
}


/*
 ===============================================  FONT-FAMILIES   ===============================================================================================

  - Roboto for body text
	- Playfair Display for headings and quotes
	- Media queries for responsive typography

=================================================================================================================================================================
*/

.roboto {
    font-family: var(--font-roboto);
}

.playfair {
    font-family: var(--font-playfair);
}

.main-article-content-wrapper h1,
.main-article-content-wrapper h2,
.main-article-content-wrapper h3,
.main-article-content-wrapper h4,
.main-article-content-wrapper h5,
.main-article-content-wrapper h6,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-playfair);
    font-weight: 500;
    hyphens: auto;
}

h1 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

h2,
.main-article-content-wrapper h1 {
    font-family: var(--font-playfair);
    font-size: 2rem;
    margin: 24px 0 16px;
    line-height: 1.15em;
    color: var(--nora-dark);
}

.main-article-content-wrapper h2,
h3 {
    font-size: 1.5rem;
    line-height: 1.15em;
    margin: 32px 0 16px;
    color: var(--green-800);
}


.main-article-content-wrapper h3,
h4 {
    font-size: 1.4rem;
    line-height: 1.5;
    margin: 24px 0 12px;
    color: var(--bluish);
    font-family: var(--font-roboto);
}

.main-article-content-wrapper h4,
h5 {
    font-size: 1.225rem;
    line-height: 1.5;
    margin: 20px 0 10px;
    font-family: var(--font-roboto);
}

.main-article-content-wrapper h5,
h6 {
    font-size: 1rem;
    line-height: 1.3em;
    margin: 16px 0 8px;
    font-family: var(--font-roboto);
}


/* Set text-align: left !important for all headline elements (h1-h6) */
h1,
h2,
h3,
h4,
h5,
h6,
h7,
h8 {
    text-align: left !important;
}

/* Make the link inherit the h2 styling */
a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
    color: inherit;
    text-decoration: none;
    display: block;
    font-weight: inherit;
    font-size: inherit;
    font-family: inherit;
    line-height: inherit;
    cursor: pointer;
}

/* Optional: Add hover effects */
a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover {
    color: var(--nora-gold);
    text-decoration: none;
}

/* Links inside paragraphs - styled like Tailwind text-bluish underline hover:text-bluish-light break-words hyphens-auto inline */
p a {
    color: var(--bluish);
    text-decoration: underline;
    word-break: break-word;
    hyphens: auto;
    display: inline;
}

p a:hover {
    color: var(--bluish-light);
    text-decoration: underline;
}

a {
    display: inline-block;
}

p {
    font-size: 1.25rem;
    line-height: 1.5em;
    margin-bottom: 1rem;
    color: var(--nora-dark);
    text-align: justify;
    hyphens: auto;
    /* letter-spacing: -0.01em; */
}


@media (min-width: 320px) {

    .main-article-content-wrapper h1,
    .main-article-content-wrapper h2,
    .main-article-content-wrapper h3,
    .main-article-content-wrapper h4,
    .main-article-content-wrapper h5,
    .main-article-content-wrapper h6,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        hyphens: none;
    }

}

@media (min-width: 420px) {
    h1 {
        font-size: 1.875rem;
        margin-bottom: 1rem;
    }

    h2,
    .main-article-content-wrapper h1 {
        font-size: 2.5em;
        margin: 32px 0 24px;
        line-height: 1.15em;
    }

    h3,
    .main-article-content-wrapper h2 {
        font-size: 2em;
        margin: 46px 0 24px;
    }
}

@media (min-width: 768px) {
    p {
        font-size: 1.35rem;
        line-height: 1.5em;
    }

    h2,
    .main-article-content-wrapper h1 {
        margin: 56px 0 36px;
        line-height: 1.5;
        font-size: 3em;
    }

}

@media (min-width: 1500px) {

    h2,
    .main-article-content-wrapper h1 {
        margin: 64px 0 36px;
        line-height: 1.15em;
        font-size: 4em;
    }

    .pagebreaker-text {
        font-size: 3.5em;
    }
}

/*
========================================
NAVIGATION MENU
- Stilar för toppmeny och mobilmeny
- Inkluderar .navigation, .menu-button, #menu-button, #navigate-vertical
========================================
*/
.navigation {
    position: fixed;
    display: flex;
    display: none;
    top: 0px;
    right: 0px;
    left: 0px;
    background: #fff;
    color: #4195d1;
    font-family: Arial, sans-serif;
    font-size: 1.1em;
    letter-spacing: 0.08em;
    height: var(--sn-desktop-menu-height);
    border-bottom: 1px #aaa solid;
    border-top: 1px #aaa solid;
    z-index: 100;

}

.homelogo {
    display: inline-block;
    margin-right: 20px;
    font-size: 1.2em;
    line-height: 1.2;
    margin-left: 0;
    color: var(--nora-gold);
    font-weight: 700;
}

.homelogo:hover,
.homelogo:focus,
.homelogo:active {
    color: var(--nora-gray);
}

.navigation ul {
    list-style-type: none;
    font-size: 1.15rem;
    line-height: 60px;
    padding: 0;
}

.navigation ul li {
    float: left;
    margin: 0 10px;
    color: #333;
    padding: 0;
    text-align: center;
    color: #333;
    font-family: var(--font-playfair);
}

.navigation ul li a {
    display: block;
    color: inherit;
    text-decoration: inherit;
    height: 100%;
}

.navigation ul li a:hover,
.navigation ul li a:focus,
.navigation ul li a:active {
    color: var(--nora-gold);
    /* Use text-shadow to simulate bold without layout shift */
    /* text-shadow: 0.5px 0 0 currentColor; */
}

.sn-mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: var(--sn-mobile-menu-height);
    background: #fff;
    border-bottom: 1px #d9d9d9 solid;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    z-index: 2000;
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 0.5rem;
    padding-left: 16px;
}

.sn-mobile-nav-social {
    display: none;
}

@media screen and (min-width: 286px) {
    .sn-mobile-nav-social {
        gap: 16px;
        display: flex;
        flex-direction: row;
    }

}


#menu-button {
    position: static;
    display: flex;
    margin-left: auto;
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    color: white;
    align-items: center;
    height: auto;
    width: auto;
    padding-right: 18px;
}

/* Menu icon transition styles */
.menu-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
}

.menu-icon-wrapper svg {
    max-width: 54px;
    max-height: 54px;
    width: 100%;
    height: 100%;
    margin: 0;
    display: block;
}

.menu-icon {
    opacity: 1;
    transition: opacity 0.2s;
    position: absolute;
    left: 0;
    top: 0;
}

.menu-icon-x {
    opacity: 0;
    transition: opacity 0.2s;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    z-index: 2;
    padding: 4px;
}

.menu-icon-x,
#menu-button {
    color: var(--nora-gray) !important;
}

#menu-button:active,
.menu-icon-x:active {
    color: var(--nora-gold);
}

#menu-button.menu-open .menu-icon-wrapper .menu-icon {
    opacity: 0;
}

#menu-button.menu-open .menu-icon-wrapper .menu-icon-x {
    opacity: 1;
}

.menu-button:focus {
    outline: none;
    /* Remove the default focus outline */
}

#navigate-vertical {
    position: fixed;
    display: none;
    top: 62px;
    right: 24px;
    color: white;
    z-index: 100;
}

#navigate-vertical ul {
    list-style: none;
    background: #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-radius: 0.375rem;
    border: 2px solid var(--nora-gray);
}


#navigate-vertical ul li {
    font-family: var(--font-playfair);
    border-bottom: 1px solid #b5b5b5;
    padding: 12px 24px;
}

#navigate-vertical ul li:last-child {
    border-bottom: none;
}

#navigate-vertical a {
    font-family: var(--font-playfair);
    color: #333;
    display: block;
}

#navigate-vertical a:hover,
#navigate-vertical a:focus,
#navigate-vertical a:active {
    color: var(--nora-gold);
    text-decoration: none;
}

/* Highlight active menu link for both vertical and horizontal menus */
#navigate-vertical a.active,
.navigation a.active {
    color: var(--nora-gold);
}

@media (min-width: 1024px) {
    #menu-button {
        padding-right: 48px;
    }
}

@media (min-width: 1500px) {

    .navigation {
        display: flex;
        align-items: center;
    }

    #navigate-vertical {
        display: none;
    }

    .sn-mobile-nav {
        display: none;
    }

    .sn-desktop-nav-social {
        display: flex;
        gap: 16px;
        margin-left: auto;
        margin-right: 20px;
    }

    #menu-button {
        display: none;
    }

    .homelogo {
        color: var(--nora-dark);
        margin-left: 20px;
    }

    .homelogo:hover,
    .homelogo:focus,
    .homelogo:active {
        color: var(--nora-gold);
    }
}



/*
 =============================================== HERO SECTION STYLES  ===============================================================================================

- Stilar för startsidans hero-banners
- Inkluderar bakgrundsbilder, positionering och typografi
- Media queries för responsiva justeringar
- Klasser: .hero, .hero-110, .hero-111, .herotemp

=====================================================================================================================================================================
*/

.hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    background-size: cover;
    background-position-x: center;
    background-position-y: center;
    background-repeat: no-repeat;
    min-height: 70vh;
    /* background-color fallback while image loads */
    background-color: var(--nora-gray);
}

.hero .logo {
    text-align: center;
    margin-bottom: 3.5vh;
    color: white;
}

.hero .logo h1 {
    font-family: var(--font-roboto);
    font-size: 3rem;
    font-weight: bold;
    line-height: 1em;
    margin-bottom: .25rem;
    color: white;
    text-align: center !important;
}

.hero .logo p {
    font-size: 1rem;
    font-weight: 500;
    color: white;
    text-align: center;
    max-width: 60%;
    margin: 0 auto;
    line-height: 1.5rem;
    max-width: 100%;
    padding: 0 1rem;
}

.herotemp {
    margin-top: 0;
}

.hero-artikelsida {
    min-height: initial !important;
    /*height: 10em; */
    height: 60px;
    background-color: unset;
    /* Hide hero-artikelsida by default - ta bort från template istället ? */
}

.hero-artikelsida {
    color: var(--text-black);
}

.herotemp,
.hero-110 {
    background-image: url('/img/hero/nora-kyrka-sm.jpg');
}

.hero-107 {
    background-image: url('/img/hero/kulturturism_sm.jpg');
    background-position-x: center;
}

.hero-116 {
    /* om oss */
    background-image: url('/img/om-oss-hero-mobile.jpg');
}

.hero-117 {
    /* aktuellt */
    background-image: url('/img/hero/aktuellt_sm.jpg');
}

.hero-107 .logo h1 {
    color: var(--nora-gold);
    font-size: 2.5rem;
}

.hero-107 .logo p {
    color: var(--nora-gray);
}

/* hero-111 (Djur och naturliv) */
.hero-111 {
    background-image: url('/img/hero/natur_sm.jpg');
}

/* Background overlay for hero-111(Djur & natur) and hero-131 (medlem) logo text for better readability */
.hero-111 .logo,
.hero-131 .logo {
    position: relative;
    background: none;
    border-radius: 0.5em;
    padding: 1.2em 2em 1.2em 2em;
    display: inline-block;
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.10);
    z-index: 1;
}


.hero-111 .logo::before,
.hero-131 .logo::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 0.5em;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(ellipse 120% 100% at 50% 50%, rgba(34, 34, 34, 0.55) 70%, rgba(34, 34, 34, 0.28) 85%, rgba(34, 34, 34, 0.01) 100%);
    filter: blur(18px);
    opacity: 1;
    transition: opacity 0.2s;
}

.hero-115 {
    /* kontakt */
    background-image: url('/img/hero/kontakt_sm.jpg');
}

.hero-117 .logo {
    background: #2e2e2e;
    padding: 20px;
}

.hero-118 {
    background-image: url('/img/hero/halsorisker_sm.jpg');
}

.hero-124 {
    background-image: url('/img/hero/vindkraft-ekonomin_sm.jpg');
}

.hero-131 {
    /* medlem */
    background-image: url('/img/hero/medlem_sm.jpg');
}

.hero-132 {
    /* politik */
    background-image: url('/img/hero/politik_sm.jpg');
}

.hero-141 {
    height: 32px !important;
    min-height: 32px !important;
    background-image: none;
    background-color: transparent !important;
}

@media (min-width: 420px) {

    .herotemp,
    .hero-110 {
        background-image: url('/img/hero/nora-kyrka-md.jpg');
        background-position-y: 20%;
        background-position-x: 30%;
    }

    .hero-107 {
        background-image: url('/img/kulturturism_hero_md.jpg');
        background-position-x: center;
    }

    .hero-111 {
        /* djur och naturliv */
        background-image: url('/img/hero/natur_lg.jpg');
    }

    .hero-115 {
        background-image: url('/img/hero/kontakt_lg.jpg');
    }

    .hero-124 {
        background-image: url('/img/hero/vindkraft-ekonomin_lg.jpg');
    }

    .hero-131 {
        background-image: url('/img/hero/medlem_lg.jpg');
    }

    .hero-132 {
        background-image: url('/img/hero/politik_lg.jpg');
    }

}

@media (min-width: 768px) {

    .hero .logo p {
        font-size: 1.25rem;
    }

    h2,
    .main-article-content-wrapper h1 {
        margin: 64px 0 36px;
        line-height: 1.15em;
        font-size: 4em;
    }

    h3,
    .main-article-content-wrapper h2 {
        font-size: 2.5em;
        margin: 80px 0 32px;
        line-height: 1.15em;
    }

    .pagebreaker-text {
        font-size: 3.5em;
    }

    .herotemp,
    .hero-110 {
        background-image: url('/img/hero/nora-kyrka-lg.jpg');
        background-position-y: center;
        background-position-x: 20%;
    }

    .hero-107 {
        background-position-x: center;
    }

    .hero-116 {
        /* om oss */
        background-image: url('/img/om-oss-hero.jpg');
    }

    .hero-117 {
        /* aktuellt */
        background-image: url('/img/hero/aktuellt_lg.jpg');
    }

    .hero-118 {
        /* hälsorisker */
        background-image: url('/img/hero/halsorisker_md.jpg');
    }


}

@media (min-width: 1024px) {
    .hero .logo {
        align-self: flex-start;
        text-align: left !important;
        margin-left: 6vw;
        margin-bottom: 8vh;
    }

    .hero .logo h1 {
        text-align: left !important;
    }

    .hero .logo p {
        padding: 0;
        text-align: left;
    }

    .hero-artikelsida .logo {
        margin-bottom: 3em !important;
    }

    .hero-artikelsida .logo h1 {
        font-size: 2rem !important;
    }

    /* right alignment for logo in hero-107 (kultur och turism) */
    .hero-107 .logo {
        align-self: flex-end;
        text-align: right;
        margin-right: 7vw;
        width: auto;
    }

    .hero-107 .logo h1 {
        text-align: right !important;
    }

    .hero-107 .logo p {
        text-align: right;
    }

    .hero-107 {
        background-position-x: 35%;
        background-image: url('/img/kulturturism_hero.jpg');
    }


}

@media (min-width: 1180px) {
    .hero-111 {
        /* background-image: url('/img/hero/natur_lg.jpg'); */
    }

    .hero-118 {
        background-image: url('/img/hero/halsorisker_lg.jpg');
    }

}

@media (min-width: 1280px) {
    .hero {
        min-height: 80vh;
    }
}

@media (min-width: 1500px) {
    body {
        margin-top: var(--sn-desktop-menu-height) !important;
    }

    .hero .logo h1 {
        font-size: 5rem;
        margin-bottom: 0.5rem;
    }

    .hero .logo p {
        font-size: 1.75rem;
    }

    /* .hero .logo {
		left: 10%;
		bottom: 7%;
	} */

    .herotemp .logo,
    .hero-110 .logo {
        align-self: flex-start;
        text-align: left;
        margin-left: 7%;
        margin-bottom: 5em;
    }

    .herotemp .logo p,
    .hero-110 .logo p {
        text-align: left;
    }

    .hero-107 {
        background-position-x: 55%;
    }
}

@media (min-width: 2200px) {
    .hero {
        background-position-y: 80%;
    }

    .herotemp,
    .hero-110 {
        background-position-y: 35%;
    }

    .hero-107 {
        background-position-x: 40%;
    }

    .hero-107 .logo {
        margin-right: 10vw;
    }
}

@media (max-width: 1200px) {

    .hero {
        margin-top: 0;
    }
}


/*
========================================
ARTIKLAR (PUFFAR)
- Stilar för artiklar, breda artiklar och specialartiklar
- Klasser:  puff-link .articles, .articles article, .articles .articles
========================================
*/

/* Artiklar - bredare kolumn */

/*enkel artikelsida wrapper */

.main-article-wrapper {
    margin-top: 3rem;
}

.articles {
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 1300px;
}

.puff-article h3 a,
.puff-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}


.articles article:hover,
.articles article:focus,
.articles article:active {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px) scale(1.01);
    cursor: pointer;
    /* border: none; */
}

.articles article {
    transition: box-shadow 0.2s, transform 0.2s;
}

/* Articles */
.articles article {
    width: 47%;
    background-color: white;
    padding: 0px;
    padding-bottom: 32px;
    margin: 0 10px 30px;
    border-radius: 3px;
    border: 1px #ddd solid;
}

.articles .puff-article {
    position: relative;
    padding-bottom: 0;
}

.puff-article h3:hover,
.puff-article h3:focus,
.puff-article h3:active,
.puff-link:hover h3,
.puff-link:focus h3,
.puff-link:active h3 {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
    color: var(--nora-gold);
}

.articles article h1,
.articles article h2,
.articles article h3,
.articles article h4 {
    font-family: "Playfair Display", serif;
    line-height: 1.25em;
}


.articles article p {
    font-size: 1.125em;
}

/* .articles article img {
    object-fit: fill;
    overflow: hidden;
} */

.main-article-image-wrapper,
.article-image-wrapper {
    width: 100%;
    aspect-ratio: 609/379;
    /* same as image medium */
    /* or set a fixed height if you prefer */
    background-color: #726B6F;
    display: block;
}

.main-article-image-wrapper,
.article-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* or 'fill', but 'cover' is usually better for aspect ratio */
    display: block;
}

.main-article-image-wrapper {
    max-width: 900px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 24px;
}

.articles article .article-text-wrapper {
    padding: 12px 24px;

}

.articles article h3 {
    margin-top: 16px;
}

.articles article .puff-label {
    display: block;
    font-size: 1.125em;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--nora-gold);
}

.puff-article .article-text-wrapper p {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    /* Number of lines to show */
    line-clamp: 4;
    /* Standard property for compatibility */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {

    .articles article {
        width: 100%;
        margin: 0 0 30px;
        border-left: 0;
        border-right: 0
    }

}

.category-tag {
    display: block;
    font-family: "Roboto", sans-serif;
    margin: 0;
    margin-top: 24px;
    margin-left: 12px;
    color: #155409;
    font-size: 1rem;
    font-weight: bold;
}

/*
========================================
CONTAINER, SIDOKOLUMN M.M
- Stilar för sidokolumnen
========================================
*/

/* Layout för huvud och sidokolumn */
.container {
    display: flex;
    max-width: 1300px;
    /* margin: 20px auto; */
    margin: 0 auto;
    width: 100%;
    padding: 0;
    gap: 0px;
}

.sidebar {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    min-height: 450px;
    background-color: transparent;
    margin: 0 10px;
    border-radius: 3px;
    /*height: fit-content;*/
}

.sidebar h3 {
    font-family: "Roboto", sans-serif;
    margin-bottom: 15px;
    padding: 0;
    line-height: 1.2em
}

.sidebar h4 {
    font-family: "Roboto", sans-serif;
    margin-bottom: 15px;
    padding: 0;
    line-height: 1.2em
}

.sidebar p {
    margin-bottom: 15px;
    padding: 0 20px;
}


.container-home {
    display: flex;
    width: 100%;
    padding: 0;
    gap: 36px;
}

/* CONTENT wrappers */

.main-content-wrapper,
.main-article-content-wrapper {
    width: 100%;
    flex-direction: column;
    color: var(--text-black);
    max-width: 1300px;
    margin: 0 auto;
    margin-bottom: 64px;
    padding: 2rem 24px 3rem 24px;
}

@media (min-width: 768px) {

    .main-content-wrapper,
    .main-article-content-wrapper {
        padding-left: 36px;
        padding-right: 36px;
    }
}

@media (min-width: 1500px) {

    .main-content-wrapper,
    .main-article-content-wrapper {
        padding-top: 1.5rem;
        padding-bottom: 6rem;
    }
}

/* Hemsidans första section */
.home-content-section {
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 1300px;
    justify-content: end;
    padding: 0 24px;
    padding-bottom: 36px;
}

.home-content-section .main-content-wrapper {
    margin: 0;
}

.home-content-section-part-2,
.home-content-section-part-3,
.home-content-section-part-4 {
    margin: 0 auto;
    max-width: 1300px;
    padding: 0 24px;
    padding-bottom: 64px;
}

.home-content-section-part-3 {
    padding-bottom: 0;
}

.info-text {
    max-width: 900px;
    padding: 0;
}

.info-text-startsida p {
    padding-top: 1.5rem;
    color: var(--green-900);
    font-size: 1rem;
    line-height: 1.25rem;
    font-style: italic;
    font-family: 'Playfair Display';
    line-height: 1.25rem;
    letter-spacing: -.01em;
    text-align: left;
}

.info-text p {
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: var(--green-900);
    padding: 0;
    letter-spacing: -0.02em;
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 0.5rem;
    text-align: left;
}

@media screen and (min-width: 768px) {
    .info-text p {
        margin-top: 1.5rem;
    }
}

/* Nyhetssektion */
.news-sidebar {
    display: none;
    justify-self: flex-end;
    border-left: 1px solid var(--nora-gold);
    height: 80vh;
    padding-left: 24px;
    padding-right: 36px;
}

.news-container {
    width: 256px;
}

.news-title {
    color: #4e3532;
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 36px;
}

.news-title-icon {
    display: none;
}

.news-item {
    display: block;
    margin-bottom: 24px;
}

.news-item:hover .news-title-item {
    color: var(--nora-gold);
}

.news-date {
    margin-bottom: 2px;
    font-weight: 700;
    font-size: 0.9em;
    color: var(--green-600);
}

.news-title-item {
    font-weight: 700 !important;
    font-size: 1.125rem !important;
    color: var(--nora-dark);
    line-height: 1.5rem;
    margin-top: 0 !important;
    font-family: var(--font-playfair) !important;
}

.news-footer-link {
    font-weight: 700;

}

@media (min-width: 1020px) {
    .info-text-home {
        padding: 16px 24px;
    }

    .news-sidebar {
        display: block;
        height: 100vh;
        padding-left: 0 36px;

    }

    .news-title {
        color: #4e3532;
        font-size: 2rem;
    }

}

@media (min-width: 1500px) {

    #contentTexts00167,
    #contentTexts00414,
    .info-text-startsida {
        max-width: 81%;
        padding-left: 26px;
    }

    .news-sidebar {
        padding-right: 5vw;
    }

    .news-container {
        width: 356px;
    }

    .news-title-icon {
        display: inline-block;
    }

    .info-text-home {
        max-width: 81%;
        padding: 0 24px;
        font-size: 1rem;
        padding-left: 28px;
    }

    .info-text {
        max-width: 80%;
    }

    .info-text-home p {
        font-size: 1rem;
    }

}

/* DEBATT PAGE-BREAKER */

.debatt-page-breaker,
.news-page-breaker {
    background-color: #fff;
    padding: 24px 36px;
    padding-bottom: 56px;
    box-shadow: 0 -2px 8px rgba(114, 107, 111, 0.12), 0 2px 8px rgba(114, 107, 111, 0.12);
    position: relative;
    z-index: 10;
}

.debatt-page-breaker-content,
.news-page-breaker-content {
    margin: 0 auto;
    max-width: 1300px;
}

/* .latestnews-header {
    font-family: "Roboto", sans-serif;
    background: #ddd;
    padding: 20px;
    font-weight: bold;
    font-size: 1.1em;
    border-bottom: 1px grey solid;
}

.latestnews {
    background: white;
    max-height: 500px;
    border: 1px #ddd solid;
    overflow: scroll;
} */

.sidebar-inside {
    background: white;
    padding: 3px;
    border: 1px #ddd solid;
    margin: 0 0 20px;
}


.sidebar-inside h2 {
    font-family: "Roboto", sans-serif;
    font-weight: 800;
    margin: 10px 20px 7px;
    line-height: 1.15em;
}

.sidebar ul {
    list-style: none;
    padding: 10px
}

.sidebar ul li {
    line-height: 1.1em;
    margin: 10px 10px;
}

.sidebar ul li hr {
    border-top: 1px solid #ddd;
    width: 90%;
    margin: 10px auto
}

.sidebar ul li .date {
    font-size: 0.9em;
    padding: 10px 0
}

.wideimg {
    position: relative;
    z-index: 0;
    margin: 0 auto;
}

.pagebreaker {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    position: relative;
    width: 100%;

}

.pagebreaker-text {
    font-family: "Roboto", sans-serif;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #fff;
    justify-content: center;
    align-items: center;
    position: absolute;
    overflow: hidden;
    top: 61%;
    left: 10%;
    font-size: 3em;
    z-index: 2;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}


/* Responsivity */

@media (min-width: 1500px) {

    .pagebreaker-text {
        font-size: 3.5em
    }
}


@media (max-width: 1200px) {

    .pagebreaker-text {
        font-size: 2em
    }
}

@media (max-width: 768px) {

    .container,
    .container-home {
        flex-direction: column;
    }

    .pagebreaker-text {
        font-size: 1.1em;
        left: 4%;
    }

    .sidebar {
        margin-top: 30px;
    }
}



/*
========================================
DEBATT
========================================
*/

.debatt-citat {
    display: block;
    font-family: "Playfair Display", serif;
    font-style: italic;
    color: var(--green-900);
    border-left: 4px solid var(--nora-gold);
    padding: 4px 0 4px 24px;
    margin: 24px 0;
    font-size: 1.5rem;
    line-height: 1.5;
    font-weight: 500;
    text-align: left;
}


@media (min-width: 420px) {
    .debatt-citat {
        font-size: 1.75rem;
        margin: 46px 0 46px;
    }
}

/*
========================================
BILDSPEL
========================================
*/
.slider {
    position: relative;
    width: 100%;
    margin: 40px auto;
    margin-top: 24px;
    background: #222;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.slider-items {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-bottom: 56.25%;
    margin: 0;
    list-style: none;
}

.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 3.5s ease-in-out;
}

.slider-item.slider-current {
    opacity: 1;
    z-index: 1;
}

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slider-buttons {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    pointer-events: none;
}

.slider-button-area {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    background: transparent;
    cursor: pointer;
}

.slider-button-area.slider-left {
    justify-content: flex-start;
}

.slider-button-area.slider-right {
    justify-content: flex-end;
}

.slider-button {
    width: 40px;
    height: 40px;
    border: none;
    outline: none;
    padding: 0;
    background: transparent center no-repeat;
    opacity: .4;
    transition: opacity .2s;
}

.slider-button:hover,
.slider-button.active-flash {
    opacity: .8;
    pointer-events: auto;
    cursor: pointer;
}

.slider-prev {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2048 2048' fill='white'><path d='M1390 2023l-999-999 999-999 121 121-878 878 878 878-121 121z'/></svg>");
    background-size: 32px 32px;
    background-repeat: no-repeat;
    background-position: center;
}

.slider-next {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2048 2048' fill='white'><path d='M658 2023l-121-121 878-878-878-878L658 25l999 999-999 999z'/></svg>");
    background-size: 32px 32px;
    background-repeat: no-repeat;
    background-position: center;
}

.slider-dots {
    position: absolute;
    bottom: 16px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 3;
}

.slider-dot {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 0;
    background: #fff;
    cursor: pointer;
    opacity: .4;
    margin: 0 5px;
    transition: background 0.3s, opacity 0.3s;
}

.slider-dot.slider-current {
    opacity: .8;
    background: #AC8051;
}

/*
========================================
COOKIE CONSENT BANNER (Skona Nora style)
========================================
*/

.sn-cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    background: #fff;
    color: #222;
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.10);
    border-radius: 0;
    z-index: 9999;
    min-width: 0;
    max-width: none;
    padding: 12px 0 8px 0;
    font-family: var(--font-roboto);
    font-size: 1rem;
    letter-spacing: 0.01em;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    .sn-cookie-banner {
        left: auto;
        right: 126px;
        bottom: 12px;
        width: 400px;
        max-width: 400px;
        border-radius: 12px;
        box-shadow: 0 2px 16px rgba(0, 0, 0, 0.10);
        padding: 8px;
        align-items: flex-end;
    }

    .sn-cookie-flex {
        max-width: 100%;
        align-items: flex-end;
    }

    .sn-cookie-desc {
        max-width: 100%;
        padding: 0;
        text-align: left;
    }

    .sn-cookie-title {
        text-align: left !important;
    }
}

.sn-cookie-flex {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 24px;
}

.sn-cookie-title {
    font-family: var(--font-playfair);
    font-size: 1.025rem;
    font-weight: 700;
    margin-top: 0.25em;
    margin-bottom: 0.3em;
    color: var(--nora-dark);
}

.sn-cookie-desc {
    width: 100%;
    margin-bottom: 0.25em;
}

.sn-cookie-desc p {
    font-size: .75rem;
    line-height: 1.25;
    color: var(--nora-dark);
    margin-bottom: 0.2em;
    hyphens: none;
}

.sn-cookie-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 2px;
}

.sn-cookies-wrapper {
    width: 100%;
    flex-direction: column;
    max-width: 1300px;
    margin: 0 auto;
}

.sn-cookie-btn {
    font-size: .75rem;
    border-radius: 6px;
    border: 1px solid var(--nora-gray);
    background: #fff;
    color: var(--nora-dark);
    padding: 6px 18px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border 0.2s;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.sn-cookie-btn {
    background: #fff;
    color: var(--nora-dark);
    border: 1.5px solid var(--nora-dark);
    font-weight: 600;
}

.sn-cookie-btn:hover,
.sn-cookie-btn:focus,
.sn-cookie-btn:active {
    /* background: var(--nora-dark); */
    /* color: #fff; */
    color: var(--nora-gold);
    border: 1.5px solid var(--nora-gold);
}

.cookie_tag_hidden {
    display: none !important;
}

@media (min-width: 768px) {
    .sn-cookie-title {
        font-size: 1rem;
        margin-top: 0.5em;
    }

    .sn-cookie-desc p {
        font-size: 0.8rem;
        text-align: left;
    }

    .sn-cookie-btn {
        font-size: .8rem;
    }
}

/*
========================================
Admin tag
========================================
*/

#admin_tag {
    position: fixed;
    background: #fff;
    color: #000;
    width: 110px;
    height: 65px;
    right: 0;
    top: 600px;
    padding: 12px;
    font-family: var(--font-roboto);
    font-size: 0.8em;
    letter-spacing: 0.05em;

    z-index: 500;
    border: 1px #000 solid;
    border-right: 0;
    -moz-border-radius: 5px 0 0 5px;
    -khtml-border-radius: 5px 0 0 5px;
    -webkit-border-radius: 5px 0 0 5px;
    border-radius: 5px 0 0 5px;

    text-align: middle;
}


/*  Skona Nora styles */