:root {
    --wise-purple: #454999;
    --wise-green: #bfd464;
    --wise-orange: #ef7d00;
    --wise-border: rgba(69, 73, 153, 0.18);
    --wise-radius: 20px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: var(--wise-purple);
    background: #fff;
}

.container {
    width: min(1120px, calc(100% - 2.5rem));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 5;
    background: #fff;
    border-bottom: 1px solid var(--wise-border);
}

.header-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.header-logo {
    font-family: "ruddy", sans-serif;
    font-weight: 900;
    font-size: clamp(1rem, 2.2vw, 1.4rem);
    line-height: 1.15;
    text-decoration: none;
}

.header-logo span {
    display: block;
}

.header-link {
    display: inline-block;
    border-radius: 999px;
    padding: 0.75rem 1.2rem;
    background: var(--wise-green);
    color: var(--wise-purple);
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.header-link:hover {
    background: var(--wise-purple);
    color: #fff;
}

.hero {
    --hero-title-size: clamp(2.2rem, 5.5vw, 4.375rem);
    margin: 2rem auto 1.35rem;
    border-radius: calc(var(--wise-radius) + 6px);
    background: var(--wise-purple) url("../images/2026.11-onder-wise/header-onder-wise.png") right top / cover no-repeat;
    color: #fff;
    overflow: hidden;
}

.hero-content {
    position: relative;
    width: 54%;
    min-height: 440px;
    padding: clamp(1.6rem, 4vw, 2.8rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.hero-kicker {
    margin-bottom: 1rem;
    color: var(--wise-green);
    font-size: max(1rem, calc(var(--hero-title-size) * 0.28));
    font-weight: 700;
}

h1,
h2,
h3 {
    font-weight: 700;
    font-style: normal;
}

.hero h1 {
    font-family: "ruddy", sans-serif;
    font-weight: 900;
    margin: 0;
    font-size: var(--hero-title-size);
    line-height: 1.05;
}

.hero p {
    margin: 1rem 0 0;
    font-size: max(1.1rem, calc(var(--hero-title-size) * 0.44));
    line-height: 1.25;
    font-weight: 700;
    color: var(--wise-green);
}

.hero .hero-meta {
    margin-top: 0;
    color: var(--wise-orange);
    font-size: max(1rem, calc(var(--hero-title-size) * 0.28));
    font-weight: 700;
}

.page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1.25rem;
    margin-bottom: 2.2rem;
    align-items: start;
}

.card {
    min-width: 0;
    padding: clamp(1.15rem, 2.8vw, 2rem);
    border: 1px solid var(--wise-border);
    border-radius: var(--wise-radius);
    background: #fff;
    box-shadow: 0 10px 28px rgba(69, 73, 153, 0.06);
    overflow-wrap: anywhere;
}

h2 {
    margin: 0.3rem 0 0.7rem;
    font-size: clamp(1.3rem, 2.1vw, 1.65rem);
    line-height: 1.25;
}

h3 {
    margin: 1.4rem 0 0.5rem;
    font-size: clamp(1.1rem, 1.9vw, 1.3rem);
    line-height: 1.3;
}

h2 strong {
    font-weight: inherit;
}

.workshops > h2 {
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
}

.workshops > h2 + h3 {
    margin-top: 0;
    color: var(--wise-orange);
}

p,
li,
td,
th {
    font-size: 1rem;
    line-height: 1.65;
}

strong {
    font-weight: 700;
}

ul {
    padding-left: 1.3rem;
}

li {
    margin-bottom: 0.4rem;
}

li::marker {
    color: var(--wise-orange);
}

a {
    color: var(--wise-purple);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

a:hover {
    text-decoration: none;
}

a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--wise-purple);
    outline-offset: 3px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    border: 1px solid var(--wise-border);
}

caption {
    margin-bottom: 0.7rem;
    font-weight: 700;
    font-size: 1.4rem;
    text-align: left;
}

td,
th {
    padding: 0.7rem;
    border-bottom: 1px solid var(--wise-border);
    text-align: left;
    vertical-align: top;
}

th {
    white-space: nowrap;
}

tbody tr:nth-child(odd) {
    background: rgba(191, 212, 100, 0.2);
}

#kader,
.price-note {
    margin: 1.25rem 0;
    padding: 1rem;
    border-left: 4px solid var(--wise-orange);
    border-radius: 0 12px 12px 0;
    background: rgba(191, 212, 100, 0.2);
}

#kader p:first-child,
.price-note p:first-child {
    margin-top: 0;
}

#kader p:last-child,
.price-note p:last-child {
    margin-bottom: 0;
}

.side-card {
    border-top: 5px solid var(--wise-orange);
}

.side-card h2 {
    font-size: 1.3rem;
}

.side-card p {
    margin: 1rem 0;
    font-size: 0.95rem;
}

.side-card .price-note {
    border-left: 0;
    border-radius: 12px;
}

.side-card .price {
    display: block;
    font-weight: 700;
    font-size: 2rem;
}

#inschrijfform {
    margin-top: 1.25rem;
}

#left .align {
    display: block;
    width: 100%;
    margin-bottom: 0.35rem;
    font-weight: 500;
}

#left input[type="text"],
#left input[type="email"],
#left select,
#left textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-bottom: 0.6rem;
    padding: 0.75rem;
    border: 1px solid var(--wise-border);
    border-radius: 12px;
    font: inherit;
    color: var(--wise-purple);
    background: #fff;
}

#left select {
    padding-right: 2.5rem;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%23454999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-position: calc(100% - 0.85rem) 50%;
    background-repeat: no-repeat;
    background-size: 1rem;
}

#left input[type="radio"],
#left input[type="checkbox"] {
    margin-right: 0.4rem;
    accent-color: var(--wise-purple);
}

#left textarea {
    resize: vertical;
}

#inschrijfform > div[id^="dn"] {
    margin: 1rem 0;
    padding: 1rem;
    border: 1px solid var(--wise-border);
    border-radius: 14px;
}

#left input[type="submit"] {
    width: auto;
    padding: 0.8rem 1.5rem;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-weight: 700;
    color: var(--wise-purple);
    background: var(--wise-green);
    cursor: pointer;
}

#left input[type="submit"]:hover {
    color: #fff;
    background: var(--wise-purple);
}

#left .error {
    margin: 1rem 0;
    padding: 1rem;
    border: 2px solid var(--wise-purple);
    border-left: 5px solid var(--wise-orange);
    border-radius: 12px;
    line-height: 1.65;
}

.footer {
    padding: 1.2rem;
    color: #fff;
    background: var(--wise-purple);
    text-align: center;
}

.footer p {
    margin: 0.3rem 0;
    font-size: 0.85rem;
}

.footer a {
    color: #fff;
}

@media (max-width: 900px) {
    .page-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        margin-top: 1.2rem;
    }

    .hero-content {
        width: 60%;
    }
}

@media (max-width: 620px) {
    .container {
        width: calc(100% - 1.3rem);
    }

    .header-inner {
        min-height: 74px;
        gap: 0.6rem;
    }

    .header-link {
        padding: 0.65rem 0.85rem;
        font-size: 0.8rem;
    }

    .hero {
        background-image: none;
    }

    .hero-content {
        width: 100%;
        min-height: 0;
        padding-top: 0.75rem;
    }

    .hero::before {
        content: "";
        display: block;
        aspect-ratio: 7 / 5;
        background: url("../images/2026.11-onder-wise/header-onder-wise.png") right top / 160% auto no-repeat;
    }

    td,
    th {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}
