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

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f4f7fb;
    color: #1f2937;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

header {
    background: #0f172a;
    color: #fff;
    padding: 22px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.logo span {
    color: #38bdf8;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 28px;
}

nav a {
    color: #e5e7eb;
    font-weight: 500;
    transition: color 0.2s ease;
}

nav a:hover {
    color: #38bdf8;
}

.hero {
    margin: 40px auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.featured {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.featured img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.featured-content {
    padding: 28px;
}

.badge {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.featured h1 {
    font-size: 34px;
    margin-bottom: 14px;
    color: #0f172a;
}

.featured p {
    color: #475569;
    margin-bottom: 18px;
}

.meta {
    font-size: 14px;
    color: #64748b;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-box {
    background: linear-gradient(135deg, #0f172a, #1d4ed8);
    color: #fff;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}

.info-box h2 {
    font-size: 24px;
    margin-bottom: 14px;
}

.info-box p {
    color: rgba(255,255,255,0.92);
}

.newsletter {
    background: #fff;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.newsletter h3 {
    margin-bottom: 12px;
    color: #0f172a;
}

.newsletter p {
    color: #475569;
    margin-bottom: 16px;
}

.newsletter input {
    width: 100%;
    padding: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    margin-bottom: 12px;
    font-size: 15px;
}

.newsletter button,
.read-more {
    display: inline-block;
    background: #0ea5e9;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.newsletter button:hover,
.read-more:hover {
    background: #0284c7;
}

.section-title {
    font-size: 30px;
    margin: 10px 0 24px;
    color: #0f172a;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-content {
    padding: 22px;
}

.card-content h3 {
    font-size: 22px;
    margin: 12px 0;
    color: #0f172a;
}

.card-content p {
    color: #475569;
    margin-bottom: 16px;
}

footer {
    background: #0f172a;
    color: #cbd5e1;
    text-align: center;
    padding: 28px 20px;
    margin-top: 30px;
}

@media (max-width: 992px) {
    .hero,
    .articles-grid {
        grid-template-columns: 1fr;
    }

    .featured img {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        flex-wrap: wrap;
        gap: 14px;
    }

    .featured h1 {
        font-size: 28px;
    }
}