/* Socialcare designsystem. En grund, en variant per sajt via data-theme. */

@font-face { font-family: "Atkinson"; src: url("/assets/fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("/assets/fonts/atkinson-hyperlegible-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("/assets/fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-latin-wght-normal.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }

:root {
  --ink: #231A24;
  --muted: #5E5260;
  --line: #E6DCD8;
  --surface: #FFFFFF;
  --bg: #FBF7F4;
  --surface-2: #F4E4E1;

  --brand: #4A2545;        /* plommon */
  --brand-ink: #2E1630;
  --brand-contrast: #FFFFFF;
  --accent: #D9705A;       /* korall, bara dekor och stor text */
  --accent-strong: #A94A36;/* korall som klarar 4.5:1 mot vitt */
  --accent-soft: #F0B8A8;
  --link: #7A2E5C;
  --focus: #1D6FD1;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Atkinson", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgb(46 22 48 / 6%), 0 8px 24px rgb(46 22 48 / 6%);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --space: clamp(56px, 8vw, 104px);
}

/* Socialcare: presentationens palett (14 nov), turkos, grafit och mjukt blågrått. */
[data-theme="socialcare"], [data-theme="academy"] {
  --ink: #2B2D31;
  --muted: #565C66;
  --line: #D5DDE5;
  --surface: #FFFFFF;
  --bg: #EEF2F6;
  --surface-2: #DCE8F0;
  --brand: #2B2D31;
  --brand-ink: #1E1F22;
  --accent: #5CDCE4;
  --accent-strong: #0B6F79;
  --accent-soft: #BDEFF3;
  --link: #0B6576;
  --serif: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
[data-theme="socialcare"] h1, [data-theme="socialcare"] h2, [data-theme="socialcare"] h3, [data-theme="socialcare"] .h3,
[data-theme="academy"] h1, [data-theme="academy"] h2, [data-theme="academy"] h3, [data-theme="academy"] .h3 { font-weight: 680; letter-spacing: -0.025em; }
[data-theme="socialcare"] h1, [data-theme="academy"] h1 { font-weight: 720; letter-spacing: -0.04em; }
[data-theme="socialcare"] .brand__name { font-family: "Inter", system-ui, sans-serif; font-weight: 650; letter-spacing: -0.03em; font-size: 1.5rem; color: var(--ink); }
/* punkten ersatt av loggans ikon 17 nov: [data-theme="socialcare"] .brand__name::before { content: ""; display: inline-block; width: .5em; height: .5em; border-radius: 50%; background: var(--accent); margin-right: .32em; vertical-align: .08em; } */


*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(17px, 1.05vw + 12px, 19px);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
}

h1, h2, h3, .h3 { font-family: var(--serif); font-weight: 560; line-height: 1.15; letter-spacing: -0.01em; color: var(--brand-ink); margin: 0 0 .5em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 520; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.35rem); }
h3, .h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
img, svg { max-width: 100%; }
strong { font-weight: 700; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }
.lead { font-size: 1.18em; line-height: 1.55; color: var(--muted); }
.muted { color: var(--muted); }
.eyebrow { font-family: var(--sans); font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-strong); margin: 0 0 1rem; }
.eyebrow a { color: inherit; }
.prose > * + h2 { margin-top: 2rem; }
.prose { max-width: 68ch; }

.skip { position: absolute; left: 12px; top: -60px; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 12px; }
main:focus { outline: none; }

/* Förhandsvisning och utkast */
.preview-flag { background: #FFF3C4; color: #4D3B00; text-align: center; font-size: .85rem; padding: 6px var(--gutter); border-bottom: 1px solid #EBD98A; }
.draft-note { background: #FFF8DD; border: 1px dashed #D9BF5C; color: #4D3B00; border-radius: var(--radius); padding: 12px 16px; font-size: .92rem; margin: 0 0 2rem; }

/* Trygghetsraden */
.support { background: var(--brand-ink); color: #F5ECEF; font-size: .9rem; }
.support__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.support__text { margin: 0; }
.support a { color: #fff; font-weight: 700; }
.support__more { font-weight: 400 !important; margin-left: .4em; }
.quick-exit { background: #fff; color: var(--brand-ink) !important; border-radius: 999px; padding: 6px 14px; text-decoration: none; white-space: nowrap; font-weight: 700; }
.quick-exit:hover { background: var(--surface-2); }

/* Sidhuvud */
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brand-ink); flex: none; }
.brand__logo { height: 44px; width: auto; display: block; flex: none; }
@media (max-width: 420px) { .brand__logo { height: 36px; } }
.brand__icon { width: 40px; height: 40px; display: block; flex: none; }
.brand__name { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; letter-spacing: -0.01em; }
.brand__name em { font-style: italic; font-weight: 400; color: var(--brand); }
.arch-mark { width: 34px; height: 34px; }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: .95rem; white-space: nowrap; }
.nav a:hover { background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--brand); font-weight: 700; box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.nav__sister::after { content: " ↗"; color: var(--muted); }

@media (max-width: 1100px) {
  .site-header { position: static; }
  .site-header__inner { flex-wrap: wrap; gap: 8px 16px; padding-top: 12px; padding-bottom: 4px; }
  .site-header__cta { margin-left: auto; }
  .nav { order: 3; width: 100%; margin: 0 calc(var(--gutter) * -1); overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  .nav ul { padding: 0 var(--gutter) 6px; width: max-content; }
  .nav a { padding: 10px 12px; min-height: 44px; display: flex; align-items: center; }
}
/* Mobil: alla menyval syns, på två rader i stället för en svepbar rad (19 nov). */
@media (max-width: 640px) {
  .nav { overflow: visible; margin: 0; }
  .nav ul { width: 100%; padding: 0 0 6px; flex-wrap: wrap; gap: 0 2px; }
  .nav a { padding: 8px 10px; min-height: 40px; font-size: .95rem; }
}

/* Knappar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 48px; padding: 12px 22px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s, transform .15s; text-align: center; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: var(--brand-contrast); }
.btn--primary:hover { background: var(--brand-ink); }
.btn--ghost { background: transparent; color: var(--brand); border-color: currentColor; }
.btn--ghost:hover { background: var(--surface); }
.btn--light { background: #fff; color: var(--brand-ink); }
.btn--small { min-height: 42px; padding: 8px 18px; font-size: .95rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.75rem; }
.actions--end { justify-content: flex-end; margin-top: 0; }
.more { margin-top: 2rem; font-weight: 700; }
.more a { text-decoration: none; }
.more a:hover { text-decoration: underline; }

/* Hjälte */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(32px, 5vw, 64px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { max-width: 14ch; }
.hero .lead { max-width: 54ch; }
.hero__art { position: relative; }
.arches { width: 100%; height: auto; display: block; }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 190px; order: -1; margin-bottom: -8px; }
}

.page-head { padding: clamp(40px, 6vw, 80px) 0 clamp(24px, 4vw, 48px); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--surface-2) 0%, var(--bg) 100%); }
.page-head h1 { font-size: clamp(2rem, 4vw, 3rem); }

/* Sektioner */
.section { padding: var(--space) 0; }
.section:not(.section--soft):not(.section--brand) + .section:not(.section--soft):not(.section--brand) { padding-top: 0; }
.section--soft { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--brand { background: var(--brand); color: #F4EAF0; }
.section--brand h2, .section--brand .eyebrow { color: #fff; }
.section--brand .eyebrow { opacity: .8; }
.section--brand a:not(.btn) { color: #fff; }
.section__head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }

.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.split--center { align-items: center; }
.split--form { grid-template-columns: 4fr 8fr; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 860px) { .split, .split--form, .duo { grid-template-columns: 1fr; } .actions--end { justify-content: flex-start; } }

/* Kort */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .cards--3, .cards--2 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg) var(--radius-lg) var(--radius) var(--radius); padding: 28px; box-shadow: var(--shadow); }
.section--soft .card { background: var(--bg); box-shadow: none; }
.card h3 { margin-top: .4rem; }
.card p:last-child { margin-bottom: 0; }
.card .btn { margin-top: .5rem; }
.icon { width: 44px; height: 44px; padding: 9px; border-radius: 50% 50% 10px 10px; background: var(--surface-2); stroke: var(--brand); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card--quote blockquote { margin: 0 0 1rem; font-family: var(--serif); font-size: 1.2rem; line-height: 1.4; color: var(--brand-ink); }
.card--quote blockquote p::before { content: "\201D"; color: var(--accent); font-size: 1.6em; line-height: 0; vertical-align: -.3em; margin-right: .1em; }
.card__who { color: var(--muted); font-weight: 700; font-size: .95rem; }

.feature { display: block; text-decoration: none; color: inherit; background: var(--surface-2); border-radius: 180px 180px var(--radius-lg) var(--radius-lg); padding: clamp(48px, 7vw, 88px) clamp(24px, 4vw, 48px) 36px; transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature--academy { background: var(--surface-2); }
.feature--academy h2 { color: var(--brand-ink); }
.feature__go { font-weight: 700; color: var(--brand); }
.feature--academy .feature__go { color: var(--accent-strong); }

.quote { margin: 0; text-align: center; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.35; font-weight: 400; color: #fff; }
.quote blockquote p::before { content: "\201D"; display: block; font-size: 3em; line-height: .6; color: var(--accent-soft); margin-bottom: .2em; }
.quote figcaption { margin-top: 1.25rem; font-weight: 700; letter-spacing: .06em; color: var(--accent-soft); }

/* Fall: utmaning, lösning, resultat */
.case { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: c; }
.case__step { position: relative; padding: 28px; background: var(--bg); border: 1px solid var(--line); }
.case__step:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.case__step:last-child { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.case__step + .case__step { border-left: 0; }
.case__step--result { background: var(--brand); color: #fff; border-color: var(--brand); }
.case__label { font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-strong); }
.case__step--result .case__label { color: var(--accent-soft); }
.section:not(.section--soft) .case__step:not(.case__step--result) { background: var(--surface); }
@media (max-width: 860px) {
  .case { grid-template-columns: 1fr; }
  .case__step:first-child { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .case__step:last-child { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
  .case__step + .case__step { border-left: 1px solid var(--line); border-top: 0; }
}
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 1.8em; margin-bottom: .5em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1.05em; height: .6em; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg) scale(.8); }
.case__step--result .ticks li::before { border-color: var(--accent-soft); }

/* Tidslinje */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.timeline li { border-top: 4px solid var(--accent); padding-top: 16px; }
.timeline__date { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--brand-ink); margin-bottom: .3em; }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .timeline { grid-template-columns: 1fr; } }

/* Academy: utbildningar */
.courses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 20px; }
.course { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 26px 22px; display: flex; flex-direction: column; transition: border-color .15s, transform .15s, box-shadow .15s; }
.course:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); }
.course:focus-within { border-color: var(--brand); }
.course--match { border: 2px solid var(--accent); }
.course--match::before { content: "Bäst match"; position: absolute; top: -12px; left: 22px; background: var(--accent-strong); color: #fff; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.course__format { font-size: .85rem; font-weight: 700; color: var(--muted); letter-spacing: .02em; margin-bottom: .6rem; }
.course__title { font-size: 1.3rem; }
.course__title a { color: var(--brand-ink); text-decoration: none; }
.course__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.course__meta { margin-top: auto; margin-bottom: 0; font-size: .92rem; color: var(--muted); padding-top: 12px; border-top: 1px solid var(--line); }
.badge { display: inline-block; background: var(--surface-2); color: var(--brand-ink); border-radius: 999px; padding: 1px 10px; margin-left: 6px; font-size: .78rem; }
.callout { margin-top: 40px; background: var(--surface-2); border-radius: var(--radius-lg); padding: 28px; }

.course-layout { display: grid; grid-template-columns: 1fr 340px; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .course-layout { grid-template-columns: 1fr; } }
.facts { position: sticky; top: 96px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
.facts dl { margin: 0 0 20px; }
.facts dl > div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 2px 0 0; }
.facts .btn { width: 100%; }
.example { background: var(--surface-2); border-radius: var(--radius); padding: 20px 22px; font-family: var(--serif); font-size: 1.12rem; line-height: 1.5; color: var(--brand-ink); }
.example p { margin: 0; }
.flow { padding-left: 0; list-style: none; counter-reset: f; }
.flow li { counter-increment: f; position: relative; padding: 0 0 14px 48px; min-height: 34px; }
.flow li::before { content: counter(f); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .9rem; }

/* Hitta rätt */
.finder fieldset { border: 0; padding: 0; margin: 0 0 24px; }
.finder legend { font-family: var(--serif); font-size: 1.25rem; font-weight: 560; color: var(--brand-ink); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.finder__n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-strong); color: #fff; font-family: var(--sans); font-size: .9rem; font-weight: 700; }
.choice { display: flex; align-items: center; gap: 12px; padding: 12px 16px; margin-bottom: 8px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; min-height: 48px; }
.section--soft .choice { background: var(--bg); }
.choice:hover { border-color: var(--brand); }
.choice input { width: 20px; height: 20px; accent-color: var(--brand); flex: none; margin: 0; }
.choice:has(input:checked) { border-color: var(--brand); background: var(--surface-2); }

/* Steg */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { counter-increment: s; padding-top: 14px; }
.step::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--serif); font-size: 2.6rem; font-weight: 300; color: var(--accent); line-height: 1; margin-bottom: 10px; }
.steps--large { grid-template-columns: repeat(2, 1fr); gap: 40px 56px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps, .steps--large { grid-template-columns: 1fr; } }

