/* =====================================================================
   CATEGORY.CSS — isolated styles for category.html (V34)
   Extracted from page-specific.css using the category page DOM classes.
   Includes responsive rules, interaction states and shared card/grid dependencies.
   Keep selector order from page-specific.css to preserve the cascade.
===================================================================== */

.category-page .breadcrumbs {
    margin: 0 0 12px;
}

.category-section {
    margin: 0 0 22px;
    padding: clamp(16px, 2vw, 23px);
    overflow: hidden;
    border: 1px solid rgba(var(--accent-soft-rgb), .28);
    border-radius: 16px;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(var(--accent-rgb), .075), transparent 34%),
        linear-gradient(145deg, rgba(var(--accent-soft-rgb), .055), #181818 60%);
    box-shadow: inset 0 1px 0 var(--overlay-section-highlight), 0 14px 34px rgba(var(--black-rgb), .11);
}

















































































.category-page .hero { height: 280px; }

.category-page .hero-bg { width: 69%; background-image: url("/assets/hero-cs16-dust-sunset.webp"); background-position: center 50%; background-size: cover; filter: saturate(.86) brightness(.94); }

.category-page .hero-bg::after {
    background: linear-gradient(90deg, var(--hero-base) 0%, rgba(var(--hero-base-rgb), .95) 6%, rgba(var(--hero-base-rgb), .76) 24%, rgba(var(--hero-base-rgb), .3) 54%, rgba(var(--hero-base-rgb), .07) 100%), linear-gradient(0deg, rgba(var(--hero-shadow-rgb), .38), transparent 48%);
}

.category-recent-heading { display: flex; align-items: center; gap: 13px; margin: 0 0 17px; padding: 0 0 15px; border-bottom: 1px solid rgba(var(--accent-mint-rgb), .13); }

.category-recent-icon { display: grid; place-items: center; flex: 0 0 43px; width: 43px; height: 43px; border: 1px solid rgba(var(--accent-mint-rgb), .22); border-radius: 12px; background: linear-gradient(145deg, rgba(var(--accent-rgb), .18), rgba(var(--accent-deep-rgb), .14)); color: var(--accent-light); box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 7px 17px rgba(var(--black-rgb), .16); }

.category-recent-icon svg { display: block; width: 23px; height: 23px; }

.category-recent-heading-copy { min-width: 0; flex: 1 1 auto; }

.category-recent-title { margin: 0; color: var(--text-emphasis); font-size: 19px; line-height: 1.25; font-weight: 700; }

.category-recent-heading-copy p { margin: 5px 0 0; color: var(--text-muted); font-size: 12px; line-height: 1.55; }







@media (max-width: 1100px) {

}

@media (max-width: 760px) {










.category-recent-heading { align-items: flex-start; gap: 10px; }
.category-recent-icon { flex-basis: 37px; width: 37px; height: 37px; border-radius: 10px; }
.category-recent-icon svg { width: 20px; height: 20px; }
.category-recent-title { font-size: 16px; }
.category-recent-heading-copy p { font-size: 11px; }
}

@media (max-width: 560px) {.category-section { padding: 13px; border-radius: 13px; }

















.category-recent-heading { display: grid; grid-template-columns: 38px minmax(0,1fr); }
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 11px;
    border: 1px solid var(--border-article);
    border-radius: 9px;
    background: var(--surface-article);
    color: #aab0b5;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: .2s ease;
}

.pagination a:hover {
    border-color: var(--accent);
    background: #202229;
    color: var(--white);
}

.pagination .active {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--white);
}

.pagination .muted {
    color: #62686d;
    background: #161719;
}

.build-actions .build-btn .hero-button-arrow {
    margin-left: auto;
    opacity: .82;
    transition: transform .22s ease, opacity .22s ease;
}

.build-actions .build-btn.secondary .hero-button-arrow {
    background: rgba(var(--accent-rgb), .14);
    color: var(--accent-light);
}

.build-actions .build-btn:hover .hero-button-arrow {
    opacity: 1;
    transform: translateX(2px);
}

