/*
Theme Name: RegioNieuws Emmen
Theme URI: https://regionieuwsemmen.nl/
Author: RegioNieuws Emmen
Description: Professioneel nieuwsmedium-thema voor RegioNieuws Emmen.
Version: 2.3
*/

:root{
    --blue:#0b5cff;
    --cyan:#12bdf2;
    --navy:#061a43;
    --text:#172033;
    --muted:#65738a;
    --line:#e5eaf1;
    --bg:#f6f8fb;
}

*{
    box-sizing:border-box;
}

html,
body{
    margin:0;
    padding:0;
}

body{
    font-family:Arial,Helvetica,sans-serif;
    color:var(--text);
    background:#fff;
    line-height:1.55;
}

a{
    color:inherit;
    text-decoration:none;
}

img{
    max-width:100%;
    height:auto;
    display:block;
}


/* =========================================================
   HEADER
========================================================= */

.site-header{
    background:#fff;
    border-top:4px solid var(--blue);
    box-shadow:0 1px 8px rgba(0,0,0,.06);
    position:relative;
    z-index:10;
}

.header-inner{
    max-width:1320px;
    margin:0 auto;
    min-height:86px;
    padding:14px 24px;
    display:flex;
    align-items:center;
    gap:36px;
}

.brand{
    display:flex;
    align-items:center;
    flex:0 0 auto;
    line-height:0;
    text-decoration:none;
}

.rne-header-logo{
    display:block;
    width:190px;
    max-width:190px;
    height:auto;
    max-height:58px;
    object-fit:contain;
}

.brand-fallback{
    font-weight:900;
    font-size:24px;
    color:var(--navy);
    letter-spacing:-1px;
}

.brand-fallback span{
    color:var(--blue);
}

.main-nav{
    margin-left:auto;
}

.main-nav ul{
    list-style:none;
    margin:0;
    padding:0;
    display:flex;
    align-items:center;
    gap:28px;
}

.main-nav a{
    font-weight:800;
    color:#2451cf;
    font-size:15px;
}

.main-nav a:hover{
    color:var(--blue);
}


/* =========================================================
   SUBBAR
========================================================= */

.subbar{
    background:var(--navy);
    color:#fff;
}

.subbar-inner{
    max-width:1320px;
    margin:auto;
    padding:11px 24px;
    display:flex;
    gap:18px;
    align-items:center;
}

.subbar-title{
    font-size:13px;
    font-weight:900;
    letter-spacing:1.3px;
    color:#18c7f3;
}

.subbar-text{
    font-size:13px;
    color:#fff;
}


/* =========================================================
   BASIS
========================================================= */

.container{
    width:min(1320px,calc(100% - 40px));
    margin:0 auto;
}

.site-main{
    padding:32px 0 60px;
    background:#fff;
}


/* =========================================================
   HERO + RECHTERKOLOM
========================================================= */

/*
   BELANGRIJK:

   De hero links is 340px hoog.
   De rechterkolom mag langer zijn zonder de linker
   kolom naar beneden te duwen.
*/

.hero-layout{
    display:grid;
    grid-template-columns:minmax(0,2fr) minmax(300px,1fr);
    column-gap:24px;
    align-items:start;
    margin-bottom:0;
}

.hero-card{
    position:relative;
    width:100%;
    height:600px;
    min-height:340px;
    max-height:600px;
    border-radius:8px;
    overflow:hidden;
    background:#06183f;
}

.hero-card img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    max-width:none;
    object-fit:cover;
    object-position:center center;
}

.hero-card:after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        0deg,
        rgba(0,0,0,.82),
        rgba(0,0,0,.04) 70%
    );
    z-index:1;
}

.hero-content{
    position:absolute;
    z-index:2;
    left:32px;
    right:32px;
    bottom:28px;
    color:#fff;
}

.kicker{
    display:inline-block;
    font-size:11px;
    font-weight:900;
    letter-spacing:1.2px;
    text-transform:uppercase;
    color:#fff;
    background:#f10d45;
    border-radius:5px;
    padding:5px 9px;
    margin-bottom:12px;
}

