/* =========================
   NIEUWS — overzicht + artikelpagina
   ========================= */

/* Breadcrumb: zelfde donkere thema als overige nieuws-UI; layout (geen bullets) */
body.page--news-detail .kv2-breadcrumb--news,
body.page--news-overview .kv2-breadcrumb--news{
  padding:12px 16px;
  margin:0 auto 18px;
  font-size:0.875rem;
  line-height:1.45;
  color:rgba(255,255,255,.78);
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.1);
  border-radius:14px;
  box-sizing:border-box;
}
body.page--news-detail .kv2-breadcrumb--news .kv2-breadcrumb__list,
body.page--news-overview .kv2-breadcrumb--news .kv2-breadcrumb__list{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:0.25em 0.4em;
  list-style:none;
  margin:0;
  padding:0;
}
body.page--news-detail .kv2-breadcrumb--news .kv2-breadcrumb__item,
body.page--news-overview .kv2-breadcrumb--news .kv2-breadcrumb__item{
  display:inline-flex;
  align-items:center;
}
body.page--news-detail .kv2-breadcrumb--news .kv2-breadcrumb__item:not(:last-child)::after,
body.page--news-overview .kv2-breadcrumb--news .kv2-breadcrumb__item:not(:last-child)::after{
  content:'›';
  margin-left:0.4em;
  color:rgba(255,255,255,.45);
  font-weight:500;
}
body.page--news-detail .kv2-breadcrumb--news .kv2-breadcrumb__link,
body.page--news-overview .kv2-breadcrumb--news .kv2-breadcrumb__link{
  color:rgba(255,255,255,.92);
  text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,.28);
  transition:border-color .15s ease,color .15s ease;
}
body.page--news-detail .kv2-breadcrumb--news .kv2-breadcrumb__link:hover,
body.page--news-overview .kv2-breadcrumb--news .kv2-breadcrumb__link:hover{
  color:#fff;
  border-bottom-color:rgba(249,123,10,.9);
}
body.page--news-detail .kv2-breadcrumb--news .kv2-breadcrumb__current,
body.page--news-overview .kv2-breadcrumb--news .kv2-breadcrumb__current{
  font-weight:600;
  color:#fff;
}

@media (max-width: 600px){
  body.page--news-detail .kv2-breadcrumb--news,
  body.page--news-overview .kv2-breadcrumb--news{
    padding-top:6px;
    padding-bottom:6px;
    padding-left:max(14px, env(safe-area-inset-left, 0px));
    padding-right:max(14px, env(safe-area-inset-right, 0px));
    font-size:0.75rem;
    line-height:1.25;
    border-radius:10px;
    margin-bottom:10px;
  }
  body.page--news-detail .kv2-breadcrumb--news .kv2-breadcrumb__list,
  body.page--news-overview .kv2-breadcrumb--news .kv2-breadcrumb__list{
    gap:0.15em 0.25em;
  }
  body.page--news-detail .kv2-breadcrumb--news .kv2-breadcrumb__item:not(:last-child)::after,
  body.page--news-overview .kv2-breadcrumb--news .kv2-breadcrumb__item:not(:last-child)::after{
    margin-left:0.22em;
    font-size:0.95em;
  }
}

/* --- Nieuwsoverzicht / detail algemeen --- */
.news-overview,
.news-detail{
  padding-top:18px;
  padding-bottom:28px;
}

.news-list{
  display:grid;
  gap:16px;
}

.news-card__link{
  display:block;
  color:inherit;
  text-decoration:none;
}

.news-card__label,
.news-detail__label{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  background:rgba(249,123,10,.12);
  color:#f97b0a;
  font-size:12px;
  font-weight:700;
  margin-bottom:12px;
}

.news-card__title{
  margin:0 0 8px;
  color:#fff;
  font-size:22px;
  line-height:1.2;
}

.news-card__meta,
.news-detail__meta{
  color:rgba(255,255,255,.72);
  font-size:13px;
  margin-bottom:12px;
}

.news-card__excerpt{
  color:rgba(255,255,255,.88);
  line-height:1.6;
}

.news-detail__body{
  color:rgba(255,255,255,.92);
  line-height:1.75;
}

.news-detail__body p{
  margin:0 0 1em;
}

.news-detail__body h2,
.news-detail__body h3{
  margin:1.2em 0 .6em;
}

.news-detail__back{
  margin-top:22px;
}