.article-similar-grid .card-actions { gap: 0; }

.files-page .breadcrumbs {
    margin-bottom: 12px;
}

.files-page .breadcrumbs a {
    color: var(--text-secondary);
}

.weapon-page .breadcrumbs {
    margin-bottom: 12px;
}

.weapon-page .breadcrumbs a {
    color: var(--text-secondary);
}

.map-page .breadcrumbs {
    margin-bottom: 12px;
}

.articles-page .breadcrumbs { margin-bottom: 20px; }

.site > .hero {
    max-height: 370px;
    margin: 20px 0 0;
    box-shadow: none;
}

.site > .main-layout {
    padding-top: 18px;
}

.hero-button-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    line-height: 1.2;
}

.hero-button-copy strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -.15px;
}

.hero-button-copy small {
    display: block;
    font-size: 11px;
    font-weight: 500;
    opacity: .82;
}

.hero-button-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 27px;
    width: 27px;
    height: 27px;
    border-radius: 8px;
    font-size: 18px;
    line-height: 1;
    background: rgba(var(--button-icon-overlay-rgb), .10);
}

.hero-torrent .hero-button-arrow {
    background: rgba(var(--accent-rgb), .14);
    color: var(--accent-light);
}

@media (max-width: 900px) {.site > .hero {
        margin-top: 14px;
    }
.hero-content {
        padding: 24px 24px 18px;
    }
.hero-title {
        max-width: 600px;
        font-size: 27px;
    }
.hero-description {
        max-width: 540px;
        margin-bottom: 12px;
    }}

@media (max-width: 600px) {.site > .hero {
        height: 365px;
        min-height: 0;
        margin-top: 12px;
        border-radius: 12px;
    }
.hero-content {
        padding: 18px 16px 14px;
    }
.hero-kicker {
        margin-bottom: 8px;
        padding: 4px 7px;
        font-size: 9px;
    }
.hero-title {
        margin-bottom: 8px;
        font-size: 24px;
        line-height: 1.1;
        letter-spacing: -.45px;
    }
.hero-description {
        margin-bottom: 10px;
        line-height: 1.35;
    }
.hero-download-area {
        display: grid;
        grid-template-columns: 1fr;
        gap: 7px;
    }
.hero-button {
        min-width: 0;
        min-height: 47px;
        padding: 6px 12px;
        gap: 9px;
        border-radius: 8px;
        width: 100%;
    }
.hero-button-copy strong {
        font-size: 12px;
    }
.hero-button-copy small {
        font-size: 10px;
    }
.hero-button-arrow {
        flex-basis: 24px;
        width: 24px;
        height: 24px;
        font-size: 16px;
    }}

.site > .hero .hero-bg { width:68%; transform:scale(1.045); filter:saturate(.92) contrast(1.035); -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(var(--black-rgb), .10) 5%,var(--shadow-overlay) 16%,rgba(var(--black-rgb), .82) 31%,var(--black) 49%); mask-image:linear-gradient(90deg,transparent 0%,rgba(var(--black-rgb), .10) 5%,var(--shadow-overlay) 16%,rgba(var(--black-rgb), .82) 31%,var(--black) 49%); }

.site > .hero .hero-bg::after { background:linear-gradient(90deg,rgba(var(--hero-base-rgb), 1) 0%,rgba(var(--hero-base-rgb), .78) 18%,rgba(var(--hero-base-rgb), .30) 48%,rgba(var(--hero-base-rgb), .04) 100%),linear-gradient(0deg,rgba(var(--hero-shadow-rgb), .72) 0%,transparent 48%),radial-gradient(ellipse at 55% 48%,transparent 22%,rgba(var(--hero-vignette-rgb), .18) 100%); }

.site > .hero::before { content:""; position:absolute; z-index:-1; pointer-events:none; top:-12%; bottom:-12%; left:31%; width:25%; background:rgba(var(--hero-base-rgb), .44); filter:blur(34px); opacity:.82; }

