/* deres-ord.html — page-specific styles on top of style.css */
.spine .mk, .hexes i, .legend i { aspect-ratio: .866; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }

/* ---------- hero ---------- */
.do-hero { padding-top: clamp(1.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.do-hero h1 { font-size: clamp(3.4rem, 13.5vw, 10.5rem); line-height: .9; letter-spacing: -.03em; }
.jump li { border-top: 1px solid var(--rule); }
.jump li:last-child { border-bottom: 1px solid var(--rule); }
.jump a { display: block; padding: .55rem 0; font-size: 1rem; font-weight: 600; line-height: 1.35; text-decoration: none; }
.jump a:hover { text-decoration: underline; }

/* ---------- Mariam: the widening circles ---------- */
.rings { padding-block: .75rem; }
.ring { border: 2px solid rgb(246 240 228 / .3); border-radius: 14px; padding: .55rem; }
.ring .ring { border-color: rgb(246 240 228 / .55); }
.ring .ring .ring { border-color: rgb(246 240 228 / .8); }
.ring > span { display: block; padding: .15rem .45rem .6rem; font-size: .875rem; line-height: 1.35; color: rgb(246 240 228 / .72); }
.ring b { display: block; font-size: 1rem; font-weight: 700; color: var(--cream); }
.ring.core { background: var(--cream); border-color: var(--cream); }
.ring.core > span { padding-bottom: .3rem; color: var(--ink-2); }
.ring.core b { color: var(--navy); }
.rings figcaption { margin-top: 1.25rem; }
.sec.navy .share-part { color: rgb(246 240 228 / .72); margin-top: .5rem; }
.sec.navy .share-part:hover { color: var(--cream); }

/* ---------- De siger + regnskabet ---------- */
.said.big p { font-size: clamp(1.45rem, 2.7vw, 2.15rem); font-weight: 600; line-height: 1.25; letter-spacing: -.01em; text-wrap: balance; }
.regn { margin-top: clamp(3rem, 7vw, 5.5rem); }
.regn h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.08; margin: .35rem 0 1rem; }
.regn-t { font-weight: 600; }
.rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem 1rem; align-items: baseline; padding: .7rem 0; border-top: 1px solid var(--rule); font-size: 1rem; line-height: 1.4; }
.rows li:last-child { border-bottom: 1px solid var(--rule); }
.regn .poster { padding-top: 1.75rem; }
@media (max-width: 959px) { .regn .R .regn-t { display: none; } }

/* ---------- the 11 statements ---------- */
.kort-row { margin-top: clamp(2rem, 5vw, 4rem); }
.kidx { display: flex; flex-wrap: wrap; gap: .15rem 1.1rem; }
.kidx a { display: flex; align-items: center; gap: .5rem; padding: .5rem 0; font-size: .9rem; font-weight: 600; line-height: 1.2; text-decoration: none; }
.kidx .hex { width: 26px; font-size: .8rem; flex: none; }
.kidx a:hover span:last-child, .kidx a[aria-current] span:last-child { text-decoration: underline; text-decoration-thickness: 2px; }
.kidx a[aria-current] .hex { background: var(--red); }

.kort { border-top: 3px solid var(--navy); }
.kort:last-child { border-bottom: 3px solid var(--navy); }
.kort summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .5rem .9rem; align-items: center; padding: 1.25rem 0 1.4rem; list-style: none; cursor: pointer; }
.kort summary::-webkit-details-marker { display: none; }
.kort summary .hex { width: 40px; font-size: 1.15rem; }
.kort h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.04; }
.kort summary:hover h3 { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .12em; }
.citat, .hvem { grid-column: 1 / -1; }
.citat { font-size: clamp(1.1rem, 1.6vw, 1.25rem); font-weight: 500; line-height: 1.4; margin-top: .35rem; }
.pm { position: relative; width: 40px; height: 40px; border: 2px solid var(--navy); border-radius: 10px; }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: currentColor; }
.pm::after { transform: rotate(90deg); }
.kort[open] .pm { background: var(--navy); color: var(--cream); }
.kort[open] .pm::after { transform: none; }

