/* CK Updates page — CSS is loaded only on /ck-updates/. No animation loop, polling or JS framework. */
body.ck-updates-view {
    background: #03070b !important;
}

body.ck-updates-view #page,
body.ck-updates-view #content,
body.ck-updates-view .site-content,
body.ck-updates-view .container,
body.ck-updates-view .bb-grid,
body.ck-updates-view .content-area,
body.ck-updates-view .site-main,
body.ck-updates-view article.page,
body.ck-updates-view .entry-content {
    background: transparent !important;
}

body.ck-updates-view .entry-header,
body.ck-updates-view .entry-title,
body.ck-updates-view article.page > header,
body.ck-updates-view .page-title {
    display: none !important;
}

body.ck-updates-view .site-content > .container,
body.ck-updates-view .container,
body.ck-updates-view .bb-grid,
body.ck-updates-view .content-area,
body.ck-updates-view .site-main {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.ck-updates-view article.page,
body.ck-updates-view .entry-content {
    margin: 0 !important;
    padding: 0 !important;
}

.cku-shell,
.cku-shell * {
    box-sizing: border-box;
}

.cku-shell {
    --cku-bg: #03070b;
    --cku-panel: #081019;
    --cku-panel-2: #0a1520;
    --cku-line: rgba(125, 166, 201, .16);
    --cku-line-strong: rgba(96, 177, 246, .28);
    --cku-blue: #3da6f5;
    --cku-blue-bright: #76c6ff;
    --cku-text: #f4f8fb;
    --cku-muted: #8297aa;
    --cku-muted-2: #5f7487;

    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 4%, rgba(32, 120, 187, .13), transparent 25%),
        radial-gradient(circle at 86% 20%, rgba(16, 75, 126, .10), transparent 27%),
        linear-gradient(180deg, #050a0f 0%, #03070b 56%, #04090e 100%);
    color: var(--cku-text);
}

.cku-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(1px);
    opacity: .55;
}

.cku-orb-a {
    top: 180px;
    left: -260px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(50, 139, 210, .13);
    box-shadow: 0 0 110px rgba(26, 110, 179, .08) inset;
}

.cku-orb-b {
    top: 700px;
    right: -330px;
    width: 660px;
    height: 660px;
    border: 1px solid rgba(50, 139, 210, .08);
}

.cku-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(103, 156, 199, .10);
    overflow: hidden;
}

.cku-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 40%, rgba(37, 151, 236, .12), transparent 23%),
        linear-gradient(90deg, rgba(3, 8, 13, .03), rgba(3, 8, 13, .40));
    pointer-events: none;
}

.cku-hero-grid {
    position: absolute;
    inset: 0;
    opacity: .16;
    background-image:
        linear-gradient(rgba(109, 160, 202, .10) 1px, transparent 1px),
        linear-gradient(90deg, rgba(109, 160, 202, .10) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.85), transparent 92%);
}


.cku-hero-visual {
    position: absolute;
    z-index: 1;
    top: 50%;
    right: max(44px, calc((100vw - 1280px) / 2));
    width: 330px;
    height: 330px;
    transform: translateY(-50%);
    pointer-events: none;
}

.cku-signal-ring {
    position: absolute;
    inset: 0;
    margin: auto;
    border-radius: 50%;
    border: 1px solid rgba(78, 172, 242, .16);
    box-shadow: 0 0 42px rgba(40, 139, 214, .045) inset;
}

.cku-signal-ring-a { width: 100%; height: 100%; }
.cku-signal-ring-b { width: 72%; height: 72%; border-color: rgba(93, 190, 255, .22); }
.cku-signal-ring-c { width: 43%; height: 43%; border-color: rgba(111, 204, 255, .30); }

.cku-signal-line {
    position: absolute;
    left: 50%;
    top: 8%;
    width: 1px;
    height: 84%;
    background: linear-gradient(180deg, transparent, rgba(86, 184, 250, .26), transparent);
}

.cku-signal-line-b { transform: rotate(90deg); }

.cku-signal-core {
    position: absolute;
    left: 50%;
    top: 50%;
    display: flex;
    width: 112px;
    height: 112px;
    transform: translate(-50%, -50%);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(104, 196, 255, .28);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(13, 42, 65, .88), rgba(6, 18, 28, .94));
    box-shadow: 0 18px 50px rgba(0,0,0,.28), 0 0 45px rgba(43, 151, 232, .11), inset 0 1px 0 rgba(255,255,255,.05);
}