.site > .hero::after { z-index:-1; background:linear-gradient(0deg,rgba(var(--hero-shadow-rgb), .70) 0%,transparent 44%),linear-gradient(90deg,var(--hero-base) 0%,rgba(var(--hero-base-rgb), .48) 36%,transparent 67%); }

@media(max-width:900px) {.site > .hero .hero-bg { width:72%; -webkit-mask-image:linear-gradient(90deg,transparent 0%,var(--shadow-hover) 12%,rgba(var(--black-rgb), .78) 35%,var(--black) 58%); mask-image:linear-gradient(90deg,transparent 0%,var(--shadow-hover) 12%,rgba(var(--black-rgb), .78) 35%,var(--black) 58%); }
.site > .hero::before { left:25%; width:29%; filter:blur(27px); }}

@media(max-width:600px) {.site > .hero .hero-bg { width:100%; opacity:.48; -webkit-mask-image:linear-gradient(180deg,rgba(var(--black-rgb), .30) 0%,var(--black) 42%); mask-image:linear-gradient(180deg,rgba(var(--black-rgb), .30) 0%,var(--black) 42%);
        background-position: 65% center; }
.site > .hero .hero-bg::after { background:linear-gradient(180deg,rgba(var(--hero-base-rgb), .24) 0%,rgba(var(--hero-base-rgb), .66) 43%,var(--hero-base) 100%),linear-gradient(90deg,rgba(var(--hero-base-rgb), .30),transparent); }
.site > .hero::before { top:25%; bottom:0; left:-10%; width:120%; filter:blur(30px); opacity:.72; }}

.site > .hero .hero-button {
    border: 0;
    transform: translate3d(0, 0, 0);
    transition:
        transform 260ms cubic-bezier(.22, .61, .36, 1),
        background 260ms ease,
        box-shadow 260ms ease,
        color 200ms ease;
    backface-visibility: hidden;
    will-change: transform;
}

.site > .hero .hero-button:hover {
    transform: translate3d(0, -2px, 0);
}

.site > .hero .hero-download {
    color: var(--white);
    background: var(--button-primary-bg);
    border: 0;
    box-shadow: var(--button-primary-shadow);
}

.site > .hero .hero-download:hover {
    color: var(--white);
    background: var(--button-primary-hover-bg);
    border: 0;
    box-shadow: var(--button-primary-hover-shadow);
}

.site > .hero .hero-download strong,
.site > .hero .hero-download small,
.site > .hero .hero-download svg,
.site > .hero .hero-download .hero-button-arrow {
    color: var(--white);
}

.site > .hero .hero-torrent {
    color: var(--text);
    background: var(--hero-secondary-bg);
    border: 0;
    box-shadow: 0 7px 22px var(--shadow-hover), inset 0 1px 0 var(--border-faint);
}

.site > .hero .hero-torrent:hover {
    color: var(--white);
    background: var(--hero-secondary-hover-bg);
    border: 0;
    box-shadow: 0 10px 26px rgba(var(--black-rgb), .28), 0 0 18px rgba(var(--accent-rgb), .08);
}

.site > .hero .hero-torrent svg,
.site > .hero .hero-torrent .hero-button-arrow {
    color: var(--text-secondary);
}

.site > .hero {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: hidden;
}

.site > .hero > .hero-bg {
    top: 0;
    bottom: auto;
    height: 350px;
}

.site > .hero > .hero-content {
    flex: 0 0 350px;
    height: 350px;
    min-height: 350px;
}

.block-new-builds > .block-intro,
.block-new-builds > .cards-grid {
    position: relative;
    z-index: 1;
}

@media (max-width: 900px) {.site > .hero > .hero-bg {
        height: 350px;
    }
.site > .hero > .hero-content {
        flex-basis: 350px;
        height: 350px;
        min-height: 350px;
    }}

@media (max-width: 600px) {.site > .hero > .hero-bg {
        height: 440px;
    }
.site > .hero > .hero-content {
        flex-basis: 440px;
        height: 440px;
        min-height: 440px;
    }}

