.article-page {
    min-height: 100vh;
    color: var(--text-1);
    background:
        linear-gradient(180deg, var(--blog-deep) 0%, var(--blog) 48%, var(--blog-soft) 100%);
    padding-top: 117px;
}

.article-background {
    position: fixed;
    inset: 0 0 auto 0;
    height: 350px;
    z-index: 0;
    background-size: cover;
    background-position: center 34%;
    background-repeat: no-repeat;
    pointer-events: none;
}

.article-background::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(11, 15, 39, 0.16),
            rgba(11, 15, 39, 0.04) 44%,
            rgba(12, 74, 161, 0.1) 100%
        );
}

body.article-page .commune-shell.article-shell,
.article-shell {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100vw - 32px));
    margin: 0 auto !important;
    padding-top: 0 !important;
}

.article-stage {
    overflow: hidden;
    border-radius: 0 0 28px 28px;
    box-shadow: 0 28px 80px rgba(8, 35, 63, 0.16);
}

.article-header {
    min-height: 165px;
    display: flex;
    align-items: center;
    padding: 28px 36px;
    background: hsla(231, 56%, 10%, 0.356);
    backdrop-filter: blur(18px);
    
    border-top-left-radius: 26px;
    border-top-right-radius: 26px;
}

.article-header-layout {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 28px;
    align-items: start;
}

.article-title-block h1 {
    margin: 8px 0 0;
    max-width: 780px;
    color: #fff;
    font-size: clamp(1.4rem, 2.4vw, 2.4rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.article-title-block p {
    margin: 14px 0 0;
    max-width: 720px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1rem;
    line-height: 1.55;
}

.article-commune-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
}

.article-commune-link::before {
    content: "";
    width: 15px;
    height: 15px;
    border-radius: 999px;
    background: #fff;
    border: 3px solid var(--blog-soft);
    box-shadow: 0 0 0 3px rgba(230, 229, 255, 0.22);
}

.article-search {
    display: flex;
    align-items: center;
    height: 44px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(38, 45, 102, 0.34);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(230, 229, 255, 0.34);
}

.article-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    padding: 0 12px;
    background: transparent;
    color: #fff;
    font-size: 0.9rem;
}

.article-search input::placeholder {
    color: rgba(255, 255, 255, 0.72);
}

.article-search button {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    background: var(--blog-soft);
}

.article-layout {
    display: grid;
        background: #fffdfd;

    grid-template-columns: minmax(0, 1fr) 255px;
    gap: 28px;
    padding: 34px 36px 72px;
}

.article-main-card {
    min-height: 760px;
    padding: 8px 0 0;
}

.article-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
    color: var(--blog);
    font-size: 0.82rem;
    font-weight: 700;
}

.article-meta-line span + span::before {
    content: "/";
    margin-right: 12px;
    color: var(--text-3);
    font-weight: 400;
}

.article-excerpt {
    margin: 0 0 30px;
    color: var(--blog-deep);
    font-size: 1.08rem;
    line-height: 1.7;
    font-weight: 700;
}

.article-content {
    max-width: 690px;
    color: var(--text-1);
    font-size: 1rem;
    line-height: 1.85;
}

.article-content p {
    margin: 0 0 1.15em;
}

.article-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 34px;
    padding-top: 18px;
    border-top: 1px solid rgba(38, 45, 102, 0.14);
    color: var(--blog);
    font-weight: 800;
    font-size: 0.92rem;
}

.article-stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.article-stat i {
    font-size: 1.25rem;
    line-height: 1;
}

.article-stat-like,
.article-stat-like i {
    color: var(--like, #43a618);
}

.article-stat-dislike,
.article-stat-dislike i {
    color: var(--dislike, #ff4f4f);
}
.article-comments-preview {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(38, 45, 102, 0.14);
}

.article-comments-preview h2 {
    margin: 0 0 8px;
    color: var(--blog-soft);
    font-size: 1.1rem;
}

.article-comments-preview p {
    margin: 0;
    color: var(--text-3);
}

.article-sidebar {
    display: grid;
    gap: 14px;
    align-content: start;
}

.article-side-card {
    padding: 16px;
    border-radius: 18px;
    background: var(--surface-1);
    box-shadow: 0 14px 38px rgba(38, 45, 102, 0.11);
    border: 1px solid rgba(38, 45, 102, 0.08);
}

.article-side-card h2 {
    margin: 0 0 12px;
    color: var(--blog-soft);
    font-size: 0.95rem;
}

.article-side-card h2::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 7px;
    border-radius: 999px;
    border: 2px solid var(--blog-soft);
    background: #fff;
    vertical-align: 1px;
}

.article-side-card p {
    margin: 0;
    color: var(--text-2);
    font-size: 0.82rem;
    line-height: 1.5;
}

.article-image-card {
    padding: 10px;
    background: var(--blog-muted);
}

.article-image-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 0.78;
    object-fit: cover;
    border-radius: 14px;
}