/* --- Nieuws detail nieuwe layout (voor straks / deels al voorbereid) --- */
.news-layout{
  display:grid;
  grid-template-columns:minmax(0, 1fr);
  gap:22px;
}

.news-detail__body--light{
  background:#fff;
  color:#1b1b23;
  border-radius:18px;
  padding:24px;
  box-shadow:0 12px 26px rgba(0,0,0,.16);
}

.news-detail__body--light p,
.news-detail__body--light li{
  color:#1b1b23;
  line-height:1.8;
}

.news-detail__body--light h2,
.news-detail__body--light h3{
  color:#111;
  margin:1.35em 0 .55em;
}

.news-detail__body--light a{
  color:#7b2cbf;
  text-decoration:underline;
}

.news-hero{
  overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  background:rgba(255,255,255,.03);
  margin-bottom:22px;
}

.news-hero__media{
  width:100%;
  height:clamp(220px, 32vw, 420px);
  overflow:hidden;
  position:relative;
}

.news-hero__media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.news-hero__content{
  padding:22px;
}

.news-hero__title{
  margin:0;
  color:#fff;
  font-size:clamp(30px, 4vw, 48px);
  line-height:1.05;
}

.news-layout__main{
  min-width:0;
}

.news-layout__side{
  min-width:0;
}

.news-gallery__grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:14px;
}

.news-gallery__item img{
  display:block;
  width:100%;
  aspect-ratio:4 / 3;
  object-fit:cover;
  border-radius:14px;
}

.news-gallery__item figcaption{
  margin-top:8px;
  font-size:13px;
  line-height:1.5;
  color:#d4d4e5;
}

.news-related-kermis{
  font-size:14px;
  background:linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.05));
}

.news-related-kermis__media{
  margin-bottom:14px;
}

.news-related-kermis__media img{
  display:block;
  width:100%;
  aspect-ratio:16 / 10;
  object-fit:cover;
  border-radius:14px;
}

.news-related-kermis__rows{
  display:grid;
  gap:10px;
  margin-bottom:14px;
}

.news-related-kermis__row{
  display:grid;
  gap:3px;
}

.news-related-kermis__row strong{
  font-size:12px;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#bdbddb;
}

.news-related-kermis__row span{
  color:#fff;
  line-height:1.45;
  font-size:14px;
}

.news-related-kermis__btn{
  width:100%;
  justify-content:center;
  font-size:14px;
  padding:10px 12px;
}

/* =========================
   NIEUWSOVERZICHT
   ========================= */

.news-overview__hero{
  margin-bottom:18px;
}

.news-featured{
  margin-bottom:18px;
  overflow:hidden;
}

.news-featured__link{
  display:grid;
  grid-template-columns:minmax(0, 1.15fr) minmax(0, .85fr);
  gap:0;
  color:inherit;
  text-decoration:none;
}

.news-featured__media{
  min-height:100%;
  overflow:hidden;
  position:relative;
}

.news-featured__media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.news-featured__content{
  padding:22px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.news-featured__title{
  margin:0 0 10px;
  color:#fff;
  font-size:clamp(28px, 3.2vw, 42px);
  line-height:1.08;
}

.news-featured__excerpt{
  color:rgba(255,255,255,.9);
  line-height:1.7;
}

.news-list--cards{
  grid-template-columns:repeat(3, minmax(0, 1fr));
}

.news-card{
  overflow:hidden;
}

.news-card__media{
  margin:-14px -14px 14px;
  aspect-ratio:16 / 9;
  overflow:hidden;
  background:rgba(255,255,255,.04);
  position:relative;
}

.news-card__media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

@media (max-width: 1099px){
  .news-list--cards{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 900px){
  .news-layout{
    grid-template-columns:minmax(0, 1fr) 300px;
    align-items:start;
  }

  .news-layout__side{
    position:sticky;
    top:90px;
  }
}

@media (max-width: 700px){
  .news-list--cards{
    grid-template-columns:1fr;
  }
}

/* =========================
   NEWS SIDEBAR FINETUNING
   ========================= */

.news-related-kermis__format{
  display:flex;
  align-items:center;
  gap:10px;
}

.news-related-kermis__format-icon{
  width:40px;
  height:40px;
  object-fit:contain;
  flex:0 0 40px;
}

.news-related-kermis__actions{
  display:grid;
  gap:10px;
}

.news-related-kermis__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:44px;
  padding:10px 14px;
  border-radius:12px;
  text-decoration:none;
  font-weight:800;
  background:#f97b0a;
  color:#fff;
  border:1px solid rgba(249,123,10,.7);
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.news-related-kermis__btn:hover{
  transform:translateY(-1px);
  box-shadow:0 8px 18px rgba(0,0,0,.18);
  background:#ff8b1f;
}

/* =========================
   FAVORIET BUTTON FIX
   ========================= */

.news-related-kermis__fav{
  width:100%;
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.06);
  color:#fff;
  text-decoration:none;
}

.news-related-kermis__fav .fav-btn__ic{
  color:#fff;
}

/* Voorkom dubbele tekst: base.css .fav-btn--pi::after voegt "Favoriet" toe; hier gebruiken we ::before op .fav-btn__txt. */
.news-related-kermis__fav.fav-btn--pi::after{
  content:none;
}

.news-related-kermis__fav .fav-btn__txt{
  display:inline-block;
  font-size:0;
  line-height:1;
  color:transparent;
}

.news-related-kermis__fav .fav-btn__txt::before{
  content:"Favoriet toevoegen";
  font-size:14px;
  line-height:1.2;
  font-weight:700;
  color:#fff;
}

.news-related-kermis__fav.is-on.is-fav .fav-btn__txt::before{
  content:"Favoriet verwijderen";
}

/* =========================
   MEER NIEUWS ONDER ARTIKEL
   ========================= */

.news-more{
  margin-top:22px;
}

.news-more__grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
}

