/* =========================================================
   Sidebar & Information Page Styles
   Location: /assets/css/sidebar.css
   ---------------------------------------------------------
   Includes:
   - Sidebar container
   - Sidebar widgets
   - TOC (Table of Contents)
   - Responsive layout
   ========================================================= */

.container-wrapper {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 40px auto;
}

.main-content {
    flex: 3;
    min-width: 300px;
}

.sidebar {
    flex: 1;
    min-width: 280px;
}

/* ---------------- Sidebar Widgets ---------------- */
.sidebar-widget {
    margin-bottom: 30px;
    padding: 20px;
    background: #f7f7f7;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.sidebar-widget h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #222;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

/* ---------------- Table of Contents ---------------- */
.toc {
    margin-bottom: 30px;
}

.toc ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.toc li {
    margin-bottom: 8px;
}

.toc li.toc-level-3 {
    margin-left: 20px;
    font-size: 14px;
}

.toc a {
    text-decoration: none;
    font-weight: 600;
    color: #0073aa;
}

.toc a:hover {
    color: #005177;
}

/* ---------------- Information Content ---------------- */
.information-content {
    line-height: 1.7;
    font-size: 16px;
    color: #222;
}

.information-content h2,
.information-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #111;
}

.information-content p {
    margin-bottom: 15px;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 768px) {
    .container-wrapper {
        flex-direction: column;
        gap: 20px;
        margin: 20px;
    }

    .sidebar {
        min-width: 100%;
    }

    .main-content {
        min-width: 100%;
    }
}
.single-post .post-thumbnail {
    display: none;
}

.related-posts{
margin-top:40px;
border-top:2px solid #eee;
padding-top:20px;
}

.related-posts h3{
margin-bottom:20px;
font-size:22px;
}

.related-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:20px;
}

.related-card img{
width:100%;
height:140px;
object-fit:cover;
border-radius:6px;
}

.related-card h4{
font-size:14px;
margin-top:8px;
}

.related-card a{
text-decoration:none;
color:#333;
}
