:root {
  color-scheme: light;
  --ink: #142b3b;
  --gold: #b88a4c;
  --paper: #fbfaf7;
  --line: #e6dfd3;
  --muted: #5d6a73;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 system-ui,-apple-system,Segoe UI,sans-serif;
}
a {
  color: #24546c;
}
a:hover {
  color: #93632c;
}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible {
  outline: 3px solid #b88a4c;
  outline-offset: 3px;
}
.shell {
  max-width: 1180px;
  margin: auto;
  padding: 0 24px;
}
.hero {
  margin: 22px auto 0;
  max-width: 1320px;
  min-height: 270px;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(100deg,#0a2435 0%,#19374abf 58%,#0a2435aa 100%),url("sidhuvud-referens.png") center 53%/cover;
  box-shadow: 0 12px 30px #17324222;
  color: white;
  padding: 25px 38px 42px;
}
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #fff;
}
.lotus {
  font-size: 40px;
  color: #f2c878;
  line-height: 1;
}
.brand strong {
  display: block;
  font: clamp(17px,2vw,29px)/1.2 Georgia,serif;
  letter-spacing: .09em;
}
.brand small {
  display: block;
  font-size: 12px;
  letter-spacing: .19em;
}
.nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}
.nav a[aria-current=page] {
  border-bottom: 2px solid #e8bd77;
}
.hero blockquote {
  margin: 45px 0 0;
  max-width: 620px;
  font: italic clamp(19px,2.1vw,28px)/1.45 Georgia,serif;
}
.menu-toggle {
  display: none;
}
.main {
  padding-top: 48px;
  padding-bottom: 70px;
}
.eyebrow {
  color: #956b3a;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  font-weight: 700;
}
h1,h2,h3 {
  font-family: Georgia,serif;
  line-height: 1.25;
}
h1 {
  font-size: clamp(30px,4vw,46px);
  margin: 9px 0;
}
h2 {
  font-size: 29px;
}
p.lead {
  color: var(--muted);
  max-width: 790px;
  font-size: 18px;
}
.toolbar {
  display: grid;
  grid-template-columns: minmax(230px,2fr) 1fr 1fr;
  gap: 12px;
  background: white;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  margin: 30px 0 16px;
  box-shadow: 0 6px 25px #132c3b0b;
}
input,select {
  width: 100%;
  font: inherit;
  padding: 12px 13px;
  border: 1px solid #d7d1c7;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
.status {
  color: var(--muted);
  margin: 12px 0 20px;
}
.list {
  display: grid;
  gap: 12px;
}
.entry {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 17px 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 15px;
  align-items: center;
}
.entry h3 {
  font: 600 17px/1.5 system-ui,sans-serif;
  margin: 4px 0;
}
.entry h3 a {
  text-decoration: none;
}
.entry h3 a:hover {
  text-decoration: underline;
}
.meta {
  color: #6a6f73;
  font-size: 13px;
}
.badge {
  display: inline-block;
  background: #f5eee3;
  color: #725029;
  border-radius: 50px;
  padding: 2px 10px;
  font-size: 12px;
  margin-right: 7px;
}
.arrow {
  color: #b88a4c;
  font-size: 24px;
  text-decoration: none;
}
.pages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}
.pages button,.button {
  border: 1px solid #b88a4c;
  border-radius: 10px;
  padding: 9px 14px;
  background: white;
  color: #77532c;
  cursor: pointer;
  text-decoration: none;
  font: inherit;
}
.pages button[aria-current=page],.button.primary {
  background: #ad7f47;
  color: white;
}
.cards {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
  margin-top: 28px;
}
.card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 18px;
  padding: 25px;
  box-shadow: 0 5px 15px #142b3b09;
}
.card h2 {
  font-size: 23px;
}
.card p {
  color: #53616b;
}
.article {
  max-width: 850px;
  margin: auto;
}
.article p {
  margin: 1.1em 0;
}
.article-links {
  border-top: 1px solid var(--line);
  margin-top: 35px;
  padding-top: 15px;
}
.article-links li {
  margin-bottom: 9px;
  overflow-wrap: anywhere;
}
.updated {
  font-size: 13px;
  color: #64717b;
}
.footer {
  background: #142b3b;
  color: #e9e4dc;
  padding: 17px 24px;
  text-align: center;
  font-size: 13px;
}
.empty {
  padding: 30px;
  border: 1px dashed #c9bba9;
  border-radius: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
@media (max-width:760px) {
  .hero {
    margin: 10px;
    min-height: 230px;
    padding: 20px;
    border-radius: 22px;
  }
  .top {
    align-items: flex-start;
  }
  .brand strong {
    font-size: 17px;
  }
  .brand small {
    font-size: 9px;
    letter-spacing: .07em;
  }
  .lotus {
    font-size: 28px;
  }
  .menu-toggle {
    display: block;
    border: 1px solid #fff8;
    background: #102e3d99;
    color: white;
    padding: 7px 11px;
    border-radius: 8px;
  }
  .nav {
    display: none;
    position: absolute;
    right: 30px;
    top: 80px;
    z-index: 10;
    background: #102d3c;
    padding: 18px;
    border-radius: 14px;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav.open {
    display: flex;
  }
  .hero blockquote {
    margin-top: 37px;
    font-size: 18px;
  }
  .toolbar {
    grid-template-columns: 1fr;
  }
  .entry {
    padding: 15px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .main {
    padding-top: 30px;
  }
}
@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
}
/* Tillgänglighet: tydlig tangentbordsnavigering och beröringsytor */
.skip-link {
  position: absolute;
  z-index: 1000;
  top: 8px;
  left: 8px;
  background: #fff;
  color: #142b3b;
  padding: 12px 18px;
  border: 3px solid #b88a4c;
  border-radius: 8px;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: translateY(0);
}
.nav a,.menu-toggle,.pages button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav a {
  padding: 6px 2px;
}
.entry h3 a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.entry h3 a:hover {
  text-decoration-thickness: 2px;
}
.meta,.updated {
  color: #505b63;
}
.badge {
  color: #60401b;
}
.pages button[aria-current=page],.button.primary {
  background: #77532c;
  color: #fff;
}
@media (max-width:760px) {
  .nav {
    max-width: calc(100vw - 60px);
  }
  .nav a {
    min-height: 44px;
  }
}
/* SEO topic navigation: visible, accessible internal links */
.seo-topics {
  margin: 2.5rem 0 1.5rem;
  padding: 1.4rem;
  border: 1px solid #dbc9ad;
  border-radius: 1rem;
  background: #fffaf2;
}
.topic-links {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: .7rem 1.2rem;
  padding-left: 1.2rem;
}
.topic-links a,.seo-intro a {
  text-decoration: underline;
  text-underline-offset: .2em;
}
.seo-intro {
  font-size: 1.06rem;
  line-height: 1.7;
}
@media (max-width:640px) {
  .seo-topics {
    padding: 1rem;
  }
  .topic-links {
    grid-template-columns: 1fr;
  }
}
/* SIDHUVUD — referensdesign 2026-10-28. Endast dessa regler behöver uppdateras. */
body {
  background: #f3efe6;
}
.hero {
  position: relative;
  isolation: isolate;
  width: calc(100% - 56px);
  max-width: 1360px;
  min-height: 0;
  aspect-ratio: 4.05/1;
  margin: 32px auto 0;
  padding: 22px 34px 32px;
  border-radius: 30px;
  overflow: hidden;
  background-image: linear-gradient(90deg,rgba(3,28,40,.65) 0%,rgba(3,28,40,.28) 41%,rgba(3,28,40,.05) 74%),url("sidhuvud-referens.png") !important;
  background-size: cover;
  background-position: center 54%;
  box-shadow: 0 15px 28px rgba(33,34,30,.14);
}
.top {
  align-items: flex-start;
  gap: 14px;
}
.brand {
  gap: 15px;
  flex-shrink: 0;
  max-width: 55%;
}
.brand .lotus {
  display: inline-block;
  flex: none;
  width: 65px;
  height: 61px;
  font-size: 0;
  line-height: 0;
  background: url("lotus.svg") center/contain no-repeat;
}
.brand strong {
  font: normal clamp(17px,2vw,27px)/1.18 Georgia,"Times New Roman",serif;
  letter-spacing: .09em;
  white-space: nowrap;
  text-shadow: 0 1px 6px #102c39a6;
}
.brand small {
  margin-top: 4px;
  font: normal clamp(10px,1.05vw,14px)/1.3 Georgia,serif;
  letter-spacing: .19em;
  color: #f3e9dc;
}
.nav {
  gap: clamp(16px,2.3vw,35px);
  padding-top: 6px;
}
.nav a {
  font: normal clamp(13px,1.15vw,17px)/1.5 Georgia,serif;
  white-space: nowrap;
  text-shadow: 0 1px 4px #102c3980;
}
.nav a[aria-current=page] {
  border-bottom: 1px solid #eab85e;
  padding-bottom: 5px;
}
.hero blockquote {
  position: relative;
  max-width: 425px;
  margin: clamp(27px,3.7vw,55px) 0 0 5%;
  padding: 0 0 21px;
  text-align: center;
  font: italic clamp(17px,1.65vw,24px)/1.45 Georgia,"Times New Roman",serif;
  text-shadow: 0 1px 5px #09222b;
  letter-spacing: .015em;
}
.hero blockquote:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 5%;
  width: 90%;
  height: 1px;
  background: linear-gradient(90deg,transparent,#edb75a 40%,#edb75a 60%,transparent);
}
@media (min-width:761px) and (max-width:1020px) {
  .hero {
    aspect-ratio: 3.5/1;
    padding: 19px 23px;
  }
  .brand .lotus {
    width: 49px;
    height: 49px;
  }
  .brand strong {
    font-size: 19px;
  }
  .brand small {
    font-size: 10px;
    letter-spacing: .1em;
  }
  .nav {
    gap: 12px;
  }
  .nav a {
    font-size: 12px;
  }
  .hero blockquote {
    font-size: 18px;
    max-width: 360px;
    margin-top: 25px;
  }
}
@media (max-width:760px) {
  .hero {
    width: calc(100% - 24px);
    margin: 12px auto 0;
    aspect-ratio: auto;
    min-height: 305px;
    padding: 17px 18px 24px;
    border-radius: 22px;
    background-position: 60% center;
  }
  .brand {
    max-width: calc(100% - 60px);
    gap: 8px;
  }
  .brand .lotus {
    width: 42px;
    height: 43px;
  }
  .brand strong {
    font-size: clamp(14px,3.6vw,19px);
    white-space: normal;
    letter-spacing: .04em;
  }
  .brand small {
    font-size: 9px;
    letter-spacing: .06em;
  }
  .menu-toggle {
    display: block;
    margin-left: auto;
  }
  .nav {
    top: 72px;
    right: 28px;
    left: 28px;
    gap: 16px;
    padding: 19px;
    box-shadow: 0 8px 20px #0005;
  }
  .nav a {
    font-size: 16px;
    white-space: normal;
  }
  .hero blockquote {
    max-width: 340px;
    margin: 55px auto 0;
    padding-bottom: 18px;
    font-size: clamp(17px,4.4vw,20px);
  }
}
/* Godkänt panoramasidhuvud: bildens originalkomposition bevaras. */
/* Godkänt sidhuvud: bildens inbyggda text visas exakt en gång. */
.hero-approved {
  position: relative;
  width: min(1440px,calc(100% - 32px));
  aspect-ratio: 4.02/1;
  margin: 22px auto 0;
  padding: 0 !important;
  min-height: 0 !important;
  border: 0 !important;
  border-radius: clamp(16px,2.4vw,34px);
  overflow: hidden;
  background: #092a3c !important;
  box-shadow: 0 16px 32px #162a321c;
  color: #fff;
}
.hero-approved .hero-art {
  position: absolute;
  inset: 0;
  background-image: url("sidhuvud-godkand.webp");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}
.hero-approved .hero-logo {
  position: absolute;
  left: 4%;
  top: 4%;
  width: 37%;
  height: 27%;
  z-index: 2;
}
.hero-approved .hero-hotspot-nav {
  position: absolute;
  right: 2%;
  top: 4%;
  width: 36%;
  height: 27%;
  display: flex;
  z-index: 2;
}
.hero-approved .hero-hotspot-nav a {
  display: block;
  height: 100%;
}
.hero-approved .hotspot-research {
  width: 29%;
}
.hero-approved .hotspot-articles {
  width: 23%;
}
.hero-approved .hotspot-about {
  width: 48%;
}
.hero-approved a:focus-visible {
  outline: 3px solid #ffd27b;
  outline-offset: -3px;
  border-radius: 6px;
  background: #ffffff20;
}
.hero-mobile-nav {
  display: none;
}
@media (max-width:760px) {
  .hero-approved {
    width: calc(100% - 24px);
    margin-top: 12px;
    aspect-ratio: 4.02/1;
    border-radius: 17px;
  }
  .hero-approved .hero-hotspot-nav,.hero-approved .hero-logo {
    display: none;
  }
  .hero-mobile-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0 12px 16px;
    padding: 12px 8px;
    background: #102c3b;
    border-radius: 0 0 14px 14px;
  }
  .hero-mobile-nav a {
    font-size: 13px;
    color: white;
    text-decoration: none;
    padding: 7px 10px;
    border-radius: 8px;
  }
  .hero-mobile-nav a[aria-current=page] {
    text-decoration: underline;
    text-decoration-color: #e9b85c;
    text-underline-offset: 5px;
  }
  .hero-approved+.hero-mobile-nav+.main {
    padding-top: 20px;
  }
}
/* Mobilversion 2: fristående, läsbar layout. Desktop förblir oförändrad. */
.mobile-hero {
  display: none;
}
@media (max-width:760px) {
  .hero-approved,.hero-mobile-nav {
    display: none !important;
  }
  .mobile-hero {
    display: block;
    margin: 12px 12px 0;
    border-radius: 23px;
    overflow: hidden;
    background: #092b3b;
    box-shadow: 0 12px 25px #142b3b25;
    color: #fff;
  }
  .mobile-hero__top {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 17px 17px 14px;
    background: #102f41;
  }
  .mobile-hero__logo {
    width: 47px;
    height: 47px;
    flex: none;
  }
  .mobile-hero__brand {
    text-decoration: none;
    color: #fff;
    min-width: 0;
  }
  .mobile-hero__brand strong {
    display: block;
    font: 19px/1.16 Georgia,serif;
    letter-spacing: .035em;
  }
  .mobile-hero__brand span {
    display: block;
    margin-top: 4px;
    font-size: 10px;
    letter-spacing: .10em;
    color: #e9e0d3;
  }
  .mobile-hero__nav {
    display: grid;
    grid-template-columns: 1fr 1fr 1.35fr;
    gap: 3px;
    padding: 0 12px 13px;
    background: #102f41;
  }
  .mobile-hero__nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 6px 5px;
    border-radius: 9px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 12px;
    line-height: 1.3;
  }
  .mobile-hero__nav a[aria-current=page] {
    background: #ffffff1b;
    color: #ffdda0;
    text-decoration: underline;
    text-underline-offset: 5px;
  }
  .mobile-hero__scene {
    position: relative;
    min-height: 295px;
    background: linear-gradient(180deg,rgba(5,30,43,.12),rgba(5,30,43,.18) 48%,rgba(5,30,43,.78)),url("sidhuvud-godkand.webp") right 57% / auto 130% no-repeat;
  }
  .mobile-hero__scene:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,#092b3b16,#092b3b00);
  }
  .mobile-hero__quote {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    margin: 0;
    text-align: center;
    font: italic clamp(16px,4.1vw,20px)/1.45 Georgia,serif;
    text-shadow: 0 2px 6px #001723;
  }
  .mobile-hero__quote:after {
    content: "◆";
    display: block;
    margin: 9px auto 0;
    font: 11px Georgia,serif;
    color: #e4b768;
  }
  .mobile-hero+.main {
    padding-top: 24px;
  }
}
@media (max-width:360px) {
  .mobile-hero__brand strong {
    font-size: 16px;
  }
  .mobile-hero__brand span {
    font-size: 9px;
    letter-spacing: .06em;
  }
  .mobile-hero__logo {
    width: 39px;
    height: 39px;
  }
  .mobile-hero__nav a {
    font-size: 11px;
  }
}
/* Guldunderstrykning styrs av sidans aria-current i HTML, inte av panoramabilden. */
@media (min-width:761px) {
  .hero-approved .hero-hotspot-nav a[aria-current="page"]::after {
    content: "";
    position: absolute;
    top: 47%;
    height: 2px;
    background: #e8b75c;
    pointer-events: none;
  }
  .hero-approved .hotspot-research[aria-current="page"]::after {
    left: 11%;
    width: 17%;
  }
  .hero-approved .hotspot-articles[aria-current="page"]::after {
    left: 33%;
    width: 12%;
  }
  .hero-approved .hotspot-about[aria-current="page"]::after {
    left: 49%;
    width: 42%;
  }
}
/* NAVIGATION 2026-10-29: riktiga HTML-länkar över retuscherad bild.
   Ingen absolut positionerad dekorationslinje: varje länk äger sin egen linje. */
