/* assets/css/guide-style.css */
:root {
    --guide-sidebar-width: 280px;
    --guide-primary: #4f46e5;
    --guide-bg: #f8fafc;
    --guide-surface: #ffffff;
    --guide-text: #1e293b;
    --guide-text-light: #64748b;
    --guide-border: #e2e8f0;
    --guide-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.guide-layout {
    display: flex;
    min-height: calc(100vh - 80px);
    max-width: 1400px;
    margin: 0 auto;
    gap: 2rem;
    padding: 2rem;
}

/* Sidebar */
.guide-sidebar {
    width: var(--guide-sidebar-width);
    flex-shrink: 0;
    background: var(--guide-surface);
    border-radius: 16px;
    padding: 1.5rem;
    height: sticky;
    top: 100px;
    align-self: flex-start;
    border: 1px solid var(--guide-border);
    box-shadow: var(--guide-shadow);
}

.guide-sidebar h3 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--guide-text-light);
    margin-bottom: 1rem;
    padding-left: 0.5rem;
}

.guide-nav {
    list-style: none;
}

.guide-nav li {
    margin-bottom: 0.5rem;
}

.guide-nav a {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: var(--guide-text);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.guide-nav a:hover {
    background: #f1f5f9;
    color: var(--guide-primary);
}

.guide-nav a.active {
    background: #eff6ff;
    color: var(--guide-primary);
    font-weight: 700;
    border-left: 4px solid var(--guide-primary);
}

/* Main Content Area */
.guide-content {
    flex: 1;
    background: var(--guide-surface);
    border-radius: 16px;
    padding: 3rem;
    border: 1px solid var(--guide-border);
    box-shadow: var(--guide-shadow);
    min-width: 0; /* Prevents overflow */
}

.guide-header-image {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: var(--guide-shadow);
    overflow: hidden;
}

.guide-header-image img {
    width: 100%;
    height: auto;
    display: block;
}

.guide-section {
    margin-bottom: 3rem;
}

.guide-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--guide-text);
}

.guide-section h2 {
    font-size: 1.75rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--guide-bg);
    padding-bottom: 0.5rem;
}

.guide-section p {
    font-size: 1.125rem;
    color: var(--guide-text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Step list */
.step-list {
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
}

.step-item {
    counter-increment: step-counter;
    position: relative;
    padding-left: 4rem;
    margin-bottom: 2rem;
}

.step-item::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--guide-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

.step-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .guide-layout {
        flex-direction: column;
        padding: 1rem;
    }
    .guide-sidebar {
        width: 100%;
        height: auto;
        position: static;
    }
    .guide-content {
        padding: 1.5rem;
    }
}

.banner-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.banner-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--guide-shadow);
}

.banner-item img {
    width: 100%;
    height: auto;
}