@media (max-width: 400px) {.site > .hero > .hero-bg {
        height: 560px;
    }
.site > .hero > .hero-content {
        flex-basis: 560px;
        height: 560px;
        min-height: 560px;
    }}

@media (max-width: 760px) {.category-recent-heading { align-items: flex-start; gap: 10px; }
.category-recent-icon { flex-basis: 37px; width: 37px; height: 37px; border-radius: 10px; }
.category-recent-icon svg { width: 20px; height: 20px; }
.category-recent-title { font-size: 16px; }
.category-recent-heading-copy p { font-size: 11px; }
}

@media (max-width: 560px) {.category-recent-heading { display: grid; grid-template-columns: 38px minmax(0,1fr); }
}

.main-layout.main-layout-no-sidebar,
.main-layout:not(:has(> .sidebar)) {
    grid-template-columns: minmax(0, 1fr);
}

.main-layout.main-layout-no-sidebar > .content {
    grid-column: 1;
    min-width: 0;
}

.main-layout.main-layout-with-sidebar {
    grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
}

@media (max-width: 900px) {.main-layout.main-layout-with-sidebar { grid-template-columns: minmax(0, 1fr); }}

.site > .hero {
    height: 370px;
    min-height: 370px;
}

.site > .hero > .hero-bg {
    height: 370px;
}

.site > .hero > .hero-content {
    flex: 0 0 370px;
    height: 370px;
    min-height: 370px;
}

.site > .hero .hero-title {
    width: max-content;
    max-width: 100%;
    white-space: nowrap;
    font-size: clamp(19px, 1.95vw, 27px);
    letter-spacing: -.8px;
}

.site-footer-intro,
.site-footer-directory {
    background: linear-gradient(145deg, #171b1e, #141719 70%, #15191b);
}

@media (max-width: 600px) {.site > .hero > .hero-bg { height: 370px; }
.site > .hero > .hero-content { flex-basis: 370px; height: 370px; min-height: 370px; }
.site > .hero .hero-title { font-size: clamp(10px, 3.15vw, 14px); letter-spacing: -.35px; }}

@media (min-width: 601px) and (max-width: 900px) {.site > .hero .hero-title { font-size: clamp(15px, 2.45vw, 22px); }}

.article-similar-grid .card-description { display: none !important; }

.files-dropdown .dropdown a.is-current { color: var(--accent-light); background: rgba(var(--accent-rgb), .10); border-color: rgba(var(--accent-rgb), .22); }

.category-versions {
    position: relative;
    margin: 26px 0 8px;
    padding: clamp(15px, 2vw, 22px);
    overflow: hidden;
    border: 1px solid rgba(var(--accent-soft-rgb), .17);
    border-radius: 16px;
    background: linear-gradient(145deg, #1a1e21 0%, #15191b 68%, #171b1e 100%);
    box-shadow: 0 12px 28px rgba(0,0,0,.13), inset 0 1px 0 rgba(255,255,255,.025);
}

.category-versions::before {
    content: "";
    position: absolute;
    top: -90px;
    right: -70px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--accent-rgb), .09), transparent 68%);
    pointer-events: none;
}

.category-versions-heading {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 17px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,.065);
}

.category-versions-icon {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(var(--accent-mint-rgb), .2);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(var(--accent-rgb), .16), rgba(255,255,255,.025));
    color: #a5d9c3;
}

.category-versions-icon svg { display: block; width: 22px; height: 22px; }

.category-versions-heading-copy { min-width: 0; flex: 1; }

