.gm-pagina, .gm-sectie {
	--gm-rood: var(--primary-color, #dd2012);
	--gm-rood-donker: #b81a0e;
	--gm-inkt: #2f2e2d;
	--gm-grijs: #6a6866;
	--gm-lijn: #e4e2df;
	--gm-vlak: #f5f4f2;
}
.gm-pagina { padding: 32px 0 56px; color: var(--gm-inkt); }
.gm-sectie { padding: 40px 0; color: var(--gm-inkt); }
.gm-pagina .container, .gm-sectie .container { padding: 0 16px; }
.gm-terug { display: inline-block; margin-bottom: 12px; color: var(--gm-grijs); font-size: .9rem; }
.gm-terug::before { content: "\2190\00a0"; }

.gm-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 24px; margin-top: 20px; }
.gm-kaart { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--gm-lijn); border-radius: 8px; overflow: hidden; }
.gm-kaart__foto { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--gm-vlak); overflow: hidden; }
.gm-kaart__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.gm-kaart__foto .gm-nieuw { z-index: 1; }
.gm-kaart__titel { margin: 14px 16px 12px; font-size: 1.1rem; line-height: 1.25; }
.gm-kaart__titel a { color: inherit; }
.gm-kaart .gm-specs { grid-template-columns: 1fr 1fr; margin: 0 16px 16px; align-content: start; }
.gm-kaart .gm-knop { margin: auto 16px 16px; }

.gm-specs { display: grid; gap: 12px; list-style: none; padding: 0; margin: 16px 0; }
.gm-pagina .gm-specs li, .gm-sectie .gm-specs li { display: flex; gap: 8px; align-items: flex-start; margin: 0; min-width: 0; list-style: none; }
.gm-specs .gm-icoon { flex: none; color: var(--gm-rood); margin-top: 2px; }
.gm-specs span { min-width: 0; }
.gm-specs strong { overflow-wrap: anywhere; }
.gm-specs small { display: block; color: var(--gm-grijs); font-size: .75rem; line-height: 1.2; }
.gm-specs strong { display: block; font-size: .92rem; line-height: 1.3; }

.gm-knop { display: block; padding: 11px 16px; border-radius: 6px; background: var(--gm-rood); color: #fff; font-weight: 700; text-align: center; transition: background-color .2s ease-out; }
.gm-knop:hover, .gm-knop:focus-visible { background: var(--gm-rood-donker); color: #fff; }

.gm-nieuw { position: absolute; top: 10px; left: 10px; padding: 3px 10px; border-radius: 4px; background: var(--gm-rood); color: #fff; font-size: .78rem; font-weight: 700; }
.gm-geenfoto { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: #c4c1bd; }
.gm-geenfoto .gm-icoon { width: 64px; height: 64px; }

.gm-tegels { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-top: 20px; }
.gm-tegel { display: flex; flex-direction: column; min-width: 0; color: var(--gm-inkt); border: 1px solid var(--gm-lijn); border-radius: 8px; overflow: hidden; background: #fff; transition: border-color .2s ease-out; }
.gm-tegel:hover, .gm-tegel:focus-visible { border-color: var(--gm-rood); color: var(--gm-inkt); }
.gm-tegel__foto { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--gm-vlak); color: #c4c1bd; overflow: hidden; }
.gm-tegel__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.gm-tegel__foto .gm-icoon { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; }
.gm-tegel__naam { padding: 12px 14px 0; font-weight: 700; }
.gm-tegel__aantal { padding: 2px 14px 12px; color: var(--gm-grijs); font-size: .88rem; }

.gm-detail { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 40px; align-items: start; margin-bottom: 32px; }
.gm-galerij__groot { position: relative; aspect-ratio: 4 / 3; background: var(--gm-vlak); border-radius: 8px; overflow: hidden; }
.gm-galerij__groot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.gm-galerij__groot .gm-nieuw { z-index: 1; }
.gm-galerij__klein { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.gm-galerij__klein button { width: 72px; height: 72px; margin: 0; padding: 0; min-height: 0; border: 2px solid var(--gm-lijn); border-radius: 6px; background: var(--gm-vlak); overflow: hidden; cursor: pointer; }
.gm-galerij__klein button[aria-current="true"] { border-color: var(--gm-rood); }
.gm-galerij__klein img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gm-kern h1 { margin-bottom: 8px; line-height: 1.15; }
.gm-kern .gm-specs { grid-template-columns: 1fr 1fr; }
.gm-bel { margin: 12px 0 0; color: var(--gm-grijs); text-align: center; }

.gm-tekst { max-width: 72ch; margin-bottom: 32px; }
.gm-tabel { width: 100%; max-width: 640px; margin-bottom: 32px; border-collapse: collapse; }
.gm-tabel th, .gm-tabel td { padding: 9px 12px; border-bottom: 1px solid var(--gm-lijn); text-align: left; text-transform: none; letter-spacing: 0; font-size: 1rem; }
.gm-tabel tbody th { font-weight: 400; color: var(--gm-grijs); }
.gm-info { scroll-margin-top: 110px; max-width: 640px; padding-top: 16px; }

@media (max-width: 849px) {
	.gm-detail { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 559px) {
	.gm-raster { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
	.gm-knop, .gm-tegel { transition: none; }
}
