/** ExamVillage Daily Challenge + Smart Mistake Revision, layered on ev-global.css. */
.evdc,
.evdc-notice {
    --evdc-ink: var(--navy, #0b1d3a);
    --evdc-muted: var(--text-mid, #374b6c);
    --evdc-line: var(--border, #e2eaf4);
    box-sizing: border-box;
    color: var(--evdc-ink);
    font-family: var(--font-body, 'DM Sans', sans-serif);
}
.evdc *, .evdc *::before, .evdc *::after { box-sizing: border-box; }
.evdc { max-width: 1000px; width: 100%; margin: clamp(18px,3vw,40px) auto 60px; }
.evdc-hero {
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; align-items: center; justify-content: space-between; gap: 22px;
    padding: clamp(22px,4vw,42px); border-radius: 22px;
    color: #fff; background: linear-gradient(123deg, var(--navy,#0b1d3a) 0%, #153b61 57%, var(--teal-deep,#007a87) 100%);
    box-shadow: var(--sh-md, 0 8px 28px rgba(11,29,58,.13));
}
.evdc-hero::after { content: ''; position: absolute; z-index: -1; width: 340px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; right: -110px; top: -145px; box-shadow: 0 0 0 45px rgba(255,255,255,.025), 0 0 0 100px rgba(255,255,255,.025); }
.evdc-hero__content { min-width: 0; max-width: 690px; }
.evdc-eyebrow { display: inline-flex; padding: 5px 10px; border: 1px solid rgba(255,255,255,.3); border-radius: 50px; background: rgba(255,255,255,.09); color: #baf5f4; font-size: 11px; font-weight: 800; letter-spacing: .09em; }
.evdc-hero h2 { margin: 12px 0 10px; color: #fff; font: 800 clamp(24px,3.1vw,36px)/1.22 var(--font-display,'Open Sans',sans-serif); letter-spacing: -.025em; }
.evdc-hero p { margin: 0; max-width: 580px; color: #e3f0f6; line-height: 1.65; font-size: clamp(13px,1.45vw,15px); }
.evdc-hero__meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 21px; }
.evdc-hero__meta span { padding: 7px 11px; border-radius: 50px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.18); color: #fff; font-size: 12px; font-weight: 750; }
.evdc-hero__mark { flex: none; display: grid; place-items: center; width: clamp(80px,10vw,114px); aspect-ratio: 1; border-radius: 26px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.12); color: #fff; font: 900 53px/1 var(--font-display,'Open Sans',sans-serif); transform: rotate(-7deg); }
.evdc-toolbar { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; column-gap: 18px; row-gap: 11px; margin: 20px 0 24px; padding: 17px 20px; background: #fff; border: 1px solid var(--evdc-line); border-radius: 15px; box-shadow: var(--sh-xs,0 1px 4px rgba(11,29,58,.06)); }
.evdc-toolbar > div:first-child { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 12px; }
.evdc-toolbar strong { font-size: 14px; color: var(--evdc-ink); }
.evdc-progress__text { font-size: 12px; color: var(--evdc-muted); font-weight: 600; }
.evdc .evdc-timer { justify-self: end; display: inline-flex; align-items: center; gap: 7px; color: #0b5962; border: 1px solid #bce8e7; border-radius: 50px; background: #e9f9f7; padding: 7px 12px; white-space: nowrap; font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; }
.evdc-progress { grid-column: 1/-1; width: 100%; height: 8px; border-radius: 50px; background: #e8edf6; overflow: hidden; }
.evdc-progress__fill { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--teal-deep,#007a87),var(--green,#06d6a0)); transition: width .22s ease; }
.evdc .evdc-question { display: block; width: 100%; min-width: 0; margin: 0 0 18px; padding: clamp(15px,2.7vw,27px); border: 1px solid var(--evdc-line); border-radius: 17px; background: #fff; box-shadow: var(--sh-xs,0 1px 4px rgba(11,29,58,.06)); }
.evdc .evdc-question legend { float: none; width: auto; max-width: 100%; padding: 0 5px 0 0; margin: 0 0 15px; color: var(--evdc-ink); font: 750 clamp(15px,1.8vw,18px)/1.65 var(--font-body,'DM Sans',sans-serif); overflow-wrap: anywhere; }
.evdc .evdc-question label { display: flex; align-items: flex-start; gap: 12px; width: 100%; margin: 9px 0; padding: 13px 15px; min-height: 48px; border: 1px solid #dce5f0; border-radius: 11px; background: #fff; color: #213653; font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; cursor: pointer; transition: border-color .16s, background-color .16s, box-shadow .16s; }
.evdc .evdc-question label:hover { border-color: #69b9c0; background: #f6fcfc; }
.evdc .evdc-question label:has(input:checked) { border-color: var(--teal-deep,#007a87); background: #eaf8f8; box-shadow: inset 3px 0 0 var(--teal-deep,#007a87); }
.evdc .evdc-question label:focus-within { outline: 3px solid #f5a623; outline-offset: 2px; }
.evdc .evdc-question input[type="radio"] { flex: none; margin: 4px 0 0; width: 17px; height: 17px; accent-color: var(--teal-deep,#007a87); }
.evdc .evdc-question label b { color: var(--navy,#0b1d3a); font-size: 13px; }
.evdc .evdc-question :lang(ur), .evdc .evdc-question [dir="rtl"] { font-family: 'Noto Naskh Arabic',serif; line-height: 1.9; }
.evdc .evdc-feedback:not(:empty) { padding: 11px 14px; margin-top: 14px; border-radius: 9px; background: #f2faf5; border: 1px solid #cbe8d5; line-height: 1.6; }
.evdc-actions { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding: 22px; margin-top: 6px; border-radius: 16px; background: #f2f7fb; border: 1px solid var(--evdc-line); }
.evdc-actions p { margin: 0; max-width: 460px; color: var(--evdc-muted); font-size: 13px; line-height: 1.55; }
.evdc .evdc-submit, .evdc .evdc-share { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border: 0; border-radius: 10px; padding: 12px 22px!important; background: var(--teal-deep,#007a87)!important; color: #fff!important; font-size: 14px; font-weight: 800; line-height: 1.2; text-align: center; text-decoration: none!important; cursor: pointer; transition: filter .16s, transform .16s; }
.evdc .evdc-submit:hover, .evdc .evdc-share:hover { filter: brightness(.9); transform: translateY(-1px); }
.evdc .evdc-submit:disabled { opacity: .55; cursor: wait; transform: none; }
.evdc .evdc-submit:focus-visible, .evdc .evdc-share:focus-visible { outline: 3px solid var(--amber,#f5a623); outline-offset: 3px; }
.evdc .evdc-result:not(:empty) { margin: 18px 0; padding: 18px 20px; border: 1px solid #b9e5d8; border-radius: 12px; background: #e9fbf4; color: #075f4b; font-size: 17px; font-weight: 800; line-height: 1.5; }
.evdc .evdc-after { margin-top: 20px; padding: clamp(18px,3vw,28px); background: #fff; border: 1px solid var(--evdc-line); border-radius: 16px; box-shadow: var(--sh-xs,0 1px 4px rgba(11,29,58,.06)); }
.evdc .evdc-after[hidden] { display: none!important; }
.evdc .evdc-after h3 { font: 800 20px/1.3 var(--font-display,'Open Sans',sans-serif); color: var(--evdc-ink); margin: 22px 0 10px; }
.evdc .evdc-streak { font-weight: 800; color: var(--teal-deep,#007a87); }
.evdc .evdc-leaderboard { padding-left: 25px; margin: 0; }
.evdc .evdc-leaderboard li { padding: 11px 5px; border-bottom: 1px solid var(--evdc-line); font-size: 14px; color: var(--evdc-ink); }
.evdc .evdc-ranking-note { margin: 12px 0 0; color: var(--evdc-muted); font-size: 12px; }
.evdc-notice { max-width: 900px; margin: 24px auto; padding: 26px; background: #f2f9fd; border: 1px solid #bfdfed; border-left: 5px solid var(--teal-deep,#007a87); border-radius: 13px; color: var(--evdc-ink); line-height: 1.65; box-shadow: var(--sh-xs,0 1px 4px rgba(11,29,58,.06)); }
.evdc-notice strong { display: block; font-size: 17px; margin-bottom: 4px; }
.evdc-notice p { margin: 7px 0 0; }
.evdc-notice a { color: var(--teal-deep,#007a87); font-weight: 800; }
@media (max-width: 720px) {
    .evdc { margin: 15px auto 38px; }
    .evdc-hero { border-radius: 16px; padding: 24px 20px; }
    .evdc-hero__mark { width: 72px; border-radius: 18px; font-size: 34px; }
    .evdc-toolbar { margin: 14px 0 17px; padding: 14px; }
    .evdc .evdc-question { margin-bottom: 14px; padding: 16px; border-radius: 13px; }
    .evdc-actions { padding: 17px; }
}
@media (max-width: 520px) {
    .evdc-hero { padding: 22px 17px; }
    .evdc-hero__mark { display: none; }
    .evdc-hero h2 { font-size: 25px; }
    .evdc-hero__meta { margin-top: 16px; }
    .evdc-hero__meta span { font-size: 11px; padding: 6px 9px; }
    .evdc-toolbar { grid-template-columns: minmax(0,1fr); }
    .evdc .evdc-timer { justify-self: start; }
    .evdc-progress { grid-column: 1; }
    .evdc .evdc-question legend { font-size: 15px; }
    .evdc .evdc-question label { padding: 12px; gap: 9px; font-size: 13px; min-height: 48px; }
    .evdc-actions { display: block; }
    .evdc-actions p { margin-bottom: 14px; }
    .evdc .evdc-submit, .evdc .evdc-share { width: 100%; }
    .evdc-notice { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .evdc *, .evdc *::before, .evdc *::after { animation: none!important; transition: none!important; }
}

/* The WordPress shortcode was entered with code formatting on some pages.
   Neutralize its presentational effects until the editor uses a Shortcode block. */
.evdc :is(code, pre) { font-family: var(--font-body, 'DM Sans', sans-serif)!important; font-size: inherit; letter-spacing: normal; white-space: normal; background: transparent; padding: 0; border: 0; }
.evdc > code { display: contents; }
.evdc :is(p, span, label, legend, strong, small, li, button, input, time, .evdc-toolbar, .evdc-hero__content) { font-family: var(--font-body, 'DM Sans', sans-serif); }
.evdc-hero__meta span, .evdc .evdc-timer { font-variant-numeric: tabular-nums; }

/* Keep the global breadcrumb style but align its content with this page's cards. */
body.evdc-page .ev-breadcrumb.ev-breadcrumb--global,
body.evdc-page .ev-breadcrumb.ev-breadcrumb--global > .ev-container {
    box-sizing: border-box;
    width: min(100% - 36px, 1000px);
    max-width: 1000px;
    margin-inline: auto;
}
body.evdc-page .ev-breadcrumb.ev-breadcrumb--global {
    margin-top: 15px;
    margin-bottom: 8px;
    border-radius: 9px;
}
body.evdc-page .ev-breadcrumb.ev-breadcrumb--global :is(ol, ul, .ev-breadcrumb__list) {
    min-width: 0; flex-wrap: wrap; margin: 0;
}
body.evdc-page .inside-article { padding-top: 0; }
body.evdc-page .entry-header { display: none; }
body.evdc-page .entry-content { margin-top: 0; }
body.evdc-page .evdc,
body.evdc-page .evdc-notice { width: min(100% - 36px, 1000px); max-width: 1000px; }
body.evdc-page .evdc { margin-top: 18px; }

/* More coherent hierarchy: readable question text and compact answers. */
.evdc .evdc-question legend { font-family: var(--font-body, 'DM Sans', sans-serif); font-size: clamp(16px,1.6vw,18px); font-weight: 750; line-height: 1.55; }
.evdc .evdc-question label { font-family: var(--font-body, 'DM Sans', sans-serif); font-size: 14.5px; line-height: 1.5; }
.evdc .evdc-toolbar, .evdc .evdc-actions { font-family: var(--font-body, 'DM Sans', sans-serif); }
@media (max-width: 600px) {
    body.evdc-page .ev-breadcrumb.ev-breadcrumb--global,
    body.evdc-page .ev-breadcrumb.ev-breadcrumb--global > .ev-container,
    body.evdc-page .evdc,
    body.evdc-page .evdc-notice { width: calc(100% - 28px); }
    body.evdc-page .ev-breadcrumb.ev-breadcrumb--global { margin-top: 10px; margin-bottom: 6px; }
    body.evdc-page .evdc { margin-top: 12px; }
    .evdc-hero { padding: 21px 18px; }
    .evdc-hero h2 { font-size: clamp(23px,6vw,28px); line-height: 1.25; }
    .evdc-hero p { font-size: 13.5px; line-height: 1.55; }
    .evdc .evdc-question { padding: 15px 13px; }
    .evdc .evdc-question legend { font-size: 16px; }
    .evdc .evdc-question label { font-size: 14px; }
}

.evdc-form[hidden], .evdc-begin[hidden] { display: none !important; }
.evdc-begin { margin: 16px 0; }
.evdc :is(button, a, input):focus-visible {
    outline: 3px solid #3158bc;
    outline-offset: 3px;
}