.cku-signal-core strong {
    color: #65bcff;
    font-size: 38px;
    line-height: .95;
    font-weight: 900;
    letter-spacing: -.06em;
    text-shadow: 0 0 24px rgba(65, 171, 249, .26);
}

.cku-signal-core span {
    margin-top: 8px;
    color: #8ea5b8;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .14em;
}

.cku-hero-inner,
.cku-content {
    position: relative;
    z-index: 2;
    width: min(1280px, calc(100% - 64px));
    margin: 0 auto;
}

.cku-hero-inner {
    padding: 80px 390px 72px 0;
}

.cku-eyebrow,
.cku-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #7c9bb4;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.cku-eyebrow-pulse,
.cku-meta-live,
.cku-official-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #53b6ff;
    box-shadow: 0 0 13px rgba(83, 182, 255, .68);
}

.cku-hero h1 {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 13px;
    margin: 22px 0 0 !important;
    color: #edf6fc !important;
    font-size: clamp(50px, 6vw, 84px) !important;
    line-height: .97 !important;
    letter-spacing: -.045em !important;
    text-transform: uppercase;
}

.cku-hero h1 span {
    font-weight: 900;
    color: #4da8ff;
    text-shadow: 0 0 28px rgba(59,156,255,.24);
}

.cku-hero h1 strong {
    font-weight: 900;
    color: #f5f9fc;
    text-shadow: 0 15px 50px rgba(0,0,0,.35);
}

.cku-hero-lead {
    margin: 28px 0 0 !important;
    max-width: 760px;
    color: #ecf4f9 !important;
    font-size: clamp(22px, 2.35vw, 33px) !important;
    line-height: 1.24 !important;
    font-weight: 680;
    letter-spacing: -.02em;
}

.cku-hero-copy {
    max-width: 780px;
    margin: 15px 0 0 !important;
    color: #8297aa !important;
    font-size: 15px !important;
    line-height: 1.75 !important;
}


.cku-hero-note {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    width: fit-content;
    min-width: 430px;
    margin-top: 38px;
    padding: 11px 12px;
    border: 1px solid rgba(99, 169, 221, .16);
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(9, 20, 30, .80), rgba(5, 12, 19, .72));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.025), 0 14px 34px rgba(0,0,0,.10);
    backdrop-filter: blur(8px);
}

.cku-hero-note-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: linear-gradient(145deg, rgba(33, 137, 215, .20), rgba(31, 105, 165, .10));
    border: 1px solid rgba(86, 182, 248, .13);
    color: #79caff;
    font-size: 16px;
    line-height: 1;
    font-weight: 900;
    box-shadow: 0 0 26px rgba(57, 161, 235, .08);
}

.cku-hero-note-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.cku-hero-note-copy strong {
    color: #e7f2f9;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 850;
    letter-spacing: .035em;
}

.cku-hero-note-copy small {
    color: #70879a;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .035em;
}

.cku-hero-note-count {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    padding: 8px 10px;
    border: 1px solid rgba(84, 167, 229, .13);
    border-radius: 10px;
    background: rgba(25, 105, 164, .10);
    white-space: nowrap;
}

.cku-hero-note-count strong {
    color: #66beff;
    font-size: 15px;
    line-height: 1;
    font-weight: 900;
}

.cku-hero-note-count small {
    color: #8ba1b3;
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.cku-content {
    padding: 76px 0 100px;
}

.cku-section-head {
    display: flex;
    align-items: end;
    gap: 28px;
    margin-bottom: 24px;
}

.cku-section-head > div {
    flex: 0 0 auto;
}

.cku-section-head h2,
.cku-empty h2 {
    margin: 9px 0 0 !important;
    color: #f3f8fc !important;
    font-size: clamp(27px, 3vw, 42px) !important;
    line-height: 1.1 !important;
    letter-spacing: -.035em !important;
    font-weight: 820 !important;
}

.cku-section-line {
    flex: 1 1 auto;
    height: 1px;
    margin-bottom: 8px;
    background: linear-gradient(90deg, rgba(105, 165, 214, .21), transparent);
}

.cku-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--cku-line);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(9, 18, 27, .98), rgba(6, 13, 20, .98));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.022), 0 18px 48px rgba(0,0,0,.12);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.cku-card:hover {
    transform: translateY(-2px);
    border-color: rgba(84, 169, 236, .32);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.03), 0 22px 58px rgba(0,0,0,.18);
}

.cku-card-featured {
    margin-bottom: 22px;
    border-color: rgba(79, 163, 230, .24);
    background: linear-gradient(135deg, rgba(9, 21, 31, .99), rgba(6, 13, 20, .99));
}

