* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: #1f2933;
    background: #f5f7fa;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero */

.hero-header {
    position: relative;
    height: 65vh;
    min-height: 520px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding-bottom: 4rem;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.85), rgba(15,23,42,0.2));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    color: #f9fafb;
}

.hero-label {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: rgba(15,23,42,0.7);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2.6rem, 4vw, 3.6rem);
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.hero-meta {
    font-size: 0.95rem;
    opacity: 0.85;
}

/* Layout */

.main {
    display: grid;
    grid-template-columns: 3fr 1.4fr;
    gap: 3rem;
    margin: 3.5rem auto 4rem;
}

.content {
    min-width: 0;
}

.article {
    background: #ffffff;
    padding: 3rem;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(15,23,42,0.08);
}

.article h2, .article h3, .article h4 {
    color: #111827;
    margin-top: 2.4rem;
    margin-bottom: 0.9rem;
}

.article p {
    margin-bottom: 1.4rem;
    font-size: 1.05rem;
}

.article ul, .article ol {
    margin-left: 1.4rem;
    margin-bottom: 1.4rem;
}

.article blockquote {
    border-left: 4px solid #2563eb;
    padding-left: 1rem;
    margin: 1.8rem 0;
    color: #4b5563;
    font-style: italic;
}

/* Sidebar */

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.widget {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(15,23,42,0.06);
}

.widget h3 {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    color: #111827;
}

.popular-posts ul {
    list-style: none;
}

.popular-posts li {
    margin-bottom: 0.8rem;
}

.popular-posts a {
    color: #374151;
    text-decoration: none;
    font-size: 0.98rem;
    transition: color 0.2s ease;
}

.popular-posts a:hover {
    color: #2563eb;
}

/* CTA */

.cta-section {
    background: #111827;
    color: #f9fafb;
    padding: 3.5rem 0;
    text-align: center;
}

.cta-section h3 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 0.9rem 2.4rem;
    margin: 0 0.6rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.98rem;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-primary {
    background: #f9fafb;
    color: #111827;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(15,23,42,0.35);
}

.btn-secondary {
    background: transparent;
    color: #e5e7eb;
    border: 1px solid rgba(229,231,235,0.5);
}

.btn-secondary:hover {
    background: rgba(249,250,251,0.06);
}

/* Navigation */

.navigation {
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    padding: 1.4rem 0;
}

.nav-list {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 1.6rem;
    flex-wrap: wrap;
}

.nav-list li a {
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    transition: all 0.2s ease;
}

.nav-list li a:hover {
    background: #111827;
    color: #f9fafb;
}

/* Footer */

.footer {
    background: #020617;
    color: #e5e7eb;
    padding: 3.5rem 0 2rem;
}

.footer-content {
    text-align: center;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.6rem;
    border-top: 1px solid #111827;
    opacity: 0.7;
}

/* Responsive */

@media (max-width: 900px) {
    .main {
        grid-template-columns: 1fr;
        gap: 2.4rem;
    }

    .article {
        padding: 2.2rem 1.6rem;
    }

    .hero-header {
        height: 55vh;
        min-height: 420px;
    }
}

@media (max-width: 640px) {
    .btn {
        display: block;
        margin: 0.6rem auto;
        max-width: 260px;
    }

    .hero-title {
        font-size: 2.1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}

