/* Voorpagina: categorieën en spellenblok (inc/home.php). Navy + wit, goud en koraal alleen als accent. */

/* Heldenplaat: spel-iconen in plaats van inkt-iconen */
.sd-hero-games li { width: 10.5%; }
.sd-hero-games .sd-icon { width: 100%; height: auto; display: block; background: #fff; border-radius: 22%; padding: 8%; box-sizing: border-box; }

/* ---------- Categorieën ---------- */
.sd-hc-grid {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	display: grid;
	grid-template-columns: 1.35fr 1fr 1fr;
	grid-auto-rows: minmax(140px, auto);
	gap: 12px;
}
.sd-hc {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 1.3rem 1.4rem;
	border-radius: var(--sd-radius, 8px);
	background: #fff;
	border: 1px solid #E1E6F0;
	overflow: hidden;
	transition: box-shadow .25s ease, transform .25s ease;
}
.sd-hc:hover { box-shadow: var(--sd-shadow-hover); transform: translateY(-2px); }
.sd-hc h3 { margin: 0 0 .2rem; font-size: 1.3rem; position: relative; }
.sd-hc h3 a { color: inherit; text-decoration: none; }
.sd-hc h3 a::after { content: ""; position: absolute; inset: -400px; }
.sd-hc:hover h3 a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.sd-hc p { margin: 0; font-size: .95rem; opacity: .78; position: relative; max-width: 30ch; }
.sd-hc-beeld { position: absolute; top: 1rem; right: 1rem; width: 64px; }
.sd-hc-beeld .sd-icon { width: 100%; height: auto; display: block; }
.sd-hc-card {
	display: block;
	width: 46px;
	aspect-ratio: 431 / 600;
	margin-left: auto;
	border-radius: 4.5% / 3.2%;
	background: var(--sd-img-card-back, var(--sd-night)) center / cover no-repeat;
	box-shadow: 0 8px 18px rgba(15,22,48,.25);
	rotate: 8deg;
}
.sd-hc.is-groot {
	grid-row: span 2;
	background: var(--sd-night);
	color: #fff;
	border-color: transparent;
	min-height: 300px;
}
.sd-hc.is-groot h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.sd-hc.is-groot p { opacity: .85; }
.sd-hc.is-groot .sd-hc-beeld { width: 38%; max-width: 170px; top: 1.6rem; right: 1.6rem; rotate: -8deg; transition: rotate .35s ease; }
.sd-hc.is-groot:hover .sd-hc-beeld { rotate: 4deg; }
.sd-hc.is-groot::before {
	content: "";
	position: absolute;
	width: 46%;
	aspect-ratio: 1;
	right: -12%;
	bottom: -18%;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255,90,95,.35), transparent 70%);
}
@media (max-width: 900px) {
	.sd-hc-grid { grid-template-columns: 1fr 1fr; }
	.sd-hc.is-groot { grid-row: auto; grid-column: span 2; min-height: 200px; }
}
@media (max-width: 560px) {
	.sd-hc-grid { grid-template-columns: 1fr; }
	.sd-hc.is-groot { grid-column: auto; }
	.sd-hc { min-height: 0; padding: 1.1rem 1.2rem; }
	.sd-hc-beeld { width: 48px; }
	.sd-hc p { max-width: 72%; }
}

