/* ============================================================
   MAIN & ARTIKELKAARTEN
   ============================================================ */
main {
    max-width: 1000px;
    margin: 0 auto 40px;
    padding: 0 20px;
}
.article-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    margin-bottom: 30px;
    transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
}
.article-card-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.article-card {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s;
}
article.article-card {
    padding: 22px;
}
.article-card h2 {
    margin: 0 0 2px 0;
    color: #1a1a1a;
    font-size: 1.5rem;
    line-height: 1.3;
}
.article-card h3 { color: #1a1a1a; }
.article-card .subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-top: -4px;
    margin-bottom: 10px;
    line-height: 1.35;
}
.article-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
    gap: 12px;
    flex-wrap: wrap;
}
.article-card-header h2 {
    margin: 0;
    flex: 1;
    min-width: 0;
}
.article-intro-full {
    font-size: 1.15em;
    color: #555;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #e2e8f0;
    line-height: 1.45;
}
.intro-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.45;
}
.article-card-wrapper { position: relative; }
.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}
.back-link:hover { text-decoration: underline; }
.edit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #6b7280;
    margin-left: 15px;
    transition: color 0.2s;
}
.edit-icon .edit-icon-img {
    height: 20px;
    width: auto;
    display: block;
    opacity: 0.7;
    transition: opacity 0.2s, transform 0.2s;
}
.edit-icon:hover .edit-icon-img {
    opacity: 1;
    transform: scale(1.08);
}
.edit-icon-absolute {
    position: absolute;
    top: 15px;
    right: 15px;
    margin: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.85);
    padding: 6px;
    border-radius: 4px;
    line-height: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.edit-icon-absolute .edit-icon-img { height: 18px; width: auto; }
html[dir="rtl"] .edit-icon { margin-left: 0; margin-right: 15px; }
html[dir="rtl"] .edit-icon-absolute { right: auto; left: 15px; }

/* ============================================================
   GENERIEKE UTILITY
   ============================================================ */
.is-hidden {
    display: none !important;
}

/* ============================================================
   PAGINA HEADERS
   ============================================================ */
.part-header,
.articles-title,
.subjects-title,
.search-page-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 6px;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    text-align: left;
}
html[dir="rtl"] .part-header,
html[dir="rtl"] .articles-title,
html[dir="rtl"] .subjects-title { text-align: right; }
.search-type-label {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 400;
}
.chapter-header-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    padding: 0 0 12px 0;
    background: none;
    border: none;
    border-bottom: 2px solid var(--primary-color);
    box-shadow: none;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
html[dir="rtl"] .chapter-header-title { text-align: right; }
.chapter-number-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    background: #000000;
    color: #ffffff;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
a:hover > .chapter-number-badge,
.part-chapter-title a:hover .chapter-number-badge {
    transform: scale(1.08);
}
.chapter-title-name {
    color: var(--primary-color);
    line-height: 1.2;
}
/* Arabische hoofdstuknaam naast de interface-versie (Diyanet font) */
.chapter-name-arabic {
    font-family: 'Diyanet', 'Traditional Arabic', 'Arabic UI', serif;
    direction: rtl;
    unicode-bidi: embed;
    font-weight: normal;
}
.articles-subtitle,
.subjects-subtitle {
    font-size: 1.15rem;
    color: #6b7280;
    margin: 0 0 12px;
    text-align: left;
}
html[dir="rtl"] .articles-subtitle,
html[dir="rtl"] .subjects-subtitle { text-align: right; }

/* ============================================================
   INTRO-BLOKKEN
   ============================================================ */
