/*
 * Normalisasi konten dinamis (hasil editor WYSIWYG di admin / Summernote).
 * Konten sering membawa inline style (font-family, font-size, color, background)
 * hasil copy-paste dari Word/web lain. Aturan di bawah memaksa tampilan
 * konsisten dengan font & ukuran website.
 */
.rich-content {
    font-family: 'PT Sans', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}
.rich-content *:not(i):not(.fa):not([class^="fa-"]):not([class*=" fa-"]):not([class^="flaticon-"]):not([class*=" flaticon-"]) {
    font-family: inherit !important;
    background-color: transparent !important;
    max-width: 100%;
}
.rich-content p,
.rich-content span,
.rich-content font,
.rich-content div,
.rich-content li,
.rich-content td,
.rich-content th,
.rich-content a,
.rich-content strong,
.rich-content em,
.rich-content b,
.rich-content u {
    font-size: 16px !important;
    line-height: 1.8 !important;
    color: inherit !important;
}
.rich-content a { color: #E31837 !important; }
.rich-content p { margin: 0 0 15px; }
.rich-content h1, .rich-content h2, .rich-content h3,
.rich-content h4, .rich-content h5, .rich-content h6 {
    font-family: inherit !important;
    color: #333 !important;
    line-height: 1.35 !important;
    font-weight: 600;
    margin: 25px 0 12px;
    background: transparent !important;
}
.rich-content h1 { font-size: 28px !important; }
.rich-content h2 { font-size: 24px !important; }
.rich-content h3 { font-size: 20px !important; }
.rich-content h4 { font-size: 18px !important; }
.rich-content h5, .rich-content h6 { font-size: 16px !important; }
.rich-content h1 *, .rich-content h2 *, .rich-content h3 *,
.rich-content h4 *, .rich-content h5 *, .rich-content h6 * {
    font-size: inherit !important;
    color: inherit !important;
    font-weight: inherit;
}
.rich-content ul, .rich-content ol { margin: 0 0 15px; padding-left: 25px; }
.rich-content ul { list-style: disc; }
.rich-content ol { list-style: decimal; }
.rich-content img { max-width: 100% !important; height: auto !important; }
.rich-content table { width: 100%; max-width: 100%; border-collapse: collapse; margin-bottom: 15px; }
.rich-content table td, .rich-content table th { border: 1px solid #ddd; padding: 8px; }
.rich-content iframe, .rich-content video { max-width: 100%; }
.rich-content > *:last-child { margin-bottom: 0; }
