/* New Ministry – Bedrijvengids */
.nm-biz-directory, .nm-biz-single, .nm-biz-header, .nm-biz-author, .nm-biz-widget { --nm-biz-accent: #8a6d3b; }
.nm-biz-directory { margin: 1rem 0; }
.nm-biz-directory *, .nm-biz-single *, .nm-biz-header *, .nm-biz-author *, .nm-biz-widget *, .nm-biz-archive * { box-sizing: border-box; }
.nm-biz-directory img, .nm-biz-single img, .nm-biz-header img, .nm-biz-widget img { max-width: 100%; }

/* Filterbalk */
.nm-biz-filter {
	display: flex;
	flex-wrap: wrap;
	gap: .6rem;
	align-items: center;
	margin-bottom: 1.4rem;
}
.nm-biz-filter__search { flex: 1 1 220px; min-width: 0; padding: .55rem .7rem; border: 1px solid #d9d2c6; border-radius: 10px; font: inherit; }
.nm-biz-filter__select { flex: 0 1 auto; max-width: 100%; padding: .55rem .5rem; border: 1px solid #d9d2c6; border-radius: 10px; font: inherit; background: #fff; }
@media (max-width: 600px) {
	.nm-biz-filter { flex-direction: column; align-items: stretch; }
	.nm-biz-filter__search, .nm-biz-filter__select, .nm-biz-filter .nm-biz-btn { width: 100%; }
}

/* Knoppen */
.nm-biz-btn {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	padding: .5rem .95rem;
	border: 1px solid var(--nm-biz-accent, #8a6d3b);
	border-radius: 999px;
	background: #fff;
	color: var(--nm-biz-accent, #8a6d3b) !important;
	font: inherit;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	line-height: 1.2;
}
.nm-biz-btn:hover { background: var(--nm-biz-accent, #8a6d3b); color: #fff !important; }
.nm-biz-btn--primary { background: var(--nm-biz-accent, #8a6d3b); color: #fff !important; }
.nm-biz-btn--wa { border-color: #25d366; color: #128c3e !important; }
.nm-biz-btn--wa:hover { background: #25d366; color: #fff !important; }

/* Grid + kaarten */
.nm-biz-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 1.1rem;
}
.nm-biz-card {
	display: flex;
	flex-direction: column;
	border: 1px solid #e6e1d8;
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	text-decoration: none !important;
	color: inherit;
	transition: box-shadow .15s ease, transform .15s ease;
}
.nm-biz-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.nm-biz-card__logo { position: relative; aspect-ratio: 16 / 10; background: #faf8f4; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.nm-biz-card__logo img { width: 100%; height: 100%; object-fit: cover; }
.nm-biz-card__logo--logo img { object-fit: contain; padding: 12%; }
.nm-biz-logo--placeholder span { font-size: 2.6rem; font-weight: 700; color: var(--nm-biz-accent, #8a6d3b); opacity: .55; }

/* Logo als klein badge op de hoofdfoto */
.nm-biz-badge { position: absolute; left: .6rem; bottom: .6rem; width: 46px; height: 46px; border-radius: 10px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.18); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.nm-biz-badge img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.nm-biz-card__body { padding: .9rem 1rem 1.1rem; display: flex; flex-direction: column; gap: .5rem; }
.nm-biz-card__title { margin: 0; font-size: 1.1rem; }
.nm-biz-card__excerpt { margin: 0; font-size: .92rem; opacity: .8; }
.nm-biz-card__more { font-weight: 600; color: var(--nm-biz-accent, #8a6d3b); font-size: .9rem; }

/* Chips */
.nm-biz-chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.nm-biz-chip { font-size: .72rem; padding: .16rem .55rem; border-radius: 999px; background: #f1ece2; color: #6b5a3a; font-weight: 600; }
.nm-biz-chip--regio { background: #eef2ec; color: #4c6a4c; }

/* Uitgelicht */
.nm-biz-featured { border: 1px solid var(--nm-biz-accent, #8a6d3b); border-radius: 16px; padding: .5rem; margin-bottom: 1.4rem; background: #fbf7ef; }
.nm-biz-featured__label { display: inline-block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--nm-biz-accent, #8a6d3b); margin: .3rem .5rem; }
.nm-biz-featured__inner { display: flex; gap: 1rem; text-decoration: none !important; color: inherit; align-items: stretch; }
.nm-biz-featured__logo { position: relative; flex: 0 0 42%; max-width: 320px; border-radius: 12px; overflow: hidden; background: #faf8f4; display: flex; align-items: center; justify-content: center; }
.nm-biz-featured__logo img { width: 100%; height: 100%; object-fit: cover; }
.nm-biz-featured__logo--logo img { object-fit: contain; padding: 10%; }
.nm-biz-featured__body { padding: .6rem .8rem; display: flex; flex-direction: column; gap: .5rem; justify-content: center; }
.nm-biz-featured__title { margin: 0; font-size: 1.35rem; }
@media (max-width: 560px) { .nm-biz-featured__inner { flex-direction: column; } .nm-biz-featured__logo { flex-basis: auto; max-width: none; aspect-ratio: 16/9; } }

/* Paginering + leeg */
.nm-biz-pagination { display: flex; align-items: center; gap: 1rem; justify-content: center; margin-top: 1.6rem; }
.nm-biz-pagination__info { font-size: .9rem; opacity: .75; }
.nm-biz-empty { padding: 1.5rem; text-align: center; background: #faf8f4; border-radius: 12px; }

/* Single bedrijf */
.nm-biz-single { --nm-biz-accent: #8a6d3b; margin-top: 1.5rem; }
.nm-biz-contactcard { border: 1px solid #e6e1d8; border-radius: 14px; padding: 1rem 1.2rem; background: #faf8f4; margin: 1rem 0; }
.nm-biz-contactcard h3 { margin: 0 0 .6rem; }
.nm-biz-contactcard__list { list-style: none; margin: 0 0 .8rem; padding: 0; display: flex; flex-direction: column; gap: .3rem; }
.nm-biz-contactcard__btns { display: flex; flex-wrap: wrap; gap: .5rem; }
.nm-biz-owner { font-size: .95rem; opacity: .85; }

/* Formulier */
.nm-biz-form-wrap { border-top: 1px solid #e6e1d8; margin-top: 1.4rem; padding-top: 1.2rem; }
.nm-biz-form label { font-weight: 600; }
.nm-biz-form input[type=text], .nm-biz-form input[type=email], .nm-biz-form textarea {
	width: 100%; padding: .55rem .7rem; border: 1px solid #d9d2c6; border-radius: 10px; font: inherit; margin-top: .25rem;
}
.nm-biz-notice { padding: .7rem 1rem; border-radius: 10px; margin-bottom: 1rem; }
.nm-biz-notice--ok { background: #e9f5ea; color: #256b2e; }
.nm-biz-notice--err { background: #fcebea; color: #99302a; }

/* Bedrijf van dit lid (auteur-archief) */
.nm-biz-author { margin: 1.5rem 0; }
.nm-biz-author__title { margin: 0 0 .8rem; }

/* Archiefpagina (tegel-overzicht binnen het thema) */
.nm-biz-archive__inner { max-width: 1140px; margin: 0 auto; padding: 2rem 1.2rem; }
.nm-biz-archive__title { margin: 0 0 1.2rem; }

/* Sidebar-widget: preview van het bedrijf van de auteur */
.nm-biz-widget { --nm-biz-accent: #8a6d3b; }
.nm-biz-wcard { display: flex; gap: .7rem; align-items: center; border: 1px solid #e6e1d8; border-radius: 12px; padding: .7rem; background: #fff; text-decoration: none !important; color: inherit; }
.nm-biz-wcard:hover { border-color: var(--nm-biz-accent, #8a6d3b); }
.nm-biz-wcard__logo { flex: 0 0 58px; width: 58px; height: 58px; border-radius: 10px; overflow: hidden; background: #faf8f4; display: flex; align-items: center; justify-content: center; }
.nm-biz-wcard__logo img { width: 100%; height: 100%; object-fit: cover; }
.nm-biz-wcard__logo--contain img { object-fit: contain; padding: 6px; }
.nm-biz-wcard__letter { font-size: 1.5rem; font-weight: 700; color: var(--nm-biz-accent, #8a6d3b); opacity: .55; }
.nm-biz-wcard__body { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.nm-biz-wcard__name { font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.nm-biz-wcard__meta { font-size: .8rem; opacity: .7; overflow-wrap: anywhere; }
.nm-biz-wcard__more { font-size: .82rem; font-weight: 600; color: var(--nm-biz-accent, #8a6d3b); margin-top: .15rem; }

/* Header op de bedrijfspagina: banner + logo */
.nm-biz-header { --nm-biz-accent: #8a6d3b; margin: 0 0 1.2rem; }
.nm-biz-header__banner { border-radius: 14px; overflow: hidden; margin-bottom: 1rem; }
.nm-biz-header__banner img { width: 100%; height: auto; max-height: 360px; object-fit: cover; display: block; }
.nm-biz-header__logo { display: inline-block; max-width: 180px; margin-bottom: .8rem; padding: .6rem .8rem; background: #fff; border: 1px solid #e6e1d8; border-radius: 12px; }
.nm-biz-header__logo img { display: block; width: 100%; height: auto; }
.nm-biz-header .nm-biz-chips { margin-top: .2rem; }
@media (max-width: 480px) {
	.nm-biz-header__banner img { max-height: 220px; }
	.nm-biz-contactcard__btns { gap: .4rem; }
	.nm-biz-contactcard__btns .nm-biz-btn { flex: 1 1 auto; justify-content: center; }
}

/* ============================================================
   Stijl van het thema overnemen (minimale eigen opmaak)
   ============================================================ */
.nm-biz--theme .nm-biz-card,
.nm-biz--theme .nm-biz-featured,
.nm-biz--theme .nm-biz-contactcard,
.nm-biz--theme .nm-biz-header__logo,
.nm-biz--theme .nm-biz-wcard {
	border: 0;
	background: transparent;
	box-shadow: none;
	border-radius: 0;
	padding: 0;
}
.nm-biz--theme .nm-biz-card:hover { transform: none; box-shadow: none; }
.nm-biz--theme .nm-biz-card__body { padding: .5rem 0 1.2rem; }
.nm-biz--theme .nm-biz-card__logo,
.nm-biz--theme .nm-biz-featured__logo { border-radius: 0; }
.nm-biz--theme .nm-biz-featured { padding: 0; margin-bottom: 1.4rem; }
.nm-biz--theme .nm-biz-featured__label { margin-left: 0; }
.nm-biz--theme .nm-biz-form-wrap { border-top: 0; }
.nm-biz--theme .nm-biz-chip { background: transparent; color: inherit; border: 1px solid currentColor; opacity: .65; }
.nm-biz--theme .nm-biz-card__more,
.nm-biz--theme .nm-biz-wcard__more { color: inherit; }
.nm-biz--theme .nm-biz-btn { background: transparent; color: inherit !important; border-color: currentColor; }
.nm-biz--theme .nm-biz-btn:hover { background: rgba(0, 0, 0, .06); color: inherit !important; }
.nm-biz--theme .nm-biz-btn--primary { background: transparent; }
.nm-biz--theme .nm-biz-wcard { gap: .6rem; }
