@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bg-main: #f8fafc;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border-light: #e2e8f0;
    --primary: hsl(158, 45%, 38%);
    --primary-light: hsl(158, 60%, 94%);
    --accent: hsl(38, 70%, 50%);
    --gradient: linear-gradient(135deg, hsl(158, 45%, 38%) 0%, hsl(38, 70%, 50%) 100%);
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
    --shadow-lg: 0 20px 35px -10px rgba(0,0,0,0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.8;
    font-size: 1.05rem;
    -webkit-font-smoothing: antialiased;
}

header.site-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--accent);
}

nav.main-nav {
    display: flex;
    gap: 28px;
}

nav.main-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.98rem;
    transition: all 0.25s ease;
    padding: 6px 0;
    position: relative;
}

nav.main-nav a:hover, nav.main-nav a.active {
    color: var(--primary);
}

nav.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.25s ease;
}

nav.main-nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg-main) 100%);
    padding: 70px 24px 50px;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}

.hero-content {
    max-width: 820px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255,255,255,0.8);
    border: 1px solid var(--border-light);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero p.lead {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Main Container */
main.container {
    max-width: 1080px;
    margin: 40px auto;
    padding: 0 24px;
}

.content-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 40px;
}

@media (max-width: 880px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
}

/* Article Card & Content */
article.article-body {
    background: var(--bg-surface);
    padding: 40px 45px;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

@media (max-width: 600px) {
    article.article-body {
        padding: 25px 20px;
    }
}

article.article-body h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-primary);
    margin: 35px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-light);
}

article.article-body h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--text-primary);
    margin: 25px 0 12px;
}

article.article-body p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

article.article-body p.lead {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.75;
}

article.article-body ul, article.article-body ol {
    margin: 20px 0 25px 25px;
    color: var(--text-secondary);
}

article.article-body li {
    margin-bottom: 12px;
}

article.article-body a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

article.article-body a:hover {
    color: var(--accent);
}

blockquote {
    margin: 35px 0;
    padding: 24px 30px;
    background: var(--primary-light);
    border-left: 4px solid var(--primary);
    border-radius: 0 16px 16px 0;
    font-style: italic;
    color: var(--text-primary);
    font-size: 1.05rem;
}

/* Author Box */
.author-box {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--bg-main);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    margin: 40px 0 20px;
}

.author-box img {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.author-info h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.author-info p.role {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
}

.author-info p.bio {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Sidebar */
aside.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.widget {
    background: var(--bg-surface);
    padding: 28px;
    border-radius: 18px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.widget h3.widget-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-light);
}

.spoke-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.spoke-list li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--border-light);
}

.spoke-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.spoke-list a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    display: block;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.spoke-list a:hover {
    color: var(--primary);
}

/* Homepage Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.feature-card {
    background: var(--bg-surface);
    padding: 30px;
    border-radius: 18px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Footer */
footer.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 60px 24px 30px;
    margin-top: 80px;
    font-size: 0.95rem;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #1e293b;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}

.footer-col h4 {
    font-family: var(--font-heading);
    color: #f8fafc;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.footer-col p {
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-bottom {
    max-width: 1100px;
    margin: 30px auto 0;
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
}
