.article-page {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding: 190px 0 118px;
    background:
        radial-gradient(circle at 14% 12%, rgba(248, 250, 252, 0.07), transparent 28%),
        radial-gradient(circle at 88% 18%, rgba(107, 114, 128, 0.12), transparent 26%),
        linear-gradient(135deg, #080b0a 0%, #101614 42%, #070908 100%);
    color: var(--color-text-light);
}

.article-page::before {
    content: "";
    position: absolute;
    top: -180px;
    left: -180px;
    width: 440px;
    height: 440px;
    border: 1px solid rgba(248, 250, 252, 0.055);
    border-radius: 999px;
    background: radial-gradient(circle, rgba(248, 250, 252, 0.06), transparent 66%);
    pointer-events: none;
}

.article-page::after {
    content: "";
    position: absolute;
    right: -220px;
    bottom: 18%;
    width: 520px;
    height: 520px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(248, 250, 252, 0.045), transparent 66%);
    pointer-events: none;
}

.article-bg-word {
    position: absolute;
    right: -3vw;
    top: 120px;
    color: rgba(248, 250, 252, 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;
}

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

.article-hero {
    max-width: 1050px;
    margin-bottom: 42px;
}

.article-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
}

.article-hero h1 {
    max-width: 1120px;
    margin-bottom: 26px;
    font-size: clamp(3.2rem, 6.3vw, 6.6rem);
    line-height: 0.92;
    letter-spacing: -0.085em;
}

.article-hero p {
    max-width: 820px;
    color: rgba(248, 250, 252, 0.72);
    font-size: 1.08rem;
}

.create-article-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid rgba(248, 250, 252, 0.16);
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.075);
    color: rgba(248, 250, 252, 0.88);
    font-size: 0.88rem;
    font-weight: 850;
    white-space: nowrap;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.create-article-link:hover {
    transform: translateY(-1px);
    border-color: rgba(248, 250, 252, 0.28);
    background: rgba(248, 250, 252, 0.11);
}

.article-filter-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.55fr);
    gap: 18px;
    align-items: end;
    margin-bottom: 24px;
    padding: 22px;
    border: 1px solid rgba(248, 250, 252, 0.11);
    border-radius: 30px;
    background:
        linear-gradient(145deg, rgba(248, 250, 252, 0.08), rgba(248, 250, 252, 0.028)),
        rgba(248, 250, 252, 0.035);
    box-shadow: var(--shadow-dark);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.article-search-wrap label,
.article-date-filters > span {
    display: block;
    margin-bottom: 10px;
    color: rgba(248, 250, 252, 0.58);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.article-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.article-search-row input {
    min-height: 52px;
    width: 100%;
    padding: 0 18px;
    border: 1px solid rgba(248, 250, 252, 0.12);
    border-radius: 999px;
    background: rgba(8, 11, 10, 0.38);
    color: var(--color-text-light);
    outline: none;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.article-search-row input::placeholder {
    color: rgba(248, 250, 252, 0.38);
}

.article-search-row input:focus {
    border-color: rgba(248, 250, 252, 0.32);
    background: rgba(8, 11, 10, 0.52);
    box-shadow: 0 0 0 4px rgba(248, 250, 252, 0.07);
}

.article-search-row button {
    min-height: 52px;
    padding: 0 22px;
    border: 1px solid rgba(248, 250, 252, 0.9);
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.9);
    color: var(--color-bg-dark);
    font-weight: 900;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.article-search-row button:hover {
    transform: translateY(-1px);
    border-color: #ffffff;
    background: #ffffff;
}

.article-date-filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.article-date-filter-list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 13px;
    border: 1px solid rgba(248, 250, 252, 0.1);
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.055);
    color: rgba(248, 250, 252, 0.66);
    font-size: 0.86rem;
    font-weight: 800;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.article-date-filter-list a:hover,
.article-date-filter-list a.active {
    transform: translateY(-1px);
    border-color: rgba(248, 250, 252, 0.24);
    background: rgba(248, 250, 252, 0.12);
    color: var(--color-text-light);
}

.article-filter-bottom {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(248, 250, 252, 0.08);
}

.article-filter-bottom p {
    color: rgba(248, 250, 252, 0.58);
    font-size: 0.92rem;
}

.article-filter-bottom a {
    color: rgba(248, 250, 252, 0.86);
    font-size: 0.92rem;
    font-weight: 850;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.article-results-meta {
    margin: 28px 0 18px;
}

.article-results-meta span {
    color: rgba(248, 250, 252, 0.52);
    font-size: 0.88rem;
    font-weight: 850;
}

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

.article-card {
    min-width: 0;
}

.article-card-link {
    height: 100%;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(248, 250, 252, 0.1);
    border-radius: 30px;
    background:
        linear-gradient(145deg, rgba(248, 250, 252, 0.08), rgba(248, 250, 252, 0.025)),
        rgba(248, 250, 252, 0.035);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
    transition:
        transform 0.24s ease,
        border-color 0.24s ease,
        box-shadow 0.24s ease,
        background 0.24s ease;
}

.article-card-link:hover {
    transform: translateY(-5px);
    border-color: rgba(248, 250, 252, 0.22);
    background:
        linear-gradient(145deg, rgba(248, 250, 252, 0.105), rgba(248, 250, 252, 0.035)),
        rgba(248, 250, 252, 0.045);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.article-image-wrap {
    position: relative;
    overflow: hidden;
    height: 230px;
    background: rgba(248, 250, 252, 0.05);
}

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

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

.article-image-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at top right, rgba(248, 250, 252, 0.12), transparent 36%),
        linear-gradient(135deg, rgba(16, 22, 20, 0.95), rgba(8, 11, 10, 0.98));
}

.article-image-fallback 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.88);
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 950;
}