@media (min-width:761px) {
  .hero-approved .hero-hotspot-nav {
    top: 5.5%;
    right: 3.1%;
    width: auto;
    height: auto;
    display: flex;
    align-items: flex-start;
    gap: clamp(12px,1.9vw,35px);
    z-index: 4;
  }
  .hero-approved .hero-hotspot-nav a {
    width: auto !important;
    height: auto;
    display: inline-block;
    position: relative;
    padding: 3px 0 7px;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    font: normal clamp(11px,1.16vw,21px)/1.2 Georgia,"Times New Roman",serif;
    text-shadow: 0 1px 4px #092330;
  }
  .hero-approved .hero-hotspot-nav a[aria-current="page"]::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 2px !important;
    background: #e8b75c;
  }
  .hero-approved .hero-hotspot-nav a:hover {
    color: #ffdc9d;
  }
}
/* Mobil panoramavy utan beskärning – endast smala fönster. */
@media (max-width:760px) {
  .mobile-hero__scene {
    min-height: 0 !important;
    height: auto !important;
    background: none !important;
    position: static !important;
  }
  .mobile-hero__scene::before {
    display: none !important;
  }
  .mobile-hero__landscape {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  .mobile-hero__quote--below {
    position: static !important;
    inset: auto !important;
    display: block;
    margin: 0 !important;
    padding: 15px 18px 20px;
    background: #102f41;
    color: #fff;
    text-align: center;
    font: italic clamp(16px,3.8vw,19px)/1.5 Georgia,serif;
    text-shadow: none;
  }
  .mobile-hero__quote--below::after {
    content: "◆";
    display: block;
    margin: 9px auto 0;
    font: 11px Georgia,serif;
    color: #e4b768;
  }
}
/* Lokal JSON-testning, dold när sidan körs via webbhotell */
.local-json-helper {
  display: none;
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid #c9b985;
  border-radius: 12px;
  background: #faf7ee;
}
.local-json-helper label {
  display: block;
  font-weight: 600;
  margin-bottom: .5rem;
}
.local-json-helper input {
  display: block;
  max-width: 100%;
  margin-bottom: .5rem;
}
.local-json-helper small {
  display: block;
  line-height: 1.5;
}
body:has(.local-json-helper) .local-json-helper {
  display: none;
}
/* Fyra menyalternativ: Forskning, Artiklar, Författare, Om. */
@media (min-width:761px) {
  .hero-approved .hero-hotspot-nav {
    gap: clamp(9px,1.35vw,25px);
    right: 2.6%;
  }
  .hero-approved .hero-hotspot-nav a {
    font-size: clamp(10px,1.05vw,19px);
  }
}
@media (max-width:760px) {
  .mobile-hero__nav {
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 2px;
  }
  .mobile-hero__nav a {
    font-size: clamp(9px,2.6vw,12px);
    overflow-wrap: anywhere;
  }
}
/* Mjukare menylänkar – enbart typografi, ingen ändring av sidhuvudsbilden. */
@media (min-width:761px) {
  .hero-approved .hero-hotspot-nav a {
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    letter-spacing: .015em;
    line-height: 1.3;
  }
}
@media (max-width:760px) {
  .mobile-hero__nav a {
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    letter-spacing: .01em;
  }
}
/* Kompakt gemensam sidfot med befintlig lotus.svg. */
.footer {
  padding: 11px 18px;
}
.sidfot-innehall {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 38px;
}
.sidfot-lotus {
  width: 40px;
  height: 35px;
  object-fit: contain;
  flex: 0 0 auto;
}
@media (max-width: 520px) {
  .footer {
    padding: 10px 12px;
  }
  .sidfot-innehall {
    gap: 10px;
    text-align: left;
  }
  .sidfot-lotus {
    width: 32px;
    height: 28px;
  }
}
/* Korta artikelintroduktioner */
.article-intro {
  margin: 1rem 0 1.6rem;
  max-width: 76ch;
  line-height: 1.75;
}
.article-updated {
  margin: .35rem 0 1.1rem;
  font-size: .9rem;
  color: #58636b;
}
/* Flera artiklar i varje befintligt ämneskort */
.amne-artiklar {
  margin: 12px 0 0;
  padding-left: 1.2rem;
}
.amne-artiklar li {
  margin: .35rem 0;
}
.amne-artiklar li[hidden], .amne-visa-fler[hidden] {
  display: none !important;
}
.amne-artiklar a {
  text-decoration: none;
}
.amne-artiklar a:hover {
  text-decoration: underline;
}
.amne-visa-fler {
  margin-top: 8px;
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: #77532c;
  font: inherit;
  cursor: pointer;
}
.amne-visa-fler:hover {
  text-decoration: underline;
}
/* Förslag 2: tydliga, kompakta länkrutor inuti befintliga ämneskort. */
.cards > .card[data-amne] .amne-artiklar {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 8px;
}
.cards > .card[data-amne] .amne-artiklar li {
  margin: 0;
  min-width: 0;
}
.cards > .card[data-amne] .amne-artiklar a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 9px 11px;
  box-sizing: border-box;
  border: 1px solid #cda25f;
  border-radius: 10px;
  background: #fcf8ef;
  color: #835419;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
  transition: background .15s, border-color .15s;
}
.cards > .card[data-amne] .amne-artiklar a::before {
  content: "▤";
  flex: 0 0 auto;
  font-size: 1.1em;
  color: #a8762c;
}
.cards > .card[data-amne] .amne-artiklar a::after {
  content: "→";
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 1.15em;
}
.cards > .card[data-amne] .amne-artiklar a:hover,
.cards > .card[data-amne] .amne-artiklar a:focus-visible {
  background: #f5ead5;
  border-color: #9d6b28;
  text-decoration: underline;
}
.cards > .card[data-amne] .amne-artiklar a:focus-visible,
.cards > .card[data-amne] .amne-visa-fler:focus-visible {
  outline: 2px solid #77532c;
  outline-offset: 3px;
}
.cards > .card[data-amne] .amne-visa-fler:not([hidden]) {
  display: inline-block;
  border: 1px solid #bc873c;
  border-radius: 9px;
  padding: 8px 13px;
  margin-top: 11px;
  background: #fcf8ef;
  color: #835419;
  font-weight: 600;
}
.cards > .card[data-amne] .amne-visa-fler:hover {
  background: #f5ead5;
}
/* Utforska mer: alla kort följer samma mall som Poddar. */
main .cards > article.card[data-amne] {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}
main .cards > article.card[data-amne] > .amne-artiklar {
  width: 100%;
  margin-bottom: 0;
}
main .cards > article.card[data-amne] > .amne-visa-fler:not([hidden]) {
  align-self: flex-start;
  margin-top: auto;
  transform: translateY(10px);
  margin-bottom: 10px;
}
main .cards > article.card[data-amne] .amne-artiklar > li[hidden],
main .cards > article.card[data-amne] > .amne-visa-fler[hidden] {
  display: none !important;
}
/* Utforska mer: författarartiklar är separat navigering, inte en del av länkantalet. */
main .cards > article.card[data-amne] > a.utforska-forfattarlank {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 10px;
  padding: 12px 16px;
  border: 1px solid #c4b49c;
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
  background: rgba(255,255,255,.12);
}
main .cards > article.card[data-amne] > a.utforska-forfattarlank:hover {
  background: #f5ead5;
  text-decoration: underline;
}

