/* Gedeelde stijl voor Links per thema (links.php) en Links uit het portaal (rubrieken.php) */

.links-hub-page {
  color: #f8fafc;
}

.links-hub-clarity {
  margin-bottom: 20px;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(12, 18, 32, 0.65);
}

.links-hub-clarity--thema {
  border-left: 2px solid rgba(167, 211, 194, 0.65);
}

.links-hub-clarity--rubriek {
  border-left: 2px solid rgba(196, 181, 253, 0.65);
}

.links-hub-clarity__lead {
  margin: 0 0 8px;
  color: #e2e8f0;
  font-size: 0.95rem;
  line-height: 1.55;
}

.links-hub-clarity__note {
  color: #94a3b8;
  font-size: 0.86rem;
  line-height: 1.5;
}

.links-hub-stats a {
  color: #fde68a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.links-hub-stats a:hover {
  color: #fff;
}

.links-hub-stats__sep {
  margin: 0 0.35rem;
  color: #64748b;
}

.links-hub-hero {
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid #334155;
  background: linear-gradient(170deg, #1e293b, #111827);
}

.links-hub--rubriek .links-hub-hero {
  border-color: rgba(167, 139, 250, 0.35);
  background: linear-gradient(165deg, rgba(46, 16, 72, 0.55), #111827 62%);
}

.links-hub-hero__eyebrow {
  margin: 0 0 8px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #94a3b8;
}

.links-hub--thema .links-hub-hero__eyebrow {
  color: #fcd34d;
}

.links-hub--rubriek .links-hub-hero__eyebrow {
  color: #e9d5ff;
}

.links-hub-jump {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.links-hub-jump a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  color: #e2e8f0;
  border: 1px solid #475569;
  border-radius: 10px;
  padding: 10px 12px;
  text-align: center;
  background: #1f2937;
  transition: transform 0.2s, border-color 0.2s, color 0.2s;
  font-size: 0.9rem;
}

.links-hub--rubriek .links-hub-jump a {
  border-color: rgba(109, 40, 217, 0.45);
}

.links-hub-jump a:hover {
  transform: translateY(-2px);
  color: #fff;
}

.links-hub--thema .links-hub-jump a:hover {
  border-color: rgba(167, 211, 194, 0.55);
}

.links-hub--rubriek .links-hub-jump a:hover {
  border-color: rgba(196, 181, 253, 0.55);
}

.links-hub-jump__icon {
  font-size: 1rem;
  opacity: 0.9;
}

.links-hub-card {
  border-radius: 16px;
  border: 1px solid #334155;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  padding: 20px;
  height: 100%;
  background: linear-gradient(170deg, #1e293b, #111827);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.links-hub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
}

.links-hub--thema .links-hub-card:hover {
  border-color: rgba(167, 211, 194, 0.45);
}

.links-hub--rubriek .links-hub-card:hover {
  border-color: rgba(196, 181, 253, 0.45);
}

.links-hub-card__head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #334155;
}

.links-hub-card__head h2 {
  margin: 0;
}

.links-hub-card__tagline {
  margin: 4px 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #94a3b8;
  font-weight: 500;
}

.links-hub--rubriek .links-hub-card__head {
  border-bottom-color: rgba(109, 40, 217, 0.35);
}

.links-hub-card__icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 1.1rem;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.links-hub--thema .links-hub-card__icon {
  color: #fde68a;
}

.links-hub--rubriek .links-hub-card__icon {
  color: #e9d5ff;
}

.links-hub-card h2 {
  margin: 0;
  font-size: 1.12rem;
  color: #f8fafc;
  line-height: 1.3;
}

.links-hub-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.links-hub-card li {
  background: #0f172a;
  border-radius: 8px;
  margin-bottom: 9px;
  padding: 9px 10px;
}

.links-hub--thema .links-hub-card li {
  border-left: 2px solid rgba(167, 211, 194, 0.55);
}

.links-hub--rubriek .links-hub-card li {
  border-left: 2px solid rgba(196, 181, 253, 0.55);
}

.links-hub-card a {
  font-weight: 600;
  text-decoration: none;
}

.links-hub-card a.rr-link--inactive,
.portal-links a.rr-link--inactive,
a.portal-link--inactive.rr-link--inactive,
a.portal-tile.rr-link--inactive {
  color: #fca5a5 !important;
  border-bottom-color: rgba(248, 113, 113, 0.45) !important;
  cursor: not-allowed;
}

.rr-link__inactive-badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fecaca;
  background: rgba(127, 29, 29, 0.45);
  border: 1px solid rgba(248, 113, 113, 0.35);
  vertical-align: middle;
}

.links-hub-card__item--inactive {
  border-left-color: rgba(248, 113, 113, 0.65) !important;
  background: linear-gradient(90deg, rgba(127, 29, 29, 0.2), #0f172a 55%) !important;
}

.links-hub--thema .links-hub-card a {
  color: rgba(226, 210, 178, 0.95);
}

.links-hub--thema .links-hub-card a:hover {
  color: #f8fafc;
}

.links-hub--rubriek .links-hub-card a {
  color: rgba(221, 214, 254, 0.95);
}

.links-hub--rubriek .links-hub-card a:hover {
  color: #f8fafc;
}

.links-hub-card__item--accent-lens {
  border-left: 3px solid #ff9f43;
  background: linear-gradient(95deg, rgba(255, 159, 67, 0.22) 0%, rgba(255, 107, 53, 0.08) 42%, #0f172a 72%);
  box-shadow: 0 0 0 1px rgba(255, 159, 67, 0.28), 0 8px 20px rgba(255, 107, 53, 0.12);
}

.links-hub-card__item--accent-lens a {
  color: #ffd8a8;
}

.links-hub-card__item--accent-lens a:hover {
  color: #fff7ed;
}

.links-hub-card__source {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  color: #94a3b8;
  letter-spacing: 0.02em;
}

.links-hub-card__source::before {
  content: "Bron: ";
  color: #64748b;
}

.links-hub-cross {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 1.25rem;
}

.links-hub-cross .btn-outline-light {
  border-color: #475569;
  color: #e2e8f0;
}

.links-hub--rubriek .links-hub-cross .btn-outline-light:hover {
  border-color: #c084fc;
  color: #fff;
}

.links-hub-stats {
  margin: 0 0 1rem;
  color: #cbd5e1;
  font-size: 0.92rem;
}
