/* ==========================================================================
   DC Rich Content — uitleg, vergelijkingstabellen en lijsten in de huisstijl
   ========================================================================== */

.elementor-widget-dc-rich-content,
.dc-cat-guide {
    min-width: 0;
    max-width: 100%;
}

.dc-rich {
    width: 100%;
    max-width: 100vw;
    padding: 80px 24px;
    font-family: 'DM Sans', 'Poppins', sans-serif;
}

.dc-rich--white {
    background: #ffffff;
}

.dc-rich--light {
    background: #f8f9fb;
}

.dc-rich *,
.dc-rich *::before,
.dc-rich *::after {
    box-sizing: border-box;
}

.dc-rich__container {
    min-width: 0;
    max-width: 960px;
    margin: 0 auto;
}

.dc-rich__eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    font-family: 'Brush Script MT', 'Brush Script Std', cursive;
    font-size: 28px;
    color: #ef7a17;
}

.dc-rich__title {
    margin: 0 0 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: #032038;
}

.dc-rich__highlight {
    color: #ef7a17;
}

.dc-rich__content {
    font-size: 1.02rem;
    line-height: 1.75;
    color: #4b5563;
}

.dc-rich__content > *:first-child {
    margin-top: 0;
}

.dc-rich__content p {
    margin: 0 0 16px;
}

.dc-rich__content h3 {
    margin: 32px 0 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #032038;
}

.dc-rich__content strong {
    color: #032038;
}

.dc-rich__content ul,
.dc-rich__content ol {
    margin: 0 0 18px;
    padding-left: 22px;
}

.dc-rich__content li {
    margin-bottom: 6px;
}

.dc-rich__content li::marker {
    color: #ef7a17;
}

.dc-rich__content a {
    color: #c9600d;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.dc-rich__content a:hover {
    color: #ef7a17;
}

.dc-rich__content .dc-rich__answer {
    margin: 0 0 24px;
    padding: 18px 22px;
    border-left: 4px solid #ef7a17;
    border-radius: 0 12px 12px 0;
    background: #fff7ef;
    color: #1f2937;
}

.dc-rich--light .dc-rich__content .dc-rich__answer {
    background: #ffffff;
}

/* ---------- Tabellen ---------- */
.dc-rich__content .dc-rich__table-wrap {
    margin: 8px 0 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #e8ebf0;
    border-radius: 12px;
    background: #ffffff;
}

.dc-rich__content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.dc-rich__content th,
.dc-rich__content td {
    padding: 12px 16px;
    border-bottom: 1px solid #e8ebf0;
    text-align: left;
    vertical-align: top;
}

.dc-rich__content tr:last-child td {
    border-bottom: 0;
}

.dc-rich__content th {
    background: #f4f6fa;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #032038;
    white-space: nowrap;
}

.dc-rich__content td:first-child {
    font-weight: 600;
    color: #032038;
}

.dc-rich__content .dc-rich__note {
    font-size: 0.88rem;
    color: #6b7280;
}

/* ---------- Knoppen ---------- */
.dc-rich__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.dc-rich__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 26px;
    border-radius: 10px;
    background: #ef7a17;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(239, 122, 23, 0.3);
    transition: background 0.2s ease;
}

.dc-rich__btn:hover {
    background: #e06a08;
    color: #ffffff;
}

.dc-rich__btn--ghost {
    background: transparent;
    color: #032038;
    border: 1.5px solid #032038;
    box-shadow: none;
}

.dc-rich__btn--ghost:hover {
    background: #032038;
    color: #ffffff;
}

@media (max-width: 768px) {
    .dc-rich {
        padding: 56px 16px;
    }

    .dc-rich__title {
        font-size: 1.6rem;
    }

    .dc-rich__content {
        font-size: 0.97rem;
    }

    .dc-rich__content th,
    .dc-rich__content td {
        padding: 10px 12px;
    }

    .dc-rich__btn {
        width: 100%;
    }
}
