/* ==========================================================
   AVCONNECT NEWS V3.0
   MODULE 1 - PAGINA
========================================================== */

/* ---------- PAGINA ---------- */

body{

    margin:0;

    padding:0;

    font-family:"Comic Neue",sans-serif;

    background:#F4F7FB;

    color:#333;

}

/* ---------- HOOFDCONTAINER ---------- */

.newsPage{

    width:100%;

    max-width:1200px;

    margin:0 auto;

    padding:24px;

    box-sizing:border-box;

}

/* ---------- ALGEMENE LINKS ---------- */

.newsPage a{

    color:#2B92B5;

    text-decoration:none;

}

.newsPage a:hover{

    text-decoration:underline;

}

/* ---------- ALGEMENE KNOPPEN ---------- */

.newsPage button{

    font-family:"Comic Neue",sans-serif;

}

/* ---------- VERBORGEN ---------- */

.hidden{

    display:none !important;

}

/* ---------- RESPONSIVE ---------- */

@media (max-width:768px){

    .newsPage{

        padding:16px;

    }

}
/* ==========================================================
   AVCONNECT NEWS V3.0
   MODULE 2 - HERO
========================================================== */

/* ---------- HERO ---------- */

.newsHero{

    display:flex;

    align-items:center;

    gap:22px;

    margin-bottom:28px;

    padding:22px 26px;

    background:#FFFFFF;

    border-radius:20px;

    box-shadow:0 6px 18px rgba(0,0,0,.08);

}

/* ---------- TERUGKNOP ---------- */

.heroBack{

    display:inline-flex;
    align-items:center;
    justify-content:center;

    height:42px;
    padding:0 18px;

    border:1px solid #2B92B5;
    border-radius:10px;

    background:#2B92B5;
    color:#FFFFFF !important;

    font-family:"Comic Neue",sans-serif;
    font-size:15px;
    font-weight:700;
    text-decoration:none;

    cursor:pointer;

    flex-shrink:0;

}

/* Geen hover-effect */

.heroBack:hover{

    background:#2B92B5;
    color:#FFFFFF !important;
    border-color:#2B92B5;

}
/* ---------- ICOON ---------- */

.heroIcon{

    width:72px;

    height:72px;

    flex:0 0 72px;

}

.heroIcon img{

    width:100%;

    height:100%;

    object-fit:contain;

    display:block;

}

/* ---------- TITELS ---------- */

.newsHero h1{

    margin:0;

    color:#2B92B5;

    font-size:2rem;

    font-weight:700;

    line-height:1.2;

}

.newsHero p{

    margin:6px 0 0;

    color:#666;

    font-size:1rem;

    line-height:1.5;

}

/* ---------- RESPONSIVE ---------- */

@media (max-width:768px){

    .newsHero{

        gap:16px;

        padding:18px;

    }

    .heroIcon{

        width:56px;

        height:56px;

        flex:0 0 56px;

    }

    .newsHero h1{

        font-size:1.6rem;

    }

}
/* ==========================================================
   AVCONNECT NEWS V3.0
   MODULE 3 - TOOLBAR
========================================================== */

/* ---------- TOOLBAR ---------- */

.newsToolbar{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:20px;

    margin-bottom:28px;

    flex-wrap:wrap;

}

/* ---------- ZOEKVELD ---------- */

.newsSearch{

    flex:1;

    min-width:280px;

}

.newsSearch input{

    width:100%;

    height:48px;

    padding:0 18px;

    border:2px solid #E5E7EB;

    border-radius:14px;

    background:#FFFFFF;

    font-family:"Comic Neue",sans-serif;

    font-size:1rem;

    color:#333;

    outline:none;

    transition:.20s;

    box-sizing:border-box;

}

.newsSearch input:focus{

    border-color:#2B92B5;

    box-shadow:0 0 0 4px rgba(43,146,181,.15);

}

/* ---------- FILTER ---------- */

.newsFilters{

    display:flex;

    gap:12px;

}

.newsFilters select{

    min-width:170px;

    height:48px;

    padding:0 14px;

    border:2px solid #E5E7EB;

    border-radius:14px;

    background:#FFFFFF;

    font-family:"Comic Neue",sans-serif;

    font-size:1rem;

    color:#333;

    cursor:pointer;

    outline:none;

    transition:.20s;

}

.newsFilters select:focus{

    border-color:#2B92B5;

    box-shadow:0 0 0 4px rgba(43,146,181,.15);

}

