/* Modern Blog Detail UI */
.blog-hero {
    position: relative;
    padding: 120px 0 100px;
    text-align: center;
    color: #fff;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(0deg, rgba(10, 19, 37, 0.85) 0%, rgba(10, 19, 37, 0.4) 100%);
    z-index: 1;
}

.blog-hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInDown 0.8s ease-out;
}

.blog-category-badge {
    background: #5191fa;
    color: #fff;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.blog-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    max-width: 900px;
    margin: 0 auto 20px;
    line-height: 1.2;
}

.blog-meta-hero {
    display: flex;
    justify-content: center;
    gap: 25px;
    font-size: 15px;
    opacity: 0.9;
}

.blog-meta-hero span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-main-section {
    padding: 80px 0;
    background: #fcfcfd;
}

.article-container {
    background: #fff;
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
    margin-bottom: 40px;
}

.post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #3e4a5b;
}

.post-content h2, .post-content h3 {
    color: #0A1325;
    margin: 40px 0 20px;
    font-weight: 700;
}

.post-content img {
    border-radius: 16px;
    margin: 30px 0;
    max-width: 100%;
    height: auto;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.post-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.post-tags .tag-title {
    font-weight: 700;
    margin-right: 10px;
    color: #0A1325;
}

.tag-item {
    background: #f1f4f8;
    color: #5e6d77;
    padding: 5px 15px;
    border-radius: 8px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
    margin-right: 5px;
}

.tag-item:hover {
    background: #5191fa;
    color: #fff;
}

.post-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.post-share span { font-weight: 700; color: #0A1325; }

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: transform 0.2s;
}

.share-btn:hover { transform: scale(1.1); color: #fff; }
.share-btn.fb { background: #3b5998; }
.share-btn.tw { background: #1da1f2; }

/* Sidebar Styles */
.sidebar-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    border: 1px solid #f0f0f0;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: #0A1325;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f4f8;
    position: relative;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 50px;
    height: 2px;
    background: #5191fa;
}

.sidebar-about p {
    color: #5e6d77;
    font-size: 15px;
    line-height: 1.6;
}

.search-box-modern {
    display: flex;
    background: #f4f7fa;
    border-radius: 12px;
    padding: 5px;
}

.search-box-modern input {
    border: none;
    background: transparent;
    padding: 10px 15px;
    flex: 1;
    outline: none;
}

.search-btn-modern {
    background: #5191fa;
    color: #fff;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    cursor: pointer;
}

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

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

.category-list a {
    display: flex;
    justify-content: space-between;
    text-decoration: none;
    color: #5e6d77;
    font-size: 15px;
    transition: color 0.2s;
}

.category-list a:hover { color: #5191fa; }
.category-list .count {
    background: #f1f4f8;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.recent-post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.recent-post-thumb {
    width: 80px;
    height: 65px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-post-thumb img { width: 100%; height: 100%; object-fit: cover; }

.recent-post-info h5 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.4;
}

.recent-post-info h5 a { color: #0A1325; text-decoration: none; }
.recent-post-info span { font-size: 12px; color: #a0a6ad; }

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 991px) {
    .article-container { padding: 30px; }
    .blog-hero h1 { font-size: 32px; }
}

