/*
Theme Name: Barnen som utmanar
Theme URI: https://barnensomutmanar.se
Author: Utbildning Norr AB
Description: Kunskapsplattform för Barnen som utmanar med böcker, Kunskapsbanken, föreläsningar och kontakt.
Version: 6.3.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: barnen-som-utmanar
*/

:root{
  --bsu-bg:#120d0b;
  --bsu-bg-2:#24150f;
  --bsu-forest:#21372f;
  --bsu-forest-2:#172820;
  --bsu-orange:#d76820;
  --bsu-orange-dark:#b95317;
  --bsu-cream:#f5efe7;
  --bsu-paper:#fffaf4;
  --bsu-text:#2c241f;
  --bsu-muted:#6e625a;
  --bsu-white:#fffdf8;
  --bsu-line:rgba(44,36,31,.12);
  --bsu-shadow:0 24px 70px rgba(18,13,11,.18);
  --bsu-radius:18px;
  --bsu-container:min(1200px,calc(100% - 40px));
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bsu-paper);
  color:var(--bsu-text);
  font-family:Arial,Helvetica,sans-serif;
  line-height:1.6;
}
body.admin-bar .site-header{top:32px}
img{max-width:100%;height:auto}
a{color:inherit}
button,input,textarea,select{font:inherit}
.site-wrap{overflow:hidden}
.container{width:var(--bsu-container);margin-inline:auto}
.screen-reader-text{
  position:absolute!important;
  width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0
}
.skip-link:focus{
  position:fixed!important;top:10px;left:10px;z-index:9999;
  width:auto;height:auto;clip:auto;margin:0;padding:12px 16px;
  background:#fff;color:#000;border-radius:8px
}

/* Header */
.site-header{
  position:fixed;
  inset:0 0 auto 0;
  z-index:999;
  padding:20px 0;
  background:linear-gradient(to bottom,rgba(11,8,7,.86),rgba(11,8,7,.18),transparent);
  transition:padding .25s ease,background .25s ease,box-shadow .25s ease;
}
.site-header.is-scrolled{
  padding:12px 0;
  background:rgba(16,11,9,.95);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  box-shadow:0 12px 30px rgba(0,0,0,.18);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:28px}
.site-branding{text-decoration:none;color:var(--bsu-white)}
.site-branding strong{
  display:block;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(20px,2vw,29px);
  line-height:1;
  letter-spacing:.03em;
  text-transform:uppercase;
}
.site-branding span{
  display:block;
  margin-top:7px;
  color:#f0a260;
  font-size:10px;
  font-weight:700;
  letter-spacing:.22em;
  text-transform:uppercase;
}
.primary-nav{display:flex;gap:27px;align-items:center}
.primary-nav a{
  color:white;
  text-decoration:none;
  font-size:15px;
  font-weight:700;
}
.primary-nav a:hover,.primary-nav a:focus{color:#ffc28f}
.menu-toggle{
  display:none;
  border:1px solid rgba(255,255,255,.58);
  border-radius:8px;
  background:transparent;
  color:white;
  padding:10px 13px;
  font-weight:700;
}

/* Hero */
.hero{
  min-height:840px;
  position:relative;
  display:grid;
  align-items:center;
  color:white;
  background:
    linear-gradient(90deg,rgba(12,8,7,.98) 0%,rgba(16,10,8,.92) 35%,rgba(15,10,8,.50) 57%,rgba(15,10,8,.06) 82%),
    url("assets/images/hero-scene.jpg") center right/cover no-repeat;
}
.hero::after{
  content:"";
  position:absolute;inset:auto 0 0 0;height:210px;
  background:linear-gradient(to top,rgba(10,7,6,.72),transparent);
}
.hero-content{position:relative;z-index:2;max-width:720px;padding-top:130px}
.eyebrow{
  margin:0 0 18px;
  color:#f5a15d;
  font-size:13px;
  font-weight:800;
  letter-spacing:.22em;
  text-transform:uppercase;
}
.hero h1{
  margin:0;
  color:var(--bsu-white);
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(54px,7vw,94px);
  font-weight:500;
  line-height:.98;
  letter-spacing:-.04em;
  text-shadow:0 2px 20px rgba(0,0,0,.25);
}
.hero-divider{width:62px;height:3px;background:var(--bsu-orange);margin:28px 0 24px}
.hero p{
  margin:0;
  max-width:630px;
  color:rgba(255,255,255,.92);
  font-size:clamp(18px,2vw,22px);
  line-height:1.7;
}
.actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:34px}
.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:14px 23px;
  border-radius:7px;
  border:1px solid transparent;
  text-decoration:none;
  font-weight:800;
  transition:.2s ease;
}
.button-primary{background:var(--bsu-orange);color:white}
.button-primary:hover{background:var(--bsu-orange-dark);transform:translateY(-2px)}
.button-outline{background:rgba(0,0,0,.12);border-color:rgba(255,255,255,.8);color:white}
.button-outline:hover{background:rgba(255,255,255,.1);transform:translateY(-2px)}