.articles-intro,
.subjects-intro,
.chapter-description {
    font-size: 1rem;
    color: #4b5563;
    max-width: 100%;
    margin: 12px 0 20px;
    padding: 14px 0;
    background: #f8fafc;
    border: none;
    border-radius: 0;
    line-height: 1.45;
    text-align: left;
}
html[dir="rtl"] .articles-intro,
html[dir="rtl"] .subjects-intro,
html[dir="rtl"] .chapter-description { border: none; text-align: right; }
.chapter-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: flex-end;
    margin: 8px 0 20px;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.45;
    text-align: right;
}
html[dir="rtl"] .chapter-meta {
    text-align: left;
    justify-content: flex-start;
}
.chapter-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    color: #4b5563;
}
.meta-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}
.subjects-header,
.articles-header {
    margin: 0 0 28px;
    text-align: left;
}
html[dir="rtl"] .subjects-header,
html[dir="rtl"] .articles-header { text-align: right; }


.intro-text {
    margin: 0 0 1.5em;
}

/* ============================================================
   PARTVIEW
   ============================================================ */
.part-chapter-container {
    margin: 30px 0 20px;
    border-top: none;
    padding-top: 0;
}
.part-chapter-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
    min-width: 0;
}
.part-chapter-title a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}
.part-chapter-title a:hover { text-decoration: none; color: inherit; }
.part-chapter-title .chapter-number-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    background: #000000;
    color: #ffffff;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
}
.part-chapter-title .chapter-title-name {
    color: #1a1a1a;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

/* ============================================================
   SUBJECT-BLOK
   ============================================================ */
.subject-block {
    position: relative;
    margin: 18px 0 6px;
    padding: 10px 14px 32px 14px;
    background: #eef2ff;
    border-left: 4px solid var(--primary-color);
    border-radius: 6px;
}
.subject-block-title {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 4px;
    line-height: 1.3;
}
.subject-block-intro {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.4;
}
.subject-block-number {
    position: absolute;
    right: 10px;
    bottom: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    padding: 0 10px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 13px;
    font-size: 0.85rem;
    font-weight: 700;
}
html[dir="rtl"] .subject-block {
    border-left: none;
    border-right: 4px solid var(--primary-color);
}
html[dir="rtl"] .subject-block-number {
    right: auto;
    left: 10px;
}


/* ============================================================
   SUBJECTS OVERZICHT
   ============================================================ */
.subject-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    margin-bottom: 20px;
    transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
}
.subject-card-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.subject-card {
    position: relative;
    background: white;
    padding: 20px 24px 40px 24px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    border-left: 4px solid var(--primary-color);
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
html[dir="rtl"] .subject-card {
    border-left: none;
    border-right: 4px solid var(--primary-color);
}
.subject-card .subject-number-badge,
.subject-number-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 17px;
    font-size: 0.9rem;
    font-weight: 700;
}
.subject-card .subject-card-body { flex: 1; min-width: 0; }
.subject-card h2 {
    margin: 0 0 4px 0;
    color: #1a1a1a;
    font-size: 1.25rem;
    line-height: 1.3;
}
.subject-card .subject-intro {
    font-size: 0.95rem;
    color: #6b7280;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}
.subject-card .subject-chapter {
    position: absolute;
    right: 14px;
    bottom: 10px;
    font-size: 0.8rem;
    color: #6b7280;
    background: #f1f5f9;
    padding: 3px 10px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
html[dir="rtl"] .subject-card .subject-chapter {
    right: auto;
    left: 14px;
}


.subject-card-wrapper {
    position: relative;
}
/* ============================================================
   SUBJECT NAVIGATIE
   ============================================================ */
.subject-nav {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 16px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
    flex-wrap: wrap;
}
.subject-nav-spacer { flex: 1; }
.subject-nav-link {
    flex: 1 1 240px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 0;
    background: transparent;
    border: none;
    border-radius: 0;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    min-width: 0;
}
.subject-nav-link:hover {
    background: transparent;
    border-color: transparent;
    transform: none;
    box-shadow: none;
}
.subject-nav-link.next {
    text-align: right;
    align-items: flex-end;
}
html[dir="rtl"] .subject-nav-link.next {
    text-align: left;
    align-items: flex-start;
}
html[dir="rtl"] .subject-nav-link.prev {
    text-align: right;
    align-items: flex-end;
}
.subject-nav-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.subject-nav-title {
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* ============================================================
   SEARCH RESULTATEN PAGINA
   ============================================================ */
.search-summary {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 24px;
}
.search-no-results {
    padding: 24px;
    background: #f8fafc;
    border-radius: 8px;
    color: #6b7280;
    text-align: center;
}
.search-section { margin-bottom: 40px; }
.search-section-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e5e7eb;
}
.search-article-title {
    margin: 0 0 4px;
}

/* ============================================================
   SOURCE-TEXT RESULTATEN
   ============================================================ */
.source-text-result {
    display: block;
    text-decoration: none;
    color: inherit;
    background: white;
    padding: 16px 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin-bottom: 12px;
    transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, border-color 0.15s;
}
.source-text-result:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    border-left-color: #f59e0b;
}
.source-text-result-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: #6b7280;
}
.source-text-result-chapter {
    font-weight: 600;
    color: var(--primary-color);
}
.source-text-result-content {
    font-size: 1rem;
    color: #333;
    line-height: 1.45;
}
.source-text-result-article-number {
    font-weight: 700;
    color: var(--primary-color);
    margin-right: 6px;
    font-size: 0.95rem;
}
.source-text-result-content mark {
    background: #fef08a;
    color: #854d0e;
    padding: 0 3px;
    border-radius: 2px;
}