/* ---------- RESPONSIVE ---------- */

@media (max-width:768px){

    .newsToolbar{

        flex-direction:column;

        align-items:stretch;

    }

    .newsSearch{

        min-width:100%;

    }

    .newsFilters{

        width:100%;

    }

    .newsFilters select{

        width:100%;

    }

}
/* ==========================================================
   AVCONNECT NEWS V3.0
   MODULE 4 - STATES
========================================================== */

/* ---------- LOADING ---------- */

.loading{

    display:flex;

    justify-content:center;

    align-items:center;

    min-height:180px;

    padding:30px;

    font-family:"Comic Neue",sans-serif;

    font-size:1.15rem;

    font-weight:700;

    color:#2B92B5;

}

/* ---------- GEEN BERICHTEN ---------- */

.infoCard{

    background:#FFFFFF;

    border-radius:18px;

    padding:30px;

    text-align:center;

    color:#666;

    font-size:1.05rem;

    box-shadow:0 4px 14px rgba(0,0,0,.08);

}

/* ---------- RESULTATEN ---------- */

.newsResults{

    display:flex;

    flex-direction:column;

    gap:20px;

}

/* ---------- TELLER ---------- */

.newsCounter{

    display:flex;

    justify-content:flex-end;

    align-items:center;

    margin-bottom:18px;

    color:#666;

    font-size:.95rem;

    font-weight:700;

}

/* ---------- LOAD MORE ---------- */

.newsMore{

    display:flex;

    justify-content:center;

    margin-top:30px;

}

.newsMore button{

    min-width:220px;

    height:48px;

    padding:0 24px;

    border:none;

    border-radius:14px;

    background:#2B92B5;

    color:#FFFFFF;

    font-family:"Comic Neue",sans-serif;

    font-size:1rem;

    font-weight:700;

    cursor:pointer;

    transition:.20s;

}

.newsMore button:hover{

    background:#227C9D;

    transform:translateY(-2px);

}
/* ==========================================================
   AVCONNECT NEWS V3.0
   MODULE 5 - NEWS CARDS
========================================================== */

/* ---------- NIEUWSLIJST ---------- */

.newsGrid{

    display:flex;

    flex-direction:column;

    gap:18px;

}

/* ---------- KAART ---------- */

.newsCard{

    display:flex;

    align-items:stretch;

    gap:20px;

    background:#FFFFFF;

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 4px 14px rgba(0,0,0,.08);

    transition:.20s;

}

.newsCard:hover{

    transform:translateY(-2px);

    box-shadow:0 10px 24px rgba(0,0,0,.12);

}

/* ---------- KAART ZONDER FOTO ---------- */

.newsCardNoImage{

    display:block;

}

/* ---------- FOTO ---------- */

.newsCardImage{

    flex:0 0 180px;

}

.newsCardImage img{

    width:180px;

    height:150px;

    display:block;

    object-fit:cover;

}

/* ---------- INHOUD ---------- */

.newsCardContent{

    flex:1;

    display:flex;

    flex-direction:column;

    padding:18px;

    min-width:0;

}

/* ---------- BOVENSTE RIJ ---------- */

.newsCardMeta{

    display:flex;

    align-items:center;

    gap:10px;

    margin-bottom:10px;

    flex-wrap:wrap;

}

/* ---------- DATUM ---------- */

.newsDate{

    color:#777;

    font-size:.90rem;

    font-weight:700;

}

/* ---------- KLAS ---------- */

.newsClass{

    background:#51B585;

    color:#FFFFFF;

    padding:4px 10px;

    border-radius:999px;

    font-size:.80rem;

    font-weight:700;

}

/* ---------- TITEL ---------- */

.newsTitle{

    margin:0;

    color:#2B92B5;

    font-size:1.35rem;

    font-weight:700;

    line-height:1.30;

}

/* ---------- TEKST ---------- */

.newsText{

    margin-top:10px;

    color:#555;

    line-height:1.60;

    font-size:.98rem;

    overflow:hidden;

    display:-webkit-box;

    -webkit-box-orient:vertical;

    -webkit-line-clamp:3;

    overflow-wrap:anywhere;

}

/* ---------- FOOTER ---------- */

.newsFooter{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-top:auto;

    padding-top:16px;

    border-top:1px solid #ECECEC;

}

/* ---------- INFO ---------- */

.newsInfo{

    display:flex;

    align-items:center;

    gap:18px;

    color:#777;

    font-size:.90rem;

}

