body.page-adult-bible {
    margin: 0;
    background: #f3efe7;
    color: #213d34;
}

/* Ruimte onder de vaste menubalk */
.page-adult-bible .main-content-wrapper {
    padding-top: 64px;
}

.ab-page {
    max-width: 1160px;
    margin: auto;
    padding: 26px 24px 60px;
    font-family: "Segoe UI", Arial, sans-serif;
}

.ab-back {
    display: inline-block;
    padding: 10px 0;
    margin-bottom: 18px;
    color: #315b46;
    font-weight: 600;
}

/* Hero */
.ab-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 32px;
    overflow: hidden;
    border: 1px solid #d8dfcf;
    border-radius: 24px;
    background: #e8eee0;
}

.ab-hero > div {
    padding: 34px;
    align-self: center;
}

.ab-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #687b58;
}

.ab-hero h1 {
    margin: 14px 0;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 750;
    letter-spacing: -1.3px;
    line-height: 1.13;
    color: #213d34;
}

.ab-hero p {
    margin: 0;
    line-height: 1.75;
    color: #536758;
}

/* Afbeeldingen volledig tonen, zonder afsnijden */
.ab-hero > img,
.ab-card > img {
    display: block;
    width: 100%;
    height: auto !important;
    min-height: 0;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    align-self: center;
    background: #e8eee0;
}

.ab-page h2 {
    font-family: inherit;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
    color: #213d34;
}

/* Kaarten */
.ab-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.ab-card {
    overflow: hidden;
    border: 1px solid #d5dece;
    border-radius: 22px;
    background: #fffcf6;
}

.ab-card > div {
    padding: 26px;
}

.ab-card p {
    line-height: 1.7;
}

.ab-card:only-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

/* Knoppen */
.ab-button,
.ab-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid #285444;
    border-radius: 11px;
    background: #285444;
    color: #fff;
    font: inherit;
    font-weight: 650;
    line-height: 1.5;
    text-decoration: none;
    cursor: pointer;
}

.ab-button:hover {
    background: #173c2d;
    color: #fff;
}

.ab-secondary {
    margin-top: 18px;
    background: #fff;
    color: #285444;
}

.ab-page button:disabled {
    opacity: .55;
    cursor: default;
}

.ab-mode-icon {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    margin-right: 9px;
}

/* Spelpanelen en invoervelden */
.ab-panel {
    max-width: 850px;
    margin: 0 auto 28px;
    padding: 30px;
    border: 1px solid #d7dfcf;
    border-radius: 22px;
    background: #fffdf7;
    scroll-margin-top: 105px;
    overflow-anchor: none;
}

.ab-fields {
    display: grid;
    grid-template-columns: 1.3fr 1fr .7fr;
    gap: 20px;
    margin: 24px 0;
}

.ab-fields label {
    min-width: 0;
    font-size: 13px;
    font-weight: 650;
}

.ab-fields select,
.ab-fields input {
    display: block;
    width: 100%;
    min-height: 48px;
    margin-top: 8px;
    padding: 10px;
    border: 1px solid #bdcdbb;
    border-radius: 10px;
    background: #fff;
    color: #213d34;
    font: inherit;
    font-size: 16px;
}

.ab-note {
    margin-top: 20px;
    font-size: 12px;
    line-height: 1.7;
    color: #65765d;
}

.ab-error {
    padding: 18px;
    border: 1px solid #d9ad99;
    border-radius: 12px;
    background: #fff0e9;
    color: #7d3928;
}

.ab-progress {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    color: #607052;
}

.ab-panel progress {
    width: 100%;
    height: 8px;
    margin: 16px 0;
    accent-color: #285444;
}

#ab-play,
#bb-play {
    overflow-anchor: none;
}

/* Antwoorden */
.ab-choices {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.ab-choices button {
    min-height: 52px;
    padding: 13px 17px;
    border: 1px solid #b7c9b5;
    border-radius: 12px;
    background: #fff;
    color: #264a3a;
    font: inherit;
    font-size: 16px;
    text-align: left;
    overflow-wrap: anywhere;
    cursor: pointer;
}

.ab-choices button:disabled {
    opacity: 1;
}

.ab-choices button.ab-right {
    background: #e2f1dc;
    border-color: #608758;
}

.ab-choices button.ab-wrong {
    background: #ffece2;
    border-color: #d2a484;
}

.ab-feedback {
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #c3d6b8;
    border-radius: 14px;
    background: #edf3e5;
    line-height: 1.7;
}

.ab-feedback p {
    margin: 6px 0;
}

/* Zichtbaarheid en toetsenbordbediening */
.ab-page [hidden] {
    display: none !important;
}

.ab-page :is(a, button, input, select):focus-visible {
    outline: 3px solid #b58a40;
    outline-offset: 3px;
}

.ab-page h2:focus {
    outline: none;
}

/* Resultaten */
.ab-review-item {
    padding: 18px 0;
    border-top: 1px solid #dae2d4;
    line-height: 1.7;
}

.ab-review-item summary {
    min-height: 44px;
    padding: 10px 0;
    font-weight: 650;
    cursor: pointer;
}

.ab-review-item p {
    margin: 8px 0;
}

.ab-page #ab-review {
    margin-top: 28px;
}

/* Bijbelboeken */
.ab-book-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 0;
    list-style: none;
    counter-reset: book;
}

.ab-book-list li {
    padding: 12px;
    border-radius: 10px;
    background: #edf3e4;
    overflow-wrap: anywhere;
}

.ab-book-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
}

.ab-book-row > span {
    padding: 10px 14px;
    border-radius: 9px;
    background: #e8efdf;
}

.ab-book-row .ab-gap {
    background: #f5ddb4;
    font-weight: 800;
}

.ab-book-order button {
    min-height: 46px;
    padding: 9px 14px;
    border: 1px solid #b9caae;
    border-radius: 10px;
    background: #fff;
    color: #234d39;
    font: inherit;
    cursor: pointer;
}

.ab-book-modes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.ab-book-modes button[aria-pressed="true"] {
    background: #285444;
    color: #fff;
}

/* Mobiel */
@media (max-width: 700px) {
    .ab-page {
        padding: 18px 14px 40px;
    }

    .ab-hero {
        grid-template-columns: 1fr;
    }

    .ab-hero > div {
        padding: 25px;
    }

    .ab-cards,
    .ab-card:only-child {
        grid-template-columns: 1fr;
    }

    .ab-fields {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ab-panel {
        padding: 22px 16px;
    }

    .ab-page h2 {
        font-size: 22px;
    }

    .ab-book-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ab-panel > .ab-button,
    .ab-secondary {
        width: 100%;
    }
}