/* ============================================================
   HASH-HIGHLIGHT
   ============================================================ */
.hash-highlight {
    background-color: #fef3c7 !important;
    border-left: 4px solid #f59e0b !important;
    border-radius: 4px;
    padding: 12px 16px !important;
    transition: background-color 0.4s ease;
}
html[dir="rtl"] .hash-highlight {
    border-left: none !important;
    border-right: 4px solid #f59e0b !important;
}
.article-item,
.hash-highlight {
    scroll-margin-top: 200px;
}

/* ============================================================
   PROMOTED GRID
   ============================================================ */
.promoted-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 20px 0 40px;
}
.promoted-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    text-align: center;
    transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
}
.promoted-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}
.promoted-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    display: block;
}

/* ============================================================
   VIEW-ALL KNOP
   ============================================================ */
.view-all-wrapper {
    text-align: right;
    margin: 40px 0 20px;
}
.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    filter: brightness(0.92);
}
.view-all-btn-text {
    white-space: nowrap;
}
.view-all-btn-icon {
    height: 20px;
    width: auto;
    display: block;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
    transition: transform 0.15s;
}
.view-all-btn:hover .view-all-btn-icon {
    transform: translateX(4px);
}
html[dir="rtl"] .view-all-wrapper { text-align: left; }
html[dir="rtl"] .view-all-btn:hover .view-all-btn-icon {
    transform: translateX(-4px);
}

/* ============================================================
   ADMIN – KAARTEN, TABELLEN, FORMULIEREN
   ============================================================ */
.admin-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px 20px;
}
.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    padding: 30px;
    margin-bottom: 32px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}
