:root {
    --cloud: #F7F5F1;
    --mist: #E3EEF2;
    --steel: #3E6E85;
    --coral: #F2946B;
    --deep-slate: #2F4B57;
    --taupe: #8B8580;
    --white: #FFFFFF;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "IBM Plex Sans", Arial, sans-serif;
    background: var(--cloud);
    color: var(--deep-slate);
    line-height: 1.7;
}

.blog-nav {
    background: var(--white);
    border-bottom: 1px solid var(--mist);
    padding: 16px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-logo {
    font-family: "Space Grotesk", sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--steel);
    text-decoration: none;
}

.blog-logo span {
    color: var(--coral);
}

.blog-nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.blog-nav-links a {
    color: var(--deep-slate);
    text-decoration: none;
    font-weight: 500;
}

.blog-nav-links a:hover {
    color: var(--steel);
}

.blog-hero {
    background: linear-gradient(
        135deg,
        var(--steel),
        var(--deep-slate)
    );
    color: var(--white);
    text-align: center;
    padding: 75px 20px;
}

.blog-hero h1 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 44px;
    line-height: 1.15;
    max-width: 850px;
    margin: 0 auto 18px;
}

.blog-hero p {
    max-width: 700px;
    margin: auto;
    font-size: 18px;
    color: var(--mist);
}

.blog-container {
    width: min(1120px, calc(100% - 40px));
    margin: 50px auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.blog-card {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--mist);
    box-shadow: 0 5px 20px rgba(47, 75, 87, 0.07);
    transition: transform .2s ease, box-shadow .2s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(47, 75, 87, 0.12);
}

.blog-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.blog-card-content {
    padding: 24px;
}

.blog-category {
    color: var(--coral);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.blog-card h2 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 21px;
    line-height: 1.3;
    margin: 8px 0 12px;
}

.blog-card h2 a {
    color: var(--deep-slate);
    text-decoration: none;
}

.blog-card p {
    color: #66777e;
    font-size: 14px;
}

.read-more {
    color: var(--steel);
    font-weight: 600;
    text-decoration: none;
}

.article {
    width: min(820px, calc(100% - 40px));
    margin: 45px auto 80px;
}

.breadcrumb {
    font-size: 14px;
    margin-bottom: 30px;
    color: var(--taupe);
}

.breadcrumb a {
    color: var(--steel);
    text-decoration: none;
}

.article-header h1 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 44px;
    line-height: 1.15;
    color: var(--deep-slate);
    margin-bottom: 18px;
}

.article-description {
    font-size: 19px;
    color: #62727a;
}

.article-meta {
    color: var(--taupe);
    font-size: 14px;
    margin: 18px 0 30px;
}

.article-image {
    width: 100%;
    border-radius: 14px;
    margin-bottom: 38px;
}

.article-content h2 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 28px;
    line-height: 1.25;
    margin-top: 42px;
    margin-bottom: 14px;
}

.article-content h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 21px;
    margin-top: 28px;
}

.article-content p,
.article-content li {
    font-size: 17px;
}

.article-content a {
    color: var(--steel);
}

.article-content li {
    margin-bottom: 8px;
}

.article-note {
    padding: 20px 24px;
    background: var(--mist);
    border-left: 4px solid var(--steel);
    border-radius: 8px;
    margin: 30px 0;
}

.article-cta {
    margin-top: 50px;
    background: var(--deep-slate);
    color: var(--white);
    padding: 36px;
    border-radius: 14px;
    text-align: center;
}

.article-cta h2 {
    color: var(--white);
    margin-top: 0;
}

.article-cta a {
    display: inline-block;
    margin-top: 10px;
    padding: 13px 24px;
    border-radius: 8px;
    background: var(--coral);
    color: var(--deep-slate);
    font-weight: 700;
    text-decoration: none;
}

.blog-footer {
    background: var(--deep-slate);
    color: var(--mist);
    padding: 32px 20px;
    text-align: center;
}

.blog-footer a {
    color: var(--mist);
}

@media (max-width: 900px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-nav {
        padding: 14px 18px;
    }

    .blog-nav-links {
        gap: 10px;
        font-size: 13px;
    }

    .article-header h1,
    .blog-hero h1 {
        font-size: 32px;
    }
}
