@charset "iso-8859-1";
/* CSS Document */

/* =========================================================
   NILJUNG.SE - OVERRIDE
   Blå rubriker enligt grafisk profil + rosa som accent
   ========================================================= */

:root {
  --niljung-pink: #DA89AC;
  --niljung-pink-dark: #C96E99;
  --niljung-pink-soft: #F4D7E4;
  --niljung-pink-pale: #FBF2F7;

  --niljung-blue-dark: #697C93;
  --niljung-blue-light: #7B90AA;

  --niljung-green: #AEC560;
  --niljung-red: #E71425;
  --niljung-orange: #E3A33E;

  --niljung-cream: #FBF7F9;
  --niljung-cream-dark: #F2E7ED;
  --niljung-text: #2F3540;
  --niljung-text-soft: #616975;
  --niljung-grey-bg: #F8F1F5;
  --niljung-white: #FFFFFF;
  --niljung-border: #E9D4DF;
}

/* =========================
   GRUND
   ========================= */
body {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 16px;
  color: var(--niljung-text);
  background: #fff;
}

p,
.post-content ul li,
.post-content ol li,
blockquote footer {
  color: var(--niljung-text);
}

a,
a:hover {
  color: var(--niljung-pink-dark);
  text-decoration-color: rgba(201, 110, 153, 0.35);
}

.font-weight-bold {
  font-weight: 900 !important;
}

/* =========================
   TYPOGRAFI
   ========================= */
h1, h2, h3, h4, h5, h6,
#header .header-nav-main nav > ul > li > a,
#header .header-nav-main nav > ul > li.dropdown .dropdown-menu,
.badge {
  font-family: 'Nunito Sans', sans-serif;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 1.8em;
  line-height: 40px;
  margin: 0 0 20px 0;
  font-weight: 900;
  color: var(--niljung-blue-dark);
}

h2 {
  color: var(--niljung-blue-dark);
  font-weight: 700;
}

h3 {
  color: var(--niljung-blue-light);
  font-weight: 700;
  text-transform: none;
  line-height: 1.2em;
  margin-top: 20px;
  margin-bottom: 20px;
}

h4 {
  color: var(--niljung-blue-light);
  font-weight: 600;
}

h4.select-heading {
  color: var(--niljung-pink);
  font-weight: 600;
  margin-bottom: 10px;
}

.post-content h3,
.post-block h3,
.accordion h3 {
  font-size: 1.4em;
}

.post-block h3 {
  font-weight: 700;
  margin: 0 0 20px;
  text-transform: none;
}

.text-5 {
  font-size: 1.1em !important;
}

.text-6 {
  font-size: 1.6em !important;
}

p.lead strong {
	font-weight: 700;
}

/* =========================
   HEADER / FOOTER
   ========================= */
#header .header-body {
  background-color: var(--niljung-pink-pale);
  border-bottom: 1px solid var(--niljung-border);
}

#footer,
#footer .footer-copyright {
  background: var(--niljung-blue-dark);
}

.footer-top-border {
  border-top: 1px solid var(--niljung-blue-dark) !important;
}

/* =========================
   DESKTOP-NAVIGATION
   ========================= */
#header .header-nav-main nav > ul > li > a {
  font-weight: 600;
  color: var(--niljung-blue-dark);
}

#header .header-nav-main nav > ul > li > a:hover,
#header .header-nav-main nav > ul > li.active > a {
  color: var(--niljung-pink);
}

/* Dropdown desktop */
#header .header-nav-main nav > ul > li.dropdown .dropdown-menu {
  font-size: 0.95rem;
  padding: 0;
}

#header .header-nav-main nav > ul > li.dropdown .dropdown-menu .dropdown-item {
  font-size: 1rem !important;
  line-height: 1.35;
  padding: 9px 16px;
  font-weight: 600;
}

#header .header-nav-main nav > ul > li.dropdown .dropdown-menu .dropdown-item:hover {
  background-color: var(--niljung-pink-pale);
  color: var(--niljung-pink-dark);
}

