/* Bosstad Tweewielers – categorietegels "Welke fiets zoekt u?" (2026-09-27). Hoort bij novamira-sandbox/bosstad-categorieen.php. */

.bs-cat { font-family: var(--bs-font-body, Barlow, sans-serif); color: var(--bs-text, #4A5356); }
.bs-cat *, .bs-cat *::before, .bs-cat *::after { box-sizing: border-box; }

.bs-cat__kop { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 28px; }
.bs-cat .bs-cat__eyebrow { margin: 0 0 10px; font: 700 12.5px/1 var(--bs-font-body, Barlow, sans-serif); letter-spacing: .16em; text-transform: uppercase; color: var(--bs-teal, #0F8A7C); }
body .bs-cat .bs-cat__h2 { margin: 0 !important; font-family: var(--bs-font-display, Newsreader, Georgia, serif) !important; font-weight: 400 !important; font-size: clamp(30px, 3.2vw, 44px) !important; line-height: 1.08 !important; color: var(--bs-ink, #1C2022) !important; }
.bs-cat .bs-cat__intro { margin: 10px 0 0; max-width: 52ch; font-size: 16px; line-height: 1.55; }
.bs-cat .bs-cat__alle { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--bs-teal, #0F8A7C); text-decoration: none; white-space: nowrap; }
.bs-cat .bs-cat__alle:hover { color: var(--bs-teal-deep, #1E4A46); }
.bs-cat svg { width: 15px; height: 15px; flex: none; transition: transform .25s ease; }

/* Bento: grote tegel links, vier kleine rechts */
.bs-cat__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bs-cat .bs-cat__tegel {
	position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 260px; overflow: hidden; isolation: isolate;
	border: 1px solid var(--bs-border, #E3E4E2); border-radius: 4px; text-decoration: none; color: inherit;
	background: radial-gradient(110% 90% at 50% 35%, #FFFFFF 0%, #F3F4F2 50%, #E9ECEA 100%);
	transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease, border-color .35s ease;
}
.bs-cat .bs-cat__tegel:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(28, 32, 34, .10); border-color: rgba(15, 138, 124, .35); color: inherit; }
.bs-cat .bs-cat__tegel:focus-visible { outline: 2px solid var(--bs-teal, #0F8A7C); outline-offset: 3px; }
.bs-cat__tegel--groot { grid-row: 1 / span 2; min-height: 540px; }

.bs-cat__beeld { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; padding: 20px 20px 0; }
.bs-cat__beeld::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: 6%; height: 14px; border-radius: 50%; background: radial-gradient(closest-side, rgba(28, 32, 34, .16), rgba(28, 32, 34, 0)); z-index: -1; }
.bs-cat__beeld img { width: 100%; max-width: 420px; height: auto; mix-blend-mode: multiply; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.bs-cat__tegel--groot .bs-cat__beeld img { max-width: 680px; }
.bs-cat .bs-cat__tegel:hover .bs-cat__beeld img { transform: scale(1.04); }

/* Tegel met sfeerfoto (geen witte achtergrond): foto vullend, tekst op een donkere gradient */
.bs-cat__tegel--foto .bs-cat__beeld { position: absolute; inset: 0; padding: 0; }
.bs-cat__tegel--foto .bs-cat__beeld::after { display: none; }
.bs-cat__tegel--foto .bs-cat__beeld img { width: 100%; height: 100%; max-width: none; object-fit: cover; mix-blend-mode: normal; }
.bs-cat__tegel--foto .bs-cat__tekst { margin-top: auto; background: linear-gradient(180deg, rgba(14, 18, 20, 0) 0%, rgba(14, 18, 20, .78) 100%); color: #fff; }
.bs-cat__tegel--foto .bs-cat__naam, .bs-cat__tegel--foto .bs-cat__actie, .bs-cat__tegel--foto .bs-cat__n { color: #fff !important; }

.bs-cat__tekst { position: relative; display: grid; gap: 2px; padding: 16px 20px 18px; }
.bs-cat .bs-cat__n { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--bs-muted, #697478); }
.bs-cat .bs-cat__naam { font-family: var(--bs-font-display, Newsreader, Georgia, serif); font-size: 26px; line-height: 1.15; color: var(--bs-ink, #1C2022); }
.bs-cat__tegel--groot .bs-cat__naam { font-size: clamp(34px, 3.4vw, 48px); }
.bs-cat .bs-cat__sub { max-width: 44ch; margin-top: 4px; font-size: 15.5px; line-height: 1.55; }
.bs-cat .bs-cat__actie { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 14.5px; font-weight: 600; color: var(--bs-teal, #0F8A7C); }
.bs-cat__tegel--groot .bs-cat__tekst { padding: 24px 28px 28px; }
.bs-cat .bs-cat__tegel:hover .bs-cat__actie svg, .bs-cat .bs-cat__alle:hover svg { transform: translateX(4px); }

@media (max-width: 1024px) {
	.bs-cat__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
	.bs-cat__tegel--groot { grid-column: 1 / -1; grid-row: auto; min-height: 420px; }
}
@media (max-width: 560px) {
	.bs-cat__grid { gap: 12px; }
	.bs-cat .bs-cat__tegel { min-height: 200px; }
	.bs-cat__tegel--groot { min-height: 340px; }
	.bs-cat__tekst { padding: 12px 14px 14px; }
	.bs-cat .bs-cat__naam { font-size: 21px; }
	.bs-cat .bs-cat__n { font-size: 11px; }
	.bs-cat__beeld { padding: 14px 10px 0; }
}
@media (prefers-reduced-motion: reduce) {
	.bs-cat .bs-cat__tegel, .bs-cat__beeld img, .bs-cat svg { transition: none; }
	.bs-cat .bs-cat__tegel:hover { transform: none; }
}
