/**
 * GEO (Generative Engine Optimization) Styles
 * For TL;DR blocks, Key Facts, and Author Bio sections
 * Optimized for LLM extraction and citation
 */

/* ============================================
   TL;DR / Quick Answer Block
   ============================================ */
.blog-tldr {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    border-left: 5px solid #34A853;
    border-radius: 12px;
    padding: 1.75rem 2rem;
    margin: 2rem 0 2.5rem 0;
    box-shadow: 0 2px 12px rgba(52, 168, 83, 0.08);
}

.blog-tldr-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.blog-tldr-header i {
    color: #34A853;
    font-size: 1.75rem;
}

.blog-tldr-header h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e7e34;
    margin: 0;
    letter-spacing: 0.3px;
}

.blog-tldr p {
    font-size: 1.1rem;
    line-height: 1.75;
    color: #2e7d32;
    margin: 0;
    font-weight: 500;
}

/* ============================================
   Key Facts / At a Glance Box
   ============================================ */
.blog-key-facts {
    background: #fff9e6;
    border-left: 5px solid #FBBC04;
    border-radius: 12px;
    padding: 1.75rem 2rem;
    margin: 2rem 0 2.5rem 0;
    box-shadow: 0 2px 12px rgba(251, 188, 4, 0.08);
}

.blog-key-facts-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.blog-key-facts-header i {
    color: #F9AB00;
    font-size: 1.75rem;
}

.blog-key-facts-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #7c5100;
    margin: 0;
    letter-spacing: 0.3px;
}

.blog-key-facts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-key-facts-list li {
    padding-left: 2rem;
    margin-bottom: 0.85rem;
    font-size: 1.05rem;
    line-height: 1.65;
    color: #5d4100;
    position: relative;
    font-weight: 500;
}

.blog-key-facts-list li:last-child {
    margin-bottom: 0;
}

.blog-key-facts-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #F9AB00;
    font-weight: 700;
    font-size: 1.2rem;
}

/* ============================================
   Author Bio Section
   ============================================ */
.blog-author-bio {
    background: #f0f7ff;
    border-left: 5px solid #4285F4;
    border-radius: 12px;
    padding: 1.75rem 2rem;
    margin: 3rem 0 2rem 0;
    box-shadow: 0 2px 12px rgba(66, 133, 244, 0.08);
}

.blog-author-bio-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.blog-author-bio-header i {
    color: #4285F4;
    font-size: 1.75rem;
}

.blog-author-bio-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a73e8;
    margin: 0;
    letter-spacing: 0.3px;
}

.blog-author-bio-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #174ea6;
    margin-bottom: 0.75rem;
}

.blog-author-bio-content p:last-child {
    margin-bottom: 0;
}

.blog-author-bio-content strong {
    font-weight: 700;
    color: #1a73e8;
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 768px) {
    .blog-tldr,
    .blog-key-facts,
    .blog-author-bio {
        padding: 1.25rem 1.5rem;
        margin: 1.5rem 0;
    }
    
    .blog-tldr-header h2,
    .blog-key-facts-header h3,
    .blog-author-bio-header h3 {
        font-size: 1.15rem;
    }
    
    .blog-tldr p,
    .blog-key-facts-list li,
    .blog-author-bio-content p {
        font-size: 1rem;
    }
    
    .blog-tldr-header i,
    .blog-key-facts-header i,
    .blog-author-bio-header i {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .blog-tldr,
    .blog-key-facts,
    .blog-author-bio {
        padding: 1rem 1.25rem;
        border-radius: 8px;
    }
    
    .blog-key-facts-list li {
        padding-left: 1.75rem;
        font-size: 0.95rem;
    }
}

/* ============================================
   Print Styles (for LLM crawlers)
   ============================================ */
@media print {
    .blog-tldr,
    .blog-key-facts,
    .blog-author-bio {
        page-break-inside: avoid;
        border: 2px solid #ddd;
        background: #fff !important;
    }
    
    .blog-tldr-header i,
    .blog-key-facts-header i,
    .blog-author-bio-header i {
        display: none;
    }
}
