.guides_layout {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 32px;
    padding-top: 80px;
}

.guides_index {
    width: 100%;
    background: linear-gradient(135deg, rgba(30, 32, 36, 0.6) 0%, rgba(24, 26, 28, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.guides_index_header {
    display: none;
}

.guides_index_title {
    font-size: 14px;
    font-weight: 700;
    color: rgba(251, 191, 36, 0.95);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 16px 0;
}

.guides_index_nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.guides_index_section {
    display: contents;
}

.guides_index_item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    height: 42px;
}

.guides_index_item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.guides_index_item::before {
    display: none;
}

.guides_index_item:hover {
    background: rgba(251, 191, 36, 0.15);
    color: rgba(251, 191, 36, 1);
    border-color: rgba(251, 191, 36, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(251, 191, 36, 0.15);
}

.guides_index_item:hover::after {
    opacity: 1;
}

.guides_index_item.active {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.25), rgba(251, 191, 36, 0.15));
    color: rgba(251, 191, 36, 1);
    border: 1px solid rgba(251, 191, 36, 0.5);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.guides_index_item.active::after {
    opacity: 1;
}

.guides_index_parent {
    margin-bottom: 0;
}

.guides_index_submenu {
    display: contents;
}

.guides_index_subitem {
    display: inline-flex;
    align-items: center;
    padding: 11px 18px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.08);
    white-space: nowrap;
    height: 42px;
}

.guides_index_subitem::before {
    display: none;
}

.guides_index_subitem:hover {
    background: rgba(251, 191, 36, 0.12);
    color: rgba(251, 191, 36, 0.95);
    border-color: rgba(251, 191, 36, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.12);
}

.guides_index_subitem.active {
    background: rgba(251, 191, 36, 0.18);
    color: rgba(251, 191, 36, 1);
    border-color: rgba(251, 191, 36, 0.4);
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.15);
}

.guides_index_item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: currentColor;
    transition: transform 0.25s ease;
}

.guides_index_item:hover svg {
    transform: scale(1.1);
}

.guides_index_item.active svg {
    color: rgba(251, 191, 36, 1);
}

.guides_index_item span:first-of-type {
    flex: none;
}

.guides_index_count {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.guides_index_footer {
    display: none;
}

.guides_index_link {
    display: none;
}

.guides_index_item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: currentColor;
    transition: transform 0.25s ease;
}

.guides_index_item:hover svg {
    transform: scale(1.1);
}

.guides_index_item.active svg {
    color: rgba(251, 191, 36, 1);
}

.guides_index_item span:first-of-type {
    flex: none;
}

.guides_index_count {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.guides_main {
    width: 100%;
}

@media (max-width: 768px) {
    .guides_layout {
        padding: 20px 16px;
        padding-top: 90px;
        gap: 20px;
    }
    
    .guides_index {
        padding: 16px;
        border-radius: 12px;
    }
    
    .guides_index_nav {
        gap: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 4px;
    }
    
    .guides_index_nav::-webkit-scrollbar {
        display: none;
    }
    
    .guides_index_item {
        padding: 10px 14px;
        font-size: 12px;
        height: 38px;
        flex-shrink: 0;
    }
    
    .guides_index_item svg {
        width: 16px;
        height: 16px;
    }
    
    .guides_index_subitem {
        padding: 9px 14px;
        font-size: 12px;
        height: 36px;
        flex-shrink: 0;
    }
    
    .guides_header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .guides_header_actions {
        width: 100%;
    }
    
    .guides_create_btn {
        width: 100%;
        justify-content: center;
    }
}
