/* ==========================================================================
   Theory2027 — Main Stylesheet
   BEM naming convention throughout.
   ========================================================================== */

/* ---------- Custom Properties ---------- */
:root {
    --theory-primary:     #36a9e1;
    --theory-secondary:   #be1622;
    --theory-success:     #34a853;
    --theory-warning:     #fbbc04;
    --theory-danger:      #ea4335;
    --theory-text:        #333;
    --theory-text-light:  #666;
    --theory-border:      #e0e0e0;
    --theory-bg:          #f8f9fa;
    --theory-white:       #fff;
    --theory-card-radius: 8px;
    --theory-card-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --theory-container:   1200px;
}

/* ---------- Base / Container ---------- */
.theory-agenda__container,
.theory-course__container {
    max-width: var(--theory-container);
    margin: 0 auto;
    padding: 20px;
}

.theory-agenda__title,
.theory-course__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--theory-text);
    margin: 0 0 20px;
}

/* ---------- Agenda Grid (Cards) ---------- */
.theory-agenda__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.theory-agenda__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.theory-agenda__empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--theory-text-light);
}

/* ---------- Card ---------- */
.theory-card {
    background: var(--theory-white);
    border-radius: var(--theory-card-radius);
    box-shadow: var(--theory-card-shadow);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.theory-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.theory-card__date {
    background: var(--theory-primary);
    color: var(--theory-white);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.theory-card__day {
    font-weight: 600;
    font-size: 0.95rem;
}

.theory-card__date-str {
    font-size: 0.9rem;
}

.theory-card__body {
    padding: 16px;
    flex: 1;
}

.theory-card__location {
    font-weight: 600;
    color: var(--theory-text);
    margin-bottom: 4px;
}

.theory-card__venue {
    display: block;
    font-weight: 400;
    color: var(--theory-text-light);
    font-size: 0.875rem;
}

.theory-card__type {
    font-size: 0.875rem;
    color: var(--theory-text-light);
    margin-bottom: 4px;
}

.theory-card__time {
    font-size: 0.875rem;
    color: var(--theory-text-light);
}

.theory-card__footer {
    padding: 12px 16px;
    border-top: 1px solid var(--theory-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.theory-card__price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--theory-text);
}

.theory-card__cta {
    display: inline-block;
    padding: 8px 20px;
    background: var(--theory-secondary);
    color: var(--theory-white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s ease;
}

.theory-card__cta:hover {
    background: #9a1119;
    color: var(--theory-white);
}

/* ---------- Badges ---------- */
.theory-card__badge,
.theory-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.4;
}

.theory-card__badge--available,
.theory-badge--available {
    background: #e6f4ea;
    color: var(--theory-success);
}

.theory-card__badge--last,
.theory-badge--last {
    background: #fef7e0;
    color: #b8860b;
}

.theory-card__badge--full,
.theory-badge--full {
    background: #fce8e6;
    color: var(--theory-danger);
}

/* ---------- Table View ---------- */
.theory-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.theory-table__th {
    text-align: left;
    padding: 10px 12px;
    background: var(--theory-bg);
    color: var(--theory-text);
    font-weight: 600;
    border-bottom: 2px solid var(--theory-border);
    white-space: nowrap;
}

.theory-table__td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--theory-border);
    vertical-align: middle;
}

.theory-table__row:hover {
    background: var(--theory-bg);
}

/* ---------- Filter Bar ---------- */
.theory-filter {
    background: var(--theory-bg);
    border-radius: var(--theory-card-radius);
    padding: 16px;
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-start;
}

.theory-filter__group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.theory-filter__group--actions {
    margin-left: auto;
}

.theory-filter__label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--theory-text);
}

.theory-filter__options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.theory-filter__btn {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid var(--theory-border);
    border-radius: 20px;
    background: var(--theory-white);
    color: var(--theory-text);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    line-height: 1.4;
}

.theory-filter__btn:hover {
    border-color: var(--theory-primary);
    color: var(--theory-primary);
}

.theory-filter__btn--active {
    background: var(--theory-primary);
    color: var(--theory-white);
    border-color: var(--theory-primary);
}

.theory-filter__btn--active:hover {
    background: #2b8abb;
    color: var(--theory-white);
}

.theory-filter__btn--more {
    border-style: dashed;
}

.theory-filter__expanded {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 8px;
}

.theory-filter__expanded[hidden] {
    display: none;
}

.theory-filter__view-toggle {
    display: flex;
    gap: 4px;
}

.theory-filter__view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--theory-border);
    border-radius: 4px;
    background: var(--theory-white);
    color: var(--theory-text-light);
    text-decoration: none;
    font-size: 1rem;
}

.theory-filter__view-btn--active {
    background: var(--theory-primary);
    color: var(--theory-white);
    border-color: var(--theory-primary);
}

.theory-filter__clear {
    font-size: 0.85rem;
    color: var(--theory-danger);
    text-decoration: underline;
}

/* ---------- Pagination ---------- */
.theory-agenda__pagination {
    margin-top: 24px;
    text-align: center;
}

.theory-agenda__pagination .page-numbers {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 2px;
    border: 1px solid var(--theory-border);
    border-radius: 4px;
    text-decoration: none;
    color: var(--theory-text);
    font-size: 0.9rem;
}

.theory-agenda__pagination .page-numbers.current {
    background: var(--theory-primary);
    color: var(--theory-white);
    border-color: var(--theory-primary);
}

.theory-agenda__pagination .page-numbers:hover:not(.current) {
    background: var(--theory-bg);
}

/* ---------- Single Course ---------- */
.theory-course {
    background: #faf7f7;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
}

.theory-course__container {
    padding-top: 48px;
    padding-bottom: 40px;
}

/* Breadcrumb */
.theory-breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 0;
    margin: 0 0 16px;
    font-size: 0.85rem;
}

.theory-breadcrumb__item {
    color: var(--theory-text-light);
}

.theory-breadcrumb__item a {
    color: var(--theory-primary);
    text-decoration: none;
}

.theory-breadcrumb__item a:hover {
    text-decoration: underline;
}

.theory-breadcrumb__item + .theory-breadcrumb__item::before {
    content: "›";
    margin-right: 4px;
    color: var(--theory-text-light);
}

.theory-breadcrumb__item--current {
    color: var(--theory-text);
}

/* Course Header */
.theory-course__header {
    margin-bottom: 24px;
}

.theory-course__header-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.theory-course__price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--theory-text);
}

.theory-course__badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.theory-course__badge--available {
    background: #e6f4ea;
    color: var(--theory-success);
}

.theory-course__badge--last {
    background: #fef7e0;
    color: #b8860b;
}

.theory-course__badge--full {
    background: #fce8e6;
    color: var(--theory-danger);
}

/* Notice (past / full) */
.theory-course__notice {
    padding: 16px 20px;
    border-radius: var(--theory-card-radius);
    margin-bottom: 24px;
    font-weight: 500;
}

.theory-course__notice--past {
    background: #fef7e0;
    border-left: 4px solid var(--theory-warning);
    color: #7a6400;
}

.theory-course__notice--full {
    background: #fce8e6;
    border-left: 4px solid var(--theory-danger);
    color: #a51d11;
}

/* Two-column layout */
.theory-course__columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

/* Reviews and Related sections */
.theory-course__reviews {
    margin-top: 40px;
}

.theory-course__related {
    margin-top: 40px;
}


/* ---------- Enrollment Form ---------- */
.theory-enroll {
    background: var(--theory-white);
    border: 2px solid var(--theory-border);
    border-radius: var(--theory-card-radius);
    padding: 24px;
}

.theory-enroll__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--theory-secondary);
    margin: 0 0 16px;
}

.theory-enroll__errors {
    background: #fce8e6;
    border: 1px solid var(--theory-danger);
    border-radius: 4px;
    padding: 12px 16px;
    margin-bottom: 16px;
}

.theory-enroll__error {
    color: var(--theory-danger);
    margin: 0 0 4px;
    font-size: 0.9rem;
}

.theory-enroll__error:last-child {
    margin-bottom: 0;
}

.theory-enroll__field {
    margin-bottom: 14px;
}

.theory-enroll__label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--theory-text);
    margin-bottom: 4px;
}

.theory-enroll__input {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--theory-border);
    border-radius: 4px;
    font-size: 0.95rem;
    color: var(--theory-text);
    background: var(--theory-white);
    box-sizing: border-box;
}

.theory-enroll__input:focus {
    border-color: var(--theory-primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(54, 169, 225, 0.2);
}

.theory-enroll__options {
    margin: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.theory-enroll__option {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--theory-text);
    cursor: pointer;
}

.theory-enroll__option input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
}

.theory-enroll__price-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid var(--theory-border);
    border-bottom: 1px solid var(--theory-border);
    margin: 16px 0;
}

.theory-enroll__price-label {
    font-weight: 600;
    color: var(--theory-text);
}

.theory-enroll__price-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--theory-secondary);
}

.theory-enroll__terms {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--theory-text-light);
    margin-bottom: 16px;
    cursor: pointer;
}

.theory-enroll__terms input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
}

.theory-enroll__terms a {
    color: var(--theory-primary);
    text-decoration: underline;
}

.theory-enroll__submit {
    width: 100%;
    cursor: pointer;
    border: none;
}

/* ---------- Buttons ---------- */
.theory-btn {
    display: inline-block;
    padding: 10px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    transition: background 0.2s ease;
    line-height: 1.4;
}

.theory-btn--primary {
    background: var(--theory-secondary);
    color: var(--theory-white);
}