#header .dropdown-menu a {
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Mobilmenyknapp */
#header .header-btn-collapse-nav {
  background: var(--niljung-pink);
  border-color: var(--niljung-pink);
}

/* =========================
   HERO
   ========================= */
.hero-image-wrap {
  position: relative;
}

.hero-text {
  position: absolute;
  z-index: 2;
}

.hero-text h1 {
  margin: 0;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.hero-text h1 span {
  display: block;
  font-weight: 600;
}

.header-size-1 {
  color: var(--niljung-blue-dark);
  font-size: 57px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.header-size-2 {
  color: #FFF;
  font-size: 32px;
}

/* Desktop hero */
@media (min-width: 768px) {
  .hero-text {
    top: 400px;
    left: 350px;
  }

  .hero-text h1 {
    font-size: 57px;
    line-height: 1.1;
    color: var(--niljung-blue-dark);
    text-shadow: 0 2px 10px rgba(0,0,0,0.08);
  }

  .hero-text h1 span {
    font-size: 32px;
    color: #fff;
  }
}

/* =========================
   FEATURE - FÖRESTÄLLNING (OVERLAY BOX)
   ========================= */

.feature-image-wrapper {
  position: relative;
}

.feature-box-overlay {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 60px 40px 30px 40px;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.4) 50%,
    rgba(0,0,0,0) 100%
  );
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}

.feature-box-overlay h3 {
  color: #fff;
}

.feature-box-overlay p {
  color: rgba(255,255,255,0.85);
}

/* =========================
   RESPONSIVE - FEATURE BOX
   ========================= */

@media (max-width: 991px) {

  .feature-box-overlay {
    position: static;
    width: 100%;
    padding: 25px;
    margin-top: 0;
    background: #1c1c1c; /* solid istället för gradient */
    border-radius: 0 0 8px 8px;
  }

}

/* =========================
   TOPICS-SEKTIONER
   ========================= */

.topic-card-link {
  display: block;
  text-decoration: none !important;
  color: inherit;
}

.topic-card-link:hover,
.topic-card-link:focus,
.topic-card-link:active {
  text-decoration: none !important;
  color: inherit;
}

.post a.topic-card-link:hover,
.post a.topic-card-link:focus,
.post a.topic-card-link:active {
  text-decoration: none !important;
  color: inherit;
}

.topic-subtitle {
  margin-top: 8px;
  font-size: 0.95em;
  line-height: 1.4;
  color: #666;
}

.topic-card-link:hover .post,
.topic-card-link:focus .post {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--niljung-pink);
}

.topic-card-link .post {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

/* =========================
   /TOPICS-SEKTIONER
   ========================= */

/* =========================
   INTROSEKTION MED PRICKAR
   ========================= */
.niljung-bg-dots {
  position: relative;
  overflow: hidden;
}

.niljung-bg-dots::before,
.niljung-bg-dots::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.niljung-bg-dots::before {
  width: 460px;
  height: 460px;
  background: rgba(218, 137, 172, 0.06);
  top: -140px;
  left: -140px;
  filter: blur(2px);
}

.niljung-bg-dots::after {
  width: 360px;
  height: 360px;
  background: rgba(105, 124, 147, 0.08);
  bottom: -170px;
  right: -80px;
  filter: blur(2px);
}

.niljung-bg-dots .container::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  background: rgba(174, 197, 96, 0.12);
  border-radius: 50%;
  top: 60px;
  right: 20%;
  pointer-events: none;
  filter: blur(2px);
}

/* =========================
   TOGGLES / BADGES / KNAPPAR
   ========================= */
html .toggle-primary .toggle label,
html .toggle-primary .toggle .toggle-title {
  color: var(--niljung-pink);
  border-left-color: var(--niljung-pink);
  border-right-color: var(--niljung-pink);
}

html .toggle-primary .toggle.active > label,
html .toggle-primary .toggle.active > .toggle-title {
  background-color: var(--niljung-pink);
  border-left-color: var(--niljung-pink);
  border-right-color: var(--niljung-pink);
  color: #fff;
}

.badge-dark {
  background-color: var(--niljung-pink) !important;
  color: #FFF;
}

