/*  COMPONENT: WP BLOCK ARCHIVES
//////////////////////////////////////////////////////////////////////////////*/

@layer components {
    .category .post {
        gap: 0;
    }
    .category .article__header {
        margin-bottom: var(--spacing-s);
    }
    .category .article__title {
        margin: 0;
        text-wrap: balance;
    }
    .category .article__title::after {
        display: none;
    }
    .category .article__subtitle {
        text-wrap: balance;
        margin: 0;
    }
    .category .morelink {
        font-size: var(--font-size-s);
        border: 2px solid;
        text-decoration: none;
        color: var(--color-red);
        font-weight: var(--font-weight-bold);
        padding: var(--spacing-xs) var(--spacing-m);
        border-radius: 2rem;
        display: flex !important;
        width: fit-content;
        align-items: center;
        gap: var(--spacing-xs);
        height: 40px;
        display: grid;
        place-items: center;
        margin-top: var(--spacing-m);
    }
    .category .morelink:hover {
        background-color: var(--color-red);
        color: var(--color-white) !important;
        border-color: var(--color-red);
    }
    .category .morelink:hover::after  {
        background-image: url(../../images/icons/icon--arrow-right-white.svg);
    }
    .category .morelink::after {
        content: "";
        width: 1rem;
        height: 1rem;
        background-image: url(../../images/icons/icon--arrow-right-red.svg);
        background-repeat: no-repeat;
        background-size: 100%;
    }
}
