html,
body,
h1,
h2,
h3,
h4,
h5 {
    font-family: "Ubuntu", sans-serif
}

header i.bx {
    position: relative;
    top: 1px;
}

#editor {
    height: 400px;
}

.w3-tag {
    cursor: pointer;
}

.post-item {
    cursor: pointer;
}

.section-title {
    font-weight: bold;
}

.featured-image {
   background-image: url("../assets/darulerkam-bg.jpg");
    background-position: left bottom;
    background-repeat: no-repeat;
    margin: auto;
    background-size: cover;
}

.featured-image h3 {
    padding: 150px 0;
    text-align: center;
    font-weight: 700;
    font-size: 30px;
    color: #fff;
    margin: 0;

}

/* Sidebar */
.sidebar-panel {
    width: 230px;
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    z-index: 4;
}

@media (min-width: 992px) {
    .sidebar-panel {
        display: block;
    }

    #page-content,
    #top-bar {
        margin-left: 230px;
    }
}

.sidebar-panel.sidebar-open {
    display: block !important;
}

#sidebar-overlay {
    display: none;
}

@media (max-width: 991px) {
    #page-content {
        margin-left: 0;
    }

    #sidebar-overlay.sidebar-overlay-show {
        display: block;
    }
}

/* Theme toggle */
body.dark-mode {
    background: #0f172a;
    color: #e2e8f0;
}

body.dark-mode .w3-card,
body.dark-mode .w3-card-2,
body.dark-mode .w3-container {
    background-color: #111827;
    color: #e5e7eb;
}

body.dark-mode a {
    color: #bfdbfe;
}

/* Collapsed state */
body.sidebar-collapsed #sidebar {
    display: none !important;
}

@media (min-width: 992px) {
    body.sidebar-collapsed #page-content,
    body.sidebar-collapsed #top-bar {
        margin-left: 0;
    }
}