html .bg-color-primary,
html .bg-primary {
  background-color: var(--niljung-pink) !important;
}

html .btn-light {
  background-color: var(--niljung-pink-pale);
  border-color: var(--niljung-border);
  color: var(--niljung-blue-dark);
}

.btn-primary,
html .btn-primary {
  background-color: var(--niljung-pink);
  border-color: var(--niljung-pink);
  color: #fff;
  box-shadow: 0 8px 18px rgba(218, 137, 172, 0.18);
}

.btn-primary:hover,
html .btn-primary:hover {
  background-color: var(--niljung-pink-dark) !important;
  border-color: var(--niljung-pink-dark) !important;
  color: #fff !important;
}

/* =========================
   ACCORDION / INNEHÅLLSLÄNKAR
   ========================= */
.accordion .card-header a {
  color: var(--niljung-blue-dark);
}

.card-body a,
.post-content a {
  font-weight: 700;
}

/* =========================
   TESTIMONIALS
   ========================= */
html .testimonial-primary blockquote {
  background: var(--niljung-pink);
}

html .testimonial-primary .testimonial-arrow-down {
  border-top-color: var(--niljung-pink);
}

html .testimonial-secondary blockquote {
  background: var(--niljung-blue-dark);
}

html .testimonial-secondary .testimonial-arrow-down {
  border-top-color: var(--niljung-blue-dark);
}

html .testimonial-tertiary blockquote {
  background: var(--niljung-green);
}

html .testimonial-tertiary .testimonial-arrow-down {
  border-top-color: var(--niljung-green);
}

html .blockquote-tertiary {
  border-color: var(--niljung-green) !important;
}

html .testimonial-quaternary blockquote {
  background: var(--niljung-orange);
}

html .testimonial-quaternary .testimonial-arrow-down {
  border-top-color: var(--niljung-orange);
}

.testimonial blockquote:before {
  content: "";
}

/* =========================
   OWL
   ========================= */
.owl-carousel.carousel-center-active-item-2 .owl-item.active > div {
  background: var(--niljung-pink);
}

.owl-carousel:not(.nav-arrows-1):not(.show-nav-title) .owl-nav button[class*="owl-"] {
  background: var(--niljung-pink);
  border-color: var(--niljung-pink);
}

.owl-carousel:not(.nav-arrows-1):not(.show-nav-title) .owl-nav button[class*="owl-"]:hover {
  background: var(--niljung-blue-dark);
  border-color: var(--niljung-blue-dark);
}

/* =========================
   BLOGG / KORT
   ========================= */
.blog-posts:not(.blog-posts-no-margins) article {
  margin-bottom: 0;
  padding-bottom: 0;
}

.post-meta {
  margin-top: 10px;
}

