/* =========================================================
   Lees Ook Pro — front-end templates
   Basis stijl + 10 kant-en-klare vormgeving-sjablonen.
   Elk sjabloon is bereikbaar via .lop-template-{slug}
   ========================================================= */

.lop-block {
	margin: 28px 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	clear: both;
}

.lop-block .lop-item {
	display: flex;
	text-decoration: none;
	color: inherit;
	box-sizing: border-box;
}

.lop-block .lop-thumb {
	position: relative;
	display: block;
	overflow: hidden;
	flex-shrink: 0;
	background: #ddd;
}

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

.lop-block .lop-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.lop-block .lop-label {
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 0.06em;
}

.lop-block .lop-title {
	font-weight: 800;
	margin: 0;
}

.lop-block .lop-excerpt {
	font-weight: 400;
	opacity: 0.75;
}

.lop-block .lop-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	background: var(--lop-accent, #2b6cb0);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 4px 10px;
	border-radius: 3px;
}

.lop-block.lop-multi {
	display: block;
}

/* ---------------------------------------------------------
   1. Klassiek Gearceerd — identiek aan het voorbeeld:
      grijze box, foto links, label + vette titel rechts.
   --------------------------------------------------------- */
.lop-template-classic-shaded .lop-item {
	background: #f2f2f2;
	border-radius: 4px;
	overflow: hidden;
	align-items: stretch;
}
.lop-template-classic-shaded .lop-thumb {
	width: 220px;
	height: 170px;
}
.lop-template-classic-shaded .lop-content {
	padding: 22px 26px;
}
.lop-template-classic-shaded .lop-label {
	color: #8a8a8a;
	font-size: 13px;
	margin-bottom: 8px;
}
.lop-template-classic-shaded .lop-title {
	color: #111;
	font-size: 24px;
	line-height: 1.28;
}

/* ---------------------------------------------------------
   2. Kaart met Schaduw — witte kaart, afbeelding boven,
      tekst eronder, zachte schaduw.
   --------------------------------------------------------- */
