.entry-content .hk-grote-drie,
.hk-grote-drie {
    --hk-astro-ink: #2c2031;
    --hk-astro-plum: #6d2856;
    --hk-astro-violet: #503379;
    --hk-astro-muted: #5e4d61;
    --hk-astro-border: #e6d9e8;
    margin: 1.5em 0;
    padding: clamp(18px, 4vw, 36px);
    border: 1px solid var(--hk-astro-border);
    border-radius: 18px;
    background: linear-gradient(152deg, #f8f2fa 12%, #f9f0f7 65%, #fff6f5);
    color: var(--hk-astro-ink);
    font-size: max(16px, 1em);
    line-height: 1.55;
    text-align: start;
}

.hk-grote-drie, .hk-grote-drie * { box-sizing: border-box; }
.hk-grote-drie [hidden] { display: none !important; }

.hk-grote-drie :is(h2, h3, h4) {
    margin: 0 0 .45em;
    color: var(--hk-astro-ink);
    font: inherit;
    font-weight: 720;
    line-height: 1.15;
    letter-spacing: -.025em;
    text-transform: none;
}

.hk-grote-drie h2 { font-size: clamp(27px, 4.1vw, 42px); }
.hk-grote-drie h3 { font-size: clamp(25px, 3.2vw, 34px); }
.hk-grote-drie h4 { font-size: clamp(17px, 2.4vw, 21px); }
.hk-grote-drie p { margin: 0; }
.hk-grote-drie .hk-grote-drie__intro { margin-bottom: 1.25em; max-width: 57ch; }

.hk-grote-drie__rij {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 12px 16px;
    margin-bottom: 12px;
}

.hk-grote-drie label {
    display: block;
    margin: 0 0 .3em;
    color: inherit;
    font: inherit;
    font-weight: 630;
}

.hk-grote-drie :is(input:not([type="checkbox"]), select, button[type="submit"]) {
    min-width: 0;
    min-height: 47px;
    margin: 0;
    padding: 9px 12px;
    border: 1px solid #8e7892;
    border-radius: 8px;
    font: inherit;
    letter-spacing: normal;
    text-transform: none;
}

.hk-grote-drie :is(input:not([type="checkbox"]), select) {
    display: block;
    width: 100%;
    color: var(--hk-astro-ink);
    background: #fff;
}

.hk-grote-drie input[type="time"] { appearance: auto; }
.hk-grote-drie select { appearance: auto; padding-inline: 9px; }
.hk-grote-drie :is(input, select, button, a):focus-visible { outline: 2px solid var(--hk-astro-plum); outline-offset: 3px; }
.hk-grote-drie [aria-invalid="true"] { border-color: #963253 !important; }

.hk-grote-drie label.hk-grote-drie__vink {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    margin: .25em 0 0;
    font-size: .88em;
    font-weight: 500;
    cursor: pointer;
}

.hk-grote-drie .hk-grote-drie__vink input {
    appearance: auto;
    flex: none;
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: var(--hk-astro-plum);
}

.hk-grote-drie small {
    display: block;
    margin-top: .35em;
    color: var(--hk-astro-muted);
    font-size: .85em;
}

.hk-grote-drie :is([data-place-fields], [data-occurrence-fields]) { margin-bottom: 12px; }

.hk-grote-drie button[type="submit"] {
    min-height: 50px;
    margin-top: .3em;
    padding-inline: 19px;
    border-color: var(--hk-astro-violet);
    color: #fff;
    background: var(--hk-astro-violet);
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    cursor: pointer;
}

.hk-grote-drie button[type="submit"]:hover { background: #3b245c; }
.hk-grote-drie p.hk-grote-drie__fout:not(:empty), .hk-grote-drie [data-loading-error] { margin: .65em 0; color: #812545; font-weight: 650; }
.hk-grote-drie .hk-grote-drie__privacy { margin-top: .65em; }

.hk-grote-drie__uitslag {
    margin-top: clamp(20px, 4vw, 35px);
    padding-top: clamp(16px, 3vw, 27px);
    border-top: 1px solid var(--hk-astro-border);
}

.hk-grote-drie__kaarten {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 192px), 1fr));
    gap: 10px;
}

.hk-grote-drie__kaart {
    min-width: 0;
    padding: clamp(13px, 2.6vw, 21px);
    border: 1px solid var(--hk-astro-border);
    border-radius: 13px;
    background: #fff;
    overflow-wrap: anywhere;
}

.hk-grote-drie__kaart[data-card="rising"] { background: #fffbf6; }
.hk-grote-drie__kaart[data-card="moon"] { background: #fdfaff; }
.hk-grote-drie__symbool {
    display: grid;
    place-items: center;
    width: 37px;
    height: 37px;
    margin-bottom: 10px;
    border-radius: 50%;
    background: #f4e7f2;
    color: var(--hk-astro-plum);
    font-size: 23px;
    line-height: 1;
}

.hk-grote-drie p.hk-grote-drie__rol { color: var(--hk-astro-muted); font-size: .86em; }
.hk-grote-drie p.hk-grote-drie__teken {
    margin: .4em 0 .35em;
    color: var(--hk-astro-plum);
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 730;
    line-height: 1.16;
    letter-spacing: -.03em;
}
.hk-grote-drie [data-description] { font-size: .93em; }
.hk-grote-drie [data-description] p + p { margin-top: .55em; }
.hk-grote-drie p.hk-grote-drie__historisch, .hk-grote-drie p.hk-grote-drie__bron { margin-top: 14px; color: var(--hk-astro-muted); font-size: .81em; }
.hk-grote-drie p.hk-grote-drie__bron a { color: var(--hk-astro-plum); text-decoration: underline; }

.hk-grote-drie__sr {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

@media (max-width: 520px) {
    .hk-grote-drie button[type="submit"] { width: 100%; }
}
