:root {
    --ja-navy: #062f52;
    --ja-blue: #075783;
    --ja-red: #063f69;
    --ja-ink: #172837;
    --ja-muted: #687987;
    --ja-line: #dfe7ed;
    --ja-soft: #f4f7f9;
    --ja-white: #ffffff;
}

/* Actions page, visually aligned with the Jongen Downloadcenter */
.ja {
    position: relative;
    max-width: 1180px;
    color: var(--ja-ink);
}

.ja.py-5 {
    padding-top: 0 !important;
    padding-bottom: 95px !important;
}

/* Full-width hero while keeping the existing Bootstrap container markup */
.ja-hero {
    position: relative;
    width: 100vw;
    max-width: none;
    margin: 0 0 70px calc(50% - 50vw);
    padding: 82px max(24px, calc((100vw - 1180px) / 2)) 72px;
    overflow: hidden;
    text-align: center;
    color: var(--ja-white);
    background:
        radial-gradient(circle at 85% 12%, rgba(31, 132, 183, .30), transparent 31%),
        linear-gradient(125deg, #031d33, #063f69 58%, #075f91);
}

.ja-hero::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 44px 44px;
}

.ja-hero > * {
    position: relative;
    z-index: 1;
}

.ja-hero span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #8cc9e8;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.ja-hero span::before {
    width: 32px;
    height: 2px;
    content: "";
    background: currentColor;
}

.ja-hero h1 {
    margin: 12px 0;
    color: var(--ja-white);
    font-size: clamp(2.35rem, 5vw, 4.4rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.045em;
}

.ja-hero p {
    max-width: 720px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .76);
    font-size: 1.08rem;
    line-height: 1.7;
}

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

.ja-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--ja-line);
    border-radius: 18px;
    background: var(--ja-white);
    box-shadow: 0 12px 35px rgba(18, 52, 75, .07);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.ja-card:hover {
    transform: translateY(-4px);
    border-color: rgba(6, 63, 105, .22);
    box-shadow: 0 18px 42px rgba(18, 52, 75, .13);
}

.ja-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #edf2f5;
}

.ja-media::after {
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    content: "";
    pointer-events: none;
    background: linear-gradient(transparent, rgba(3, 29, 51, .18));
}

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

.ja-card:hover .ja-media img {
    transform: scale(1.025);
}

.ja-body {
    padding: 26px 28px 28px;
}

.ja-date {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--ja-red);
    font-size: .70rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ja-date::before {
    width: 22px;
    height: 2px;
    content: "";
    background: currentColor;
}

.ja-body h2 {
    margin: 9px 0 10px;
    color: var(--ja-navy);
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -.025em;
}

.ja-teaser {
    margin: 0 0 10px;
    color: #405464;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.55;
}

.ja-content {
    color: var(--ja-muted);
    line-height: 1.7;
}

.ja-content p:last-child {
    margin-bottom: 0;
}

.ja-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 20px;
    padding: 11px 18px;
    border: 1px solid var(--ja-navy);
    border-radius: 10px;
    background: var(--ja-navy);
    color: var(--ja-white) !important;
    text-decoration: none !important;
    font-size: .86rem;
    font-weight: 800;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.ja-button::after {
    margin-left: 10px;
    content: "\2192";
    font-size: 1rem;
    line-height: 1;
}

.ja-button:hover,
.ja-button:focus-visible {
    border-color: var(--ja-red);
    background: var(--ja-red);
    color: var(--ja-white) !important;
    transform: translateX(2px);
}

.ja-button:focus-visible {
    outline: 3px solid rgba(6, 63, 105, .22);
    outline-offset: 3px;
}

.ja-empty {
    padding: 48px 25px;
    border: 1px solid var(--ja-line);
    border-radius: 18px;
    background: var(--ja-white);
    box-shadow: 0 12px 35px rgba(18, 52, 75, .06);
    color: var(--ja-muted);
    text-align: center;
}

@media (max-width: 991px) {
    .ja-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .ja.py-5 {
        padding-bottom: 65px !important;
    }

    .ja-hero {
        margin-bottom: 48px;
        padding-top: 58px;
        padding-bottom: 52px;
    }

    .ja-hero p {
        font-size: 1rem;
    }

    .ja-grid {
        gap: 18px;
    }

    .ja-card {
        border-radius: 15px;
    }

    .ja-body {
        padding: 22px 20px 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ja-card,
    .ja-media img,
    .ja-button {
        transition: none;
    }
}

/* FINAL: EINHEITLICHES JONGEN-BLAU */
:root {
    --ja-red: #063f69;
    --ja-accent: #063f69;
    --ja-accent-hover: #062f52;
    --ja-accent-active: #031d33;
    --ja-accent-light: #8cc9e8;
}

/* Heller Akzent auf dem dunklen Hero */
.ja-hero span {
    color: var(--ja-accent-light);
}

/* Einheitliche Aktionskarten */
.ja-card {
    border: 1px solid var(--ja-line);
    border-left: 4px solid var(--ja-accent);
    border-radius: 8px;
    box-shadow: none;
}

.ja-card:hover {
    transform: none;
    border-color: #c2d4de;
    border-left-color: var(--ja-accent-hover);
    box-shadow: 0 10px 28px rgba(6, 63, 105, .10);
}

.ja-date {
    color: var(--ja-accent);
}

/* Einheitlicher dunkelblauer Button */
.ja-button {
    border-color: var(--ja-accent);
    border-radius: 8px;
    background: var(--ja-accent);
    box-shadow: none;
}

.ja-button:hover,
.ja-button:focus-visible {
    border-color: var(--ja-accent-hover);
    background: var(--ja-accent-hover);
    color: var(--ja-white) !important;
    transform: none;
}

.ja-button:active {
    border-color: var(--ja-accent-active);
    background: var(--ja-accent-active);
}

.ja-button:focus-visible {
    outline: 3px solid rgba(6, 63, 105, .22);
    outline-offset: 3px;
}

.ja-empty {
    border-left: 4px solid var(--ja-accent);
    border-radius: 8px;
    box-shadow: none;
}

