/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Kilde: tantrauddannelsen-generelt-template-funktioner/workshop-oslo
******************************************/
/* TW Workshop Oslo – »Kom dypere i din kraft« (14. november 2026) — v1.0.2 (2026-10-28)
   Kun workshopsiden under /tantra-utdannelsen-i-norge/ (body-klassen tw-ws, sat med
   wp-custom-body-class). Skabelonen tw-ren-fuld-bredde: header + sideindhold + footer.
   Kilde: workshop-oslo/ i repoet tantrauddannelsen-generelt-template-funktioner. */

body.tw-ws {
  --ws-terra: #c26148;
  --ws-terra-moerk: #a24e38;
  --ws-terra-lys: #f6e3dc;
  --ws-greige: #ebe8e6;
  --ws-sand: #f5efe7;
  --ws-blaek: #1d1f25;
  --ws-graa: #5f5955;
  --ws-nat: #2a211d;
  --ws-r: 22px;
  --ws-skygge: 0 24px 50px -28px rgba(70, 38, 26, .45);
  --ws-skygge-lille: 0 12px 30px -20px rgba(70, 38, 26, .38);
}

/* ---------- Grundlag ---------- */

body.tw-ws .wp-site-blocks > .wp-block-post-content {
  margin-block-start: 0 !important;
}

body.tw-ws .tw-ws-sektion {
  margin-block: 0 !important;
  padding: clamp(64px, 8vw, 112px) 0;
  color: var(--ws-blaek);
}

body.tw-ws .tw-ws-indre {
  box-sizing: border-box;
  width: 100%;
  max-width: 1220px;
  margin-inline: auto !important;
  padding-inline: clamp(20px, 4vw, 40px);
}

/* Sitets globale stilarter giver alle grupper padding-top: 50px (:root :where(.wp-block-group)).
   Her styrer sektionerne selv luften, så de indre grupper får ingen. */
body.tw-ws .tw-ws-sektion :where(.wp-block-group) {
  padding-top: 0;
}

/* Egen, rolig rytme: ingen arvede marginer – kun luft mellem søskende. */
body.tw-ws .tw-ws-sektion :where(p, h1, h2, h3, ul, figure, details, .wp-block-buttons, .wp-block-columns, .wp-block-group) {
  margin-top: 0;
  margin-bottom: 0;
}

body.tw-ws .tw-ws-sektion :where(.tw-ws-indre, .wp-block-column, details, .wp-block-group) > * + * {
  margin-top: 18px;
}

/* Ankre (Page scroll to id) fylder intet og skubber ikke det næste element ned. */
body.tw-ws .tw-ws-sektion .wp-block-ps2id-block-target + * {
  margin-top: 0;
}

body.tw-ws .tw-ws-sektion p,
body.tw-ws .tw-ws-sektion li {
  font-size: 18px;
  line-height: 1.7;
  font-weight: 300;
}

body.tw-ws .tw-ws-sektion h1,
body.tw-ws .tw-ws-sektion h2,
body.tw-ws .tw-ws-sektion h3 {
  color: inherit;
  font-weight: 600;
  text-transform: none;
  letter-spacing: -.01em;
}

body.tw-ws .tw-ws-sektion h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.12;
}

body.tw-ws .tw-ws-sektion h3 {
  font-size: 20px;
  line-height: 1.3;
}

body.tw-ws .tw-ws-sektion a:not(.wp-block-button__link) {
  color: var(--ws-terra);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

body.tw-ws .tw-ws-sektion a:not(.wp-block-button__link):hover {
  color: var(--ws-terra-moerk);
}

body.tw-ws .tw-ws-sektion figure img {
  display: block;
  width: 100%;
  height: auto;
}

/* Lille overlinje med streg foran. */
body.tw-ws .tw-ws-sektion .tw-ws-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ws-terra);
}

body.tw-ws .tw-ws-kicker::before {
  content: "";
  flex: 0 0 28px;
  height: 2px;
  background: currentColor;
}

body.tw-ws .tw-ws-sektion .tw-ws-kicker + h1,
body.tw-ws .tw-ws-sektion .tw-ws-kicker + h2 {
  margin-top: 14px;
}

body.tw-ws .tw-ws-sektion .tw-ws-ingress {
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.55;
  color: #3b3532;
}

