/* ═══════════════════════════════════════════════════════════════════════════
   NIS2-direktivet — style.css
   Clean, professional, legal reference site
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Reset & Base ───────────────────────────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1.125rem;
  line-height: 1.7;
  color: #1a1a1a;
  background-color: #fafafa;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Typography ──────────────────────────────────────────────────────────────── */

h1, h2, h3, h4 {
  font-family: "Georgia", "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
}

h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #1a5276;
}

h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #1a5276;
}

h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
  max-width: 72ch;
}

a {
  color: #1a5276;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}

a:hover {
  color: #0e3a5c;
}

a:visited {
  color: #3a5a76;
}

strong {
  font-weight: 700;
}

em {
  font-style: italic;
}

ul, ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.35rem;
}

blockquote {
  border-left: 3px solid #1a5276;
  padding: 0.75rem 1.25rem;
  margin: 1rem 0;
  background: #f0f4f7;
  color: #333;
}

blockquote p {
  margin-bottom: 0;
}

/* ── Navigation ──────────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #d5d5d5;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.main-nav {
  width: 100%;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.5rem;
}

.nav-brand {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a5276;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-brand:hover {
  color: #0e3a5c;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1a1a1a;
  border-radius: 1px;
  transition: transform 0.2s ease;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  align-items: center;
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  display: block;
  padding: 0.5rem 0.65rem;
  color: #444;
  text-decoration: none;
  font-size: 0.875rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-links a:hover {
  color: #1a5276;
  border-bottom-color: #1a5276;
}

.nav-links a.active {
  color: #1a5276;
  font-weight: 600;
  border-bottom-color: #1a5276;
}

/* ── Page Layout ─────────────────────────────────────────────────────────────── */

.page-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  display: flex;
  gap: 2.5rem;
}

.page-layout .content {
  flex: 1;
  min-width: 0;
  max-width: 52rem;
}

/* ── Sidebar (legacy) ──────────────────────────────────────────────────────────────── */

.sidebar {
  width: 220px;
  flex-shrink: 0;
  position: sticky;
  top: 5rem;
  align-self: flex-start;
  max-height: calc(100vh - 6rem);
  overflow-y: auto;
  padding-right: 0.5rem;
}

.sidebar-content h3 {
  font-size: 0.9375rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: #1a5276;
  margin-top: 0;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #ddd;
}

.sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav li {
  margin: 0;
}

