/*
EinkommensNavigator - news.css
*/

.en-news-list-section{
    background:#FBF7EF;
    padding:clamp(40px,6vw,76px) 24px clamp(64px,7vw,92px);
}

.en-news-list-inner{
    width:min(1120px,100%);
    margin:0 auto;
}

.en-news-filters{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin:0 0 30px;
}

.en-news-filter{
    appearance:none;
    border:1px solid #E9DFC9;
    border-radius:999px;
    background:#FFFFFF;
    color:#0B1830;
    cursor:pointer;
    font:inherit;
    font-weight:700;
    line-height:1;
    padding:12px 18px;
    transition:
        background-color .2s ease,
        border-color .2s ease,
        color .2s ease,
        transform .2s ease;
}

.en-news-filter:hover{
    background:#C79A3B;
    border-color:#C79A3B;
    color:#0B1830;
    transform:translateY(-1px);
}

.en-news-filter.is-active{
    background:#0B1830;
    border-color:#0B1830;
    color:#FFFFFF;
}

.en-news-date-heading{
    color:#0B1830;
    font-family:Poppins,Inter,sans-serif;
    font-size:18px;
    line-height:1.2;
    margin:24px 0 10px;
}

.en-news-date-heading:first-child{
    margin-top:0;
}

.en-news-item{
    --news-project-color:#C79A3B;
    background:#FFFFFF;
    border:1px solid #E9DFC9;
    border-radius:14px;
    box-shadow:0 8px 20px rgba(15,23,42,.05);
    margin:0 0 8px;
    overflow:hidden;
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.en-news-item:hover{
    border-color:
        color-mix(
            in srgb,
            var(--news-project-color) 38%,
            #E9DFC9
        );

    box-shadow:
        0 14px 34px rgba(15,23,42,.09);

    transform:translateY(-2px);
}

.en-news-item-link{
    align-items:center;
    color:#243247;
    display:grid;
    gap:14px;
    grid-template-columns:44px minmax(0,1fr) auto;
    min-height:72px;
    padding:10px 18px;
    text-decoration:none;
}

.site-page-content .en-news-item-link,
.site-page-content .en-news-item-link:hover,
.site-page-content .en-news-item-link:focus,
.site-page-content .en-news-item-link:active,
.site-page-content .en-news-item-link .en-news-item-title,
.site-page-content .en-news-item-link .en-news-item-teaser,
.site-page-content .en-news-item-link .en-news-item-more{
    text-decoration:none !important;
    text-decoration-line:none !important;
}

.site-page-content .en-news-item-link:hover .en-news-item-more,
.site-page-content .en-news-item-link:focus .en-news-item-more{
    color:#C79A3B;
    transform:translateX(3px);
}

.en-news-project-mark{
    align-items:center;
    background:#FFFFFF;
    border:
        1px solid
        color-mix(
            in srgb,
            var(--news-project-color) 32%,
            #E9DFC9
        );
    border-radius:14px;
    display:flex;
    height:44px;
    justify-content:center;
    overflow:hidden;
    padding:6px;
    width:44px;
}

.en-news-project-mark img{
    display:block;
    height:100%;
    max-height:100%;
    max-width:100%;
    object-fit:contain;
    object-position:center;
    width:100%;
}

.en-news-project-mark-text{
    color:var(--news-project-color);
    font-weight:800;
    letter-spacing:.02em;
}

.en-news-item-body{
    display:block;
    min-width:0;
}

.en-news-item-title{
    color:#0B1830;
    display:block;
    font-family:Poppins,Inter,sans-serif;
    font-size:16px;
    font-weight:800;
    line-height:1.2;
    margin:0 0 2px;
}

.en-news-item-teaser{
    color:#243247;
    display:-webkit-box;
    font-size:16px;
    line-height:1.3;
    overflow:hidden;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
}

.en-news-video-note{
    align-items:center;
    color:#667085;
    display:inline-flex;
    font-size:12px;
    font-weight:400;
    gap:5px;
    line-height:1.2;
    margin-top:2px;
}

.en-news-item-more{
    color:#0B1830;
    font-weight:800;
    transition:
        color .2s ease,
        transform .2s ease;
    white-space:nowrap;
}

.en-news-load-more-wrap{
    display:flex;
    justify-content:center;
    margin-top:28px;
}

.en-news-load-more{
    appearance:none;
    background:#FFFFFF;
    border:1px solid #E9DFC9;
    border-radius:999px;
    color:#0B1830;
    cursor:pointer;
    font:inherit;
    font-weight:800;
    padding:14px 24px;
    transition:
        background-color .2s ease,
        border-color .2s ease,
        color .2s ease,
        transform .2s ease;
}

.en-news-load-more:hover{
    background:#C79A3B;
    border-color:#C79A3B;
    color:#0B1830;
    transform:translateY(-1px);
}

.en-news-load-more:disabled{
    cursor:wait;
    opacity:.65;
}

.en-news-empty{
    background:#FFFFFF;
    border:1px solid #E9DFC9;
    border-radius:18px;
    color:#243247;
    margin:0;
    padding:24px;
}

.en-news-single{
    background:#FFFFFF;
}

.en-news-single-article{
    margin:0 auto;
    padding:24px 24px clamp(72px,8vw,110px);
    width:min(880px,100%);
}

.en-news-single-header{
    margin-bottom:12px;
}

.en-news-single-meta{
    align-items:center;
    color:#64748b;
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    font-size:15px;
    font-weight:700;
    margin-bottom:14px;
}

.en-news-single-title{
    color:#0B1830;
    font-family:Poppins,Inter,sans-serif;
    font-size:34px;
    line-height:1.15;
    margin:0;
}

.en-news-single-image{
    border-radius:16px;
    margin:0 auto 16px;
    max-width:360px;
    overflow:hidden;
    width:100%;
}

.en-news-single-image img{
    display:block;
    height:auto;
    margin:0 auto;
    width:100%;
}

.en-news-single-content{
    color:#243247;
    font-size:18px;
    line-height:1.75;
}

.en-news-single-content > :first-child{
    margin-top:0;
}

.en-news-single-content > * + *{
    margin-top:1.15em;
}

.en-news-single-video-note{
    color:#667085;
    font-size:14px;
    font-weight:400;
    line-height:1.2;
    margin:12px 0 0;
}

.en-news-source-link{
    color:#0B1830;
    display:inline-flex;
    font-weight:800;
    margin-top:34px;
    text-decoration:none;
}

.en-news-source-link:hover{
    color:#C79A3B;
}

.en-news-single-video-note + .en-news-source-link{
    margin-top:4px;
}


/* =====================================================
   NEWS-VIDEO – VORSCHAU
===================================================== */

.en-news-video-preview{
    appearance:none;
    border:0;
    cursor:pointer;
    display:block;
    max-width:430px;
    padding:0;
    position:relative;
    width:100%;
}

.en-news-video-preview::after{
    background:rgba(11,24,48,.14);
    content:"";
    inset:0;
    pointer-events:none;
    position:absolute;
}

.en-news-video-preview-play,
.en-news-video-fallback-play{
    align-items:center;
    background:#0B1830;
    border:2px solid rgba(255,255,255,.92);
    border-radius:999px;
    box-shadow:0 10px 30px rgba(11,24,48,.28);
    color:#FFFFFF;
    display:flex;
    height:58px;
    justify-content:center;
    left:50%;
    padding-left:4px;
    position:absolute;
    top:50%;
    transform:translate(-50%,-50%);
    width:58px;
    z-index:2;
}

.en-news-video-preview:hover .en-news-video-preview-play,
.en-news-video-preview:focus-visible .en-news-video-preview-play{
    background:#C79A3B;
    color:#0B1830;
}

.en-news-video-fallback-preview{
    align-items:center;
    appearance:none;
    background:
        linear-gradient(
            135deg,
            #0B1830,
            #243247
        );
    border:0;
    border-radius:16px;
    color:#FFFFFF;
    cursor:pointer;
    display:flex;
    font:inherit;
    font-weight:800;
    gap:14px;
    justify-content:center;
    margin:0 auto 16px;
    min-height:180px;
    position:relative;
    width:min(360px,100%);
}

.en-news-video-fallback-preview .en-news-video-fallback-play{
    left:auto;
    position:relative;
    top:auto;
    transform:none;
}


/* =====================================================
   ZUSÄTZLICHEN VIDEO-BUTTON AUSBLENDEN
===================================================== */

.en-news-single-video-button{
    display:none !important;
}


/* =====================================================
   NEWS-VIDEO – MODAL
===================================================== */

body.en-news-video-modal-open{
    overflow:hidden;
}

.en-news-video-modal[hidden]{
    display:none !important;
}

.en-news-video-modal{
    align-items:center;
    display:flex;
    inset:0;
    justify-content:center;
    padding:28px;
    position:fixed;
    z-index:9999;
}

.en-news-video-modal-backdrop{
    background:rgba(8,15,28,.72);
    backdrop-filter:blur(6px);
    -webkit-backdrop-filter:blur(6px);
    inset:0;
    position:absolute;
}

.en-news-video-modal-dialog{
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.22),
            rgba(255,255,255,.08)
        );

    border:
        1px solid rgba(255,255,255,.32);

    border-radius:24px;

    box-shadow:
        0 36px 90px rgba(0,0,0,.38),
        inset 0 1px 0 rgba(255,255,255,.30);

    max-height:90vh;
    position:relative;
    width:min(1040px,94vw);
    z-index:1;
}