/* Centrerede sektionstoppe (temaer, dagen, godt å vite). */
body.tw-ws :is(.tw-ws-temaer, .tw-ws-dagen, .tw-ws-vite) .tw-ws-indre > :is(.tw-ws-kicker, h2, .tw-ws-ingress) {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  justify-content: center;
}

/* ---------- Knapper ---------- */

body.tw-ws .tw-ws-sektion .tw-ws-knapper {
  gap: 14px;
  margin-top: 32px;
}

body.tw-ws .tw-ws-knapper .wp-block-button__link {
  border: 2px solid var(--ws-terra) !important;
  border-radius: 999px !important;
  padding: 14px 30px !important;
  background: var(--ws-terra) !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: .02em;
  line-height: 1.3 !important;
  box-shadow: 0 12px 24px -14px rgba(150, 55, 30, .75);
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

body.tw-ws .tw-ws-knapper .wp-block-button__link:hover {
  background: var(--ws-terra-moerk) !important;
  border-color: var(--ws-terra-moerk) !important;
  transform: translateY(-2px);
}

body.tw-ws .tw-ws-knapper .is-style-outline .wp-block-button__link {
  background: transparent !important;
  border-color: rgba(29, 31, 37, .3) !important;
  color: var(--ws-blaek) !important;
  box-shadow: none;
}

body.tw-ws .tw-ws-knapper .is-style-outline .wp-block-button__link:hover {
  background: rgba(255, 255, 255, .55) !important;
  border-color: var(--ws-blaek) !important;
}

body.tw-ws .tw-ws-sektion a:focus-visible,
body.tw-ws .tw-ws-sektion summary:focus-visible {
  outline: 3px solid var(--ws-terra);
  outline-offset: 3px;
}

/* ---------- Toppen ---------- */

body.tw-ws .tw-ws-sektion.tw-ws-helt {
  padding: clamp(40px, 6vw, 88px) 0 clamp(140px, 13vw, 180px);
  background:
    radial-gradient(900px 520px at 88% 6%, rgba(194, 97, 72, .17), transparent 62%),
    radial-gradient(700px 420px at 0% 100%, rgba(255, 255, 255, .6), transparent 70%),
    var(--ws-greige);
  overflow: hidden;
}

body.tw-ws .tw-ws-helt-raekke {
  gap: clamp(36px, 5vw, 76px) !important;
  align-items: center !important;
}

body.tw-ws .tw-ws-sektion h1.tw-ws-titel {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -.02em;
}

body.tw-ws .tw-ws-sektion .tw-ws-ingress + .tw-ws-for-hvem {
  margin-top: 22px;
}

body.tw-ws .tw-ws-sektion .tw-ws-for-hvem {
  display: inline-block;
  padding: 7px 16px 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
}

body.tw-ws .tw-ws-for-hvem::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--ws-terra);
  vertical-align: 1px;
}

body.tw-ws .tw-ws-helt-bilde {
  position: relative;
}

body.tw-ws .tw-ws-helt-foto img {
  aspect-ratio: 1 / 1.04;
  object-fit: cover;
  object-position: 50% 45%;
  border-radius: 999px 999px var(--ws-r) var(--ws-r);
  box-shadow: var(--ws-skygge);
}

/* Datomærket over billedets nederste venstre hjørne. */
body.tw-ws .tw-ws-sektion .tw-ws-merke {
  position: absolute;
  left: -26px;
  bottom: 40px;
  margin: 0;
  width: 122px;
  height: 122px;
  border-radius: 50%;
  background: var(--ws-terra);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  box-shadow: 0 16px 32px -14px rgba(120, 45, 25, .6);
  transform: rotate(-8deg);
}

body.tw-ws .tw-ws-merke strong {
  font-size: 44px;
  line-height: 1;
  letter-spacing: -.02em;
  font-weight: 600;
}

/* ---------- Faktakortet (svæver over toppens kant) ---------- */

