/* Official IVGZ palette from Brandkleuren IVGZ.png. */
:root { color-scheme: light; --blue: #053093; --sky: #6FC7F5; --green: #00BEA0; --white: #FFFFFF; }
html, body { height: auto !important; overflow: visible !important; }
:host, .widget-container { height: auto !important; max-height: none !important; overflow: visible !important; display: block !important; }
body { font-family: 'Helvetica Neue', sans-serif; background-color: #ffffff; color: var(--blue); padding: 1rem; max-width: 800px; margin: auto; font-size: 16px; }
header { text-align: center; margin-bottom: 2rem; }
header img { max-width: 180px; width: 100%; height: auto; margin-bottom: 1rem; }
h1 { font-size: 2rem; color: var(--blue); margin-bottom: .5rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.17rem; }
p { line-height: 1.6; }
.lead { margin: .5rem 0; }
.partners, .concept-note, footer { font-size: .95rem; }
.matrix { margin-top: 2rem; padding: 1.5rem; box-sizing: border-box; border: 2px solid var(--blue); border-radius: 4px; }
.matrix > h2 { margin-top: 0; }
.matrix > .choice-grid { margin-bottom: 0; }
.result { margin-top: 2rem; background: linear-gradient(to right, var(--blue), var(--green)); color: white; padding: 1.25rem 1.5rem; border-radius: 12px; margin-bottom: 1.5rem; font-size: 1rem; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.result h3 { margin-top: 0; font-weight: 600; color: white; }
.result p { color: white; }
.result p:last-child { margin-bottom: 0; }
.pdf-preview { display: block; width: 100%; height: auto; }
.download-button { display: block; width: fit-content; margin: 2rem auto; padding: .75rem 1.5rem; background: linear-gradient(to right, var(--blue), var(--green)); color: white; border: none; border-radius: 30px; font-size: 1rem; cursor: pointer; font-weight: bold; box-shadow: 0 4px 8px rgba(0,0,0,.2); transition: transform .2s, box-shadow .2s; text-decoration: none; text-align: center; }
.download-button[hidden] { display: none; }
.download-button:hover { transform: scale(1.03); box-shadow: 0 6px 12px rgba(0,0,0,.3); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.explanation { margin-top: 2rem; }
summary { cursor: pointer; font-weight: 600; line-height: 1.5; }
.detail-body { padding-top: .5rem; }
.detail-body p { white-space: pre-line; }
footer { text-align: center; margin-top: 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 600px) {
 h1 { font-size: 1.5rem; }
 .result h3 { font-size: 1rem; }
 .result { padding: 1rem; margin-top: 1.5rem; margin-bottom: 1.5rem; font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) { .download-button { transition: none; } .download-button:hover { transform: none; } }
#hulpmiddelenmatrix { scroll-margin-top: 1.5rem; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto repeat(3, minmax(4rem, 1fr)); gap: 1rem 2rem; margin: 1.5rem 0 2rem; }
/* Share the heading and button rows across both columns. */
.choice-column { display: grid; grid-row: span 4; grid-template-rows: subgrid; gap: 1rem; min-width: 0; }
.choice-column h3 { margin: 0 0 .5rem; font-size: 1rem; font-weight: normal; line-height: 1.6; }
.choice-link { box-sizing: border-box; display: flex; justify-content: center; align-items: center; gap: .75rem; width: 100%; padding: .75rem 1.5rem; border: 0; border-radius: 30px; font: bold 1rem 'Helvetica Neue', sans-serif; text-align: center; text-decoration: none; background: linear-gradient(to right, var(--blue), var(--green)); color: white; box-shadow: 0 4px 8px rgba(0,0,0,.2); }
.choice-link:hover:not(:disabled) { box-shadow: 0 6px 12px rgba(0,0,0,.3); }
.choice-link:disabled { flex-direction: column; gap: .25rem; color: var(--blue); background: rgba(111,199,245,.12); border: 1px solid var(--sky); box-shadow: none; cursor: not-allowed; }
.choice-link small { font-size: .875rem; font-weight: normal; }
.back-link { display: inline-block; color: var(--blue); margin: 0 0 2rem; text-underline-offset: 4px; }
.igj-figure { margin: 1.5rem 0 0; }
.igj-figure img { display: block; width: 100%; height: auto; border-radius: 8px; }
.igj-figure figcaption { margin-top: .75rem; }
.igj-figure a { color: #fff; text-underline-offset: 4px; }
@media (max-width: 600px) {
 .choice-grid { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 2rem; }
 .choice-column { grid-row: auto; grid-template-rows: auto repeat(3, minmax(4rem, 1fr)); }
}

@media (max-width: 600px) { .matrix { padding: 1rem; } }

.steps { padding-left: 1.5rem; margin: 1rem 0; }
.steps li { padding-left: .35rem; margin-bottom: 1rem; line-height: 1.6; }
.steps li:last-child { margin-bottom: 0; }
.steps li::marker { font-weight: bold; }


.excel-download { text-align: center; margin-top: 2rem; }
.excel-download p { font-size: .95rem; }
.detail-body a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.overview-images { display: grid; gap: 2rem; }

.overview-map { position: relative; width: 100%; line-height: 0; }
.overview-map .pdf-preview { width: 100%; height: auto; margin: 0; border: 0; padding: 0; }
.overview-map .overview-hotspot { position: absolute; display: block; margin: 0; padding: 0; border: 0; border-radius: 2px; cursor: pointer; }
.overview-hotspot:hover { background: rgba(255,255,255,.2); box-shadow: 0 0 0 2px #053093; }
.overview-hotspot:focus-visible { outline: 3px solid #053093; outline-offset: 2px; background: rgba(255,255,255,.3); }
