:root {
    --bg: #f4f7fb;
    --white: #ffffff;
    --text: #102033;
    --muted: #6d7b8d;
    --line: rgba(16, 32, 51, 0.1);
    --primary: #1a73e8;
    --accent: #0d3b66;
    --container: 1440px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: var(--text);
    background:
            radial-gradient(circle at top left, rgba(26, 115, 232, 0.08), transparent 30%),
            linear-gradient(180deg, #f9fbff 0%, #f2f6fb 100%);
}

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

button,
input {
    font: inherit;
}

.site-wrapper {
    min-height: 100vh;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: calc(var(--container) + 40px);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: 0.25s ease;
		text-align: center;
		width: auto;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 14px 28px rgba(26, 115, 232, 0.22);
}

.btn--secondary {
    color: var(--text);
    background: #edf2f8;
}

/* hero */
.blog-hero {
    padding: 42px 0 28px;
}

.blog-hero__box {
    padding: 40px;
    border-radius: 36px;
    background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 250, 255, 0.96) 100%);
    border: 1px solid rgba(16, 32, 51, 0.08);
    box-shadow: 0 30px 80px rgba(16, 32, 51, 0.08);
}

.blog-hero__label {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
}

.blog-hero__title {
    margin: 0 0 14px;
    max-width: 860px;
    font-size: 52px;
    line-height: 1.04;
    font-weight: 800;
}

.blog-hero__text {
    margin: 0;
    max-width: 760px;
    font-size: 17px;
    line-height: 1.65;
    color: var(--muted);
}

/* featured */
.blog-featured {
    padding: 0 0 28px;
}

.featured-post {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 24px;
    padding: 24px;
    border-radius: 34px;
    background: #ffffff;
    border: 1px solid rgba(16, 32, 51, 0.08);
    box-shadow: 0 24px 60px rgba(16, 32, 51, 0.08);
}

.featured-post__image-wrap {
    border-radius: 26px;
    overflow: hidden;
    min-height: 420px;
}

.featured-post__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-post__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-post__meta {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

.featured-post__tag {
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    background: rgba(26, 115, 232, 0.08);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
}

.featured-post__date {
    font-size: 14px;
    color: var(--muted);
}

.featured-post__title {
    margin: 0 0 16px;
    font-size: 38px;
    line-height: 1.12;
    font-weight: 800;
}

.featured-post__text {
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--muted);
}

.featured-post__button {
    align-self: flex-start;
}

/* list */
.blog-list {
    padding: 0 0 40px;
}

.blog-list__head {
    margin-bottom: 22px;
}

.blog-list__title {
    margin: 0 0 8px;
    font-size: 34px;
    line-height: 1.1;
    font-weight: 800;
}

.blog-list__text {
    margin: 0;
    font-size: 15px;
    color: var(--muted);
}

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

.post-card {
    display: flex;
    flex-direction: column;
    border-radius: 26px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(16, 32, 51, 0.08);
    box-shadow: 0 14px 34px rgba(16, 32, 51, 0.06);
    transition: 0.25s ease;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px rgba(16, 32, 51, 0.12);
}

.post-card__image-wrap {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.post-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-card__body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
}

.post-card__meta {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.post-card__date {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
}

.post-card__tag {
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    background: #eef4ff;
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
}

.post-card__title {
    margin: 0;
    font-size: 20px;
    line-height: 1.22;
    font-weight: 800;
}

.post-card__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
}

.post-card__link {
    margin-top: auto;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
}

.post-card__link:hover {
    text-decoration: underline;
}

/* pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.pagination__button,
.pagination__page {
    min-width: 44px;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid rgba(16, 32, 51, 0.08);
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    transition: 0.25s ease;
}

.pagination__button:hover,
.pagination__page:hover {
    transform: translateY(-2px);
    border-color: rgba(26, 115, 232, 0.24);
}

.pagination__page.is-active {
    background: var(--text);
    color: #fff;
    border-color: var(--text);
}

.pagination__button.is-disabled {
    opacity: 0.4;
    pointer-events: none;
}

.pagination__dots {
    color: var(--muted);
    font-weight: 700;
}

/* cta */
.blog-cta {
    padding: 0 0 72px;
}

.blog-cta__box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 28px;
    border-radius: 30px;
    background:
            linear-gradient(135deg, rgba(13, 59, 102, 1) 0%, rgba(26, 115, 232, 1) 100%);
    color: #fff;
    box-shadow: 0 24px 50px rgba(16, 32, 51, 0.16);
}

.blog-cta__label {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
}

.blog-cta__title {
    margin: 0 0 10px;
    max-width: 760px;
    font-size: 32px;
    line-height: 1.1;
    font-weight: 800;
}

.blog-cta__text {
    margin: 0;
    max-width: 720px;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
}

.blog-cta__button {
    min-width: 220px;
}

/* responsive */
@media (max-width: 1100px) {
    .blog-header__container {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .blog-header__nav {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .featured-post {
        grid-template-columns: 1fr;
    }

    .featured-post__image-wrap {
        min-height: 320px;
    }

    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-cta__box {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-cta__button {
        min-width: 100%;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .container {
        padding: 0 16px;
    }

    .blog-hero {
        padding-top: 20px;
    }

    .blog-hero__box,
    .featured-post {
        padding: 18px;
        border-radius: 24px;
    }

    .blog-hero__title {
        font-size: 34px;
    }

    .blog-hero__text {
        font-size: 15px;
    }

    .featured-post__image-wrap {
        min-height: 240px;
        border-radius: 18px;
    }

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

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .blog-list__title {
        font-size: 28px;
    }

    .blog-cta {
        padding-bottom: 56px;
    }

    .blog-cta__box {
        padding: 20px 16px;
        border-radius: 22px;
    }

    .blog-cta__title {
        font-size: 24px;
    }
}