/* Community page alignment with the core Zomblers visual system. */
body.zcp-community-active.zch-classic-theme .article-shell {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.zcp-community-active.zch-classic-theme .zcp-wrap {
    width: min(calc(100% - 48px), 1180px) !important;
    max-width: 1180px !important;
    margin-inline: auto !important;
}

body.zcp-community-active.zch-classic-theme .zcp-hero {
    min-height: 620px;
    border-bottom-color: rgba(133, 153, 161, 0.2);
    background:
        radial-gradient(circle at 82% 22%, rgba(168, 255, 26, 0.11), transparent 28%),
        radial-gradient(circle at 12% 82%, rgba(255, 37, 113, 0.075), transparent 25%),
        linear-gradient(112deg, #02090d, #061318 62%, #02080b);
}

body.zcp-community-active.zch-classic-theme .zcp-hero__grid {
    min-height: 620px;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: clamp(52px, 7vw, 96px);
    padding-block: 74px 68px;
}

body.zcp-community-active.zch-classic-theme .zcp-hero h1 {
    max-width: 8.2ch;
    font-size: clamp(5.2rem, 8vw, 8.4rem);
    letter-spacing: -0.075em;
    line-height: 0.78;
}

body.zcp-community-active.zch-classic-theme .zcp-lead {
    max-width: 650px;
    color: #aab7bd;
    font-size: clamp(1rem, 1.3vw, 1.14rem);
    line-height: 1.7;
}

body.zcp-community-active.zch-classic-theme .zcp-signal {
    width: 300px;
    height: 300px;
    justify-self: end;
    border-color: rgba(168, 255, 26, 0.19);
    box-shadow: 22px 25px 0 rgba(255, 37, 113, 0.04), 0 28px 65px rgba(0, 0, 0, 0.34);
}

body.zcp-community-active.zch-classic-theme .zcp-signal > span {
    width: 100%;
    height: 100%;
    color: transparent !important;
    text-shadow: none !important;
    background:
        url("zomblers-splatter-logo.png") center 48% / 76% auto no-repeat,
        linear-gradient(145deg, rgba(255, 37, 113, 0.025), rgba(168, 255, 26, 0.025));
    filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.38));
}

body.zcp-community-active.zch-classic-theme .zcp-main,
body.zcp-community-active.zch-classic-theme .zcp-paths,
body.zcp-community-active.zch-classic-theme .zcp-bottom {
    border-color: rgba(133, 153, 161, 0.18);
}

body.zcp-community-active.zch-classic-theme .zcp-card,
body.zcp-community-active.zch-classic-theme .zcp-path {
    border-color: rgba(133, 153, 161, 0.2);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 48%),
        rgba(5, 17, 22, 0.9);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.018);
}

body.zcp-community-active.zch-classic-theme .zcp-card:nth-child(2),
body.zcp-community-active.zch-classic-theme .zcp-path:nth-child(even) {
    background:
        linear-gradient(145deg, rgba(168, 255, 26, 0.028), transparent 48%),
        rgba(5, 17, 22, 0.9);
}

body.zcp-community-active.zch-classic-theme.zh-nav-community .zch-join-button {
    box-shadow: 0 0 0 1px rgba(255, 37, 113, 0.6), 0 0 24px rgba(255, 37, 113, 0.18);
}

@media (max-width: 760px) {
    body.zcp-community-active.zch-classic-theme .zcp-wrap {
        width: min(calc(100% - 28px), 1180px) !important;
    }

    body.zcp-community-active.zch-classic-theme .zcp-hero,
    body.zcp-community-active.zch-classic-theme .zcp-hero__grid {
        min-height: 0;
    }

    body.zcp-community-active.zch-classic-theme .zcp-hero__grid {
        padding-block: 58px 54px;
    }

    body.zcp-community-active.zch-classic-theme .zcp-hero h1 {
        max-width: none;
        font-size: clamp(4rem, 17vw, 5.2rem);
        line-height: 0.82;
    }

    body.zcp-community-active.zch-classic-theme .zcp-lead {
        font-size: 1rem;
        line-height: 1.6;
    }

    body.zcp-community-active.zch-classic-theme .zcp-card-grid,
    body.zcp-community-active.zch-classic-theme .zcp-path-grid {
        display: grid !important;
        grid-template-columns: none !important;
        grid-auto-flow: column;
        grid-auto-columns: min(84vw, 320px);
        gap: 10px !important;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0 0 9px;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    body.zcp-community-active.zch-classic-theme .zcp-card-grid::-webkit-scrollbar,
    body.zcp-community-active.zch-classic-theme .zcp-path-grid::-webkit-scrollbar {
        display: none;
    }

    body.zcp-community-active.zch-classic-theme .zcp-card,
    body.zcp-community-active.zch-classic-theme .zcp-path {
        width: 100% !important;
        min-width: 0;
        min-height: 245px;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    body.zcp-community-active.zch-classic-theme .zcp-main__grid,
    body.zcp-community-active.zch-classic-theme .zcp-paths__heading,
    body.zcp-community-active.zch-classic-theme .zcp-bottom__grid {
        gap: 30px !important;
    }

    body.zcp-community-active.zch-classic-theme .zcp-card-grid::after,
    body.zcp-community-active.zch-classic-theme .zcp-path-grid::after {
        content: "";
        width: 4px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.zcp-community-active.zch-classic-theme .zcp-card-grid,
    body.zcp-community-active.zch-classic-theme .zcp-path-grid {
        scroll-behavior: auto;
    }
}