/* Pillars */
.pillars-wrap{position:relative;z-index:5;margin-top:-58px}
.pillars{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  background:var(--bsu-cream);
  border-radius:14px;
  overflow:hidden;
  box-shadow:var(--bsu-shadow);
}
.pillar{
  position:relative;
  display:grid;
  grid-template-columns:62px 1fr;
  gap:20px;
  padding:30px 32px;
}
.pillar:not(:last-child)::after{
  content:"";
  position:absolute;top:18px;right:0;bottom:18px;width:1px;
  background:var(--bsu-line);
}
.pillar-icon{
  width:56px;height:56px;
  display:grid;place-items:center;
  border-radius:50%;
  background:var(--bsu-forest);
  color:white;
  font-family:Georgia,serif;
  font-size:24px;
}
.pillar h3{
  margin:1px 0 7px;
  font-family:Georgia,serif;
  font-size:28px;
  font-weight:500;
}
.pillar p{margin:0;color:var(--bsu-muted);line-height:1.62}

/* Shared sections */
.section{padding:105px 0}
.section-dark{background:linear-gradient(180deg,#160f0c,#28170f);color:white}
.section-paper{background:var(--bsu-paper)}
.section-cream{background:var(--bsu-cream)}
.section-forest{background:var(--bsu-forest);color:white}
.section-title{
  margin:0;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(42px,5vw,66px);
  line-height:1.04;
  font-weight:500;
}
.section-intro{
  max-width:760px;
  font-size:18px;
  line-height:1.75;
  color:var(--bsu-muted);
}
.section-dark .section-intro,.section-forest .section-intro{color:rgba(255,255,255,.72)}
.center{text-align:center}
.center .section-intro{margin:18px auto 0}

/* Books */
.books-layout{display:grid;grid-template-columns:.7fr 1.3fr;gap:50px;align-items:start}
.books-intro{position:sticky;top:110px}
.book-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.book-card{
  display:grid;
  grid-template-columns:180px 1fr;
  gap:24px;
  align-items:center;
  padding:24px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:16px;
  background:rgba(255,255,255,.035);
}
.book-card img{
  width:100%;
  aspect-ratio:3/4;
  object-fit:cover;
  border-radius:6px;
  box-shadow:0 16px 32px rgba(0,0,0,.38);
  transition:.3s ease;
}
.book-card:hover img{transform:perspective(900px) rotateY(-5deg) translateY(-4px)}
.book-card h3{
  margin:0 0 10px;
  color:white;
  font-family:Georgia,serif;
  font-size:30px;
  line-height:1.1;
  font-weight:500;
}
.book-card p{color:rgba(255,255,255,.72);line-height:1.68}
.text-link{color:#f3a15d;text-decoration:none;font-weight:800}

/* Quote */
.quote{
  padding:90px 0;
  background:radial-gradient(circle at 84% 44%,rgba(215,104,32,.15),transparent 22%),var(--bsu-cream);
}
.quote blockquote{
  max-width:960px;
  margin:0 auto;
  text-align:center;
  color:var(--bsu-forest);
  font-family:Georgia,serif;
  font-size:clamp(42px,5vw,68px);
  line-height:1.08;
}
.quote blockquote::before{
  content:"“";
  display:block;
  color:var(--bsu-orange);
  font-size:76px;
  line-height:.5;
}

/* Knowledge cards */
.article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:48px}
.article-card{
  background:white;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 14px 38px rgba(18,13,11,.10);
  transition:.25s ease;
}
.article-card:hover{transform:translateY(-5px);box-shadow:0 22px 48px rgba(18,13,11,.15)}
.article-image{
  display:block;
  height:205px;
  background:linear-gradient(145deg,#22372f,#d17b35);
  background-size:cover;
  background-position:center;
}
.article-body{padding:26px}
.article-card h3{
  margin:0 0 10px;
  font-family:Georgia,serif;
  font-size:28px;
  line-height:1.15;
  font-weight:500;
}
.article-card p{color:var(--bsu-muted);line-height:1.65}
.knowledge-cta{text-align:center;margin-top:34px}

/* Lecture */
.lecture{
  display:grid;
  grid-template-columns:1fr 1fr;
  border-radius:22px;
  overflow:hidden;
  background:#eadfce;
  box-shadow:var(--bsu-shadow);
}
.lecture-visual{
  min-height:410px;
  background:
    linear-gradient(rgba(18,13,11,.12),rgba(18,13,11,.12)),
    url("assets/images/hero-scene.jpg") center/cover no-repeat;
}
.lecture-content{padding:54px;align-self:center}

/* Guide */
.guide-section{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 86% 20%,rgba(215,104,32,.20),transparent 24%),
    linear-gradient(145deg,#17100d 0%,#24372f 100%);
  color:white;
}
.guide-section::before{
  content:"";
  position:absolute;inset:0;
  background:url("assets/images/hero-scene.jpg") 78% center/cover no-repeat;
  opacity:.12;
}
.guide{
  position:relative;z-index:2;
  display:grid;
  grid-template-columns:.82fr 1.18fr;
  gap:58px;
  align-items:start;
}
.guide h2{color:white}
.guide-card{
  padding:34px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:20px;
  background:rgba(10,8,7,.38);
  backdrop-filter:blur(10px);
  box-shadow:0 24px 60px rgba(0,0,0,.20);
}
.guide-card h3{
  margin:0 0 18px;
  color:white;
  font-family:Georgia,serif;
  font-size:32px;
  font-weight:500;
}
.guide-examples{display:grid;gap:12px;margin:0 0 24px}
.guide-example{
  padding:16px 18px;
  border-left:3px solid var(--bsu-orange);
  border-radius:8px;
  background:rgba(255,255,255,.055);
  color:rgba(255,255,255,.90);
  line-height:1.55;
}
.guide-note{color:rgba(255,255,255,.62);font-size:14px;line-height:1.6}

/* Archive/search */
.archive-hero{
  padding:170px 0 70px;
  background:linear-gradient(145deg,#17100d,#24372f);
  color:white;
}
.archive-hero h1{
  margin:0;
  font-family:Georgia,serif;
  font-size:clamp(46px,6vw,74px);
  font-weight:500;
}
.archive-controls{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:26px;
}
.archive-controls input[type="search"]{
  min-width:min(100%,420px);
  padding:14px 16px;
  border:1px solid rgba(255,255,255,.26);
  border-radius:8px;
  background:rgba(255,255,255,.08);
  color:white;
}
.archive-controls input::placeholder{color:rgba(255,255,255,.62)}
.pagination{
  display:flex;
  justify-content:center;
  gap:8px;
  margin-top:44px;
}
.pagination .page-numbers{
  display:inline-flex;
  min-width:42px;height:42px;
  align-items:center;justify-content:center;
  border-radius:8px;
  background:white;
  color:var(--bsu-text);
  text-decoration:none;
  box-shadow:0 8px 20px rgba(0,0,0,.07);
}
.pagination .current{background:var(--bsu-orange);color:white}

/* Single / page */
.content-hero{
  padding:170px 0 70px;
  background:linear-gradient(145deg,#17100d,#24372f);
  color:white;
}
.content-hero h1{
  max-width:900px;
  margin:0;
  font-family:Georgia,serif;
  font-size:clamp(46px,6vw,74px);
  line-height:1.05;
  font-weight:500;
}
.content-wrap{
  width:min(820px,calc(100% - 40px));
  margin:0 auto;
  padding:70px 0 100px;
}
.content-wrap p,.content-wrap li{font-size:18px;line-height:1.8}
.content-wrap h2,.content-wrap h3{font-family:Georgia,serif;font-weight:500}
.content-meta{margin-top:16px;color:rgba(255,255,255,.65)}

/* Footer */
.site-footer{padding:64px 0 28px;background:#15231d;color:white}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:42px}
.site-footer h3,.site-footer h4{font-family:Georgia,serif;font-weight:500}
.site-footer p,.site-footer li{color:rgba(255,255,255,.72);line-height:1.7}
.site-footer a{color:rgba(255,255,255,.82);text-decoration:none}
.site-footer ul{list-style:none;margin:0;padding:0}
.footer-bottom{
  margin-top:36px;padding-top:20px;
  border-top:1px solid rgba(255,255,255,.12);
  font-size:13px;color:rgba(255,255,255,.48);
}

/* Animation */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s ease}
.reveal.is-visible{opacity:1;transform:none}

/* Responsive */
@media(max-width:1024px){
  .menu-toggle{display:block}
  .primary-nav{
    display:none;
    position:absolute;
    top:70px;right:20px;
    width:min(320px,calc(100vw - 40px));
    padding:18px;
    flex-direction:column;
    align-items:stretch;
    background:rgba(16,11,9,.98);
    border-radius:12px;
    box-shadow:0 20px 45px rgba(0,0,0,.28);
  }
  .primary-nav.is-open{display:flex}
  .pillars{grid-template-columns:1fr}
  .pillar:not(:last-child)::after{top:auto;left:20px;right:20px;bottom:0;width:auto;height:1px}
  .books-layout{grid-template-columns:1fr}
  .books-intro{position:static}
  .book-grid{grid-template-columns:1fr}
  .article-grid{grid-template-columns:1fr}
  .lecture,.guide{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:760px){
  body.admin-bar .site-header{top:46px}
  .container{width:min(100% - 28px,1200px)}
  .site-branding span{display:none}
  .hero{min-height:760px;background-position:68% center}
  .hero-content{padding-top:145px}
  .actions{flex-direction:column;align-items:stretch}
  .pillars-wrap{margin-top:-36px}
  .pillar{grid-template-columns:54px 1fr;padding:26px 22px}
  .section{padding:76px 0}
  .book-card{grid-template-columns:1fr}
  .book-card img{max-width:260px;margin:auto}
  .lecture-content{padding:36px 26px}
  .guide-card{padding:26px 22px}
  .footer-grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition:none!important}
  .reveal{opacity:1;transform:none}
}


/* Version 4.2 – tematiska ingångar ur böckerna */
.book-reference{
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid rgba(44,36,31,.10);
  color:var(--bsu-muted);
  font-size:14px;
  line-height:1.55;
}
.book-reference strong{
  display:block;
  margin-bottom:3px;
  color:var(--bsu-text);
}
.article-card--book .article-image{
  position:relative;
}
.article-card--book .article-image::after{
  content:"Ur böckerna";
  position:absolute;
  left:18px;
  bottom:16px;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(18,13,11,.78);
  color:white;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}


/* Version 5 – Kunskapsplattformen */
.knowledge-toolbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
  margin:34px 0 0;
}
.knowledge-filters{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.filter-link{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:10px 15px;
  border:1px solid rgba(44,36,31,.13);
  border-radius:999px;
  background:white;
  color:var(--bsu-text);
  text-decoration:none;
  font-size:14px;
  font-weight:800;
}
.filter-link:hover,
.filter-link.is-active{
  border-color:var(--bsu-orange);
  background:var(--bsu-orange);
  color:white;
}
.article-card{
  position:relative;
  display:flex;
  flex-direction:column;
}
.article-body{
  display:flex;
  flex:1;
  flex-direction:column;
}
.article-body .text-link{margin-top:auto;padding-top:12px}
.article-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
  color:var(--bsu-muted);
  font-size:12px;
  font-weight:700;
}
.content-badge{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:7px 10px;
  border-radius:999px;
  background:#eef2ef;
  color:var(--bsu-forest);
  font-size:11px;
  font-weight:900;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.content-badge--book{
  background:#fff0e5;
  color:#9f4918;
}
.book-source{
  margin:18px 0 0;
  padding:16px 18px;
  border-left:3px solid var(--bsu-orange);
  border-radius:0 9px 9px 0;
  background:#fbf4ec;
  color:var(--bsu-muted);
  font-size:14px;
  line-height:1.6;
}
.book-source strong{color:var(--bsu-text)}
.reading-time{white-space:nowrap}
.empty-state{
  grid-column:1/-1;
  padding:40px;
  border:1px dashed rgba(44,36,31,.18);
  border-radius:16px;
  text-align:center;
  color:var(--bsu-muted);
  background:white;
}
.related-section{
  margin-top:70px;
  padding-top:44px;
  border-top:1px solid rgba(44,36,31,.12);
}
.related-section h2{
  font-family:Georgia,serif;
  font-size:38px;
  font-weight:500;
}
.related-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
.related-card{
  padding:22px;
  border-radius:14px;
  background:var(--bsu-cream);
}
.related-card h3{
  margin:10px 0 8px;
  font-family:Georgia,serif;
  font-size:24px;
  font-weight:500;
}
.related-card a{text-decoration:none}
.post-intro{
  font-size:21px!important;
  color:#4f443d;
}
.editor-note{
  margin-top:26px;
  padding:16px 18px;
  border-radius:10px;
  background:#f6f1ea;
  color:#5c514a;
  font-size:14px;
}
@media(max-width:900px){
  .related-grid{grid-template-columns:1fr}
}

/* Version 5.3 – färdiga undersidor */
.subpage-hero{position:relative;padding:180px 0 88px;overflow:hidden;color:white;background:linear-gradient(90deg,rgba(18,13,11,.96),rgba(18,13,11,.76),rgba(18,13,11,.34)),url("assets/images/hero-scene.jpg") center/cover no-repeat}
.subpage-hero::after{content:"";position:absolute;inset:auto 0 0 0;height:140px;background:linear-gradient(to top,rgba(18,13,11,.55),transparent)}
.subpage-hero .container{position:relative;z-index:2}
.subpage-hero h1{max-width:920px;margin:0;font-family:Georgia,"Times New Roman",serif;font-size:clamp(50px,7vw,84px);line-height:1;font-weight:500}
.subpage-hero p{max-width:780px;margin:24px 0 0;color:rgba(255,255,255,.84);font-size:20px;line-height:1.72}
.subpage-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:28px}
.info-card{padding:32px;border-radius:18px;background:white;box-shadow:0 14px 38px rgba(18,13,11,.10)}
.info-card h3{margin:0 0 14px;font-family:Georgia,serif;font-size:30px;font-weight:500}
.info-card p{color:var(--bsu-muted)}
.icon-number{width:48px;height:48px;display:grid;place-items:center;margin-bottom:20px;border-radius:50%;background:var(--bsu-forest);color:white;font-family:Georgia,serif;font-size:22px}
.check-list{list-style:none;margin:24px 0 0;padding:0;display:grid;gap:12px}
.check-list li{position:relative;padding-left:28px;color:#4f443d}
.check-list li::before{content:"";position:absolute;left:0;top:.62em;width:10px;height:10px;border-radius:50%;background:var(--bsu-orange)}
.split-section{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.split-visual{min-height:430px;border-radius:22px;background:linear-gradient(rgba(18,13,11,.10),rgba(18,13,11,.22)),url("assets/images/hero-scene.jpg") center/cover no-repeat;box-shadow:var(--bsu-shadow)}
.cta-panel{padding:52px;border-radius:22px;background:var(--bsu-forest);color:white;box-shadow:var(--bsu-shadow)}
.cta-panel h2{margin:0;color:white;font-family:Georgia,serif;font-size:clamp(38px,5vw,58px);line-height:1.08;font-weight:500}
.cta-panel p{color:rgba(255,255,255,.76);font-size:18px;line-height:1.72}
.books-page-grid{display:grid;gap:70px}
.books-page-card{display:grid;grid-template-columns:minmax(260px,380px) 1fr;gap:58px;align-items:center;padding:44px;border-radius:22px;background:white;box-shadow:var(--bsu-shadow)}
.books-page-card:nth-child(even){grid-template-columns:1fr minmax(260px,380px)}
.books-page-card:nth-child(even) .books-page-cover{order:2}
.books-page-cover{position:relative}
.books-page-cover::before{content:"";position:absolute;inset:20px -18px -20px 18px;border-radius:12px;background:var(--bsu-cream)}
.books-page-cover img{position:relative;z-index:2;display:block;width:100%;border-radius:8px;box-shadow:0 24px 55px rgba(18,13,11,.28)}
.books-page-card h2{margin:0 0 18px;font-family:Georgia,"Times New Roman",serif;font-size:clamp(38px,5vw,58px);line-height:1.06;font-weight:500}
.books-page-subtitle{margin:0 0 22px;color:var(--bsu-orange);font-size:16px;font-weight:800}
.books-page-copy p{color:var(--bsu-muted);font-size:18px;line-height:1.75}
.books-page-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:28px}
.contact-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:44px;align-items:start}
.contact-details{padding:34px;border-radius:18px;background:var(--bsu-forest);color:white}
.contact-details h2{margin-top:0;font-family:Georgia,serif;font-size:38px;font-weight:500}
.contact-details p,.contact-details a{color:rgba(255,255,255,.78)}
.contact-form{display:grid;gap:18px;padding:34px;border-radius:18px;background:white;box-shadow:0 14px 38px rgba(18,13,11,.10)}
.contact-form label{display:block;font-weight:800;margin-bottom:7px}
.contact-form input,.contact-form textarea,.contact-form select{width:100%;padding:13px 14px;border:1px solid rgba(44,36,31,.18);border-radius:8px;background:#fff}
.contact-form textarea{min-height:180px;resize:vertical}
.form-message{padding:14px 16px;border-radius:8px;background:#edf6ee;color:#244c2c}
.form-error{padding:14px 16px;border-radius:8px;background:#fff0ed;color:#8d2e1b}
@media(max-width:900px){.subpage-grid,.split-section,.contact-layout,.books-page-card,.books-page-card:nth-child(even){grid-template-columns:1fr}.books-page-card:nth-child(even) .books-page-cover{order:0}.books-page-cover{max-width:360px;margin-inline:auto}}
@media(max-width:640px){.books-page-card{padding:28px 22px}.cta-panel{padding:34px 24px}.books-page-actions{flex-direction:column}}

/* Version 5.5 – köpvägar och användning av bokserien */
.book-use-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:42px}
.book-use-card{padding:30px;border-radius:18px;background:white;box-shadow:0 14px 38px rgba(18,13,11,.10)}
.book-use-card h3{margin:0 0 12px;font-family:Georgia,"Times New Roman",serif;font-size:29px;line-height:1.15;font-weight:500}
.book-use-card p{margin:0;color:var(--bsu-muted);line-height:1.7}
.book-use-label{display:inline-block;margin-bottom:18px;color:var(--bsu-orange);font-size:13px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.book-final-actions{display:flex;gap:14px;flex-wrap:wrap;justify-content:center;margin-top:34px}
@media(max-width:900px){.book-use-grid{grid-template-columns:1fr}}
@media(max-width:640px){.book-final-actions{flex-direction:column}}

/* Version 5.6 – förenklad Kunskapsbank */
.archive-hero .section-intro{max-width:820px;margin-left:auto;margin-right:auto;margin-bottom:0}
.archive-hero + .section{padding-top:58px}


/* Version 5.7 – formulärsvar sparas även i WordPress */
.form-warning{
  padding:14px 16px;
  border-radius:8px;
  background:#fff7e6;
  color:#7a4b00;
}
.contact-form .hp-field{
  position:absolute!important;
  left:-9999px!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
}


/* Version 6.1 – Möt författarna */
.authors-intro{
  max-width:860px;
  margin:0 auto 54px;
  text-align:center;
}
.authors-grid{
  display:grid;
  gap:60px;
}
.author-profile{
  display:grid;
  grid-template-columns:minmax(280px,420px) 1fr;
  gap:54px;
  align-items:center;
  padding:42px;
  border-radius:22px;
  background:#fff;
  box-shadow:0 16px 44px rgba(18,13,11,.10);
}
.author-profile:nth-child(even){
  grid-template-columns:1fr minmax(280px,420px);
}
.author-profile:nth-child(even) .author-image{
  order:2;
}
.author-image{
  min-height:460px;
  border-radius:18px;
  overflow:hidden;
  background:
    linear-gradient(180deg,rgba(27,39,34,.08),rgba(27,39,34,.18)),
    url("assets/images/hero-scene.jpg") center/cover no-repeat;
}
.author-copy h2{
  margin:0 0 12px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(40px,5vw,60px);
  line-height:1.05;
  font-weight:500;
}
.author-role{
  margin:0 0 24px;
  color:var(--bsu-orange);
  font-weight:800;
}
.author-copy p{
  color:var(--bsu-muted);
  font-size:18px;
  line-height:1.75;
}
.authors-story{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:42px;
  align-items:start;
}
.authors-story-card{
  padding:34px;
  border-radius:18px;
  background:white;
  box-shadow:0 14px 38px rgba(18,13,11,.09);
}
.authors-story-card h3{
  margin:0 0 14px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:31px;
  font-weight:500;
}
.authors-principles{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  margin-top:34px;
}
.authors-principle{
  padding:24px;
  border-radius:16px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
}
.authors-principle strong{
  display:block;
  margin-bottom:8px;
  color:#fff;
  font-family:Georgia,"Times New Roman",serif;
  font-size:22px;
  font-weight:500;
}
.authors-principle span{
  color:rgba(255,255,255,.74);
  line-height:1.6;
}
.authors-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:30px;
}
@media(max-width:960px){
  .author-profile,
  .author-profile:nth-child(even),
  .authors-story,
  .authors-principles{
    grid-template-columns:1fr;
  }
  .author-profile:nth-child(even) .author-image{order:0}
}
@media(max-width:640px){
  .author-profile{padding:26px 20px}
  .author-image{min-height:340px}
  .authors-actions{flex-direction:column}
}


/* Version 6.3 – fördjupad och mer exklusiv författarsida */
.author-profile{
  position:relative;
  overflow:hidden;
}
.author-profile::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 20% 10%, rgba(218,104,26,.09), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,0), rgba(93,65,44,.04));
}
.author-image{
  position:relative;
  box-shadow:0 22px 50px rgba(18,13,11,.18);
}
.author-image::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(54,34,20,0),rgba(54,34,20,.16));
}
.author-image img{
  display:block;
  filter:saturate(.88) contrast(1.03) sepia(.05);
}
.author-quote{
  margin:26px 0 0;
  padding:20px 24px;
  border-left:4px solid var(--bsu-orange);
  border-radius:0 14px 14px 0;
  background:rgba(218,104,26,.07);
  font-family:Georgia,"Times New Roman",serif;
  font-size:23px;
  line-height:1.45;
  color:var(--bsu-text);
}
.author-quote cite{
  display:block;
  margin-top:10px;
  font-family:inherit;
  font-size:14px;
  font-style:normal;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--bsu-orange);
}
.authors-timeline{
  position:relative;
  max-width:980px;
  margin:52px auto 0;
}
.authors-timeline::before{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  left:50%;
  width:2px;
  transform:translateX(-50%);
  background:linear-gradient(var(--bsu-orange),rgba(218,104,26,.12));
}
.timeline-item{
  position:relative;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:64px;
  margin-bottom:40px;
}
.timeline-item:nth-child(even) .timeline-card{
  grid-column:2;
}
.timeline-dot{
  position:absolute;
  top:30px;
  left:50%;
  width:18px;
  height:18px;
  transform:translateX(-50%);
  border:4px solid #fff;
  border-radius:50%;
  background:var(--bsu-orange);
  box-shadow:0 0 0 3px rgba(218,104,26,.22);
}
.timeline-card{
  padding:28px;
  border-radius:18px;
  background:#fff;
  box-shadow:0 14px 38px rgba(18,13,11,.09);
}
.timeline-card .eyebrow{margin-bottom:10px}
.timeline-card h3{
  margin:0 0 12px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:30px;
  font-weight:500;
}
.timeline-card p{
  margin:0;
  color:var(--bsu-muted);
  line-height:1.7;
}
.beliefs-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
  margin-top:40px;
}
.belief-card{
  padding:32px;
  border-radius:18px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
}
.belief-number{
  display:inline-flex;
  width:38px;
  height:38px;
  align-items:center;
  justify-content:center;
  margin-bottom:18px;
  border-radius:50%;
  background:var(--bsu-orange);
  color:#fff;
  font-weight:900;
}
.belief-card h3{
  margin:0 0 12px;
  color:#fff;
  font-family:Georgia,"Times New Roman",serif;
  font-size:28px;
  font-weight:500;
}
.belief-card p{
  margin:0;
  color:rgba(255,255,255,.75);
  line-height:1.7;
}
@media(max-width:900px){
  .authors-timeline::before{left:14px}
  .timeline-item{grid-template-columns:1fr;padding-left:42px;gap:0}
  .timeline-item:nth-child(even) .timeline-card{grid-column:1}
  .timeline-dot{left:14px}
  .beliefs-grid{grid-template-columns:1fr}
}