.theory-btn--primary:hover {
    background: #9a1119;
    color: var(--theory-white);
}

.theory-btn--small {
    padding: 6px 16px;
    font-size: 0.85rem;
    background: var(--theory-secondary);
    color: var(--theory-white);
}

.theory-btn--small:hover {
    background: #9a1119;
    color: var(--theory-white);
}

/* ---------- Course Info ---------- */
/* Zelfde kaartvorm als het aanmeldformulier ernaast (.theory-enroll):
   rand, ronde hoeken en schaduw. Zonder die rand zweefde dit blok los op de
   paginaachtergrond terwijl het formulier wél omkaderd was. */
.theory-info {
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.theory-info__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--theory-text);
    margin: 0 0 16px;
}

.theory-info__list {
    margin: 0;
}

.theory-info__item {
    display: flex;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--theory-border);
}

.theory-info__item:last-child {
    border-bottom: none;
}

.theory-info__label {
    font-weight: 600;
    color: var(--theory-text);
    min-width: 100px;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.theory-info__value {
    color: var(--theory-text-light);
    font-size: 0.9rem;
}

.theory-info__value--price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--theory-text);
}

.theory-info__maps-link {
    color: var(--theory-primary);
    text-decoration: none;
    font-size: 0.85rem;
}

.theory-info__maps-link:hover {
    text-decoration: underline;
}

.theory-info__change-date {
    color: var(--theory-primary);
    text-decoration: none;
    font-size: 0.8rem;
}

.theory-info__change-date:hover {
    text-decoration: underline;
}

/* Included items */
.theory-info__included {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--theory-border);
}

.theory-info__included-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--theory-text);
    margin: 0 0 10px;
}

.theory-info__included-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.theory-info__included-item {
    padding: 4px 0;
    font-size: 0.9rem;
    color: var(--theory-text-light);
}

.theory-info__included-item::before {
    content: "\2713\00a0";
    color: var(--theory-success);
    font-weight: 700;
}

/* ---------- Related / Alternatives ---------- */
.theory-related__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--theory-text);
    margin: 0 0 16px;
}

.theory-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ---------- Reviews ---------- */
.theory-reviews__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--theory-text);
    margin: 0 0 16px;
}

.theory-reviews__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.theory-reviews__badge-score {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--theory-text);
}

.theory-reviews__badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--theory-white);
    border: 1px solid var(--theory-border);
    border-radius: var(--theory-card-radius);
}

.theory-reviews__badge-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--theory-text);
}

.theory-reviews__badge-rating {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--theory-text);
}

.theory-reviews__stars {
    color: #ffa500;
    letter-spacing: 1px;
}

.theory-reviews__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.theory-reviews__item {
    background: var(--theory-bg);
    padding: 16px;
    border-radius: var(--theory-card-radius);
    border-left: 4px solid var(--theory-success);
}

.theory-reviews__item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.theory-reviews__item-author {
    font-weight: 600;
    color: var(--theory-text);
    font-size: 0.9rem;
}

.theory-reviews__item-date {
    font-size: 0.8rem;
    color: var(--theory-text-light);
}

.theory-reviews__item-comment {
    font-size: 0.9rem;
    color: var(--theory-text-light);
    font-style: italic;
    margin: 0;
}

/* Stars */
.theory-stars {
    display: inline-flex;
    gap: 1px;
}

.theory-stars__star {
    color: #ffa500;
    font-size: 1rem;
    line-height: 1;
}

.theory-stars__star--empty {
    color: #ddd;
}

/* Recent reviews */
.theory-reviews__recent {
    margin-top: 20px;
}

.theory-reviews__recent-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--theory-secondary);
    margin: 0 0 12px;
}

.theory-reviews__review {
    background: var(--theory-bg);
    padding: 16px;
    border-radius: var(--theory-card-radius);
    border-left: 4px solid var(--theory-success);
    margin-bottom: 12px;
}

.theory-reviews__review:last-child {
    margin-bottom: 0;
}

.theory-reviews__review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.theory-reviews__review-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.theory-reviews__review-name {
    font-weight: 600;
    color: var(--theory-text);
    font-size: 0.9rem;
}

.theory-reviews__review-verified {
    color: var(--theory-success);
    font-size: 0.8rem;
}

.theory-reviews__review-date {
    font-size: 0.8rem;
    color: var(--theory-text-light);
}

.theory-reviews__review-text {
    font-size: 0.9rem;
    color: var(--theory-text-light);
    font-style: italic;
    margin: 0;
}

/* ---------- Payment Status ---------- */
.theory-payment {
    max-width: 600px;
    margin: 40px auto;
    padding: 0 20px;
}

.theory-payment__card {
    background: var(--theory-white);
    border-radius: var(--theory-card-radius);
    box-shadow: var(--theory-card-shadow);
    padding: 32px;
    text-align: center;
}

.theory-payment__icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.theory-payment__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--theory-text);
}

.theory-payment__message {
    color: var(--theory-text-light);
    margin: 0 0 20px;
    font-size: 1rem;
}

.theory-payment__container {
    max-width: 600px;
    margin: 40px auto;
    padding: 0 20px;
}

.theory-payment__card--success .theory-payment__icon { color: var(--theory-success); }
.theory-payment__card--pending .theory-payment__icon { color: var(--theory-warning); }
.theory-payment__card--cancelled .theory-payment__icon { color: var(--theory-danger); }
.theory-payment__card--expired .theory-payment__icon { color: var(--theory-text-light); }
.theory-payment__card--error .theory-payment__icon { color: var(--theory-danger); }

.theory-payment__text {
    color: var(--theory-text-light);
    margin: 0 0 20px;
    font-size: 1rem;
    line-height: 1.6;
}

.theory-payment__details {
    background: var(--theory-bg);
    border-radius: var(--theory-card-radius);
    padding: 16px;
    margin-bottom: 20px;
    text-align: left;
}

.theory-payment__details p {
    margin: 4px 0;
    font-size: 0.95rem;
}

.theory-payment__icon--spin {
    animation: theory-spin 1.5s linear infinite;
}

@keyframes theory-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ---------- Agenda V1 Layout ---------- */
.theory-v1__container {
    max-width: var(--theory-container);
    margin: 0 auto;
    padding: 20px;
}

.theory-v1__controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 24px;
}

.theory-v1__select-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.theory-v1__select-label {
    font-family: 'Zilla Slab', Georgia, serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--theory-text);
}

.theory-v1__city-select {
    padding: 12px 15px;
    font-family: 'Zilla Slab', Georgia, serif;
    font-size: 15px;
    border: 2px solid #ccc;
    border-radius: 8px;
    background: var(--theory-white);
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.theory-v1__city-select:hover,
.theory-v1__city-select:focus {
    border-color: var(--theory-primary);
    outline: none;
}

.theory-v1__whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: #25D366;
    color: var(--theory-white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 5px rgba(37, 211, 102, 0.3);
}

.theory-v1__whatsapp:hover {
    background: #20BA5A;
    color: var(--theory-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(37, 211, 102, 0.4);
}

.theory-v1__info {
    text-align: center;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 14px;
    font-style: italic;
    color: var(--theory-text-light);
    line-height: 1.7;
    margin: 0 0 24px;
}

.theory-v1__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

.theory-v1__table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
    table-layout: auto;
}

.theory-v1__th {
    text-align: left;
    padding: 10px;
    font-family: Arial, sans-serif;
    font-size: 18px;
    color: var(--theory-secondary);
    font-weight: 700;
}

.theory-v1__row {
    background: var(--theory-white);
}

.theory-v1__date {
    padding: 12px 10px;
    font-family: 'Zilla Slab', Georgia, serif;
    font-weight: 600;
    font-size: 22px;
    color: var(--theory-secondary);
    vertical-align: top;
    white-space: nowrap;
}

.theory-v1__city {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: var(--theory-text-light);
    margin-top: 2px;
}

.theory-v1__enroll {
    padding: 12px 10px;
    font-family: 'Zilla Slab', Georgia, serif;
    font-size: 18px;
    vertical-align: top;
}

.theory-v1__enroll-link {
    color: var(--theory-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 20px;
}

.theory-v1__enroll-link:hover {
    text-decoration: underline;
}

.theory-v1__hint {
    display: block;
    font-size: 13px;
    color: var(--theory-text-light);
    font-weight: 400;
    margin-top: 2px;
}

.theory-v1__full {
    color: var(--theory-text-light);
    font-size: 18px;
    font-weight: 600;
}

.theory-v1__empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--theory-text-light);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .theory-agenda__grid {
        grid-template-columns: 1fr;
    }

    .theory-course__columns {
        grid-template-columns: 1fr;
    }

    .theory-related__grid {
        grid-template-columns: 1fr;
    }

    .theory-filter {
        flex-direction: column;
    }

    .theory-filter__group--actions {
        margin-left: 0;
    }

    .theory-course__header-meta {
        flex-wrap: wrap;
    }

    .theory-reviews__badges {
        flex-direction: column;
    }

    /* Agenda V1 responsive */
    .theory-v1__controls {
        flex-direction: column;
        gap: 12px;
    }

    .theory-v1__select-wrap {
        flex-direction: column;
        width: 100%;
    }

    .theory-v1__city-select {
        width: 100%;
    }

    .theory-v1__whatsapp {
        width: 100%;
        justify-content: center;
    }

    .theory-v1__date {
        font-size: 18px;
        white-space: normal;
    }

    .theory-v1__enroll-link {
        font-size: 16px;
    }
}

/* ==========================================================================
   Wizard Shortcode
   ========================================================================== */

