@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(215, 65%, 38%);
    --primary-light: hsl(215, 60%, 94%);
    --accent: hsl(36, 95%, 48%);
    --gradient: linear-gradient(135deg, hsl(215, 65%, 38%) 0%, hsl(36, 95%, 48%) 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.94);
    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: 1140px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.5px;
}

.logo svg {
    width: 28px;
    height: 28px;
    fill: var(--accent);
}

nav.main-nav ul {
    display: flex;
    list-style: none;
    gap: 28px;
}

nav.main-nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

nav.main-nav a:hover, nav.main-nav a.active {
    color: var(--primary);
    font-weight: 600;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.hero {
    background: var(--gradient);
    color: #ffffff;
    border-radius: 20px;
    padding: 60px 48px;
    margin-bottom: 50px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 18px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 750px;
    line-height: 1.6;
}

.content-grid {
    display: grid;
    grid-template-columns: 2.3fr 1fr;
    gap: 40px;
}

article.main-article {
    background: var(--bg-surface);
    border-radius: 16px;
    padding: 48px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
}

article.main-article h1 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

article.main-article h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    margin: 36px 0 16px;
}

article.main-article p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

article.main-article p.lead {
    font-size: 1.18rem;
    line-height: 1.7;
    color: var(--text-primary);
    font-weight: 450;
    border-left: 4px solid var(--accent);
    padding-left: 18px;
    margin-bottom: 28px;
}

article.main-article ul, article.main-article ol {
    margin: 20px 0 28px 24px;
    color: var(--text-secondary);
}

article.main-article li {
    margin-bottom: 10px;
}

article.main-article a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    transition: all 0.2s ease;
}

article.main-article a:hover {
    color: var(--accent);
    text-decoration-thickness: 2px;
}

blockquote {
    background: var(--primary-light);
    border-left: 4px solid var(--primary);
    padding: 24px 28px;
    margin: 32px 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--text-primary);
    font-weight: 500;
}

.author-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.author-badge img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
}

.author-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
}

.author-info p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

aside.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: var(--bg-surface);
    border-radius: 14px;
    padding: 28px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.sidebar-widget h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 18px;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 10px;
}

.sidebar-widget ul {
    list-style: none;
}

.sidebar-widget li {
    margin-bottom: 14px;
}

.sidebar-widget a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    display: block;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.sidebar-widget a:hover {
    color: var(--primary);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    margin-top: 30px;
}

.article-card {
    background: var(--bg-surface);
    border-radius: 14px;
    padding: 30px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.article-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
    line-height: 1.4;
}

.article-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.article-card a.read-more {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.article-card a.read-more:hover {
    color: var(--accent);
}

footer.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 60px 24px 40px;
    margin-top: 80px;
    border-top: 1px solid #1e293b;
    font-size: 0.95rem;
}

.footer-container {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #1e293b;
}

.footer-col h4 {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.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: 1140px;
    margin: 30px auto 0;
    text-align: center;
    font-size: 0.88rem;
    color: #64748b;
}

@media (max-width: 860px) {
    .content-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; gap: 30px; }
    .hero h1 { font-size: 2.1rem; }
    article.main-article { padding: 28px; }
    .nav-container { flex-direction: column; gap: 16px; }
}