.category-versions-heading-copy h2 { margin: 0; color: var(--text-emphasis, #edf1f2); font-size: 19px; line-height: 1.25; font-weight: 730; letter-spacing: -.02em; }

.category-versions-heading-copy p { margin: 5px 0 0; color: var(--text-muted, #899397); font-size: 12px; line-height: 1.55; }

.category-versions-count { display: inline-flex; align-items: baseline; gap: 6px; flex: 0 0 auto; padding: 7px 10px; border: 1px solid rgba(255,255,255,.075); border-radius: 8px; background: rgba(255,255,255,.025); color: #9ca9a9; font-size: 9px; font-weight: 750; letter-spacing: .07em; }

.category-versions-count strong { color: #dce8e2; font-size: 16px; letter-spacing: 0; }

.category-versions-table-wrap { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.065); border-radius: 12px; background: rgba(10,12,13,.24); }

.category-versions-table { width: 100%; border-collapse: collapse; text-align: left; }

.category-versions-table thead { background: rgba(255,255,255,.025); }

.category-versions-table th, .category-versions-table td { padding: 12px 15px; border-bottom: 1px solid rgba(255,255,255,.055); vertical-align: middle; }

.category-versions-table thead th { color: #879397; font-size: 9px; font-weight: 800; letter-spacing: .075em; text-transform: uppercase; }

.category-versions-table tbody tr:last-child th, .category-versions-table tbody tr:last-child td { border-bottom: 0; }

.category-versions-table tbody tr { transition: background .16s ease; }

.category-versions-table tbody tr:hover { background: rgba(255,255,255,.025); }

.category-versions-table tbody th { width: 34%; color: #e0e7e6; font-size: 12px; font-weight: 650; }

.category-versions-table tbody td { color: #a5b0b1; font-size: 11px; line-height: 1.5; }

.category-version-kind { display: inline-flex; align-items: center; min-height: 23px; padding: 3px 8px; border: 1px solid rgba(255,255,255,.075); border-radius: 7px; background: rgba(255,255,255,.025); color: #b8c5c4; font-size: 9px; font-weight: 750; white-space: nowrap; }

.category-version-kind--language { border-color: rgba(115,160,190,.18); background: rgba(70,120,155,.08); color: #a9c9dc; }

.category-version-kind--region { border-color: rgba(var(--accent-mint-rgb), .16); background: rgba(var(--accent-rgb), .07); color: #a8d8c4; }

.category-version-kind--format { border-color: rgba(189,160,113,.19); background: rgba(160,125,70,.08); color: #d5bd91; }

.category-version-kind--build { border-color: rgba(168,177,190,.18); background: rgba(135,148,164,.075); color: #c1cbd6; }









@media (max-width: 680px) {.category-versions { margin-top: 20px; padding: 13px; border-radius: 13px; }
.category-versions-heading { align-items: flex-start; gap: 10px; }
.category-versions-icon { flex-basis: 37px; width: 37px; height: 37px; border-radius: 10px; }
.category-versions-icon svg { width: 20px; height: 20px; }
.category-versions-heading-copy h2 { font-size: 16px; }
.category-versions-heading-copy p { font-size: 11px; }
.category-versions-count { padding: 5px 7px; font-size: 8px; }
.category-versions-count strong { font-size: 14px; }
.category-versions-table-wrap { overflow: visible; border: 0; background: transparent; }
.category-versions-table, .category-versions-table tbody { display: block; width: 100%; }
.category-versions-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.category-versions-table tbody { display: grid; gap: 7px; }
.category-versions-table tbody tr { display: grid; grid-template-columns: minmax(0,1fr); gap: 5px; padding: 11px 12px; border: 1px solid rgba(255,255,255,.065); border-radius: 10px; background: rgba(10,12,13,.24); }
.category-versions-table tbody tr:last-child th, .category-versions-table tbody tr:last-child td { border-bottom: 0; }
.category-versions-table tbody th, .category-versions-table tbody td { display: block; width: auto; padding: 0; border: 0; }
.category-versions-table tbody th { font-size: 12px; }
.category-versions-table tbody td { font-size: 10px; }
.category-versions-table tbody td:nth-child(2) { margin-top: 2px; }
}

.aim-is-playing .topbar,.aim-is-playing .site-footer{display:none!important}


/* Category archive card-grid density — moved out of shared style.css. */
.category-page .cards-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) {
    .category-page .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .category-page .cards-grid { grid-template-columns: minmax(0, 1fr); }
}
