.bereanx-layout { display:flex; gap:30px; }
/* Layout */
.bereanx-layout {
    display: flex;
    align-items: flex-start;
}

/* TOC Sidebar (Desktop) */
.bereanx-toc {
    width: 260px;
    min-width: 260px;
    max-height: 100vh;
    overflow-y: auto;

    position: sticky;
    top: 100px;

    padding: 20px;
    border-right: 1px solid #ddd;

    transition: transform 0.3s ease;
}

/* Collapsed state */
.bereanx-toc.collapsed {
    transform: translateX(-100%);
}

/* Content */
.bereanx-content {
    flex: 1;
    padding: 20px;
    transition: margin-left 0.3s ease;
}

/* Expand content when TOC collapsed */
.bereanx-layout.toc-collapsed .bereanx-content {
    margin-left: 0;
}

/* Toggle button (desktop) */
.bereanx-toggle {
    position: fixed;
    top: 100px;
    left: 10px;
    z-index: 9999;

    background: #2c3e50;
    color: #fff;
    border: none;
    padding: 10px 12px;
    border-radius: 5px;
    cursor: pointer;
}

/* Mobile styles */
@media (max-width: 768px) {

    .bereanx-layout {
        display: block;
    }

    .bereanx-toc {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 260px;

        transform: translateX(-100%);
        z-index: 9999;
        box-shadow: 2px 0 10px rgba(0,0,0,0.2);
    }

    .bereanx-toc.active {
        transform: translateX(0);
    }

    .bereanx-toggle {
        top: 15px;
        left: 15px;
    }
}
.bereanx-content { flex:1; }
html { scroll-behavior: smooth; }

.bereanx-archive {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.bereanx-topic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.bereanx-topic-card {
    border: 1px solid #e0e0e0;
    padding: 20px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bereanx-topic-card h3 {
    margin-top: 0;
    font-size: 20px;
}

.bereanx-topic-card p {
    flex-grow: 1;
    font-size: 14px;
    color: #555;
}

.bereanx-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 15px;
    background: #2c3e50;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
}

.bereanx-btn:hover {
    background: #1a252f;
}

/* Responsive */
@media (max-width: 900px) {
    .bereanx-topic-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .bereanx-topic-grid {
        grid-template-columns: 1fr;
    }
}

.single-bible_notes h1{
    text-align: center;
    margin 30px;
}