.article-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 26px;
}

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

.article-category,
.article-date {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    color: rgba(248, 250, 252, 0.58);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.article-category {
    padding: 6px 10px;
    border: 1px solid rgba(248, 250, 252, 0.1);
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.055);
}

.article-category.muted {
    color: rgba(248, 250, 252, 0.42);
}

.article-date {
    flex-shrink: 0;
}

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

.article-card-body p {
    color: rgba(248, 250, 252, 0.64);
    font-size: 0.96rem;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
    padding-top: 26px;
    color: rgba(248, 250, 252, 0.86);
    font-size: 0.9rem;
    font-weight: 900;
}

.article-meta span:last-child {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(248, 250, 252, 0.11);
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.07);
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.article-card-link:hover .article-meta span:last-child {
    transform: translateX(3px);
    background: rgba(248, 250, 252, 0.12);
}

.article-empty {
    display: grid;
    place-items: center;
    min-height: 390px;
    padding: 48px;
    border: 1px solid rgba(248, 250, 252, 0.1);
    border-radius: 34px;
    background:
        linear-gradient(145deg, rgba(248, 250, 252, 0.08), rgba(248, 250, 252, 0.025)),
        rgba(248, 250, 252, 0.035);
    text-align: center;
    box-shadow: var(--shadow-dark);
}

.article-empty span {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 20px;
    background: rgba(248, 250, 252, 0.9);
    color: var(--color-bg-dark);
    font-family: var(--font-heading);
    font-weight: 950;
}

.article-empty h2 {
    margin-bottom: 12px;
    color: var(--color-text-light);
    font-size: clamp(2rem, 4vw, 3.6rem);
}

.article-empty p {
    color: rgba(248, 250, 252, 0.62);
}

.article-empty-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 24px;
    padding: 10px 18px;
    border: 1px solid rgba(248, 250, 252, 0.18);
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.08);
    color: rgba(248, 250, 252, 0.9);
    font-weight: 850;
}

.article-seo-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    margin-top: 28px;
    padding: 42px;
    border: 1px solid rgba(248, 250, 252, 0.1);
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(248, 250, 252, 0.08), transparent 36%),
        rgba(248, 250, 252, 0.04);
    box-shadow: var(--shadow-dark);
}

.article-seo-panel h2 {
    max-width: 900px;
    margin-bottom: 16px;
    color: var(--color-text-light);
    font-size: clamp(2.1rem, 4vw, 4.5rem);
    line-height: 0.96;
    letter-spacing: -0.075em;
}

.article-seo-panel p {
    max-width: 880px;
    color: rgba(248, 250, 252, 0.66);
}

.article-seo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    flex-shrink: 0;
    padding: 12px 20px;
    border: 1px solid rgba(248, 250, 252, 0.84);
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.9);
    color: var(--color-bg-dark);
    font-weight: 900;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.article-seo-link:hover {
    transform: translateY(-1px);
    border-color: #ffffff;
    background: #ffffff;
}

@media (max-width: 1180px) {
    .article-filter-panel {
        grid-template-columns: 1fr;
    }

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

    .article-seo-panel {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 760px) {
    .article-page {
        padding: 155px 0 78px;
    }

    .article-bg-word {
        display: none;
    }

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

    .article-hero-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .article-hero h1 {
        font-size: clamp(2.55rem, 13vw, 4rem);
    }

    .article-filter-panel {
        padding: 16px;
        border-radius: 24px;
    }

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

    .article-search-row button {
        width: 100%;
    }

    .article-date-filter-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .article-date-filter-list a {
        width: 100%;
    }

    .article-filter-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .article-card-link {
        min-height: auto;
        border-radius: 24px;
    }

    .article-image-wrap {
        height: 210px;
    }

    .article-card-body {
        padding: 24px;
    }

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

    .article-empty {
        min-height: 330px;
        padding: 32px 24px;
        border-radius: 26px;
    }

    .article-seo-panel {
        padding: 28px;
        border-radius: 26px;
    }

    .article-seo-link {
        width: 100%;
    }
}