.hero-title{
    font-size:34px;
    line-height:1.08;
    margin:0;
    font-weight:900;
    max-width:850px;
}


/* =========================================================
   RECHTERKANT HERO
========================================================= */

.side-stack{
    display:grid;
    gap:24px;
    align-content:start;

    /*
       Zorgt ervoor dat de rechterkant gewoon zijn
       eigen hoogte heeft en niet de linker content
       naar beneden duwt.
    */
    min-width:0;
}

.promo-card,
.ad-card,
.info-card{
    border:1px solid var(--line);
    border-radius:12px;
    background:#fff;
    overflow:hidden;
}

.promo-card img{
    width:100%;
    aspect-ratio:16/9;
    object-fit:cover;
}

.card-body{
    padding:22px;
}

.card-kicker{
    font-size:11px;
    color:var(--blue);
    font-weight:900;
    letter-spacing:1.3px;
    text-transform:uppercase;
}

.card-title{
    font-size:21px;
    line-height:1.2;
    font-weight:900;
    margin:8px 0 12px;
}

.card-text{
    font-size:14px;
    color:var(--muted);
    margin:0;
}

.ad-card{
    min-height:250px;
    padding:18px;
    text-align:center;
    color:#8b97a8;
    font-size:12px;
}

.ad-placeholder{
    height:190px;
    margin-top:10px;
    background:#eef2f6;
    border-radius:8px;
    display:flex;
    align-items:center;
    justify-content:center;
}


/* =========================================================
   LAATSTE NIEUWS
========================================================= */

/*
   Dit is de belangrijkste aanpassing.

   Laatste nieuws begint direct na de 340px hoge hero,
   terwijl de rechterkolom gewoon door kan lopen.
*/

.content-grid{
    display:grid;
    grid-template-columns:minmax(0,2fr) minmax(300px,1fr);
    column-gap:28px;
    align-items:start;

    /*
       Geen grote margin-top.
       De linkerzijde sluit direct aan op de hero.
    */
    margin-top:28px;
}


/* linker nieuws */

.latest-list{
    display:grid;
    gap:0;
}

.section-head{
    display:flex;
    justify-content:space-between;
    align-items:end;
    border-bottom:2px solid var(--line);
    padding-bottom:12px;
    margin-bottom:20px;
}

.section-kicker{
    font-size:11px;
    font-weight:900;
    color:var(--blue);
    letter-spacing:1.5px;
    text-transform:uppercase;
}

.section-title{
    font-size:30px;
    line-height:1.1;
    margin:4px 0 0;
    font-weight:900;
}

.more{
    color:var(--blue);
    font-weight:800;
    font-size:14px;
}

.news-item{
    display:grid;
    grid-template-columns:210px minmax(0,1fr);
    gap:20px;
    padding:20px 0;
    border-bottom:1px solid var(--line);
}

.news-thumb{
    width:210px;
    height:125px;
    border-radius:9px;
    object-fit:cover;
    background:#edf1f5;
}

.news-meta{
    font-size:11px;
    color:var(--blue);
    font-weight:900;
    letter-spacing:1px;
    text-transform:uppercase;
}

.news-title{
    font-size:21px;
    line-height:1.25;
    margin:7px 0 8px;
    font-weight:900;
}

.news-excerpt{
    font-size:14px;
    color:var(--muted);
    margin:0;
}


/* =========================================================
   SIDEBAR BIJ LAATSTE NIEUWS
========================================================= */

.sidebar{
    display:grid;
    gap:20px;
    align-content:start;
    min-width:0;
}


/* =========================================================
   TIPBOX
========================================================= */

