.idhseo-content {
	--idhseo-accent: #3160F6;
	--idhseo-ink: #0B0D1F;
	--idhseo-text: inherit;
	--idhseo-muted: #6E7278;
	--idhseo-border: #E6E9F0;
	--idhseo-soft: #F5F7F6;
	--idhseo-tint: #E8EEFF;
}
.idhseo-content h2, .idhseo-content h3 { color: var(--idhseo-ink); letter-spacing: -0.3px; }
.idhseo-content h2 { margin-top: 1.8em; }
.idhseo-content a:not(.wp-block-button__link) { color: var(--idhseo-accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.idhseo-content a:not(.wp-block-button__link):hover { text-decoration-thickness: 2px; }
.idhseo-content ul li::marker, .idhseo-content ol li::marker { color: var(--idhseo-accent); font-weight: 700; }

/* Sammenligningstabeller */
.idhseo-table { max-width: 100%; margin: 28px 0; overflow: hidden; border: 1px solid var(--idhseo-border); border-radius: 16px; background: #fff; }
.idhseo-table__scroll { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.idhseo-table__scroll:focus-visible { outline: 2px solid var(--idhseo-accent); outline-offset: -2px; }
.idhseo-table--wide::after { content: "Swipe for at se hele tabellen →"; display: none; padding: 9px 16px; border-top: 1px solid var(--idhseo-border); background: var(--idhseo-soft); color: var(--idhseo-muted); font-size: 12px; }
.idhseo-table table { width: 100%; margin: 0; border: 0; border-collapse: separate; border-spacing: 0; font-size: 15px; line-height: 1.45; }
.idhseo-table caption { caption-side: top; padding: 14px 18px; text-align: left; font-weight: 700; color: var(--idhseo-ink); background: var(--idhseo-soft); border-bottom: 1px solid var(--idhseo-border); }
.idhseo-table th, .idhseo-table td { padding: 13px 18px; border: 0; border-bottom: 1px solid var(--idhseo-border); text-align: left; vertical-align: top; background: transparent; }
.idhseo-table thead th { background: var(--idhseo-ink); color: #fff; font-weight: 700; white-space: nowrap; }
.idhseo-table thead th:first-child { color: #B8BED6; font-weight: 600; }
.idhseo-table tbody tr:nth-child(even) > * { background: #FAFBFC; }
.idhseo-table tbody tr:last-child > * { border-bottom: 0; }
.idhseo-table tbody th, .idhseo-table tbody td:first-child { color: var(--idhseo-ink); font-weight: 600; }
.idhseo-table tbody tr:hover > * { background: var(--idhseo-tint); }
.idhseo-yes, .idhseo-no { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; font-size: 13px; font-weight: 700; line-height: 1; }
.idhseo-yes { background: #E6F4EA; color: #1A7F37; }
.idhseo-no { background: #F1F2F4; color: #8C9099; }
.idhseo-content .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Tip-bokse */
.idhseo-content blockquote { margin: 26px 0; padding: 16px 20px; border: 0; border-left: 4px solid var(--idhseo-accent); border-radius: 12px; background: var(--idhseo-tint); color: var(--idhseo-ink); font-style: normal; font-size: inherit; quotes: none; }
.idhseo-content blockquote::before, .idhseo-content blockquote::after { content: none; }
.idhseo-content blockquote p { margin: 0; }
.idhseo-content blockquote p + p { margin-top: 8px; }
.idhseo-content blockquote strong { color: var(--idhseo-accent); }

/* Kode */
.idhseo-content pre { max-width: 100%; margin: 22px 0; padding: 16px 18px; overflow-x: auto; border-radius: 12px; background: var(--idhseo-ink); color: #E6E9F0; font-size: 14px; line-height: 1.6; }
.idhseo-content pre code { padding: 0; background: none; color: inherit; font-size: inherit; }
.idhseo-content :not(pre) > code { padding: 2px 6px; border-radius: 6px; background: var(--idhseo-soft); color: var(--idhseo-ink); font-size: .92em; }

/* Billeder og kreditering */
.idhseo-content .wp-block-image { margin: 28px 0; }
.idhseo-content .wp-block-image img { width: 100%; height: auto; border-radius: 16px; }
.idhseo-content .wp-block-image figcaption, .idhseo-content .idhseo-credit { color: var(--idhseo-muted); font-size: 13px; }
.idhseo-content .wp-block-image figcaption a, .idhseo-content .idhseo-credit a { color: inherit; }

@media (max-width: 767px) {
	.idhseo-table { margin: 22px 0; border-radius: 12px; }
	.idhseo-table th, .idhseo-table td { padding: 11px 14px; }
	.idhseo-table table { font-size: 14px; }
	.idhseo-table--wide table { min-width: 560px; }
	.idhseo-table--wide::after { display: block; }
}

/* Indholdsfortegnelse */
.idhseo-content h2[id] { scroll-margin-top: 110px; }
.idhseo-toc { margin: 30px 0 36px; padding: 22px 24px; border: 1px solid var(--idhseo-border); border-radius: 16px; background: var(--idhseo-soft); }
.idhseo-content .idhseo-toc__title { margin: 0 0 12px; color: var(--idhseo-ink); font-size: 15px; font-weight: 700; letter-spacing: .2px; }
.idhseo-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: idhtoc; display: grid; gap: 8px 32px; }
.idhseo-toc--cols ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.idhseo-toc li { counter-increment: idhtoc; display: flex; gap: 10px; margin: 0; font-size: 15px; line-height: 1.45; }
.idhseo-toc li::before { content: counter(idhtoc); flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--idhseo-tint); color: var(--idhseo-accent); font-size: 12px; font-weight: 700; line-height: 22px; text-align: center; }
.idhseo-content .idhseo-toc a { color: var(--idhseo-ink); text-decoration: none; }
.idhseo-content .idhseo-toc a:hover { color: var(--idhseo-accent); text-decoration: underline; }
@media (max-width: 767px) {
	.idhseo-toc { padding: 18px; }
	.idhseo-toc--cols ol { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) { html:has(.idhseo-toc) { scroll-behavior: smooth; } }
