/*
 * My Little Wellness - Static Site
 * Ultra Fast, Minimal CSS
 */

:root {
    --primary: #2D7D6F;
    --primary-dark: #1D5D4F;
    --accent: #E8B86D;
    --text: #1a1a2e;
    --text-light: #4a4a5a;
    --text-muted: #6b7280;
    --bg: #FAFBFC;
    --bg-card: #FFFFFF;
    --border: #E5E7EB;
    --shadow: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --radius: 8px;
    --font: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    font-size: 14px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* HEADER */
.site-header {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.logo img {
    height: 28px;
    width: auto;
    max-height: 28px;
}

.main-nav { display: flex; gap: 20px; }
.main-nav a { color: var(--text-light); font-size: 0.875rem; }
.main-nav a:hover { color: var(--primary); }

/* PROGRESS BAR */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 9999;
}

/* BREADCRUMBS */
.breadcrumbs {
    padding: 16px 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    max-width: 780px;
    margin: 0 auto;
}

.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs span { margin: 0 6px; }
.breadcrumbs .current { color: var(--text); }

/* MAIN */
.site-main { max-width: 780px; margin: 0 auto; padding: 20px; }
.site-main.archive, .site-main.home { max-width: 1100px; }

/* ARTICLE */
article {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}

.featured-image {
    margin: -28px -28px 20px;
    border-radius: var(--radius) var(--radius) 0 0;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    object-position: top;
}

.entry-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.entry-header h1 {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
}

.entry-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.entry-meta a { color: var(--primary); }

.reading-time {
    background: var(--primary);
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* CONTENT */
.page-content {
    font-size: 0.9rem;
    line-height: 1.7;
}

.page-content h2 {
    font-size: 1.15rem;
    margin: 32px 0 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.page-content h3 {
    font-size: 1rem;
    margin: 24px 0 10px;
    color: var(--primary-dark);
}

.page-content p { margin-bottom: 1em; }

.page-content ul, .page-content ol {
    margin: 16px 0;
    padding-left: 20px;
}

.page-content li { margin-bottom: 6px; }

.page-content img {
    border-radius: var(--radius);
    margin: 20px 0;
}

.page-content blockquote {
    margin: 20px 0;
    padding: 16px 20px;
    background: #f0fdf4;
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
}

.page-content a { text-decoration: underline; }

/* AUTHOR BOX */
.author-box {
    margin-top: 28px;
    padding: 20px;
    background: #f8fafc;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.author-info h4 { font-size: 0.95rem; margin-bottom: 4px; }
.author-title { color: var(--primary); font-size: 0.75rem; font-weight: 600; margin-bottom: 8px; }
.author-info p { font-size: 0.8rem; color: var(--text-muted); margin: 0; }

/* HERO - Eye-catching design */
/* HERO - Modern Design */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #1a5a4f 50%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero.hero-modern {
    background: linear-gradient(135deg, #1D5D4F 0%, #2D7D6F 40%, #1a5a4f 100%);
    padding: 100px 20px 80px;
    min-height: 480px;
    display: flex;
    align-items: center;
}

/* Animated Background Shapes */
.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.hero-bg-shapes .shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #fff 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.hero-bg-shapes .shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--accent) 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
    animation: float 25s ease-in-out infinite reverse;
}

.hero-bg-shapes .shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #fff 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-shape 15s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

@keyframes pulse-shape {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.1; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.05; }
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

/* Hero Badge */
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    animation: fadeInUp 0.6s ease-out;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 16px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    line-height: 1.2;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero p {
    font-size: 1.15rem;
    opacity: 0.95;
    max-width: 550px;
    margin: 0 auto 32px;
    line-height: 1.7;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* CTA Group */
.hero-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-cta {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.hero-cta-primary {
    background: var(--accent);
    color: var(--text);
    box-shadow: 0 4px 20px rgba(232, 184, 109, 0.4);
}

.hero-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(232, 184, 109, 0.5);
    color: var(--text);
}

.hero-cta-secondary {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
}

.hero-cta-secondary:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-3px);
    color: white;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CATEGORIES BAR - Enhanced */
.categories-bar {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    overflow-x: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.categories-bar .container {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.cat-link {
    padding: 10px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 25px;
    font-size: 0.8rem;
    color: var(--text-light);
    white-space: nowrap;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.cat-link:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 125, 111, 0.3);
}

.cat-link span {
    opacity: 0.7;
    font-weight: 400;
}

/* POSTS GRID - Enhanced */
.latest-posts {
    padding: 50px 0;
    background: linear-gradient(180deg, var(--bg) 0%, #f0f4f8 100%);
}

.latest-posts h2 {
    font-size: 1.5rem;
    margin-bottom: 32px;
    text-align: center;
    color: var(--text);
    position: relative;
    display: inline-block;
    width: 100%;
}

.latest-posts h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

/* Featured first post - larger */
.posts-grid .post-card:first-child {
    grid-column: span 2;
}

.posts-grid .post-card:first-child .post-thumb {
    aspect-ratio: 21/9;
}

.posts-grid .post-card:first-child h3 {
    font-size: 1.2rem;
}

.post-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.04);
}

.post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.post-card a { display: block; color: inherit; }

.post-thumb {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    overflow: hidden;
    position: relative;
}

.post-thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.1) 100%);
}

