/* Blogs CSS - Common styles for all blog pages */
/* Eleken-inspired minimalistic blog styling */

:root {
    --bg-cream: #f8f6f1;
    --bg-cream-light: #fdfcfa;
    --text-primary: #2d2d2d;
    --text-secondary: #5a5a5a;
    --text-muted: #8a8a8a;
    --accent-warm: #c9a962;
    --accent-warm-light: #f5ead6;
    --border-subtle: #e8e4dc;
    --shadow-soft: 0 2px 8px rgba(0,0,0,0.04);
}

body.blog-eleken {
    background: var(--bg-cream) !important;
    color: var(--text-primary);
    font-family: 'Georgia', 'Times New Roman', serif;
}

/* Navigation adjustments */
.blog-eleken nav {
    background: rgba(248, 246, 241, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-subtle);
}

/* Hero section - minimal and elegant */
.blog-header-eleken {
    background: var(--bg-cream) !important;
    padding-top: 7rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-subtle);
}

.blog-header-eleken .category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    background: var(--accent-warm-light);
    border: 1px solid var(--accent-warm);
    border-radius: 2px;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-primary);
}

.blog-header-eleken h1 {
    font-family: 'Georgia', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-primary);
    margin: 1.5rem 0 1rem;
    letter-spacing: -0.01em;
}

.blog-header-eleken .subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
}

.blog-header-eleken .meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Main content layout - 3 column */
.blog-layout-eleken {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

@media (min-width: 1024px) {
    .blog-layout-eleken {
        grid-template-columns: 200px 1fr 240px;
        gap: 3rem;
    }
}

/* Table of Contents - Left Sidebar */
.toc-sidebar {
    display: none;
}

@media (min-width: 1024px) {
    .toc-sidebar {
        display: block;
        position: sticky;
        top: 6rem;
        height: fit-content;
        font-family: 'Inter', sans-serif;
    }
}

.toc-sidebar h4 {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.toc-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-sidebar li {
    margin-bottom: 0.625rem;
}

.toc-sidebar a {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    text-decoration: none;
    display: block;
    padding: 0.25rem 0;
    border-left: 2px solid transparent;
    padding-left: 0.75rem;
    transition: all 0.2s ease;
}

.toc-sidebar a:hover,
.toc-sidebar a.active {
    color: var(--text-primary);
    border-left-color: var(--accent-warm);
}

/* TL;DR Box */
.tldr-box {
    background: var(--bg-cream-light);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
}

.tldr-box .tldr-label {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--accent-warm);
    color: white;
    padding: 0.25rem 0.625rem;
    border-radius: 2px;
    margin-bottom: 1rem;
}

.tldr-box p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

/* Article content */
.article-content-eleken {
    min-width: 0;
}

.article-content-eleken h2 {
    font-family: 'Georgia', serif;
    font-size: 1.625rem;
    font-weight: 400;
    color: var(--text-primary);
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.article-content-eleken h3 {
    font-family: 'Georgia', serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-primary);
    margin: 2rem 0 0.75rem;
}

.article-content-eleken p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.article-content-eleken ul,
.article-content-eleken ol {
    margin: 1.25rem 0;
    padding-left: 1.5rem;
}

.article-content-eleken li {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 0.625rem;
}

.article-content-eleken li strong {
    color: var(--text-primary);
}

.article-content-eleken a {
    color: var(--text-primary);
    text-decoration: underline;
    text-decoration-color: var(--accent-warm);
    text-underline-offset: 3px;
}

.article-content-eleken a:hover {
    text-decoration-color: var(--text-primary);
}

/* Author Sidebar - Right */
.author-sidebar {
    display: none;
}

@media (min-width: 1024px) {
    .author-sidebar {
        display: block;
        position: sticky;
        top: 6rem;
        height: fit-content;
    }
}

.author-sidebar .author-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.author-sidebar .author-card {
    text-align: left;
}

.author-sidebar .author-avatar {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent-warm) 0%, #b8963f 100%);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 0.875rem;
}

.author-sidebar .author-name {
    font-family: 'Georgia', serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 0.375rem;
}

.author-sidebar .author-bio {
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--text-muted);
}

