/* Samtykkedialog: ligeværdige valg i Datamines visuelle stil. */
.dm-footer-text-button { appearance:none; border:0; padding:0; background:none; color:var(--dm-cyan); font:inherit; cursor:pointer; }
.dm-footer-text-button:hover { color:var(--dm-pink); }
body.dm-consent-modal-open { overflow:hidden; }
.dm-consent { position:fixed; z-index:10000; inset:0; display:grid; place-items:center; padding:24px; background:rgba(25,19,36,.48); -webkit-backdrop-filter:blur(9px); backdrop-filter:blur(9px); overflow:auto; }
.dm-consent[hidden] { display:none; }
.dm-consent__panel { position:relative; display:grid; gap:28px; width:min(620px,100%); max-height:calc(100vh - 48px); max-height:calc(100dvh - 48px); padding:42px; border:1px solid rgba(139,63,240,.16); border-radius:28px; background:linear-gradient(135deg,#f5eeff 0,#fff 62%); color:var(--dm-ink); box-shadow:0 32px 100px -24px rgba(26,22,34,.55); overflow:auto; }
.dm-consent__copy::before { content:""; display:block; width:64px; height:6px; margin-bottom:24px; border-radius:6px; background:linear-gradient(90deg,#12b8e6,#8b3ff0,#ff2eb0); }
.dm-consent__eyebrow { margin:0 0 12px; color:#7930d6; font-family:var(--dm-heading); font-size:12px; font-weight:700; letter-spacing:1.8px; text-transform:uppercase; }
.dm-consent h2 { margin:0 0 18px; max-width:420px; font-family:var(--dm-heading); font-size:clamp(28px,4vw,36px); line-height:1.12; letter-spacing:-1.1px; }
.dm-consent__copy>p:not(.dm-consent__eyebrow) { margin:0; font-size:16px; line-height:1.65; color:#51475e; }
.dm-consent__copy>p.dm-consent__preview { margin-top:18px; padding:10px 13px; border-left:3px solid #b795df; border-radius:0 8px 8px 0; background:#f0e9f8; font-size:13px; line-height:1.5; color:#594369; }
.dm-consent__copy>p.dm-consent__details { margin-top:20px; font-size:14px; }
.dm-consent__details a { color:#7930d6; text-decoration:underline; text-underline-offset:4px; }
.dm-consent__status:empty { display:none; }
.dm-consent__status:not(:empty) { margin-top:12px; font-size:14px; }
.dm-consent__actions { display:grid; grid-template-columns:1fr 1fr; gap:12px; padding-top:24px; border-top:1px solid #e8def0; }
.dm-consent__button { min-height:52px; padding:13px 16px; border:1px solid #7930d6; border-radius:14px; background:#fff; color:#6724ab; font-family:var(--dm-heading); font-size:15px; font-weight:700; cursor:pointer; transition:background .15s,box-shadow .15s; }
.dm-consent__button:hover { background:#f0e6fb; box-shadow:0 4px 12px -6px rgba(86,37,127,.35); }
.dm-consent__button[data-dm-consent-selected=true] { background:#7930d6; color:#fff; }
.dm-consent__close { position:absolute; top:16px; right:16px; width:40px; height:40px; padding:0; border:1px solid #e7ddef; border-radius:50%; background:#fff; color:#513263; font-size:25px; line-height:1; cursor:pointer; }
.dm-consent__close:hover { background:#eee5f6; }
.dm-consent :is(button,a):focus-visible { outline:3px solid #7930d6; outline-offset:4px; }
@media(max-width:600px) {
 .dm-consent { padding:16px; }
 .dm-consent__panel { max-height:calc(100vh - 32px); max-height:calc(100dvh - 32px); gap:22px; padding:30px 24px; border-radius:22px; }
 .dm-consent__copy::before { margin-bottom:20px; }
 .dm-consent h2 { font-size:29px; }
 .dm-consent__copy>p:not(.dm-consent__eyebrow) { font-size:15px; }
 .dm-consent__copy>p.dm-consent__preview { font-size:12px; }
}
@media(max-width:400px) { .dm-consent__actions { grid-template-columns:1fr; gap:10px; } .dm-consent__button { width:100%; } }
@media(prefers-reduced-motion:reduce) { .dm-consent__button { transition:none; } }
@media(forced-colors:active) { .dm-consent { background:Canvas; } .dm-consent__panel,.dm-consent__button { border:2px solid ButtonText; } .dm-consent__button[data-dm-consent-selected=true] { border:3px solid Highlight; } }
/* Faner deler samme WordPress-indhold som politik-siden. */
.dm-consent__panel { grid-template-rows:auto minmax(0,1fr) auto; width:min(700px,100%); overflow:hidden; }
.dm-consent__tabs { display:flex; gap:4px; padding-right:30px; border-bottom:1px solid #e8def0; }
.dm-consent__tabs button { appearance:none; padding:12px 14px; border:0; border-bottom:3px solid transparent; background:transparent; color:#61526f; font:600 14px/1.4 var(--dm-heading); cursor:pointer; }
.dm-consent__tabs button[aria-selected=true] { color:#7930d6; border-bottom-color:transparent; background-image:linear-gradient(90deg,#12b8e6,#8b3ff0,#ff2eb0); background-size:100% 4px; background-position:left bottom; background-repeat:no-repeat; }
.dm-consent__tabs button:hover { background-color:#f0e9f8; }
.dm-consent__body { min-height:0; overflow:auto; padding:4px; margin:-4px; }
.dm-consent__body [hidden] { display:none; }
.dm-consent__document { font-size:15px; line-height:1.65; color:#51475e; }
.dm-consent__document h2 { margin:28px 0 12px; font-size:24px; }
.dm-consent__document p { margin:0 0 18px; }
.dm-consent__document a { color:#7930d6; text-decoration:underline; }
.dm-consent__document .wp-block-table { margin:0 0 20px; overflow:auto; border-radius:12px; border:1px solid #e5dcef; }
.dm-consent__document table { width:100%; table-layout:fixed; border-collapse:collapse; font-size:13px; }
.dm-consent__document th,.dm-consent__document td { padding:12px 10px; border:0; vertical-align:top; text-align:left; overflow-wrap:anywhere; }
.dm-consent__document th { background:#38234f; color:white; }
.dm-consent__document tr:nth-child(even) { background:#f3edf9; }
.dm-consent__document code { font-size:12px; color:#6727ac; white-space:normal; }
@media(max-width:600px) { .dm-consent__tabs { padding-right:0; } .dm-consent__tabs button { padding:10px 8px; font-size:13px; } .dm-consent__panel { padding-top:56px; } .dm-consent__document th,.dm-consent__document td { padding:10px 6px; } }

/* Farveaccenten er nu den aktive fanes markering. */
.dm-consent__copy::before { display:none; }