.en-news-video-modal-frame{
    align-items:center;
    aspect-ratio:16/9;
    background:#050b16;
    border-radius:22px;
    display:flex;
    justify-content:center;
    overflow:hidden;
    position:relative;
    width:100%;
}

.en-news-video-modal-frame video{
    background:#050b16;
    border:0;
    display:block;
    height:100%;
    max-height:88vh;
    width:100%;
}

.en-news-video-modal-close{
    align-items:center;
    appearance:none;
    background:#FFFFFF;
    border:0;
    border-radius:50%;
    box-shadow:
        0 16px 30px rgba(0,0,0,.25),
        inset 0 1px 0 #FFFFFF;
    color:#0B1830;
    cursor:pointer;
    display:flex;
    font-size:28px;
    height:46px;
    justify-content:center;
    line-height:1;
    position:absolute;
    right:-18px;
    top:-18px;
    width:46px;
    z-index:3;
}

.en-news-video-modal-close:hover,
.en-news-video-modal-close:focus-visible{
    background:#C79A3B;
    color:#0B1830;
}

.en-news-video-modal-close:focus-visible{
    outline:3px solid rgba(199,154,59,.48);
    outline-offset:3px;
}


/* =====================================================
   NEWS-VIDEO – COMPLIANZ / CONSENT
===================================================== */

