/* Breadcrumb Section */
.breadcrumb-section {
    padding: 120px 0 30px;
    background: linear-gradient(135deg, var(--light-blue) 0%, #ffffff 100%);
}

.breadcrumb {
    background: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(74, 144, 226, 0.1);
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--dark-blue);
}

.breadcrumb-item.active {
    color: #666;
}

/* Post Detail Section */
.post-detail-section {
    padding: 50px 0 80px;
    background: #f8f9fa;
}

.post-detail-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(74, 144, 226, 0.1);
    margin-bottom: 30px;
}

/* Post Header */
.post-header {
    padding: 40px 40px 30px;
}

.post-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 25px;
    line-height: 1.3;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--light-blue);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.95rem;
}

.meta-item i {
    color: var(--primary-blue);
    font-size: 1.1rem;
}

/* Share Buttons */
.share-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.share-label {
    font-weight: 600;
    color: var(--dark-blue);
    margin-right: 5px;
}

.btn-share {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
}

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

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

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

.btn-whatsapp {
    background: #25d366;
}

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

.btn-copy {
    background: #6c757d;
}

.btn-copy.copied {
    background: #28a745;
}

/* Featured Image */
.post-featured-image {
    width: 100%;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Post Content */
.post-content {
    padding: 40px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.post-content h2 {
    color: var(--dark-blue);
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 20px;
}

.post-content h3 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 15px;
}

.post-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.post-content ul, .post-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.post-content li {
    margin-bottom: 10px;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

.post-content blockquote {
    background: var(--light-blue);
    border-left: 4px solid var(--primary-blue);
    padding: 20px;
    margin: 25px 0;
    border-radius: 5px;
    font-style: italic;
}

/* Post Tags */
.post-tags {
    padding: 0 40px 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.post-tags i {
    color: var(--primary-blue);
    font-size: 1.2rem;
}

.tag-badge {
    display: inline-block;
    padding: 6px 15px;
    background: var(--light-blue);
    color: var(--dark-blue);
    border-radius: 20px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-badge:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

/* Author Box */
.author-box {
    margin: 30px 40px 40px;
    padding: 25px;
    background: var(--light-blue);
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-avatar i {
    font-size: 4rem;
    color: var(--primary-blue);
}

.author-info h5 {
    color: var(--dark-blue);
    font-weight: 700;
    margin-bottom: 5px;
}

.author-info p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
}

.widget {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 25px rgba(74, 144, 226, 0.1);
}

.widget-title {
    color: var(--dark-blue);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-blue);
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-title i {
    color: var(--primary-blue);
}

/* Latest Posts Widget */
.latest-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.latest-post-item {
    display: flex;
    gap: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 10px;
}

.latest-post-item:hover {
    background: var(--light-blue);
    transform: translateX(5px);
}

.latest-post-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.latest-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-post-content h6 {
    color: var(--dark-blue);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.latest-post-date {
    color: #666;
    font-size: 0.85rem;
    margin: 0;
}

.latest-post-date i {
    color: var(--primary-blue);
    font-size: 0.9rem;
}

/* Category List */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 12px;
}

.category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #333;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.category-list a:hover {
    background: var(--light-blue);
    color: var(--primary-blue);
    transform: translateX(5px);
}

.category-list a i {
    color: var(--primary-blue);
    margin-right: 8px;
}

.category-list a span {
    background: var(--primary-blue);
    color: white;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Popular List */
.popular-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popular-list li {
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.popular-number {
    background: var(--primary-blue);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.popular-list a {
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.popular-list a:hover {
    color: var(--primary-blue);
}

/* Responsive Design */
@media (max-width: 991px) {
    .sidebar {
        position: static;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .breadcrumb-section {
        padding: 100px 0 20px;
    }

    .post-title {
        font-size: 1.8rem;
    }

    .post-header {
        padding: 30px 20px 20px;
    }

    .post-content {
        padding: 30px 20px;
        font-size: 1rem;
    }

    .post-meta {
        gap: 15px;
    }

    .meta-item {
        font-size: 0.85rem;
    }

    .share-buttons {
        justify-content: flex-start;
    }

    .btn-share {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .author-box {
        margin: 20px 20px 30px;
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }

    .widget {
        padding: 20px;
    }

    .widget-title {
        font-size: 1.1rem;
    }

    .latest-post-image {
        width: 70px;
        height: 70px;
    }

    .latest-post-content h6 {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .post-title {
        font-size: 1.5rem;
    }

    .post-header {
        padding: 20px 15px;
    }

    .post-content {
        padding: 20px 15px;
    }

    .post-meta {
        flex-direction: column;
        gap: 10px;
    }

    .share-label {
        width: 100%;
        margin-bottom: 5px;
    }

    .btn-share {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }

    .author-box {
        margin: 15px;
        padding: 15px;
    }

    .author-avatar i {
        font-size: 3rem;
    }
}

/* Related Posts Section */
.related-posts {
    margin: 40px;
    padding-top: 40px;
    border-top: 2px solid var(--light-blue);
}

.related-posts h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.related-posts h4 i {
    color: var(--primary-blue);
}

.related-post-card {
    display: block;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    height: 100%;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.2);
}

.related-post-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-post-info {
    padding: 15px;
}

.related-post-info h6 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.related-post-info p {
    font-size: 0.85rem;
    color: #999;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.related-post-info p i {
    color: var(--primary-blue);
}