/* ---------- Container ---------- */
.theory-wizard {
    max-width: 800px;
    margin: 0 auto 40px auto;
    padding: 20px;
    font-family: 'Open Sans', Arial, sans-serif;
    background: var(--theory-white);
    border: 1px solid var(--theory-primary);
    border-radius: var(--theory-card-radius);
    box-shadow: var(--theory-card-shadow);
}

@media (min-width: 1024px) {
    .theory-wizard {
        max-width: 1000px;
        padding: 30px;
    }
}

@media (min-width: 1440px) {
    .theory-wizard {
        max-width: 1200px;
    }
}

/* ---------- Progress Bar ---------- */
.theory-wizard__progress {
    height: 8px;
    background: var(--theory-border);
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}

.theory-wizard__progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #be1622 0%, #36a9e1 100%);
    border-radius: 10px;
    transition: width 0.3s ease;
}

.theory-wizard__steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.theory-wizard__step {
    font-size: 16px;
    color: #ccc;
    text-decoration: none;
    cursor: default;
}

.theory-wizard__step--active {
    color: var(--theory-secondary);
    font-weight: 600;
}

.theory-wizard__step--done {
    color: var(--theory-primary);
    cursor: pointer;
    text-decoration: none;
}

.theory-wizard__step--done:hover {
    text-decoration: underline;
}

/* ---------- Content ---------- */
.theory-wizard__content {
    padding: 0;
}

.theory-wizard__heading {
    font-family: 'Zilla Slab', Georgia, serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--theory-primary);
    margin: 0 0 8px;
    text-align: center;
}

.theory-wizard__subheading {
    color: var(--theory-text-light);
    font-size: 15px;
    font-weight: 400;
    margin: 0 0 24px;
    text-align: center;
}

/* ---------- Step 1: Option Cards ---------- */
.theory-wizard__options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.theory-wizard__option-card {
    position: relative;
    background: var(--theory-white);
    border: 2px solid var(--theory-border);
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 200px;
}

.theory-wizard__option-card:hover {
    border-color: var(--theory-primary);
    box-shadow: 0 4px 12px rgba(54, 169, 225, 0.15);
    transform: translateY(-2px);
}

.theory-wizard__option-card--selected {
    border-color: #b1d9f0;
    background: #faf7f7;
}

.theory-wizard__option-badge {
    position: absolute;
    top: -10px;
    right: 10px;
    background: #48bb78;
    color: var(--theory-white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.theory-wizard__option-header {
    font-family: 'Zilla Slab', Georgia, serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--theory-secondary);
    margin-bottom: 10px;
}

.theory-wizard__option-body {
    border-top: 1px solid #eee;
    margin-top: 15px;
    padding-top: 15px;
}

.theory-wizard__option-body p {
    font-size: 14px;
    color: var(--theory-text-light);
    margin: 0 0 8px;
    padding-left: 20px;
    position: relative;
}

.theory-wizard__option-body p::before {
    content: "\2713";
    color: var(--theory-success);
    font-weight: 700;
    font-size: 14px;
    position: absolute;
    left: 0;
    top: 0;
}

/* ---------- Step 2a: Timing Cards ---------- */
.theory-wizard__timing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.theory-wizard__timing-card {
    background: var(--theory-white);
    border: 2px solid var(--theory-border);
    border-radius: var(--theory-card-radius);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.theory-wizard__timing-card:hover {
    border-color: var(--theory-primary);
    transform: translateY(-2px);
}

.theory-wizard__timing-card--selected {
    border-color: var(--theory-primary);
    background: #f0f8ff;
}

.theory-wizard__timing-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.theory-wizard__timing-label {
    font-weight: 600;
    color: var(--theory-text);
    margin-bottom: 4px;
}

.theory-wizard__timing-desc {
    font-size: 12px;
    color: var(--theory-text-light);
}

/* ---------- Datepicker ---------- */
.theory-wizard__datepicker {
    margin: 16px 0;
}

.theory-wizard__label {
    font-family: 'Zilla Slab', Georgia, serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--theory-primary);
    display: block;
    margin-bottom: 8px;
}

.theory-wizard__input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--theory-border);
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
    color: var(--theory-text);
}

.theory-wizard__input:focus {
    border-color: var(--theory-primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(54, 169, 225, 0.2);
}

/* ---------- USPs ---------- */
.theory-wizard__usps {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
    padding: 16px;
    background: var(--theory-bg);
    border-radius: var(--theory-card-radius);
}

.theory-wizard__usp {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--theory-text);
}

.theory-wizard__usp-icon {
    color: var(--theory-success);
    font-weight: 700;
    font-size: 14px;
}

/* ---------- Step 2b: Period Cards ---------- */
.theory-wizard__period-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

/* Afwijkend aantal kolommen (bv. online examen NL met drie periodes). */
.theory-wizard__period-grid--cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.theory-wizard__period-card {
    position: relative;
    background: var(--theory-white);
    border: 2px solid var(--theory-border);
    border-radius: var(--theory-card-radius);
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.theory-wizard__period-card:hover {
    border-color: var(--theory-primary);
    box-shadow: 0 4px 12px rgba(54, 169, 225, 0.1);
}

.theory-wizard__period-card--selected {
    border-color: #b1d9f0;
    background-color: #faf7f7;
}

.theory-wizard__period-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #4CAF50;
    color: var(--theory-white);
    padding: 5px 12px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.theory-wizard__period-badge--bonus {
    background: #f5a623;
}

.theory-wizard__period-label {
    font-family: 'Zilla Slab', Georgia, serif;
    font-weight: 600;
    color: var(--theory-primary);
    font-size: 20px;
    margin-bottom: 10px;
}

.theory-wizard__period-price {
    font-size: 16px;
    color: #666;
    margin-bottom: 4px;
}

.theory-wizard__period-strike {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
    font-weight: 400;
    margin-right: 4px;
}

.theory-wizard__period-promo {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
}

.theory-wizard__period-until {
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}

/* ---------- Includes ---------- */
.theory-wizard__includes {
    background: #e8f4f8;
    border-left: 4px solid var(--theory-primary);
    border-radius: 4px;
    padding: 20px;
    margin: 20px 0;
}

.theory-wizard__includes-title {
    font-family: 'Zilla Slab', Georgia, serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--theory-primary);
    margin: 0 0 12px;
}

.theory-wizard__includes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.theory-wizard__includes-list {
    margin: 0;
    padding-left: 20px;
    color: #333;
    font-size: 14px;
    line-height: 1.8;
}

.theory-wizard__includes-list li {
    list-style: none;
    position: relative;
    padding-left: 4px;
}

.theory-wizard__includes-list li::before {
    content: "\2713";
    color: var(--theory-primary);
    font-weight: 700;
    position: absolute;
    left: -18px;
}

/* ---------- Checkbox Row ---------- */
.theory-wizard__checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

/* ---------- Navigation ---------- */
.theory-wizard__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--theory-border);
}

.theory-wizard__btn-back {
    display: inline-block;
    background: none;
    border: 2px solid #ccc;
    color: var(--theory-text-light);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.theory-wizard__btn-back:hover {
    border-color: #999;
    color: var(--theory-text);
}

.theory-wizard__btn-next {
    display: inline-block;
    padding: 15px 40px;
    background: #48bb78;
    color: var(--theory-white);
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 8px rgba(72, 187, 120, 0.3);
}

.theory-wizard__btn-next:hover {
    background: #3da866;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.4);
}

.theory-wizard__btn-submit {
    display: inline-block;
    padding: 15px 32px;
    background: #48bb78;
    color: var(--theory-white);
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.theory-wizard__btn-submit:hover {
    background: #38a169;
}

/* ---------- Step 3: Two-column Layout ---------- */
.theory-wizard__step3-layout {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 24px;
    align-items: start;
}

.theory-wizard__form-heading {
    font-family: 'Zilla Slab', Georgia, serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--theory-secondary);
    margin: 0 0 16px;
}

.theory-wizard__form-heading--blue {
    color: var(--theory-primary);
    margin-top: 20px;
}

.theory-wizard__form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.theory-wizard__form-col {
    flex: 1;
}

.theory-wizard__form-field {
    margin-bottom: 12px;
}

.theory-wizard__price-display {
    font-size: 16px;
    color: var(--theory-text-light);
    margin: 16px 0;
    padding: 12px 0;
    border-top: 1px solid var(--theory-border);
}

/* ---------- Summary ---------- */
.theory-wizard__summary-box {
    background: var(--theory-bg);
    border: 1px solid var(--theory-border);
    border-radius: var(--theory-card-radius);
    padding: 16px;
    margin-bottom: 12px;
}

.theory-wizard__summary-title {
    font-family: 'Zilla Slab', Georgia, serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--theory-primary);
    margin: 0 0 10px;
}

.theory-wizard__summary-type {
    font-family: 'Zilla Slab', Georgia, serif;
    font-weight: 600;
    color: var(--theory-primary);
    margin: 0 0 4px;
}

.theory-wizard__summary-detail {
    font-size: 13px;
    color: var(--theory-text-light);
    margin: 0 0 6px;
}

.theory-wizard__summary-price {
    border-top: 1px solid var(--theory-border);
    margin-top: 12px;
    padding-top: 12px;
}

.theory-wizard__summary-price-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--theory-text-light);
    margin-bottom: 4px;
}

.theory-wizard__summary-price-total {
    border-top: 1px solid var(--theory-border);
    margin-top: 6px;
    padding-top: 6px;
    color: var(--theory-text);
    font-size: 14px;
}

/* ---------- Accordion ---------- */
.theory-wizard__accordion {
    cursor: pointer;
}