.en-news-video-modal.is-consent .en-news-video-modal-dialog{
    background:#FFFFFF;
    border:1px solid rgba(15,23,42,.08);
    border-radius:24px;
    width:min(620px,94vw);
}

.en-news-video-modal.is-consent .en-news-video-modal-frame{
    aspect-ratio:auto;
    background:#FFFFFF;
    border-radius:24px;
    min-height:0;
}

.en-news-video-consent{
    align-items:center;
    background:#FFFFFF;
    display:flex;
    flex-direction:column;
    gap:14px;
    justify-content:center;
    padding:30px 28px 26px;
    text-align:center;
    width:100%;
}

.en-news-video-consent h3{
    color:#0B1830;
    font-family:Poppins,Inter,sans-serif;
    font-size:clamp(1.2rem,2.5vw,1.5rem);
    font-weight:800;
    line-height:1.25;
    margin:0;
}

.en-news-video-consent p{
    color:#526276;
    font-size:15px;
    line-height:1.55;
    margin:0;
    max-width:500px;
}

.en-news-video-consent-button{
    align-items:center;
    appearance:none;
    background:#0B1830;
    border:1px solid #0B1830;
    border-radius:10px;
    color:#FFFFFF;
    cursor:pointer;
    display:inline-flex;
    font:inherit;
    font-weight:800;
    justify-content:center;
    margin-top:2px;
    min-height:46px;
    padding:11px 18px;
}