/* ---------- BUTTON ---------- */

.newsReadMore{

    border:none;

    background:#2B92B5;

    color:#FFFFFF;

    padding:8px 16px;

    border-radius:10px;

    cursor:pointer;

    font-family:"Comic Neue",sans-serif;

    font-size:.92rem;

    font-weight:700;

    transition:.20s;

}

.newsReadMore:hover{

    background:#227C9D;

}

/* ---------- RESPONSIVE ---------- */

@media (max-width:768px){

    .newsCard{

        flex-direction:column;

    }

    .newsCardImage{

        flex:none;

    }

    .newsCardImage img{

        width:100%;

        height:200px;

    }

}
/* ==========================================================
   AVCONNECT NEWS V3.0
   MODULE 6 - THUMBNAILS
========================================================== */

/* ---------- TITEL ---------- */

.thumbnailTitle{

    margin-top:18px;

    margin-bottom:10px;

    color:#2B92B5;

    font-size:.95rem;

    font-weight:700;

}

/* ---------- RIJ ---------- */

.thumbnailRow{

    display:flex;

    gap:10px;

    overflow-x:auto;

    padding-bottom:6px;

    scrollbar-width:thin;

}

/* ---------- THUMBNAIL ---------- */

.thumbnail{

    flex:0 0 72px;

    width:72px;

    height:72px;

    border-radius:10px;

    object-fit:cover;

    cursor:pointer;

    background:#F2F4F7;

    border:2px solid transparent;

    transition:.20s;

}

.thumbnail:hover{

    border-color:#2B92B5;

    transform:scale(1.05);

}

/* ---------- SCROLLBAR ---------- */

.thumbnailRow::-webkit-scrollbar{

    height:6px;

}

.thumbnailRow::-webkit-scrollbar-thumb{

    background:#D6DCE5;

    border-radius:999px;

}
/* ==========================================================
   AVCONNECT NEWS V3.0
   MODULE 7 - MODAL
========================================================== */

/* ---------- ACHTERGROND ---------- */

.news-modal{

    position:fixed;

    inset:0;

    display:none;

    justify-content:center;

    align-items:center;

    padding:30px;

    background:rgba(0,0,0,.65);

    backdrop-filter:blur(6px);

    z-index:9999;

}

/* ---------- OPEN ---------- */

.news-modal.active{

    display:flex;

}

/* ---------- CONTENT ---------- */

.news-modal-content{

    position:relative;

    width:100%;

    max-width:980px;

    max-height:90vh;

    overflow-y:auto;

    background:#FFFFFF;

    border-radius:22px;

    padding:28px;

    box-sizing:border-box;

    box-shadow:0 20px 50px rgba(0,0,0,.25);

}

/* ---------- SLUITEN ---------- */

.news-modal-close{

    position:absolute;

    top:18px;

    right:18px;

    width:42px;

    height:42px;

    border:none;

    border-radius:50%;

    background:#F2F4F7;

    color:#2B92B5;

    font-size:24px;

    font-weight:700;

    cursor:pointer;

    transition:.20s;

}

.news-modal-close:hover{

    background:#2B92B5;

    color:#FFFFFF;

}

/* ---------- TITEL ---------- */

.news-modal-title{

    margin:0;

    padding-right:60px;

    color:#2B92B5;

    font-size:2rem;

    font-weight:700;

    line-height:1.3;

}

/* ---------- META ---------- */

.news-modal-date{

    margin-top:10px;

    margin-bottom:24px;

    color:#777;

    font-size:.95rem;

    font-weight:700;

}

/* ---------- FOTO ---------- */

.news-modal-image{

    margin-bottom:22px;

}

.news-modal-image img{

    width:100%;

    max-height:520px;

    display:block;

    object-fit:contain;

    border-radius:16px;

}

/* ---------- TEKST ---------- */

.news-modal-text{

    color:#444;

    font-size:1rem;

    line-height:1.8;

    white-space:pre-wrap;

}
/* ==========================================================
   AVCONNECT NEWS V3.0
   MODULE 8 - VIEWER
========================================================== */

/* ---------- VIEWER ---------- */

.news-viewer{

    display:flex;

    flex-direction:column;

    gap:20px;

}

/* ---------- HOOFDFOTO ---------- */

.news-viewer-main{

    position:relative;

}

.news-viewer-main img{

    width:100%;

    max-height:520px;

    display:block;

    object-fit:contain;

    border-radius:16px;

    background:#F4F7FB;

}

