.destination-img {
    width: 400px !important;
    height: 200px !important;
}

/* ===============================
   BASE
================================ */
.article-content {
    font-size: 1rem !important;
    line-height: 1.75 !important;
    color: inherit !important;
}

/* ===============================
   HEADINGS
================================ */
.article-content h1 {
    font-size: 2rem !important;
    font-weight: 700 !important;
    margin: 1.6rem 0 1rem !important;
}

.article-content h2 {
    font-size: 1.6rem !important;
    font-weight: 600 !important;
    margin: 1.4rem 0 0.8rem !important;
}

.article-content h3 {
    font-size: 1.3rem !important;
    font-weight: 600 !important;
    margin: 1.2rem 0 0.6rem !important;
}

.article-content h4 {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    margin: 1rem 0 0.5rem !important;
}

.article-content strong {
    font-weight: bold;
}

/* ===============================
   PARAGRAPH
================================ */
.article-content p {
    margin: 0.75rem 0 !important;
}

/* ===============================
   LIST – CORE (your logic)
================================ */
.article-content ul,
.article-content ol {
    padding-left: 1.5rem !important;
    margin: 0.75rem 0 !important;
}

.article-content ul li {
    list-style-type: disc !important;
}

.article-content ol li {
    list-style-type: decimal !important;
}

.article-content li {
    display: list-item !important;
    margin: 0.25rem 0 !important;
}

/* RichEditor hay sinh <li><p>...</p></li> */
.article-content li>p {
    margin: 0 !important;
}

/* Nested list */
.article-content ul ul li {
    list-style-type: circle !important;
}

.article-content ul ul ul li {
    list-style-type: square !important;
}

/* ===============================
   LINK
================================ */
.article-content a {
    color: #2563eb !important;
    text-decoration: underline !important;
}

.article-content a:hover {
    opacity: 0.85 !important;
}

/* ===============================
   IMAGE
================================ */
.article-content img {
    max-width: 100% !important;
    height: auto !important;
    margin: 1rem 0 !important;
    border-radius: 0.5rem !important;
}

/* ===============================
   BLOCKQUOTE
================================ */
.article-content blockquote {
    border-left: 4px solid #e5e7eb !important;
    padding-left: 1rem !important;
    margin: 1rem 0 !important;
    font-style: italic !important;
    color: #6b7280 !important;
}

/* ===============================
   INLINE CODE
================================ */
.article-content code {
    background: #f3f4f6 !important;
    padding: 0.15rem 0.35rem !important;
    border-radius: 0.25rem !important;
    font-size: 0.9em !important;
}

/* ===============================
   CODE BLOCK
================================ */
.article-content pre {
    background: #111827 !important;
    color: #e5e7eb !important;
    padding: 1rem !important;
    border-radius: 0.5rem !important;
    overflow-x: auto !important;
    margin: 1rem 0 !important;
}

.article-content pre code {
    background: none !important;
    padding: 0 !important;
}

/* ===============================
   TABLE
================================ */
.article-content table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 1rem 0 !important;
}

.article-content th,
.article-content td {
    border: 1px solid #e5e7eb !important;
    padding: 0.5rem !important;
}

.article-content th {
    background: #f9fafb !important;
    font-weight: 600 !important;
}

/* ===============================
   HR
================================ */
.article-content hr {
    border: none !important;
    border-top: 1px solid #e5e7eb !important;
    margin: 2rem 0 !important;
}

/* ===============================
   DARK MODE (Filament)
================================ */
.dark .article-content blockquote {
    border-color: #374151 !important;
    color: #9ca3af !important;
}

.dark .article-content code {
    background: #1f2937 !important;
}

.dark .article-content pre {
    background: #030712 !important;
}

.dark .article-content th {
    background: #1f2937 !important;
}

.cdb-icon-listing li i {
    font-size: 12px;
    background-color: #FFFFFF;
    border-radius: 100%;
    padding: 9px 8px;
    color: #4DA528;
    box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.09);
    display: inline-block;
    margin-right: 6px;
    margin-left: 5px;
}

/* Base table */
.table {
    width: 100% !important;
    margin-bottom: 1rem !important;
    color: #212529 !important;
    border-collapse: collapse !important;
    background-color: transparent !important;
    font-size: 0.95rem !important;
}

/* Table head */
.table thead {
    background-color: #f8f9fa !important;
}