.en-news-video-consent-button:hover,
.en-news-video-consent-button:focus-visible{
    background:#C79A3B;
    border-color:#C79A3B;
    color:#0B1830;
}


/* =====================================================
   COMPLIANZ IMMER ÜBER DEM NEWS-VIDEO-MODAL
===================================================== */

#cmplz-cookiebanner-container,
.cmplz-cookiebanner,
.cmplz-soft-cookiewall{
    z-index:2147483646 !important;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width:900px){

    .en-news-single-header{
        margin-bottom:10px;
    }

    .en-news-single-meta{
        margin-bottom:12px;
    }

    .en-news-single-title{
        font-size:30px;
        line-height:1.15;
    }

    .en-news-single-image{
        margin-top:0;
        margin-bottom:14px;
        max-width:430px;
    }

    .en-news-single-article{
        padding-top:48px;
    }
}


@media (max-width:700px){

    .en-news-list-section{
        padding:34px 18px 58px;
    }

    .en-news-date-heading{
        margin:22px 0 10px;
    }

    .en-news-item-link{
        align-items:flex-start;
        gap:12px;
        grid-template-columns:42px minmax(0,1fr);
        min-height:68px;
        padding:10px 14px;
    }

    .en-news-project-mark{
        border-radius:13px;
        height:42px;
        padding:6px;
        width:42px;
    }

    .en-news-project-mark img{
        height:100%;
        max-height:100%;
        max-width:100%;
        width:100%;
    }

    .en-news-item-more{
        grid-column:2;
    }
}


@media (max-width:640px){

    .en-news-single-header{
        margin-bottom:10px;
    }

    .en-news-single-meta{
        margin-bottom:10px;
    }

    .en-news-single-title{
        font-size:26px;
        line-height:1.15;
    }

    .en-news-single-image{
        margin-top:0;
        margin-bottom:12px;
        max-width:280px;
    }

    .en-news-single-article{
        padding-top:32px;
    }

    .en-news-video-modal{
        padding:16px;
    }

    .en-news-video-modal-dialog{
        border-radius:17px;
        width:100%;
    }

    .en-news-video-modal-close{
        height:42px;
        right:-8px;
        top:-14px;
        width:42px;
    }

    .en-news-video-modal-frame{
        border-radius:17px;
    }

    .en-news-video-modal.is-consent .en-news-video-modal-dialog{
        width:100%;
    }

    .en-news-video-modal.is-consent .en-news-video-modal-frame{
        border-radius:17px;
    }

    .en-news-video-consent{
        padding:26px 18px 22px;
    }

    .en-news-video-consent-button{
        width:100%;
    }
}

.en-news-single-content a{
    color:#0B1830;
    font-weight:700;
    text-decoration:underline !important;
    text-decoration-thickness:1.5px;
    text-underline-offset:3px;
}

.en-news-single-content a:hover,
.en-news-single-content a:focus{
    color:#C79A3B;
    text-decoration:underline !important;
}

/* =====================================================
   WEITERE INFORMATIONSQUELLEN
===================================================== */

.en-news-sources{
    margin-top:54px;
}

.en-news-sources-title{
    color:#0B1830;
    font-family:Poppins,Inter,sans-serif;
    font-size:clamp(22px,2.2vw,28px);
    font-weight:800;
    line-height:1.2;
    margin:0 0 10px;
}

.en-news-sources-intro{
    color:#243247;
    font-size:16px;
    line-height:1.55;
    margin:0 0 18px;
}

.en-news-source-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}

