/**
 * Article/Single Post Specific Styles
 */

/* --- READING PROGRESS BAR --- */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    z-index: 100;
    width: 100%;
    background: transparent;
    pointer-events: none;
}

.reading-progress {
    height: 100%;
    background: linear-gradient(90deg, #c5a059, #f0e68c, #c5a059);
    width: 0;
    box-shadow: 0 0 15px #c5a059;
    transition: width 0.1s ease-out;
}

/* --- ARTICLE TYPOGRAPHY --- */
/* REMOVED background-image from here to avoid duplication. It is now applied to the container in single.php */

.entry-content h2 {
    font-family: 'Beleren', 'Cinzel', serif;
    color: white;
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
}

.entry-content h3 {
    font-family: 'Beleren', 'Cinzel', serif;
    color: #c5a059;
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.entry-content h4 {
    font-family: 'Beleren', 'Cinzel', serif;
    color: #e6c885;
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.entry-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #d1d5db;
}

/* Drop Cap */
.entry-content > p:first-of-type::first-letter {
    float: left;
    font-size: 3rem;
    line-height: 0.85;
    font-family: 'Beleren', 'Cinzel', serif;
    color: #c5a059;
    padding-right: 0.75rem;
    padding-top: 0.25rem;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(197, 160, 89, 0.3);
}

.entry-content blockquote {
    margin: 2.5rem 0;
    padding: 2rem;
    background: #111;
    border-left: 4px solid #c5a059;
    position: relative;
    font-style: italic;
    color: #9ca3af;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.5);
}

.entry-content blockquote::before {
    content: '"';
    font-size: 4rem;
    color: #c5a059;
    opacity: 0.2;
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: 'Beleren', 'Cinzel', serif;
}

.entry-content ul,
.entry-content ol {
    margin: 2rem 0 2rem 2rem;
    color: #d1d5db;
}

.entry-content ul li,
.entry-content ol li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
    position: relative;
    padding-left: 0.5rem;
}

.entry-content ul li::before {
    content: '◆';
    color: #c5a059;
    position: absolute;
    left: -1.5rem;
    font-size: 0.7rem;
}

.entry-content strong {
    color: #fff;
    font-weight: 700;
}

.entry-content em {
    color: #c5a059;
}

.entry-content a {
    color: #c5a059;
    text-decoration: none;
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
    transition: all 0.3s ease;
}

.entry-content a:hover {
    color: #e6c885;
    border-bottom-color: #e6c885;
}

.entry-content code {
    background: rgba(197, 160, 89, 0.1);
    color: #c5a059;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.9em;
    font-family: 'Courier New', monospace;
}

.entry-content pre {
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 4px;
}

.entry-content pre code {
    background: none;
    padding: 0;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    margin: 2rem 0;
}

.entry-content hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.3), transparent);
    margin: 3rem 0;
}

/* Table Styling */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.entry-content table th {
    background: #111;
    color: #c5a059;
    font-family: 'Beleren', 'Cinzel', serif;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    padding: 1rem;
    border-bottom: 2px solid #c5a059;
}

.entry-content table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.entry-content table tr:hover {
    background: rgba(197, 160, 89, 0.05);
}