.sidebar-nav a {
  display: block;
  padding: 0.3rem 0.5rem;
  font-size: 0.8125rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: #444;
  text-decoration: none;
  border-radius: 3px;
  line-height: 1.4;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.sidebar-nav a:hover {
  background: #eef3f7;
  color: #1a5276;
}

.sidebar-nav-compact {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.sidebar-nav-compact li {
  width: auto;
}

.sidebar-nav-compact a {
  padding: 0.2rem 0.4rem;
  text-align: center;
  min-width: 2.2rem;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

/* ── Accordion Sidebar (gdpr.dk style) ────────────────────────────────────────────── */

.has-accordion {
  display: flex;
  gap: 2.5rem;
}

.accordion-sidebar {
  width: 300px;
  flex-shrink: 0;
  position: sticky;
  top: 5rem;
  align-self: flex-start;
  max-height: calc(100vh - 6rem);
  overflow-y: auto;
  padding-right: 0.5rem;
}

.accordion-menu {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

.accordion-top {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.5rem 0;
  margin-bottom: 0.25rem;
  border-bottom: 2px solid #1a5276;
}

.accordion-top .accordion-icon {
  color: #1a5276;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
  width: 1rem;
  text-align: center;
}

.accordion-top-link {
  font-size: 1rem;
  font-weight: 700;
  color: #1a5276;
  text-decoration: none;
}

.accordion-top-link:hover {
  text-decoration: underline;
}

.accordion-chapters {
  padding-top: 0.25rem;
}

.accordion-chapter {
  border-bottom: 1px solid #e8e8e8;
}

.accordion-chapter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.accordion-chapter-link {
  flex: 1;
  padding: 0.625rem 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.15s ease;
}

.accordion-chapter-link:hover {
  color: #1a5276;
}

.accordion-chapter.open .accordion-chapter-link,
.accordion-chapter-link.active-chapter {
  color: #c0392b;
}

.accordion-chapter-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: #333;
  transition: color 0.15s ease;
}

.accordion-chapter-btn:hover {
  color: #1a5276;
}

.accordion-chapter.open .accordion-chapter-btn {
  color: #c0392b;
}

/* Leaf links (Præambler, Bilag) */
.accordion-leaf-link {
  text-decoration: none;
  color: #333;
}

.accordion-leaf-link:hover {
  color: #1a5276;
}

.accordion-leaf-link:visited {
  color: #333;
}

.accordion-leaf.open .accordion-leaf-link {
  color: #c0392b;
}

/* Article list inside chapters */
.accordion-articles {
  list-style: none;
  padding: 0 0 0.5rem 1.5rem;
  margin: 0;
  display: none;
}

.accordion-chapter.open .accordion-articles {
  display: block;
}

.accordion-articles li {
  margin: 0;
}

.accordion-articles a {
  display: block;
  padding: 0.3rem 0.5rem;
  font-size: 0.8125rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: #555;
  text-decoration: none;
  line-height: 1.4;
  border-radius: 3px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.accordion-articles a:hover {
  background: #eef3f7;
  color: #1a5276;
}

.accordion-articles a:visited {
  color: #555;
}

/* Mobile toggle for accordion */
.accordion-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 4px;
}

.accordion-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1a1a1a;
  border-radius: 1px;
  transition: transform 0.2s ease;
}

/* ── Breadcrumb ──────────────────────────────────────────────────────────────── */

.breadcrumb {
  font-size: 0.8125rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: #888;
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: #1a5276;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-current {
  color: #555;
}

/* ── Hero (Index Page) ─────────────────────────────────────────────────────────────── */

.hero {
  padding: 2rem 0 2.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #e0e0e0;
}

.hero h1 {
  font-size: 2.5rem;
  border-bottom: none;
  margin-bottom: 0.75rem;
  padding-bottom: 0;
  color: #1a5276;
}

.hero .subtitle {
  font-size: 1.0625rem;
  color: #555;
  max-width: 60ch;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.hero .source-link {
  margin-bottom: 0;
}

.hero .source-link a {
  font-size: 0.875rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

/* ── Intro Sections (Index) ─────────────────────────────────────────────────────────────── */

.intro-section {
  margin-bottom: 2.5rem;
}

.intro-section h2 {
  font-size: 1.375rem;
  margin-top: 0;
}

/* ── Chapter Intro ─────────────────────────────────────────────────────────────── */

.chapter-intro {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e0e0e0;
}

.chapter-intro p {
  color: #333;
}

/* ── Legal Articles ─────────────────────────────────────────────────────────────── */

.legal-article {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e8e8e8;
}

.legal-article:last-child {
  border-bottom: none;
}

.legal-article h2 {
  font-size: 1.375rem;
  margin-top: 0;
  padding-top: 0.5rem;
}

.article-body {
  margin-top: 1rem;
}

/* ── Legal Paragraphs ─────────────────────────────────────────────────────────────── */

.legal-paragraph {
  margin-bottom: 1.5rem;
  display: flex;
  gap: 0.75rem;
}

.para-num {
  font-weight: 700;
  color: #1a5276;
  font-size: 0.875rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  flex-shrink: 0;
  padding-top: 0.25rem;
  min-width: 3.5rem;
}

.para-text {
  flex: 1;
  min-width: 0;
}

.para-text p:last-child {
  margin-bottom: 0;
}

/* ── Legal Lists ─────────────────────────────────────────────────────────────────── */

.legal-list {
  margin: 0.75rem 0 0.75rem 1.5rem;
  padding-left: 0;
}

.legal-list li {
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

.legal-list li.roman-sub {
  list-style-type: lower-roman;
  margin-left: 1.5rem;
}

.legal-dash-list {
  list-style: disc;
  margin: 0.5rem 0 0.75rem 1.5rem;
}

.legal-dash-list li {
  margin-bottom: 0.4rem;
}

.roman-item {
  list-style: none;
  margin-left: 0.5rem;
}

.roman-num {
  font-weight: 600;
  margin-right: 0.25rem;
}

/* ── Preamble Reference Box ─────────────────────────────────────────────────────────────── */

.preamble-box {
  margin-top: 1.5rem;
  padding: 0.75rem 1rem;
  background: #f5f8fa;
  border: 1px solid #d5dfe6;
  border-radius: 4px;
  font-size: 0.875rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

.preamble-box strong {
  color: #1a5276;
}

.preamble-box a {
  font-size: 0.875rem;
}

/* ── Preamble Items ─────────────────────────────────────────────────────────────── */

.preamble-item {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e8e8e8;
}

.preamble-item:last-child {
  border-bottom: none;
}

.preamble-item h2 {
  font-size: 1.25rem;
  margin-top: 0;
  color: #1a5276;
}

/* ── Tables ─────────────────────────────────────────────────────────────────────────── */

.table-responsive {
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.5;
}

thead {
  background: #1a5276;
  color: #fff;
}

th {
  padding: 0.625rem 0.75rem;
  text-align: left;
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

th a {
  color: #fff;
}

td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #e0e0e0;
  vertical-align: top;
}

tbody tr:hover {
  background: #f5f8fa;
}

/* Bilag tables — make them more readable */
.bilag-content table {
  font-size: 0.875rem;
}

.bilag-content td:first-child {
  font-weight: 600;
  white-space: nowrap;
  min-width: 10rem;
}

/* ── Source Note ────────────────────────────────────────────────────────────────────────── */

.source-note {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  background: #f8f8f8;
  border-left: 3px solid #ccc;
  font-size: 0.875rem;
  color: #555;
}

.source-note p {
  margin-bottom: 0;
}

/* ── Footer ────────────────────────────────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid #d5d5d5;
  background: #fff;
  padding: 1.5rem 0;
  margin-top: 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.site-footer p {
  font-size: 0.8125rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: #888;
  margin-bottom: 0.25rem;
  max-width: none;
}

.site-footer a {
  color: #1a5276;
  font-size: 0.8125rem;
}

/* ── Responsive ────────────────────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .sidebar {
    display: none;
  }

  .accordion-sidebar {
    display: none;
  }

  .accordion-sidebar.mobile-open {
    display: block;
    position: fixed;
    top: 3.5rem;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-height: none;
    z-index: 99;
    background: #fff;
    padding: 1rem 1.5rem;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .has-accordion {
    flex-direction: column;
    gap: 0;
  }

  .page-layout {
    padding: 1.5rem 1rem 3rem;
  }

  .page-layout .content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .accordion-mobile-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 3.5rem;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #d5d5d5;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    flex-direction: column;
    padding: 0.5rem 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.625rem 1.5rem;
    border-bottom: none;
    font-size: 0.9375rem;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: #f5f8fa;
    border-bottom: none;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  h1 {
    font-size: 1.625rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  body {
    font-size: 1rem;
  }

  .legal-paragraph {
    flex-direction: column;
    gap: 0.25rem;
  }

  .para-num {
    min-width: auto;
  }

  table {
    font-size: 0.8125rem;
  }

  th, td {
    padding: 0.4rem 0.5rem;
  }
}

@media (max-width: 480px) {
  .page-layout {
    padding: 1rem 0.75rem 2rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .nav-container {
    padding: 0 1rem;
  }
}

/* ── Print ────────────────────────────────────────────────────────────────────────── */

@media print {
  .site-header,
  .sidebar,
  .nav-toggle,
  .site-footer {
    display: none;
  }

  .page-layout {
    max-width: 100%;
    padding: 0;
  }

  body {
    font-size: 11pt;
    color: #000;
    background: #fff;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .preamble-box {
    border: 1px solid #999;
    background: #f5f5f5;
  }
}

/* ── FAQ Section ─────────────────────────────────────────────────────────────────────────── */

.faq-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid #1a5276;
}

.faq-section h2 {
  font-size: 1.375rem;
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: #1a5276;
}

.faq-item {
  border-bottom: 1px solid #e8e8e8;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  line-height: 1.5;
  transition: color 0.15s ease;
}

.faq-question:hover {
  color: #1a5276;
}

.faq-question .faq-icon {
  font-weight: 700;
  flex-shrink: 0;
  width: 1.25rem;
  text-align: center;
  color: #1a5276;
  font-size: 1.125rem;
}

.faq-answer {
  display: none;
  padding: 0 0 1rem 2rem;
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-question {
  color: #1a5276;
}

.faq-item.open .faq-icon {
  color: #c0392b;
}

/* ── Article Navigation (prev/next) ────────────────────────────────────────────────────────────────────────── */

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e0e0e0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

.article-nav a {
  display: block;
  padding: 0.75rem 1rem;
  background: #f5f8fa;
  border: 1px solid #d5dfe6;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.875rem;
  color: #1a5276;
  max-width: 45%;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.article-nav a:hover {
  background: #eef3f7;
  border-color: #1a5276;
}

.article-nav .nav-label {
  display: block;
  font-size: 0.75rem;
  color: #888;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.article-nav .nav-next {
  text-align: right;
  margin-left: auto;
}

/* ── Chapter Article List ────────────────────────────────────────────────────────────────────────── */

.chapter-articles-list h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.article-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.chapter-article-item {
  margin: 0;
  border-bottom: 1px solid #e8e8e8;
}

.chapter-article-item:last-child {
  border-bottom: none;
}

.chapter-article-item a {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.875rem 1rem;
  text-decoration: none;
  color: #333;
  transition: background-color 0.15s ease, color 0.15s ease;
  border-radius: 6px;
}

.chapter-article-item a:hover {
  background: #f5f8fa;
  color: #1a5276;
}

.article-number {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 700;
  color: #1a5276;
  font-size: 0.875rem;
}

.article-title {
  font-size: 1rem;
  line-height: 1.5;
}

.article-description {
  font-size: 0.875rem;
  color: #555;
  line-height: 1.55;
  font-weight: 400;
  margin-top: 0.2rem;
}

/* ── Active article in accordion ────────────────────────────────────────────────────────────────────────── */

.accordion-articles a.active-article {
  color: #c0392b;
  font-weight: 600;
}

/* ── Præambler betragtning grid ─────────────────────────────────────────────────────────────────────────── */

.accordion-betragtninger {
  display: none;
  padding: 0.25rem 0 0.5rem 0.75rem;
}

.accordion-chapter.open .accordion-betragtninger {
  display: block;
}

.betragtning-overview {
  display: block;
  padding: 0.25rem 0.5rem;
  margin-bottom: 0.4rem;
  font-size: 0.8125rem;
  color: #555;
  text-decoration: none;
  border-radius: 3px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.betragtning-overview:hover {
  background: #eef3f7;
  color: #1a5276;
}

.betragtning-overview.active-article {
  color: #c0392b;
  font-weight: 600;
}

.accordion-betragtninger .betragtning-num {
  display: inline-block;
  width: 2rem;
  text-align: center;
  padding: 0.15rem 0;
  font-size: 0.75rem;
  color: #555;
  text-decoration: none;
  border-radius: 3px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.accordion-betragtninger .betragtning-num:hover {
  background: #eef3f7;
  color: #1a5276;
}

.accordion-betragtninger .betragtning-num.active-article {
  color: #c0392b;
  font-weight: 700;
}

/* ── Example Box ────────────────────────────────────────────────────────────── */

.example-box {
  background: #eaf4fb;
  border-left: 4px solid #2980b9;
  border-radius: 4px;
  padding: 1rem 1.2rem;
  margin: 1.5rem 0;
}

.example-box strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1a5276;
  margin-bottom: 0.5rem;
}

.example-box p { margin: 0.4rem 0; }

/* ── Legal Source Box ───────────────────────────────────────────────────────── */

.legal-source-box {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  padding: 1rem 1.2rem;
  margin: 1.5rem 0;
}

.legal-source-box > strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #555;
  margin-bottom: 0.75rem;
}

.legal-source-content .legal-paragraph { margin-bottom: 0.75rem; }
.legal-source-content .para-num { font-weight: 600; font-size: 0.85rem; }
.legal-source-content .para-text { font-size: 0.85rem; color: #444; line-height: 1.6; }

.legal-source-link {
  margin-top: 0.75rem;
  margin-bottom: 0;
  font-size: 0.78rem;
  color: #888;
}

.legal-source-link a {
  color: #555;
  text-decoration: none;
  border-bottom: 1px dotted #aaa;
}

.legal-source-link a:hover {
  color: #1a5276;
  border-bottom-color: #1a5276;
}