.en-news-source-card{
    align-items:center;
    background:#FFFFFF;
    border:1px solid #E9DFC9;
    border-radius:14px;
    box-shadow:0 6px 16px rgba(15,23,42,.045);
    color:#243247;
    display:grid;
    gap:12px;
    grid-template-columns:minmax(0,1fr) minmax(0,1.45fr);
    min-height:58px;
    padding:10px 18px;
    text-decoration:none !important;
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.site-page-content .en-news-source-card,
.site-page-content .en-news-source-card:hover,
.site-page-content .en-news-source-card:focus,
.site-page-content .en-news-source-card:active{
    color:#243247;
    text-decoration:none !important;
    text-decoration-line:none !important;
}

.en-news-source-card:hover,
.en-news-source-card:focus-visible{
    border-color:#C79A3B;
    box-shadow:0 14px 34px rgba(15,23,42,.09);
    transform:translateY(-2px);
}

.en-news-source-card-body{
    min-width:0;
}

.en-news-source-card-title{
    color:#0B1830;
    display:block;
    font-family:Poppins,Inter,sans-serif;
    font-size:16px;
    font-weight:800;
    line-height:1.2;
    margin:0;
}

.en-news-source-card-text{
    color:#526276;
    display:block;
    font-size:14px;
    line-height:1.45;
}

.en-news-source-card-arrow{
    color:#C79A3B;
    font-size:20px;
    font-weight:800;
    line-height:1;
    transition:transform .2s ease;
}

.en-news-source-card:hover .en-news-source-card-arrow,
.en-news-source-card:focus-visible .en-news-source-card-arrow{
    transform:translate(2px,-2px);
}

@media (max-width:700px){
    .en-news-sources{
        margin-top:42px;
    }

    .en-news-source-grid{
        grid-template-columns:1fr;
    }

    .en-news-source-card{
        grid-template-columns:1fr;
        gap:4px;
        min-height:0;
        padding:11px 14px;
    }
}

/* =====================================================
   NEWS-BILD – KLICKBAR / VERGRÖSSERUNG
===================================================== */

.en-news-image-preview{
    appearance:none;
    background:transparent;
    border:0;
    cursor:zoom-in;
    display:block;
    padding:0;
    position:relative;
}

.en-news-image-preview img{
    transition:transform .2s ease;
}

.en-news-image-preview:hover img,
.en-news-image-preview:focus-visible img{
    transform:scale(1.015);
}

.en-news-image-preview:focus-visible{
    outline:3px solid rgba(199,154,59,.48);
    outline-offset:4px;
}


/* =====================================================
   NEWS-BILD – MODAL
===================================================== */

body.en-news-image-modal-open{
    overflow:hidden;
}

.en-news-image-modal[hidden]{
    display:none !important;
}

.en-news-image-modal{
    align-items:center;
    display:flex;
    inset:0;
    justify-content:center;
    padding:28px;
    position:fixed;
    z-index:9999;
}

.en-news-image-modal-backdrop{
    background:rgba(8,15,28,.82);
    backdrop-filter:blur(6px);
    -webkit-backdrop-filter:blur(6px);
    inset:0;
    position:absolute;
}

.en-news-image-modal-dialog{
    align-items:center;
    display:flex;
    justify-content:center;
    max-height:92vh;
    max-width:94vw;
    position:relative;
    z-index:1;
}

.en-news-image-modal-image{
    background:#FFFFFF;
    border-radius:14px;
    box-shadow:0 32px 90px rgba(0,0,0,.45);
    display:block;
    height:auto;
    max-height:88vh;
    max-width:92vw;
    object-fit:contain;
    width:auto;
}

.en-news-image-modal-close{
    align-items:center;
    appearance:none;
    background:#FFFFFF;
    border:0;
    border-radius:50%;
    box-shadow:0 16px 30px rgba(0,0,0,.25);
    color:#0B1830;
    cursor:pointer;
    display:flex;
    font-size:28px;
    height:46px;
    justify-content:center;
    line-height:1;
    position:absolute;
    right:-18px;
    top:-18px;
    width:46px;
    z-index:3;
}

.en-news-image-modal-close:hover,
.en-news-image-modal-close:focus-visible{
    background:#C79A3B;
    color:#0B1830;
}

.en-news-image-modal-close:focus-visible{
    outline:3px solid rgba(199,154,59,.48);
    outline-offset:3px;
}

@media (max-width:640px){
    .en-news-image-modal{
        padding:16px;
    }

    .en-news-image-modal-image{
        max-height:86vh;
        max-width:94vw;
    }

    .en-news-image-modal-close{
        height:42px;
        right:-8px;
        top:-14px;
        width:42px;
    }
}

