:root {
    --bg: #f7f8fb;
    --surface: #fff;
    --text: #172033;
    --muted: #667085;
    --primary: #3157d5;
    --primary-dark: #2443aa;
    --border: #dfe3ec;
    --success: #147d64;
    --radius: 14px;
    font-family: Tahoma, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.85; }
a { color: var(--primary); text-decoration: none; }
button, input { font: inherit; }
.container { width: min(1080px, calc(100% - 32px)); margin-inline: auto; }
.narrow { max-width: 760px; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); }
.nav { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { color: var(--text); font-size: 1.25rem; font-weight: 800; }
.nav nav { display: flex; gap: 24px; }
.nav nav a { color: var(--muted); }
.hero { padding: 90px 0 80px; text-align: center; background: linear-gradient(180deg, #eef2ff, var(--bg)); }
.hero h1 { max-width: 800px; margin: 10px auto; font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.35; }
.hero p { max-width: 720px; margin: 0 auto 28px; color: var(--muted); font-size: 1.1rem; }
.eyebrow, .skill-label { color: var(--primary); font-weight: 700; font-size: .9rem; }
.section { padding: 70px 0; }
.section h2 { margin-top: 0; font-size: 1.8rem; }
.muted { background: #eef1f6; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 32px; }
.card, .question-card, .result-section, .result-hero { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: 0 8px 24px rgba(23, 32, 51, .04); }
.card.featured { border: 2px solid var(--primary); }
.card h3 { font-size: 1.5rem; margin: 12px 0 4px; }
.card p, .content p { color: var(--muted); }
.card ul { padding-right: 22px; margin: 20px 0 26px; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 20px; color: var(--primary); background: #edf1ff; font-size: .85rem; }
.button { display: inline-flex; justify-content: center; align-items: center; border: 1px solid var(--primary); border-radius: 9px; padding: 10px 20px; color: #fff; background: var(--primary); cursor: pointer; font-weight: 700; }
.button:hover { background: var(--primary-dark); }
.button.secondary { color: var(--primary); background: var(--surface); }
.button.secondary:hover { background: #f0f3ff; }
.button:disabled { opacity: .5; cursor: not-allowed; }
.button.full { width: 100%; margin-top: 20px; }
.level-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 24px 0; direction: ltr; }
.level-grid span { padding: 15px 5px; border: 1px solid var(--border); background: var(--surface); text-align: center; font-weight: 800; border-radius: 8px; }
.level-grid small { display: block; direction: rtl; color: var(--muted); font-weight: 400; }
.notice, .result-disclaimer { padding: 12px 16px; border-right: 3px solid #c18a17; background: #fff9eb; font-size: .9rem; }
.site-footer { padding: 28px 0; color: var(--muted); background: var(--surface); border-top: 1px solid var(--border); text-align: center; font-size: .9rem; }

.test-page { min-height: 100vh; padding: 30px 16px 50px; }
.test-shell { max-width: 720px; margin: auto; }
.test-top, .progress-meta { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.test-top { margin-bottom: 28px; }
.test-top span, .progress-meta { color: var(--muted); font-size: .9rem; }
.progress { height: 8px; margin: 8px 0 24px; background: #e6e9f0; border-radius: 10px; overflow: hidden; direction: ltr; }
.progress span, .mini-progress span { display: block; height: 100%; background: var(--primary); border-radius: inherit; }
.question-card h1 { font-family: Arial, sans-serif; font-size: 1.45rem; line-height: 1.6; text-align: left; margin: 16px 0 24px; }
.reading-text { padding: 18px; margin-top: 15px; background: #f4f6fa; border-left: 3px solid var(--primary); text-align: left; font-family: Arial, sans-serif; line-height: 1.7; }
.answer-form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 11px; }
.option { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border: 1px solid var(--border); border-radius: 9px; cursor: pointer; text-align: left; font-family: Arial, sans-serif; }
.option:hover, .option:has(input:checked) { border-color: var(--primary); background: #f0f3ff; }
.option input { accent-color: var(--primary); }
.test-note { color: var(--muted); text-align: center; font-size: .85rem; }
.error { color: #b42318; background: #fff0ee; padding: 8px 12px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.result-page { padding: 50px 0 70px; }
.result-hero { text-align: center; }
.result-hero > p { color: var(--muted); }
.level-badge { width: 120px; height: 120px; margin: 18px auto; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--primary); font: 800 2.5rem Arial, sans-serif; }
.result-hero h1 { margin: 0; }
.result-stats { display: flex; justify-content: center; gap: 50px; margin-top: 25px; }
.result-stats span { color: var(--muted); }
.result-stats strong { display: block; color: var(--text); font-size: 1.3rem; }
.result-section { margin-top: 20px; }
.result-section h2 { margin-top: 0; }
.skill-list { display: grid; gap: 18px; }
.skill-row > div:first-child { display: flex; justify-content: space-between; margin-bottom: 5px; }
.mini-progress { height: 8px; border-radius: 8px; background: #e6e9f0; overflow: hidden; direction: ltr; }
.recommendation { border-right: 4px solid var(--success); }
.share-controls { display: flex; gap: 8px; }
.share-controls input { flex: 1; min-width: 100px; direction: ltr; text-align: left; padding: 9px; border: 1px solid var(--border); border-radius: 8px; }
.copy-status { min-height: 1.8em; color: var(--success); margin-bottom: 0; }
.center { text-align: center; margin: 25px 0; }
.shared-banner { padding: 10px 14px; background: #edf1ff; color: var(--primary); border-radius: 8px; text-align: center; }
.levels-list { display: grid; gap: 10px; }
.levels-list div { padding: 14px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.levels-list dt { font-weight: 800; }
.levels-list dd { margin: 0; color: var(--muted); }

@media (max-width: 700px) {
    .nav nav { display: none; }
    .hero { padding: 60px 0; }
    .section { padding: 45px 0; }
    .cards { grid-template-columns: 1fr; }
    .level-grid { grid-template-columns: repeat(3, 1fr); }
    .card, .question-card, .result-section, .result-hero { padding: 22px; }
    .share-controls { flex-wrap: wrap; }
    .share-controls input { flex-basis: 100%; }
    .result-stats { gap: 25px; }
}

/* Zaban Test theme additions */
.logo-text {
    display: inline-block;
    color: #011a3e !important;
    font-size: 25px;
    font-weight: 900;
    letter-spacing: -.8px;
    white-space: nowrap;
}
.logo-text::before {
    content: "Z";
    display: inline-grid;
    place-items: center;
    width: 39px;
    height: 39px;
    margin-left: 8px;
    color: #fff;
    background: #feb000;
    border-radius: 13px 5px 13px 5px;
    font-family: Arial, sans-serif;
    font-size: 23px;
}
.header_area .site_menu .primary_menu .main_menu ul li a { font-size: 14px; }
.header_area .site_menu .primary_menu .main_menu ul li .deneb_btn { color: #fff; }
.deneb_btn { border: 0; cursor: pointer; padding: 0 25px; font-weight: 700; }
.zt-hero .banner_content { padding-top: 25px; }
.zt-hero .banner_content h1 { font-size: 44px; line-height: 1.55; }
.zt-hero .banner_content p { font-size: 15px; line-height: 2; max-width: 580px; }
.zt-kicker { display: block; margin-bottom: 10px; color: #f2a400; font-weight: 800; }
.zt-text-link { margin-right: 20px; color: #011a3e; font-weight: 700; }
.zt-tests { padding-bottom: 110px; }
.deneb_service .zt-test-card { display: flex; align-items: center; gap: 18px; max-width: none; height: 100%; padding: 22px 24px; border: 1px solid #e8ebf2; text-align: right; }
.deneb_service .zt-test-card .icon { flex: 0 0 auto; margin: 0; }
.deneb_service .zt-test-card .icon img { width: auto; height: 72px; }
.zt-test-body { flex: 1 1 auto; min-width: 0; }
.zt-test-card h3 { margin: 0 0 6px; font-size: 20px; font-weight: 800; }
.zt-test-card p { margin: 0; color: #667085; font-size: 13.5px; line-height: 1.9; }
.zt-test-meta { display: flex; flex-wrap: wrap; gap: 7px; margin: 11px 0 0; }
.zt-test-card form { flex: 0 0 auto; }
.zt-test-card .deneb_btn { min-width: 104px; padding: 0 20px; }
.zt-pill { display: inline-block; padding: 4px 12px; color: #9b6c00; background: #fff6dc; border-radius: 20px; font-size: 12px; }
.zt-test-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
.zt-test-notes > div { display: flex; align-items: center; gap: 11px; padding: 14px 16px; background: #f8f9ff; border-radius: 12px; }
.zt-test-notes i { flex: 0 0 auto; color: #feb000; font-size: 17px; }
.zt-test-notes p { margin: 0; color: #526175; font-size: 13px; line-height: 1.8; }
.zt-test-hint { margin: 20px 0 0; color: #7a8494; font-size: 13px; text-align: center; }
.zt-test-hint a { color: #f2a400; font-weight: 700; }
.zt-method { padding-bottom: 100px; }
.zt-method .deneb_content_box p, .zt-about .deneb_content_box p { font-size: 14px; line-height: 2.1; }
.zt-levels { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; margin: 25px 0; }
.zt-levels span { padding: 12px 5px; border: 1px solid #e6e9f0; border-radius: 10px; background: #fff; text-align: center; font: 800 17px Arial, sans-serif; box-shadow: 0 5px 16px rgba(1, 26, 62, .05); }
.zt-levels small { display: block; margin-top: 4px; direction: rtl; color: #667085; font: 11px IRANSans, sans-serif; }
.zt-features { padding: 90px 0; background: #f8f9ff; }
.zt-feature { height: 100%; padding: 30px 24px; background: #fff; border-radius: 12px; text-align: center; box-shadow: 0 10px 35px rgba(1, 26, 62, .07); }
.zt-feature i { margin-bottom: 18px; color: #feb000; font-size: 34px; }
.zt-feature h4 { margin-bottom: 10px; font-weight: 800; }
.zt-feature p { color: #667085; font-size: 13px; line-height: 1.9; }
.zt-cta { margin-top: 90px; }
.zt-cta .cta_content p { font-size: 14px; }
.zt-about { padding-bottom: 90px; }
.zt-how { padding: 90px 0; background: #f8f9ff; }
.zt-step { height: 100%; padding: 30px; background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(1, 26, 62, .06); }
.zt-step > span { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; color: #fff; background: #feb000; border-radius: 50%; font-weight: 900; }
.zt-step h4 { margin-bottom: 10px; font-weight: 800; }
.zt-step p { color: #667085; font-size: 13px; line-height: 1.9; }
.zt-cefr { padding: 100px 0; }
.zt-level-list { display: grid; gap: 12px; margin-top: 25px; }
.zt-level-list div { display: flex; gap: 20px; padding: 16px; border: 1px solid #e8ebf2; border-radius: 10px; }
.zt-level-list strong { min-width: 80px; color: #f2a400; direction: ltr; }
.zt-level-list span { color: #526175; font-size: 13px; }
.zt-note { padding: 34px; background: #fff8e5; border-radius: 14px; }
.zt-note i { color: #feb000; font-size: 34px; }
.zt-note h4 { margin: 15px 0 8px; font-weight: 800; }
.zt-note p { color: #596579; font-size: 13px; line-height: 2; }
.zt-contact { padding-bottom: 110px; }
.zt-contact-info { padding: 35px 0 35px 30px; }
.zt-contact-info h2 { margin-bottom: 16px; font-size: 30px; }
.zt-contact-info > p { margin-bottom: 28px; color: #667085; font-size: 14px; line-height: 2; }
.zt-contact-item { display: flex; gap: 15px; margin: 18px 0; }
.zt-contact-item > i { display: grid; place-items: center; flex: 0 0 45px; height: 45px; color: #feb000; background: #fff6dc; border-radius: 50%; }
.zt-contact-item strong, .zt-contact-item span { display: block; }
.zt-contact-item span { margin-top: 3px; color: #667085; font-size: 12px; line-height: 1.8; }
.zt-contact-item a { color: #667085; }
.zt-contact-item a:hover { color: #feb000; }
.deneb_footer .widget_wrapper .widget_contact .contact_info .single_info { max-width: 100%; }
.deneb_footer .widget_wrapper .widget_contact .contact_info .single_info .info p { color: #7a808d; font-size: 13px; line-height: 1.9; }
.deneb_footer .widget_wrapper .widget_contact .contact_info .single_info .info p a:hover { color: #feb000; }
.zt-contact-form { padding: 35px; background: #fff; border-radius: 14px; box-shadow: 0 15px 45px rgba(1, 26, 62, .09); }
.zt-contact-form label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 700; }
.zt-contact-form .form_control { width: 100%; padding: 12px 15px !important; border: 1px solid #e1e5ed !important; border-radius: 8px !important; }
.zt-contact-form textarea.form_control { min-height: 140px; resize: vertical; }
.zt-alert { margin-bottom: 20px; padding: 13px 16px; border-radius: 8px; font-size: 13px; }
.zt-alert.success { color: #087553; background: #e9fff7; }
.zt-alert.error { color: #a82820; background: #fff0ee; }
.zt-alert li { color: inherit; }
.zt-honeypot { position: absolute; right: -9999px; }
.deneb_footer .logo-text { margin-bottom: 18px; }
.deneb_footer .widget_contact > p { margin-bottom: 18px; color: #7a8494; font-size: 13px; line-height: 1.9; }
.deneb_footer .copyright_text { text-align: center; }
/* Breadcrumb background: a light brand gradient instead of a photo, so the title stays readable
   and the transparent header (dark logo, grey links) keeps enough contrast over it. */
.deneb_breadcrumb { position: relative; overflow: hidden; background: linear-gradient(120deg, #fff7e4 0%, #fffdf8 42%, #eef3ff 100%); border-bottom: 1px solid #eaeef6; }
.deneb_breadcrumb:before,
.deneb_breadcrumb:after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.deneb_breadcrumb:before { top: -130px; left: -90px; width: 340px; height: 340px; background: radial-gradient(circle, rgba(254, 176, 0, .25) 0%, rgba(254, 176, 0, 0) 70%); }
.deneb_breadcrumb:after { right: -110px; bottom: -160px; width: 390px; height: 390px; background: radial-gradient(circle, rgba(1, 26, 62, .11) 0%, rgba(1, 26, 62, 0) 70%); }
.deneb_breadcrumb .breadcrumb_content { position: relative; z-index: 1; }
.deneb_breadcrumb .breadcrumb_content h1 { color: #011a3e; font-weight: 800; }
.deneb_breadcrumb .breadcrumb_content ul li { margin-left: 8px; color: #5b6577; font-size: 13.5px; }
.deneb_breadcrumb .breadcrumb_content ul li a { color: #b57a00; }
.deneb_breadcrumb .breadcrumb_content ul li a:hover { color: #011a3e; }

@media (max-width: 991px) {
    .zt-hero { padding-top: 130px; }
    .zt-hero .banner_content { text-align: center; }
    .zt-hero .banner_content p { margin-inline: auto; }
    .zt-hero .deneb_img_box { margin-top: 35px; }
    .zt-tests [class^="col-"] + [class^="col-"] .zt-test-card { margin-top: 16px; }
    .zt-method .deneb_img_box { margin-bottom: 35px; }
    .zt-contact-info { padding-left: 0; }
}
@media (max-width: 700px) {
    .zt-hero .banner_content h1 { font-size: 31px; }
    .zt-text-link { display: block; margin: 16px 0 0; }
    .zt-levels { grid-template-columns: repeat(3, 1fr); }
    .zt-feature, .zt-step { height: auto; margin-bottom: 15px; }
    .zt-level-list div { display: block; }
    .zt-level-list strong { display: block; margin-bottom: 5px; }
    .zt-contact-form { padding: 22px; }
}

/* Compact vertical rhythm: the base template is built for long marketing pages */
.section_title { margin-bottom: 34px; }
.zt-hero { padding-top: 95px; padding-bottom: 0; }
.zt-hero .banner_content { max-width: 545px; padding-top: 0; }
.zt-hero .zt-kicker { display: inline-block; margin-bottom: 18px; padding: 5px 14px; border-radius: 20px; background: #fff6dc; color: #9b6c00; font-size: 12.5px; font-weight: 700; }
.zt-hero .banner_content h1 { margin-bottom: 20px; font-size: 38px; font-weight: 800; line-height: 1.78; text-wrap: balance; }
.zt-hero .banner_content h1 span { color: #feb000; font-weight: 900; }
.zt-hero .banner_content p { margin-bottom: 30px; color: #55617a; line-height: 2.1; }
.zt-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.zt-hero-actions .zt-text-link { margin: 0; }
.zt-hero-actions .zt-text-link:hover { color: #f2a400; }
.deneb_service.zt-tests { padding-top: 70px; padding-bottom: 70px; }
.deneb_about.zt-method { padding-top: 70px; padding-bottom: 70px; }
.zt-method .deneb_content_box h2, .zt-about .deneb_content_box h2 { margin-bottom: 16px; }
.zt-levels { margin: 20px 0 26px; }
.deneb_achivement.zt-features { padding: 65px 0; }
.zt-feature { padding: 26px 22px; }
.zt-feature i { margin-bottom: 12px; font-size: 30px; }
.zt-cta { margin-top: 70px; }
.deneb_cta .cta_wrapper { padding: 34px 40px; }
.deneb_about.zt-about { padding-top: 70px; padding-bottom: 60px; }
.zt-how { padding: 65px 0; }
.zt-step { padding: 26px 22px; }
.deneb_skill.zt-cefr { padding: 70px 0; }
.deneb_contact.zt-contact { padding-top: 70px; padding-bottom: 80px; }
.deneb_breadcrumb { padding: 150px 0 85px; }
.deneb_footer .widget_wrapper { padding-top: 180px; padding-bottom: 55px; }
.zt-footer-flush .widget_wrapper { padding-top: 60px; }

@media (max-width: 767px) {
    .section_title { margin-bottom: 24px; }
    .section_title h2 { font-size: 23px; }
    .section_title p { font-size: 13px; }

    /* Logo to the right, burger to the left, both hugging the screen edges */
    .mobile_header .row { display: flex; flex-direction: row-reverse; align-items: center; }
    .mobile_header .row > div { display: flex; }
    .mobile_header .row > div:first-child { justify-content: flex-end; }
    .mobile_header .row > div:last-child { justify-content: flex-start; }
    .mobile_header .menu_button { float: none; }
    .logo-text { font-size: 21px; }
    .logo-text::before { width: 33px; height: 33px; margin-left: 6px; border-radius: 11px 4px 11px 4px; font-size: 19px; }

    .zt-hero { padding-top: 104px; }
    .zt-hero .banner_content { margin-inline: auto; }
    .zt-hero .zt-kicker { margin-bottom: 14px; font-size: 12px; }
    .zt-hero .banner_content h1 { margin-bottom: 14px; font-size: 26px; line-height: 1.85; }
    .zt-hero .banner_content p { margin-bottom: 22px; font-size: 14px; line-height: 2.05; }
    .zt-hero-actions { justify-content: center; gap: 10px 18px; }
    .zt-hero .deneb_img_box { margin-top: 34px; padding-top: 12px; text-align: center; }
    .zt-hero .deneb_img_box img { display: block; max-width: 280px; margin: 0 auto; }

    .deneb_service.zt-tests { padding: 46px 0; }
    .deneb_service .zt-test-card { flex-wrap: wrap; gap: 14px; padding: 18px 16px; }
    .deneb_service .zt-test-card .icon img { height: 54px; }
    .zt-test-card h3 { font-size: 17px; }
    .zt-test-card p { font-size: 12.5px !important; line-height: 1.8 !important; }
    .zt-test-card form { flex: 1 1 100%; }
    .zt-test-card .deneb_btn { width: 100%; }
    .zt-test-notes { grid-template-columns: 1fr; gap: 10px; margin-top: 22px; }
    .zt-test-hint { font-size: 12.5px; }

    .deneb_about.zt-method { padding-top: 44px; padding-bottom: 46px; }
    .zt-method .deneb_img_box { margin-bottom: 20px; }
    .zt-method .deneb_img_box img { max-width: 260px; margin-inline: auto; }
    .zt-levels { gap: 6px; margin: 16px 0 22px; }
    .zt-levels span { padding: 8px 4px; font-size: 15px; }

    /* Turn the benefit cards into compact rows so they stop dominating the scroll */
    .deneb_achivement.zt-features { padding: 44px 0; }
    .zt-feature { display: flex; align-items: center; gap: 13px; margin-bottom: 10px; padding: 14px 15px; text-align: right; box-shadow: 0 6px 18px rgba(1, 26, 62, .06); }
    .zt-feature i { display: grid; place-items: center; flex: 0 0 40px; height: 40px; margin: 0; background: #fff6dc; border-radius: 50%; font-size: 20px; }
    .zt-feature h4 { margin-bottom: 2px; font-size: 15px; }
    .zt-feature p { font-size: 12px; line-height: 1.75; }

    .zt-cta { margin-top: 44px; }
    .deneb_cta .cta_wrapper { margin-bottom: -85px; padding: 25px 20px; }
    .deneb_cta .cta_wrapper .cta_content h3 { font-size: 20px; }
    .deneb_cta .cta_wrapper .cta_content h3:after { margin-top: 10px; margin-bottom: 12px; }
    .deneb_cta .cta_wrapper .button_box { margin-top: 18px !important; }

    .deneb_breadcrumb { padding: 100px 0 50px; }
    .deneb_breadcrumb .breadcrumb_content h1 { font-size: 25px; }

    .deneb_about.zt-about { padding: 44px 0 40px; }
    .zt-about .deneb_img_box img { max-width: 250px; margin-inline: auto; }
    .zt-how { padding: 44px 0; }
    .zt-step { margin-bottom: 10px; padding: 20px 18px; }
    .zt-step > span { width: 38px; height: 38px; margin-bottom: 12px; }
    .deneb_skill.zt-cefr { padding: 44px 0; }
    .zt-level-list { gap: 9px; margin-top: 18px; }
    .zt-level-list div { padding: 13px 14px; }
    .zt-note { margin-top: 18px; padding: 22px; }

    .deneb_contact.zt-contact { padding: 44px 0 50px; }
    .zt-contact-info { padding: 0 0 24px; }
    .zt-contact-info h2 { font-size: 23px; }
    .zt-contact-info > p { margin-bottom: 18px; }
    .zt-contact-item { gap: 12px; margin: 13px 0; }
    .zt-contact-form textarea.form_control { min-height: 110px; }

    .deneb_footer .widget_wrapper { padding-top: 120px; padding-bottom: 30px; }
    .zt-footer-flush .widget_wrapper { padding-top: 40px; }
    .deneb_footer .widget { margin-bottom: 22px; text-align: center; }
    .deneb_footer .widget_wrapper .widget .widget_title { margin-bottom: 18px; }
    .deneb_footer .widget_wrapper .widget .widget_title h4:after { margin-inline: auto; }
    .deneb_footer .widget_wrapper .widegt_about p,
    .deneb_footer .widget_contact > p { margin-inline: auto; max-width: 330px; }

    .test-page { padding: 18px 12px 34px; }
    .test-top { margin-bottom: 18px; }
    .question-card { padding: 18px 16px; }
    .question-card h1 { margin: 12px 0 18px; font-size: 1.2rem; }
    .option { padding: 11px 13px; }
    .result-page { padding: 30px 0 45px; }
    .level-badge { width: 96px; height: 96px; margin: 14px auto; font-size: 2rem; }
}

/* SEO resource pages */
.zt-resource-page h2 { margin-bottom: 18px; font-size: 29px; font-weight: 800; line-height: 1.65; }
.zt-resource-page h3 { font-weight: 800; }
.zt-resource-page p { color: #596579; font-size: 14px; line-height: 2.15; }
.zt-resource-page p + p { margin-top: 12px; }
.zt-resource-page a:not(.deneb_btn) { color: #c98600; font-weight: 700; }
.zt-resource-intro { padding: 75px 0; }
.zt-resource-intro .deneb_btn { margin-top: 26px; }
.zt-summary-card { padding: 34px; background: #fff; border: 1px solid #e7eaf1; border-radius: 16px; box-shadow: 0 16px 45px rgba(1, 26, 62, .08); }
.zt-summary-card h3 { margin-bottom: 20px; }
.zt-summary-card ul { display: grid; gap: 14px; }
.zt-summary-card li { color: #526175; font-size: 13px; }
.zt-summary-card li i { margin-left: 9px; color: #feb000; }
.zt-resource-section { padding: 70px 0; }
.zt-resource-muted { background: #f8f9ff; }
.zt-info-card { height: 100%; padding: 28px 24px; background: #fff; border: 1px solid #edf0f5; border-radius: 13px; box-shadow: 0 8px 30px rgba(1, 26, 62, .05); }
.zt-info-card > i { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; color: #feb000; background: #fff6dc; border-radius: 50%; font-size: 21px; }
.zt-info-card h3 { margin-bottom: 8px; font-size: 18px; }
.zt-info-card p { font-size: 13px; line-height: 1.95; }
.zt-numbered-list { display: grid; gap: 14px; margin-top: 24px; }
.zt-numbered-list > div { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid #e8ebf2; border-radius: 11px; }
.zt-numbered-list > div > span { display: grid; place-items: center; flex: 0 0 36px; height: 36px; color: #fff; background: #feb000; border-radius: 50%; font-weight: 900; }
.zt-numbered-list p { margin: 0; font-size: 13px; }
.zt-numbered-horizontal { grid-template-columns: repeat(3, 1fr); }
.zt-numbered-horizontal > div { height: 100%; }
.zt-resource-page .zt-note { margin-top: 12px; }
.zt-resource-page .zt-note h3 { margin: 15px 0 8px; }
.zt-cefr-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; direction: ltr; }
.zt-cefr-grid > div { padding: 20px 10px; background: #fff; border: 1px solid #e5e9f1; border-radius: 12px; text-align: center; direction: rtl; }
.zt-cefr-grid strong { display: block; color: #feb000; font: 900 25px Arial, sans-serif; direction: ltr; }
.zt-cefr-grid span { display: block; margin: 7px 0; font-weight: 800; }
.zt-cefr-grid p { font-size: 11.5px; line-height: 1.8; }
.zt-resource-more { margin-top: 25px !important; text-align: center; }
.zt-faq-list { display: grid; max-width: 850px; margin: 0 auto; gap: 10px; }
.zt-faq-list details { padding: 18px 20px; background: #fff; border: 1px solid #e4e8f0; border-radius: 11px; }
.zt-faq-list summary { position: relative; padding-left: 30px; cursor: pointer; color: #011a3e; font-size: 14px; font-weight: 800; list-style: none; }
.zt-faq-list summary::-webkit-details-marker { display: none; }
.zt-faq-list summary::after { content: "\2b"; position: absolute; left: 0; color: #feb000; font: 900 18px Arial, sans-serif; }
.zt-faq-list details[open] summary::after { content: "\2212"; }
.zt-faq-list p { margin-top: 12px; padding-top: 12px; border-top: 1px solid #eef0f4; font-size: 13px; }
.zt-related { padding: 55px 0 20px; }
.zt-related h2 { text-align: center; }
.zt-related-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 25px; }
.zt-related-links a { display: block; padding: 20px; background: #fff; border: 1px solid #e6e9f0; border-radius: 12px; transition: transform .2s, box-shadow .2s; }
.zt-related-links a:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(1, 26, 62, .08); }
.zt-related-links strong, .zt-related-links span { display: block; }
.zt-related-links strong { margin-bottom: 6px; color: #011a3e; }
.zt-related-links span { color: #667085; font-size: 12px; line-height: 1.8; font-weight: 400; }
.zt-quick-summary { text-align: center; }
.zt-big-number { display: block; color: #feb000; font: 900 70px Arial, sans-serif; line-height: 1; }
.zt-quick-summary h3 { margin: 8px 0 22px; }
.zt-mini-stats { display: flex; justify-content: center; gap: 10px; }
.zt-mini-stats span { padding: 7px 12px; color: #596579; background: #f8f9ff; border-radius: 20px; font-size: 12px; }
.zt-mini-stats i { margin-left: 5px; color: #feb000; }
.zt-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.zt-comparison > div { display: grid; gap: 7px; padding: 20px; background: #f8f9ff; border-radius: 12px; }
.zt-comparison strong { color: #011a3e; }
.zt-comparison span { color: #667085; font-size: 12px; }
.zt-level-pyramid { display: flex; flex-direction: column; align-items: center; gap: 5px; direction: ltr; }
.zt-level-pyramid span { display: grid; place-items: center; height: 42px; color: #fff; background: #feb000; border-radius: 7px; font: 900 18px Arial, sans-serif; box-shadow: 0 5px 15px rgba(254, 176, 0, .2); }
.zt-level-pyramid .c2 { width: 35%; }.zt-level-pyramid .c1 { width: 45%; }.zt-level-pyramid .b2 { width: 55%; }
.zt-level-pyramid .b1 { width: 65%; }.zt-level-pyramid .a2 { width: 75%; }.zt-level-pyramid .a1 { width: 85%; }
.zt-level-range { display: inline-block; margin-bottom: 15px; color: #feb000; font: 900 23px Arial, sans-serif; direction: ltr; }
.zt-level-details { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.zt-level-details > section { display: flex; gap: 18px; padding: 24px; border: 1px solid #e6e9f0; border-radius: 13px; }
.zt-level-code { display: grid; place-items: center; flex: 0 0 60px; height: 60px; color: #fff; background: #feb000; border-radius: 13px; font: 900 22px Arial, sans-serif; direction: ltr; }
.zt-level-details h3 { margin-bottom: 8px; font-size: 17px; }
.zt-level-details p { font-size: 12.5px; line-height: 1.9; }
.zt-level-focus { margin-top: 8px !important; padding-top: 8px; border-top: 1px dashed #e0e4eb; }
.zt-skill-wheel { display: grid; gap: 12px; padding: 30px; background: #f8f9ff; border-radius: 16px; }
.zt-skill-wheel > div { display: flex; align-items: center; gap: 14px; padding: 15px 18px; background: #fff; border-radius: 11px; box-shadow: 0 5px 18px rgba(1, 26, 62, .05); }
.zt-skill-wheel i { display: grid; place-items: center; width: 40px; height: 40px; color: #feb000; background: #fff6dc; border-radius: 50%; }
.zt-skill-wheel span { font-weight: 800; }
.zt-skill-details { display: grid; gap: 15px; }
.zt-skill-details > section { display: flex; gap: 20px; padding: 27px; background: #fff; border: 1px solid #e5e9f1; border-radius: 13px; }
.zt-skill-icon { display: grid; place-items: center; flex: 0 0 58px; height: 58px; color: #feb000; background: #fff6dc; border-radius: 14px; font-size: 25px; }
.zt-skill-details h3 { margin-bottom: 8px; }
.zt-skill-details strong { display: block; margin-top: 10px; color: #011a3e; font-size: 13px; }

@media (max-width: 991px) {
    .zt-resource-intro .zt-summary-card, .zt-resource-intro .zt-level-pyramid, .zt-resource-intro .zt-skill-wheel { margin-top: 30px; }
    .zt-cefr-grid { grid-template-columns: repeat(3, 1fr); }
    .zt-level-details { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .zt-resource-page h2 { font-size: 23px; }
    .zt-resource-page p { font-size: 13px; }
    .zt-resource-intro, .zt-resource-section { padding: 44px 0; }
    .zt-summary-card { padding: 24px; }
    .zt-info-card { height: auto; margin-bottom: 11px; padding: 20px 18px; }
    .zt-numbered-horizontal, .zt-related-links { grid-template-columns: 1fr; }
    .zt-cefr-grid { grid-template-columns: repeat(2, 1fr); }
    .zt-comparison { grid-template-columns: 1fr; }
    .zt-level-details > section, .zt-skill-details > section { padding: 18px; }
    .zt-level-code, .zt-skill-icon { flex-basis: 48px; height: 48px; font-size: 18px; }
    .zt-related { padding-top: 35px; }
}