.table thead th {
    text-align: center;
    font-weight: bold;
    padding: 10px 14px 8px 25px !important;
    background-color: #021B32;
    border-radius: 8px;
    width: 50%;
    gap: 20px;
    color: #FFFFFF !important;
}

/* Table body */
.table tbody td,
.table tbody th {
    padding: 0.75rem !important;
    vertical-align: middle !important;
    border-bottom: 1px solid #dee2e6 !important;
}

/* Bordered table */
.table-bordered {
    border: 1px solid #dee2e6 !important;
}

.table-bordered th,
.table-bordered td {
    border: 1px solid #dee2e6 !important;
}

/* Striped rows */
.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.03) !important;
}

/* Hover effect */
.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.06) !important;
}

/* Small table */
.table-sm th,
.table-sm td {
    padding: 0.4rem !important;
}

/* Responsive wrapper */
.table-responsive {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

/* Text alignment helpers */
.table th.text-center,
.table td.text-center {
    text-align: center !important;
}

.table th.text-right,
.table td.text-right {
    text-align: right !important;
}

/* Table caption */
.table caption {
    padding: 0.75rem !important;
    color: #6c757d !important;
    caption-side: bottom !important;
}

/* Dark table */
.table-dark {
    color: #fff !important;
    background-color: #212529 !important;
}

.table-dark th,
.table-dark td,
.table-dark thead th {
    border-color: #373b3e !important;
}

.table-dark.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

.table-dark.table-hover tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.075) !important;
}


/* content */
.rich-content {
    line-height: 1.75;
    font-size: 16px;
    color: #212529;
}

/* ===== spacing logic ===== */

.rich-content > * + * {
    margin-top: 1em;
}

/* ===== headings ===== */

.rich-content h1,
.rich-content h2,
.rich-content h3,
.rich-content h4 {
    font-weight: 600;
    line-height: 1.3;
}

.rich-content h1 { font-size: 2rem; }
.rich-content h2 { font-size: 1.6rem; }
.rich-content h3 { font-size: 1.3rem; }
.rich-content h4 { font-size: 1.1rem; }

/* ===== paragraph ===== */

.rich-content p {
    margin: 0;
}
.rich-content p:empty::before {
    content: "\00a0";
}
.rich-content p:has(br:only-child) {
    min-height: 1em;
}
/* ===== bold italic ===== */

.rich-content strong {
    font-weight: 600;
}

.rich-content em {
    font-style: italic;
}

.rich-content u {
    text-decoration: underline;
}

/* ===== blockquote ===== */

.rich-content blockquote {
    border-left: 4px solid #dee2e6;
    padding-left: 1rem;
    color: #6c757d;
    font-style: italic;
}

/* ===== lists ===== */

.rich-content ul,
.rich-content ol {
    padding-left: 1.5rem;
}

.rich-content ul {
    list-style-type: disc;
}

.rich-content ol {
    list-style-type: decimal;
}

.rich-content li + li {
    margin-top: .25rem;
}
.rich-content ol {
    list-style-type: decimal !important;
    padding-left: 1.5rem !important;
}

.rich-content ul {
    list-style-type: disc !important;
    padding-left: 1.5rem !important;
}

/* ===== links ===== */

.rich-content a {
    color: #0d6efd;
    text-decoration: underline;
}

/* ===== images ===== */

.rich-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}
.rich-content img[width] {
    width: attr(width px);
}

.rich-content img[height] {
    height: attr(height px);
}
/* ===== tables ===== */

.rich-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.rich-content th,
.rich-content td {
    border: 1px solid #dee2e6;
    padding: .6rem;
}

.rich-content th {
    background: #f8f9fa;
    font-weight: 600;
}

/* ===== code ===== */

.rich-content code {
    background: #f1f3f5;
    padding: 2px 6px;
    border-radius: 4px;
}

.rich-content pre {
    background: #111;
    color: #fff;
    padding: 1rem;
    overflow: auto;
    border-radius: 6px;
}

/* ===== COLOR SUPPORT (Filament OKLCH) ===== */

.rich-content span[style*="--color"] {
    color: var(--color);
}

/* ===== text align ===== */

.rich-content [style*="text-align: center"] {
    text-align: center;
}

.rich-content [style*="text-align: right"] {
    text-align: right;
}

.rich-content [style*="text-align: justify"] {
    text-align: justify;
}