.category-page {
    width: calc(100% - 32px);
    max-width: 1000px;
    margin: 48px auto;
}

.category-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.category-tabs a {
    padding: 10px 16px;
    border: 1px solid #ba90ef;
    color: #ba90ef;
    font-size: 1rem;
    text-decoration: none;
}

.category-tabs a:hover,
.category-tabs a[aria-current="page"] {
    background: #ba90ef;
    color: #3c3841;
}

.category-page > h1 {
    color: #ba90ef;
}

.category-status {
    margin: 0 auto 24px;
    text-align: center;
    color: #c2bdc8;
}

.category-articles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.category-article {
    position: relative;
    isolation: isolate;
    min-height: 190px;
    padding: 24px;
}

.category-article::before,
.category-article::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    clip-path: polygon(
        32px 0, 100% 0, 100% calc(100% - 32px),
        calc(100% - 32px) 100%, 0 100%, 0 32px
    );
}

.category-article::before {
    background: #ba90ef;
}

.category-article::after {
    inset: 1px;
    background: #51495c;
    clip-path: polygon(
        31px 0, 100% 0, 100% calc(100% - 31px),
        calc(100% - 31px) 100%, 0 100%, 0 31px
    );
}

.category-article:nth-child(even)::before {
    clip-path: polygon(
        0 0, calc(100% - 32px) 0, 100% 32px,
        100% 100%, 32px 100%, 0 calc(100% - 32px)
    );
}

.category-article:nth-child(even)::after {
    clip-path: polygon(
        0 0, calc(100% - 31px) 0, 100% 31px,
        100% 100%, 31px 100%, 0 calc(100% - 31px)
    );
}

.category-article h3 {
    margin-bottom: 12px;
    color: #ba90ef;
}

.category-article p {
    margin-bottom: 16px;
    color: #c2bdc8;
    line-height: 1.5;
}

.category-article a {
    color: #d5c9e2;
    text-decoration: none;
}

.category-article a:hover {
    color: #ba90ef;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .category-articles {
        grid-template-columns: 1fr;
    }
}