/* Val av länkar till studier och sammanfattningar */
.link-view-choice { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin: 0.9rem 0 1.2rem; padding: 0.85rem 1rem; border: 1px solid #d8cbb8; border-radius: 10px; }
.link-view-choice .link-view-label { font-weight: 700; }
.link-view-choice label { display: inline-flex; align-items: center; gap: 0.35rem; cursor: pointer; }
.link-view-choice input { accent-color: #8b702f; }

/* Kompakt länktypsfilter med symbolknappar (alternativ D). */
.link-view-picker { margin-top: .7rem; }
.link-view-caption { display: block; margin-bottom: .35rem; }
.link-view-buttons { display: flex; flex-wrap: wrap; align-items: flex-start; gap: .8rem; }
.link-view-button { display: inline-flex; flex-direction: column; align-items: center; gap: .3rem; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; font: inherit; font-size: .78rem; line-height: 1.25; min-width: 5.2rem; }
.link-view-button svg { width: 2.9rem; height: 2.9rem; padding: .65rem; box-sizing: border-box; border: 1px solid #cfc7b7; border-radius: .75rem; background: #fffdf9; transition: background .15s, color .15s; }
.link-view-button.is-active svg { background: #53836a; color: white; border-color: #53836a; }
.link-view-button:focus-visible { outline: 2px solid #355e49; outline-offset: 4px; border-radius: .3rem; }
.visually-hidden-select { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

/* Language switch aligned to the same container as the approved hero. */
.language-switch{position:relative;z-index:10;display:flex;justify-content:flex-end;align-items:center;gap:8px;width:min(1440px,calc(100% - 32px));box-sizing:border-box;margin:12px auto -10px;padding:0;font:600 18px/1.3 Arial,sans-serif}
.language-switch a{display:inline-flex;align-items:center;gap:7px;color:#233848;text-decoration:none;padding:6px 8px;border-radius:5px}
.language-switch a[aria-current="page"]{color:#946218;text-decoration:underline;text-underline-offset:4px}
.language-switch a:focus-visible{outline:2px solid #946218}
.hero-approved .hero-art{background-image:url("sidhuvud-godkand.webp")!important}
html[lang="en"] .hero-approved .hero-art{background-image:url("sidhuvud-godkand.webp")!important}
.hero-approved .hero-english-quote{display:none!important}
@media(max-width:760px){.language-switch{width:calc(100% - 24px);font-size:16px;margin:10px auto -5px}}

/* Align language control with the header width, including on narrow screens. */
.language-switch{max-width:calc(100% - 40px);margin-right:auto;margin-left:auto;padding-right:0;}
@media(max-width:760px){.language-switch{max-width:calc(100% - 24px);}}

/* Compact language selector: exactly the same width and right edge as the hero. */
.language-switch{width:min(1440px,calc(100% - 32px));max-width:none;margin:12px auto 0;padding:0;gap:4px;font:600 17px/1.3 Arial,sans-serif}
.language-switch a{padding:5px 3px;gap:0}
.language-switch .language-separator{color:#8b8174;padding:0 2px}
@media(max-width:760px){.language-switch{width:calc(100% - 24px);max-width:none;margin:10px auto 0;font-size:16px}}

/* Language switch inside the approved image header, bottom-right. */
.hero-approved .language-switch{position:absolute;z-index:6;right:2.1%;bottom:5%;left:auto;top:auto;width:auto;max-width:45%;margin:0;padding:4px 10px;display:flex;align-items:center;justify-content:flex-end;gap:6px;background:rgba(5,20,30,.78);border:1px solid rgba(221,179,94,.35);border-radius:8px;font:600 clamp(13px,1.25vw,17px)/1.3 Arial,sans-serif;box-sizing:border-box}
.hero-approved .language-switch a{color:#f5efe5;text-decoration:none;padding:3px 5px;border-radius:3px}
.hero-approved .language-switch a[aria-current="page"]{color:#f3c36c;text-decoration:underline;text-underline-offset:4px}
.hero-approved .language-switch .language-separator{color:#d1c4b1;padding:0}
@media(max-width:760px){.hero-approved .language-switch{right:3%;bottom:5%;padding:2px 5px;gap:2px;font-size:13px}}

/* Language selector stays available when the desktop hero is hidden. */
.language-switch-mobile{display:none}
@media(max-width:760px){
  .language-switch-mobile{display:flex!important;position:relative!important;z-index:12;justify-content:flex-end;width:calc(100% - 24px);max-width:none;margin:12px auto 0;padding:0 10px;box-sizing:border-box;gap:8px;font:600 16px/1.4 Arial,sans-serif}
  .language-switch-mobile a{display:inline-flex;min-width:44px;min-height:44px;align-items:center;justify-content:center;color:#233848;text-decoration:none;border-radius:7px}
  .language-switch-mobile a[aria-current="page"]{color:#946218;text-decoration:underline;text-underline-offset:5px}
  .language-switch-mobile .language-separator{align-self:center;color:#8b8174}
  .language-switch-mobile a:focus-visible{outline:2px solid #946218;outline-offset:2px}
}

/* Self-Reiki article */
.reiki-article{max-width:850px;line-height:1.75}.reiki-article h2{margin-top:1.7em}.reiki-article h3{margin-top:1.2em}.reiki-figure{margin:1.6rem auto;max-width:750px}.reiki-figure img{display:block;width:100%;height:auto;border-radius:12px}.reiki-figure figcaption{font-size:.9rem;text-align:center;margin-top:.5rem}.reiki-list-card{margin-top:1.4rem;padding:1.2rem 1.5rem;border:1px solid #ddd2dc;border-radius:12px;background:#faf7fb;max-width:800px}.reiki-list-card h2{margin:0 0 .4rem}.reiki-list-card p{margin:0}.reiki-download{margin:1.5rem 0;padding:1rem;background:#f5eff8;border-radius:9px}

/* Artikelkategorier: samma länkkort och expanderingsknappar som Utforska mer. */
.article-category-cards .article-empty { color: #675e58; font-size: .94rem; margin: 12px 0 0; }

/* Forskningsbedömningar: samma diskreta etikettplacering som i referensbilden. */
.research-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  vertical-align: middle;
  font-weight: 650;
  border: 1px solid transparent;
  white-space: nowrap;
}
.research-badge .support-symbol {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: currentColor;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}
/* Text/icon contrast: the symbol uses an inset white glyph via a separate overlay. */
.research-badge .support-symbol { background: transparent; border: 1.5px solid currentColor; }
.support-supported { background: #d3ecd3; color: #235c34; border-color: #b7dcb9; }
.support-not-supported { background: #f7d6d7; color: #8d2430; border-color: #edbdc1; }
.support-mixed { background: #f7e4b6; color: #6c4b0d; border-color: #e9d298; }
.support-unassessed { background: #f0e1cb; color: #684b2b; border-color: #dec8a7; }
.support-pending { background: #e8ebee; color: #465360; border-color: #d3d9df; }
@media (max-width: 600px) {
  .research-badge { margin-top: 4px; }
}

/* Introduktionsstyckena använder exakt samma typografi som första stycket (.lead). */
.library-explanations { margin: 1.2rem 0 1.6rem; }
.library-explanations p.lead { margin: 0 0 1rem; }

/* Accessible research assessment details; unobtrusive on desktop and mobile. */
.research-info-wrap { position:relative; display:inline-flex; align-items:center; vertical-align:middle; }
.research-info-button { display:inline-grid; place-items:center; width:30px; height:30px; padding:0; border:0; border-radius:50%; background:transparent; color:#665b4e; font-size:19px; line-height:1; cursor:pointer; }
.research-info-button:hover, .research-info-button[aria-expanded="true"] { background:#efe5d6; color:#3d332b; }
.research-info-button:focus-visible { outline:2px solid #795a39; outline-offset:2px; }
.research-info-panel { position:absolute; z-index:20; top:calc(100% + 7px); left:0; width:min(340px, calc(100vw - 48px)); box-sizing:border-box; padding:15px 17px; border:1px solid #ded1be; border-radius:12px; background:#fffaf2; color:#413b34; box-shadow:0 8px 24px rgba(49,39,28,.15); font-size:.91rem; font-weight:400; line-height:1.5; white-space:normal; }
.research-info-panel[hidden] { display:none !important; }
.research-info-title,.research-info-subtitle,.research-info-text { display:block; }
.research-info-title { margin-bottom:7px; font-weight:700; }
.research-info-subtitle { margin-top:10px; margin-bottom:3px; font-weight:700; }
@media (max-width:600px) {
 .research-info-wrap { position:static; }
 .entry .meta { position:relative; }
 .research-info-panel { left:0; right:0; width:100%; top:100%; }
 .research-info-button { width:36px; height:36px; }
}

/* Publication-year badges in article research links (library style) */
.seo-studies .study-heading{display:flex;align-items:baseline;flex-wrap:wrap;column-gap:.65rem;row-gap:.25rem}
.seo-studies .study-year-badge{display:inline-block;flex:none;padding:.22rem .65rem;border-radius:999px;background:#eee7dc;color:#39332e;font-size:.85em;font-weight:400;line-height:1.5;text-decoration:none}

/* Compact dynamic research overview */
.research-overview{margin:1rem 0 1.35rem;padding:1rem 1.1rem;border:1px solid #dedbd3;border-radius:12px;background:#fffdf8;color:#26384a}
.research-overview h2{font-size:1.12rem;margin:0 0 .15rem}
.research-overview-total{font-size:.82rem;color:#596675;margin:0 0 .8rem}
.research-overview-group+.research-overview-group{border-top:1px solid #e6e0d7;margin-top:.8rem;padding-top:.8rem}
.research-overview-heading{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.4rem}
.research-overview-heading h3{font-size:.93rem;margin:0}
.research-overview-toggle{border:0;background:transparent;color:#37556d;text-decoration:underline;cursor:pointer;font:inherit;font-size:.82rem;padding:.25rem}
.research-overview-bar{display:flex;width:100%;height:19px;border-radius:5px;overflow:hidden;background:#e8e4dc}
.research-overview-segment{min-width:0;flex-basis:0}
.research-overview-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem 1rem;margin-top:.8rem}
.research-overview-details[hidden]{display:none}
.research-overview-item{display:flex;align-items:flex-start;gap:.5rem;min-width:0}
.research-overview-dot{width:11px;height:11px;flex:none;border-radius:3px;margin-top:.2rem;border:1px solid #00000012}
.research-overview-item-text{display:flex;flex-direction:column;gap:.1rem;min-width:0;font-size:.78rem;line-height:1.35}
.research-overview-item-text strong{font-weight:600;overflow-wrap:anywhere}
.research-overview-item-text small{color:#5e6771;font-size:.75rem}
.research-overview-note{margin:.8rem 0 0;color:#66717c;font-size:.76rem;line-height:1.45}
@media(max-width:520px){.research-overview{padding:.85rem}.research-overview-details{grid-template-columns:1fr}}
