/* Hero Section */
.blog-hero {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    padding: 100px 0 80px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

.hero-title {
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    position: relative;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.hero-subtitle {
    color: rgba(255,255,255,0.95);
    font-size: 1.25rem;
    position: relative;
}

/* Post Cards */
.post-card {
    background: #fff;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.post-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transform: translateY(-3px);
    border-left-color: #ff6b6b;
}

.post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.post-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 12px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.post-card:hover .post-title {
    color: #ff6b6b;
}

.post-excerpt {
    font-size: 1.05rem;
    color: #718096;
    line-height: 1.7;
    margin-bottom: 20px;
}

.post-meta {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #a0aec0;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.meta-divider {
    margin: 0 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-hero {
        padding: 60px 0 50px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .post-card {
        padding: 25px;
    }
    
    .post-title {
        font-size: 1.5rem;
    }
}

/* Pagination Styling */
.pagination {
    gap: 5px;
}

.pagination .page-link {
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    color: #ff6b6b;
    padding: 10px 16px;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background-color: #ff6b6b;
    border-color: #ff6b6b;
    color: #fff;
    transform: translateY(-2px);
}

.pagination .page-item.active .page-link {
    background-color: #ff6b6b;
    border-color: #ff6b6b;
}

/* Post Meta Header */
.post-meta-header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 40px;
    font-size: 0.95rem;
    color: #6c757d;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.meta-divider {
    margin: 0 12px;
    color: #dee2e6;
}

/* Post Content Body */
.post-content-body {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #2d3748;
    margin-bottom: 50px;
}

.post-content-body h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #ff6b6b;
}

.post-content-body h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #2d3748;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
}

.post-content-body h4 {
    font-size: 1.35rem;
    font-weight: 600;
    color: #2d3748;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-content-body p {
    margin-bottom: 1.5rem;
}

.post-content-body a {
    color: #ff6b6b;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.post-content-body a:hover {
    color: #ee5a6f;
}

.post-content-body ul,
.post-content-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.post-content-body li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.post-content-body blockquote {
    border-left: 4px solid #ff6b6b;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    background: #fff5f5;
    font-style: italic;
    color: #4a5568;
    border-radius: 0 8px 8px 0;
}

.post-content-body code {
    background-color: #f7fafc;
    color: #e53e3e;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: 'Courier New', monospace;
}

.post-content-body pre {
    background-color: #2d3748;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
}

.post-content-body pre code {
    background-color: transparent;
    color: inherit;
    padding: 0;
}

.post-content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.post-content-body hr {
    border: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, #dee2e6, transparent);
    margin: 3rem 0;
}

/* Post Footer */
.post-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #e2e8f0;
}

/* Share Section */
.share-section {
    margin-bottom: 40px;
    text-align: center;
}

.share-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 20px;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.share-btn.twitter {
    background-color: #1da1f2;
    color: #fff;
}

.share-btn.twitter:hover {
    background-color: #1a8cd8;
    color: #fff;
}

.share-btn.facebook {
    background-color: #1877f2;
    color: #fff;
}

.share-btn.facebook:hover {
    background-color: #166fe5;
    color: #fff;
}

.share-btn.linkedin {
    background-color: #0077b5;
    color: #fff;
}

.share-btn.linkedin:hover {
    background-color: #006399;
    color: #fff;
}

/* Post Navigation */
.post-navigation {
    text-align: center;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background-color: #fff;
    color: #ff6b6b;
    border: 2px solid #ff6b6b;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background-color: #ff6b6b;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .post-content-body {
        font-size: 1.05rem;
    }
    
    .post-content-body h2 {
        font-size: 1.6rem;
    }
    
    .post-content-body h3 {
        font-size: 1.4rem;
    }
    
    .share-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .share-btn {
        justify-content: center;
    }
}