.main-content {
    position: relative;
    z-index: 10;
    margin-top: 4rem;
}

.top-header {
    background: rgba(10, 14, 26, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(6, 182, 212, 0.2);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.back-btn, .share-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.75rem;
    cursor: pointer;
    transition: color 0.3s;
}

.back-btn:hover, .share-btn:hover {
    color: var(--cyan-primary);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-tree {
    width: 35px;
    height: 35px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text-main {
    font-size: 18px;
    font-weight: 700;
    color: var(--cyan-primary);
    letter-spacing: 1px;
}

.logo-text-sub {
    font-size: 11px;
    color: var(--cyan-primary);
    font-weight: 600;
}

.site-url {
    text-align: center;
    color: #9ca3af;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

/* Content Layout */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
}

@media (min-width: 992px) {
    .content-wrapper {
        grid-template-columns: 1fr 360px;
    }
}

/* Main Article */
.blog-article {
    background: linear-gradient(to bottom right, rgba(6, 182, 212, 0.1), rgba(168, 85, 247, 0.1));
    border-radius: 20px;
    padding: 0;
    border: 1px solid rgba(6, 182, 212, 0.3);
    overflow: hidden;
}

.blog-header-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.blog-content {
    padding: 2rem 1.5rem;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin-bottom: 1rem;
}

.breadcrumb-item {
    font-size: 0.875rem;
}

.breadcrumb-item a {
    color: var(--cyan-primary);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #9ca3af;
}

.blog-category {
    display: inline-block;
    background: rgba(6, 182, 212, 0.2);
    color: var(--cyan-primary);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.blog-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-excerpt {
    font-size: 1.25rem;
    color: #d1d5db;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: rgba(6, 182, 212, 0.05);
    border-left: 4px solid var(--cyan-primary);
    border-radius: 4px;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: #9ca3af;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(6, 182, 212, 0.2);
}

.blog-meta i {
    color: var(--cyan-primary);
    margin-right: 0.5rem;
}

.blog-body {
    color: #e5e7eb;
    font-size: 1.0625rem;
    line-height: 1.9;
}

.blog-body h2 {
    color: white;
    font-size: 1.75rem;
    margin: 2.5rem 0 1.25rem;
    font-weight: 700;
}

.blog-body h3 {
    color: var(--cyan-primary);
    font-size: 1.375rem;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.blog-body h4 {
    color: white;
    font-size: 1.125rem;
    margin: 1.5rem 0 0.75rem;
    font-weight: 600;
}

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

.blog-body ul, .blog-body ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.blog-body li {
    margin-bottom: 0.875rem;
}

.blog-body strong {
    color: white;
    font-weight: 600;
}

.blog-body blockquote {
    background: rgba(6, 182, 212, 0.05);
    border-left: 4px solid var(--cyan-primary);
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #d1d5db;
    border-radius: 4px;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(168, 85, 247, 0.1));
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.highlight-box h4 {
    margin-top: 0;
    color: var(--cyan-primary);
}

.author-section {
    background: rgba(6, 182, 212, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 3rem;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--cyan-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.author-details h4 {
    font-size: 1.125rem;
    margin: 0 0 0.5rem 0;
    color: white;
}

.author-details p {
    font-size: 0.9375rem;
    color: #9ca3af;
    margin: 0;
    line-height: 1.5;
}

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

.sidebar-section {
    background: linear-gradient(to bottom right, rgba(6, 182, 212, 0.05), rgba(168, 85, 247, 0.05));
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(6, 182, 212, 0.2);
    margin-bottom: 2rem;
}

.sidebar-title {
    color: var(--cyan-primary);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(6, 182, 212, 0.3);
}

.sidebar-blog-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(6, 182, 212, 0.05);
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid rgba(6, 182, 212, 0.1);
    transition: all 0.3s;
    text-decoration: none;
    color: white;
}

.sidebar-blog-item:last-child {
    margin-bottom: 0;
}

.sidebar-blog-item:hover {
    background: rgba(6, 182, 212, 0.1);
    transform: translateX(5px);
    border-color: var(--cyan-primary);
    color: white;
}

.sidebar-blog-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.sidebar-blog-details {
    flex: 1;
    min-width: 0;
}

.sidebar-blog-title {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    color: white;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-blog-date {
    font-size: 0.75rem;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

/* Related Posts */
.related-posts-section {
    margin-top: 4rem;
}

.section-divider {
    margin: 3rem 0 2rem;
    text-align: center;
    position: relative;
}

.section-divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(6, 182, 212, 0.3), transparent);
}

.section-divider h3 {
    display: inline-block;
    background: var(--bg-dark);
    padding: 0 2rem;
    position: relative;
    color: var(--cyan-primary);
    font-size: 1.5rem;
    font-weight: 600;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .related-posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.related-post-card {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.08), rgba(168, 85, 247, 0.08));
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(6, 182, 212, 0.2);
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: white;
    display: block;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.3);
    border-color: var(--cyan-primary);
    color: white;
}

.related-post-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-post-card:hover .related-post-image {
    transform: scale(1.05);
}

.related-post-content {
    padding: 1.25rem;
}

.related-post-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: #9ca3af;
    margin-bottom: 0.75rem;
}

.related-post-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
    line-height: 1.4;
}

.related-post-excerpt {
    font-size: 0.875rem;
    color: #9ca3af;
    line-height: 1.5;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(6, 182, 212, 0.2);
    padding: 0.75rem 0;
    z-index: 100;
}

.bottom-nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.75rem;
    transition: color 0.3s;
}

.nav-item.active {
    color: var(--cyan-primary);
}

.nav-item i {
    font-size: 1.25rem;
}

@media (min-width: 768px) {
    .main-content {
        padding-bottom: 2rem;
    }

    .bottom-nav {
        display: none;
    }

    .blog-header-image {
        height: 450px;
    }

    .blog-content {
        padding: 3rem 2.5rem;
    }

    .blog-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 992px) {
    .sidebar-blog-item {
        flex-direction: column;
    }

    .sidebar-blog-image {
        width: 100%;
        height: 120px;
    }
}
@media(max-width: 768px){
    .main-content {
        margin-top: 3rem;
    }
}