.theory-wizard__accordion-arrow {
    float: right;
    font-size: 10px;
    transition: transform 0.2s ease;
}

.theory-wizard__accordion--open .theory-wizard__accordion-arrow {
    transform: rotate(180deg);
}

.theory-wizard__accordion-body {
    display: none;
    padding-top: 10px;
}

.theory-wizard__accordion--open + .theory-wizard__accordion-body {
    display: block;
}

.theory-wizard__includes-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.theory-wizard__includes-list li {
    font-size: 12px;
    color: var(--theory-text-light);
    padding: 3px 0;
}

.theory-wizard__includes-list li::before {
    content: "\2713\00a0";
    color: var(--theory-success);
    font-weight: 700;
}

/* ---------- Errors ---------- */
.theory-wizard__errors {
    background: #fce8e6;
    border: 1px solid var(--theory-danger);
    border-radius: 4px;
    padding: 12px 16px;
    margin-bottom: 16px;
}

.theory-wizard__error {
    color: var(--theory-danger);
    margin: 0 0 4px;
    font-size: 14px;
}

.theory-wizard__error:last-child {
    margin-bottom: 0;
}

/* ---------- Processing Overlay ---------- */
.theory-wizard__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theory-wizard__overlay-inner {
    background: var(--theory-white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.theory-wizard__overlay-text {
    font-family: 'Zilla Slab', Georgia, serif;
    font-size: 20px;
    color: var(--theory-secondary);
    margin-bottom: 15px;
}

.theory-wizard__spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--theory-primary);
    border-radius: 50%;
    animation: theory-spin 1s linear infinite;
    margin: 0 auto;
}

/* ---------- Wizard Responsive ---------- */
@media (max-width: 768px) {
    .theory-wizard__options-grid {
        grid-template-columns: 1fr;
    }

    .theory-wizard__timing-grid {
        grid-template-columns: 1fr;
    }

    .theory-wizard__period-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .theory-wizard__period-card {
        padding: 15px;
    }

    .theory-wizard__step3-layout {
        grid-template-columns: 1fr;
    }

    .theory-wizard__form-row {
        flex-direction: column;
        gap: 0;
    }

    .theory-wizard__form-col {
        margin-bottom: 12px;
    }

    .theory-wizard__includes-grid {
        grid-template-columns: 1fr;
    }

    .theory-wizard__content {
        padding: 20px 16px;
    }

    .theory-wizard__btn-submit {
        width: 100%;
    }

    .theory-wizard__nav {
        flex-direction: column;
        gap: 12px;
    }

    .theory-wizard__btn-next {
        width: 100%;
        text-align: center;
    }
}

/* ============================================
   Enrollment form (shared between single course + wizard)
   ============================================ */

.theory-form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.theory-form-row > div {
    flex: 1;
}

.theory-form-input {
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 13.33px;
    font-weight: 400;
    color: #4E4E4E;
    background: #FFFFFF;
    height: 44px;
}

.theory-form-input:focus {
    border-color: #36a9e1;
    outline: none;
    box-shadow: 0 0 0 2px rgba(54, 169, 225, 0.2);
}

@media (max-width: 768px) {
    .theory-form-row {
        flex-direction: column;
        gap: 0;
    }

    .theory-form-row > div {
        margin-bottom: 15px;
    }
}

/* ==========================================================================
   Purchase shortcode
   ========================================================================== */

.purchase-vehicle-card {
    cursor: pointer;
    text-align: center;
    padding: 20px 30px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    background: #fff;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    min-width: 140px;
}

.purchase-vehicle-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.purchase-vehicle-card--selected {
    border-color: #36a9e1;
    box-shadow: 0 4px 15px rgba(54, 169, 225, 0.3);
}

.purchase-vehicle-card i {
    display: block;
    font-size: 48px;
    margin-bottom: 8px;
    color: #333;
}

.purchase-vehicle-card span {
    font-weight: 600;
    font-size: 15px;
}

.purchase-category-card {
    cursor: pointer;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    background: #fff;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    min-width: 140px;
    flex: 1;
}

.purchase-category-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.purchase-category-card--selected {
    border-color: #36a9e1;
    box-shadow: 0 4px 15px rgba(54, 169, 225, 0.3);
}

.purchase-category-card i {
    display: block;
    font-size: 36px;
    margin-bottom: 8px;
    color: #333;
}

.purchase-category-card__label {
    font-weight: 600;
    font-size: 14px;
    white-space: pre-line;
    line-height: 1.3;
}

.purchase-includes-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.purchase-includes-list li {
    position: relative;
    padding: 8px 0 8px 30px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
}

.purchase-includes-list li:last-child {
    border-bottom: none;
}

.purchase-includes-list li::before {
    content: "\2714";
    position: absolute;
    left: 0;
    color: #48bb78;
    font-weight: bold;
}

.theory-wizard__section-title {
    font-family: 'Zilla Slab', Georgia, serif;
    font-weight: 600;
    font-size: 18px;
    color: #36a9e1;
    margin: 0 0 14px;
}

/* ==========================================================================
   Purchase Form — 4-kolom layout (zoals zoom_aanmeldenv3.php)
   ========================================================================== */

.purchase-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 10px 0;
}

.purchase-row {
    display: flex !important;
    flex-direction: row !important;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: nowrap;
}

.purchase-col {
    flex: 1 1 0;
    min-width: 0;
}

.purchase-heading {
    font-family: 'Zilla Slab', Georgia, 'Times New Roman', serif;
    font-weight: 600;
    font-size: 22px;
    color: var(--theory-secondary);
    margin: 0 0 15px;
}

.purchase-subheading {
    font-family: 'Zilla Slab', Georgia, serif;
    font-weight: 600;
    font-size: 16px;
    color: #000;
    margin: 0 0 8px;
}

/* Radio button rij — voertuig, product, periode */
.purchase-radio {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    cursor: pointer;
    padding: 0;
}

.purchase-radio input[type="radio"] {
    width: 25px;
    height: 25px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--theory-secondary);
}

.purchase-radio span {
    font-size: 18px;
    line-height: 1.3;
    color: #000;
}

.purchase-radio i {
    color: #000;
}

/* Periode radio — iets compacter */
.purchase-period-radio {
    margin-bottom: 10px;
}

.purchase-period-radio span {
    font-size: 16px;
}

/* Badge (bv. "MOST CHOSEN") */
.purchase-badge {
    display: inline-block;
    background: #48bb78;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    font-style: normal;
    padding: 2px 8px;
    border-radius: 3px;
    margin-left: 8px;
    white-space: nowrap;
}

/* Input velden */
.purchase-input {
    display: block;
    width: 100%;
    padding: 15px;
    margin-bottom: 12px;
    border: 1px solid var(--theory-border);
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.purchase-input:focus {
    outline: none;
    border-color: var(--theory-primary);
    box-shadow: 0 0 0 2px rgba(54, 169, 225, 0.2);
}

/* Submit knop */
.purchase-submit {
    display: block;
    width: 100%;
    min-height: 45px;
    padding: 12px 20px;
    background: #48bb78;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.purchase-submit:hover {
    background: #3da868;
}

/* Foutmeldingen */
.purchase-errors {
    background: #ffe6e6;
    border: 1px solid #ff0000;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
}

.purchase-error {
    color: #ff0000;
    margin: 0 0 4px;
    font-weight: 600;
}

.purchase-error:last-child {
    margin-bottom: 0;
}

/* Processing overlay */
.purchase-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.purchase-overlay__inner {
    text-align: center;
}

.purchase-overlay__text {
    font-size: 20px;
    font-weight: 600;
    color: var(--theory-text);
    margin-bottom: 16px;
}

.purchase-overlay__spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--theory-border);
    border-top-color: var(--theory-primary);
    border-radius: 50%;
    animation: theory-spin 0.8s linear infinite;
    margin: 0 auto;
}

