/* Minimal banner — base styles here, per-layout overrides in archive_layout/*.css */
.archive-banner.minimal-banner {
    width: 100%;
    padding: 50px 60px 0;
    box-sizing: border-box;
    max-width: min(var(--site-width), 100vw);
    margin: 0 auto;
}

.archive-banner.minimal-banner .banner-inner {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-bottom: 30px;
    border-bottom: solid 1px #8b8b8b2b;
}

.archive-banner.minimal-banner h1 {
    margin: 0;
    font-size: calc(var(--h1-font-size-desktop) / 1.286);
}

.archive-banner.minimal-banner .arr-breadcrumbs a:hover {
    text-decoration: underline;
}

/* Classy banner */
.archive-banner.classy-banner {
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 330px;
    margin: 0 0 40px;
    background-size: cover;
    background-position: center;
    justify-content: flex-end;
    align-items: stretch;
}

.archive-banner.classy-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #0000000f;
}

.archive-banner.classy-banner .banner-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    max-width: min(var(--site-width), 100vw);
    margin: 0 auto;
    padding: 0 60px 40px;
}

.archive-banner.classy-banner h1,
.archive-banner.classy-banner .arr-breadcrumbs {
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 3px #00000050;
}

.archive-banner.classy-banner h1 {
    font-size: var(--h1-font-size-desktop);
}

.archive-banner.classy-banner .arr-breadcrumbs {
    opacity: 0.8;
    color: #fff;
    letter-spacing: 0.04em;
    text-shadow: 0 2px 3px #00000050;
}

.archive-banner.classy-banner .arr-breadcrumbs a,
.archive-banner.classy-banner .arr-breadcrumbs i {
    color: #fff;
}

.archive-banner.classy-banner .arr-breadcrumbs a:hover {
    text-decoration: underline;
    opacity: 1;
}

/* Centered alignment */
.archive-banner.classy-banner.centered {
    justify-content: center;
}

.archive-banner.classy-banner.centered .banner-inner {
    align-items: center;
    padding: 0 60px;
    text-align: center;
}

.archive-banner.classy-banner.centered .arr-breadcrumbs {
    justify-content: center;
}

.arr-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1;
    font-size: 0.9rem;
}

.arr-breadcrumbs a {
    text-decoration: none;
}

.arr-breadcrumbs i {
    font-size: 76%;
    position: relative;
    top: -1.5px;
}

.archive-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    padding: 60px
}

.posts-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    max-width: 100%;
}

.pagination {
    display: flex;
}

.pagination .page-numbers {
    font-family: var(--button-font-family);
    letter-spacing: 0;
    word-spacing: 0;
    font-style: var(--button-font-style);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.post-sidebar {
    background-color: var(--sidebar-background-color);
    height: 70vh
}

@media (max-width: 898px) {
    .archive-wrapper {
        flex-direction: column;
        gap: 50px;
    }

    .archive-wrapper .posts-container {
        max-width: 100%;
    }

    .archive-banner.minimal-banner h1 {
        font-size: calc(var(--h1-font-size-tablet) / 1.286);
    }

    .archive-banner.minimal-banner .banner-inner {
        gap: 10px;
    }

    .archive-banner.classy-banner {
        margin-bottom: 30px;
    }

    .archive-banner.classy-banner h1 {
        font-size: var(--h1-font-size-tablet);
    }

    .archive-banner.classy-banner .banner-inner {
        padding: 0 30px 30px;
    }

    .archive-banner.classy-banner.centered .banner-inner {
        padding: 0 30px;
    }
}

@media (max-width: 480px) {
    .archive-wrapper {
        padding: 20px 10px;
    }

    .archive-banner.minimal-banner {
        padding: 10px;
    }

    .archive-banner.minimal-banner h1 {
        font-size: calc(var(--h1-font-size-mobile) / 1.286);
    }

    .archive-banner.classy-banner {
        margin-bottom: 20px;
        min-height: 190px;
    }

    .archive-banner.classy-banner h1 {
        font-size: var(--h1-font-size-mobile);
    }

    .archive-banner.classy-banner .banner-inner {
        padding: 0 16px 24px;
    }

    .archive-banner.classy-banner.centered .banner-inner {
        padding: 0 16px;
    }

    .pagination {
        gap: 10px;
    }
}