/* === Bryt ut av Uncode-containere og sentrer selv === */


/* === HERO: 1400px === */
/* HERO wrapper */
.single-post .nxtweb-hero {
    padding: 20px 20px 20px;
}

/* Tekst container 1400px */
.single-post .nxtweb-hero__inner {
    max-width: 900px;
    margin: 0 auto;
	
}
/* Wrapper styrer høyde */
.single-post .nxtweb-hero__image {
    max-height: 600px;
    overflow: hidden;
    border-radius: 24px;
}

/* Bilde container 1200px */
.single-post .nxtweb-hero__inner-img {
    max-width: 1200px;
    margin: 40px auto 0;
	padding: 0px 0px 30px 0px;
}

/* Bilde styling */
.single-post .nxtweb-hero__image img {
    width: 100%;
    height: auto;
    display: block;
    
}


/* Title */
.single-post .nxtweb-hero__title{
  text-align: left;
  font-family: 'Chivo', sans-serif !important;
  color: #ff7a00 !important;
  letter-spacing: 0.00em !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  font-size: 60px !important;
  margin: 0 0 20px 0 !important;
}

/* Excerpt */
.single-post .nxtweb-hero__excerpt p {
    font-family: 'Chivo', sans-serif !important;
    font-weight: 700 !important;
    font-size: 30px !important;
    color: #9e72fd !important;
    line-height: 1.2 !important;
    letter-spacing: 0.00em !important;
    margin: 0;
}


/* === BODY: 900px midtstilt === */
.single-post .nxtweb-body{
  padding: 0 20px 60px;
}

.single-post .nxtweb-body__inner {
  max-width: 900px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Mobil */
@media (max-width: 768px){
  .single-post .nxtweb-hero{ padding: 40px 20px 30px; }
  .single-post .nxtweb-hero__title{ font-size: 32px !important; }
  .single-post .nxtweb-hero__excerpt{ font-size: 20px !important; }
}

.single-post .artikkel-heading h2{
    font-family: 'Chivo', sans-serif !important;
    font-weight: 700 !important;
    font-size: 40px !important;
    color: #1e1e1e !important;
    line-height: 1.5 !important;
    letter-spacing: 0.00em !important;
    margin-bottom: 10px;
	margin-top: 40px;
}	

.single-post .artikkel-ingress {
    font-family: 'Chivo', sans-serif !important;
    font-weight: 500 !important;
    font-size: 22px !important;
    color: #1e1e1e !important;
    line-height: 1.2 !important;
    letter-spacing: 0.00em !important;
    margin-bottom: 10px;
}	

.single-post .artikkel-tekst p {
    font-family: 'Chivo', sans-serif !important;
    font-weight: 400 !important;
    font-size: 18px !important;
    color: #1e1e1e !important;
    line-height: 1.5 !important;
    letter-spacing: 0.00em !important;
    margin-bottom: 30px;
}	


.single-post .artikkel-sitat {
    position: relative;
    background: #9e72fd;
    color: #ffffff !important;
    font-family: 'Chivo', sans-serif !important;
    font-weight: 700 !important;
    font-size: 30px !important;
    line-height: 1.3 !important;
    padding: 50px 60px;
    border-radius: 24px;
    margin: 40px 0;
	text-align: center;
}

/* Fjern default p margin hvis ACF lager <p> */
.single-post .artikkel-sitat p {
    margin: 0;
    color: #ffffff !important;
    font-size: inherit !important;
	text-align: center;
}

/* Åpningstegn */
.single-post .artikkel-sitat::before {
    content: "“";
    position: absolute;
    top: 20px;
    left: 25px;
    font-size: 80px;
    line-height: 1;
    color: rgba(255,255,255,0.3);
    font-weight: 700;
}

/* Lukkingstegn */
.single-post .artikkel-sitat::after {
    content: "”";
    position: absolute;
    bottom: 20px;
    right: 25px;
    font-size: 80px;
    line-height: 1;
    color: rgba(255,255,255,0.3);
    font-weight: 700;
}
@media (max-width: 768px) {
    .single-post .artikkel-sitat {
        font-size: 26px !important;
        padding: 35px 25px;
    }

    .single-post .artikkel-sitat::before,
    .single-post .artikkel-sitat::after {
        font-size: 50px;
    }
}
.single-post .artikkel-infoboks {
    position: relative;
    background: #efe7ff; /* lys lilla */
    color: #1e1e1e !important;
    font-family: 'Chivo', sans-serif !important;
    font-size: 18px !important;
    line-height: 1.6 !important;
    padding: 40px 70px 40px 70px; /* ekstra plass til ikon */
    border-radius: 20px;
    margin: 40px 0;
}

/* Fjern default p-margin */
.single-post .artikkel-infoboks p {
    margin: 0;
    color: #1e1e1e !important;
    font-size: inherit !important;
}
.single-post .artikkel-infoboks::before {
    content: "i";
    position: absolute;
    top: 25px;
    left: 25px;
    width: 28px;
    height: 28px;
    background: #9e72fd;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
}
@media (max-width: 768px) {
    .single-post .artikkel-infoboks {
        padding: 30px 25px 30px 60px;
        font-size: 16px !important;
    }
}
.nxtweb-hero__caption,
.artikkel-bilde-caption {
    font-family: 'Chivo', sans-serif;
    font-size: 14px;
    color: #666;
    margin-top: 10px;
    text-align: right;
	padding-right: 10px;
}

/* =========================
   Lister i tekstfelt
========================= */

.single-post .artikkel-tekst ul,
.single-post .artikkel-infoboks ul {
    list-style: disc !important;
    padding-left: 25px !important;
}

.single-post .artikkel-tekst ol,
.single-post .artikkel-infoboks ol {
    list-style: decimal !important;
    padding-left: 25px !important;
}

.single-post .artikkel-tekst li,
.single-post .artikkel-infoboks li {
    margin-bottom: 8px;
}
.single-post .artikkel-tekst li::marker,
.single-post .artikkel-infoboks li::marker {
    color: #9e72fd;
}
.single-post .artikkel-tekst li p,
.single-post .artikkel-infoboks li p {
    font-size: 18px !important;
    margin: 0;
}
/* ===== LISTER I TEKSTFELT OG INFOBOKS ===== */

.single-post .artikkel-tekst li,
.single-post .artikkel-infoboks li {
    font-family: 'Chivo', sans-serif !important;
    font-size: 18px !important;
    line-height: 1.6;
}
/* =====================================================
   Related posts
===================================================== */

.nxtweb-readmore-intro{
  margin: 120px 0 60px;
  text-align: center;
}

.nxtweb-readmore-inner h2{
  margin-bottom: 30px;
}

.nxtweb-divider{
  width: 100%;
  height: 1px;
  background: #e5e5e5;
}

