/* Single Post Header */
.single-post-header.section-padding {
    padding: 8rem 0 4rem;
}

.single-post-header {
    background: linear-gradient(135deg, #111d31 0%, #273039 100%);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    text-align: center;
    position: relative;
}

.single-post-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(17, 29, 49, 0.8) 0%, rgba(39, 48, 57, 0.8) 100%);
    z-index: 1;
}

.single-post-header .container {
    position: relative;
    z-index: 2;
}

.single-post-header-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Post Meta */
.post-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.post-category a {
    background: rgba(189, 214, 83, 0.2);
    color: #bdd653;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.post-category a:hover {
    background: rgba(189, 214, 83, 0.3);
    color: #bdd653;
}

.post-date, .post-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-date i, .post-author i {
    color: #bdd653;
    font-size: 0.9rem;
}

/* Post Title */
.post-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white;
}

/* Post Excerpt */
.post-excerpt {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}



/* Responsive Design */
@media (max-width: 768px) {
    .single-post-header.section-padding {
        padding: 6rem 0 3rem;
    }
    
    .post-title {
        font-size: 2.2rem;
    }
    
    .post-excerpt {
        font-size: 1.1rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .post-title {
        font-size: 1.8rem;
    }
    
    .post-excerpt {
        font-size: 1rem;
    }
    
    .single-post-header.section-padding {
        padding: 5rem 0 2rem;
    }
}

/* Blog Section Styles */
.blog-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}

.blog-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.blog-section .container {
    position: relative;
    z-index: 2;
}

.blog-section .section-title {
    color: white;
}

.blog-section .section-subtitle {
    color: #cccccc;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    position: relative;
    height: auto;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    position: relative;
    height: 200px;
    padding: 12px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.3s ease;
    border-radius: 12px;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #34495e, #0056b3);
    color: white;
    font-size: 2rem;
    border-radius: 12px;
}

.blog-content {
    position: relative;
    padding: 1.5rem;
    background: none;
    z-index: 2;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: white;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.blog-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: .9rem;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-link:hover {
    color: white;
    gap: 0.75rem;
}

.blog-link i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.blog-link:hover i {
    transform: translateX(3px);
}

.btn-outline {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 55px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: white;
    color: #112739;
    text-decoration: none;
}