body.tw-ws .tw-ws-sektion.tw-ws-fakta {
  position: relative;
  z-index: 2;
  margin-top: calc(-1 * clamp(84px, 8vw, 104px)) !important;
  padding: 0;
  background: linear-gradient(to bottom, transparent 0, transparent 50%, #fff 50%);
}

body.tw-ws .tw-ws-fakta-raekke {
  gap: 0 !important;
  padding: 28px 10px;
  border-radius: var(--ws-r);
  background: #fff;
  box-shadow: var(--ws-skygge);
}

body.tw-ws .tw-ws-fakta-felt {
  padding: 4px 26px;
}

body.tw-ws .tw-ws-fakta-felt + .tw-ws-fakta-felt {
  border-left: 1px solid #ede5df;
}

body.tw-ws .tw-ws-sektion .tw-ws-fakta-etiket {
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ws-terra);
}

body.tw-ws .tw-ws-sektion .tw-ws-fakta-verdi {
  margin-top: 8px;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 600;
}

body.tw-ws .tw-ws-sektion .tw-ws-fakta-smaat {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ws-graa);
}

/* ---------- Om workshopen ---------- */

body.tw-ws .tw-ws-sektion.tw-ws-om {
  background: #fff;
  padding-top: clamp(56px, 7vw, 96px);
  box-shadow: 0 -2px 0 #fff; /* dækker en hårfin streg ved faktakortets bund (brøkdels-pixel) */
}

body.tw-ws .tw-ws-om-raekke {
  gap: clamp(36px, 6vw, 88px) !important;
  align-items: center !important;
}

body.tw-ws .tw-ws-sektion .tw-ws-spoersmaal {
  display: grid;
  gap: 12px;
  margin: 28px 0 30px;
  padding: 0;
  list-style: none;
}

body.tw-ws .tw-ws-sektion .tw-ws-spoersmaal li {
  position: relative;
  margin: 0;
  padding: 14px 18px 14px 58px;
  border-radius: 14px;
  background: var(--ws-sand);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
}

body.tw-ws .tw-ws-spoersmaal li::before {
  content: "?";
  position: absolute;
  left: 15px;
  top: 50%;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  border-radius: 50%;
  background: var(--ws-terra);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 28px;
  text-align: center;
}

body.tw-ws .tw-ws-om-foto {
  position: relative;
}

body.tw-ws .tw-ws-om-foto::before {
  content: "";
  position: absolute;
  inset: 26px -20px -20px 26px;
  border-radius: var(--ws-r);
  background: var(--ws-terra-lys);
}

body.tw-ws .tw-ws-om-foto img {
  position: relative;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--ws-r);
}

/* ---------- Temaerne ---------- */

body.tw-ws .tw-ws-sektion.tw-ws-temaer {
  background: var(--ws-greige);
}

body.tw-ws .tw-ws-sektion .tw-ws-tema-raekke {
  gap: 22px;
  margin-top: 46px;
}

body.tw-ws .tw-ws-tema {
  position: relative;
  overflow: hidden;
  padding: 32px 26px 30px;
  border-radius: var(--ws-r);
  background: #fff;
  box-shadow: var(--ws-skygge-lille);
  transition: transform .25s ease, box-shadow .25s ease;
}

body.tw-ws .tw-ws-tema::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ws-terra), #e6a792);
}

body.tw-ws .tw-ws-tema:hover {
  transform: translateY(-4px);
  box-shadow: var(--ws-skygge);
}

body.tw-ws .tw-ws-sektion .tw-ws-tema-nr {
  font-size: 44px;
  line-height: 1;
  font-weight: 200;
  letter-spacing: -.02em;
  color: var(--ws-terra);
}

body.tw-ws .tw-ws-sektion .tw-ws-tema h3 {
  margin-top: 20px;
}

body.tw-ws .tw-ws-sektion .tw-ws-tema p:not(.tw-ws-tema-nr) {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ws-graa);
}

/* ---------- Citatet ---------- */

body.tw-ws .tw-ws-sektion.tw-ws-sitat {
  padding: clamp(72px, 8vw, 104px) 0;
  background:
    radial-gradient(760px 300px at 50% 0%, rgba(255, 255, 255, .16), transparent 70%),
    var(--ws-terra);
  color: #fff;
  text-align: center;
}

body.tw-ws .tw-ws-sektion .tw-ws-sitat-tekst {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-top: 52px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.35;
  font-weight: 300;
  letter-spacing: -.005em;
}

