header#header {
    background: #8b0000 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2) !important;
    transition: 0.4s ease;
}

header#header.is-scrolled-transparent {
    background: rgba(139, 0, 0, 0.3) !important;
    backdrop-filter: blur(8px) !important;
    box-shadow: none !important;
}

.single-post {
    margin-top: 0;
}

.post-header {
    height: 65vh;
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
    display: flex;
    align-items: flex-end;
}

.post-header-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    width: 100%;
    padding: 120px 20px 40px 20px;
}

.post-header h1 {
    font-size: 48px;
    margin: 15px 0;
    font-weight: 600;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.post-header .category-badge {
    position: static;
    background: #8b0000;
    color: white;
    padding: 6px 15px;
    font-size: 13px;
    border-radius: 20px;
    text-transform: uppercase;
    font-weight: 600;
}

.post-meta {
    font-size: 15px;
    opacity: 0.8;
    margin-top: 10px;
}

.post-content {
    max-width: 850px;
    margin: 60px auto;
    padding: 0 25px;
}

.content-wrapper {
    font-size: 19px;
    line-height: 1.9;
    color: #2b2b2b;
}

.content-wrapper p {
    margin-bottom: 25px;
}

.tags-section {
    margin-top: 50px;
    padding: 25px;
    border-radius: 8px;
    background: rgba(139, 0, 0, 0.05);
    font-size: 15px;
    color: #555;
    border-left: 4px solid #8b0000;
}

.tags-section strong {
    color: #8b0000;
}

.back-btn {
    display: inline-block;
    margin-top: 50px;
    color: #8b0000;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: 0.3s;
}

.back-btn:hover {
    letter-spacing: 1px;
}

@media(max-width: 1024px) {
    .post-header h1 { font-size: 38px; }
}

@media(max-width: 768px) {
    .post-header h1 { font-size: 30px; }
    .post-header { height: 50vh; }
    .content-wrapper { font-size: 17px; }
    .post-content { margin: 40px auto; }
}