/* Container */

.blog-detail-container {
    max-width: 80%;
    margin: 0 auto;
    padding: 20px 0;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}


/* Left Content */

.left-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


/* Breadcrumb */

.breadcrumb-single-post {
    font-size: 14px;
    margin-bottom: 20px;
    color: #666;
}

.breadcrumb-single-post a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-single-post a:hover {
    color: #004999;
}

.breadcrumb-single-post .separator {
    margin: 0 8px;
    color: #999;
}

.breadcrumb-single-post .current {
    color: #333;
}


/* Article Title */

.article-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #1a1a1a;
}


/* Article Meta */

.article-meta {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    color: #333;
}

.date-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.date-info i {
    color: #0066cc;
}


/* Featured Image */

.featured-image {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
}


/* Article Content */

.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.article-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.article-content p {
    margin-bottom: 15px;
}

.article-content strong {
    color: #0066cc;
    font-weight: 600;
}


/* Contact Section */

.contact-section {
    margin-top: 40px;
    padding: 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    color: #fff;
}

.contact-intro {
    font-size: 16px;
    margin-bottom: 20px;
    text-align: center;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.contact-link i {
    font-size: 20px;
}

.contact-link.telegram:hover {
    background: #0088cc;
    border-color: #0088cc;
}

.contact-link.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}


/* Right Content (Sidebar) */

.right-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-section {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sidebar-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid #0066cc;
    color: #1a1a1a;
    text-transform: uppercase;
}


/* Post List */

.post-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.post-item {
    display: flex;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e5e5;
}

.post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.post-item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.post-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.post-info h4 {
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

.post-info h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.post-info h4 a:hover {
    color: #0066cc;
}


/* Advertisement Banner */

.ad-banner {
    text-align: center;
    padding: 0;
    overflow: hidden;
}

.ad-banner a {
    display: block;
}

.ad-banner img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}


/* Responsive Design */

@media (max-width: 992px) {
    .blog-detail-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .right-content {
        order: 2;
    }
}

@media (max-width: 768px) {
    .left-content {
        padding: 20px;
    }
    .article-title {
        font-size: 24px;
    }
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .contact-links {
        flex-direction: column;
    }
    .contact-link {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 20px;
    }
    .article-content {
        font-size: 15px;
    }
    .article-content h2 {
        font-size: 20px;
    }
    .post-item img {
        width: 70px;
        height: 50px;
    }
    .post-info h4 {
        font-size: 13px;
    }
}