/* ── Responsive: onder 768px worden kolommen gestapeld ── */
@media (max-width: 768px) {
    .purchase-row {
        flex-direction: column !important;
        flex-wrap: wrap;
    }

    .purchase-col {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        width: 100%;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   Online Exam Shortcode — [plan_onlineexams]
   ═══════════════════════════════════════════════════════════════════ */

.theory-onlineexam {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Zonder kopblok (NL) begint de inhoud meteen; dan hoeft er bovenin minder
   lucht te staan. */
.theory-onlineexam--compact {
    margin-top: 20px;
}

/* Foutmeldingen */
.theory-onlineexam__errors {
    max-width: 600px;
    margin: 0 auto 20px;
    padding: 15px;
    background: #ffe6e6;
    border: 1px solid #ff0000;
    border-radius: 4px;
    color: #ff0000;
    text-align: center;
}

.theory-onlineexam__errors p {
    margin: 0 0 5px;
}

.theory-onlineexam__errors p:last-child {
    margin-bottom: 0;
}

/* Header */
.theory-onlineexam__header {
    text-align: center;
    margin-bottom: 40px;
}

.theory-onlineexam__headline {
    font-family: 'Zilla Slab', Georgia, serif;
    font-size: 32px;
    color: #2c3e50;
    margin: 0 0 10px;
    font-weight: 600;
    line-height: 1.2;
}

.theory-onlineexam__subheadline {
    color: #7f8c8d;
    font-size: 15px;
    margin: 0;
}

/* Swipe wrapper */
.theory-onlineexam__swipe-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.theory-onlineexam__swipe-container {
    display: flex;
    align-items: flex-start;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 200%;
    transform: translateX(0);
    overflow: hidden;
}

.theory-onlineexam__step {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 10px;
    box-sizing: border-box;
}

.theory-onlineexam__step-title {
    font-family: 'Zilla Slab', Georgia, serif;
    font-weight: 600;
    font-size: 22px;
    color: var(--theory-secondary, #be1622);
    margin: 0 0 20px;
    text-align: center;
}

/* Voertuigkeuze (alleen NL) */
/* Vaste drie kolommen: Auto, Motor en Scooter horen altijd op één rij, ook
   op smalle schermen. Een max-width houdt de tegels op desktop compact. */
.theory-onlineexam__vehicles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 480px;
    margin: 0 auto 30px;
}

.theory-onlineexam__vehicle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    padding: 15px 10px;
    border: 2px solid #ccc;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.theory-onlineexam__vehicle:hover {
    border-color: #36a9e1;
}

.theory-onlineexam__vehicle--selected {
    border-color: #36a9e1;
    background: #b1d9f0;
}

.theory-onlineexam__vehicle input[type="radio"] {
    display: none;
}

/* Icoon komt van Font Awesome; die wordt door het thema geladen, net als bij
   de [plan_onlinecourse] voertuigtegels. */
.theory-onlineexam__vehicle i {
    font-size: 48px;
    line-height: 1;
    color: #000;
}

.theory-onlineexam__vehicle span {
    font-weight: 600;
    text-align: center;
}

@media (max-width: 480px) {
    /* De drie kolommen staan al vast; hier alleen krapper maken zodat
       icoon en tekst op een smal scherm blijven passen. */
    .theory-onlineexam__vehicles {
        gap: 8px;
    }

    .theory-onlineexam__vehicle {
        padding: 12px 4px;
    }

    .theory-onlineexam__vehicle i {
        font-size: 32px;
    }

    .theory-onlineexam__vehicle span {
        font-size: 13px;
        line-height: 1.2;
    }
}

/* Kaarten grid */
.theory-onlineexam__grid {
    display: grid;
    gap: 15px;
    margin-bottom: 25px;
}

.theory-onlineexam__grid--main {
    grid-template-columns: repeat(3, 1fr);
}

.theory-onlineexam__grid--extra {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    grid-template-columns: repeat(2, 1fr);
}

/* Kaart */
.theory-onlineexam__card {
    position: relative;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px 15px 15px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
}

.theory-onlineexam__card:hover {
    border-color: #b1d9f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.theory-onlineexam__card--selected {
    border: 3px solid var(--theory-success, #48bb78);
    box-shadow: 0 4px 16px rgba(72, 187, 120, 0.2);
}

/* Badge */
.theory-onlineexam__badge {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: #FF9800;
    color: #fff;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: 700;
    white-space: nowrap;
    max-width: 90%;
    text-overflow: ellipsis;
    overflow: hidden;
}

.theory-onlineexam__badge--popular {
    background: var(--theory-success, #48bb78);
}

/* Kaart inhoud */
.theory-onlineexam__card-label {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
}

.theory-onlineexam__card-until {
    color: #7f8c8d;
    font-size: 11px;
}

.theory-onlineexam__card-strike {
    text-decoration: line-through;
    color: #bdc3c7;
    font-size: 13px;
}

.theory-onlineexam__card-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--theory-success, #48bb78);
}

.theory-onlineexam__card-perweek {
    color: #95a5a6;
    font-size: 12px;
}

/* Toggle button */
.theory-onlineexam__toggle-wrap {
    text-align: center;
    margin-bottom: 25px;
}

.theory-onlineexam__toggle {
    background: transparent;
    color: var(--theory-primary, #36a9e1);
    border: 2px solid var(--theory-primary, #36a9e1);
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
}

.theory-onlineexam__toggle:hover {
    background: var(--theory-primary, #36a9e1);
    color: #fff;
}

/* Features */
.theory-onlineexam__features {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
}

.theory-onlineexam__features-title {
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 10px;
    font-size: 15px;
}

.theory-onlineexam__features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 20px;
}

.theory-onlineexam__features-list li {
    font-size: 13px;
    color: #555;
    padding-left: 22px;
    position: relative;
}

.theory-onlineexam__features-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--theory-success, #48bb78);
    font-weight: 700;
}

/* ── Stap 2: Formulier ────────────────────────────────────────── */

.theory-onlineexam__form {
    max-width: 500px;
    margin: 0 auto;
}

/* Selectie samenvatting */
.theory-onlineexam__selection {
    background: #f0faf4;
    border: 2px solid var(--theory-success, #48bb78);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 24px;
    text-align: center;
}

.theory-onlineexam__selection-label {
    display: block;
    font-size: 12px;
    color: #7f8c8d;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.theory-onlineexam__selection-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.theory-onlineexam__selection-meta {
    display: block;
    margin-bottom: 8px;
}

.theory-onlineexam__selection-bonus {
    display: inline-block;
    background: #f5a623;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 4px;
}

.theory-onlineexam__selection-access {
    display: block;
    font-size: 13px;
    color: #7f8c8d;
}

.theory-onlineexam__change-btn {
    background: none;
    border: none;
    color: var(--theory-primary, #36a9e1);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
}

/* Formulier titel */
.theory-onlineexam__form-title {
    font-family: 'Zilla Slab', Georgia, serif;
    font-weight: 600;
    font-size: 20px;
    color: var(--theory-secondary, #be1622);
    margin: 0 0 16px;
}

.theory-onlineexam__form-row {
    margin-bottom: 12px;
}

.theory-onlineexam__form-row .theory-form-input {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.theory-onlineexam__form-row .theory-form-input:focus {
    border-color: var(--theory-primary, #36a9e1);
    outline: none;
    box-shadow: 0 0 0 2px rgba(54, 169, 225, 0.15);
}

/* Upsell */
.theory-onlineexam__upsell {
    background: #fff8f0;
    border: 2px solid #FF9800;
    border-radius: 10px;
    padding: 16px;
    margin: 20px 0;
}

.theory-onlineexam__upsell-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
}

.theory-onlineexam__upsell-label input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
}

.theory-onlineexam__upsell-text strong {
    color: var(--theory-success, #48bb78);
}

.theory-onlineexam__upsell-desc {
    font-size: 12px;
    color: #7f8c8d;
    margin: 8px 0 0 26px;
}

/* Totaalprijs */
.theory-onlineexam__total {
    text-align: center;
    margin: 20px 0;
}

.theory-onlineexam__total-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--theory-success, #48bb78);
}

/* Submit button */
.theory-onlineexam__submit {
    display: block;
    width: 100%;
    min-height: 50px;
    padding: 14px 20px;
    background: var(--theory-success, #48bb78);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s;
}

.theory-onlineexam__submit:hover {
    background: #3ea36a;
}

.theory-onlineexam__submit--processing {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Betaalmiddelen */
.theory-onlineexam__payment-methods {
    text-align: center;
    margin-top: 12px;
}

.theory-onlineexam__payment-methods img {
    max-width: 200px;
    height: auto;
}

/* Trust badges */
.theory-onlineexam__trust {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.theory-onlineexam__trust span {
    font-size: 12px;
    color: #7f8c8d;
    position: relative;
    padding-left: 16px;
}

.theory-onlineexam__trust span::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--theory-success, #48bb78);
    font-weight: 700;
}

/* Progress dots */
.theory-onlineexam__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.theory-onlineexam__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e0e0e0;
    transition: background 0.3s;
}

.theory-onlineexam__dot--active {
    background: var(--theory-success, #48bb78);
}

/* Sticky CTA (mobiel) */
.theory-onlineexam__sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 12px 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.theory-onlineexam__sticky--visible {
    display: block;
}

/* De knop staat fixed over de pagina heen, dus de laatste regels tekst
   verdwenen eronder. Het blok houdt die ruimte vrij: het staat als laatste
   element in de flow en groeit mee, waar een padding op body door thema's
   overschreven kan worden.

   Hoogte = de knop (14px padding boven + onder, ~19px regel) plus de 12px
   van de balk eromheen, en op toestellen met een gebarenbalk de safe area
   daar nog bovenop. */
.theory-onlineexam__sticky-spacer {
    display: none;
    height: calc(84px + env(safe-area-inset-bottom, 0px));
}

/* Alleen ruimte zodra de knop ook echt in beeld is. */
.theory-onlineexam__sticky--visible ~ .theory-onlineexam__sticky-spacer,
.theory-onlineexam:has(.theory-onlineexam__sticky--visible) .theory-onlineexam__sticky-spacer {
    display: block;
}

/* De balk zelf doorlopen tot onder de gebarenbalk, anders zweeft hij los
   boven de schermrand. */
.theory-onlineexam__sticky {
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
}

.theory-onlineexam__sticky-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--theory-success, #48bb78);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
}

/* ── Responsive ───────────────────────────────────────────────── */

@media (max-width: 1024px) {
    .theory-onlineexam__grid--main {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .theory-onlineexam__headline {
        font-size: 24px;
    }

    .theory-onlineexam__grid--main,
    .theory-onlineexam__grid--extra {
        grid-template-columns: repeat(2, 1fr);
    }

    .theory-onlineexam__features-list {
        grid-template-columns: 1fr;
    }

    .theory-onlineexam__card-price {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .theory-onlineexam {
        padding: 0 12px;
    }

    .theory-onlineexam__grid--main,
    .theory-onlineexam__grid--extra {
        grid-template-columns: 1fr;
    }

    .theory-onlineexam__headline {
        font-size: 20px;
    }

    .theory-onlineexam__trust {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
}

/* ==========================================================================
   Nieuwsblok (NTC → Blocks, block 1)
   Automatisch op de homepage vóór "Upcoming courses", of via [blocks id=1].
   De .theory-adas-varianten hieronder zijn de oude naamgeving; die blijven
   staan zolang niet alle sites de nieuwe versie draaien.
   ========================================================================== */
/* De selectors zijn bewust verdubbeld (.theory-news.theory-news). Het blok
   wordt vaak in een paginabouwer-module geplaatst (Divi: .et_pb_text_inner),
   en die themastylesheets laden ná deze. Zonder de extra specificiteit winnen
   hun regels voor h2/p/uitlijning. Verdubbelen tilt ons erboven zonder dat we
   aan een specifiek thema vastzitten — niet alle sites draaien Divi. */
.theory-news.theory-news,
.theory-adas.theory-adas {
    background: var(--theory-white);
    padding: 60px 20px;
    text-align: center;
}

.theory-news.theory-news .theory-news__inner,
.theory-adas.theory-adas .theory-adas__inner {
    max-width: 820px;
    margin: 0 auto;
}

.theory-news.theory-news .theory-news__badge,
.theory-adas.theory-adas .theory-adas__badge {
    display: inline-block;
    background: var(--theory-secondary);
    color: var(--theory-white);
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 4px 12px;
    margin-bottom: 16px;
}

.theory-news.theory-news .theory-news__title,
.theory-adas.theory-adas .theory-adas__title {
    font-family: 'Zilla Slab', Georgia, serif;
    font-weight: 900;
    font-size: 45px;
    line-height: 1.15;
    color: #000;
    padding-bottom: 16px;
    margin: 0;
    text-align: center;
}

.theory-news.theory-news .theory-news__accent,
.theory-adas.theory-adas .theory-adas__accent {
    color: var(--theory-secondary);
}

.theory-news.theory-news .theory-news__text,
.theory-adas.theory-adas .theory-adas__text {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #000;
    margin: 0;
    padding: 0;
    text-align: center;
}

@media (max-width: 767px) {
    .theory-news.theory-news,
    .theory-adas.theory-adas {
        padding: 40px 16px;
    }

    .theory-news.theory-news .theory-news__title,
    .theory-adas.theory-adas .theory-adas__title {
        font-size: 32px;
    }

    .theory-news.theory-news .theory-news__text,
    .theory-adas.theory-adas .theory-adas__text {
        font-size: 16px;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   Kennisbank (publiek)
   ═══════════════════════════════════════════════════════════════════ */

.theory-kb {
    padding: 2rem 1rem 4rem;
    background: var(--theory-bg);
}

.theory-kb__container {
    max-width: var(--theory-container);
    margin: 0 auto;
}

/* ── Kruimelpad ──────────────────────────────────────────────────── */
.theory-kb__crumbs {
    margin-bottom: 1.5rem;
    font-size: .875rem;
    color: var(--theory-text-light);
}

.theory-kb__crumbs a {
    color: var(--theory-primary);
    text-decoration: none;
}

.theory-kb__crumbs a:hover { text-decoration: underline; }

.theory-kb__crumbs span { margin: 0 .4rem; }

/* ── Zoekbalk ────────────────────────────────────────────────────── */
.theory-kb__search {
    display: flex;
    gap: .5rem;
    margin-bottom: 2rem;
}

.theory-kb__search input[type="search"] {
    flex: 1 1 auto;
    padding: .75rem 1rem;
    border: 1px solid var(--theory-border);
    border-radius: var(--theory-card-radius);
    font-size: 1rem;
}

.theory-kb__search input[type="search"]:focus {
    outline: 2px solid var(--theory-primary);
    outline-offset: -1px;
}

/* ── Koppen ──────────────────────────────────────────────────────── */
.theory-kb__title {
    margin: 0 0 .5rem;
    color: var(--theory-secondary);
}

.theory-kb__subtitle {
    margin: 2rem 0 1rem;
    font-size: 1.25rem;
}

.theory-kb__intro {
    margin: 0 0 2rem;
    color: var(--theory-text-light);
    font-size: 1.0625rem;
}

/* ── Kop: titel, zoekbalk, voertuigwisselaar ─────────────────────── */
.theory-kb__header { margin-bottom: 2rem; }

/* ── Voertuigwisselaar ───────────────────────────────────────────── */
.theory-kb__vehicles {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.theory-kb__vehicle {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem 1rem;
    background: var(--theory-white);
    border: 1px solid var(--theory-border);
    border-radius: var(--theory-card-radius);
    color: var(--theory-text);
    font-size: .9375rem;
    text-decoration: none;
    transition: border-color .15s, background .15s;
}

.theory-kb__vehicle:hover {
    border-color: var(--theory-primary);
    color: var(--theory-primary);
}

.theory-kb__vehicle.is-active {
    background: var(--theory-primary);
    border-color: var(--theory-primary);
    color: var(--theory-white);
    font-weight: 600;
}

.theory-kb__vehicle i { font-size: 1.125rem; }

/* ── Verkoopknoppen ──────────────────────────────────────────────── */
.theory-kb__products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
    gap: .75rem;
    margin-top: 1rem;
}

.theory-kb__product {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .875rem 1rem;
    background: var(--theory-white);
    border: 1px solid var(--theory-border);
    border-left: 4px solid var(--theory-success);
    border-radius: var(--theory-card-radius);
    color: var(--theory-text);
    text-decoration: none;
    transition: border-color .15s, transform .15s, box-shadow .15s;
}

.theory-kb__product:hover {
    border-color: var(--theory-success);
    border-left-color: var(--theory-success);
    box-shadow: var(--theory-card-shadow);
    transform: translateY(-2px);
}

.theory-kb__product > i {
    flex: 0 0 auto;
    font-size: 1.375rem;
    color: var(--theory-success);
}

.theory-kb__product-naam {
    flex: 1 1 auto;
    font-weight: 600;
    font-size: .9375rem;
    line-height: 1.25;
}

.theory-kb__product-prijs {
    flex: 0 0 auto;
    font-size: .8125rem;
    color: var(--theory-text-light);
    text-align: right;
    white-space: nowrap;
}

.theory-kb__product-prijs s {
    opacity: .6;
    margin-right: .15rem;
}

.theory-kb__product-prijs b {
    display: block;
    font-size: 1rem;
    color: var(--theory-secondary);
}

/* ── Indeling: inhoudsopgave links, tekst rechts ─────────────────── */
.theory-kb__layout {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.theory-kb__sidebar {
    flex: 0 0 17rem;
    max-width: 17rem;
}

.theory-kb__sidebar-inner {
    position: sticky;
    top: 2rem;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    padding: 1.25rem;
    background: var(--theory-white);
    border-radius: var(--theory-card-radius);
    box-shadow: var(--theory-card-shadow);
}

.theory-kb__main {
    flex: 1 1 auto;
    min-width: 0;
}

/* ── Inhoudsopgave ───────────────────────────────────────────────── */
.theory-kb__toc-title {
    margin: 0 0 .75rem;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--theory-text-light);
}

.theory-kb__toc-chapter {
    display: flex;
    gap: .6rem;
    padding: .5rem 0;
    color: var(--theory-text);
    font-size: .9375rem;
    line-height: 1.35;
    text-decoration: none;
}

.theory-kb__toc-chapter:hover { color: var(--theory-primary); }

.theory-kb__toc-chapter.is-open {
    font-weight: 700;
    color: var(--theory-secondary);
}

.theory-kb__toc-nr {
    flex: 0 0 1.4rem;
    color: var(--theory-text-light);
    font-size: .8125rem;
    text-align: right;
}

.theory-kb__toc-topics {
    margin: 0 0 .5rem;
    padding: 0 0 .25rem 2rem;
    list-style: none;
    border-left: 2px solid var(--theory-border);
    margin-left: .65rem;
}

.theory-kb__toc-topics li { padding: .2rem 0; }

.theory-kb__toc-topics a {
    color: var(--theory-text-light);
    font-size: .875rem;
    line-height: 1.35;
    text-decoration: none;
}

.theory-kb__toc-topics a:hover { color: var(--theory-primary); }

.theory-kb__toc-topics li.is-active a {
    color: var(--theory-primary);
    font-weight: 600;
}

/* ── Kop boven een onderwerp ─────────────────────────────────────── */
.theory-kb__eyebrow {
    margin: 0 0 1rem;
    font-size: .8125rem;
    color: var(--theory-text-light);
}

.theory-kb__eyebrow a {
    color: var(--theory-primary);
    text-decoration: none;
}

.theory-kb__eyebrow a:hover { text-decoration: underline; }

.theory-kb__eyebrow span { margin: 0 .35rem; }

/* ── Hoofdstukken ────────────────────────────────────────────────── */
.theory-kb__chapters {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
    gap: 1rem;
}

.theory-kb__chapter {
    display: block;
    padding: 1.25rem;
    background: var(--theory-white);
    border-radius: var(--theory-card-radius);
    box-shadow: var(--theory-card-shadow);
    text-decoration: none;
    transition: transform .15s;
}

.theory-kb__chapter:hover { transform: translateY(-2px); }

.theory-kb__chapter-title {
    margin: 0 0 .35rem;
    font-size: 1.0625rem;
    color: var(--theory-primary);
}

.theory-kb__chapter-count {
    font-size: .8125rem;
    color: var(--theory-text-light);
}

/* ── Onderwerpenlijst ────────────────────────────────────────────── */
.theory-kb__section { margin-bottom: 2rem; }

.theory-kb__section-title {
    margin: 0 0 .75rem;
    font-size: 1.125rem;
    color: var(--theory-text);
}

.theory-kb__topics {
    margin: 0;
    padding: 0;
    list-style: none;
    background: var(--theory-white);
    border-radius: var(--theory-card-radius);
    box-shadow: var(--theory-card-shadow);
    overflow: hidden;
}

.theory-kb__topics li + li { border-top: 1px solid var(--theory-border); }

.theory-kb__topics a {
    display: block;
    padding: .875rem 1.25rem;
    color: var(--theory-text);
    text-decoration: none;
}

.theory-kb__topics a:hover {
    background: var(--theory-bg);
    color: var(--theory-primary);
}

/* ── Het onderwerp ───────────────────────────────────────────────── */
.theory-kb__article {
    padding: 2rem;
    background: var(--theory-white);
    border-radius: var(--theory-card-radius);
    box-shadow: var(--theory-card-shadow);
}

.theory-kb__content {
    line-height: 1.7;
    font-size: 1.0625rem;
}

.theory-kb__content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.theory-kb__content table {
    width: 100%;
    margin: 1rem 0;
    border-collapse: collapse;
}

.theory-kb__content th,
.theory-kb__content td {
    padding: .5rem .75rem;
    border: 1px solid var(--theory-border);
    text-align: left;
}

.theory-kb__content th { background: var(--theory-bg); }

/* Redactionele kaders uit de databank. */
.theory-kb__content .begrip,
.theory-kb__content .voorbeeld,
.theory-kb__content .belangrijk,
.theory-kb__content .examen {
    margin: 1.25rem 0;
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--theory-primary);
    border-radius: 0 4px 4px 0;
    background: var(--theory-bg);
}

.theory-kb__content .belangrijk {
    border-left-color: var(--theory-secondary);
    background: #fdf3f4;
}

.theory-kb__content .examen {
    border-left-color: var(--theory-success);
    background: #f1f9f3;
}

.theory-kb__content .voorbeeld { border-left-color: var(--theory-warning); }

/* ── Duimpjes (alleen tonen) ─────────────────────────────────────── */
.theory-kb__feedback {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--theory-border);
}

.theory-kb__feedback-q {
    font-weight: 600;
    margin-right: .25rem;
}

.theory-kb__thumb {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .4rem .7rem;
    border: 1px solid var(--theory-border);
    border-radius: var(--theory-card-radius);
    color: var(--theory-text-light);
}

.theory-kb__thumb.is-locked { cursor: default; opacity: .7; }

.theory-kb__lock {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .8125rem;
    color: var(--theory-text-light);
    text-decoration: none;
}

a.theory-kb__lock:hover {
    color: var(--theory-primary);
    text-decoration: underline;
}

/* ── Publieke vragen ─────────────────────────────────────────────── */
.theory-kb__questions {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--theory-border);
}

.theory-kb__questions h2 {
    margin: 0 0 1rem;
    font-size: 1.25rem;
}

.theory-kb__question {
    margin-bottom: 1.25rem;
    padding: 1rem 1.25rem;
    background: var(--theory-bg);
    border-radius: var(--theory-card-radius);
}

.theory-kb__question-text {
    margin: 0 0 .75rem;
    font-weight: 600;
}

.theory-kb__answer {
    padding-left: 1rem;
    border-left: 3px solid var(--theory-primary);
}

.theory-kb__answer-from {
    display: block;
    margin-bottom: .25rem;
    font-size: .8125rem;
    color: var(--theory-text-light);
}

.theory-kb__answer p { margin: 0; }

/* ── Vraag stellen (alleen leden) ────────────────────────────────── */
.theory-kb__ask {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.25rem;
    background: var(--theory-bg);
    border-radius: var(--theory-card-radius);
}

.theory-kb__ask span { font-weight: 600; }

/* ── Zoekresultaten ──────────────────────────────────────────────── */
.theory-kb__count,
.theory-kb__noresults {
    margin-bottom: 1.5rem;
    color: var(--theory-text-light);
}

.theory-kb__results {
    margin: 0;
    padding: 0;
    list-style: none;
}

.theory-kb__results li {
    margin-bottom: 1rem;
    padding: 1.25rem;
    background: var(--theory-white);
    border-radius: var(--theory-card-radius);
    box-shadow: var(--theory-card-shadow);
}

.theory-kb__results a {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--theory-primary);
    text-decoration: none;
}

.theory-kb__results a:hover { text-decoration: underline; }

.theory-kb__result-where {
    display: block;
    margin: .2rem 0 .5rem;
    font-size: .8125rem;
    color: var(--theory-text-light);
}

.theory-kb__result-snip {
    margin: 0;
    font-size: .9375rem;
    color: var(--theory-text);
}

.theory-kb__result-snip mark {
    padding: 0 .15em;
    background: #fff3cd;
}

/* ── Mobiel ──────────────────────────────────────────────────────── */
@media (max-width: 991px) {
    /* Inhoudsopgave boven de tekst; sticky werkt hier averechts. */
    .theory-kb__layout { display: block; }

    .theory-kb__sidebar {
        max-width: none;
        margin-bottom: 1.5rem;
    }

    .theory-kb__sidebar-inner {
        position: static;
        max-height: none;
    }
}

@media (max-width: 782px) {
    .theory-kb { padding: 1rem .75rem 3rem; }
    .theory-kb__article { padding: 1.25rem; }
    .theory-kb__search { flex-wrap: wrap; }
    .theory-kb__search input[type="search"] { flex: 1 1 100%; }
}

/* ═══════════════════════════════════════════════════════════════════
   PROEFEXAMEN (/proefexamen/)
   ═══════════════════════════════════════════════════════════════════ */

.theory-trialexam {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem;
}

/* ── Kop ──────────────────────────────────────────────────────────── */

.theory-trialexam__intro,
.theory-trialexam__grid-head {
    text-align: center;
    margin-bottom: 2rem;
}

.theory-trialexam__badge {
    display: inline-block;
    padding: 4px 14px;
    margin-bottom: 12px;
    border-radius: 20px;
    background: var(--theory-success, #48bb78);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.theory-trialexam__headline {
    margin: 0 0 10px;
    color: #be1622;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
}

.theory-trialexam__subheadline {
    margin: 0;
    color: #666;
    font-size: 17px;
}

.theory-trialexam__expired {
    margin: 0;
    padding: 10px 16px;
    border-radius: 6px;
    background: #fff4e5;
    color: #975a16;
    font-weight: 600;
}

/* ── Formulier ────────────────────────────────────────────────────── */

.theory-trialexam__form {
    max-width: 520px;
    margin: 0 auto;
    padding: 1.75rem;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

.theory-trialexam__errors {
    max-width: 520px;
    margin: 0 auto 1.25rem;
    padding: 12px 16px;
    border-left: 4px solid #be1622;
    border-radius: 4px;
    background: #fdecec;
}

.theory-trialexam__errors p {
    margin: 0 0 4px;
    color: #be1622;
}

.theory-trialexam__errors p:last-child {
    margin-bottom: 0;
}

.theory-trialexam__fieldset {
    margin: 0 0 1.5rem;
    padding: 0;
    border: none;
}

.theory-trialexam__legend {
    margin-bottom: 12px;
    padding: 0;
    font-size: 16px;
    font-weight: 700;
}

.theory-trialexam__vehicles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.theory-trialexam__vehicle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    padding: 15px 10px;
    border: 2px solid #ccc;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.theory-trialexam__vehicle:hover {
    border-color: #36a9e1;
}

.theory-trialexam__vehicle--selected {
    border-color: #36a9e1;
    background: #b1d9f0;
}

.theory-trialexam__vehicle input[type="radio"] {
    display: none;
}

/* Icoon komt van Font Awesome; die wordt door het thema geladen, net als bij
   de voertuigtegels van [plan_onlineexams]. */
.theory-trialexam__vehicle i {
    font-size: 40px;
    line-height: 1;
    color: #000;
}

.theory-trialexam__vehicle-label {
    font-weight: 600;
    text-align: center;
}

.theory-trialexam__form-row {
    margin-bottom: 1rem;
}

.theory-trialexam__label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 600;
}

.theory-trialexam__hint {
    margin: 5px 0 0;
    color: #777;
    font-size: 13px;
}

.theory-trialexam__terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 1.5rem;
    font-size: 13px;
    line-height: 1.6;
}

/* Ruimer aanklikgebied: een standaard vinkje is ~13px en op een telefoon
   lastig te raken. 20px plus de regelhoogte eromheen maakt het hele blokje
   een bruikbaar doel. */
.theory-trialexam__terms input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    flex: 0 0 auto;
    cursor: pointer;
    /* Lijnt het vinkje uit met de eerste tekstregel ernaast. */
    margin-top: 1px;
}

.theory-trialexam__terms label {
    margin: 0;
    cursor: pointer;
}

.theory-trialexam__terms a {
    color: #36a9e1;
    text-decoration: none;
}

.theory-trialexam__required {
    color: #be1622;
}

.theory-trialexam__submit {
    display: block;
    width: 100%;
    min-height: 50px;
    padding: 14px 20px;
    border: none;
    border-radius: 6px;
    background: var(--theory-success, #48bb78);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s;
}

.theory-trialexam__submit:hover {
    background: #3ea36a;
    color: #fff;
}

.theory-trialexam__trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 1rem;
    color: #666;
    font-size: 13px;
}

.theory-trialexam__link {
    color: #36a9e1;
    text-decoration: underline;
}

/* ── Al een account ───────────────────────────────────────────────── */

.theory-trialexam__notice {
    max-width: 520px;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    text-align: center;
}

.theory-trialexam__notice-title {
    margin: 0 0 12px;
    color: #be1622;
    font-size: 26px;
    font-weight: 700;
}

.theory-trialexam__notice-body {
    margin: 0 0 10px;
    color: #555;
}

.theory-trialexam__notice-email {
    margin: 0 0 1.5rem;
    font-weight: 700;
}

.theory-trialexam__notice-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.theory-trialexam__notice-actions .theory-trialexam__submit {
    max-width: 320px;
}

/* ── Examengrid ───────────────────────────────────────────────────── */

/* Kop boven een blok kaarten: hoofdstukken of examens. */
.theory-trialexam .theory-trialexam__section {
    margin: 0 0 1rem;
    padding: 0;
    color: #333;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}

/* Het tweede blok krijgt wat lucht van het eerste. */
.theory-trialexam__grid + .theory-trialexam__section {
    margin-top: 2.5rem;
}

.theory-trialexam__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
    gap: 14px;
    margin-bottom: 3rem;
}

.theory-trialexam__exam {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    background: #fff;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.theory-trialexam__exam:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.theory-trialexam__exam--locked {
    cursor: pointer;
}

.theory-trialexam__exam-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f0f0f0;
}

.theory-trialexam__exam-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Vergrendeld: afbeelding dimmen zodat het slot opvalt. */
.theory-trialexam__exam--locked .theory-trialexam__exam-image {
    filter: grayscale(100%) blur(2px);
    opacity: 0.55;
}

.theory-trialexam__exam-lock {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theory-trialexam__exam-lock i {
    font-size: 30px;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.theory-trialexam__exam-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px 12px;
    text-align: center;
}

.theory-trialexam__exam-title {
    color: #333;
    font-size: 15px;
    font-weight: 700;
}

.theory-trialexam__exam-action {
    font-size: 13px;
    font-weight: 600;
}

.theory-trialexam__exam--open .theory-trialexam__exam-action {
    color: var(--theory-success, #48bb78);
}

.theory-trialexam__exam--locked .theory-trialexam__exam-action {
    color: #999;
}

/* ── Verlengen: periodeknoppen ────────────────────────────────────── */

.theory-trialexam__renew {
    margin-bottom: 2.5rem;
    text-align: center;
}

.theory-trialexam__renew-form {
    margin: 0;
}

/* Drie naast elkaar, zes kaarten = twee rijen. */
.theory-trialexam .theory-trialexam__renew-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    align-items: stretch;
}

/* Elke periode is zelf de knop: één klik, geen formulier ertussen.
   De selector is extra specifiek (blok + element) en een aantal eigenschappen
   staat op !important, omdat thema's als Divi hun eigen button-stijl met hoge
   specificiteit opleggen — zonder dit krijgen de kaarten grijze themaknoppen
   met vierkante hoeken. */
.theory-trialexam .theory-trialexam__period-btn,
.theory-trialexam button.theory-trialexam__period-btn {
    position: relative;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-height: 118px;
    margin: 0;
    padding: 22px 14px 18px !important;
    border: 2px solid #e3e3e3 !important;
    border-radius: 10px !important;
    /* De kortingsvlag steekt buiten de kaart; die hier afsnijden. */
    overflow: hidden;
    background: #fff !important;
    color: #333;
    font: inherit;
    line-height: 1.3;
    text-align: center;
    text-transform: none !important;
    letter-spacing: normal;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.theory-trialexam .theory-trialexam__period-btn:hover,
.theory-trialexam button.theory-trialexam__period-btn:hover {
    border-color: #36a9e1 !important;
    background: #fff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Divi hangt een ::after-pijltje aan knoppen; die hoort hier niet. */
.theory-trialexam .theory-trialexam__period-btn::after {
    display: none !important;
}

/* De badge hangt over de bovenrand; daarom extra ruimte binnen de kaart en
   een hogere z-index dan de rand zelf. */
.theory-trialexam .theory-trialexam__period-btn .theory-trialexam__period-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    z-index: 2;
    display: block;
    transform: translateX(-50%);
    padding: 3px 12px;
    border-radius: 12px;
    background: var(--theory-success, #48bb78);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.6;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Kaarten mét badge krijgen iets meer kopruimte, zodat het label niet tegen
   de badge aan komt te staan. */
.theory-trialexam .theory-trialexam__renew-grid {
    padding-top: 11px;
}

.theory-trialexam .theory-trialexam__period-label {
    display: block;
    color: #36a9e1;
    font-size: 19px;
    font-weight: 700;
}

/* De gewone prijs, doorgestreept boven de kortingsprijs. */
.theory-trialexam .theory-trialexam__period-was {
    display: block;
    margin-bottom: -4px;
    color: #999;
    font-size: 14px;
    font-weight: 400;
    text-decoration: line-through;
}

/* Groen = de actieprijs. Fors, want dit is waar het om draait. */
.theory-trialexam .theory-trialexam__period-price {
    display: block;
    color: var(--theory-success, #48bb78) !important;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
}

/* Het kortingspercentage, schuin over de hoek van de kaart. */
.theory-trialexam .theory-trialexam__period-discount {
    position: absolute;
    top: 10px;
    right: -34px;
    z-index: 2;
    display: block;
    width: 118px;
    padding: 4px 0;
    transform: rotate(38deg);
    background: #be1622;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.theory-trialexam .theory-trialexam__period-until {
    display: block;
    color: #777;
    font-size: 12px;
    font-weight: 400;
}

/* De kop van de pagina, boven de prijskaarten. Groen in plaats van rood:
   dit is het aanbod, geen waarschuwing. */
/* Onder de kop: de reden om nú te beslissen. */
.theory-trialexam .theory-trialexam__once {
    margin: 0 0 1.5rem;
    color: #666;
    font-size: 15px;
    text-align: center;
}

.theory-trialexam .theory-trialexam__unlock {
    margin: 0 0 0.5rem;
    padding: 0;
    color: var(--theory-success, #48bb78) !important;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

@media (max-width: 600px) {
    .theory-trialexam .theory-trialexam__unlock {
        font-size: 21px;
    }
}

/* ── Gratis videocursus binnen de bedenktijd ──────────────────────── */

/* Staat tussen de kop en de prijskaarten. Groen en niet rood: dit is een
   cadeau, geen waarschuwing. Rood staat op deze pagina al op de
   kortingsvlaggen, en dat bijt met de groene kop erboven. */
.theory-trialexam .theory-trialexam__bonus {
    margin: 0 0 1.25rem;
    padding: 14px 18px;
    border: 2px solid var(--theory-success, #48bb78);
    border-radius: 10px;
    background: #f2fbf6;
    text-align: center;
}

.theory-trialexam .theory-trialexam__bonus-title {
    margin: 0 0 4px;
    color: var(--theory-success, #48bb78);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
}

.theory-trialexam .theory-trialexam__bonus-title i {
    margin-right: 6px;
}

.theory-trialexam .theory-trialexam__bonus-timer {
    margin: 0;
    color: var(--theory-success, #48bb78);
    font-size: 14px;
}

/* De cijfers springen elke seconde; een vaste breedte met tabulaire cijfers
   houdt de regel stil. */
.theory-trialexam .theory-trialexam__bonus-clock {
    display: inline-block;
    min-width: 54px;
    color: var(--theory-success, #48bb78);
    font-size: 19px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* Wat er per kaart gratis bij komt. */
.theory-trialexam .theory-trialexam__period-bonus {
    display: block;
    margin-top: 2px;
    color: var(--theory-success, #48bb78);
    font-size: 12px;
    font-weight: 700;
}

.theory-trialexam .theory-trialexam__period-bonus i {
    margin-right: 3px;
    font-size: 10px;
}

@media (max-width: 600px) {
    .theory-trialexam .theory-trialexam__bonus-title {
        font-size: 15px;
    }
}

/* ── Verkoopblok ──────────────────────────────────────────────────── */

.theory-trialexam__upsell {
    padding: 2rem 1.5rem;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.theory-trialexam__upsell--highlight {
    box-shadow: 0 0 0 3px #36a9e1;
}

.theory-trialexam__upsell-title {
    margin: 0 0 8px;
    color: #be1622;
    font-size: 24px;
    font-weight: 700;
}

.theory-trialexam__upsell-body {
    margin: 0 0 1.5rem;
    color: #555;
}

.theory-trialexam__periods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    margin-bottom: 1.5rem;
}

.theory-trialexam__period {
    position: relative;
    padding: 16px 12px;
    border: 2px solid #e3e3e3;
    border-radius: 8px;
}

.theory-trialexam__period-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 2px 10px;
    border-radius: 12px;
    background: #be1622;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.theory-trialexam__period-label {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 600;
}

.theory-trialexam__period-price {
    display: block;
    color: #be1622;
    font-size: 20px;
    font-weight: 700;
}

.theory-trialexam__upsell .theory-trialexam__submit {
    max-width: 340px;
    margin: 0 auto;
}

.theory-trialexam__member-hint {
    margin: 1.5rem 0 0;
    text-align: center;
    font-size: 14px;
}

@media (max-width: 760px) {
    /* Drie kaarten naast elkaar wordt te smal; twee leest nog prettig. */
    .theory-trialexam__renew-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .theory-trialexam__period-label { font-size: 17px; }
    .theory-trialexam__period-price { font-size: 20px; }
}

@media (max-width: 600px) {
    .theory-trialexam__headline { font-size: 26px; }

    .theory-trialexam__form,
    .theory-trialexam__notice { padding: 1.25rem; }

    .theory-trialexam__grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }

    .theory-trialexam__vehicle-icon::before { font-size: 32px; }
}