.article-link-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.article-link-list a {
    display: block;
    color: var(--text-1);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.35;
}

.article-link-list a:hover {
    color: var(--blog-soft);
}

.article-contributors {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.article-contributors a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.article-contributors img,
.article-contributors span {
    width: 38px;
    height: 38px;
    border-radius: 999px;
}

.article-contributors img {
    object-fit: cover;
}

.article-contributors span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--blog-muted);
    color: var(--blog);
    font-weight: 900;
    font-size: 0.82rem;
}
.blog-home-page .article-shell {
    width: min(1180px, calc(100vw - 32px));
}

.blog-home-stage {
    background: transparent;
}
.blog-home-layout {
    grid-template-columns: minmax(0, 1fr) 265px;
}

.blog-home-main {
    min-height: 760px;
}

.blog-home-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 24px;
}

.blog-home-filter {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--blog-muted);
    color: var(--blog);
    font-size: 0.86rem;
    font-weight: 800;
    text-decoration: none;
}

.blog-home-filter.is-active {
    background: var(--blog);
    color: #ffffff;
}

.blog-home-featured {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 22px;
    margin-bottom: 28px;
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(230, 229, 255, 0.72), rgba(255, 255, 255, 0.96));
    border: 1px solid rgba(38, 45, 102, 0.08);
    box-shadow: 0 16px 42px rgba(38, 45, 102, 0.1);
}

.blog-home-featured-image {
    display: block;
    overflow: hidden;
    border-radius: 18px;
    min-height: 190px;
}

.blog-home-featured-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 190px;
    object-fit: cover;
}

.blog-home-featured-copy {
    min-width: 0;
}

.blog-home-featured-copy h2,
.blog-home-card h2 {
    margin: 8px 0 8px;
    color: var(--blog-deep);
    line-height: 1.18;
}

.blog-home-featured-copy h2 {
    font-size: 1.55rem;
}

.blog-home-card h2 {
    font-size: 1.05rem;
}

.blog-home-featured-copy h2 a,
.blog-home-card h2 a {
    color: inherit;
    text-decoration: none;
}

.blog-home-featured-copy h2 a:hover,
.blog-home-card h2 a:hover {
    color: var(--blog-soft);
}

.blog-home-featured-copy p,
.blog-home-card p {
    margin: 0;
    color: var(--text-2);
    line-height: 1.6;
}

.blog-home-featured-subtitle {
    margin-bottom: 8px !important;
    color: var(--blog) !important;
    font-weight: 800;
}

.blog-home-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.blog-home-card {
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(38, 45, 102, 0.08);
    box-shadow: 0 14px 36px rgba(38, 45, 102, 0.08);
}

.blog-home-card-image {
    display: block;
    height: 160px;
    overflow: hidden;
}

.blog-home-card-image img {
    display: block;
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.blog-home-card-body {
    padding: 16px;
    background: #ffffff;
}

.blog-home-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--blog);
    font-size: 0.78rem;
    font-weight: 800;
}

.blog-home-card-meta span + span::before {
    content: "/";
    margin-right: 10px;
    color: var(--text-3);
    font-weight: 400;
}

.blog-home-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 16px;
}

.blog-home-stats {
    margin: 0;
    padding: 0;
    border: 0;
    gap: 10px;
    font-size: 0.82rem;
}

.blog-home-read-more {
    color: var(--blog);
    font-weight: 900;
    font-size: 0.85rem;
    text-decoration: none;
    white-space: nowrap;
}

.blog-home-read-more:hover {
    color: var(--blog-soft);
}

.blog-home-empty {
    padding: 28px;
    border-radius: 22px;
    background: var(--blog-muted);
    color: var(--blog);
}

.blog-home-empty h2 {
    margin: 0 0 8px;
    color: var(--blog-deep);
}

.blog-home-empty p {
    margin: 0 0 16px;
    color: var(--text-2);
}

.blog-home-empty a,
.blog-home-side-action a {
    color: var(--blog);
    font-weight: 900;
    text-decoration: none;
}

.blog-home-sidebar .article-link-list a {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.blog-home-sidebar .article-link-list small {
    color: var(--text-3);
    font-weight: 800;
}

.blog-home-side-action {
    margin-top: 12px;
}

@media (max-width: 980px) {
    .blog-home-layout {
        grid-template-columns: 1fr;
    }

    .blog-home-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .blog-home-featured {
        grid-template-columns: 1fr;
    }

    .blog-home-grid {
        grid-template-columns: 1fr;
    }

    .blog-home-sidebar {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 900px) {
    .article-header-layout {
        grid-template-columns: 1fr;
    }

    .article-search {
        max-width: 360px;
    }

    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .article-shell {
        width: 100%;
        margin-top: 80px;
    }

    .article-stage {
        border-radius: 0;
    }

    .article-header {
        padding: 28px 18px;
    }

    .article-layout {
        padding: 28px 18px 52px;
    }

    .article-sidebar {
        grid-template-columns: 1fr;
    }
}