body.tw-ws .tw-ws-sitat-tekst::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  width: 56px;
  height: 2px;
  margin-left: -28px;
  background: rgba(255, 255, 255, .65);
}

/* ---------- Kraft, kjærlighet og meditasjon ---------- */

body.tw-ws .tw-ws-sektion.tw-ws-kraft {
  background: #fff;
}

body.tw-ws .tw-ws-kraft-raekke {
  gap: clamp(36px, 6vw, 88px) !important;
  align-items: flex-start !important;
}

body.tw-ws .tw-ws-kraft-foto img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--ws-r);
  box-shadow: var(--ws-skygge);
}

body.tw-ws .tw-ws-sektion .tw-ws-hake {
  display: grid;
  gap: 14px;
  margin: 20px 0 26px;
  padding: 0;
  list-style: none;
}

body.tw-ws .tw-ws-sektion .tw-ws-hake li {
  position: relative;
  margin: 0;
  padding-left: 44px;
  line-height: 1.55;
}

body.tw-ws .tw-ws-hake li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ws-terra-lys) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c26148' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat;
}

body.tw-ws .tw-ws-hake strong {
  font-weight: 600;
}

/* ---------- Slik foregår dagen ---------- */

body.tw-ws .tw-ws-sektion.tw-ws-dagen {
  background: var(--ws-sand);
}

body.tw-ws .tw-ws-sektion .tw-ws-dag-raekke {
  gap: 24px;
  margin-top: 46px;
}

body.tw-ws .tw-ws-dag {
  overflow: hidden;
  padding-bottom: 28px;
  border-radius: var(--ws-r);
  background: #fff;
  box-shadow: var(--ws-skygge-lille);
}

body.tw-ws .tw-ws-dag-foto img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

body.tw-ws .tw-ws-dag:nth-child(1) .tw-ws-dag-foto img { object-position: 50% 22%; }
body.tw-ws .tw-ws-dag:nth-child(2) .tw-ws-dag-foto img { object-position: 50% 62%; }

body.tw-ws .tw-ws-sektion .tw-ws-dag > :not(figure) {
  padding-inline: 26px;
}

body.tw-ws .tw-ws-sektion .tw-ws-dag h3 {
  margin-top: 24px;
}

body.tw-ws .tw-ws-sektion .tw-ws-dag p {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ws-graa);
}

/* ---------- Godt å vite: fold-ud-boksene ---------- */

body.tw-ws .tw-ws-sektion.tw-ws-vite {
  background: var(--ws-greige);
}

body.tw-ws .tw-ws-sektion .tw-ws-fold-liste {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin: 40px auto 0;
}

body.tw-ws .tw-ws-sektion .tw-ws-fold-liste > * + * {
  margin-top: 0;
}

body.tw-ws .tw-ws-fold {
  --plus: var(--ws-terra);
  --plus-bund: var(--ws-terra-lys);
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--ws-skygge-lille);
}

body.tw-ws .tw-ws-fold[open] {
  --plus: #fff;
  --plus-bund: var(--ws-terra);
}

body.tw-ws .tw-ws-fold > summary {
  position: relative;
  padding: 22px 70px 22px 26px;
  list-style: none;
  cursor: pointer;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
}

body.tw-ws .tw-ws-fold > summary::-webkit-details-marker {
  display: none;
}

body.tw-ws .tw-ws-fold > summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  border-radius: 50%;
  background:
    linear-gradient(var(--plus), var(--plus)) center / 14px 2px no-repeat,
    linear-gradient(var(--plus), var(--plus)) center / 2px 14px no-repeat,
    var(--plus-bund);
  transition: transform .25s ease;
}

body.tw-ws .tw-ws-fold[open] > summary::after {
  transform: rotate(45deg);
}

body.tw-ws .tw-ws-sektion .tw-ws-fold > :not(summary) {
  margin-inline: 26px;
}

body.tw-ws .tw-ws-sektion .tw-ws-fold > summary + * {
  margin-top: 0;
}

body.tw-ws .tw-ws-sektion .tw-ws-fold > :last-child:not(summary) {
  margin-bottom: 26px;
}

body.tw-ws .tw-ws-sektion .tw-ws-fold > p {
  font-size: 17px;
}