.post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.4s ease;
}

.post-card:hover .post-thumb img {
    transform: scale(1.05);
}

.post-content {
    padding: 20px;
}

.post-category {
    display: inline-block;
    font-size: 0.7rem;
    color: white;
    background: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    padding: 4px 10px;
    border-radius: 4px;
}

.post-card h3 {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 10px;
    color: var(--text);
    transition: color 0.2s;
}

.post-card:hover h3 {
    color: var(--primary);
}

.post-excerpt {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-date::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
}

/* Ad Space Placeholder */
.ad-space {
    background: #f8fafc;
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 30px 0;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* In-Feed Ad Unit */
.ad-in-feed {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    margin: 10px 0;
}

/* In-Article Ad Unit */
.ad-in-article {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    margin: 30px 0;
    clear: both;
}

/* ARCHIVE */
.archive-header {
    text-align: center;
    padding: 32px 0;
}

.archive-header h1 { font-size: 1.3rem; margin-bottom: 4px; }
.archive-header p { color: var(--text-muted); font-size: 0.85rem; }

/* FOOTER */
.site-footer {
    background: var(--text);
    color: rgba(255,255,255,0.7);
    padding: 48px 20px 24px;
    margin-top: 40px;
    font-size: 0.85rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo img {
    height: 64px;
    width: auto;
    max-height: 64px;
    border-radius: 8px;
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
    margin: 0;
}

.footer-column h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: color 0.2s;
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-contact p {
    margin: 0 0 8px;
    font-size: 0.85rem;
}

.footer-contact a {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    font-size: 0.8rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom .managed-by {
    margin-top: 8px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
}

.footer-bottom .managed-by a {
    color: rgba(255,255,255,0.8);
}

.footer-bottom .managed-by a:hover {
    color: #fff;
}

/* Legacy footer-nav support */
.footer-nav {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: rgba(255,255,255,0.7);
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: #fff;
}

/* IN-FEED AD STYLING */
.ad-in-feed {
    grid-column: 1 / -1;
    background: #f8f9fa;
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
    margin: 8px 0;
}

.ad-in-article {
    background: #f8f9fa;
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
    margin: 24px 0;
}

/* BACK TO TOP */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    font-size: 16px;
    z-index: 99;
}

.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); }

/* NEWSLETTER SECTION */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 50px 20px;
    text-align: center;
    color: white;
}

.newsletter-section h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.newsletter-section p {
    opacity: 0.9;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 450px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 200px;
    padding: 14px 20px;
    border: none;
    border-radius: 30px;
    font-size: 0.9rem;
    outline: none;
}

.newsletter-form button {
    padding: 14px 28px;
    background: var(--accent);
    color: var(--text);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(232, 184, 109, 0.4);
}

/* FEATURED CATEGORIES */
.featured-categories {
    padding: 50px 0;
    background: var(--bg-card);
}

.featured-categories h2 {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 32px;
}

.category-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.category-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(45, 125, 111, 0.3);
    color: white;
}

.category-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.category-card p {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* FAQ SECTION */
.faq-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--border);
}

.faq-section h2 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-section h2::before {
    content: '?';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 700;
}

.faq-item {
    margin-bottom: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(45, 125, 111, 0.1);
}

.faq-question {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 16px 20px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(135deg, #e8f5f3 0%, #d4ede9 100%);
}

.faq-question::after {
    content: '+';
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 700;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.faq-item.active .faq-answer {
    padding: 16px 20px;
    max-height: 500px;
}

.faq-answer p {
    margin: 0 0 10px;
    color: var(--text-light);
    line-height: 1.7;
}

.faq-answer a {
    color: var(--primary);
    font-weight: 500;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* RELATED POSTS */
.related-posts {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--border);
}

.related-posts h3 {
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 20px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.related-post-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #f8fafc;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.related-post-item:hover {
    background: #e8f5f3;
    transform: translateX(4px);
}

.related-post-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    object-position: top;
    border-radius: 6px;
    flex-shrink: 0;
}

.related-post-item span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* CALCULATORS SECTION */
.calculators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    padding: 40px 0;
}

.calculator-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    text-align: center;
}

.calculator-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(45, 125, 111, 0.15);
    border-color: var(--primary);
}

.calculator-card .calc-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.8rem;
}

.calculator-card h3 {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 10px;
}

.calculator-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.calculator-card .calc-btn {
    display: inline-block;
    padding: 10px 24px;
    background: var(--primary);
    color: white;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.calculator-card .calc-btn:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
}

