/* ==============================
   Related Content Module CSS
   ============================== */

/* --- Module wrapper --- */
.rc-module {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
  margin-bottom: 48px;
}

.rc-module:last-child {
  margin-bottom: 0;
}

.rc-module h2 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a2e;
  margin: 0 0 20px;
}

/* --------------------------------
   Sektion 1: Relaterede begreber
   -------------------------------- */
.rc-terms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.rc-term-card {
  display: block;
  padding: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
  transition: all 150ms ease;
}

.rc-term-card:hover {
  border-color: #7284FA;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.rc-term-card:hover .rc-term-title {
  color: #7284FA;
}

.rc-term-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.rc-term-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: #1a1a2e;
  margin: 0 0 6px;
  transition: color 150ms ease;
}

.rc-term-desc {
  font-size: 13px;
  line-height: 1.6;
  color: #4a4a68;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Tag-farver: nedtonede varianter af brandpaletten */
[data-category="gdpr"] .rc-term-category { color: #032478; background: rgba(3, 36, 120, 0.1); }
[data-category="nis2"] .rc-term-category { color: #5A61A8; background: rgba(90, 97, 168, 0.12); }
[data-category="iso_27001"] .rc-term-category { color: #1BA899; background: rgba(44, 213, 196, 0.12); }
[data-category="cis_18"] .rc-term-category { color: #D93363; background: rgba(247, 68, 122, 0.1); }
[data-category="dora"] .rc-term-category { color: #C01E90; background: rgba(225, 39, 170, 0.1); }
[data-category="digital_service_act"] .rc-term-category { color: #2B7BBE; background: rgba(182, 213, 239, 0.25); }
[data-category="cer"] .rc-term-category { color: #9A8200; background: rgba(254, 221, 0, 0.15); }
[data-category="data_act"] .rc-term-category { color: #B84A90; background: rgba(247, 210, 236, 0.3); }
[data-category="ai_act"] .rc-term-category { color: #D35C2D; background: rgba(211, 92, 45, 0.1); }
[data-category="cra"] .rc-term-category { color: #3D7B63; background: rgba(61, 123, 99, 0.1); }
[data-category="general"] .rc-term-category { color: #6B7594; background: rgba(107, 117, 148, 0.1); }
[data-category="security"] .rc-term-category { color: #D4407A; background: rgba(247, 68, 122, 0.08); }

/* --------------------------------
   Sektion 2: Artikelanbefalinger
   -------------------------------- */
.rc-article-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rc-article-list li {
  margin-bottom: 0;
}

.rc-article-list li + li {
  border-top: 1px solid #f0f0f5;
}

.rc-article-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: #4a4a68;
  text-decoration: none;
  border-radius: 10px;
  transition: all 150ms ease;
}

.rc-article-link:hover {
  background: #f8f9fc;
  color: #7284FA;
}

.rc-article-icon {
  flex-shrink: 0;
  color: #6b7280;
  transition: color 150ms ease;
}

.rc-article-link:hover .rc-article-icon {
  color: #7284FA;
}

.rc-article-link span {
  flex: 1;
}

.rc-arrow {
  flex-shrink: 0;
  color: #e5e7eb;
  transition: all 150ms ease;
}

.rc-article-link:hover .rc-arrow {
  color: #7284FA;
  transform: translateX(3px);
}

/* --------------------------------
   Sektion 3: CTA-boks
   -------------------------------- */
.rc-cta-box {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2b55 100%);
  padding: 40px;
  border-radius: 20px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.rc-cta-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #fff;
}

.rc-cta-content p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.rc-cta-button-wrap {
  flex-shrink: 0;
}

.rc-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 50px;
  background: #2CD5C4;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  transition: al