/* Den lille »Les mer« i kraft-afsnittet: en linje i stedet for et kort. */
body.tw-ws .tw-ws-fold.tw-ws-fold--lenke {
  border-top: 1px solid #ece4de;
  border-bottom: 1px solid #ece4de;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.tw-ws .tw-ws-fold.tw-ws-fold--lenke > summary {
  padding: 16px 56px 16px 0;
  color: var(--ws-terra);
  font-size: 17px;
}

body.tw-ws .tw-ws-fold.tw-ws-fold--lenke > summary::after {
  right: 4px;
}

body.tw-ws .tw-ws-sektion .tw-ws-fold.tw-ws-fold--lenke > :not(summary) {
  margin-inline: 0;
}

/* Lærerne i »Hvem er vi?« */
body.tw-ws .tw-ws-sektion .tw-ws-laerer-raekke {
  gap: 18px;
  margin-top: 22px;
}

body.tw-ws .tw-ws-laerer {
  text-align: center;
}

body.tw-ws .tw-ws-sektion .tw-ws-laerer-foto img {
  width: 104px;
  height: 104px;
  margin: 0 auto;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 4px var(--ws-terra-lys);
}

body.tw-ws .tw-ws-sektion .tw-ws-laerer-navn {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.3;
}

body.tw-ws .tw-ws-sektion .tw-ws-laerer-navn strong {
  font-weight: 600;
}

body.tw-ws .tw-ws-sektion .tw-ws-laerer-tekst {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ws-graa);
}

/* Glidende åbning, hvor browseren kan (Chrome 131+); ellers åbner boksen bare. */
@supports (interpolate-size: allow-keywords) {
  body.tw-ws {
    interpolate-size: allow-keywords;
  }

  body.tw-ws .tw-ws-fold::details-content {
    block-size: 0;
    overflow: clip;
    transition: block-size .35s ease, content-visibility .35s allow-discrete;
  }

  body.tw-ws .tw-ws-fold[open]::details-content {
    block-size: auto;
  }
}

/* ---------- Afslutningen ---------- */

body.tw-ws .tw-ws-sektion.tw-ws-slutt {
  background:
    radial-gradient(800px 460px at 100% 0%, rgba(194, 97, 72, .35), transparent 65%),
    var(--ws-nat);
  color: #fff;
}

body.tw-ws .tw-ws-slutt-raekke {
  gap: clamp(36px, 6vw, 88px) !important;
  align-items: center !important;
}

body.tw-ws .tw-ws-sektion.tw-ws-slutt .tw-ws-kicker {
  color: #eba892;
}

body.tw-ws .tw-ws-sektion .tw-ws-slutt-info {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .82);
}

body.tw-ws .tw-ws-slutt .tw-ws-knapper .is-style-outline .wp-block-button__link {
  border-color: rgba(255, 255, 255, .45) !important;
  color: #fff !important;
}

body.tw-ws .tw-ws-slutt .tw-ws-knapper .is-style-outline .wp-block-button__link:hover {
  background: rgba(255, 255, 255, .1) !important;
  border-color: #fff !important;
}

body.tw-ws .tw-ws-slutt-foto img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--ws-r);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
}

/* ---------- Påmelding: WPForms 3688 i et hvidt kort (v1.0.1) ---------- */

body.tw-ws .tw-ws-sektion.tw-ws-paamelding {
  background: var(--ws-sand);
}

body.tw-ws .tw-ws-paamelding-raekke {
  gap: clamp(36px, 6vw, 80px) !important;
  align-items: flex-start !important;
}

body.tw-ws .tw-ws-sektion .tw-ws-paamelding-sporsmal {
  margin-top: 26px;
  font-size: 16px;
  color: var(--ws-graa);
}

body.tw-ws .tw-ws-sektion .tw-ws-skjema {
  padding: clamp(24px, 3.5vw, 44px);
  border-radius: var(--ws-r);
  background: #fff;
  box-shadow: var(--ws-skygge);
}

/* Kortkodeblokken pakker formularen i <p>; de tomme afsnit må ikke give luft. */
body.tw-ws .tw-ws-skjema > p:empty {
  display: none;
}

