/* Vieralleanderledes.net — additions for the static build:
   - skip link for a11y
   - Athenas strip required outside the footer
   - footer copyright (© Zevio)
   - tiny tweaks for the gated player video element
   - hide-modal helper
*/

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 1000;
}
.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 12px;
  width: auto;
  height: auto;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  font-weight: 700;
}

/* Athenas strip — visible outside the footer, per house style. */
.athenas-strip {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.06em;
  padding: 14px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.athenas-strip a {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 4px;
}
.athenas-strip a:hover { color: #F5C518; }

/* Footer copyright line. */
.footer-copyright {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px 28px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(26, 27, 34, 0.55);
}

/* Stage-cover image: width is dictated by .stage-cover wrapper. */
.stage-cover img { max-width: none; }

/* Ensure [hidden] beats class-level display rules. */
.player-card video[hidden],
.player-play[hidden],
.player-poster[hidden],
.player-lock[hidden],
.player-reset[hidden] { display: none !important; }

/* Modal backdrop fade-in handled by CSS; just make sure [hidden] works. */
.modal-backdrop[hidden] { display: none !important; }
#article-host[hidden] { display: none !important; }

/* Visually contain very long urls in the brand mark on tiny screens. */
@media (max-width: 480px) {
  .brand-domain { font-size: 16px; }
}

/* Visually-hidden text — readable by AI agents, screen readers, and search
   engines, but invisible on screen. Pair with aria-hidden="true" on the
   visual sibling to avoid duplicate announcements. */
.sr-only {
  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;
}

/* Full essay body lives in the DOM (for AI/SE/SR) but is hidden visually.
   The article modal copies this content when the card is opened. */
.article-full {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: normal;
  border: 0;
}

/* ============ IDEA CARDS — expandable "Læs mere" ============ */
.ideas-hint {
  font-size: 14px;
  color: rgba(26, 27, 34, 0.55);
  margin: 14px 0 0;
  font-style: italic;
}
.idea-card {
  padding: 0;
  display: flex;
  flex-direction: column;
}
.idea-card.is-open {
  transform: translateY(-3px);
  box-shadow: 8px 8px 0 0 var(--ink);
}
.idea-head {
  appearance: none;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  padding: 32px 32px 28px;
  margin: 0;
  font: inherit;
  color: inherit;
  display: block;
  width: 100%;
  position: relative;
}
.idea-head:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -4px;
  border-radius: 14px;
}
.idea-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.idea-toggle-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--zv-dur-base, 220ms) var(--zv-ease, ease);
}
.idea-card.is-open .idea-toggle-icon {
  transform: rotate(180deg);
}
.idea-more {
  max-height: 0;
  overflow: hidden;
  transition: max-height 480ms cubic-bezier(0.4, 0, 0.2, 1);
}
.idea-more-inner {
  padding: 4px 32px 32px;
  border-top: 1px dashed rgba(26, 27, 34, 0.15);
}
.idea-more-inner p {
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(26, 27, 34, 0.78);
  margin: 18px 0 0;
}
.idea-more-inner p:first-child {
  margin-top: 22px;
}
.idea-more-inner em {
  font-style: italic;
  background: linear-gradient(transparent 65%, color-mix(in oklch, var(--accent), white 70%) 65%);
  padding: 0 2px;
}
.idea-underline {
  display: none;
}
@media (max-width: 720px) {
  .idea-head { padding: 24px 22px 22px; }
  .idea-more-inner { padding: 4px 22px 26px; }
}

/* ============ FOREDRAG-TRANSCRIPT — collapsible, secondary visual weight ===
   Lives at the bottom of <main>. Folded by default so it doesn't dominate
   the page; expanded shows the full transcript in body-text style. Headings
   inside use h3 so they don't compete with the section h2/h3 hierarchy on
   the rest of the page. */
.foredrag-transcript {
  max-width: 880px;
  margin: 0 auto;
  padding: 24px 28px 96px;
}
.transcript-details {
  background: var(--paper-2, #F4EDDF);
  border: 1px solid rgba(26, 27, 34, 0.1);
  border-radius: 16px;
  overflow: hidden;
}
.transcript-summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  user-select: none;
  transition: background var(--zv-dur-base, 220ms) var(--zv-ease, ease);
}
.transcript-summary::-webkit-details-marker { display: none; }
.transcript-summary::after {
  content: '';
  width: 10px;
  height: 10px;
  margin-left: auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform var(--zv-dur-base, 220ms) var(--zv-ease, ease);
  opacity: 0.55;
}
.transcript-details[open] .transcript-summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}
.transcript-summary:hover { background: rgba(26, 27, 34, 0.04); }
.transcript-summary-icon { font-size: 18px; line-height: 1; }
.transcript-summary-meta {
  font-weight: 500;
  font-size: 13px;
  opacity: 0.6;
  letter-spacing: 0.02em;
}
.transcript-body {
  padding: 4px 28px 28px;
  border-top: 1px dashed rgba(26, 27, 34, 0.18);
  font-size: 16px;
  line-height: 1.75;
  color: rgba(26, 27, 34, 0.85);
}
.transcript-body #transcript-heading {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(26, 27, 34, 0.55);
  margin: 24px 0 8px;
}
.transcript-body h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 36px 0 12px;
  color: var(--ink);
}
.transcript-body p {
  margin: 0 0 16px;
  text-wrap: pretty;
}
.transcript-attribution {
  max-width: 880px;
  margin: 16px auto 0;
  font-size: 13px;
  color: rgba(26, 27, 34, 0.55);
  text-align: center;
}
.transcript-attribution a {
  color: rgba(26, 27, 34, 0.7);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.transcript-attribution a:hover { color: var(--ink); }

@media (max-width: 720px) {
  .foredrag-transcript { padding: 16px 18px 80px; }
  .transcript-summary { padding: 16px 18px; font-size: 14px; }
  .transcript-summary-meta { display: none; }
  .transcript-body { padding: 4px 20px 22px; font-size: 15px; }
}

/* ============================================================
   Booking facts list — used in the new two-card booking section
   (LearnX heldagskursus + Athenas foredrag). The base site.css
   does not include this rule because the booking section was
   previously single-card.
   ============================================================ */
.booking-facts {
  list-style: none;
  margin: 0 0 28px;
  padding: 20px 0;
  border-top: 1px solid rgba(26,27,34,0.12);
  border-bottom: 1px solid rgba(26,27,34,0.12);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.booking-facts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.booking-facts li strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.booking-facts li span {
  font-size: 13px;
  opacity: 0.65;
}
@media (max-width: 720px) {
  .booking-facts { grid-template-columns: 1fr; gap: 10px; padding: 16px 0; }
}
