/* BalkansNetwork category and taxonomy archives — alpha.36 */

body.bnee-archive-template {
    background: #f4f7f9;
}

body.bnee-archive-template .bnee-site-shell {
    overflow: visible;
}

body.bnee-archive-template .bnee-archive-main {
    padding: 24px 0 76px;
    background:
        radial-gradient(circle at 94% 3%, rgba(20, 119, 201, .045), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f7f9fb 42%, #f3f6f8 100%);
}

.bnee-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    color: #7a8a98;
    font-size: 12px;
}

.bnee-breadcrumbs a {
    color: #1477c9;
    font-weight: 700;
}

.bnee-breadcrumbs span[aria-hidden="true"] {
    color: #a5b2bd;
}

.bnee-archive-intro {
    position: relative;
    isolation: isolate;
    min-height: 220px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    align-items: center;
    gap: 54px;
    margin-bottom: 24px;
    padding: 42px 48px;
    border: 1px solid #d4e4f0;
    border-top: 4px solid #1477c9;
    border-radius: 25px;
    background:
        radial-gradient(circle at 92% 20%, rgba(20, 119, 201, .16), transparent 28%),
        linear-gradient(115deg, #ffffff 0%, #f4f9fd 56%, #eaf5fc 100%);
    box-shadow: 0 18px 44px rgba(8, 43, 74, .08);
    overflow: hidden;
}

.bnee-archive-intro::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 290px;
    height: 290px;
    right: -86px;
    top: -132px;
    border: 1px solid rgba(20, 119, 201, .16);
    border-radius: 50%;
    box-shadow: 0 0 0 50px rgba(20, 119, 201, .025);
}

.bnee-archive-intro-copy {
    max-width: 830px;
}

.bnee-archive-intro .bnee-section-kicker {
    margin-bottom: 12px;
    color: #1477c9;
    font-size: 11px;
    letter-spacing: .16em;
}

.bnee-archive-intro h1 {
    margin: 0;
    color: #03233d;
    font-size: clamp(40px, 5vw, 67px);
    font-weight: 800;
    line-height: .98;
    letter-spacing: -.055em;
    text-wrap: balance;
}

.bnee-archive-intro p {
    max-width: 800px;
    margin: 20px 0 0;
    color: #586d80;
    font-size: 17px;
    line-height: 1.58;
}

.bnee-archive-count {
    position: relative;
    z-index: 2;
    width: 132px;
    min-height: 132px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-self: end;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 22px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 14px 34px rgba(5, 42, 74, .1);
    backdrop-filter: blur(9px);
    text-align: center;
}

.bnee-archive-count strong {
    color: #075386;
    font-size: 43px;
    line-height: 1;
    letter-spacing: -.06em;
}

.bnee-archive-count span {
    margin-top: 10px;
    color: #6b7c8c;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .11em;
    line-height: 1.35;
    text-transform: uppercase;
}

.bnee-section-tabs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 30px;
    padding: 2px 2px 5px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.bnee-section-tabs a {
    flex: 0 0 auto;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid #dce6ee;
    border-radius: 999px;
    background: #fff;
    color: #3f566b;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 5px 14px rgba(8, 43, 74, .035);
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.bnee-section-tabs a:hover,
.bnee-section-tabs a:focus-visible {
    transform: translateY(-2px);
    border-color: #bad7eb;
    color: #075386;
}

.bnee-section-tabs a.is-active {
    border-color: #1477c9;
    background: #1477c9;
    color: #fff;
    box-shadow: 0 9px 23px rgba(20, 119, 201, .2);
}

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

.bnee-archive-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid #dbe5ed;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 27px rgba(8, 43, 74, .055);
    overflow: hidden;
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.bnee-archive-card:hover {
    transform: translateY(-5px);
    border-color: #c6d9e7;
    box-shadow: 0 20px 44px rgba(8, 43, 74, .12);
}

.bnee-archive-card-image {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9.3;
    overflow: hidden;
    background: #dfeaf2;
}

.bnee-archive-card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 35, 61, 0) 55%, rgba(3, 35, 61, .20));
    pointer-events: none;
}