body.tw-ws .tw-ws-skjema .wpforms-container {
  --wpforms-button-background-color: var(--ws-terra);
  --wpforms-button-border-radius: 999px;
  --wpforms-field-border-radius: 10px;
  --wpforms-label-color: var(--ws-blaek);
  margin: 0 !important;
}

/* Felterne fylder kortets bredde (WPForms' »medium« er ellers 60 %). */
body.tw-ws .tw-ws-skjema .wpforms-field-medium,
body.tw-ws .tw-ws-skjema .wpforms-field-row.wpforms-field-medium,
body.tw-ws .tw-ws-skjema .wpforms-field .iti {
  width: 100% !important;
  max-width: 100% !important;
}

body.tw-ws .tw-ws-skjema .wpforms-field-label {
  font-size: 15px;
  font-weight: 600;
}

body.tw-ws .tw-ws-skjema input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
body.tw-ws .tw-ws-skjema select,
body.tw-ws .tw-ws-skjema textarea {
  border-radius: 10px;
}

body.tw-ws .tw-ws-skjema input:focus,
body.tw-ws .tw-ws-skjema select:focus,
body.tw-ws .tw-ws-skjema textarea:focus {
  border-color: var(--ws-terra) !important;
  box-shadow: 0 0 0 3px rgba(194, 97, 72, .18) !important;
  outline: none;
}

body.tw-ws .tw-ws-skjema button[type="submit"] {
  height: auto !important;
  padding: 15px 34px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--ws-terra) !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: .02em;
  box-shadow: 0 12px 24px -14px rgba(150, 55, 30, .75);
  transition: background-color .2s ease, transform .2s ease;
}

body.tw-ws .tw-ws-skjema button[type="submit"]:hover {
  background: var(--ws-terra-moerk) !important;
  transform: translateY(-2px);
}

/* Vipps-ikonet i formularens indholdsfelt (Thomas' CSS, 1.0.2). Bevidst uden body.tw-ws, så det også
   gælder, hvor formularen ellers vises (fx testsiden 3691); [src*="vipps"] rammer kun Vipps-billedet. */
.wpforms-field.wpforms-field-content .wpforms-field-row img[src*="vipps"] {
  max-width: 100%;
  height: 18px;
  top: 3px;
  position: relative;
  border-radius: 4px;
}

/* ---------- Bredder ---------- */

@media (min-width: 782px) {
  body.tw-ws .tw-ws-helt-raekke > .tw-ws-helt-tekst { flex: 1 1 54% !important; }
  body.tw-ws .tw-ws-helt-raekke > .tw-ws-helt-bilde { flex: 1 1 46% !important; }
  body.tw-ws .tw-ws-om-raekke > .tw-ws-om-tekst { flex: 1 1 58% !important; }
  body.tw-ws .tw-ws-om-raekke > .tw-ws-om-bilde { flex: 1 1 42% !important; }
  body.tw-ws .tw-ws-kraft-raekke > .tw-ws-kraft-bilde { flex: 1 1 44% !important; position: sticky; top: 40px; }
  body.tw-ws .tw-ws-kraft-raekke > .tw-ws-kraft-tekst { flex: 1 1 56% !important; }
  body.tw-ws .tw-ws-slutt-raekke > .tw-ws-slutt-tekst { flex: 1 1 50% !important; }
  body.tw-ws .tw-ws-slutt-raekke > .tw-ws-slutt-bilde { flex: 1 1 50% !important; }
  body.tw-ws .tw-ws-paamelding-raekke > .tw-ws-paamelding-tekst { flex: 1 1 40% !important; position: sticky; top: 40px; }
  body.tw-ws .tw-ws-paamelding-raekke > .tw-ws-paamelding-skjema { flex: 1 1 60% !important; }
}

@media (min-width: 1024px) {
  body.tw-ws .tw-ws-fakta-raekke > .tw-ws-fakta-felt:nth-child(1) { flex-grow: 1.3 !important; }
  body.tw-ws .tw-ws-fakta-raekke > .tw-ws-fakta-felt:nth-child(2) { flex-grow: .75 !important; }
  body.tw-ws .tw-ws-fakta-raekke > .tw-ws-fakta-felt:nth-child(3) { flex-grow: 1.3 !important; }
  body.tw-ws .tw-ws-fakta-raekke > .tw-ws-fakta-felt:nth-child(4) { flex-grow: 1.05 !important; }
}

