.body {
	background-color: #FFFFFF;
}

/* Hide theme featured image on quiz singles */
.single-rqb_quiz .post-thumbnail {
    display: none;
}

/* Hero image */

.rqb-quiz-hero {
    margin-bottom: 24px;
}

.rqb-quiz-hero-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}
/* Quiz single header (match site post style without meta) */

.rqb-quiz-page-header {
    margin-bottom: 24px;
}

.rqb-quiz-page-header-text {
    margin-top: 16px;
}

.rqb-quiz-page-title {
    margin-bottom: 8px;
}

.rqb-quiz-page-excerpt {
    margin-top: 0;
    margin-bottom: 12px;
    color: #555;
}


/* Quiz container */

.rqb-quiz-root {
    margin-top: 16px;
}

/* Start screen */

.rqb-quiz-start {
    padding: 24px;
    border-radius: 8px;
    background: #f7f7fb;
    text-align: center;
}

.rqb-quiz-start h2 {
    margin-bottom: 16px;
}

.rqb-button-primary,
.rqb-quiz-start .rqb-start-button {
    padding: 10px 18px;
    border-radius: 999px;
    border: none;
    background: #8539e1;
    color: #fff;
    cursor: pointer;
    font-size: 15px;
}

.rqb-button-primary:hover,
.rqb-quiz-start .rqb-start-button:hover {
    background: #6d2fbb;
}

/* Question view */

.rqb-question-wrap {
    padding: 24px;
    border-radius: 8px;
    background: #f7f7fb;
}

.rqb-progress-bar {
    height: 6px;
    border-radius: 999px;
    background: #e2e2f0;
    overflow: hidden;
    margin-bottom: 12px;
}

.rqb-progress-bar-inner {
    height: 100%;
    background: #8539e1;
    width: 0;
}

.rqb-question-count {
    font-size: 13px;
    color: #555;
    margin-bottom: 12px;
}

.rqb-question-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    margin-bottom: 16px;
}

.rqb-question-image {
    margin-bottom: 16px;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
}

.rqb-question-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rqb-question-prompt {
    margin: 0 0 8px;
}

.rqb-question-help {
    margin: 0 0 16px;
    color: #555;
}

.rqb-answer-options {
    display: grid;
    gap: 8px;
}

.rqb-answer-button {
    text-align: left;
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #d0d0e0;
    background: #fafafa;
    cursor: pointer;
}

.rqb-answer-button:hover {
    background: #f0f0ff;
}

.rqb-answer-selected {
    border-color: #8539e1;
    background: #efe7ff;
}

.rqb-answer-label {
    display: block;
    font-weight: 600;
}

.rqb-answer-help {
    display: block;
    font-size: 13px;
    color: #555;
    margin-top: 2px;
}

/* Nav buttons */

.rqb-question-nav {
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rqb-nav-spacer {
    flex: 1;
}

.rqb-nav-prev,
.rqb-nav-next {
    min-width: 120px;
}

/* Results */

.rqb-result-wrap {
    padding: 24px;
    border-radius: 8px;
    background: #f7f7fb;
}

.rqb-result-headline {
    margin-top: 0;
    margin-bottom: 16px;
}

.rqb-result-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.rqb-result-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    overflow: hidden;
}

.rqb-result-card-image-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.rqb-result-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rqb-result-card-content {
    padding: 16px;
}

.rqb-result-card-title {
    margin-top: 0;
    margin-bottom: 8px;
}

.rqb-result-card-headline {
    margin: 0 0 8px;
    font-weight: 600;
}

.rqb-result-card-body {
    margin: 0 0 8px;
}

.rqb-result-card-secondary {
    margin: 0 0 8px;
    font-style: italic;
    color: #555;
}

.rqb-result-card-cta {
    margin: 0;
}

.rqb-result-card-cta-link {
    color: #8539e1;
}

/* Share section */

.rqb-share-section {
    padding: 16px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.rqb-share-section h3 {
    margin-top: 0;
}

.rqb-share-textarea {
    width: 100%;
    min-height: 5.2em;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #d0d0e0;
    font-size: 14px;
    resize: vertical;
}

.rqb-share-actions {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rqb-share-copy-button,
.rqb-share-facebook-button {
    text-decoration: none;
}

/* Share page layout */

.rqb-share-main {
    padding-top: 16px;
    padding-bottom: 32px;
}

.rqb-share-article {
    max-width: 840px;
    margin: 0 auto;
    padding: 0 16px;
}

.rqb-share-header {
    margin-bottom: 24px;
}

.rqb-share-header-text {
    margin-top: 16px;
}

.rqb-share-title {
    margin-bottom: 8px;
}

.rqb-share-excerpt {
    margin-top: 0;
    margin-bottom: 12px;
    color: #555;
}

.rqb-share-result-headline {
    margin: 0;
}

.rqb-share-body {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.rqb-share-result-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.rqb-share-textarea {
    width: 100%;
    min-height: 5.2em;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #d0d0e0;
    font-size: 14px;
    resize: vertical;
}

.rqb-share-cta {
    text-align: center;
}

.rqb-share-button.button {
    padding: 10px 18px;
    border-radius: 999px;
    background: #8539e1;
    border: none;
    color: #fff;
}

.rqb-share-button.button:hover {
    background: #6d2fbb;
}

@media (max-width: 600px) {
    .rqb-question-wrap,
    .rqb-result-wrap {
        padding: 16px;
    }
}


.rqb-question-card h2 {
	font-size:28px !important;
}