/* Dynamic Content Styles
   Ref: project-details.css
   Theme: Dark/Gold (Premium)
*/

.dynamic-content {
    color: #d1d5db;
    /* text-gray-300 */
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
}

/* Headings */
/* Headings */
.dynamic-content h1,
.dynamic-content h2,
.dynamic-content h3,
.dynamic-content h4,
.dynamic-content h5,
.dynamic-content h6 {
    font-family: 'Playfair Display', serif;
    color: #ffffff;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    font-weight: 600;
}

.dynamic-content h1 {
    font-size: 2rem;
}

.dynamic-content h2 {
    font-size: 1.8rem !important;
}

.dynamic-content h3 {
    font-size: 1.5rem;
}

.dynamic-content h4 {
    font-size: 1.25rem;
}

.dynamic-content h5 {
    font-size: 1.125rem;
}

.dynamic-content h6 {
    font-size: 1rem;
}

/* Paragraphs */
.dynamic-content p {
    margin-bottom: 1.5rem;
    color: #9ca3af;
    /* text-gray-400 */
}

/* Links */
.dynamic-content a {
    color: #d4af37;
    /* brand-gold */
    text-decoration: underline;
    text-decoration-color: rgba(212, 175, 55, 0.3);
    text-underline-offset: 4px;
    transition: all 0.3s ease;
}

.dynamic-content a:hover {
    color: #f4e4b8;
    text-decoration-color: #d4af37;
}

/* Lists */
.dynamic-content ul,
.dynamic-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
}

.dynamic-content ul {
    list-style-type: disc;
}

.dynamic-content ol {
    list-style-type: decimal;
}

.dynamic-content li {
    margin-bottom: 0.5rem;
    color: #d1d5db;
}

.dynamic-content li::marker {
    color: #d4af37;
}

/* Blockquotes */
.dynamic-content blockquote {
    border-left: 4px solid #d4af37;
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    color: #e5e7eb;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

.dynamic-content blockquote p:last-child {
    margin-bottom: 0;
}

/* Images */
.dynamic-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Tables */
.dynamic-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    overflow-x: auto;
    display: block;
}

.dynamic-content th,
.dynamic-content td {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.dynamic-content th {
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.dynamic-content tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.dynamic-content tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Code */
.dynamic-content code {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: monospace;
    color: #d4af37;
}

.dynamic-content pre {
    background: #0f0f0f;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}

/* Horizontal Rule */
.dynamic-content hr {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.3), transparent);
    margin: 3rem 0;
}