/* Kemet Single Blog Post Styles */

/* Single Blog Main Container */
.kemet-single-blog-main {
    background-color: #f1e6db;
    background-image: url('../images/kemet-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    position: relative;
}

/* Single Blog Header */
.kemet-single-blog-header {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 2rem;
}

.kemet-single-blog-header h1 {
    background: linear-gradient(135deg, #3A4532 0%, #8b7355 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.kemet-single-blog-header .wp-block-group {
    margin-bottom: 1rem;
}

.kemet-single-blog-header .wp-block-post-date,
.kemet-single-blog-header .wp-block-post-author,
.kemet-single-blog-header .wp-block-post-terms {
    color: #8b7355;
    font-weight: 600;
    margin: 0 0.5rem;
}

.kemet-single-blog-header .wp-block-post-terms a {
    color: #c8906b;
    text-decoration: none;
    padding: 0.25rem 0.75rem;
    background: rgba(200, 144, 107, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
    display: inline-block;
}

.kemet-single-blog-header .wp-block-post-terms a:hover {
    background: #c8906b;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Single Blog Content */
.kemet-single-blog-content {
    position: relative;
    z-index: 2;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(58, 69, 50, 0.1);
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.kemet-single-blog-image {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.kemet-single-blog-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.kemet-single-blog-image:hover img {
    transform: scale(1.02);
}

/* Post Content Styling */
.kemet-single-blog-content .wp-block-post-content {
    padding: 2rem;
    line-height: 1.8;
    color: #3A4532;
}

.kemet-single-blog-content .wp-block-post-content h2 {
    color: #3A4532;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    margin: 2rem 0 1rem 0;
    position: relative;
}

.kemet-single-blog-content .wp-block-post-content h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #d4af37 0%, #c8906b 100%);
    border-radius: 2px;
}

.kemet-single-blog-content .wp-block-post-content h3 {
    color: #8b7355;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    margin: 1.5rem 0 0.75rem 0;
}

.kemet-single-blog-content .wp-block-post-content p {
    color: #707070;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.kemet-single-blog-content .wp-block-post-content ul,
.kemet-single-blog-content .wp-block-post-content ol {
    color: #707070;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.kemet-single-blog-content .wp-block-post-content li {
    margin-bottom: 0.5rem;
}

.kemet-single-blog-content .wp-block-post-content blockquote {
    border-left: 4px solid #c8906b;
    background: rgba(200, 144, 107, 0.05);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #8b7355;
    font-size: 1.2rem;
}

.kemet-single-blog-content .wp-block-post-content a {
    color: #c8906b;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.kemet-single-blog-content .wp-block-post-content a:hover {
    color: #3A4532;
    text-decoration: underline;
}

/* Tags Section */
.kemet-single-blog-tags {
    position: relative;
    z-index: 2;
    text-align: center;
    margin: 2rem 0;
}

.kemet-single-blog-tags .wp-block-post-terms a {
    color: #8b7355;
    text-decoration: none;
    padding: 0.5rem 1rem;
    background: rgba(139, 115, 85, 0.1);
    border-radius: 25px;
    margin: 0.25rem;
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 500;
}

.kemet-single-blog-tags .wp-block-post-terms a:hover {
    background: #8b7355;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 115, 85, 0.3);
}

/* Navigation */
.kemet-single-blog-navigation {
    position: relative;
    z-index: 2;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(58, 69, 50, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.kemet-single-blog-navigation .wp-block-post-navigation-link {
    background: #c8906b;
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    margin: 0.5rem;
}

.kemet-single-blog-navigation .wp-block-post-navigation-link:hover {
    background: #3A4532;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(58, 69, 50, 0.2);
}

/* Comments Section */
.kemet-single-blog-comments {
    position: relative;
    z-index: 2;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(58, 69, 50, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.1);
    padding: 2rem;
}

.kemet-single-blog-comments .wp-block-comments {
    margin: 0;
}

.kemet-single-blog-comments .wp-block-comments h3 {
    color: #3A4532;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* CTA Section */
.kemet-single-blog-cta {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, rgba(58, 69, 50, 0.05) 0%, rgba(200, 144, 107, 0.05) 100%);
    border-radius: 16px;
    margin-top: 2rem;
    padding: 3rem 2rem;
    text-align: center;
}

.kemet-single-blog-cta h2 {
    margin-bottom: 1rem;
    position: relative;
}

.kemet-single-blog-cta h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #d4af37 0%, #c8906b 100%);
    border-radius: 2px;
}

.kemet-single-blog-cta p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #8b7355;
}

.kemet-single-blog-cta .wp-block-button__link {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.kemet-single-blog-cta .wp-block-button__link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.kemet-single-blog-cta .wp-block-button__link:hover::before {
    left: 100%;
}

.kemet-single-blog-cta .wp-block-button__link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(58, 69, 50, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .kemet-single-blog-main {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .kemet-single-blog-header h1 {
        font-size: 2.5rem;
    }
    
    .kemet-single-blog-image img {
        height: 250px;
    }
    
    .kemet-single-blog-content .wp-block-post-content {
        padding: 1.5rem;
    }
    
    .kemet-single-blog-content .wp-block-post-content h2 {
        font-size: 1.8rem;
    }
    
    .kemet-single-blog-content .wp-block-post-content h3 {
        font-size: 1.3rem;
    }
    
    .kemet-single-blog-navigation .wp-block-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .kemet-single-blog-cta {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .kemet-single-blog-header h1 {
        font-size: 2rem;
    }
    
    .kemet-single-blog-image img {
        height: 200px;
    }
    
    .kemet-single-blog-content .wp-block-post-content {
        padding: 1rem;
    }
    
    .kemet-single-blog-content .wp-block-post-content h2 {
        font-size: 1.5rem;
    }
    
    .kemet-single-blog-content .wp-block-post-content h3 {
        font-size: 1.2rem;
    }
    
    .kemet-single-blog-content .wp-block-post-content p {
        font-size: 1rem;
    }
}

/* Animation for content */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.kemet-single-blog-content {
    animation: fadeInUp 0.6s ease-out;
}

.kemet-single-blog-navigation {
    animation: fadeInUp 0.8s ease-out;
}

.kemet-single-blog-comments {
    animation: fadeInUp 1s ease-out;
}

.kemet-single-blog-cta {
    animation: fadeInUp 1.2s ease-out;
}