.bnee-archive-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.bnee-archive-card:hover .bnee-archive-card-image img {
    transform: scale(1.045);
}

.bnee-archive-card-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 23px 24px 22px;
}

.bnee-archive-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
    color: #1477c9;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.bnee-archive-card-meta time {
    color: #8b9aa7;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.bnee-archive-card h2 {
    margin: 0;
    color: #10243a;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.035em;
    text-wrap: balance;
}

.bnee-archive-card h2 a {
    transition: color .2s ease;
}

.bnee-archive-card h2 a:hover,
.bnee-archive-card h2 a:focus-visible {
    color: #1477c9;
}

.bnee-archive-card p {
    margin: 15px 0 24px;
    color: #627487;
    font-size: 14px;
    line-height: 1.62;
}

.bnee-archive-read-more {
    margin-top: auto;
    padding-top: 17px;
    border-top: 1px solid #edf1f4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #0b426d;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.bnee-archive-read-more span {
    width: 31px;
    height: 31px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eaf4fb;
    color: #1477c9;
    transition: transform .2s ease, background .2s ease;
}

.bnee-archive-card:hover .bnee-archive-read-more span {
    transform: translateX(3px);
    background: #d8ecfa;
}

.bnee-pagination {
    margin-top: 38px;
}

.bnee-pagination .page-numbers {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
}

.bnee-pagination a,
.bnee-pagination span {
    min-width: 42px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border: 1px solid #dce6ee;
    border-radius: 999px;
    background: #fff;
    color: #416078;
    font-size: 12px;
    font-weight: 750;
}

.bnee-pagination .current {
    border-color: #1477c9;
    background: #1477c9;
    color: #fff;
}

.bnee-archive-empty {
    min-height: 280px;
    padding: 54px;
    border: 1px solid #dce7ef;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(8, 43, 74, .06);
}

.bnee-archive-empty h2 {
    margin: 9px 0 14px;
    color: #03233d;
    font-size: 34px;
    letter-spacing: -.04em;
}

.bnee-archive-empty p {
    max-width: 720px;
    color: #627487;
}

.bnee-archive-empty a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    color: #1477c9;
    font-weight: 800;
}

@media (max-width: 1080px) {
    .bnee-archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bnee-archive-intro {
        padding: 38px 40px;
    }
}

@media (max-width: 820px) {
    .bnee-archive-intro {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 35px;
    }

    .bnee-archive-count {
        width: auto;
        min-height: 78px;
        justify-self: stretch;
        flex-direction: row;
        gap: 15px;
        border-radius: 17px;
    }

    .bnee-archive-count strong {
        font-size: 34px;
    }

    .bnee-archive-count span {
        max-width: 110px;
        margin: 0;
        text-align: left;
    }
}

@media (max-width: 600px) {
    body.bnee-archive-template .bnee-archive-main {
        padding: 16px 0 48px;
    }

    .bnee-breadcrumbs {
        margin-bottom: 13px;
    }

    .bnee-archive-intro {
        min-height: 0;
        margin-bottom: 18px;
        padding: 27px 23px;
        border-radius: 19px;
    }

    .bnee-archive-intro h1 {
        font-size: clamp(36px, 12vw, 50px);
    }

    .bnee-archive-intro p {
        margin-top: 15px;
        font-size: 15px;
    }

    .bnee-section-tabs {
        margin-bottom: 24px;
    }

    .bnee-section-tabs a {
        min-height: 39px;
        padding-inline: 15px;
        font-size: 10px;
    }

    .bnee-archive-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .bnee-archive-card-body {
        padding: 20px 20px 19px;
    }

    .bnee-archive-card h2 {
        font-size: 22px;
    }

    .bnee-archive-card p {
        font-size: 13px;
    }

    .bnee-archive-empty {
        padding: 35px 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bnee-archive-card,
    .bnee-archive-card-image img,
    .bnee-section-tabs a,
    .bnee-archive-read-more span {
        transition: none !important;
    }
}
