/* ========================================
   Blog Post Page CSS (Premium)
   ======================================== */

.blog-post-page {
    padding: 60px 0;
}

.post-header {
    margin-bottom: 50px;
}

.post-header h1 {
    font-size: 48px;
    color: var(--dark-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

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

.post-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.post-meta span:hover {
    color: var(--primary-color);
}

.post-featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    transition: all 0.3s ease;
}

.post-featured-image:hover {
    transform: scale(1.02);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.post-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.post-content {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--border-color);
}

.post-content h2 {
    font-size: 28px;
    color: var(--dark-color);
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    position: relative;
}

.post-content h2::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.post-content h2:first-child {
    margin-top: 0;
}

.post-content h3 {
    font-size: 20px;
    color: var(--dark-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.post-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 15px;
}

.post-content ul {
    margin: 20px 0 20px 30px;
    color: #666;
}

.post-content ul li {
    margin-bottom: 12px;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.post-content ul li:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.post-tags {
    display: flex;
    gap: 10px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.tag {
    display: inline-block;
    padding: 8px 14px;
    background: #f0f0f0;
    color: #666;
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.tag:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
}

/* Sidebar */
.post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.sidebar-widget:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.sidebar-widget h3 {
    font-size: 18px;
    color: var(--dark-color);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.related-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-posts li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.related-posts li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.related-posts a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    transition: all 0.3s ease;
    display: block;
}

.related-posts a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Share Buttons */
.share-buttons {
    display: flex;
    gap: 15px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.share-btn.facebook {
    background: linear-gradient(135deg, #3b5998, #2d4373);
}

.share-btn.twitter {
    background: linear-gradient(135deg, #1da1f2, #1a91da);
}

.share-btn.linkedin {
    background: linear-gradient(135deg, #0077b5, #005885);
}

.share-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.share-btn:active {
    transform: translateY(-2px);
}

/* CTA Widget */
.cta-widget {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(0, 170, 68, 0.05) 100%);
    border-left: 4px solid var(--primary-color);
    border: 1px solid rgba(0, 102, 204, 0.1);
    border-left: 4px solid var(--primary-color);
}

.cta-widget p {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

.cta-widget .btn {
    width: 100%;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .post-layout {
        grid-template-columns: 1fr;
    }

    .post-header h1 {
        font-size: 32px;
    }

    .post-featured-image {
        height: 250px;
    }

    .post-content {
        padding: 20px;
    }

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

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

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

    .sidebar-widget {
        padding: 20px;
    }

    .share-buttons {
        gap: 10px;
    }

    .share-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