/* Latest update WITH a normal BuddyBoss camera photo.
 * Desktop intentionally keeps the media in a true 16:9 frame as well,
 * so the same CK news artwork works on desktop and mobile without a
 * square-looking crop.
 */
.cku-card-featured.cku-card-has-media {
    display: grid;
    grid-template-columns: minmax(0, 1.48fr) minmax(380px, .92fr);
    min-height: 0;
    align-items: center;
}

/* Latest update WITHOUT a photo: compact editorial card instead of empty space. */
.cku-card-featured.cku-card-no-media {
    display: block;
    min-height: 0;
    isolation: isolate;
}

.cku-card-featured.cku-card-no-media::before,
.cku-card-featured.cku-card-no-media::after {
    content: '';
    position: absolute;
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
}

.cku-card-featured.cku-card-no-media::before {
    width: 330px;
    height: 330px;
    right: -80px;
    top: -115px;
    border: 1px solid rgba(78, 172, 242, .11);
    box-shadow: 0 0 60px rgba(40, 139, 214, .035) inset;
}

.cku-card-featured.cku-card-no-media::after {
    width: 180px;
    height: 180px;
    right: -5px;
    top: -40px;
    border: 1px solid rgba(91, 188, 255, .13);
}

.cku-card-media {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    background: #08111a;
}

.cku-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.cku-card:hover .cku-card-media img {
    transform: scale(1.015);
}

.cku-card-media-featured {
    min-height: 0;
    aspect-ratio: 16 / 9;
    align-self: center;
    margin: 22px 0 22px 22px;
    border: 1px solid rgba(103, 164, 210, .14);
    border-radius: 14px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .18);
}

.cku-media-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(4, 10, 15, .48));
    pointer-events: none;
}

.cku-card-body {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 25px 25px 22px;
}

.cku-card-featured .cku-card-body {
    justify-content: center;
    padding: 46px 44px 38px;
}

.cku-card-featured.cku-card-no-media .cku-card-body {
    z-index: 1;
    min-height: 300px;
    justify-content: flex-start;
    padding: 38px 40px 32px;
}

.cku-card-featured.cku-card-no-media .cku-card-title {
    max-width: 820px;
}

.cku-card-featured.cku-card-no-media .cku-card-excerpt {
    max-width: 840px;
}

.cku-card-topline {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 16px;
}

.cku-official-badge,
.cku-latest-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 25px;
    padding: 0 9px;
    border: 1px solid rgba(68, 165, 238, .22);
    border-radius: 999px;
    background: rgba(36, 130, 199, .08);
    color: #77c7ff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
}

.cku-official-dot {
    width: 5px;
    height: 5px;
}

.cku-latest-badge {
    border-color: rgba(157, 180, 197, .14);
    background: rgba(137, 157, 173, .06);
    color: #8da3b4;
}

.cku-card-title {
    margin: 0 !important;
    color: #f0f7fc !important;
    font-size: 23px !important;
    line-height: 1.2 !important;
    font-weight: 790 !important;
    letter-spacing: -.025em !important;
}

.cku-card-featured .cku-card-title {
    font-size: clamp(31px, 3.1vw, 48px) !important;
    line-height: 1.08 !important;
}

.cku-card-excerpt {
    white-space: normal;
    margin: 13px 0 0 !important;
    color: #8297aa !important;
    font-size: 13px !important;
    line-height: 1.72 !important;
}

.cku-card-featured .cku-card-excerpt {
    max-width: 610px;
    margin-top: 18px !important;
    font-size: 14px !important;
    line-height: 1.78 !important;
}

.cku-grid .cku-card-no-media .cku-card-body {
    min-height: 285px;
}

.cku-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: auto;
    padding-top: 25px;
}

.cku-author {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    text-decoration: none !important;
}

.cku-author img {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(107, 177, 230, .22);
    box-shadow: 0 0 0 3px rgba(27, 82, 123, .10);
}

.cku-card-featured .cku-author img {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
}

.cku-author-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cku-author-copy strong {
    overflow: hidden;
    color: #dce9f3;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.cku-author-copy span {
    margin-top: 3px;
    color: #587085;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.cku-card-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.cku-card-meta time {
    color: #5f7487;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .05em;
}

.cku-source-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #70bffc !important;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none !important;
}

.cku-source-link svg,
.cku-cta-button svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cku-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.cku-grid .cku-card {
    min-height: 100%;
}