/* Mellembredde: temaerne 2 × 2 og faktakortet 2 × 2. */
@media (min-width: 782px) and (max-width: 1023px) {
  body.tw-ws .tw-ws-tema-raekke.wp-block-columns,
  body.tw-ws .tw-ws-fakta-raekke.wp-block-columns {
    flex-wrap: wrap !important;
  }

  body.tw-ws .tw-ws-tema-raekke.wp-block-columns > .wp-block-column {
    flex: 1 1 calc(50% - 11px) !important;
  }

  body.tw-ws .tw-ws-fakta-raekke.wp-block-columns > .wp-block-column {
    flex: 1 1 50% !important;
    padding-block: 12px;
  }

  body.tw-ws .tw-ws-fakta-felt:nth-child(3) {
    border-left: 0 !important;
  }
}

/* Mobil og smal tablet: alt under hinanden (WordPress' egen stabling). */
@media (max-width: 781px) {
  body.tw-ws .tw-ws-sektion .wp-block-columns {
    gap: 24px;
  }

  body.tw-ws .tw-ws-sektion.tw-ws-helt {
    padding-bottom: 128px;
  }

  body.tw-ws .tw-ws-helt-raekke {
    gap: 40px !important;
  }

  body.tw-ws .tw-ws-helt-foto img {
    aspect-ratio: 4 / 3.4;
    border-radius: 180px 180px var(--ws-r) var(--ws-r);
  }

  body.tw-ws .tw-ws-sektion .tw-ws-merke {
    left: 12px;
    bottom: 18px;
    width: 96px;
    height: 96px;
    font-size: 11px;
  }

  body.tw-ws .tw-ws-merke strong {
    font-size: 34px;
  }

  body.tw-ws .tw-ws-sektion.tw-ws-fakta {
    margin-top: -96px !important;
    background: linear-gradient(to bottom, transparent 0, transparent 40px, #fff 40px);
  }

  body.tw-ws .tw-ws-sektion .tw-ws-fakta-raekke {
    gap: 0;
    padding: 6px 22px;
  }

  body.tw-ws .tw-ws-fakta-felt {
    padding: 16px 0;
  }

  body.tw-ws .tw-ws-fakta-felt + .tw-ws-fakta-felt {
    border-left: 0;
    border-top: 1px solid #ede5df;
  }

  body.tw-ws .tw-ws-om-foto::before {
    inset: 18px -10px -12px 18px;
  }

  body.tw-ws .tw-ws-om-foto {
    margin-right: 10px;
  }

  body.tw-ws .tw-ws-sektion .tw-ws-spoersmaal li {
    font-size: 17px;
  }

  body.tw-ws .tw-ws-sektion .tw-ws-tema-raekke,
  body.tw-ws .tw-ws-sektion .tw-ws-dag-raekke {
    gap: 16px;
    margin-top: 34px;
  }

  body.tw-ws .tw-ws-fold > summary {
    padding: 18px 62px 18px 20px;
    font-size: 17px;
  }

  body.tw-ws .tw-ws-fold > summary::after {
    right: 16px;
  }

  body.tw-ws .tw-ws-sektion .tw-ws-fold > :not(summary) {
    margin-inline: 20px;
  }

  /* Lærerne to og to (WordPress stabler ellers kolonnerne én under en anden). */
  body.tw-ws .tw-ws-sektion .tw-ws-laerer-raekke.wp-block-columns {
    flex-wrap: wrap !important;
    gap: 22px 12px;
  }

  body.tw-ws .tw-ws-laerer-raekke.wp-block-columns > .wp-block-column.tw-ws-laerer {
    flex: 1 1 calc(50% - 6px) !important;
  }

  body.tw-ws .tw-ws-sektion .tw-ws-laerer-foto img {
    width: 88px;
    height: 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.tw-ws .tw-ws-sektion *,
  body.tw-ws .tw-ws-sektion *::before,
  body.tw-ws .tw-ws-sektion *::after {
    transition: none !important;
  }

  body.tw-ws .tw-ws-tema:hover,
  body.tw-ws .tw-ws-knapper .wp-block-button__link:hover {
    transform: none;
  }
}