.tip-box{
    background:linear-gradient(120deg,#061b45,#10418f);
    color:#fff;
    padding:30px;
    border-radius:0;
}

.tip-inner{
    max-width:1320px;
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
    padding:0 24px;
}

.tip-kicker{
    color:#18c7f3;
    font-size:11px;
    font-weight:900;
    letter-spacing:1.4px;
    text-transform:uppercase;
}

.tip-title{
    font-size:28px;
    font-weight:900;
    margin:5px 0;
}

.tip-text{
    margin:0;
    color:#dce7ff;
}

.button{
    display:inline-block;
    background:#fff;
    color:#07317b;
    font-weight:900;
    border-radius:5px;
    padding:11px 16px;
    white-space:nowrap;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer{
    background:#061a43;
    color:#fff;
    padding:30px 0;
}

.footer-inner{
    max-width:1320px;
    margin:auto;
    padding:0 24px;
    display:flex;
    justify-content:space-between;
    gap:30px;
}


/* =========================================================
   ARTIKEL
========================================================= */

.single-wrap{
    max-width:920px;
    margin:0 auto;
}

.article-title{
    font-size:46px;
    line-height:1.08;
    margin:8px 0 16px;
    font-weight:900;
}

.article-meta{
    color:var(--muted);
    font-size:14px;
    margin-bottom:24px;
}

.article-image{
    width:100%;
    border-radius:12px;
    margin-bottom:28px;
}

.entry-content{
    font-size:18px;
    line-height:1.75;
}

.entry-content p{
    margin:0 0 1.2em;
}

.entry-content h2{
    font-size:30px;
    line-height:1.2;
    margin-top:1.5em;
}

.archive-title{
    font-size:38px;
    margin:0 0 24px;
}

.pagination{
    padding-top:30px;
    display:flex;
    gap:8px;
}

.pagination a,
.pagination span{
    border:1px solid var(--line);
    padding:8px 12px;
    border-radius:5px;
}


/* =========================================================
   REGIONIEUWS PAGINA'S
========================================================= */

.rne-page{
    max-width:1100px;
    margin:0 auto;
    padding:34px 0 70px;
}

.rne-page-header{
    background:linear-gradient(120deg,#061a43,#10418f);
    color:#fff;
    border-radius:12px;
    padding:42px 44px;
    margin-bottom:28px;
}

.rne-page-header .eyebrow{
    display:block;
    color:#18c7f3;
    font-size:11px;
    font-weight:900;
    letter-spacing:1.5px;
    text-transform:uppercase;
    margin-bottom:7px;
}

.rne-page-header h1{
    font-size:42px;
    line-height:1.1;
    margin:0 0 8px;
    font-weight:900;
}

.rne-page-header p{
    margin:0;
    color:#dce7ff;
    font-size:16px;
}

.rne-page-content{
    background:#fff;
}

.rne-page-content h2{
    font-size:29px;
    line-height:1.2;
    color:#061a43;
    margin:34px 0 12px;
    font-weight:900;
}

.rne-page-content h3{
    font-size:20px;
    color:#061a43;
    margin:0 0 8px;
    font-weight:900;
}

.rne-page-content p{
    font-size:17px;
    line-height:1.75;
    color:#536176;
    margin:0 0 18px;
}

.rne-page-content a{
    color:#075de8;
    font-weight:700;
}

.rne-card-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
    margin:28px 0;
}

.rne-card{
    border:1px solid #e5eaf1;
    border-radius:10px;
    padding:24px;
    background:#fff;
}

.rne-card .icon{
    width:42px;
    height:42px;
    border-radius:8px;
    background:#eaf2ff;
    color:#075de8;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:900;
    margin-bottom:16px;
}

.rne-card p{
    font-size:14px;
    line-height:1.65;
    margin:0;
}

.rne-highlight{
    border-left:4px solid #075de8;
    background:#f6f8fb;
    padding:20px 22px;
    margin:25px 0;
}

.rne-button{
    display:inline-block;
    background:#075de8;
    color:#fff!important;
    padding:12px 18px;
    border-radius:5px;
    font-weight:900;
    text-decoration:none;
}

.rne-button:hover{
    background:#064bc0;
}

.rne-contact-grid{
    display:grid;
    grid-template-columns:1.2fr .8fr;
    gap:22px;
}

.rne-contact-box{
    border:1px solid #e5eaf1;
    border-radius:10px;
    padding:24px;
    background:#fff;
}

.rne-contact-label{
    display:block;
    font-size:11px;
    color:#075de8;
    font-weight:900;
    letter-spacing:1.2px;
    text-transform:uppercase;
    margin-bottom:4px;
}


/* =========================================================
   CONTACTFORMULIER
========================================================= */

.rne-contact-form-wrap{
    margin-top:22px;
    border:1px solid var(--line);
    border-radius:12px;
    background:#fff;
    padding:28px;
}

.rne-contact-form{
    display:grid;
    gap:18px;
}

.rne-contact-form label{
    display:grid;
    gap:7px;
}

.rne-contact-form label>span{
    font-size:12px;
    font-weight:900;
    letter-spacing:.8px;
    text-transform:uppercase;
    color:var(--navy);
}

.rne-contact-form input,
.rne-contact-form textarea{
    width:100%;
    border:1px solid #dce3ed;
    border-radius:7px;
    background:#fff;
    padding:12px 13px;
    font:inherit;
    color:var(--text);
    outline:none;
}

.rne-contact-form input:focus,
.rne-contact-form textarea:focus{
    border-color:var(--blue);
    box-shadow:0 0 0 3px rgba(11,92,255,.10);
}

.rne-contact-form textarea{
    resize:vertical;
    min-height:170px;
}

.rne-form-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}

.rne-notice{
    padding:15px 18px;
    border-radius:8px;
    margin:0 0 22px;
    font-weight:700;
}

.rne-notice-success{
    background:#eaf8ef;
    color:#176b35;
    border:1px solid #bde8ca;
}

.rne-notice-error{
    background:#fff0f2;
    color:#a31837;
    border:1px solid #f1bdc9;
}

.rne-contact-box h2{
    margin-top:0;
}

.rne-contact-box p:last-child{
    margin-bottom:0;
}


/* =========================================================
   TABLET
========================================================= */

@media(max-width:900px){

    .header-inner{
        gap:16px;
        flex-wrap:wrap;
    }

    .main-nav{
        width:100%;
        overflow:auto;
    }

    .main-nav ul{
        gap:18px;
    }

    .hero-layout,
    .content-grid{
        grid-template-columns:1fr;
    }

    .hero-card{
        height:430px;
        min-height:430px;
        max-height:430px;
    }

    .side-stack{
        margin-top:24px;
    }

    .news-item{
        grid-template-columns:150px 1fr;
    }

    .news-thumb{
        width:150px;
        height:100px;
    }

    .rne-card-grid,
    .rne-contact-grid{
        grid-template-columns:1fr;
    }

}


/* =========================================================
   MOBIEL
========================================================= */

@media(max-width:600px){

    .container{
        width:min(100% - 24px,1320px);
    }

    .header-inner{
        padding:12px;
    }

    .subbar-inner{
        padding:9px 12px;
    }

    .main-nav ul{
        gap:15px;
    }

    .main-nav a{
        font-size:13px;
    }

    .hero-card{
        height:340px;
        min-height:340px;
        max-height:340px;
    }

    .hero-content{
        left:20px;
        right:20px;
        bottom:20px;
    }

    .hero-title{
        font-size:28px;
    }

    .content-grid{
        margin-top:24px;
    }

    .news-item{
        grid-template-columns:1fr;
        gap:10px;
    }

    .news-thumb{
        width:100%;
        height:190px;
    }

    .tip-inner,
    .footer-inner{
        padding:0 12px;
        flex-direction:column;
        align-items:flex-start;
    }

    .article-title{
        font-size:34px;
    }

    .rne-page{
        padding:24px 0 50px;
    }

    .rne-page-header{
        padding:30px 25px;
    }

    .rne-page-header h1{
        font-size:34px;
    }

    .rne-form-row{
        grid-template-columns:1fr;
    }

    .rne-contact-form-wrap{
        padding:20px;
    }

}


/* =========================================================
   KLEINE SCHERMEN HEADER LOGO
========================================================= */

@media(max-width:700px){

    .rne-header-logo{
        width:160px;
        max-width:160px;
    }

}