/* Service CTA Box */
.service-cta-box {
    background: var(--bg-cream-light);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.service-cta-box h4 {
    font-family: 'Georgia', serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.service-cta-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-cta-box li {
    margin-bottom: 0.5rem;
}

.service-cta-box a {
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease;
}

.service-cta-box a:hover {
    color: var(--accent-warm);
}

.service-cta-box a::before {
    content: "→";
    color: var(--accent-warm);
}

.service-cta-box .vastu-cta-btn::before { 
    content: none; 
}

/* Vastu CTA Button */
.vastu-cta-btn {
    display: inline-block;
    background: #2e7d32;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
}

/* Service CTA Box variants */
.service-cta-box.vastu-theme {
    background: linear-gradient(135deg, #f0fff5 0%, var(--bg-cream-light) 100%);
    border-color: #8fbc8f;
}

.service-cta-box.vastu-theme h4 {
    color: #2e7d32;
}

.service-cta-box.astrology-theme {
    background: linear-gradient(135deg, #fff8e7 0%, var(--bg-cream-light) 100%);
    border-color: var(--accent-warm);
}

.service-cta-box.astrology-theme h4 {
    color: var(--accent-warm);
}

.service-cta-box.astrology-theme .vastu-cta-btn {
    background: var(--accent-warm);
}

.service-cta-box.numerology-theme {
    background: linear-gradient(135deg, #f0f5ff 0%, var(--bg-cream-light) 100%);
    border-color: #a0b4e8;
}

.service-cta-box.numerology-theme h4 {
    color: #2c5aa0;
}

.service-cta-box.numerology-theme .vastu-cta-btn {
    background: #2c5aa0;
}

/* Featured image */
.featured-image-eleken {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 2rem;
}

/* Kundli diagram figure */
.kundli-figure {
    margin: 1.75rem 0 2.25rem;
    background: var(--bg-cream-light);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 1.25rem;
    box-shadow: var(--shadow-soft);
}

.kundli-figure img {
    width: 100%;
    height: auto;
    display: block;
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 0.75rem;
}

.kundli-figure figcaption {
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
    line-height: 1.5;
}

/* Mobile Service CTA */
.mobile-service-cta {
    display: none;
    background: var(--bg-cream-light);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 1.25rem;
    margin-top: 2rem;
}

@media (max-width: 1023px) {
    .mobile-service-cta {
        display: block;
    }
}

.mobile-service-cta h4 {
    font-family: 'Georgia', serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-primary);
    margin: 0 0 1rem;
    text-align: center;
}

.mobile-service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.mobile-service-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mobile-service-link:hover {
    border-color: var(--accent-warm);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.mobile-service-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-service-icon.astrology { 
    background: linear-gradient(135deg, #fff8e7 0%, #f5ead6 100%); 
    color: #c9a962; 
}

.mobile-service-icon.vastu { 
    background: linear-gradient(135deg, #f0fff5 0%, #d4edda 100%); 
    color: #2e7d32; 
}

.mobile-service-icon.numerology { 
    background: linear-gradient(135deg, #f0f5ff 0%, #d6e4ff 100%); 
    color: #2c5aa0; 
}

.mobile-service-icon.contact { 
    background: linear-gradient(135deg, #fff5f5 0%, #ffe0e0 100%); 
    color: #c0392b; 
}

.mobile-service-link span {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-primary);
    text-align: center;
}

/* Mobile author card */
.author-card-mobile {
    background: var(--bg-cream-light);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    padding: 1.5rem;
    margin-top: 2.5rem;
}

@media (min-width: 1024px) {
    .author-card-mobile {
        display: none;
    }
}

.author-card-mobile .author-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.author-card-mobile .author-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-warm) 0%, #b8963f 100%);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    flex-shrink: 0;
}

.author-card-mobile .author-info h4 {
    font-family: 'Georgia', serif;
    font-size: 1rem;
    color: var(--text-primary);
    margin: 0 0 0.25rem;
}

.author-card-mobile .author-info p {
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0;
}

.author-card-mobile .author-bio {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Related articles section */
.related-section-eleken {
    background: var(--bg-cream);
    padding: 4rem 1.5rem;
    border-top: 1px solid var(--border-subtle);
}

.related-section-eleken h3 {
    font-family: 'Georgia', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 2rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.related-card {
    background: var(--bg-cream-light);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    padding: 1.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.related-card:hover {
    border-color: var(--accent-warm);
    box-shadow: var(--shadow-soft);
}

.related-card h4 {
    font-family: 'Georgia', serif;
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.related-card p {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.related-card .read-more {
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--accent-warm);
}

/* Footer CTA */
.footer-cta-eleken {
    background: var(--text-primary);
    color: white;
    padding: 4rem 1.5rem;
    text-align: center;
}

.footer-cta-eleken h3 {
    font-family: 'Georgia', serif;
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
}

.footer-cta-eleken p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    opacity: 0.8;
    max-width: 500px;
    margin: 0 auto 1.5rem;
}

.footer-cta-eleken .cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.footer-cta-eleken .btn-primary {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.875rem 1.75rem;
    background: var(--accent-warm);
    color: white;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-cta-eleken .btn-primary:hover {
    background: #b8963f;
}

.footer-cta-eleken .btn-secondary {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.875rem 1.75rem;
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-cta-eleken .btn-secondary:hover {
    border-color: rgba(255,255,255,0.6);
}

/* Navigation bar at bottom */
.nav-bottom-eleken {
    background: var(--bg-cream-light);
    border-top: 1px solid var(--border-subtle);
    padding: 1.5rem;
}

.nav-bottom-eleken .nav-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.nav-bottom-eleken a {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease;
}

.nav-bottom-eleken a:hover {
    color: var(--accent-warm);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

