.single-post {
    padding: 40px 0 70px;
}

.single-post .post-layout {
    display: flex;
    gap: 40px;
}

.post-content {
    flex: 2;
}

.post-content .featured-image {
    width: 100%;
    height: 320px;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: rgba(255,255,255,0.15);
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
}

.post-content .featured-image .overlay-text {
    position: absolute;
    color: rgba(255,255,255,0.05);
    font-size: 120px;
    font-weight: 800;
    letter-spacing: 10px;
    text-transform: uppercase;
}

.post-content .post-meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #999;
    margin-bottom: 16px;
}

.post-content .post-meta i {
    color: #dc3545;
    margin-right: 6px;
    width: 16px;
}

.post-content .post-meta .separator {
    color: #ddd;
}

.post-content .post-title {
    font-size: 34px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 20px;
    line-height: 1.2;
}

.post-content .post-title span {
    color: #dc3545;
}

.post-content .post-body {
    font-size: 16px;
    color: #444;
    line-height: 1.9;
}

.post-content .post-body p {
    margin-bottom: 18px;
}

.post-content .post-body h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 36px 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f0f0;
}

.post-content .post-body h2 span {
    color: #dc3545;
}

.post-content .post-body h3 {
    font-size: 19px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 28px 0 10px;
}

.post-content .post-body h3 i {
    color: #dc3545;
    margin-right: 8px;
}

.post-content .post-body ul,
.post-content .post-body ol {
    margin: 12px 0 20px 24px;
}

.post-content .post-body ul li,
.post-content .post-body ol li {
    margin-bottom: 8px;
}

.post-content .post-body ul li strong,
.post-content .post-body ol li strong {
    color: #1a1a2e;
}

.post-content .post-body blockquote {
    background: #f7f7fa;
    border-left: 4px solid #dc3545;
    padding: 18px 24px;
    margin: 24px 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #555;
    font-size: 17px;
}

.post-content .post-body blockquote cite {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    color: #999;
    font-style: normal;
}

.post-content .post-body .highlight-box {
    background: rgba(220, 53, 69, 0.04);
    border: 2px solid rgba(220, 53, 69, 0.12);
    border-radius: 12px;
    padding: 20px 24px;
    margin: 24px 0;
}

.post-content .post-body .highlight-box h4 {
    color: #dc3545;
    margin-bottom: 6px;
    font-size: 15px;
}

.post-content .post-body .highlight-box p {
    margin-bottom: 0;
}

.post-content .post-body .example-box {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 20px 0;
}

.post-content .post-body .example-box h4 {
    color: #1a1a2e;
    font-size: 14px;
    margin-bottom: 4px;
}

.post-content .post-body .example-box p {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
}

/* Post Tags */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

.post-tags .label {
    color: #999;
    font-size: 14px;
    font-weight: 600;
    margin-right: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-tags .label i {
    color: #dc3545;
}

.post-tags a {
    background: #f5f5fa;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;
    color: #555;
    transition: all 0.3s;
}

.post-tags a:hover {
    background: #dc3545;
    color: #fff;
}

/* Author Box */
.author-box {
    background: #f7f7fa;
    border-radius: 16px;
    padding: 24px 28px;
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid #f0f0f0;
}

.author-box .avatar {
    width: 64px;
    height: 64px;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #dc3545;
    flex-shrink: 0;
}

.author-box .info .name {
    font-weight: 700;
    font-size: 16px;
    color: #1a1a2e;
}

.author-box .info .role {
    font-size: 13px;
    color: #dc3545;
}

.author-box .info p {
    font-size: 14px;
    color: #666;
    margin-top: 4px;
}

/* Related Posts */
.related-posts {
    margin-top: 44px;
    padding-top: 32px;
    border-top: 1px solid #f0f0f0;
}

.related-posts .related-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}

.related-posts .related-title span {
    color: #dc3545;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.related-item {
    background: #fff;
    border-radius: 12px;
    padding: 18px 20px 20px;
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
}

.related-item:hover {
    border-color: #dc3545;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.related-item .thumb-small {
    width: 100%;
    height: 100px;
    background: linear-gradient(135deg, #f0f0f5 0%, #e0e0e8 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #ccc;
    margin-bottom: 12px;
}

.related-item h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.4;
}

.related-item h4 a {
    transition: color 0.3s;
}

.related-item h4 a:hover {
    color: #dc3545;
}

.related-item .date {
    font-size: 12px;
    color: #999;
    margin-top: 6px;
}

.related-item .date i {
    margin-right: 4px;
    color: #dc3545;
}

/* Sidebar */
.blog-sidebar {
    flex: 1;
}

.blog-sidebar .sidebar-widget {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #f0f0f0;
    margin-bottom: 24px;
}

.blog-sidebar .sidebar-widget:last-child {
    margin-bottom: 0;
}

.blog-sidebar .sidebar-widget .widget-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-sidebar .sidebar-widget .widget-title i {
    color: #dc3545;
}

.blog-sidebar .sidebar-widget .widget-title span {
    color: #dc3545;
}

.blog-sidebar .sidebar-widget ul {
    list-style: none;
    padding: 0;
}

.blog-sidebar .sidebar-widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f5f5fa;
}

.blog-sidebar .sidebar-widget ul li:last-child {
    border-bottom: none;
}

.blog-sidebar .sidebar-widget ul li a {
    color: #555;
    font-size: 14px;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-sidebar .sidebar-widget ul li a:hover {
    color: #dc3545;
}

.blog-sidebar .sidebar-widget ul li a i {
    color: #dc3545;
    font-size: 10px;
}

.blog-sidebar .sidebar-widget .tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-sidebar .sidebar-widget .tag-cloud a {
    background: #f5f5fa;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    color: #555;
    transition: all 0.3s;
}

.blog-sidebar .sidebar-widget .tag-cloud a:hover {
    background: #dc3545;
    color: #fff;
}

/* Search Form */
.search-form {
    display: flex;
    gap: 8px;
}

.search-form input {
    flex: 1;
    padding: 10px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.search-form input:focus {
    outline: none;
    border-color: #dc3545;
}

.search-form button {
    padding: 10px 18px;
    background: #dc3545;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-form button:hover {
    background: #c82333;
}

/* ============================================
   RESPONSIVE SINGLE
   ============================================ */
@media screen and (max-width: 991px) {
    .single-post .post-layout {
        flex-direction: column;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .post-content .featured-image {
        height: 200px;
        font-size: 36px;
    }

    .post-content .featured-image .overlay-text {
        font-size: 60px;
    }

    .post-content .post-title {
        font-size: 26px;
    }

    .post-content .post-body {
        font-size: 15px;
    }

    .post-content .post-body h2 {
        font-size: 20px;
    }

    .post-content .post-body h3 {
        font-size: 17px;
    }

    .post-content .post-body blockquote {
        font-size: 15px;
        padding: 14px 18px;
    }

    .post-content .post-meta {
        font-size: 12px;
        gap: 12px;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .blog-sidebar .sidebar-widget {
        padding: 18px;
    }
}

@media screen and (max-width: 480px) {
    .post-content .featured-image {
        height: 160px;
    }

    .post-content .post-title {
        font-size: 22px;
    }

    .post-content .post-body {
        font-size: 14px;
    }

    .author-box .avatar {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
}