/* Hand-written additions to the design's own CSS (which is inline in every page). */

/* The design's full-bleed parts are 100vw wide, which includes a classic (non-overlay) scrollbar: clip that
   overflow on the page wrapper. "clip" (unlike "hidden") is not a scroll container, so sticky headers still work. */
body > * { overflow-x: clip; }
/* Sticky header: anchors land below it (site.js measures the real height; this is the no-JavaScript fallback) */
html { scroll-padding-top: 112px; }
/* For virksomheder FAQ: "Hvad er inkluderet i en standpakke?" is a list */
.faq ul { margin: 0 0 24px; padding-left: 22px; max-width: 640px; font-size: 16px; line-height: 1.6; }

/* Fair cards: date, time and venue slide in on hover and keyboard focus (the design did this in React). */
@media (hover: hover) {
  .ek:hover .ek-p { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%) !important; }
  .ek:hover .ek-r { transform: scale(1.25) !important; opacity: 0 !important; }
  .ek:hover .ek-i { opacity: 1 !important; transition-delay: .25s !important; }
}
.ek:focus-visible .ek-p { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%) !important; }
.ek:focus-visible .ek-r { transform: scale(1.25) !important; opacity: 0 !important; }
.ek:focus-visible .ek-i { opacity: 1 !important; transition-delay: .25s !important; }

/* Exhibitor filters and profile */
[hidden] { display: none !important; }
body > [role="dialog"] { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; } /* outside the page wrapper that sets it */
.chip[aria-pressed="true"] { background: #211D51 !important; color: #F3EEE5 !important; }
[data-kd="grid"] > button:focus-visible { outline: 2px solid #211D51 !important; outline-offset: 3px !important; } /* cards are "all: unset" */
.kd-desc { display: flex; flex-direction: column; gap: 14px; }
.kd-desc > * { margin: 0; }
.kd-desc p, .kd-desc li { font-size: 17px; line-height: 1.6; }
.kd-desc > p:first-child { font-size: 21px; line-height: 1.5; font-weight: 500; margin-bottom: 22px; }
.kd-desc h3, .kd-desc h4 { margin-top: 22px; font: 600 13px/1.2 "Avenir Next", Avenir, "Nunito Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.kd-desc a { color: inherit; }
[data-kd="video"] video, [data-kd="video"] iframe { display: block; width: 100%; height: 100%; border: 0; }

/* Cookie/privacy policy link: right-aligned in the footer's bottom bar; the fair pages get a slim bar of their own */
.kd-legal-link { margin-left: auto; margin-right: 12px; color: inherit; text-decoration: none; line-height: 1; }
.kd-legal-link:hover, .kd-legal-link:focus-visible { color: #F3EEE5; text-decoration: underline; }
footer.kd-legal { display: flex; justify-content: flex-end; padding: 24px clamp(16px, 3vw, 56px) 32px; background: #211D51; color: #BAC8DD; font-size: 13px; }
footer.kd-legal .kd-legal-link { margin: 0; }

/* Cookie- og persondatapolitik: Gustav's text in a readable column */
.kd-policy { background: #F3EEE5; color: #211D51; }
.kd-policy-col { max-width: 760px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) clamp(16px, 4vw, 40px) clamp(64px, 9vw, 120px); font-size: 17px; line-height: 1.6; overflow-wrap: break-word; }
.kd-policy h1, .kd-policy h2 { font-family: "Avenir Next", Avenir, "Nunito Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif; font-weight: 600; letter-spacing: -.01em; }
.kd-policy h1 { margin: 0 0 12px; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.05; }
.kd-policy h2 { margin: 48px 0 12px; font-size: clamp(23px, 2.2vw, 28px); line-height: 1.2; }
.kd-policy h3 { margin: 32px 0 8px; font-size: 19px; font-weight: 500; line-height: 1.3; }
.kd-policy p, .kd-policy ul { margin: 0 0 16px; }
.kd-policy ul { padding-left: 22px; }
.kd-policy a { color: inherit; }
/* The legally reviewed Danish policy (kd-privacy): lead, date, fact tables, callout */
.kd-privacy__lead { margin-top: -4px; font-size: 20px; line-height: 1.4; }
.kd-privacy__updated { font-size: 14px; color: #4A4675; }
.kd-privacy address { font-style: normal; margin: 0 0 16px; }
.kd-privacy__table-wrap { max-width: 100%; overflow-x: auto; margin: 16px 0 24px; } /* wide tables scroll here, not the page */
.kd-privacy table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.kd-privacy__table { min-width: 520px; }
.kd-privacy th, .kd-privacy td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid rgba(33, 29, 81, .2); }
.kd-privacy thead th { background: #211D51; color: #F3EEE5; font-weight: 500; }
.kd-privacy tbody th { font-weight: 500; }
.kd-privacy__facts th { width: 28%; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: #4A4675; }
.kd-privacy__facts td p { margin: 0 0 8px; }
.kd-privacy__facts td p:last-child { margin: 0; }
.kd-privacy__callout { margin: 24px 0; padding: 16px 20px; background: #BAC8DD; border-left: 4px solid #211D51; }
.kd-privacy__callout p:last-child { margin-bottom: 0; }
@media (max-width: 480px) { .kd-privacy__facts th { width: 34%; } }

/* "Hent infomateriale": the e-mail gate. Shown as a modal dialog by site.js (.is-open); without JavaScript the
   same overlay opens via #infomateriale (:target, in the page's <noscript> CSS). */
.kd-info { display: none; position: fixed; inset: 0; z-index: 120; padding: 16px; overflow-y: auto;
           align-items: center; justify-content: center; background: rgba(33, 29, 81, .72); }
.kd-info.is-open { display: flex; }
.kd-info__box { position: relative; width: 100%; max-width: 520px; margin: auto; padding: 40px 32px 32px; box-sizing: border-box;
                background: #F3EEE5; color: #211D51; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 17px; line-height: 1.5; }
.kd-info__title { margin: 0 0 16px; font-size: clamp(26px, 3vw, 34px); line-height: 1.1; }
.kd-info__close { position: absolute; top: 8px; right: 12px; width: 44px; height: 44px; display: flex; align-items: center;
                  justify-content: center; font-size: 28px; line-height: 1; color: #211D51; text-decoration: none; }
.kd-info p { margin: 0 0 16px; }
.kd-info__field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; font-size: 15px; font-weight: 500; }
.kd-info__field input { min-height: 44px; padding: 8px 12px; box-sizing: border-box; border: 1.5px solid #211D51; border-radius: 0;
                        background: #fff; color: #211D51; font: inherit; font-weight: 400; }
.kd-info__field input[aria-invalid="true"] { border-color: #B3261E; }
.kd-info__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.kd-info__note { font-size: 14px; color: #4A4675; }
.kd-info__note a { color: inherit; }
.kd-info__msg { padding: 10px 12px; background: #fff; border-left: 4px solid #B3261E; font-size: 15px; }
.kd-info .btn { border: 0; cursor: pointer; }
.kd-info .btn:disabled { opacity: .6; cursor: progress; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
