/* Custom CSS for better heading contrast and styling */

/* Remove decorative symbols from headings */
.single .content > h2 > .header-mark::before,
.single .content > h3 > .header-mark::before,
.single .content > h4 > .header-mark::before,
.single .content > h5 > .header-mark::before,
.single .content > h6 > .header-mark::before {
    content: "" !important;
    margin-right: 0 !important;
}

/* Enhanced heading styles with better contrast */
.single .content > h1 {
    color: #2c3e50;
    border-bottom: 3px solid #3498db;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.single .content > h2 {
    color: #34495e;
    border-left: 4px solid #e74c3c;
    padding-left: 1rem;
    margin-left: -1rem;
    background: linear-gradient(90deg, rgba(231, 76, 60, 0.1), transparent);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.single .content > h3 {
    color: #16a085;
    border-bottom: 2px solid #1abc9c;
    padding-bottom: 0.3rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.single .content > h4 {
    color: #8e44ad;
    font-weight: 600;
    background: linear-gradient(90deg, #8e44ad, transparent);
    background-size: 100% 2px;
    background-repeat: no-repeat;
    background-position: bottom;
    padding-bottom: 0.2rem;
}

.single .content > h5 {
    color: #d35400;
    font-style: italic;
    font-weight: 500;
}

.single .content > h6 {
    color: #7f8c8d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

/* Dark theme support */
[theme=dark] .single .content > h1 {
    color: #ecf0f1;
    border-bottom-color: #3498db;
}

[theme=dark] .single .content > h2 {
    color: #bdc3c7;
    border-left-color: #e74c3c;
    background: linear-gradient(90deg, rgba(231, 76, 60, 0.2), transparent);
}

[theme=dark] .single .content > h3 {
    color: #1abc9c;
    border-bottom-color: #16a085;
}

[theme=dark] .single .content > h4 {
    color: #9b59b6;
    background: linear-gradient(90deg, #9b59b6, transparent);
}

[theme=dark] .single .content > h5 {
    color: #e67e22;
}

[theme=dark] .single .content > h6 {
    color: #95a5a6;
}

/* Hover effects for better interactivity */
.single .content > h2:hover {
    transform: translateX(5px);
    transition: transform 0.2s ease;
}

.single .content > h3:hover {
    color: #138d75;
    transition: color 0.2s ease;
}

[theme=dark] .single .content > h3:hover {
    color: #48c9b0;
}

/* Ensure proper spacing */
.single .content h1,
.single .content h2,
.single .content h3,
.single .content h4,
.single .content h5,
.single .content h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.single .content h1:first-child,
.single .content h2:first-child,
.single .content h3:first-child,
.single .content h4:first-child,
.single .content h5:first-child,
.single .content h6:first-child {
    margin-top: 1rem;
}