/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page-container[b-2lxjll7so2] {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
    position: relative;
}

[b-2lxjll7so2] .content-wrapper {
    flex: 1 0 auto;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    position: relative;
}

[b-2lxjll7so2] .site-footer {
    flex-shrink: 0;
    background-color: #f5f5f5;
    border-top: 1px solid #e0e0e0;
    padding: 1.5rem 0;
    text-align: center;
    color: #666;
}

[b-2lxjll7so2] .hamburger-menu {
    display: none;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1001;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 0.75rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

[b-2lxjll7so2] .hamburger-menu:hover {
    background-color: #f5f5f5;
}

[b-2lxjll7so2] .hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

[b-2lxjll7so2] .sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

[b-2lxjll7so2] .sidebar-overlay.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

[b-2lxjll7so2] .site-header {
    flex-shrink: 0;
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 0;
}

[b-2lxjll7so2] .header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

[b-2lxjll7so2] .site-title {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 600;
}

[b-2lxjll7so2] .site-title a {
    color: #333;
    text-decoration: none;
}

[b-2lxjll7so2] .main-nav {
    display: flex;
    gap: 1.5rem;
}

[b-2lxjll7so2] .nav-link {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

[b-2lxjll7so2] .nav-link:hover {
    color: #0066cc;
}

[b-2lxjll7so2] .content-wrapper.sidebar-hidden {
    grid-template-columns: 0 1fr;
    gap: 0;
}

[b-2lxjll7so2] .sidebar-show-btn {
    display: none;
    position: absolute;
    left: -60px;
    top: 2rem;
    z-index: 100;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 0.75rem 0.5rem;
    cursor: pointer;
    width: 40px;
    height: 50px;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

[b-2lxjll7so2] .sidebar-show-btn:hover {
    background-color: #f5f5f5;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
}

[b-2lxjll7so2] .sidebar-show-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #333;
    border-radius: 2px;
}

@media (min-width: 1260px) {
    [b-2lxjll7so2] .content-wrapper.sidebar-hidden > .sidebar-show-btn {
        display: flex !important;
    }
}

@media (max-width: 1259px) {
    [b-2lxjll7so2] .sidebar-show-btn {
        left: 1rem;
    }
    
    [b-2lxjll7so2] .content-wrapper.sidebar-hidden > .sidebar-show-btn {
        display: flex !important;
    }
}

[b-2lxjll7so2] .sidebar {
    width: 250px;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    height: fit-content;
    transition: width 0.3s ease, padding 0.3s ease, margin 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
    opacity: 1;
    grid-column: 1;
    grid-row: 1;
}

[b-2lxjll7so2] .sidebar.collapsed {
    width: 0;
    min-width: 0;
    padding: 0;
    margin: 0;
    opacity: 0;
}

[b-2lxjll7so2] .sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

[b-2lxjll7so2] .sidebar-toggle-btn {
    display: none;
    background: none;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 0.5rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

[b-2lxjll7so2] .sidebar-toggle-btn:hover {
    background-color: #e8e8e8;
}

[b-2lxjll7so2] .sidebar-toggle-btn span {
    display: block;
    width: 16px;
    height: 2px;
    background-color: #333;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
}

[b-2lxjll7so2] .sidebar-toggle-btn span::before,
[b-2lxjll7so2] .sidebar-toggle-btn span::after {
    content: '';
    display: block;
    width: 16px;
    height: 2px;
    background-color: #333;
    position: absolute;
    left: 0;
    transition: transform 0.3s ease;
}

[b-2lxjll7so2] .sidebar-toggle-btn span::before {
    transform: translateY(-5px) rotate(0deg);
}

[b-2lxjll7so2] .sidebar-toggle-btn span::after {
    transform: translateY(5px) rotate(0deg);
}

[b-2lxjll7so2] .content-wrapper.sidebar-hidden .main-content {
    grid-column: 1 / -1;
}

[b-2lxjll7so2] .sidebar h3 {
    margin-top: 0;
    font-size: 1.25rem;
    color: #333;
}

[b-2lxjll7so2] .category-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

[b-2lxjll7so2] .category-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

[b-2lxjll7so2] .category-title {
    font-size: 1rem;
    font-weight: 600;
    color: #555;
    margin: 0;
}

[b-2lxjll7so2] .post-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

[b-2lxjll7so2] .post-list li {
    padding-left: 1rem;
}

[b-2lxjll7so2] .post-link {
    color: #0066cc;
    text-decoration: none;
    font-size: 0.9rem;
}

[b-2lxjll7so2] .post-link:hover {
    text-decoration: underline;
}

[b-2lxjll7so2] .main-content {
    min-width: 0;
    grid-column: 2;
    grid-row: 1;
}

[b-2lxjll7so2] .site-footer p {
    margin: 0;
}

@media (max-width: 991px) {
    [b-2lxjll7so2] .hamburger-menu {
        display: flex;
    }

    [b-2lxjll7so2] .header-content {
        padding-right: 70px;
    }

    [b-2lxjll7so2] .content-wrapper {
        grid-template-columns: 1fr;
    }

    [b-2lxjll7so2] .main-content {
        grid-column: 1;
    }

    [b-2lxjll7so2] .sidebar {
        position: fixed;
        top: 0;
        left: -280px;
        height: 100vh;
        width: 250px;
        z-index: 1000;
        background-color: #f9f9f9;
        transition: left 0.3s ease;
        overflow-y: auto;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        margin: 0;
        border-radius: 0;
    }

    [b-2lxjll7so2] .sidebar.open {
        left: 0;
    }

    [b-2lxjll7so2] .sidebar-toggle-btn {
        display: none !important;
    }

    [b-2lxjll7so2] .sidebar-show-btn {
        display: none !important;
    }
}

@media (min-width: 992px) {
    [b-2lxjll7so2] .sidebar-toggle-btn {
        display: block;
    }

    [b-2lxjll7so2] .content-wrapper.sidebar-hidden {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    [b-2lxjll7so2] .header-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

#blazor-error-ui[b-2lxjll7so2] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-2lxjll7so2] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