.card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 10px;
}
.card-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
}
.card-header .badge {
    background: #e5e7eb;
    color: #374151;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-weight: 500;
    font-size: 0.9rem;
    color: #374151;
    margin-bottom: 6px;
}
.input-text,
.textarea-text {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background: #fff;
    box-sizing: border-box;
}
.input-text:focus,
.textarea-text:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79,70,229,0.15);
}
.textarea-text { min-height: 100px; resize: vertical; }
.textarea-content { min-height: 200px; font-family: 'Courier New', monospace; }
.rtl-field { direction: rtl; text-align: right; }
.lang-tabs-wrapper {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}
.lang-tabs {
    display: flex;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    padding: 4px 6px;
    gap: 4px;
    flex-wrap: wrap;
}
.tab-trigger {
    padding: 8px 18px;
    border: none;
    background: transparent;
    font-weight: 600;
    font-size: 0.85rem;
    color: #6b7280;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
.tab-trigger:hover {
    background: rgba(79,70,229,0.06);
    color: #374151;
}
.tab-trigger.active {
    background: #fff;
    color: #4f46e5;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.tab-panes { padding: 20px; }
.tab-pane { display: none; }
.tab-pane.active {
    display: block;
    animation: fadeIn 0.2s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    gap: 8px;
    font-family: inherit;
}
.btn-primary { background: #4f46e5; color: #fff; }
.btn-primary:hover { background: #4338ca; box-shadow: 0 2px 8px rgba(79,70,229,0.3); }
.btn-secondary { background: #e5e7eb; color: #374151; }
.btn-secondary:hover { background: #d1d5db; }
.btn-success { background: #10b981; color: #fff; }
.btn-success:hover { background: #059669; }
.btn-danger { background: #ef4444; color: #fff; }
.btn-danger:hover { background: #dc2626; box-shadow: 0 2px 8px rgba(239,68,68,0.3); }
.btn-sm { padding: 6px 12px; font-size: 0.9rem; }
.btn-icon-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    background: transparent;
    color: #6b7280;
    min-width: 32px;
    min-height: 32px;
}
.btn-icon-sm:hover { background: #f3f4f6; color: #1f2937; }
.btn-icon-sm.primary:hover { background: #e0e7ff; color: #4f46e5; }
.btn-icon-sm.danger:hover { background: #fef2f2; color: #ef4444; }
.search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    align-items: center;
}
.search-form input[type="text"],
.search-form select {
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.95rem;
    background: white;
    transition: all 0.2s ease;
}
.search-form input[type="text"] { flex: 1; min-width: 200px; }
.search-form select { min-width: 150px; cursor: pointer; }
.search-form input[type="text"]:focus,
.search-form select:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79,70,229,0.15);
}
.search-form button {
    padding: 10px 20px;
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.search-form button:hover { background: #4338ca; }
.search-form .clear-link {
    display: inline-flex;
    align-items: center;
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    padding: 0 10px;
}
.search-form .clear-link:hover { color: #374151; }
.search-info { margin-bottom: 20px; color: #6b7280; }
.table-responsive { overflow-x: auto; margin-top: 8px; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
thead { background: #f9fafb; border-bottom: 2px solid #e5e7eb; }
th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}
td { padding: 14px 16px; border-bottom: 1px solid #f3f4f6; vertical-align: middle; }
tbody tr { transition: all 0.2s; }
tbody tr:hover { background: #f9fafb; }
.category-badge {
    display: inline-block;
    background: #e0e7ff;
    color: #3730a3;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}
.action-group {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.empty-state { text-align: center; color: #6b7280; padding: 40px 0; }
.alert {
    padding: 14px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-weight: 500;
    border-left: 4px solid transparent;
}
.alert-success { background: #ecfdf5; border-color: #10b981; color: #065f46; }
.alert-danger { background: #fef2f2; border-color: #ef4444; color: #991b1b; }

/* ============================================================
   ACTION ICONS
   ============================================================ */
.action-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    display: block;
    pointer-events: none;
}
.btn-icon-sm {
    min-width: 28px;
    min-height: 28px;
    padding: 4px;
}

/* ============================================================
   RICH TEXT IN INTRO'S — lijsten en paragrafen
   ============================================================ */
.article-intro-full ul,
.article-intro-full ol {
    padding-left: 24px;
    margin: 8px 0;
}
.article-intro-full li { margin: 4px 0; }
.article-intro-full p  { margin: 0 0 10px; }

.intro-excerpt ul,
.intro-excerpt ol {
    padding-left: 22px;
    margin: 6px 0;
}
.intro-excerpt li { margin: 3px 0; }
.intro-excerpt p  { margin: 0 0 8px; }

html[dir="rtl"] .article-intro-full ul,
html[dir="rtl"] .article-intro-full ol,
html[dir="rtl"] .intro-excerpt ul,
html[dir="rtl"] .intro-excerpt ol {
    padding-left: 0;
    padding-right: 24px;
}

.article-intro-full,
.intro-excerpt {
    white-space: pre-line;
}
.article-intro-full ul,
.article-intro-full ol,
.article-intro-full li,
.article-intro-full p,
.intro-excerpt ul,
.intro-excerpt ol,
.intro-excerpt li,
.intro-excerpt p {
    white-space: normal;
}