.cku-pagination {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    margin-top: 30px;
    padding-top: 23px;
    border-top: 1px solid rgba(112, 158, 194, .11);
}

.cku-pagination > a:last-child {
    justify-self: end;
}

.cku-pagination a,
.cku-page-count {
    color: #7591a7 !important;
    font-size: 11px;
    font-weight: 750;
    text-decoration: none !important;
}

.cku-pagination a:hover {
    color: #79c7ff !important;
}

.cku-page-count {
    padding: 7px 10px;
    border: 1px solid rgba(112, 158, 194, .12);
    border-radius: 8px;
    background: rgba(9, 18, 27, .74);
    color: #587187 !important;
    font-size: 10px;
    letter-spacing: .08em;
}

.cku-empty {
    position: relative;
    overflow: hidden;
    min-height: 370px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 48px;
    border: 1px solid rgba(92, 166, 222, .19);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(8, 19, 29, .98), rgba(5, 12, 18, .98));
}

.cku-empty-mark {
    position: absolute;
    right: -16px;
    bottom: -50px;
    color: rgba(91, 171, 230, .055);
    font-size: 260px;
    line-height: .8;
    font-weight: 950;
    letter-spacing: -.1em;
}

.cku-empty p {
    max-width: 610px;
    margin: 14px 0 0 !important;
    color: #7f94a7 !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
}

@media (max-width: 1024px) {
    .cku-hero-inner,
    .cku-content {
        width: min(100% - 42px, 1120px);
    }

    .cku-hero-inner {
        padding-right: 300px;
    }

    .cku-hero-visual {
        right: 24px;
        width: 270px;
        height: 270px;
    }

    .cku-card-featured.cku-card-has-media {
        grid-template-columns: minmax(0, 1.18fr) minmax(340px, .82fr);
    }

    .cku-card-media-featured {
        margin: 18px 0 18px 18px;
    }

    .cku-card-featured .cku-card-body {
        padding: 34px 30px 30px;
    }

}

@media (max-width: 780px) {
    .cku-hero {
        min-height: auto;
    }

    .cku-hero-inner,
    .cku-content {
        width: calc(100% - 30px);
    }

    .cku-hero-inner {
        padding: 66px 0 56px;
    }

    .cku-hero-visual {
        display: none;
    }

    .cku-hero h1 {
        gap: 8px;
        font-size: clamp(46px, 14vw, 68px) !important;
    }

    .cku-hero-lead {
        margin-top: 25px !important;
        font-size: 22px !important;
    }

    .cku-hero-copy {
        font-size: 13px !important;
        line-height: 1.68 !important;
    }

    .cku-hero-note {
        width: 100%;
        min-width: 0;
        grid-template-columns: 36px minmax(0, 1fr) auto;
        gap: 11px;
        margin-top: 30px;
        padding: 10px;
        border-radius: 14px;
    }

    .cku-hero-note-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        font-size: 15px;
    }

    .cku-hero-note-copy strong {
        font-size: 11px;
    }

    .cku-hero-note-copy small {
        font-size: 10px;
    }

    .cku-hero-note-count {
        flex-direction: column;
        align-items: center;
        gap: 3px;
        min-width: 54px;
        padding: 7px 8px;
    }

    .cku-hero-note-count strong {
        font-size: 14px;
    }

    .cku-content {
        padding: 52px 0 76px;
    }

    .cku-section-head {
        align-items: flex-start;
        gap: 14px;
    }

    .cku-section-line {
        margin-top: 30px;
    }

    .cku-card-featured.cku-card-has-media,
    .cku-card-featured.cku-card-no-media {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .cku-card-media-featured {
        min-height: 0;
        aspect-ratio: 16 / 9;
        margin: 0;
        border: 0;
        border-bottom: 1px solid rgba(103, 164, 210, .12);
        border-radius: 0;
        box-shadow: none;
    }

    .cku-card-featured .cku-card-body,
    .cku-card-featured.cku-card-no-media .cku-card-body,
    .cku-card-body {
        min-height: 0;
        padding: 24px 20px 20px;
    }

    .cku-card-featured.cku-card-no-media::before {
        width: 220px;
        height: 220px;
        right: -100px;
        top: -80px;
    }

    .cku-card-featured.cku-card-no-media::after {
        display: none;
    }

    .cku-card-featured .cku-card-title {
        font-size: 29px !important;
    }

    .cku-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .cku-card-footer {
        align-items: flex-end;
    }

}