/* ---------- Spellenblok ---------- */
.sd-home-spellen { background: #F4F6FA; }
.sd-hs {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: start;
	margin: 0 auto;
}
.sd-hs-kicker { margin: 0 0 .4rem; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #E04A50; }
.sd-hs h2 { margin: 0 0 .8rem; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.sd-hs-lead { margin: 0 0 1.3rem; max-width: 52ch; }
.sd-hs-soorten { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sd-hs-soorten a {
	display: flex; align-items: center; gap: .55rem;
	padding: .55rem .7rem; border-radius: var(--sd-radius, 8px);
	background: #fff; border: 1px solid #E1E6F0; color: inherit; text-decoration: none; font-weight: 600; font-size: .95rem;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.sd-hs-soorten a:hover { border-color: var(--sd-night); box-shadow: var(--sd-shadow); }
.sd-hs-soorten .sd-icon { width: 30px; height: 30px; flex: none; }
.sd-hs-sub { margin: 0 0 .5rem; font-weight: 700; font-size: .9rem; }
.sd-hs-chips { list-style: none; margin: 0 0 1.4rem; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sd-hs-chips a { display: inline-block; padding: .35rem .8rem; border-radius: 999px; background: #fff; border: 1px solid #D5DCE8; color: inherit; text-decoration: none; font-size: .9rem; }
.sd-hs-chips a:hover { border-color: var(--sd-night); }
.sd-hs-knoppen { display: flex; flex-wrap: wrap; gap: 10px; }
.sd-hs-btn {
	display: inline-flex; align-items: center; gap: .45rem;
	padding: .7rem 1.2rem; border-radius: 999px; border: 2px solid var(--sd-night);
	color: var(--sd-night); text-decoration: none; font-weight: 700;
}
.sd-hs-btn .sd-icon { width: 22px; height: 22px; }
.sd-hs-btn.is-primair { background: var(--sd-night); color: #fff; }
.sd-hs-btn:hover { box-shadow: var(--sd-shadow); }
.sd-hs-kop { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: .3rem 0 .8rem; }
.sd-hs-kop a { color: var(--sd-night); font-weight: 600; }
.sd-hs-kop h3 { margin: 0; }
.sd-hs-lijst { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sd-hs-spel {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	gap: 1rem;
	align-items: center;
	padding: .75rem;
	background: #fff;
	border: 1px solid #E1E6F0;
	border-radius: var(--sd-radius, 8px);
	transition: box-shadow .2s ease, border-color .2s ease;
}
.sd-hs-spel:hover { border-color: #C9D2E3; box-shadow: var(--sd-shadow); }
.sd-hs-foto { display: block; aspect-ratio: 1; border-radius: 6px; background: #F4F6FA; overflow: hidden; }
.sd-hs-foto img { width: 100%; height: 100%; object-fit: contain; padding: 6px; box-sizing: border-box; display: block; transition: transform .3s ease; }
.sd-hs-spel:hover .sd-hs-foto img { transform: scale(1.05) rotate(-2deg); }
.sd-hs-info h4 { margin: 0 0 .2rem; font-size: 1.1rem; line-height: 1.25; }
.sd-hs-info h4 a { color: var(--sd-night); text-decoration: none; }
.sd-hs-info h4 a:hover { text-decoration: underline; }
.sd-hs-feit { margin: 0 0 .55rem; font-size: .88rem; color: #5A6378; }
.sd-hs-onder { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; }
.sd-hs-prijs { font-weight: 700; font-size: 1.1rem; color: var(--sd-night); }
.sd-hs-prijs del { color: #8A93A6; font-weight: 400; font-size: .85em; margin-right: .3rem; }
.sd-hs-prijs ins { text-decoration: none; color: #C8323A; }
.sd-hs-koop {
	display: inline-block; padding: .45rem .95rem; border-radius: 999px;
	background: var(--sd-night); color: #fff; font-weight: 700; font-size: .88rem; text-decoration: none; white-space: nowrap;
}
.sd-hs-koop:hover { background: #24305A; color: #fff; }
.sd-hs-koop.is-bekijk { background: transparent; color: var(--sd-night); border: 2px solid var(--sd-night); }
.sd-hs-koop.added { background: #1E7A46; }
.sd-hs-spel .added_to_cart { font-size: .85rem; margin-left: .4rem; }
.sd-hs-leeg {
	position: relative;
	padding: clamp(1.4rem, 3vw, 2.2rem);
	border-radius: var(--sd-radius, 8px);
	background: var(--sd-night);
	color: #fff;
	overflow: hidden;
}
.sd-hs-leeg h3 { margin: 0 0 .6rem; font-size: 1.5rem; }
.sd-hs-leeg p { margin: 0 0 .8rem; max-width: 46ch; }
.sd-hs-leeg a { color: var(--sd-gold); }
.sd-hs-leeg::after {
	content: "";
	position: absolute;
	right: -30px;
	bottom: -30px;
	width: 160px;
	height: 160px;
	border-radius: 28px;
	background: #FF5A5F radial-gradient(circle at 30% 30%, #fff 0 9px, transparent 10px) , #FF5A5F;
	opacity: .18;
	rotate: 18deg;
}
@media (max-width: 900px) {
	.sd-hs { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.sd-hs-soorten { grid-template-columns: 1fr 1fr; }
}

/* SEO-blok: ruimte boven de vragen */
.sd-seo-home h3.alignwide { margin-top: 2.2rem; margin-bottom: .8rem; }

@media (max-width: 560px) {
	.sd-hs-spel { grid-template-columns: 88px minmax(0, 1fr); gap: .8rem; }
}
