/*
 * Dynamic Content Styles
 * Theme: NeelMina
 * Fonts: 'Inter'
 */

/* Main Wrapper */
.dynamic-content {
    font-family: 'Inter', sans-serif;
    color: #334155;
    /* slate-700 */
    line-height: 1.8;
    font-size: 1.125rem;
    /* 18px */
}

/* Headings */
.dynamic-content h1,
.dynamic-content h2,
.dynamic-content h3,
.dynamic-content h4,
.dynamic-content h5,
.dynamic-content h6 {
    font-family: 'Inter', sans-serif;
    color: #0f172a;
    /* slate-900 */
    font-weight: 700;
    margin-top: 2em;
    margin-bottom: 0.8em;
    line-height: 1.3;
}

.dynamic-content h1 {
    font-size: 2.25rem !important;
}

.dynamic-content h2 {
    font-size: 1.875rem !important;
}

.dynamic-content h3 {
    font-size: 1.5rem !important;
}

.dynamic-content h4 {
    font-size: 1.25rem !important;
}

/* Links */
.dynamic-content a {
    color: #00a2ff;
    /* primary */
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.3s ease;
}

.dynamic-content a:hover {
    color: #0089d6;
    /* primary-hover */
}

/* Images */
.dynamic-content img {
    border-radius: 1rem;
    margin: 2rem auto;
    display: block;
    max-width: 100%;
    height: auto;
}

/* Lists */
.dynamic-content ul,
.dynamic-content ol {
    margin: 1.5em 0 1.5em 2em;
    padding-left: 0;
}

.dynamic-content ul {
    list-style: disc outside;
}

.dynamic-content ol {
    list-style: decimal outside;
}

.dynamic-content li {
    margin-bottom: 0.5em;
    padding-left: 0.5em;
}

.dynamic-content ul li::marker,
.dynamic-content ol li::marker {
    color: #00a2ff;
}

/* Blockquotes */
.dynamic-content blockquote {
    border-left: 4px solid #00a2ff;
    background: #f8fafc;
    /* slate-50 */
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    border-radius: 0 0.5rem 0.5rem 0;
    color: #475569;
    /* slate-600 */
}

/* Tables */
.dynamic-content table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    overflow: hidden;
}

.dynamic-content table th,
.dynamic-content table td {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}

.dynamic-content table th {
    background-color: #f1f5f9;
    font-weight: 700;
    color: #334155;
}

/* Code Blocks */
.dynamic-content pre {
    background: #1e293b;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
    overflow-x: auto;
    color: #f8fafc;
    font-family: monospace;
}