.msb-user-guide {
    width: 100%;
    max-width: var(--max-width, 1366px);
    margin: 0 auto;
    position: relative;
}

.msb-user-guide--loading {
    pointer-events: none;
}

.msb-user-guide__title {
    margin: 0 0 32px 0;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
}

/* Content Layout */
.msb-user-guide__content {
    display: grid;
    grid-template-columns: 33.33333333% 1fr;
    gap: 24px;
}

/* Sidebar Filters */
.msb-user-guide__sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.msb-user-guide__filters {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.msb-user-guide__search {
    position: relative;
}

.msb-user-guide__search-input {
    width: 100% !important;
    padding: 10px 16px 10px 44px !important;
    border: 1px solid #DEE5EF !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    color: #091E42 !important;
    background-color: #FFFFFF !important;
    box-shadow: none !important;
    min-height: 44px;
    margin-bottom: 0px;
}

.msb-user-guide__search-input::placeholder {
    color: #A5ADBA;
}

.msb-user-guide__search-input:focus {
    outline: none;
    border-color: #F4600C;
}

.msb-user-guide__search-btn {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #091E42;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    pointer-events: none;
    margin: 0 !important;
    width: 24px !important;
    height: 24px !important;
    line-height: unset !important;
    min-height: auto !important;
}

.msb-user-guide__search-btn:hover {
    color: #F4600C;
}

.msb-user-guide__category-filter {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.msb-user-guide__filter-label {
    font-size: 26px;
    font-weight: 700;
    color: #091E42;
    margin-bottom: 0;
}

.msb-user-guide__category-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
}

.msb-user-guide__category-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    margin-bottom: 12px;
}

.msb-user-guide__category-item:last-child {
    border-bottom: none;
}

.msb-user-guide__category-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid #DEE5EF;
    border-radius: 4px;
    flex-shrink: 0;
    cursor: pointer;
    position: relative;
    background-color: #FFFFFF;
    transition: all 0.2s ease;
}

.msb-user-guide__category-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 24px;
    height: 24px;
    cursor: pointer;
    margin: 0;
}

.msb-user-guide__category-checkbox input[type="checkbox"]:checked + .msb-user-guide__category-checkmark {
    display: block;
}

.msb-user-guide__category-checkmark {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background-color: #F4600C;
    border-radius: 2px;
}

.msb-user-guide__category-checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    cursor: pointer;
    margin-bottom: 0px;
}

.msb-user-guide__category-label {
    font-size: 16px;
    color: #091E42;
    cursor: pointer;
    user-select: none;
    flex: 1;
    line-height: 1.4;
    font-weight: 500;
}

/* Hierarchical Category Tree */
.msb-user-guide__category-item-wrapper {
    position: relative;
}

.msb-user-guide__category-item-wrapper[data-level="0"] {
    margin-left: 0;
}

.msb-user-guide__category-item-wrapper[data-level="1"] {
    margin-left: 24px;
}

.msb-user-guide__category-item-wrapper[data-level="2"] {
    margin-left: 40px;
}

.msb-user-guide__category-item-wrapper[data-level="3"] {
    margin-left: 60px;
}

.msb-user-guide__category-toggle {
    width: 24px !important;
    height: 24px !important;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s ease;
    color: #091E42;
    margin: 0;
}

.msb-user-guide__category-toggle:hover {
    background-color: #F5F5F5;
    border-radius: 4px;
}

.msb-user-guide__category-toggle.expanded {
    transform: rotate(90deg);
}

.msb-user-guide__category-toggle svg {
    width: 16px;
    height: 16px;
}

.msb-user-guide__category-spacer {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: inline-block;
}

.msb-user-guide__category-children {
    overflow: hidden;
}

.msb-user-guide__category-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #DEE5EF;
    border-radius: 8px;
    font-size: 14px;
    color: #091E42;
    background-color: #FFFFFF;
    cursor: pointer;
}

.msb-user-guide__category-select:focus {
    outline: none;
    border-color: #F4600C;
}

.msb-user-guide__category-input {
    display: none;
}

.msb-user-guide__page-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Main Content */
.msb-user-guide__main {
    min-width: 0;
}

.msb-user-guide__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.msb-user-guide__item {
    display: flex;
    flex-direction: column;
    background-color: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 0px 4px 0px #1D293926;
    backdrop-filter: blur(24px);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.msb-user-guide__item:hover {
    box-shadow: 0px 0px 8px 0px #1D293926;
    border: 1px solid #F4600C;
}

.msb-user-guide__item-image {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
    background-color: #F5F5F5;
}

.msb-user-guide__item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.msb-user-guide__item:hover .msb-user-guide__item-image img {
    transform: scale(1.2);
}

.msb-user-guide__item-content {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.msb-user-guide__item-categories {
    display: none;
}

.msb-user-guide__item-category {
    padding: 4px 12px;
    background-color: #FFF5F0;
    color: #F4600C;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
}

.msb-user-guide__item-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: #091E42;
}

.msb-user-guide__item-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.msb-user-guide__item-title a:hover {
    color: #F4600C;
}

.msb-user-guide__item-date {
    font-size: 14px;
    color: #505F79;
    margin: 0;
    line-height: 1.4;
}

.msb-user-guide__item-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #505F79;
    flex: 1;
    margin: 0;
}

.msb-user-guide__item-link {
    display: none;
}

/* Empty State */
.msb-user-guide__empty {
    padding: 60px 20px;
    text-align: center;
}

.msb-user-guide__empty p {
    font-size: 16px;
    color: #626F86;
    margin: 0;
}

/* Pagination */
.msb-user-guide__pagination {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.msb-user-guide__pagination a,
.msb-user-guide__pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #091E42;
    text-decoration: none;
    transition: all 0.2s ease;
}

.msb-user-guide__pagination a:hover {
    background-color: #FFF5F0;
    border-color: #F4600C;
    color: #F4600C;
}

.msb-user-guide__pagination .current {
    background-color: transparent;
    border-color: #F8A06D;
    color: #F4600C;
}

.msb-user-guide__pagination .dots {
    border: none;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 1200px) {
    .msb-user-guide__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .msb-user-guide__title {
        font-size: 28px !important;
    }

    .msb-user-guide__content {
        grid-template-columns: 1fr;
    }

    .msb-user-guide__sidebar {
        position: relative;
        top: auto;
    }

    .msb-user-guide__filters {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .msb-user-guide__search {
        flex: 1;
        min-width: 250px;
    }

    .msb-user-guide__category-filter {
        flex: 1;
        min-width: 200px;
    }
}

@media (max-width: 767px) {
    .msb-user-guide__title {
        font-size: 24px !important;
        margin-bottom: 24px;
    }

    .msb-user-guide__tabs {
        margin-bottom: 24px;
    }

    .msb-user-guide__tab {
        padding: 10px 16px;
        font-size: 14px;
    }

    .msb-user-guide__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .msb-user-guide__filters {
        flex-direction: column;
    }

    .msb-user-guide__search,
    .msb-user-guide__category-filter {
        width: 100%;
    }

    .msb-user-guide__item-content {
        padding: 16px;
    }
}