/* Formulär */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .95rem; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--surface); border: 1.5px solid #CFC3C6; border-radius: 10px; padding: 12px 14px; min-height: 48px; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: 3px solid color-mix(in srgb, var(--focus) 40%, transparent); outline-offset: 0; }
.field--check { display: flex; gap: 12px; align-items: flex-start; }
.field--check input { width: 22px; height: 22px; min-height: 0; margin-top: 2px; flex: none; accent-color: var(--brand); }
.field--check label { font-weight: 400; margin: 0; }
.form__warn { background: var(--surface-2); border-left: 4px solid var(--accent); border-radius: 0 10px 10px 0; padding: 12px 16px; font-size: .92rem; margin: 0; }
.form__context { margin: 0; }
.form .btn { justify-self: start; min-width: 160px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact h2 { margin-top: 1.5rem; font-size: 1.1rem; }
.contact h2:first-child { margin-top: 0; }

/* Stödlinjer */
.lines { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 12px; }
.line { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.line__name { font-size: 1.15rem; margin: 0 0 .2em; }
.line p { margin: 0; color: var(--muted); font-size: .95rem; }
.line__tel { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; white-space: nowrap; text-decoration: none; background: var(--surface-2); padding: 8px 16px; border-radius: 999px; color: var(--brand-ink); }
@media (max-width: 560px) { .line { flex-direction: column; align-items: flex-start; } }

/* Sidfot */
.site-footer { background: var(--brand-ink); color: #E9DDE4; padding: 64px 0 24px; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.4rem; color: #fff; }
.site-footer__brand .arch-mark { --accent-soft: #F0B8A8; --brand: #fff; }
.site-footer__h { font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #CDB9C5; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer__bottom { border-top: 1px solid rgb(255 255 255 / 14%); margin-top: 40px; padding-top: 20px; color: #CDB9C5; }
.site-footer__bottom p { margin: 0; }

@media print { .support, .site-header, .site-footer, .preview-flag { display: none; } }

/* Tillfällen (fas 2) */
.dates { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dates__where { color: var(--muted); font-size: .92rem; }
.agenda { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.agenda__item { display: grid; grid-template-columns: 170px 1fr; gap: 16px; align-items: baseline; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.section--soft .agenda__item { background: var(--surface); }
.agenda__date { margin: 0; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--brand); }
.agenda__title { margin: 0 0 4px; font-size: 1.1rem; }
.agenda__item .muted { margin: 0; }
@media (max-width: 560px) { .agenda__item { grid-template-columns: 1fr; gap: 4px; } }

/* Anmälan (kalender) */
.notice { padding: 12px 16px; border-radius: 10px; margin: 0 0 18px; font-weight: 700; }
.notice--err { background: #FBE6E1; border: 1px solid #E2A796; color: #7A2414; }
.facts--inline { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 20px; margin: 0 0 20px; }
.facts--inline > div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts--inline > div:last-child { border-bottom: 0; }
.facts--inline dt { font-weight: 700; color: var(--muted); }
.facts--inline dd { margin: 0; }
.seats { font-weight: 700; color: var(--accent-strong); }
.dates__go { font-weight: 700; }
@media (max-width: 560px) { .facts--inline > div { grid-template-columns: 1fr; gap: 2px; } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.facts .btn + .btn { margin-top: 10px; }

/* Föreläsare */
.people { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.person-card { display: flex; gap: 18px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
.person-card h2 { margin: 0 0 6px; }
.person-card h2 a { color: var(--ink); text-decoration: none; }
.person-card h2 a:hover { text-decoration: underline; }
.person-card p { margin: 0; color: var(--muted); }
.person-card__mark { flex: none; width: 64px; height: 64px; border-radius: 999px 999px 18px 18px; background: var(--brand); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 1.4rem; font-weight: 600; }
.linklist { padding-left: 1.1em; }
.linklist li { margin-bottom: 8px; }

/* Butik */
.products { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.product { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.product h2 a { color: var(--ink); text-decoration: none; }
.product h2 a:hover { text-decoration: underline; }
.product__price { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--brand); margin: auto 0 0; padding-top: 8px; }
.product__price--big { font-size: 2rem; margin: 0 0 4px; }
.cartbar { margin: 0 0 20px; font-weight: 700; }
.buy { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-top: 12px; }
.buy__qty { display: grid; gap: 4px; font-weight: 700; font-size: .9rem; }
.buy__qty input { width: 90px; font: inherit; padding: 10px 12px; border: 1.5px solid #CFC3C6; border-radius: 10px; min-height: 48px; }
.cart { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 16px; }
.cart th, .cart td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cart th { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.cart .num { text-align: right; white-space: nowrap; }
.cart tfoot td { border-bottom: 0; padding-block: 6px; }
.cart__total td { font-weight: 700; font-size: 1.1rem; padding-top: 14px !important; border-top: 2px solid var(--line); }
.cart .muted { font-size: .9rem; }
.cart__qty { display: flex; gap: 6px; align-items: center; }
.cart__qty input { width: 64px; font: inherit; padding: 6px 8px; border: 1.5px solid #CFC3C6; border-radius: 8px; }
.checkout { border: 0; padding: 0; margin: 0 0 18px; }
.checkout legend { font-weight: 700; margin-bottom: 8px; }
.choice--off { opacity: .55; cursor: not-allowed; }
.callout--ok { border-color: #9CC9AA; background: #EEF7F0; }
.invoice { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 4vw, 40px); }
.invoice__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.invoice__seller { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; margin: 0; }
.invoice__title { font-family: var(--serif); font-size: 1.8rem; margin: 0 0 8px; }
.invoice__meta dl { margin: 0; display: grid; gap: 2px; }
.invoice__meta dl > div { display: flex; gap: 12px; }
.invoice__meta dt { color: var(--muted); min-width: 92px; }
.invoice__meta dd { margin: 0; font-weight: 700; }
.invoice__buyer { margin-bottom: 20px; }
.invoice__buyer .muted { margin: 0; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.invoice__pay { border-top: 1px solid var(--line); padding-top: 12px; }
.invoice__foot { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 12px; font-size: .88rem; }
@media print {
  .preview-flag, .support, .site-header, .site-footer, .skip, .no-print, .callout { display: none !important; }
  body { background: #fff; }
  .section { padding: 0 !important; }
  .invoice { border: 0; padding: 0; }
}

/* Boklansering */
.book-sub { font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.45rem); font-style: italic; margin: -6px 0 18px; color: var(--muted); }
.book { display: flex; justify-content: center; perspective: 1400px; padding: 12px 0; }
.book__cover { width: min(300px, 70vw); aspect-ratio: 2 / 3; background: #15110F; color: #F6EEE6; border-radius: 4px 10px 10px 4px; padding: 28px 24px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: inset 6px 0 0 rgb(255 255 255 / 8%), inset 9px 0 0 rgb(0 0 0 / 35%), 18px 22px 40px rgb(20 10 10 / 28%); transform: rotateY(-8deg); }
.book__cover--img { display: block; height: auto; padding: 0; object-fit: cover; }
.book__author { font-family: var(--sans); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; margin: 0; opacity: .85; }
.book__title { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1.02; font-weight: 600; margin: 0; border-top: 3px solid var(--accent); padding-top: 14px; }
.book__sub { font-family: var(--serif); font-style: italic; font-size: .95rem; margin: 0; opacity: .8; }
.launch-when .h3 { margin-top: 0; }
.launch-when__date { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; margin: 0 0 4px; }
.section--tight { padding-block: 0 8px; }
.launch-teaser { display: grid; gap: 4px; padding: 22px 26px; border-radius: var(--radius-lg); background: #15110F; color: #F6EEE6; text-decoration: none; border-left: 6px solid var(--accent); }
.launch-teaser .eyebrow { color: var(--accent-soft); margin: 0; }
.launch-teaser__title { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; }
.launch-teaser:hover .launch-teaser__title, .launch-teaser:focus-visible .launch-teaser__title { text-decoration: underline; }
.news { background: #fff; border-block: 1px solid var(--line); }
.news__title { font-size: clamp(1.5rem, 7vw, 3.4rem); hyphens: auto; overflow-wrap: break-word; line-height: 1.02; letter-spacing: -.02em; margin-bottom: .2em; }
.news__name { font-weight: 700; font-size: 1.15rem; margin: 0 0 .2em; color: var(--brand-ink); }
.order-note { font-size: .95rem; color: var(--muted); margin: 14px 0 0; }
.news .hero__art { display: flex; justify-content: center; }
@media (prefers-reduced-motion: no-preference) { .book__cover { transition: transform .4s ease; } .book:hover .book__cover { transform: rotateY(0); } }


/* Logomärket och Socialcares nya startsida */
.brand__mark { width: 44px; height: auto; display: block; }
.site-footer__brand .arch, .site-footer__brand svg { vertical-align: middle; }
.sc-banner { margin: 0; background: var(--brand-ink); position: relative; }
.sc-banner figcaption { position: absolute; right: 12px; bottom: 10px; font-size: .68rem; color: #fff; background: rgba(0,0,0,.45); padding: 2px 8px; border-radius: 999px; }
.sc-banner img { display: block; width: 100%; height: clamp(240px, 38vw, 560px); object-fit: cover; object-position: 50% 35%; }
.sc-hero { position: relative; overflow: hidden; padding-block: clamp(56px, 9vw, 120px) clamp(40px, 6vw, 72px);
  background: radial-gradient(60% 80% at 85% 20%, rgb(92 220 228 / 55%), transparent 70%), radial-gradient(50% 70% at 10% 90%, rgb(140 180 230 / 35%), transparent 70%), var(--bg); }
.sc-hero__grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.sc-hero h1, .sc-hero__h { font-size: clamp(3rem, 9vw, 6.4rem); line-height: .95; margin-bottom: .3em; }
.sc-hero .lead { max-width: 34ch; }
.sc-hero__mark { width: min(260px, 60%); height: auto; justify-self: center; filter: drop-shadow(0 18px 30px rgb(30 60 90 / 18%)); }
.sc-panel { border-radius: 28px; padding: clamp(28px, 5vw, 56px); background: linear-gradient(135deg, #fff, var(--surface-2)); border: 1px solid var(--line); }
.sc-panel--dark { background: linear-gradient(135deg, #3A3D43, #24262A); color: #F1F4F7; border: 0; }
.sc-panel--dark .eyebrow { color: var(--accent); }
.sc-panel__big { font-size: clamp(1.2rem, 2.2vw, 1.7rem); line-height: 1.45; margin: 0; max-width: 52ch; }
.sc-panel--center { text-align: center; } .sc-panel--center .sc-panel__big { margin-inline: auto; }
.sc-statement { background: #1A1A1A; color: #fff; text-align: center; padding-block: clamp(56px, 8vw, 110px); }
.sc-statement__eyebrow { font-family: var(--sans, inherit); font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: #9A9A9A; margin: 0 0 1.4em; }
.sc-statement__text { font-family: var(--sans, inherit); font-weight: 500; font-size: clamp(1.35rem, 2.6vw, 2.15rem); line-height: 1.4; max-width: 44ch; margin: 0 auto; color: #fff; }
.sc-team { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.sc-person { background: var(--bg); border: 1px solid var(--line); border-radius: 22px; padding: 24px; }
.sc-person h3 { margin: 14px 0 2px; font-size: 1.3rem; }
.sc-person__role { color: var(--accent-strong); font-weight: 700; font-size: .92rem; margin: 0 0 12px; }
.sc-person p { font-size: .98rem; }
.sc-person__mark { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: var(--brand-ink); font-weight: 700; letter-spacing: .02em; }
.sc-services, .sc-pillars { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.sc-pillars { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.sc-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); }
.section--soft .sc-card { background: linear-gradient(160deg, #fff 40%, #E3F4F7); }
.sc-card h3 { font-size: 1.3rem; }
.sc-pillar__icon { display: block; color: var(--accent-strong); margin: 0 0 14px; }
.sc-card--img { padding-top: 0; overflow: hidden; }
.sc-card__img { margin: 0 -26px 22px; position: relative; }
.sc-card__img img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.sc-card__img figcaption { position: absolute; right: 10px; bottom: 8px; font-size: .68rem; color: #fff; background: rgba(0,0,0,.45); padding: 2px 8px; border-radius: 999px; }
.sc-card__sub { font-weight: 700; color: var(--accent-strong); margin-top: -.3em; }
.sc-card p { font-size: .98rem; }
.sc-formats { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.sc-formats li { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-radius: 18px; background: linear-gradient(135deg, #E6F1FB, #C9E3F8); font-weight: 700; font-size: 1.1rem; }
.sc-formats span { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; font-size: .95rem; }
.sc-dark { background: #2B2D31; color: #E9EDF1; }
.sc-dark h2 { color: #fff; }
.sc-dark .eyebrow { color: var(--accent); }
.sc-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; counter-reset: st; }
.sc-steps li { border: 1px solid rgb(255 255 255 / 18%); border-radius: 22px; padding: 22px; position: relative; }
.sc-steps__h { display: inline-block; background: #CFE6FA; color: #1E1F22; font-weight: 700; border-radius: 999px; padding: 6px 16px; margin: 0 0 12px; }
.sc-steps li:last-child .sc-steps__h { background: var(--accent); }
.release-days { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.release-day { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.release-day__date { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; letter-spacing: -0.02em; margin: 0; color: var(--brand-ink); }
.release-day__time { color: var(--accent-strong); font-weight: 700; margin: 0 0 10px; }
.release-day__place { font-size: 1.15rem; margin: 0 0 6px; }
.release-day__note { font-weight: 700; }
.release-day__go { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.live h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
@media (max-width: 760px) {
  .sc-hero__grid { grid-template-columns: 1fr; }
  .sc-hero__mark { order: -1; width: 140px; justify-self: start; }
}
@media (max-width: 760px) {
  .hero--book .hero__art, .news .hero__art { order: 2; }
  .hero--book .book__cover, .news .book__cover { width: 170px; padding: 18px 16px; transform: none; }
  .hero--book .book__title { font-size: 1.6rem; }
  .facts .book { display: none; }
}

/* Introfilmer */
.film { border-radius: 22px; overflow: hidden; background: #111; box-shadow: var(--shadow); max-width: 960px; margin-inline: auto; }
.film video { display: block; width: 100%; height: auto; }
.film--embed { aspect-ratio: 16 / 9; }
.film--embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.film--vertical { aspect-ratio: 9 / 16; max-width: 380px; }
.film video { max-height: 80vh; object-fit: contain; }

/* Citatet om traumamedveten omsorg och Louises föreläsningar */
.tmo-quote { margin: 0 0 28px; padding: clamp(26px, 4vw, 44px); border-radius: 26px; background: linear-gradient(135deg, #2F3237, #1F2124); color: #EEF2F5; }
.tmo-quote__lead { margin: 0 0 6px; font-size: .9rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent, #5CDCE4); }
.tmo-quote blockquote { margin: 0 0 16px; }
.tmo-quote__from { margin: 0; font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.25; opacity: .6; text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: rgb(255 255 255 / 45%); }
.tmo-quote__to { margin: .2em 0 0; font-family: var(--serif); font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.15; font-weight: 700; color: #fff; }
.tmo-quote__to span { display: block; font-family: var(--sans); font-size: .9rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent, #5CDCE4); margin-bottom: 4px; }
.tmo-quote figcaption { max-width: 60ch; font-size: 1.05rem; line-height: 1.55; color: #D5DCE3; }
.lectures { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.lecture { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.section--soft .lecture { background: var(--bg); }
.lecture__no { margin: 0 0 8px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-strong); }
.lecture h3 { font-size: 1.3rem; margin-bottom: .3em; }
.lecture__sub { font-weight: 700; color: var(--ink); }
.lecture p { font-size: .98rem; }
.lecture__go { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.sc-sub { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin: 8px 0 18px; }

/* Bilder på föreläsningskorten, filmen och porträtt (16 nov) */
.lecture__img { margin: -26px -26px 18px; position: relative; }
.lecture__img img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 22px 22px 0 0; }
.lecture__img figcaption { position: absolute; right: 10px; bottom: 8px; font-size: .7rem; color: #fff; background: rgba(0,0,0,.45); padding: 2px 8px; border-radius: 99px; }
.lecture-film { margin: 8px 0 0; }
.lecture-film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #111; border-radius: 18px; }
.lecture-film figcaption, .portrait figcaption { font-size: .85rem; color: var(--muted, #666); margin-top: 8px; }
.portrait { margin: 0 0 20px; }
.portrait img { display: block; width: 100%; height: auto; border-radius: 16px; }

/* Startsidan 16 nov: filmen i hjälten, Varför/Filosofi sida vid sida, porträtt */
.sc-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); }
.sc-hero h1, .sc-hero__h { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.02; letter-spacing: -.02em; max-width: 14ch; }
.sc-hero .lead { max-width: 38ch; }
.sc-hero__film { margin: 0; }
.sc-hero__film .film { box-shadow: 0 24px 60px rgb(30 50 70 / 22%); border-radius: 22px; overflow: hidden; }
.sc-hero__film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #111; }
.sc-hero__film figcaption { margin-top: 14px; font-size: .95rem; color: var(--muted); max-width: 60ch; }
.sc-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.sc-duo .sc-panel { display: flex; flex-direction: column; justify-content: center; }
.sc-duo .sc-panel__big { font-size: clamp(1.1rem, 1.8vw, 1.45rem); }
.sc-person__photo, .sc-person__mark { width: 88px; height: 88px; border-radius: 50%; }
.sc-person__photo { display: block; object-fit: cover; object-position: center 20%; }
.sc-person__mark { font-size: 1.3rem; }
.sc-person__credit { font-size: .75rem !important; color: var(--muted); margin: 8px 0 0; }
@media (max-width: 900px) {
  .sc-hero__grid, .sc-duo { grid-template-columns: 1fr; }
  .sc-hero h1, .sc-hero__h { max-width: none; }
}
.sc-hero + .section--tight { padding-top: clamp(28px, 4vw, 48px); }
.sc-hero + .section--tight + #varfor { padding-top: clamp(20px, 3vw, 36px); }
.sc-team { display: flex; flex-wrap: wrap; justify-content: center; }
.sc-team > .sc-person { flex: 1 1 300px; max-width: 380px; }
.sc-statement--left { text-align: left; }
.sc-statement--left .sc-statement__eyebrow { font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 2.6rem); letter-spacing: -.01em; text-transform: none; color: #fff; margin-bottom: .6em; }
.sc-statement__body p { font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 1.55; color: #E8E8E8; max-width: 60ch; }
.sc-statement__body p:first-child { font-size: clamp(1.2rem, 2.4vw, 1.6rem); color: #fff; font-weight: 500; }
.sc-statement__body a { color: var(--accent); }
.engage__img { margin: 0 auto 28px; max-width: 82%; }
.engage__img img { display: block; width: 100%; height: auto; border-radius: 22px; }
@media (max-width: 640px) { .engage__img { max-width: 100%; } }
.section__head .lead p { margin: 0 0 .8em; }
.engage { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); align-items: start; }
.engage__card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 4vw, 32px); box-shadow: var(--shadow); }
.engage__card h3 { font-size: 1.4rem; margin-bottom: .3em; }
.engage__card fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.engage__card legend { font-weight: 700; margin-bottom: 8px; }
.notice--ok { background: #E3F4EA; border: 1px solid #9CCFB0; color: #164B2C; }

/* Bannerloopen (18 nov): Annettes bilder med text i, visas hela (16:9). */
.sc-loop { background: #fff; border-bottom: 1px solid rgba(0,0,0,.06); }
.sc-loop__stage { position: relative; max-width: 960px; margin: 0 auto; aspect-ratio: 16 / 9; overflow: hidden; }
.sc-loop__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s linear .8s; }
.sc-loop__slide.is-on { opacity: 1; visibility: visible; transition: opacity .8s ease; }
.sc-loop__slide img { display: block; width: 100%; height: 100%; object-fit: contain; }
.sc-loop__slide:focus-visible { outline: 3px solid var(--accent-strong); outline-offset: -3px; }
.sc-loop__nav { display: flex; justify-content: center; align-items: center; gap: 4px; padding: 6px 16px 10px; }
.sc-loop__dot, .sc-loop__pause { width: 32px; height: 32px; border: 0; background: none; padding: 0; cursor: pointer; display: grid; place-items: center; color: var(--brand-ink); font-size: .7rem; }
.sc-loop__dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: rgba(0,0,0,.22); transition: background .2s, transform .2s; }
.sc-loop__dot[aria-current="true"]::before { background: var(--brand-ink); transform: scale(1.2); }
.sc-loop__dot:focus-visible, .sc-loop__pause:focus-visible { outline: 2px solid var(--accent-strong); border-radius: 50%; }
@media (prefers-reduced-motion: reduce) { .sc-loop__slide, .sc-loop__slide.is-on { transition: none; } }

/* Academy med Socialcares utseende (18 nov): liggande logga och rund logga i hjälten. */
.brand__logo--academy { height: 52px; }
@media (max-width: 420px) { .brand__logo--academy { height: 42px; } }
.hero__logo { display: block; width: 100%; max-width: 380px; height: auto; margin: 0 auto; }

/* Bilder på utbildningarna (18 nov) */
.course--img { padding-top: 0; overflow: hidden; }
.course__img { margin: 0 -26px 16px; }
.course__img img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.course-hero { position: relative; margin: 0 0 8px; }
.course-hero img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); }
.course-hero figcaption { position: absolute; right: 10px; bottom: 8px; font-size: .68rem; color: #fff; background: rgba(0,0,0,.45); padding: 2px 8px; border-radius: 999px; }

/* Landningssidan /bokrelease (18 nov) */
.release-facts { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 6px; font-size: 1.1rem; }
.release-facts li { padding-left: 22px; position: relative; }
.release-facts li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }

/* Platsen för releasen med hotellets logga (19 nov) */
.venue { display: flex; align-items: center; gap: 12px; margin: 1rem 0 0; font-size: 1.02rem; line-height: 1.35; }
.venue__logo { width: 48px; height: 48px; flex: none; border-radius: 50%; }

/* Bokintäkterna till barnrättsorganisationer (Annette 19 nov) */
.charity { margin: 1rem 0 0; padding: 12px 16px; border-radius: 14px; background: var(--surface-2); font-weight: 600; line-height: 1.45; max-width: 54ch; }

/* Himmlegaard: böckerna och medialistan som kort (19 nov) */
.books { list-style: none; padding: 0; margin: 0 0 3rem; display: grid; grid-template-columns: repeat(3, minmax(0, 180px)); gap: 24px; }
.books a { display: grid; gap: 4px; text-decoration: none; color: var(--ink); font-weight: 700; }
.books img { width: 100%; height: auto; border-radius: 6px; box-shadow: var(--shadow); }
.books .muted { font-weight: 400; font-size: .9rem; }
.media-cards { list-style: none; padding: 0; margin: 0 0 3rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.media-cards a { display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.media-cards a:hover { border-color: var(--brand); transform: translateY(-2px); }
.media-cards img, .media-cards__ph { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--surface-2); }
.media-cards__src { padding: 10px 14px 0; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-strong); }
.media-cards__t { padding: 4px 14px 14px; font-weight: 600; line-height: 1.35; font-size: .98rem; }
@media (max-width: 520px) { .books { grid-template-columns: repeat(3, 1fr); gap: 12px; } }

.site-footer .social { display: flex; gap: 16px; flex-wrap: wrap; }
.site-footer .social a { display: inline-flex; align-items: center; gap: 6px; }
