/* =========================================
   SETUP GUIDE & DOCUMENTATION
========================================= */

/* --- GLOBALS --- */
.leadiary-guide-hero, .leadiary-guide-content {
    font-family: 'Inter', sans-serif;
}
.guide-container {
    max-width: 1000px; /* Narrower for comfortable reading */
    margin: 0 auto;
    padding: 0 24px;
}
.text-orange { color: var(--brand-orange); }
.text-gray { color: #6b7280; }

/* --- HERO --- */
.leadiary-guide-hero {
    background-color: #fafafa;
    padding: 80px 0 60px;
    border-bottom: 1px solid #e5e7eb;
}
.guide-badge {
    display: inline-block;
    background-color: #e5e7eb;
    color: #4b5563;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}
.guide-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: #111827;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.guide-subtitle {
    font-size: 18px;
    color: #4b5563;
    line-height: 1.6;
    max-width: 600px;
}

/* --- LAYOUT --- */
.leadiary-guide-content {
    padding: 60px 0 100px;
    background-color: #ffffff;
}
.guide-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

/* --- ARTICLE BODY --- */
.step-block {
    margin-bottom: 40px;
}
.step-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}
.step-num {
    background: #111827;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    flex-shrink: 0;
}
.step-header h2 {
    font-size: 24px;
    font-weight: 800;
    color: #111827;
    margin: 0;
}
.step-block p {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 24px;
}
.guide-list {
    padding-left: 20px;
    margin-bottom: 24px;
}
.guide-list li {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 12px;
}
.guide-divider {
    border: 0;
    height: 1px;
    background: #e5e7eb;
    margin: 40px 0;
}

/* Callouts & Action Boxes */
.info-callout {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.6;
}
.blue-callout {
    background-color: #eff6ff;
    border-left: 4px solid #3b82f6;
    color: #1e3a8a;
}
.blue-callout i { color: #3b82f6; font-size: 20px; margin-top: 2px; }
.action-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    gap: 16px;
}
.action-box span {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    flex-grow: 1;
}
.orange-box {
    background: #FFF9F5;
    border-color: var(--brand-orange);
}

/* Buttons inside guide */
.btn-sm {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.btn-outline {
    background: white;
    border: 1px solid #d1d5db;
    color: #111827;
}
.btn-outline:hover { border-color: #111827; }
.btn-solid {
    background: var(--brand-orange);
    color: white;
    border: 1px solid var(--brand-orange);
}
.btn-solid:hover { background: var(--brand-orange-hover); border-color: var(--brand-orange-hover); }

/* --- SIDEBAR --- */
.guide-sidebar {
    position: sticky;
    top: 100px; /* Offset for sticky header */
    align-self: flex-start;
}
.sidebar-widget {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}
.sidebar-widget h3 {
    font-size: 16px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 12px;
}
.sidebar-widget p {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.5;
    margin-bottom: 16px;
}
.sidebar-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-orange);
    text-decoration: none;
}
.sidebar-link:hover { text-decoration: underline; }
.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-menu li { margin-bottom: 12px; }
.sidebar-menu li:last-child { margin-bottom: 0; }
.sidebar-menu a {
    color: #4b5563;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}
.sidebar-menu a:hover { color: var(--brand-orange); }

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 768px) {
    .guide-layout { grid-template-columns: 1fr; gap: 40px; }
    .action-box { flex-direction: column; text-align: center; }
    .action-box i { display: none; }
    .btn-sm { width: 100%; text-align: center; }
    .guide-sidebar { position: static; }
}