/* ---------- NAVIGATIE ---------- */

.news-viewer-nav{

    position:absolute;

    inset:0;

    display:flex;

    justify-content:space-between;

    align-items:center;

    pointer-events:none;

}

.news-viewer-prev,
.news-viewer-next{

    pointer-events:auto;

    width:48px;

    height:48px;

    border:none;

    border-radius:50%;

    background:rgba(255,255,255,.92);

    color:#2B92B5;

    font-size:24px;

    font-weight:700;

    cursor:pointer;

    transition:.20s;

    box-shadow:0 4px 12px rgba(0,0,0,.15);

}

.news-viewer-prev{

    margin-left:18px;

}

.news-viewer-next{

    margin-right:18px;

}

.news-viewer-prev:hover,
.news-viewer-next:hover{

    background:#2B92B5;

    color:#FFFFFF;

}

/* ---------- TELLER ---------- */

.news-viewer-counter{

    position:absolute;

    bottom:18px;

    right:18px;

    padding:6px 14px;

    border-radius:999px;

    background:rgba(0,0,0,.60);

    color:#FFFFFF;

    font-size:.90rem;

    font-weight:700;

}

/* ---------- MINIATUREN ---------- */

.news-viewer-thumbs{

    display:flex;

    gap:10px;

    overflow-x:auto;

    padding-bottom:6px;

    scrollbar-width:thin;

}

.news-viewer-thumbs::-webkit-scrollbar{

    height:6px;

}

.news-viewer-thumbs::-webkit-scrollbar-thumb{

    background:#D6DCE5;

    border-radius:999px;

}

/* ---------- THUMB ---------- */

.news-viewer-thumb{

    width:74px;

    height:74px;

    flex:0 0 74px;

    border-radius:10px;

    overflow:hidden;

    border:2px solid transparent;

    cursor:pointer;

    transition:.20s;

}

.news-viewer-thumb img{

    width:100%;

    height:100%;

    display:block;

    object-fit:cover;

}

.news-viewer-thumb:hover{

    border-color:#2B92B5;

}

.news-viewer-thumb.active{

    border-color:#2B92B5;

    box-shadow:0 0 0 3px rgba(43,146,181,.15);

}
/* ==========================================================
   AVCONNECT NEWS V3.0
   MODULE 9 - RESPONSIVE & HELPERS
========================================================== */

/* ---------- TABLET ---------- */

@media (max-width:992px){

    .newsCard{

        gap:16px;

    }

    .newsCardImage{

        flex:0 0 160px;

    }

    .newsCardImage img{

        width:160px;

        height:130px;

    }

}

/* ---------- SMARTPHONE ---------- */

@media (max-width:768px){

    .newsHero{

        flex-direction:column;

        align-items:flex-start;

    }

    .newsToolbar{

        flex-direction:column;

        align-items:stretch;

    }

    .newsCard{

        flex-direction:column;

    }

    .newsCardImage{

        flex:none;

    }

    .newsCardImage img{

        width:100%;

        height:220px;

    }

    .newsCardContent{

        padding:16px;

    }

    .newsFooter{

        flex-direction:column;

        align-items:flex-start;

        gap:14px;

    }

    .newsInfo{

        flex-wrap:wrap;

        gap:12px;

    }

    .newsReadMore{

        width:100%;

    }

    .news-modal{

        padding:14px;

    }

    .news-modal-content{

        padding:20px;

        max-height:94vh;

    }

}

/* ---------- KLEINE SMARTPHONES ---------- */

@media (max-width:480px){

    .newsHero h1{

        font-size:1.5rem;

    }

    .newsTitle{

        font-size:1.15rem;

    }

    .newsText{

        font-size:.92rem;

    }

    .newsCardImage img{

        height:180px;

    }

}

/* ---------- HELPERS ---------- */

.hidden{

    display:none !important;

}

.textCenter{

    text-align:center;

}

.w100{

    width:100%;

}
/* ==========================================================
   TERUGKNOP
========================================================== */

.newsBackButton{

    background:#2B92B5;
    color:#FFFFFF;

    border:none;
    border-radius:10px;

    padding:10px 18px;

    font-family:"Comic Neue",sans-serif;
    font-size:14px;
    font-weight:700;

    cursor:pointer;

    margin-right:20px;

}

.newsBackButton:hover{

    background:#2B92B5;
    color:#FFFFFF;

}