.blog-inkarty {
    --blog-primary: #036bef;
    --blog-primary-dark: #0054bd;
    --blog-text: #172033;
    --blog-muted: #687386;
    --blog-border: #e5eaf1;
    --blog-surface: #ffffff;
    min-height: 100vh;
    background: #f6f8fb;
    color: var(--blog-text);
   /* font-family: "Nunito", sans-serif;*/
}

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

.blog-inkarty > article {
    padding-bottom: clamp(3rem, 7vw, 6rem);
}

.blog-inkarty .wrapper {
    width: 100%;
}

.blog-inkarty .content {
    width: min(1180px, calc(100% - 2rem));
    height: 100%;
    margin-inline: auto;
}

.blog-inkarty .header {
    position: relative;
    height: auto;
    min-height: 190px;
    overflow: hidden;
    border-bottom: 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.2), transparent 28%),
        linear-gradient(135deg, #036bef 0%, #0758c7 100%);
    color: #fff;
}

.blog-inkarty .header::after {
    position: absolute;
    right: -80px;
    bottom: -120px;
    width: 280px;
    height: 280px;
    border: 45px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    content: "";
}

.article-heading {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    min-height: 190px;
    padding-block: 2.5rem;
}

.article-heading h1 {
  
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.article-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: clamp(2.5rem, 6vw, 4.5rem) 0 1.5rem;
}

.article-header::after {
    flex: 1;
    height: 1px;
    background: var(--blog-border);
    content: "";
}

.article-header h2 {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.article-content {
    width: 100%;
}

.article-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2.5vw, 1.75rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

.article-list > li {
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    padding-bottom: 1.4rem;
    border: 1px solid var(--blog-border);
    border-radius: 10px;
    background: var(--blog-surface);
    box-shadow: 0 8px 24px rgba(23, 32, 51, 0.05);
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.article-list > li:hover {
    transform: translateY(-5px);
    border-color: rgba(3, 107, 239, 0.3);
    box-shadow: 0 18px 38px rgba(23, 32, 51, 0.11);
}

.article-list > li > a:first-child {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #e9eef5;
}

.article-list > li > a:first-child img,
.article-list > li > a:first-child picture,
.article-list > li > a:first-child figure {
    width: 100%;
    height: 100%;
    margin: 0;
}

.article-list > li > a:first-child img {
    display: block;
    object-fit: cover;
}

.article-list a {
    color: inherit;
    text-decoration: none;
}

.article-list a:focus-visible {
    border-radius: 4px;
    outline: 3px solid rgba(3, 107, 239, 0.35);
    outline-offset: 3px;
}

.blog-time {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 1.2rem 1.25rem 0.65rem;
    color: var(--blog-muted);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.blog-time i {
    color: var(--blog-primary);
    font-size: 0.9rem;
}

.article-list > li > a:last-child {
    display: block;
    margin-inline: 1.25rem;
}

.blog-title {
    display: -webkit-box;
    overflow: hidden;
    color: var(--blog-text);
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.015em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    transition: color 180ms ease;
}

.article-list > li > a:last-child:hover .blog-title {
    color: var(--blog-primary-dark);
}

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

@media (max-width: 580px) {
    .blog-inkarty .content {
        width: min(100% - 1.25rem, 1180px);
    }

    .blog-inkarty .header,
    .article-heading {
        min-height: 155px;
    }

    .article-list {
        grid-template-columns: 1fr;
    }

    .article-list > li {
        border-radius: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .article-list > li {
        transition: none;
    }

    .article-list > li:hover {
        transform: none;
    }
}
