/* ============================================================
 *  ALD FORUM — frontend styling
 *  Past binnen de LAKPRO huisstijl (rood + wit + grijze lijnen)
 * ============================================================ */

.ald-forum {
	--red-600: #E11D2A;
	--red-700: #B91723;
	--red-50:  #FEE2E4;
	--ink-900: #0F1419;
	--ink-700: #2D3340;
	--ink-600: #5B6373;
	--ink-500: #8C8F94;
	--ink-400: #B1B5BD;
	--line-200: #E4E6EB;
	--line-100: #F0F1F3;
	--white: #FFFFFF;
	--bg: #F7F8FA;
	padding: 32px 0 80px;
	color: var(--ink-900);
	line-height: 1.5;
	font-size: 14px;
}

/* Headings */
.ald-eyebrow {
	display: inline-block;
	background: var(--red-50); color: var(--red-600);
	padding: 4px 10px; border-radius: 999px;
	font-size: 11px; font-weight: 700;
	letter-spacing: 0.06em; text-transform: uppercase;
}
.ald-title { font-size: 28px; margin: 10px 0 4px; font-weight: 800; }
.ald-sub { color: var(--ink-600); margin: 0; font-size: 14px; }

.ald-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.ald-crumb { color: var(--ink-500); font-size: 12px; margin-bottom: 16px; }
.ald-crumb a { color: var(--ink-500); text-decoration: none; }
.ald-crumb a:hover { color: var(--ink-900); }
.ald-crumb strong { color: var(--ink-900); }

/* Buttons */
.ald-btn {
	display: inline-flex; align-items: center; gap: 6px;
	border: 0; cursor: pointer; padding: 10px 16px; border-radius: 10px;
	font-size: 13px; font-weight: 600; text-decoration: none;
	font-family: inherit; line-height: 1;
}
.ald-btn--primary { background: var(--red-600); color: white; }
.ald-btn--primary:hover { background: var(--red-700); color: white; }
.ald-btn--ghost { background: transparent; color: var(--ink-700); border: 1px solid var(--line-200); }
.ald-btn--ghost:hover { background: var(--line-100); }
.ald-btn--sm { padding: 7px 12px; font-size: 12px; }

