.home-articles-preview {
    position: relative;
    overflow: hidden;
    padding: 112px 0;
    background:
        radial-gradient(circle at 14% 14%, rgba(8, 11, 10, 0.045), transparent 30%),
        radial-gradient(circle at 86% 24%, rgba(107, 114, 128, 0.08), transparent 28%),
        linear-gradient(180deg, #f7f8f7 0%, #eef1ee 100%);
    color: var(--color-text);
}

.home-articles-preview::before {
    content: "";
    position: absolute;
    top: -180px;
    left: -190px;
    width: 440px;
    height: 440px;
    border: 1px solid rgba(8, 11, 10, 0.055);
    border-radius: 999px;
    background: radial-gradient(circle, rgba(8, 11, 10, 0.035), transparent 66%);
    pointer-events: none;
}

.home-articles-preview::after {
    content: "";
    position: absolute;
    right: -220px;
    bottom: -170px;
    width: 520px;
    height: 520px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(8, 11, 10, 0.04), transparent 66%);
    pointer-events: none;
}

.home-articles-bg-word {
    position: absolute;
    right: -3vw;
    top: 78px;
    color: rgba(8, 11, 10, 0.035);
    font-family: var(--font-heading);
    font-size: clamp(5rem, 15vw, 15rem);
    font-weight: 950;
    letter-spacing: -0.095em;
    line-height: 0.8;
    pointer-events: none;
}

.home-articles-shell {
    position: relative;
    z-index: 2;
    width: min(100% - 64px, 1480px);
    margin-inline: auto;
}

.home-articles-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 42px;
    margin-bottom: 42px;
}

.home-articles-header h2 {
    max-width: 940px;
    margin-bottom: 20px;
    color: var(--color-text);
    font-size: clamp(2.7rem, 5vw, 5.4rem);
    line-height: 0.96;
    letter-spacing: -0.08em;
}

.home-articles-header p {
    max-width: 820px;
    color: rgba(8, 11, 10, 0.66);
    font-size: 1.05rem;
}

.home-articles-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    flex-shrink: 0;
    padding: 12px 20px;
    border: 1px solid rgba(8, 11, 10, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.68);
    color: rgba(8, 11, 10, 0.86);
    font-size: 0.94rem;
    font-weight: 900;
    box-shadow: 0 14px 42px rgba(8, 11, 10, 0.055);
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}

.home-articles-view-all:hover {
    transform: translateY(-1px);
    border-color: rgba(8, 11, 10, 0.22);
    background: #ffffff;
    color: var(--color-text);
    box-shadow: 0 18px 54px rgba(8, 11, 10, 0.085);
}

.home-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.home-article-card {
    min-width: 0;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(8, 11, 10, 0.075);
    border-radius: 30px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.74)),
        rgba(255, 255, 255, 0.82);
    box-shadow: 0 20px 64px rgba(8, 11, 10, 0.075);
    transition:
        transform 0.24s ease,
        border-color 0.24s ease,
        box-shadow 0.24s ease,
        background 0.24s ease;
}

.home-article-card:hover {
    transform: translateY(-5px);
    border-color: rgba(8, 11, 10, 0.16);
    background: #ffffff;
    box-shadow: 0 28px 82px rgba(8, 11, 10, 0.11);
}

.home-article-image-link {
    display: block;
    overflow: hidden;
    height: 230px;
    background: rgba(8, 11, 10, 0.045);
}

.home-article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.86) contrast(1.02);
    transition: transform 0.34s ease;
}

.home-article-card:hover .home-article-image {
    transform: scale(1.045);
}

.home-article-image-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at top right, rgba(8, 11, 10, 0.08), transparent 38%),
        linear-gradient(135deg, #101614, #080b0a);
}

.home-article-image-placeholder span {
    width: 76px;
    height: 76px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(248, 250, 252, 0.16);
    border-radius: 24px;
    background: rgba(248, 250, 252, 0.08);
    color: rgba(248, 250, 252, 0.9);
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 950;
}

.home-article-content {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    padding: 26px;
}

.home-article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
}

.home-article-meta span,
.home-article-meta small {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    color: rgba(8, 11, 10, 0.52);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-article-meta span {
    padding: 6px 10px;
    border: 1px solid rgba(8, 11, 10, 0.075);
    border-radius: 999px;
    background: rgba(8, 11, 10, 0.035);
}

.home-article-meta small {
    flex-shrink: 0;
}

.home-article-content h3 {
    margin-bottom: 14px;
    color: var(--color-text);
    font-size: clamp(1.45rem, 2vw, 2rem);
    line-height: 1.02;
    letter-spacing: -0.06em;
}

.home-article-content h3 a {
    color: inherit;
}

.home-article-content p {
    color: rgba(8, 11, 10, 0.64);
    font-size: 0.96rem;
    line-height: 1.6;
}

.home-article-read-more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
    padding-top: 26px;
    color: rgba(8, 11, 10, 0.86);
    font-size: 0.9rem;
    font-weight: 900;
}

.home-article-read-more span {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(8, 11, 10, 0.08);
    border-radius: 999px;
    background: rgba(8, 11, 10, 0.04);
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.home-article-card:hover .home-article-read-more span {
    transform: translateX(3px);
    border-color: rgba(8, 11, 10, 0.14);
    background: rgba(8, 11, 10, 0.07);
}

.home-articles-empty {
    display: grid;
    place-items: center;
    min-height: 360px;
    padding: 48px;
    border: 1px solid rgba(8, 11, 10, 0.075);
    border-radius: 34px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.74)),
        rgba(255, 255, 255, 0.82);
    text-align: center;
    box-shadow: 0 20px 64px rgba(8, 11, 10, 0.075);
}

.home-articles-empty span {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 20px;
    background: var(--color-bg-dark);
    color: var(--color-text-light);
    font-family: var(--font-heading);
    font-weight: 950;
}

.home-articles-empty h3 {
    margin-bottom: 12px;
    color: var(--color-text);
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.home-articles-empty p {
    max-width: 620px;
    color: rgba(8, 11, 10, 0.62);
}

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

    .home-articles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .home-articles-preview {
        padding: 78px 0;
    }

    .home-articles-bg-word {
        display: none;
    }

    .home-articles-shell {
        width: min(100% - 28px, 1180px);
    }

    .home-articles-header h2 {
        font-size: clamp(2.35rem, 12vw, 3.8rem);
    }

    .home-articles-view-all {
        width: 100%;
    }

    .home-articles-grid {
        grid-template-columns: 1fr;
    }

    .home-article-card {
        border-radius: 24px;
    }

    .home-article-image-link {
        height: 210px;
    }

    .home-article-content {
        min-height: auto;
        padding: 24px;
    }

    .home-article-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .home-articles-empty {
        min-height: 320px;
        padding: 32px 24px;
        border-radius: 26px;
    }
}