/* Calculator Page Styles */
.calculator-container {
    max-width: 600px;
    margin: 0 auto;
}

.calculator-box {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    margin-bottom: 30px;
}

.calculator-box h2 {
    font-size: 1.3rem;
    color: var(--text);
    margin-bottom: 24px;
    text-align: center;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border);
}

.calc-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group select {
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font);
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 125, 111, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.unit-toggle {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.unit-toggle button {
    flex: 1;
    padding: 10px 16px;
    border: 2px solid var(--border);
    background: white;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.unit-toggle button.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.unit-toggle button:hover:not(.active) {
    border-color: var(--primary);
    color: var(--primary);
}

.calc-submit {
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.calc-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 125, 111, 0.3);
}

.calc-result {
    margin-top: 24px;
    padding: 24px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 12px;
    border: 1px solid #86efac;
    text-align: center;
    display: none;
}

.calc-result.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.calc-result .result-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.calc-result .result-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.calc-result .result-category {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.calc-result .result-category.underweight {
    background: #fef3c7;
    color: #92400e;
}

.calc-result .result-category.normal {
    background: #d1fae5;
    color: #065f46;
}

.calc-result .result-category.overweight {
    background: #fed7aa;
    color: #9a3412;
}

.calc-result .result-category.obese {
    background: #fecaca;
    color: #991b1b;
}

.calc-result .result-description {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
}

.result-breakdown {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #86efac;
    text-align: left;
}

.result-breakdown h4 {
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 12px;
}

.result-breakdown ul {
    list-style: none;
    padding: 0;
}

.result-breakdown li {
    padding: 8px 0;
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #bbf7d0;
}

.result-breakdown li:last-child {
    border-bottom: none;
}

.result-breakdown li strong {
    color: var(--primary-dark);
}

/* Calculator Description */
.calc-description {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 28px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.calc-description h2 {
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 16px;
}

.calc-description p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 12px;
}

.calc-description ul {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.calc-description li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    font-size: 0.9rem;
    color: var(--text-light);
}

.calc-description li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* BMI Chart */
.bmi-chart {
    margin-top: 24px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px;
}

.bmi-chart h4 {
    font-size: 0.95rem;
    margin-bottom: 16px;
    color: var(--text);
}

.bmi-chart-bar {
    height: 24px;
    border-radius: 12px;
    display: flex;
    overflow: hidden;
    margin-bottom: 12px;
}

.bmi-chart-bar span {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
}

.bmi-chart-bar .underweight { background: #fbbf24; flex: 18.5; }
.bmi-chart-bar .normal { background: #22c55e; flex: 6.5; }
.bmi-chart-bar .overweight { background: #f97316; flex: 5; }
.bmi-chart-bar .obese { background: #ef4444; flex: 10; }

.bmi-chart-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.bmi-indicator {
    position: relative;
    height: 8px;
    margin-top: 8px;
}

.bmi-indicator-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--primary-dark);
    border-radius: 50%;
    top: -4px;
    transform: translateX(-50%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    body { font-size: 13px; }
    article { padding: 20px 16px; }
    .featured-image { margin: -20px -16px 16px; }
    .entry-header h1 { font-size: 1.2rem; }
    .posts-grid { grid-template-columns: 1fr; }
    .posts-grid .post-card:first-child { grid-column: span 1; }
    .posts-grid .post-card:first-child .post-thumb { aspect-ratio: 16/10; }
    .main-nav { display: none; }
    .hero { padding: 50px 16px; }
    .hero.hero-modern { padding: 60px 16px 50px; min-height: auto; }
    .hero h1 { font-size: 1.8rem; }
    .hero p { font-size: 0.95rem; }
    .hero-badge { font-size: 0.7rem; padding: 6px 14px; margin-bottom: 16px; }
    .hero-cta-group { gap: 12px; margin-bottom: 32px; }
    .hero-cta { padding: 12px 24px; font-size: 0.85rem; }
    .hero-stats { gap: 24px; }
    .stat-number { font-size: 1.5rem; }
    .stat-label { font-size: 0.7rem; }
    .hero-bg-shapes .shape-1 { width: 200px; height: 200px; }
    .hero-bg-shapes .shape-2 { width: 150px; height: 150px; }
    .hero-bg-shapes .shape-3 { width: 100px; height: 100px; }
    .latest-posts h2 { font-size: 1.2rem; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form input { min-width: 100%; }

    /* Calculator Responsive */
    .calculators-grid { grid-template-columns: 1fr; }
    .calculator-box { padding: 20px; }
    .form-row { grid-template-columns: 1fr; }
    .calc-result .result-value { font-size: 2rem; }

    /* Footer Responsive */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    .footer-brand {
        align-items: center;
    }
    .footer-logo img {
        height: 56px;
        max-height: 56px;
    }
    .footer-links {
        align-items: center;
    }
}