.post-meta .btn {
  padding: 8px 16px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.post-content-1,
.post-content-2,
.post-content-3,
.post-content-4,
.post-content-5 {
  background-color: var(--niljung-pink-pale);
  border: 1px solid var(--niljung-border);
  border-radius: 0 0 8px 8px !important;
}

.post-content-1,
.post-content-2,
.post-content-4,
.post-content-5 {
  padding: 10px;
}

.post-content-3 {
  padding: 12px 14px;
}

.post-content-1 {
  min-height: 230px;
}

.post-content-4 {
  min-height: 255px;
}

.post-content-5 {
  min-height: 125px;
}

div.thumb-info-show-more-content > p {
  font-size: 1em !important;
}

.thumb-info .thumb-info-type {
  font-size: 0.7em;
}

/* =========================
   STARTSIDANS SEKTIONER
   ========================= */
.bg-color-grey {
  background-color: var(--niljung-pink-soft) !important;
}

.bg-color-black {
  background-color: var(--niljung-blue-dark) !important;
}

.startimage1 {
  position: absolute;
  top: 400px;
  left: 350px;
}

.card-1 {
  min-height: 280px;
}

/* =========================
   MÖRKA BOXAR
   ========================= */
.bg-color-444-read-more,
.bg-color-444 {
  background-color: var(--niljung-blue-dark);
  border-radius: 8px;
}

.bg-color-444-read-more {
  padding: 2rem;
}

.bg-color-444 {
  min-height: 288px;
}

.bg-color-444-read-more h4,
.bg-color-444 h4,
.bg-color-444-read-more ul li,
.bg-color-444 ul li {
  color: #FFF;
}

.bg-color-444-read-more ul,
.bg-color-444 ul {
  padding-left: 1rem;
}

.bg-color-444-read-more .readmore-overlay {
  bottom: 0 !important;
  left: 0;
  width: 100%;
  z-index: 1;
}

.position-relative {
  height: 224px;
}

/* =========================
   FORM / TABELL / CTA
   ========================= */
.form-check-input:checked {
  background-color: var(--niljung-pink);
  border-color: var(--niljung-pink);
}

.table {
  --bs-table-striped-bg: rgba(218, 137, 172, 0.14);
}

.call-to-action.with-borders {
  border-color: var(--niljung-border);
  background: var(--niljung-pink-pale) !important;
}

.call-to-action h3 strong {
  color: var(--niljung-pink-dark);
}

/* =========================
   BOK-CTA
   ========================= */
.book-cta-box {
  background: var(--niljung-pink-pale);
  border: 1px solid var(--niljung-border);
  border-radius: 8px;
  padding: 22px 30px;
  margin: 0 0 30px 0;
}

.book-cta-box h2 {
  font-size: 2.1rem;
  margin-bottom: 18px;
  font-weight: 700;
  color: var(--niljung-blue-dark);
}

.book-target,
.book-proof {
  color: var(--niljung-text-soft);
}

.book-cta-box p:last-child {
  margin-bottom: 0;
}

.book-cta-box .book-price {
  font-size: 1.15rem;
  margin: 18px 0;
}

.book-cta-box .btn {
  padding: 14px 28px;
  font-weight: 700;
}

.book-cta-box .btn:hover {
  transform: translateY(-1px);
}

.book-cta-box .book-proof {
  font-size: 1rem;
}

/* =========================
   HELP BOX SUICIDE
   ========================= */

.help-box-suicide {
  background-color: #f2f6f9 !important;
  border: 1px solid #dbe5ec !important;
}

/* =========================
   FOOTER
   ========================= */
#footer h3,
#footer p,
#footer a,
#footer li,
#footer .social-icons li a {
  color: #fff;
}

#footer .social-icons li a {
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
}

#footer .social-icons li a:hover {
  background: var(--niljung-pink);
}

/* =========================
   MOBIL / TABLET
   ========================= */
