/* CSS Document /blog/assets/css/blog_new.css*/

:root{
      --bg: #f6f1ea;
      --card: #ffffff;
      --ink: #111827;
      --muted: #6b7280;
      --line: rgba(17,24,39,.10);

      --headerA: #3a3a3a;
      --headerB: #2f2f2f;

      --btn: #1f6f83;
      --btn2: #155a6b;

      --radius: 16px;
      --shadow: 0 10px 24px rgba(0,0,0,.08);
      --shadow2: 0 6px 16px rgba(0,0,0,.07);
    }

    *{ box-sizing:border-box; }
    html,body{ height:100%; }
    body{
      margin:0;
  		font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji";
      background: #f6f8fb;
      color: var(--ink);
    }

    a{ color: inherit; }
    .blogScope a{ text-decoration:none; }
    .blogScope a:hover{ text-decoration:underline; }

    /* HEADER */
    .bHeader{
      position: sticky;
      top: 0;
      z-index: 50;
      background-color: #ccdbec;
      box-shadow: 0 2px 0 rgba(0,0,0,.15);
    }
    .bHeaderInner{
      max-width: 1100px;
      margin: 0 auto;
      padding: 10px 14px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap: 12px;
    }
    .brandMark{
      display:flex;
      align-items:center;
      gap: 10px;
      min-width: 44px;
    }
    .brandMark img{
      height: 34px;
      display:block;
      border-radius: 8px;
    }
    .menuBtn{
      width: 42px;
      height: 42px;
      border: 1px solid rgba(255, 255, 255, .18);
      background: rgba(255, 255, 255, .06);
      color: #060000;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }
    .menuBtn:hover{ background: rgba(255,255,255,.10); }

    /* PAGE WRAP */
    .wrap{
      max-width: 1100px;
      margin: 0 auto;
      padding: 14px 14px 24px;
    }

    /* GRID: desktop split */
    .layout{
      display:grid;
      grid-template-columns: 1fr;
      gap: 16px;
      align-items:start;
    }
    @media (min-width: 980px){
      .layout{ grid-template-columns: 1fr 360px; gap: 18px; }
    }

    /* BREADCRUMB */
    .crumb{
      font-size: 13px;
      color: #000;
    }
    .crumbWrap{
      max-width:1100px;
      margin:0 auto;
      padding: 0 14px 10px;
    }
    .crumb a{ color: #000; }
    .crumb .sep{ opacity:.7; padding: 0 8px; }

    /* MAIN CARD */
    .card{
      background:#f6f8fb;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow2);
      overflow:hidden;
    }

    .mainCardInner{ padding: 16px; }
    .h1{
      margin: 0 0 10px;
      font-size: 26px;
      letter-spacing: -0.02em;
    }
    .h1 strong{ font-weight: 900; }

    /* HERO */
    .hero{
      margin: 10px 0 16px;
      border-bottom-right-radius: 14px;
      overflow:hidden;
      background: #0b1220;
      display:grid;
      grid-template-columns: 1fr;
    }
    @media (min-width: 640px){
      .hero{ grid-template-columns: 1.2fr 1fr; }
    }
    .heroText{
      padding: 16px;
			color: #080000;
			display: flex;
			flex-direction: column;
			justify-content: center;
			gap: 10px;
			min-height: 140px;
    }
    .heroText .lead{
      margin:0;
      line-height: 1.35;
      font-size: 14px;
      opacity: .96;
    }
    .heroMedia{
      position:relative;
      min-height: 150px;
      background: #111;
    }
    .heroMedia img{
      width:100%;
      height:100%;
      object-fit:cover;
      display:block;
    }
    .maroqBadge{
      position: absolute;
      right: 10px;
      bottom: 10px;
      border-bottom-right-radius: 14px;
      padding: 10px 12px;
      box-shadow: 0 10px 18px rgba(0, 0, 0, .12);
    }
    .maroqBadge img{
      display:block;
      width: 80px;
      height: auto;
    }

    /* POST LIST */
    .postRow{
      display:grid;
      grid-template-columns: 120px 1fr;
      gap: 14px;
      padding: 14px 0;
      border-top: 1px solid rgba(0,0,0,.06);
      /* align-items:center; */
    }
    .postRow:first-of-type{ border-top: none; padding-top: 6px; }

    .thumb{
      width: 120px;
      height: 84px;
      border-radius: 12px;
      overflow:hidden;
      border: 1px solid rgba(0,0,0,.10);
      background:#eee;
    }
    .thumb img{
      width:100%; height:100%;
      object-fit:cover;
      display:block;
    }
    .pTitle{
      font-weight: 900;
      margin: 0 0 6px;
      font-size: 16px;
      line-height: 1.2;
    }
    .pExcerpt{
      margin: 0 0 8px;
      font-size: 13px;
      color: #374151;
    }
    .pMeta{
      display:flex;
      flex-wrap:wrap;
      gap: 10px;
      font-size: 12px;
      color: var(--muted);
      align-items:center;
    }
    .pAction{
      margin-top: 10px;
      display:flex;
      justify-content:flex-end;
    }
    .btn {
			display: inline-flex;
			align-items: center;
			gap: 8px;
			font-weight: 700;
			padding: 3px 12px 5px 12px;
			border-radius: 10px;
			text-decoration: none !important;
			background: rgba(11, 107, 179, .12);
			border: 1px solid rgba(11, 107, 179, .35);
			color: #083f6b;
			font-size: 14px;
			margin-right: 5px;
		}

		.btn:hover{
			transform: translateY(-1px);
			box-shadow: 0 10px 18px rgba(11, 27, 43, .10);
		}


    .btn:hover{ 
			transform: translateY(-1px);
    	box-shadow: 0 10px 18px rgba(11, 27, 43, .10);
		} 

    /* SIDEBAR */
    .sidebar{
      display:flex;
      flex-direction:column;
      gap: 14px;
    }
    @media (min-width: 980px){
      .sidebar{ position: sticky; top: 86px; }
    }

    .sideCardHead{
      padding: 14px 14px 10px;
      border-bottom: 1px solid rgba(0,0,0,.06);
      font-weight: 900;
    }

    .sideCardBody{ padding: 12px 14px 14px; }

    .searchRow{
      display:grid;
      grid-template-columns: 1fr 44px;
      gap: 10px;
      align-items:center;
    }
    .searchRow input{
      height: 40px;
      border-radius: 12px;
      border: 1px solid rgba(0,0,0,.12);
      padding: 0 12px;
      background: #fff;
      outline: none;
    }
    .searchBtn{
      height: 40px;
      border-radius: 12px;
      border: 1px solid rgba(0,0,0,.12);
      background: #f2f2f2;
      cursor:pointer;
      display:flex;
      align-items:center;
      justify-content:center;
      font-weight: 900;
    }
    .searchBtn:hover{ background:#eaeaea; }

    .sideList{
      margin: 10px 0 0;
      padding: 0;
      list-style:none;
      display:flex;
      flex-direction:column;
      gap: 10px;
      font-size: 13px;
    }
    .sideList li a{ color: #0f172a; }
    .sideList li{
      display:flex;
      gap: 10px;
      align-items:flex-start;
    }
    .caret{ color:#a11b23; font-weight: 900; }

    /* Language flags row */
    .langRow{
      display:flex;
      justify-content:center;
      gap: 12px;
      margin-top: 16px;
      padding: 10px 0 6px;
      opacity: .95;
    }
    .langChip{
      width: 36px;
      height: 28px;
      display:flex;
      align-items:center;
      justify-content:center;
      border-radius: 10px;
      border: 1px solid rgba(0,0,0,.10);
      background: rgba(255,255,255,.7);
      box-shadow: 0 8px 14px rgba(0,0,0,.06);
      font-size: 16px;
      text-decoration:none !important;
    }

    .footSpace{ height: 10px; }

		/* Mobile: thumb boven content */
		.postRow{
			grid-template-columns: 1fr;     /* 1 kolom */
			gap: 12px;
		}
		
		/* thumb wordt full width op mobiel */
		.postRow .thumb{
			width: 100%;
			height: auto;                  /* laat de hoogte meeschalen */
			aspect-ratio: 16 / 9;          /* mooie hero-thumb verhouding */
			border-radius: 12px;
		}
		
		/* image vult de nieuwe thumb box */
		.postRow .thumb img{
			width: 100%;
			height: 100%;
			object-fit: cover;
			display: block;
		}
		
		/* Desktop: terug naar naast elkaar */
		@media (min-width: 640px){
			.postRow{
				grid-template-columns: 120px 1fr; /* zoals je oude layout */
				gap: 14px;
				/* align-items: center; */
			}
		
			.postRow .thumb{
				width: 120px;
				height: 84px;
				aspect-ratio: auto;
			}
		}
		
		/* ===== Blog sidebar categories menu (icons) ===== */
		.blogScope .catMenu{
			display:flex;
			flex-direction:column;
			gap: 10px;
		}
		
		.blogScope .catItem{
			display:flex;
			align-items:center;
			gap: 12px;
		
			padding: 10px 12px;
			border-radius: 12px;
		
			border: 1px solid rgba(0,0,0,.08);
			background: rgba(255,255,255,.75);
			box-shadow: 0 8px 14px rgba(0,0,0,.05);
		
			text-decoration:none !important;
		}
		
		.blogScope .catItem:hover{
			background: #ccdbec; /* zelfde vibe als header */
			border-color: rgba(0,0,0,.10);
			text-decoration:none !important;
		}
		
		.blogScope .catIcon{
			width: 38px;
			height: 38px;
			border-radius: 10px;
		
			display:flex;
			align-items:center;
			justify-content:center;
		
			background: rgba(255,255,255,.85);
			border: 1px solid rgba(0,0,0,.08);
			flex: 0 0 38px;
		}
		
		.blogScope .catIcon img{
			width: 22px;
			height: 22px;
			object-fit:contain;
			display:block;
		}
		
		.blogScope .catIconFallback{
			font-weight: 900;
			opacity:.7;
		}
		
		.blogScope .catText{
			font-weight: 800;
			color: #0f172a;
			line-height: 1.15;
		}


		/* Sidebar categorie-menu (zoals screenshot) */
		.catMenu .sideCardBody{ padding-top: 10px; }
		
		.catNav{
			display: grid;
			gap: 10px;
		}
		
		.catNavItem{
			display: grid;
			grid-template-columns: 44px 1fr;
			align-items: center;
			gap: 12px;
		
			padding: 10px 12px;
			border-radius: 12px;
		
			background: rgba(255,255,255,.75);
			border: 1px solid rgba(0,0,0,.08);
			box-shadow: 0 8px 14px rgba(0,0,0,.06);
		
			text-decoration: none !important;
		}
		
		.catNavItem:hover{
			background: #ccdbec;               /* zelfde lichtblauw als header */
			border-color: rgba(0,0,0,.10);
			text-decoration: none !important;
		}
		
		.catNavIcon{
			width: 38px;
			height: 38px;
			border-radius: 10px;
			display:flex;
			align-items:center;
			justify-content:center;
		
			background: rgba(255,255,255,.65);
			border: 1px solid rgba(0,0,0,.08);
		}
		
		.catNavIcon img{
			width: 26px;
			height: 26px;
			object-fit: contain;
			display:block;
		}
		
		.catNavText{
			font-weight: 900;
			font-size: 14px;
			color: #0f172a;
			line-height: 1.1;
		}
		
		/* Optioneel: op desktop iets compacter */
		@media (min-width: 980px){
			.catNavItem{ padding: 9px 12px; }
		}
		
		/* --- Sidebar Categories: icon tiles (fresh, like mockup) --- */
		.catGrid{
			display:grid;
			grid-template-columns: 1fr;
			gap: 10px;
			margin-top: 10px;
		}
		
		.catItem{
			display:flex;
			align-items:center;
			gap: 12px;
			padding: 10px 12px;
			border-radius: 14px;
			border: 1px solid rgba(0,0,0,.10);
			background: rgba(255,255,255,.75);
			box-shadow: 0 8px 14px rgba(0,0,0,.06);
			text-decoration:none !important;
			transition: transform .12s ease, background-color .12s ease, box-shadow .12s ease, border-color .12s ease;
		}
		
		.catItem:hover{
			background: #ccdbec;               /* zelfde vibe als header */
			border-color: rgba(0,0,0,.12);
			box-shadow: 0 10px 18px rgba(0,0,0,.10);
			transform: translateY(-1px);
		}
		
		.catIcon{
			width: 34px;
			height: 34px;
			display:flex;
			align-items:center;
			justify-content:center;
			border-radius: 12px;
			background: rgba(255,255,255,.65);
			border: 1px solid rgba(0,0,0,.08);
			flex: 0 0 34px;
			overflow:hidden;
		}
		
		.catIcon img{
			width: 20px;
			height: 20px;
			object-fit:contain;
			display:block;
		}
		
		.catLabel{
			font-weight: 900;
			font-size: 14px;
			color: #0f172a;
			line-height: 1.2;
		}
		
		/* Mobile: zet sidebar (met categorieën) boven de bloglijst */
		@media (max-width: 979px){
			.grid{
				display: flex;
				flex-direction: column;
			}
			.grid > .sidebar{
				order: -1;      /* sidebar eerst */
			}
			.grid > .article{
				order: 1;       /* bloglijst daarna */
			}
		}

		@media (max-width: 979px){
			.grid{
				display:flex;
				flex-direction:column;
			}
		
			/* standaard: bloglijst eerst */
			.grid > .article{ order: 1; }
		
			/* sidebar komt daarna */
			.grid > .sidebar{ order: 2; }
		
			/* maar: categorie-card (in sidebar) trekken we helemaal naar boven */
			.catCard{
				order: 0;
			}
		
			/* belangrijk: dit werkt pas als sidebar een flex-container is */
			.sidebar{
				display:flex;
				flex-direction:column;
				gap:14px;
			}
		}

		/* Mobile: sidebar (categorieën) boven de bloglijst */
		@media (max-width: 979px){
			.layout{
				display: flex;
				flex-direction: column;
			}
			.layout > aside.sidebar{
				order: -1; /* eerst */
				width:100% !important;
			}
			.layout > section.card{
				order: 1;  /* daarna */
			}
		}
	
		/* Full-width hero layout (image top, content below) */
		.hero.heroFull{
			display: block !important;
			padding: 0 !important;
			overflow: hidden;
			border-radius: 16px;
			border-bottom-right-radius: 0;
			border-bottom-left-radius: 0;        /* match met jouw card rounding */
		}
		
		.hero.heroFull .heroMedia{
			width:100% !important;
			margin:0 !important;
		}
		
		.hero.heroFull .heroMedia img{
			display:block;
			width:100%;
			height:auto;
			object-fit:cover;
		}
		
		/* Zorg dat tekstblok ook full-width is */
		.hero.heroFull .heroText{
			width:100% !important;
			max-width:none !important;
			padding:16px 16px 18px 16px;  /* iets lucht */
			background:transparent;       /* jouw huidige grijze vlak verdwijnt */
		}
		
		/* Categorie cards: laat ze netter uitlijnen */
		.hero.heroFull .catGrid{
			margin-top:14px;
		}
		
		/* Optioneel: buttons netjes wrappen */
		.hero.heroFull .quickRoutes{
			margin-top:12px;
		}

/* Artikel: meta row (verplaatst uit inline) */
.metaRow{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
  margin:12px 0 10px;
}
.metaAuthor{
  display:flex;
  gap:10px;
  align-items:center;
}
.metaAvatar{
  width:34px;
  height:34px;
  border-radius:10px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.10);
  background:#fff;
}
.metaAvatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.metaTxt{ line-height:1.15; }
.metaName{ font-weight:900; font-size:13px; }
.metaLine{ font-size:12px; color: rgba(17,24,39,.70); }

/* lead en content (kleine consistentie) */
.lead{
  margin: 0 0 12px 0;
  color:#374151;
  font-size:15px;
  line-height:1.45;
}
.content{ padding-top:6px; }

/* chips */
.catChips{
  margin-top:14px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.chip{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.10);
  background:rgba(255,255,255,.65);
  font-weight:800;
  font-size:12px;
}

/* related block */
.relatedBlock{
  margin-top:18px;
  padding-top:14px;
  border-top:1px solid rgba(0,0,0,.08);
}
.relatedTitle{
  margin:0 0 10px 0;
  font-size:18px;
  font-weight:900;
}
.relatedEmpty{
  padding:6px 0;
  color:#374151;
}

/* pagination */
.pagination{
  margin:18px 0 6px;
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}
.btn.isDisabled{
  opacity:.45;
  pointer-events:none;
}
.btn.isCurrent{
  font-weight:800;
  pointer-events:none;
  opacity:.9;
}
.pagerNums{ display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.dots{ opacity:.6; }
.pagerInfo{ margin-left:auto; font-size:13px; opacity:.75; }

/* Trending card (verplaatst uit inline) */
.sideTitle{
  margin:0;
  padding:14px 14px 10px;
  font-size:16px;
}
.trendList{ padding: 10px 10px 12px; }
.trendItem{
  display:flex;
  gap:10px;
  padding:10px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.08);
  background:rgba(255,255,255,.75);
  box-shadow:0 8px 14px rgba(0,0,0,.06);
  margin-bottom:10px;
  text-decoration:none;
}
.trendThumb{
  width:64px;
  height:64px;
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.10);
  background:#eee;
  flex:0 0 64px;
}
.trendThumb img{
  object-fit:cover;
  display:block;
  width:100%;
  height:100%;
}
.trendText{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
}
.trendTitle{
  font-weight:900;
  font-size:13px;
  line-height:1.2;
  overflow:hidden;
  text-overflow:ellipsis;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
.trendDate{
  font-size:12px;
  opacity:.75;
}

/* Mobile order: MAIN eerst, sidebar daarna (zonder inline style) */
@media (max-width: 979px){
  .layout{ display:flex; flex-direction:column; }
  .layout > section.card{ order: 1; }
  .layout > aside.sidebar{ order: 2; width:100% !important; }
}

/* Desktop: sidebar sticky + eigen scroll (synchroon gevoel) */

@media (min-width: 980px){
  .sidebar{
    position: static !important;
    top: auto !important;
  }
}
/* === MAROQ badge (logo overlay op hero) === */
.maroqBadge{
  /* desktop basis */
  padding: 10px 12px;
}

.maroqBadge img{
  width: 80px;     /* jouw huidige desktop-size */
  height: auto;
  display: block;
}

/* mobiel kleiner */
@media (max-width: 640px){
  .maroqBadge{
    right: 8px;
    bottom: 8px;
    padding: 6px 8px;
    border-radius: 12px;
  }

  .maroqBadge img{
    width: 54px;   /* <- pas dit aan naar smaak (48-60 is meestal top) */
  }
}

.socialsIcon{
		height:35px;
}
/* extra klein (heel smalle schermen) */
@media (max-width: 380px){
  .maroqBadge img{
    width: 56px;
  }
}
/* FORCE: badge-logo kleiner op mobiel (overschrijft alle eerdere regels) */
@media (max-width: 640px){
  .blogScope .hero.heroFull .maroqBadge img{
    width: 74px !important;
    height: auto !important;
    max-width: 54px !important;
  }

  .blogScope .hero.heroFull .maroqBadge{
    padding: 6px 8px !important;
    right: 8px !important;
    bottom: 8px !important;
    border-radius: 12px !important;
  }
	.socialsIcon{
		height:35px;
	}
}

@media (max-width: 380px){
  .blogScope .hero.heroFull .maroqBadge img{
    width: 56px !important;
    max-width: 56px !important;
  }
	
	.socialsIcon{
		height:30px;
	}
}