.news-more__card{
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  background:rgba(255,255,255,.03);
  overflow:hidden;
  transition:transform .15s ease, border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.news-more__card:hover{
  transform:translateY(-2px);
  border-color:rgba(160,110,255,.24);
  background:rgba(255,255,255,.05);
  box-shadow:0 8px 18px rgba(0,0,0,.14);
}

.news-more__link{
  display:block;
  color:inherit;
  text-decoration:none;
}

.news-more__media{
  aspect-ratio:16 / 9;
  overflow:hidden;
  background:rgba(255,255,255,.04);
}

.news-more__media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.news-more__content{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:14px;
}

.news-more__label{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:0 9px;
  border-radius:999px;
  background:rgba(249,123,10,.12);
  color:#f97b0a;
  font-size:11px;
  font-weight:700;
  align-self:flex-start;
}

.news-more__title{
  margin:0;
  color:#fff;
  font-size:17px;
  line-height:1.22;
  font-weight:900;
}

.news-more__meta{
  color:#c9c9dc;
  font-size:12px;
  line-height:1.35;
}

.news-more__excerpt{
  color:#ececff;
  font-size:13px;
  line-height:1.5;
  opacity:.92;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.news-more__cta{
  margin-top:auto;
  color:#f97b0a;
  font-size:13px;
  font-weight:800;
  text-align:right;
}

@media (max-width: 1099px){
  .news-more__grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px){
  .news-more__grid{
    grid-template-columns:1fr;
  }
}

.news-gallery__item img{
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease;
}

.news-gallery__item img:hover{
  transform:translateY(-1px);
  box-shadow:0 8px 18px rgba(0,0,0,.18);
}

.news-hero__credit{
  padding:0 22px 16px;
  font-size:12px;
  color:#cfcfe2;
}

.news-gallery__item figcaption{
  margin-top:8px;
  font-size:13px;
  line-height:1.5;
  color:#d4d4e5;
}

.news-gallery__by{
  margin-top:4px;
  font-size:12px;
  color:#bfc0d9;
}

/* Basis + overlay: vooral voor eventuele toekomstige markup op /nieuws/ */
.news-photo-credit{
  font-size:11px;
  line-height:1.3;
  color:#fff;
}

.news-photo-credit a{
  color:#fff;
  text-decoration:underline;
}

.news-photo-credit--overlay{
  position:absolute;
  right:8px;
  bottom:8px;
  z-index:2;
  padding:4px 8px;
  border-radius:8px;
  background:rgba(0,0,0,.45);
  backdrop-filter:blur(2px);
  font-size:10px;
  font-weight:600;
}

/* Hero op het nieuwsbericht zelf — iets duidelijker leesbaar */
.news-photo-credit--hero{
  position:absolute;
  right:12px;
  bottom:12px;
  z-index:2;
  padding:7px 12px;
  border-radius:10px;
  background:rgba(0,0,0,.72);
  backdrop-filter:blur(3px);
  font-size:13px;
  font-weight:700;
  color:#fff;
  line-height:1.25;
  text-shadow:0 1px 2px rgba(0,0,0,.35);
}