.kort-body { padding-bottom: 2rem; }
.kort-body > * + * { margin-top: 1.1em; }
.kort-body h4 { font-size: 1.15rem; line-height: 1.1; margin: 2.25rem 0 0; }
.kort-body h4:first-child { margin-top: .5rem; }
.kort-body h4::before { content: ""; display: block; width: 2.5rem; height: 5px; background: var(--navy); margin-bottom: .8rem; }
.udf { background: var(--cream-2); border-radius: 10px; padding: 1.1rem 1.25rem 1.2rem; margin-top: 2rem !important; }
.udf b { display: block; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; margin-bottom: .3rem; }
.konkl { font-size: clamp(1.2rem, 1.9vw, 1.4rem); font-weight: 600; line-height: 1.32; letter-spacing: -.01em; text-wrap: balance; margin-top: 1.75rem !important; }
.konkl strong { font-weight: 800; }
.del { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 2rem !important; }
.del b { margin-right: .4rem; }
.btn.sm { padding: .35rem .8rem; font-size: .875rem; }
.pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1rem; padding-top: 1rem; border-top: 1px solid var(--rule); font-weight: 600; }
.pager a { white-space: nowrap; padding-block: .25rem; }
@media (max-width: 599px) { .pager > :nth-child(2) { order: 3; flex-basis: 100%; } }

/* Gaza: 2,018 dots, one per ten children (50 per row, 40 full rows + 18) */
.gaza { --d: 5px; margin-block: 1.75rem; }
.gaza-tal b { display: block; font-size: clamp(3rem, 7vw, 4.5rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.gaza-tal span { font-weight: 600; }
.gaza-felt { margin-block: 1rem .8rem; }
.gaza-felt i { display: block; height: calc(40 * var(--d)); width: calc(50 * var(--d)); background: radial-gradient(circle, var(--navy) 0 36%, transparent 40%) 0 0 / var(--d) var(--d); }
.gaza-felt i + i { height: var(--d); width: calc(18 * var(--d)); }

/* ---------- the timeline: the red line is the axis ---------- */
.spine-sec { --rx: calc(var(--spine) + var(--off)); }
.spine-sec.b { --rx: calc(var(--spine) - var(--off)); }
.spine { margin-top: clamp(1.5rem, 4vw, 3rem); }
.spine li { padding-block: 1.5rem; }
.spine .mk { position: absolute; left: var(--rx); width: 20px; background: var(--navy); transform: translate(-50%, .1rem); z-index: 3; }
.spine .when { font-size: clamp(1.2rem, 2.1vw, 1.7rem); font-weight: 800; text-transform: uppercase; line-height: 1.08; letter-spacing: -.015em; text-wrap: balance; margin-bottom: .6rem; }
.spine .what > * + * { margin-top: .7rem; }
.spine .ordret { font-size: clamp(1.1rem, 1.6vw, 1.25rem); font-weight: 500; line-height: 1.4; }
.spine a { overflow-wrap: anywhere; }

.hexes { display: grid; grid-template-columns: repeat(25, minmax(0, 1fr)); gap: 3px 2px; max-width: 30rem; }
.hexes i, .legend i { background: var(--navy); }
.hexes i.k, .legend i.k { background: #9aa1ae; }
.legend { display: flex; flex-wrap: wrap; gap: .3rem 1.25rem; margin-top: .9rem; }
.legend span { display: flex; align-items: center; gap: .45rem; }
.legend i { width: 12px; flex: none; }
.niqab figcaption { margin-top: .9rem; font-weight: 600; font-size: 1.1rem; line-height: 1.35; }

/* ---------- onward ---------- */
.onward .btn { font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 700; padding: .9rem 1.5rem; }

@media (min-width: 960px) {
  .kidx { display: block; }
  .kidx li { border-top: 1px solid var(--rule); }
  .kidx li:last-child { border-bottom: 1px solid var(--rule); }
  .kidx a { padding: .5rem 0; font-size: 1rem; }
  .kort-row .sticky { top: calc(var(--head) + 2rem); }
  .gaza { --d: 8px; }

  .spine-sec { --rx: calc(50% + var(--off)); }
  .spine-sec.b { --rx: calc(50% - var(--off)); }
  .spine { grid-column: 1 / -1; }
  .spine li { display: grid; grid-template-columns: minmax(0, 1fr) 240px minmax(0, 1fr); padding-block: 2rem; }
  .spine .mk { width: 30px; }
  .spine .when { grid-column: 1; text-align: right; margin: 0; }
  .spine .what { grid-column: 3; }
}

/* Long single-word themes (Undertrykkelse, Seksualisering) must not split mid-word on phones */
summary h3.display { overflow-wrap: normal; word-break: normal; hyphens: manual; }
@media (max-width: 480px) { summary h3.display { font-size: clamp(.95rem, 5vw, 1.6rem); } }