.lop-template-card-shadow .lop-item {
	flex-direction: column;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
	overflow: hidden;
}
.lop-template-card-shadow .lop-thumb {
	width: 100%;
	height: 220px;
}
.lop-template-card-shadow .lop-content {
	padding: 18px 20px 22px;
}
.lop-template-card-shadow .lop-label {
	color: var(--lop-accent, #2b6cb0);
	font-size: 12px;
	margin-bottom: 6px;
}
.lop-template-card-shadow .lop-title {
	font-size: 21px;
	color: #1a1a1a;
	margin-bottom: 6px;
}
.lop-template-card-shadow .lop-excerpt {
	font-size: 14px;
	color: #555;
}

/* ---------------------------------------------------------
   3. Minimalistisch met Onderlijn — geen kader, klein
      thumbnail, dunne onderlijn, subtiel.
   --------------------------------------------------------- */
.lop-template-minimal-underline .lop-item {
	align-items: center;
	border-bottom: 2px solid var(--lop-accent, #2b6cb0);
	padding-bottom: 14px;
}
.lop-template-minimal-underline .lop-thumb {
	width: 90px;
	height: 90px;
	border-radius: 6px;
	margin-right: 16px;
}
.lop-template-minimal-underline .lop-label {
	color: var(--lop-accent, #2b6cb0);
	font-size: 11px;
	margin-bottom: 4px;
}
.lop-template-minimal-underline .lop-title {
	font-size: 18px;
	color: #1a1a1a;
}

/* ---------------------------------------------------------
   4. Compact Inline Stripje — heel klein, oogt als
      tekstlink met piepklein vierkant beeld.
   --------------------------------------------------------- */
.lop-template-compact-inline .lop-item {
	align-items: center;
	background: #fafafa;
	border-left: 3px solid var(--lop-accent, #2b6cb0);
	padding: 8px 12px;
}
.lop-template-compact-inline .lop-thumb {
	width: 46px;
	height: 46px;
	border-radius: 4px;
	margin-right: 12px;
}
.lop-template-compact-inline .lop-label {
	display: none;
}
.lop-template-compact-inline .lop-title {
	font-size: 15px;
	color: #222;
	font-weight: 700;
}

/* ---------------------------------------------------------
   5. Groot Uitgelicht met Overlay — volledige breedte
      afbeelding met tekst-overlay onderin (editorial stijl).
   --------------------------------------------------------- */
.lop-template-featured-overlay .lop-item {
	position: relative;
	border-radius: 8px;
	overflow: hidden;
	min-height: 260px;
}
.lop-template-featured-overlay .lop-thumb {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
.lop-template-featured-overlay .lop-thumb::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.1) 60%, transparent 100%);
}
.lop-template-featured-overlay .lop-content {
	position: relative;
	z-index: 1;
	padding: 24px;
	margin-top: auto;
	justify-content: flex-end;
}
.lop-template-featured-overlay .lop-label {
	color: var(--lop-accent, #f0a500);
	font-size: 12px;
	margin-bottom: 8px;
}
.lop-template-featured-overlay .lop-title {
	color: #fff;
	font-size: 26px;
	line-height: 1.25;
}
.lop-template-featured-overlay .lop-excerpt {
	color: #eee;
	font-size: 14px;
	margin-top: 6px;
}

/* ---------------------------------------------------------
   6. Donkere Modus — donkere box, wit contrasterend,
      handig voor sites met een dark-theme.
   --------------------------------------------------------- */
.lop-template-dark-mode .lop-item {
	background: #191b1f;
	border-radius: 6px;
	overflow: hidden;
}
.lop-template-dark-mode .lop-thumb {
	width: 200px;
	height: 160px;
}
.lop-template-dark-mode .lop-content {
	padding: 20px 24px;
}
.lop-template-dark-mode .lop-label {
	color: var(--lop-accent, #5ab0ff);
	font-size: 12px;
	margin-bottom: 8px;
}
.lop-template-dark-mode .lop-title {
	color: #fff;
	font-size: 22px;
	line-height: 1.3;
}

/* ---------------------------------------------------------
   7. Kleuraccent Balk — witte kaart met dikke gekleurde
      balk aan de linkerkant, thumbnail rechts.
   --------------------------------------------------------- */
.lop-template-accent-border .lop-item {
	background: #fff;
	border: 1px solid #e7e7e7;
	border-left: 6px solid var(--lop-accent, #2b6cb0);
	border-radius: 4px;
	flex-direction: row-reverse;
}
.lop-template-accent-border .lop-thumb {
	width: 130px;
	height: 130px;
}
.lop-template-accent-border .lop-content {
	padding: 16px 20px;
}
.lop-template-accent-border .lop-label {
	color: var(--lop-accent, #2b6cb0);
	font-size: 12px;
	margin-bottom: 6px;
}
.lop-template-accent-border .lop-title {
	font-size: 19px;
	color: #1a1a1a;
}

/* ---------------------------------------------------------
   8. Grid met Kaarten — meerdere artikelen naast elkaar,
      ideaal bij 2-6 aanbevelingen onderaan een artikel.
   --------------------------------------------------------- */
.lop-template-grid-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 18px;
}
.lop-template-grid-cards .lop-item {
	flex-direction: column;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	overflow: hidden;
}
.lop-template-grid-cards .lop-thumb {
	width: 100%;
	height: 140px;
}
.lop-template-grid-cards .lop-content {
	padding: 14px 16px;
}
.lop-template-grid-cards .lop-label {
	color: var(--lop-accent, #2b6cb0);
	font-size: 11px;
	margin-bottom: 6px;
}
.lop-template-grid-cards .lop-title {
	font-size: 16px;
	color: #1a1a1a;
	line-height: 1.3;
}
.lop-template-grid-cards .lop-excerpt {
	font-size: 13px;
	color: #666;
	margin-top: 6px;
}

/* ---------------------------------------------------------
   9. Genummerde Lijst — verticale lijst met genummerde
      bolletjes, geschikt als sidebar-widget "Meest gelezen".
   --------------------------------------------------------- */
.lop-template-sidebar-list {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #eaeaea;
	border-radius: 6px;
	overflow: hidden;
}
.lop-template-sidebar-list .lop-item {
	align-items: center;
	padding: 12px 16px;
	border-bottom: 1px solid #f0f0f0;
	position: relative;
	counter-increment: lop-counter;
}
.lop-template-sidebar-list .lop-item:last-child {
	border-bottom: none;
}
.lop-template-sidebar-list .lop-item::before {
	content: counter(lop-counter);
	flex-shrink: 0;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--lop-accent, #2b6cb0);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 12px;
}
.lop-template-sidebar-list {
	counter-reset: lop-counter;
}
.lop-template-sidebar-list .lop-thumb {
	width: 56px;
	height: 56px;
	border-radius: 4px;
	margin-right: 12px;
}
.lop-template-sidebar-list .lop-label {
	display: none;
}
.lop-template-sidebar-list .lop-title {
	font-size: 14px;
	color: #1a1a1a;
	font-weight: 700;
}

/* ---------------------------------------------------------
   10. Badge op Afbeelding — categorie als kleurpil bovenop
       de foto zelf, titel eronder, geen apart label.
   --------------------------------------------------------- */
.lop-template-badge-overlay .lop-item {
	flex-direction: column;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	border: 1px solid #ececec;
}
.lop-template-badge-overlay .lop-thumb {
	width: 100%;
	height: 190px;
}
.lop-template-badge-overlay .lop-content {
	padding: 14px 18px 18px;
}
.lop-template-badge-overlay .lop-title {
	font-size: 19px;
	color: #1a1a1a;
	line-height: 1.3;
}

/* ---------------------------------------------------------
   Responsive: stapel op mobiel voor "enkel item" sjablonen.
   --------------------------------------------------------- */
@media (max-width: 480px) {
	.lop-template-classic-shaded .lop-item,
	.lop-template-dark-mode .lop-item {
		flex-direction: column;
	}
	.lop-template-classic-shaded .lop-thumb,
	.lop-template-dark-mode .lop-thumb {
		width: 100%;
		height: 180px;
	}
	.lop-template-accent-border .lop-item {
		flex-direction: column-reverse;
	}
	.lop-template-accent-border .lop-thumb {
		width: 100%;
		height: 160px;
	}
	.lop-template-grid-cards {
		grid-template-columns: 1fr;
	}
}