/* Avatar */
.ald-avatar {
	border-radius: 50%; color: white; flex-shrink: 0;
	display: inline-flex; align-items: center; justify-content: center;
	font-weight: 700;
}
.ald-avatar--red   { background: linear-gradient(135deg, #E11D2A, #ff5760); }
.ald-avatar--blue  { background: linear-gradient(135deg, #345dee, #6b89ff); }
.ald-avatar--amber { background: linear-gradient(135deg, #f0b849, #ffd073); }

/* Search bar */
.ald-search {
	background: white; border: 1px solid var(--line-200); border-radius: 14px;
	padding: 14px 16px; margin-bottom: 20px;
	display: flex; gap: 10px; align-items: center;
}
.ald-search input[type="search"] {
	flex: 1; border: 0; outline: none; font-size: 15px;
	font-family: inherit; color: var(--ink-900); background: transparent;
}
.ald-search select {
	padding: 8px 26px 8px 10px; border: 1px solid var(--line-200);
	border-radius: 8px; background: white; font-size: 13px;
	color: var(--ink-700); appearance: none;
	background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%235B6373' d='M5 6L0 0h10z'/></svg>");
	background-repeat: no-repeat; background-position: right 8px center;
}
.ald-search svg { color: var(--ink-400); flex-shrink: 0; }

.ald-cta-bar { margin: 8px 0 20px; }
.ald-cta-link { color: var(--red-600); font-weight: 600; text-decoration: none; font-size: 13px; }
.ald-cta-link:hover { text-decoration: underline; }

/* Category list */
.ald-cat-list { display: flex; flex-direction: column; gap: 12px; }
.ald-cat-card {
	background: white; border: 1px solid var(--line-200); border-radius: 14px;
	padding: 20px; display: flex; gap: 16px; align-items: flex-start;
	transition: transform .15s, box-shadow .15s, border-color .15s;
	text-decoration: none; color: inherit;
}
.ald-cat-card:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,.06); border-color: var(--red-50); color: inherit; }
.ald-cat-icon {
	width: 48px; height: 48px; border-radius: 12px; background: var(--red-50);
	display: flex; align-items: center; justify-content: center; font-size: 24px;
	flex-shrink: 0;
}
.ald-cat-info { flex: 1; min-width: 0; }
.ald-cat-name { font-weight: 700; font-size: 16px; margin: 0 0 4px; }
.ald-cat-desc { color: var(--ink-600); font-size: 13px; margin: 0 0 10px; }
.ald-cat-recent { color: var(--ink-500); font-size: 12px; }
.ald-cat-recent strong { color: var(--ink-700); font-weight: 600; }
.ald-cat-meta { text-align: right; color: var(--ink-500); font-size: 12px; flex-shrink: 0; }
.ald-cat-count { font-size: 18px; font-weight: 700; color: var(--ink-900); }

/* Topic list */
.ald-topic-list { display: flex; flex-direction: column; gap: 8px; }
.ald-topic-row {
	background: white; border: 1px solid var(--line-200); border-radius: 12px;
	padding: 14px 18px; display: flex; gap: 14px; align-items: center;
	text-decoration: none; color: inherit; transition: all .12s;
}
.ald-topic-row:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,.05); color: inherit; }
.ald-topic-row.is-sticky { border-color: var(--red-50); background: linear-gradient(180deg, #fff8f8 0%, #fff 100%); }
.ald-topic-info { flex: 1; min-width: 0; }
.ald-topic-title { font-weight: 600; font-size: 14px; color: var(--ink-900); margin: 0; }
.ald-topic-meta { color: var(--ink-500); font-size: 12px; margin-top: 3px; }
.ald-topic-stats { text-align: right; flex-shrink: 0; color: var(--ink-500); font-size: 11px; min-width: 70px; }
.ald-topic-stats__count { font-weight: 700; font-size: 16px; color: var(--ink-900); display: block; }
.ald-badge { display: inline-block; padding: 2px 7px; border-radius: 6px; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.ald-badge--sticky { background: var(--red-50); color: var(--red-600); }
.ald-badge--solved { background: #e7f8ee; color: #1f9d4a; }

/* Pagination */
.ald-pagination { margin-top: 20px; display: flex; gap: 4px; }
.ald-pagination a {
	padding: 8px 12px; border-radius: 8px; border: 1px solid var(--line-200);
	background: white; color: var(--ink-700); text-decoration: none; font-size: 13px;
}
.ald-pagination a.is-active { background: var(--ink-900); color: white; border-color: var(--ink-900); }
.ald-pagination a:hover { border-color: var(--red-600); }

/* Empty state */
.ald-empty {
	background: white; border: 1px dashed var(--line-200); border-radius: 14px;
	padding: 32px; text-align: center; color: var(--ink-600);
}
.ald-empty h3 { margin: 0 0 8px; font-size: 18px; color: var(--ink-900); }

/* Topic detail */
.ald-forum--topic .ald-forum { max-width: 780px; }
.ald-topic-header { margin-bottom: 24px; }
.ald-topic-h1 { font-size: 26px; margin: 0 0 4px; font-weight: 800; line-height: 1.25; }
.ald-topic-byline { color: var(--ink-500); font-size: 13px; margin: 0; }

.ald-post {
	background: white; border: 1px solid var(--line-200); border-radius: 14px;
	padding: 20px; margin-bottom: 12px;
}
.ald-post--op { border-color: var(--red-50); }
.ald-post--best { border-color: #c1e9cf; background: linear-gradient(180deg, #f6fdf8 0%, #fff 100%); }
.ald-post__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.ald-post__author { font-weight: 700; font-size: 14px; color: var(--ink-900); }
.ald-post__time { color: var(--ink-500); font-size: 12px; }
.ald-post__body { font-size: 14px; color: var(--ink-700); line-height: 1.6; }
.ald-post__body p { margin: 0 0 10px; }
.ald-post__body img { max-width: 100%; height: auto; border-radius: 8px; }
.ald-post__gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; margin-top: 14px; }
.ald-post__gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }
.ald-post__video { margin-top: 14px; }
.ald-post__video iframe { width: 100%; aspect-ratio: 16/9; border-radius: 10px; border: 0; }

.ald-post__actions {
	display: flex; gap: 6px; margin-top: 14px; padding-top: 14px;
	border-top: 1px solid var(--line-100); color: var(--ink-500); font-size: 12px; align-items: center;
}
.ald-act {
	background: transparent; border: 0; padding: 6px 10px; border-radius: 8px;
	cursor: pointer; font-size: 13px; font-weight: 600;
	color: var(--ink-600); display: inline-flex; gap: 6px; align-items: center;
	transition: all .12s; font-family: inherit; text-decoration: none;
}
.ald-act:hover { background: var(--line-100); color: var(--ink-900); }
.ald-act.is-liked { color: var(--red-600); }
.ald-act.is-liked .ald-heart::before { content: '♥'; }
.ald-act.is-liked:hover { background: var(--red-50); }
.ald-act--mark-best { color: #1f9d4a; }
.ald-act--mark-best:hover { background: #e7f8ee; color: #16803a; }
.ald-act--is-best { color: #1f9d4a; cursor: default; }
.ald-act--is-best:hover { background: transparent; }

.ald-best-marker { color: #1f9d4a; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; margin: 16px 0 4px; }
.ald-replies-count { font-size: 14px; font-weight: 700; color: var(--ink-700); margin: 24px 0 12px; }

/* Reply form */
.ald-reply-form {
	background: white; border: 1px solid var(--line-200); border-radius: 14px;
	padding: 16px; margin-top: 12px;
}
.ald-reply-form textarea {
	width: 100%; border: 1px solid var(--line-200); border-radius: 10px;
	padding: 12px; font-family: inherit; font-size: 14px; min-height: 80px;
	resize: vertical; outline: none; box-sizing: border-box;
}
.ald-reply-form textarea:focus { border-color: var(--red-600); }
.ald-reply-form__actions { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.ald-upload { color: var(--ink-500); font-size: 12px; cursor: pointer; padding: 4px 8px; }
.ald-upload:hover { color: var(--ink-900); }

.ald-locked {
	background: var(--line-100); border-radius: 12px; padding: 16px;
	text-align: center; color: var(--ink-600); font-size: 13px;
}

/* New-topic form */
.ald-form-card { background: white; border: 1px solid var(--line-200); border-radius: 16px; padding: 28px; max-width: 720px; }
.ald-form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.ald-form-row > label { font-weight: 600; font-size: 13px; color: var(--ink-700); }
.ald-form-hint { color: var(--ink-500); font-size: 11px; }
.ald-form-card input[type="text"], .ald-form-card input[type="url"], .ald-form-card select, .ald-form-card textarea {
	width: 100%; padding: 12px 14px; border: 1px solid var(--line-200); border-radius: 10px;
	font-family: inherit; font-size: 14px; outline: none; box-sizing: border-box;
}
.ald-form-card textarea { min-height: 160px; resize: vertical; }
.ald-form-card input:focus, .ald-form-card select:focus, .ald-form-card textarea:focus { border-color: var(--red-600); }
.ald-type-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.ald-type-pills label {
	background: var(--line-100); padding: 8px 14px; border-radius: 999px;
	font-size: 13px; cursor: pointer; display: inline-flex; align-items: center; gap: 4px;
}
.ald-type-pills input { display: none; }
.ald-type-pills label:has(input:checked) { background: var(--ink-900); color: white; }
.ald-dropzone {
	border: 2px dashed var(--line-200); border-radius: 12px; padding: 28px;
	text-align: center; color: var(--ink-500); font-size: 13px; cursor: pointer;
	transition: all .12s; display: block;
}
.ald-dropzone input { display: none; }
.ald-dropzone:hover { border-color: var(--red-600); color: var(--red-600); background: #fff5f6; }
.ald-dropzone__icon { font-size: 32px; margin-bottom: 6px; }
.ald-img-preview { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.ald-img-preview img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; }
.ald-form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.ald-form-msg { padding: 10px 14px; border-radius: 8px; margin-top: 10px; }
.ald-form-msg.is-error { background: #fee2e4; color: #b91723; }
.ald-form-msg.is-success { background: #e7f8ee; color: #16803a; }

/* Live feed */
.ald-forum--feed { padding: 0; }
.ald-live-bar {
	background: white; border-bottom: 1px solid var(--line-200);
	padding: 10px 20px; display: flex; align-items: center; justify-content: space-between;
	font-size: 13px;
}
.ald-live-bar__pulse { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-700); }
.ald-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #1f9d4a; animation: ald-pulse 1.8s infinite; }
@keyframes ald-pulse { 0% { box-shadow: 0 0 0 0 rgba(31,157,74,.5); } 70% { box-shadow: 0 0 0 10px rgba(31,157,74,0); } 100% { box-shadow: 0 0 0 0 rgba(31,157,74,0); } }
.ald-live-new {
	background: var(--red-600); color: white; padding: 4px 10px; border-radius: 999px;
	font-size: 11px; font-weight: 700; cursor: pointer; border: 0;
}

.ald-feed-filters {
	display: flex; gap: 6px; padding: 12px 20px 0; flex-wrap: wrap;
	max-width: 660px; margin: 0 auto;
}
.ald-pill {
	background: white; border: 1px solid var(--line-200);
	padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
	color: var(--ink-700); cursor: pointer; font-family: inherit;
}
.ald-pill:hover { border-color: var(--red-50); }
.ald-pill.is-active { background: var(--ink-900); color: white; border-color: var(--ink-900); }

.ald-feed-stream { max-width: 660px; margin: 0 auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 14px; }
.ald-feed-item {
	background: white; border: 1px solid var(--line-200); border-radius: 14px;
	overflow: hidden; transition: transform .12s, box-shadow .15s;
}
.ald-feed-item:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,.06); }
.ald-feed-item.is-new { border-color: #1f9d4a; }
.ald-feed-item__head { display: flex; align-items: center; gap: 10px; padding: 14px 16px 10px; }
.ald-feed-item__info { flex: 1; min-width: 0; }
.ald-feed-item__author { font-weight: 700; font-size: 14px; color: var(--ink-900); }
.ald-feed-item__meta { font-size: 12px; color: var(--ink-500); margin-top: 1px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.ald-feed-item__cat-tag { background: var(--line-100); color: var(--ink-700); padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 600; text-decoration: none; }
.ald-feed-item__type-tag { padding: 2px 8px; border-radius: 6px; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.ald-feed-item__type-tag--vraag { background: #ecfeff; color: #0891b2; }
.ald-feed-item__type-tag--foto  { background: #faf5ff; color: #9333ea; }
.ald-feed-item__type-tag--video { background: #fee2e2; color: #dc2626; }
.ald-feed-item__type-tag--wip   { background: #fef3c7; color: #b45309; }
.ald-feed-item__title { display: block; padding: 0 16px 6px; font-size: 17px; font-weight: 700; color: var(--ink-900); line-height: 1.3; text-decoration: none; }
.ald-feed-item__title:hover { color: var(--red-600); }
.ald-feed-item__body { padding: 0 16px 12px; font-size: 14px; color: var(--ink-700); line-height: 1.55; margin: 0; }
.ald-feed-item__media { position: relative; background: var(--line-100); aspect-ratio: 4/3; overflow: hidden; display: block; }
.ald-feed-item__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ald-feed-item__video-play {
	position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
	width: 64px; height: 64px; border-radius: 50%;
	background: rgba(0,0,0,.6); backdrop-filter: blur(6px);
	display: flex; align-items: center; justify-content: center;
	color: white; font-size: 22px;
}
.ald-feed-item__photo-count {
	position: absolute; bottom: 10px; right: 10px;
	background: rgba(0,0,0,.7); color: white;
	padding: 3px 8px; border-radius: 4px; font-size: 11px; font-weight: 600;
}
.ald-feed-item__actions { display: flex; gap: 4px; padding: 8px 12px; border-top: 1px solid var(--line-100); }
.ald-feed-item__actions .ald-act { flex: 1; justify-content: center; }

/* Quick reply inline in feed */
.ald-quick-reply { padding: 0 14px 14px; }
.ald-quick-reply[hidden] { display: none !important; }
.ald-quick-reply-form { background: var(--line-100); border-radius: 12px; padding: 12px; }
.ald-quick-reply-form textarea {
	width: 100%; border: 1px solid var(--line-200); border-radius: 8px;
	padding: 10px 12px; font-family: inherit; font-size: 14px; min-height: 60px;
	resize: vertical; outline: none; box-sizing: border-box; background: white;
}
.ald-quick-reply-form textarea:focus { border-color: var(--red-600); }
.ald-quick-reply-form__actions { display: flex; gap: 8px; justify-content: flex-end; align-items: center; margin-top: 8px; }
.ald-quick-reply-msg { font-size: 12px; margin-top: 8px; padding: 8px 10px; border-radius: 6px; }
.ald-quick-reply-msg.is-success { background: #e7f8ee; color: #16803a; }
.ald-quick-reply-msg.is-error   { background: #fee2e4; color: #b91723; }

/* Search results */
.ald-search-results { display: flex; flex-direction: column; gap: 8px; }
.ald-search-result {
	background: white; border: 1px solid var(--line-200); border-radius: 12px;
	padding: 16px 18px; transition: all .12s; text-decoration: none; color: inherit; display: block;
}
.ald-search-result:hover { border-color: var(--red-50); box-shadow: 0 4px 14px rgba(0,0,0,.05); color: inherit; }
.ald-search-result__crumb { color: var(--ink-500); font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }
.ald-search-result__title { font-weight: 700; font-size: 15px; margin: 0 0 6px; color: var(--ink-900); }
.ald-search-result__excerpt { color: var(--ink-600); font-size: 13px; line-height: 1.5; margin: 0 0 8px; }
.ald-search-result__meta { color: var(--ink-500); font-size: 12px; }
.ald-search-result mark, .ald-search-result__title mark { background: #fef3c7; color: var(--ink-900); padding: 1px 4px; border-radius: 3px; font-weight: 700; }

/* Share modal */
.ald-share-modal { position: fixed; inset: 0; z-index: 9999; }
.ald-share-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.ald-share-modal__panel {
	position: absolute; bottom: 0; left: 0; right: 0; background: white;
	border-radius: 16px 16px 0 0; padding: 20px 18px 28px; max-width: 480px;
	margin: 0 auto; animation: ald-slide .25s ease;
}
@keyframes ald-slide { from { transform: translateY(100%); } to { transform: translateY(0); } }
.ald-share-modal__panel h3 { margin: 0 0 16px; font-size: 17px; }
.ald-share-modal__close { position: absolute; top: 10px; right: 12px; background: transparent; border: 0; font-size: 22px; color: var(--ink-500); cursor: pointer; }
.ald-share-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.ald-share-btn {
	background: var(--line-100); border: 0; padding: 14px 12px; border-radius: 12px;
	display: flex; align-items: center; gap: 8px; cursor: pointer;
	font-size: 13px; font-weight: 600; color: var(--ink-900); text-decoration: none; font-family: inherit;
}
.ald-share-btn:hover { background: var(--line-200); color: var(--ink-900); }
.ald-share-btn span { font-size: 18px; }
.ald-share-btn--wa:hover { background: #e7f8ee; }
.ald-share-btn--fb:hover { background: #e8f0fe; }
.ald-share-btn--x:hover  { background: #f0f0f0; }
.ald-share-btn--copy.is-copied { background: #e7f8ee; color: #16803a; }

.ald-feed-loading { text-align: center; padding: 20px; color: var(--ink-500); font-size: 13px; }

/* ── TAB STRIP bovenin elke forum-pagina ── */
.ald-tabs {
	background: white;
	border-bottom: 1px solid var(--line-200);
	margin: 0 0 24px;
	overflow-x: auto; -webkit-overflow-scrolling: touch;
	position: sticky; top: 0; z-index: 50;
}
.ald-tabs__inner { display: flex; gap: 4px; padding: 8px 0; }
.ald-tab {
	flex-shrink: 0;
	padding: 8px 14px; border-radius: 8px;
	font-size: 13px; font-weight: 600; color: var(--ink-600);
	text-decoration: none;
	transition: all .12s;
	white-space: nowrap;
	display: inline-flex; align-items: center; gap: 6px;
}
.ald-tab:hover { background: var(--line-100); color: var(--ink-900); }
.ald-tab.is-active { background: var(--red-600); color: white; }
.ald-tab.is-active:hover { background: var(--red-700); color: white; }
.ald-tab--new {
	margin-left: auto; background: var(--ink-900); color: white;
}
.ald-tab--new:hover { background: #000; color: white; }

@media (max-width: 640px) {
	.ald-tab { padding: 7px 11px; font-size: 12px; }
	.ald-tab--new { margin-left: 4px; }
}

/* ── MARKTPLAATS ── */
.ald-mkt-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ald-mkt-filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; align-items: center; }
.ald-mkt-filters .ald-pill { text-decoration: none; }

.ald-mkt-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 16px;
}
.ald-mkt-card {
	background: white; border: 1px solid var(--line-200); border-radius: 14px;
	overflow: hidden; text-decoration: none; color: inherit;
	transition: transform .15s, box-shadow .15s;
	display: flex; flex-direction: column;
}
.ald-mkt-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.08); color: inherit; }
.ald-mkt-card.is-sold { opacity: .55; }
.ald-mkt-card__media {
	position: relative; aspect-ratio: 4/3; background: var(--line-100); overflow: hidden;
}
.ald-mkt-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ald-mkt-card__noimg {
	display: flex; align-items: center; justify-content: center;
	width: 100%; height: 100%; font-size: 42px; color: var(--ink-400);
}
.ald-mkt-card__type-badge {
	position: absolute; top: 10px; left: 10px;
	background: rgba(255,255,255,.95); backdrop-filter: blur(6px);
	color: var(--ink-900); padding: 4px 10px; border-radius: 999px;
	font-size: 11px; font-weight: 700;
}
.ald-mkt-card.is-gezocht .ald-mkt-card__type-badge { background: rgba(255,243,199,.95); color: #b45309; }
.ald-mkt-card__sold {
	position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: center;
	background: rgba(0,0,0,.55); color: #fff;
	font-weight: 800; font-size: 22px; letter-spacing: 0.1em;
	transform: rotate(-12deg);
}
.ald-mkt-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.ald-mkt-card__title { font-weight: 700; font-size: 14px; line-height: 1.3; margin: 0; color: var(--ink-900); }
.ald-mkt-card__price { font-weight: 800; font-size: 18px; color: var(--red-600); margin-top: 4px; }
.ald-mkt-card__meta { font-size: 11px; color: var(--ink-500); display: flex; gap: 6px; flex-wrap: wrap; margin-top: 2px; }
.ald-mkt-card__author { font-size: 11px; color: var(--ink-500); margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line-100); }

/* Listing detail card (op topic-pagina) */
.ald-listing-card {
	background: linear-gradient(180deg, #fff8f8 0%, #fff 100%);
	border: 1px solid var(--red-50); border-radius: 16px;
	padding: 20px; margin: 16px 0 24px;
	display: flex; flex-direction: column; gap: 12px;
}
.ald-listing-card.is-sold { background: var(--line-100); border-color: var(--line-200); }
.ald-listing-card__top { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.ald-listing-type { font-weight: 700; font-size: 13px; color: var(--ink-900); }
.ald-listing-status { padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.ald-listing-status--beschikbaar { background: #e7f8ee; color: #16803a; }
.ald-listing-status--verkocht    { background: #fee2e4; color: #b91723; }
.ald-listing-price { font-size: 32px; font-weight: 800; color: var(--ink-900); }
.ald-listing-meta { display: flex; gap: 14px; color: var(--ink-600); font-size: 13px; flex-wrap: wrap; }

/* Marktplaats fields in nieuw-topic form */
.ald-marktplaats-fields {
	background: #fff8f8; border: 1px solid var(--red-50); border-radius: 12px;
	padding: 16px; margin-bottom: 18px;
}
.ald-marktplaats-fields[hidden] { display: none !important; }

/* Mkt search info */
.ald-mkt-search-info {
	background: var(--line-100); padding: 8px 14px; border-radius: 8px;
	font-size: 13px; color: var(--ink-700); margin: 0 0 16px;
}
.ald-mkt-search-info a { color: var(--red-600); }

/* ── DEDICATED MARKTPLAATS FORM ── */
.ald-mkt-form-wrap { max-width: 720px; margin: 0 auto; }

.ald-mkt-form-header {
	background: white; border: 1px solid var(--line-200); border-radius: 18px 18px 0 0;
	padding: 24px 28px; border-bottom: 2px solid var(--red-50);
	display: flex; gap: 18px; align-items: center;
}
.ald-mkt-form-header__icon {
	width: 64px; height: 64px; border-radius: 16px;
	display: flex; align-items: center; justify-content: center;
	font-size: 32px; flex-shrink: 0;
}
.ald-mkt-form-header__title { margin: 0 0 4px; font-size: 22px; font-weight: 800; }
.ald-mkt-form-header__sub { margin: 0; color: var(--ink-600); font-size: 13px; line-height: 1.5; }

.ald-mkt-form { background: white; border: 1px solid var(--line-200); border-top: 0; border-radius: 0 0 18px 18px; padding: 8px 0 28px; }

.ald-mkt-section {
	padding: 24px 28px;
	border-bottom: 1px solid var(--line-100);
}
.ald-mkt-section:last-of-type { border-bottom: 0; }
.ald-mkt-section--collapsed { padding-top: 0; }
.ald-mkt-section--collapsed details summary {
	cursor: pointer; padding: 14px 0; color: var(--ink-700); font-size: 13px; font-weight: 600;
	display: flex; align-items: center; gap: 6px;
}
.ald-mkt-section--collapsed details summary::before { content: '+'; font-size: 18px; color: var(--ink-400); transition: transform .2s; }
.ald-mkt-section--collapsed details[open] summary::before { content: '−'; }

.ald-mkt-section__head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.ald-mkt-section__num {
	width: 28px; height: 28px; border-radius: 50%;
	background: var(--ink-900); color: white;
	display: flex; align-items: center; justify-content: center;
	font-weight: 700; font-size: 13px; flex-shrink: 0;
}
.ald-mkt-section__head h2 { margin: 0; font-size: 16px; font-weight: 700; color: var(--ink-900); }
.ald-mkt-section__desc { margin: 0 0 16px 40px; color: var(--ink-600); font-size: 13px; line-height: 1.5; }

.ald-mkt-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.ald-mkt-row:last-child { margin-bottom: 0; }
.ald-mkt-row > label { font-weight: 600; font-size: 13px; color: var(--ink-700); }
.ald-mkt-row > input, .ald-mkt-row > select, .ald-mkt-row > textarea {
	width: 100%; padding: 12px 14px; border: 1px solid var(--line-200); border-radius: 10px;
	font-family: inherit; font-size: 14px; outline: none; box-sizing: border-box;
}
.ald-mkt-row > input:focus, .ald-mkt-row > select:focus, .ald-mkt-row > textarea:focus { border-color: var(--red-600); box-shadow: 0 0 0 3px rgba(225,29,42,.08); }
.ald-mkt-row > textarea { min-height: 120px; resize: vertical; }
.ald-mkt-row--price input { font-size: 22px; font-weight: 700; }
.ald-mkt-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ald-mkt-row-2 .ald-mkt-row { margin-bottom: 0; }

.ald-mkt-section > .ald-mkt-row,
.ald-mkt-section > .ald-mkt-row-2,
.ald-mkt-section > textarea { margin-left: 40px; }
.ald-mkt-section > textarea {
	width: calc(100% - 40px); padding: 12px 14px; border: 1px solid var(--line-200); border-radius: 10px;
	font-family: inherit; font-size: 14px; outline: none; min-height: 140px; resize: vertical; box-sizing: border-box;
}
.ald-mkt-section > textarea:focus { border-color: var(--red-600); box-shadow: 0 0 0 3px rgba(225,29,42,.08); }

.ald-mkt-dropzone {
	margin-left: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center;
	border: 2px dashed var(--line-200); border-radius: 14px; padding: 32px 20px;
	cursor: pointer; transition: all .15s; text-align: center;
	color: var(--ink-600);
}
.ald-mkt-dropzone:hover { border-color: var(--red-600); background: #fff8f8; color: var(--red-600); }
.ald-mkt-dropzone input { display: none; }
.ald-mkt-dropzone__icon { font-size: 40px; margin-bottom: 8px; }
.ald-mkt-dropzone strong { font-size: 14px; margin-bottom: 4px; }
.ald-mkt-dropzone span { font-size: 12px; color: var(--ink-500); }
.ald-mkt-preview { margin-left: 40px; margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.ald-mkt-preview img { width: 80px; height: 80px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line-200); }

.ald-mkt-actions-bar {
	display: flex; justify-content: space-between; align-items: center; gap: 12px;
	padding: 16px 28px 0;
	flex-wrap: wrap;
}
.ald-btn--lg { padding: 14px 24px; font-size: 14px; }

@media (max-width: 640px) {
	.ald-mkt-form-header { flex-direction: column; text-align: center; padding: 20px; }
	.ald-mkt-form-header__title { font-size: 18px; }
	.ald-mkt-section { padding: 18px; }
	.ald-mkt-section__desc { margin-left: 0; }
	.ald-mkt-section > .ald-mkt-row,
	.ald-mkt-section > .ald-mkt-row-2,
	.ald-mkt-section > textarea,
	.ald-mkt-dropzone, .ald-mkt-preview { margin-left: 0; }
	.ald-mkt-section > textarea { width: 100%; }
	.ald-mkt-row-2 { grid-template-columns: 1fr; }
	.ald-mkt-actions-bar { padding: 12px 18px 0; }
}

/* Mobile */
@media (max-width: 640px) {
	.ald-head { flex-direction: column; align-items: stretch; }
	.ald-cat-card { flex-direction: column; }
	.ald-cat-meta { text-align: left; }
	.ald-topic-row { flex-wrap: wrap; }
	.ald-topic-stats { text-align: left; min-width: 0; }
	.ald-title { font-size: 22px; }
	.ald-topic-h1 { font-size: 20px; }
	.ald-form-card { padding: 18px; }
}