@media (max-width: 480px) {
    .cku-eyebrow,
    .cku-section-kicker {
        font-size: 10px;
        letter-spacing: .13em;
    }

    .cku-hero h1 {
        font-size: 48px !important;
    }

    .cku-section-head h2,
    .cku-empty h2 {
        font-size: 27px !important;
    }

    .cku-card-topline {
        flex-wrap: wrap;
    }

    .cku-card-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .cku-card-meta {
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .cku-empty {
        padding: 34px 22px;
    }

    .cku-pagination {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cku-pagination a,
    .cku-pagination > a:last-child {
        justify-self: center;
    }
}

/* v0.4.0 – newsroom filters + fully clickable cards */
.cku-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: -4px 0 24px;
}

.cku-filters a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid rgba(105, 158, 198, .14);
    border-radius: 999px;
    background: rgba(7, 16, 24, .68);
    color: #758ea2 !important;
    font-size: 10px;
    line-height: 1;
    font-weight: 850;
    letter-spacing: .075em;
    text-decoration: none !important;
    transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}

.cku-filters a:hover {
    transform: translateY(-1px);
    border-color: rgba(74, 172, 245, .34);
    color: #b7ddf8 !important;
}

.cku-filters a.is-active {
    border-color: rgba(77, 180, 255, .48);
    background: linear-gradient(135deg, rgba(31, 132, 205, .16), rgba(11, 54, 84, .18));
    color: #73c6ff !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.025), 0 8px 24px rgba(0, 108, 190, .06);
}

.cku-card-hitarea {
    position: absolute;
    inset: 0;
    z-index: 3;
    border-radius: inherit;
    text-decoration: none !important;
}

.cku-card .cku-author,
.cku-card .cku-source-link {
    position: relative;
    z-index: 4;
}

.cku-card-featured {
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.026),
        0 22px 64px rgba(0,0,0,.15),
        0 0 44px rgba(21, 116, 185, .035);
}

.cku-card-featured:hover {
    border-color: rgba(84, 177, 246, .39);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.035),
        0 28px 72px rgba(0,0,0,.20),
        0 0 58px rgba(24, 129, 203, .075);
}

@media (max-width: 782px) {
    .cku-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 7px;
        margin: -2px -2px 20px;
        padding: 2px 2px 7px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .cku-filters::-webkit-scrollbar {
        display: none;
    }

    .cku-filters a {
        flex: 0 0 auto;
        min-height: 32px;
        padding: 0 11px;
    }
}


/* v0.4.1 – Mobile newsroom polish only. Desktop remains unchanged. */
@media (max-width: 782px) {
    .cku-content {
        padding-top: 46px;
        padding-bottom: 68px;
    }

    .cku-section-head {
        gap: 0;
        margin-bottom: 18px;
    }

    .cku-section-head > div {
        min-width: 0;
        width: 100%;
    }

    .cku-section-head h2 {
        max-width: 100%;
        font-size: 26px !important;
        line-height: 1.08 !important;
        letter-spacing: -.03em !important;
        overflow-wrap: normal;
    }

    .cku-section-line {
        display: none;
    }

    /* Full-width, app-like horizontal category rail. The soft fade makes it
       clear that more categories can be swiped into view without showing a
       visibly cut-off pill at the viewport edge. */
    .cku-filters {
        width: auto;
        margin: 0 -15px 18px;
        padding: 2px 38px 8px 15px;
        scroll-padding-inline: 15px;
        overscroll-behavior-x: contain;
        -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 25px), transparent 100%);
        mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 25px), transparent 100%);
    }

    .cku-filters a {
        min-height: 31px;
        padding: 0 12px;
        font-size: 10px;
        letter-spacing: .07em;
    }

    .cku-card,
    .cku-card-featured {
        border-radius: 16px;
    }

    .cku-card-featured .cku-card-body,
    .cku-card-featured.cku-card-no-media .cku-card-body,
    .cku-card-body {
        padding: 20px 18px 18px;
    }

    .cku-card-topline {
        gap: 7px;
        margin-bottom: 13px;
    }

    .cku-official-badge,
    .cku-latest-badge {
        min-height: 24px;
        padding: 0 9px;
        font-size: 10px;
    }

    .cku-card-featured .cku-card-title {
        font-size: 27px !important;
        line-height: 1.08 !important;
    }

    .cku-card-title {
        font-size: 22px !important;
        line-height: 1.14 !important;
    }

    .cku-card-excerpt,
    .cku-card-featured .cku-card-excerpt {
        margin-top: 14px !important;
        font-size: 14px !important;
        line-height: 1.60 !important;
    }

    /* CK Updates is an overview. Keep enough text to understand the update,
       then lead to the original BuddyBoss post instead of producing very tall
       mobile cards. */
    .cku-card-featured .cku-card-excerpt {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 8;
        overflow: hidden;
    }

    .cku-grid .cku-card-excerpt {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 6;
        overflow: hidden;
    }

    .cku-card-footer {
        gap: 14px;
        padding-top: 20px;
    }

    .cku-card-featured .cku-author img {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .cku-grid {
        gap: 14px;
    }
}