@media (max-width: 768px) {
	
.blog-posts .post-image {
  height: auto;
}

.blog-posts .post-image img {
  width: 100%;
  height: auto !important;
  object-fit: contain;
  display: block;
}
	
  /* Hero */
  .hero-text {
    left: 20px;
    bottom: 18px;
    top: auto;
  }

  .hero-text h1 {
    font-size: 28px;
    line-height: 1.1;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  }

  .hero-text h1 span {
    font-size: 15px;
    margin-top: 4px;
    color: #fff;
  }

  .hero-image-wrap img {
    height: 260px;
    width: 100%;
    object-fit: cover;
    object-position: 50% 40%;
  }

  .hero-image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.35), transparent 40%);
    z-index: 1;
  }

  /* Prickar */
  .niljung-bg-dots::before {
    width: 260px;
    height: 260px;
    top: -90px;
    left: -90px;
    background: rgba(218, 137, 172, 0.05);
  }

  .niljung-bg-dots::after {
    width: 220px;
    height: 220px;
    right: -70px;
    bottom: -110px;
    background: rgba(105, 124, 147, 0.07);
  }

  .niljung-bg-dots .container::after {
    width: 90px;
    height: 90px;
    top: 30px;
    right: 12%;
    background: rgba(174, 197, 96, 0.10);
  }

  /* Introsektion */
  .bg-color-grey.section-height-3 {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }

  .video-start1 {
    padding-top: 0 !important;
    margin-bottom: 18px;
  }

  .col-md-6.pt-3 {
    padding-top: 0 !important;
  }

  /* Välkomsttext */
  .bg-color-grey h2.text-6,
  h2.font-weight-normal.text-6.mb-3 {
    font-size: 1.2rem !important;
    line-height: 1.25 !important;
    margin-bottom: 10px !important;
  }

  .bg-color-grey .text-4 {
    font-size: 0.98rem !important;
    line-height: 1.6 !important;
  }

  .bg-color-grey .text-4 + .text-4 {
    margin-top: 10px;
  }

  /* Mobilmeny */
  #header .header-nav-main nav {
    background: #fff;
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  #header .header-nav-main nav > ul {
    margin-top: 0 !important;
    padding-top: 6px !important;
  }

  #header .header-nav-main nav > ul > li > a {
    padding: 15px 18px !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    background: transparent !important;
    color: #333 !important;
  }

  #header .header-nav-main nav > ul > li > a:hover {
    color: #c7648c !important;
  }

  #header .header-nav-main nav > ul > li.active > a {
    color: #c7648c !important;
    background: transparent !important;
    font-weight: 700 !important;
  }

  #header .header-nav-main nav ul li {
    border-bottom: 1px solid rgba(0,0,0,0.04);
  }

  #header .header-nav-main nav ul ul {
    background: #fafafa;
    margin-left: 14px;
    border-radius: 8px;
    padding: 6px 0;
  }

  #header .header-nav-main nav > ul > li.dropdown .dropdown-menu .dropdown-item {
    font-size: 0.92rem !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    padding: 10px 14px !important;
  }

  #header .header-nav-main nav > ul > li.dropdown .dropdown-menu .dropdown-item:hover {
    color: #c7648c !important;
    background: rgba(199, 100, 140, 0.05) !important;
  }

  /* Övrigt mobil */
  h4 {
    font-size: 1em;
    font-weight: 600;
    line-height: 27px;
    margin: 0 0 14px 0;
  }

  .post-content h1 {
    margin-top: 20px;
    font-size: 1.1em;
    line-height: 24px;
  }

  .post-content h3 {
    font-size: 1em;
  }

  .thumb-info .thumb-info-type {
    font-size: 0.8em;
  }

  .hide-mobile {
    display: none;
  }

  .startimage1 {
    left: 25px;
    top: 160px;
  }

  .header-size-1 {
    font-size: 34px;
    line-height: 34px;
  }

  .header-size-2 {
    font-size: 18px;
    line-height: 24px;
  }
}

/* Små mobiler */
@media only screen and (max-width: 600px) {
  h1 {
    margin-top: 20px;
    font-size: 1.4em;
    line-height: 32px;
  }

  #start-presentation-profile-image {
    display: none !important;
  }
}

/* Desktopkort */
@media (min-width: 992px) {
  .media-cards > [class*="col-"] {
    display: flex;
  }

  .media-cards .card {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .media-cards .card-body {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* iPad landscape */
@media only screen and (min-device-width: 768px) and (max-device-width: 1180px) and (orientation: landscape) {
  .startimage1 {
    position: absolute;
    top: 250px;
    left: 100px;
  }

  .startimage1 h1 {
    margin-top: 20px;
    font-size: 32px;
    line-height: 32px;
  }

  .header-size-2 {
    color: #FFF;
    font-size: 24px;
  }

  .video-start1 {
    padding-top: 1rem !important;
  }
}

/* iPad portrait */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
  .startimage1 {
    position: absolute;
    top: 250px;
    left: 100px;
  }

  .startimage1 h1 {
    margin-top: 20px;
    font-size: 32px;
    line-height: 32px;
  }

  .header-size-2 {
    color: #FFF;
    font-size: 24px;
  }

  .video-start1 {
    padding-top: 1rem !important;
  }
}

/* Större desktop */
@media (min-width: 1281px) {
  .video-start1 {
    margin-top: -30px !important;
  }

  blockquote.enlarge {
    min-height: 288px !important;
  }
}

/* Hjälpklass */
@media only screen and (min-width: 400px) {
  .desktop-visible {
    display: none;
  }
}