/* Guide Section Base Styles */
:root {
    --guide-primary: #1a73e8;
    /* Google Blue */
    --guide-secondary: #174ea6;
    --guide-text: #202124;
    --guide-text-light: #5f6368;
    --guide-bg: #ffffff;
    --guide-bg-alt: #ffffff;
    --guide-border: #e0e0e0;
    --guide-alert-bg: #e8f0fe;
    --guide-alert-text: #174ea6;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--guide-text);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--guide-bg-alt);
    -webkit-font-smoothing: antialiased;
}

.guide-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar (Minimal version for Guide) */
.guide-nav {
    background: #fff;
    border-bottom: 1px solid var(--guide-border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.guide-nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.guide-logo {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--guide-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.guide-back-link {
    font-size: 0.9rem;
    color: var(--guide-text-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: color 0.2s;
}

.guide-back-link:hover {
    color: var(--guide-primary);
}

/* Hero Section (Hub) */
.guide-hero {
    background: white;
    color: var(--guide-text);
    padding: 4rem 0 2rem;
    text-align: center;
    border-bottom: 1px solid var(--guide-border);
    margin-bottom: 2rem;
}

.guide-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    line-height: 1.2;
    color: #202124;
}

.guide-hero p {
    font-size: 1.25rem;
    color: var(--guide-text-light);
    max-width: 680px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

/* Summary Block (Key Takeaways) for LLMs */
.guide-summary-block {
    background: white;
    border: 1px solid var(--guide-border);
    border-top: 4px solid var(--guide-primary);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.guide-summary-block h2 {
    margin-top: 0;
    font-size: 1.5rem;
    color: #202124;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.guide-summary-block h2 i {
    color: #fbbc04;
    /* Google Yellow */
}

.guide-summary-block ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.guide-summary-block li {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: flex-start;
    font-size: 1.05rem;
    color: #3c4043;
}

.guide-summary-block li:last-child {
    margin-bottom: 0;
}

.guide-summary-block li i {
    color: #34a853;
    /* Google Green */
    margin-top: 5px;
    margin-right: 16px;
    flex-shrink: 0;
    font-size: 1.1rem;
}

/* Category Sections */
.guide-category {
    margin-bottom: 1.5rem;
    padding: 0;
}

.guide-category h2 {
    font-size: 1.5rem;
    color: #202124;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    padding-left: 12px;
}

.guide-category h2 i {
    color: var(--guide-primary);
    opacity: 0.9;
}

.guide-list {
    display: block;
    /* Changed from grid to block for full width */
    list-style: none;
    padding: 0;
    margin: 0;
}

.guide-link {
    display: block;
    padding: 1.5rem;
    background: white;
    border: 1px solid var(--guide-border);
    border-radius: 12px;
    text-decoration: none;
    color: var(--guide-text);
    transition: all 0.2s ease;
    margin-bottom: 1rem;
    /* Added margin for block layout */
    box-sizing: border-box;
}

.guide-link:hover {
    border-color: var(--guide-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.04);
}

.guide-link h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    /* Slightly larger for list view */
    font-weight: 600;
    line-height: 1.4;
    color: #1a73e8;
}

.guide-link:hover h3 {
    color: #1557b0;
}

.guide-link p {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    color: #5f6368;
    line-height: 1.6;
}

.read-more {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--guide-primary);
    margin-top: auto;
    /* Push to bottom if flex column */
}

.read-more i {
    margin-left: 6px;
    transition: transform 0.2s;
}

.guide-link:hover .read-more i {
    transform: translateX(4px);
}

/* Article Page Styles */
.article-header {
    margin: 4rem auto 3rem;
    text-align: center;
    max-width: 800px;
}

.article-header h1 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #202124;
    letter-spacing: -1px;
}

.article-meta {
    font-size: 1rem;
    color: var(--guide-text-light);
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    align-items: center;
}

.article-content {
    background: transparent;
    /* Removed card bg */
    border-radius: 0;
    box-shadow: none;
    /* Removed shadow */
    border: none;
    /* Removed border */
    margin-bottom: 5rem;
    max-width: 840px;
    /* Widened from 740px */
    /* Slightly narrower for focus */
    margin-left: auto;
    margin-right: auto;
    font-size: 1.15rem;
    line-height: 1.85;
    padding: 0 1rem;
    /* minimal padding */
}

/* The Core "Conclusion First" Block */
.conclusion-block {
    background-color: #f8f9fa;
    /* Slightly lighter gray/blue */
    border: 1px solid #e8eaed;
    border-left: 4px solid var(--guide-primary);
    padding: 2rem;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: #202124;
    border-radius: 8px;
}

.conclusion-label {
    display: inline-block;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    color: var(--guide-primary);
    margin-bottom: 0.75rem;
    background: rgba(26, 115, 232, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
}

.article-content h2 {
    font-size: 1.8rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: #202124;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.article-content h3 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #202124;
    font-weight: 600;
}

.article-content p {
    margin-bottom: 1.5rem;
    color: #3c4043;
}

.article-content ul,
.article-content ol {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.8rem;
    color: #3c4043;
}

.article-content blockquote {
    border-left: 4px solid #dadce0;
    margin: 2rem 0;
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    color: #5f6368;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .guide-hero {
        padding: 3rem 0 2rem;
    }

    .guide-hero h1 {
        font-size: 2rem;
    }

    .guide-hero p {
        font-size: 1.05rem;
    }

    .guide-container {
        padding: 0 20px;
    }

    .guide-summary-block {
        padding: 1.5rem;
    }

    .guide-list {
        width: 100%;
        display: block;
    }

    .guide-list li {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .guide-link {
        width: 100%;
        box-sizing: border-box;
        margin-left: 0;
        margin-right: 0;
    }

    .article-header {
        margin: 2rem 0;
    }

    .article-header h1 {
        font-size: 1.8rem;
    }

    .article-content {
        padding: 1.5rem;
        font-size: 1.05rem;
    }

    .article-content h2 {
        font-size: 1.5rem;
    }

    .conclusion-block {
        padding: 1.25rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .meta-divider {
        display: none;
    }

    .meta-item {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }
}

/* Minimalist Footer Styles */
.footer {
    margin-top: 4rem;
    background: #fff;
    color: #5f6368;
    padding: 0;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-bottom {
    border-top: 1px solid #eee;
    padding: 2rem 0;
    text-align: center;
    font-size: 0.85rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: #5f6368;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #1a73e8;
}