@media (max-width: 480px) {
    .cku-section-head h2 {
        font-size: 25px !important;
    }

    .cku-card-footer {
        gap: 15px;
    }

    .cku-card-meta {
        gap: 7px;
    }
}


/* v0.4.2 – category accent system.
 * Keep cards dark; color is limited to category badges and active filters. */
.cku-category-plattform {
    border-color: rgba(80, 183, 255, .34);
    background: rgba(37, 139, 214, .10);
    color: #67c1ff;
}
.cku-category-plattform .cku-official-dot {
    background: #53b6ff;
    box-shadow: 0 0 13px rgba(83, 182, 255, .62);
}

.cku-category-community {
    border-color: rgba(167, 139, 250, .34);
    background: rgba(124, 92, 219, .10);
    color: #b8a4ff;
}
.cku-category-community .cku-official-dot {
    background: #a78bfa;
    box-shadow: 0 0 13px rgba(167, 139, 250, .58);
}

.cku-category-games {
    border-color: rgba(34, 211, 238, .34);
    background: rgba(22, 154, 177, .10);
    color: #5ee7f7;
}
.cku-category-games .cku-official-dot {
    background: #22d3ee;
    box-shadow: 0 0 13px rgba(34, 211, 238, .58);
}

.cku-category-services {
    border-color: rgba(45, 212, 191, .34);
    background: rgba(25, 149, 134, .10);
    color: #65e3d2;
}
.cku-category-services .cku-official-dot {
    background: #2dd4bf;
    box-shadow: 0 0 13px rgba(45, 212, 191, .56);
}

.cku-category-app {
    border-color: rgba(203, 213, 225, .28);
    background: rgba(148, 163, 184, .08);
    color: #d9e2ec;
}
.cku-category-app .cku-official-dot {
    background: #cbd5e1;
    box-shadow: 0 0 12px rgba(203, 213, 225, .42);
}

.cku-category-wichtig {
    border-color: rgba(255, 138, 91, .38);
    background: rgba(207, 78, 33, .11);
    color: #ff9c73;
}
.cku-category-wichtig .cku-official-dot {
    background: #ff7a45;
    box-shadow: 0 0 14px rgba(255, 103, 54, .62);
}

/* Category filter: inactive stays quiet; selected category inherits its own accent. */
.cku-filters .cku-filter-category-plattform.is-active {
    border-color: rgba(80, 183, 255, .50);
    background: rgba(37, 139, 214, .14);
    color: #72c7ff !important;
    box-shadow: 0 8px 24px rgba(37, 139, 214, .07);
}
.cku-filters .cku-filter-category-community.is-active {
    border-color: rgba(167, 139, 250, .50);
    background: rgba(124, 92, 219, .14);
    color: #bcaaff !important;
    box-shadow: 0 8px 24px rgba(124, 92, 219, .07);
}
.cku-filters .cku-filter-category-games.is-active {
    border-color: rgba(34, 211, 238, .50);
    background: rgba(22, 154, 177, .14);
    color: #68e9f8 !important;
    box-shadow: 0 8px 24px rgba(22, 154, 177, .07);
}
.cku-filters .cku-filter-category-services.is-active {
    border-color: rgba(45, 212, 191, .50);
    background: rgba(25, 149, 134, .14);
    color: #70e7d8 !important;
    box-shadow: 0 8px 24px rgba(25, 149, 134, .07);
}
.cku-filters .cku-filter-category-app.is-active {
    border-color: rgba(203, 213, 225, .40);
    background: rgba(148, 163, 184, .11);
    color: #e0e7ef !important;
    box-shadow: 0 8px 24px rgba(148, 163, 184, .05);
}
.cku-filters .cku-filter-category-wichtig.is-active {
    border-color: rgba(255, 138, 91, .54);
    background: rgba(207, 78, 33, .15);
    color: #ffa27c !important;
    box-shadow: 0 8px 24px rgba(207, 78, 33, .08);
}
