:root {
    --exam-green: #159a63;
    --exam-green-dark: #0d7549;
    --exam-forest: #123d32;
    --exam-charcoal: #17211d;
    --exam-ink: #252e29;
    --exam-muted: #6c756f;
    --exam-line: #dce4df;
    --exam-soft: #f3f5f2;
    --exam-amber: #f2a516;
}

.exam-list-page,
.exam-detail-page { overflow: hidden; color: var(--exam-ink); background: #fff; }
.exam-list-page .container,
.exam-detail-page .container { max-width: 1320px; }

/* Listing hero */
.exams-hero {
    position: relative;
    padding: 180px 0 92px;
    isolation: isolate;
    background: radial-gradient(circle at 8% 25%,rgba(21,154,99,.1),transparent 27%),radial-gradient(circle at 92% 20%,rgba(242,165,22,.09),transparent 23%),#f5f7f3;
}
.exam-dot-pattern { position: absolute; inset: 120px 0 0; z-index: -1; opacity: .22; background-image: radial-gradient(#668077 1px,transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(90deg,transparent,#000 12%,transparent 48%,transparent 68%,#000 92%,transparent); }
.exam-breadcrumb { display: flex; align-items: center; gap: 9px; margin-bottom: 34px; color: #7a837e; font-size: 12px; }
.exam-breadcrumb a { color: #52605a; }
.exam-breadcrumb a:hover { color: var(--exam-green-dark); }
.exam-breadcrumb > i { font-size: 8px; color: #9da49f; }
.exam-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #0d7d4e; font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.exam-eyebrow i { color: var(--exam-amber); }
.exams-hero h1 { max-width: 760px; margin: 18px 0 20px; color: var(--exam-charcoal); font-size: clamp(48px,5vw,70px); line-height: 1.04; font-weight: 850; letter-spacing: -.052em; }
.exams-hero h1 span { color: var(--exam-green); }
.exams-hero .col-lg-7 > p { max-width: 680px; margin: 0; color: #59645e; font-size: 17px; line-height: 1.75; }
.exam-hero-search { display: flex; align-items: center; max-width: 680px; margin-top: 28px; padding: 7px 7px 7px 20px; border: 1px solid #d5ded8; border-radius: 14px; background: #fff; box-shadow: 0 12px 30px rgba(25,54,40,.08); }
.exam-hero-search > i { flex: 0 0 auto; color: #7f8983; }
.exam-hero-search input { min-width: 0; flex: 1; height: 45px; padding: 0 14px; border: 0; outline: 0; color: #25312b; background: transparent; }
.exam-hero-search button { height: 46px; padding: 0 19px; border: 0; border-radius: 10px; color: #fff; background: var(--exam-green); font-size: 13px; font-weight: 750; white-space: nowrap; }
.exam-hero-search button i { margin-left: 8px; }
.exam-hero-search button:hover { background: var(--exam-green-dark); }
.exam-hero-points { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 22px; color: #5b6660; font-size: 12px; font-weight: 650; }
.exam-hero-points i { margin-right: 5px; color: var(--exam-green); }

.exam-discovery-card { position: relative; min-height: 430px; overflow: hidden; border-radius: 28px; color: #fff; background: #172c24; box-shadow: 0 30px 62px rgba(17,50,37,.25); }
.exam-discovery-card::after { position: absolute; content: "EXAMS"; right: 19px; bottom: 12px; color: rgba(255,255,255,.045); font: 900 72px/1 Montserrat,sans-serif; }
.discovery-card-head { position: relative; z-index: 4; display: flex; align-items: center; justify-content: space-between; padding: 23px 25px; color: rgba(255,255,255,.88); font-size: 12px; font-weight: 700; }
.discovery-card-head > span:first-child { display: flex; align-items: center; gap: 8px; }
.discovery-card-head > span:first-child i { color: #f2af25; }
.discovery-live { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; background: rgba(255,255,255,.07); }
.discovery-live i { width: 7px; height: 7px; border-radius: 50%; background: #64dfa0; box-shadow: 0 0 0 5px rgba(100,223,160,.11); }
.discovery-orbit { position: absolute; width: 310px; height: 310px; left: 50%; top: 43%; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; transform: translate(-50%,-50%); box-shadow: 0 0 0 44px rgba(255,255,255,.025),0 0 0 89px rgba(255,255,255,.02); }
.discovery-center { position: absolute; z-index: 2; left: 50%; top: 43%; width: 105px; height: 105px; display: grid; place-items: center; border-radius: 50%; color: #15392c; background: #72dda7; font-size: 40px; transform: translate(-50%,-50%); box-shadow: 0 15px 35px rgba(0,0,0,.19); }
.discovery-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 7px; padding: 10px 13px; border: 1px solid rgba(255,255,255,.15); border-radius: 10px; color: #fff; background: rgba(255,255,255,.09); font-size: 11px; font-weight: 700; backdrop-filter: blur(8px); }
.discovery-chip i { color: #79e2ac; }
.chip-one { left: 23px; top: 118px; }
.chip-two { right: 24px; top: 172px; }
.chip-three { left: 42px; top: 259px; }
.discovery-summary { position: absolute; z-index: 3; right: 24px; bottom: 25px; width: 190px; padding: 13px 15px; border-left: 3px solid #f2ab1b; border-radius: 6px 11px 11px 6px; background: rgba(9,29,21,.72); }
.discovery-summary strong,.discovery-summary span { display: block; }
.discovery-summary strong { font: 800 24px Montserrat,sans-serif; }
.discovery-summary span { margin-top: 3px; color: rgba(255,255,255,.6); font-size: 10px; line-height: 1.45; }

/* Category cards */
.exam-category-section { padding: 84px 0; background: #fff; }
.exam-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 28px; }
.exam-section-heading span,.exam-section-label { color: #0d7d4e; font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.exam-section-heading h2 { margin: 6px 0 0; color: var(--exam-charcoal); font-size: 32px; letter-spacing: -.035em; }
.exam-section-heading > a { color: #0b7a4c; font-size: 13px; font-weight: 750; }
.exam-section-heading > a i { margin-left: 7px; transition: .2s; }
.exam-section-heading > a:hover i { transform: translateX(4px); }
.exam-category-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.exam-category-card { display: flex; align-items: center; gap: 13px; min-width: 0; padding: 17px; border: 1px solid var(--exam-line); border-radius: 14px; color: var(--exam-ink); background: #fff; box-shadow: 0 6px 18px rgba(24,49,37,.04); transition: .22s ease; }
.exam-category-card:hover,.exam-category-card.active { border-color: #6eb492; background: #f0f8f4; transform: translateY(-3px); box-shadow: 0 13px 28px rgba(18,90,55,.09); }
.category-card-icon { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; border-radius: 11px; color: #0d7c4e; background: #e5f4ec; }
.category-card-copy { min-width: 0; flex: 1; }
.category-card-copy strong,.category-card-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.category-card-copy strong { color: #24312b; font-size: 14px; }
.category-card-copy small { margin-top: 3px; color: #7a837e; font-size: 10px; }
.category-card-arrow { color: #8c9690; font-size: 11px; }

/* Results */
.exam-results-section { padding: 90px 0 100px; background: #f1f3f1; }
.exam-results-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.exam-results-head h2 { margin: 7px 0 5px; color: var(--exam-charcoal); font-size: 36px; letter-spacing: -.04em; }
.exam-results-head p { margin: 0; color: #758079; font-size: 13px; }
.exam-results-head p strong { color: #34423b; }
.results-search { width: 310px; display: flex; align-items: center; padding-left: 15px; border: 1px solid #d5ddd8; border-radius: 12px; background: #fff; }
.results-search > i { color: #89928d; }
.results-search input { min-width: 0; flex: 1; height: 47px; padding: 0 10px; border: 0; outline: 0; background: transparent; }
.results-search button { width: 39px; height: 39px; margin-right: 4px; border: 0; border-radius: 9px; color: #fff; background: var(--exam-green); }
.exam-filter-tabs { display: flex; gap: 8px; margin: 27px 0 30px; overflow-x: auto; scrollbar-width: none; }
.exam-filter-tabs::-webkit-scrollbar { display: none; }
.exam-filter-tabs a { flex: 0 0 auto; padding: 9px 13px; border: 1px solid #d8dfdb; border-radius: 999px; color: #56615b; background: #fff; font-size: 12px; font-weight: 700; }
.exam-filter-tabs a small { display: inline-grid; place-items: center; min-width: 19px; height: 19px; margin-left: 5px; border-radius: 50%; background: #eef2ef; font-size: 9px; }
.exam-filter-tabs a:hover,.exam-filter-tabs a.active { border-color: var(--exam-green); color: #fff; background: var(--exam-green); }
.exam-filter-tabs a.active small { color: #0f6f47; background: #fff; }
.modern-exam-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.modern-exam-card { display: flex; flex-direction: column; min-width: 0; min-height: 420px; padding: 24px; border: 1px solid #d9e1dc; border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(25,49,38,.05); transition: .25s ease; }
.modern-exam-card:hover { transform: translateY(-6px); border-color: #6eb492; box-shadow: 0 20px 42px rgba(25,73,49,.12); }
.modern-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.modern-exam-icon { width: 50px; height: 50px; flex: 0 0 50px; display: grid; place-items: center; border-radius: 13px; color: #08784a; background: #e4f4ec; font-size: 19px; }
.modern-card-badges { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 5px; }
.category-badge,.featured-badge { padding: 5px 8px; border-radius: 999px; font-size: 9px; font-weight: 800; }
.category-badge { color: #087749; background: #e9f5ef; }
.featured-badge { color: #825400; background: #fff0ce; }
.modern-card-body { flex: 1; padding: 24px 0 18px; }
.exam-short-name { color: #0d8150; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.modern-card-body h3 { min-height: 52px; margin: 8px 0 12px; color: #1f2924; font-size: 20px; line-height: 1.35; }
.modern-card-body p { display: flex; align-items: flex-start; gap: 7px; margin: 0; color: #77817b; font-size: 11px; line-height: 1.5; }
.modern-card-body p i { margin-top: 3px; color: #0e8c57; }
.modern-exam-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 13px 0; border-top: 1px solid #e7ece9; border-bottom: 1px solid #e7ece9; }
.modern-exam-dates div + div { padding-left: 11px; border-left: 1px solid #e2e8e4; }
.modern-exam-dates span,.modern-exam-dates strong { display: block; }
.modern-exam-dates span { color: #89918c; font-size: 9px; text-transform: uppercase; }
.modern-exam-dates strong { margin-top: 4px; color: #35423c; font-size: 11px; }
.modern-card-footer { display: flex; align-items: center; gap: 9px; padding-top: 17px; }
.modern-card-footer > a:first-child { flex: 1; display: flex; align-items: center; justify-content: space-between; padding: 11px 13px; border-radius: 9px; color: #fff; background: var(--exam-green); font-size: 12px; font-weight: 750; }
.modern-card-footer > a:first-child:hover { background: var(--exam-green-dark); }
.papers-shortcut { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid #d8e0db; border-radius: 9px; color: #d53d49; background: #fff; }
.papers-shortcut:hover { border-color: #d53d49; color: #fff; background: #d53d49; }
.exam-empty-state,.no-papers-state,.paper-filter-empty { padding: 60px 24px; border: 1px dashed #aabbb1; border-radius: 16px; text-align: center; background: #fff; }
.exam-empty-state > span,.no-papers-state > span { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 17px; border-radius: 50%; color: #0d8150; background: #e4f4ec; font-size: 23px; }
.exam-empty-state h3,.no-papers-state h3,.paper-filter-empty h3 { color: var(--exam-charcoal); }
.exam-empty-state p,.no-papers-state p,.paper-filter-empty p { color: var(--exam-muted); }
.exam-empty-state .btn,.no-papers-state a { padding: 11px 18px; border-radius: 9px; color: #fff; background: var(--exam-green); }
.exam-page-cta { padding: 72px 0; background: #fff; }
.exam-page-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; overflow: hidden; padding: 45px 50px; border-radius: 20px; color: #fff; background: radial-gradient(circle at 82% 15%,rgba(242,165,22,.22),transparent 25%),var(--exam-forest); box-shadow: 0 24px 48px rgba(18,61,50,.2); }
.exam-page-cta-inner span { color: #f3b52f; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.exam-page-cta-inner h2 { margin: 8px 0; color: #fff; font-size: 30px; }
.exam-page-cta-inner p { margin: 0; color: rgba(255,255,255,.65); }
.exam-page-cta-inner .btn { flex: 0 0 auto; padding: 14px 19px; border-radius: 10px; color: #17372c; background: #fff; font-weight: 750; }
.exam-page-cta-inner .btn i { margin-left: 8px; }

/* Detail hero */
.exam-detail-hero { position: relative; padding: 170px 0 80px; overflow: hidden; isolation: isolate; color: #fff; background: #14251e; }
.detail-hero-pattern { position: absolute; inset: 0; z-index: -1; opacity: .23; background-image: radial-gradient(rgba(255,255,255,.35) 1px,transparent 1px); background-size: 27px 27px; mask-image: linear-gradient(90deg,transparent,#000 15%,transparent 58%,#000); }
.exam-detail-hero::before { position: absolute; z-index: -1; content: ""; width: 500px; height: 500px; right: -190px; top: -170px; border-radius: 50%; background: rgba(21,154,99,.2); }
.detail-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-bottom: 36px; color: rgba(255,255,255,.53); font-size: 11px; }
.detail-breadcrumb a { color: rgba(255,255,255,.72); }
.detail-breadcrumb a:hover { color: #77dfa9; }
.detail-breadcrumb > i { font-size: 8px; }
.detail-title-row { display: flex; align-items: center; gap: 19px; }
.detail-exam-icon { width: 78px; height: 78px; flex: 0 0 78px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.13); border-radius: 18px; color: #15392c; background: #74dfa9; font-size: 30px; }
.detail-category { color: #f1b32d; font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.detail-title-row h1 { margin: 7px 0 0; color: #fff; font-size: clamp(38px,4vw,58px); line-height: 1.08; letter-spacing: -.045em; }
.detail-hero-description { max-width: 810px; margin: 24px 0 17px; color: rgba(255,255,255,.68); font-size: 16px; line-height: 1.7; }
.detail-authority { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.62); font-size: 12px; }
.detail-authority i { color: #73dfa8; }
.detail-authority strong { color: #fff; }
.detail-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.detail-hero-actions .btn,.detail-save-button { min-height: 48px; display: inline-flex; align-items: center; gap: 9px; padding: 0 17px; border-radius: 10px; font-size: 12px; font-weight: 750; }
.detail-primary { border: 0; color: #fff; background: var(--exam-green); }
.detail-primary:hover { color: #fff; background: #0f7b4d; }
.detail-secondary { border: 1px solid rgba(255,255,255,.2); color: #fff; background: rgba(255,255,255,.07); }
.detail-secondary:hover { color: #fff; background: rgba(255,255,255,.13); }
.detail-save-button { border: 1px solid rgba(255,255,255,.2); color: #fff; background: transparent; }
.detail-save-button i { color: #f2aa1d; }
.detail-scoreboard { overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 19px; background: rgba(255,255,255,.065); box-shadow: 0 24px 52px rgba(0,0,0,.17); backdrop-filter: blur(10px); }
.scoreboard-heading { display: flex; align-items: center; justify-content: space-between; padding: 17px 19px; border-bottom: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.78); font-size: 11px; font-weight: 750; }
.scoreboard-heading i { color: #73dda7; }
.scoreboard-grid { display: grid; grid-template-columns: 1fr 1fr; }
.scoreboard-grid div { padding: 22px 19px; border-right: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }
.scoreboard-grid div:nth-child(2n) { border-right: 0; }
.scoreboard-grid strong,.scoreboard-grid span { display: block; }
.scoreboard-grid strong { color: #fff; font: 800 27px Montserrat,sans-serif; }
.scoreboard-grid span { margin-top: 4px; color: rgba(255,255,255,.5); font-size: 10px; }
.scoreboard-note { display: flex; align-items: center; gap: 9px; padding: 15px 19px; color: rgba(255,255,255,.55); font-size: 10px; }
.scoreboard-note i { color: #f0b02a; font-size: 17px; }

.personal-eligibility-strip { padding: 28px 0 0; background: #fff; }
.personal-result { display: flex; align-items: flex-start; gap: 16px; padding: 21px 24px; border: 1px solid #b8dbc9; border-radius: 14px; background: #eff9f4; }
.personal-result.partial { border-color: #e6d19e; background: #fff8e9; }
.personal-result.not-eligible { border-color: #e0c2c4; background: #fff3f3; }
.personal-result-icon { font-size: 30px; color: #138856; }
.personal-result.partial .personal-result-icon { color: #c17c00; }
.personal-result.not-eligible .personal-result-icon { color: #c6434b; }
.personal-result > div { flex: 1; }
.personal-result > div > span { color: #728079; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.personal-result h2 { margin: 3px 0 6px; color: #1e3028; font-size: 20px; }
.personal-result ul { margin: 0; padding-left: 18px; color: #5f6d66; font-size: 11px; }
.personal-result > a { flex: 0 0 auto; align-self: center; color: #0c7b4c; font-size: 12px; font-weight: 750; }

/* Detail overview */
.exam-overview-section { padding: 80px 0; background: #fff; }
.exam-overview-card { height: 100%; padding: 31px; border: 1px solid var(--exam-line); border-radius: 17px; background: #fff; box-shadow: 0 9px 27px rgba(25,49,38,.05); }
.exam-overview-card > h2 { margin: 7px 0 15px; color: var(--exam-charcoal); font-size: 29px; letter-spacing: -.035em; }
.exam-overview-card > p { color: #66716b; line-height: 1.75; }
.detail-content-block { display: flex; gap: 15px; margin-top: 24px; padding: 20px; border-radius: 13px; background: #f2f5f2; }
.content-block-icon { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 10px; color: #0e7e4e; background: #dff2e8; }
.detail-content-block > div { min-width: 0; }
.detail-content-block h3 { margin: 0 0 8px; color: #27342e; font-size: 16px; }
.rich-copy,.instruction-copy { margin: 0; color: #68736d; font-size: 12px; line-height: 1.75; }
.rich-copy ul,.rich-copy ol { margin-bottom: 0; padding-left: 18px; }
.warning-block { background: #fff7e7; }
.warning-block .content-block-icon { color: #9a6500; background: #ffebba; }
.instruction-copy { white-space: pre-line; }
.exam-facts-card { position: sticky; top: 110px; overflow: hidden; border: 1px solid var(--exam-line); border-radius: 17px; background: #fff; box-shadow: 0 13px 31px rgba(25,49,38,.075); }
.facts-card-title { display: flex; align-items: center; gap: 12px; padding: 22px; color: #fff; background: var(--exam-forest); }
.facts-card-title > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; color: #15392c; background: #74dda7; }
.facts-card-title small,.facts-card-title h2 { display: block; }
.facts-card-title small { color: rgba(255,255,255,.58); font-size: 9px; text-transform: uppercase; }
.facts-card-title h2 { margin: 3px 0 0; color: #fff; font-size: 18px; }
.exam-facts-card dl { margin: 0; padding: 8px 22px; }
.exam-facts-card dl > div { display: flex; justify-content: space-between; gap: 15px; padding: 13px 0; border-bottom: 1px solid #e8ece9; }
.exam-facts-card dl > div:last-child { border-bottom: 0; }
.exam-facts-card dt { color: #7a847e; font-size: 10px; font-weight: 600; }
.exam-facts-card dd { margin: 0; color: #324139; font-size: 11px; font-weight: 750; text-align: right; }
.exam-facts-card .deadline-fact dd { color: #bd3e46; }
.facts-eligibility-cta { display: flex; align-items: center; justify-content: space-between; margin: 3px 15px 15px; padding: 12px 14px; border-radius: 9px; color: #fff; background: var(--exam-green); font-size: 12px; font-weight: 750; }
.facts-eligibility-cta:hover { color: #fff; background: var(--exam-green-dark); }

/* Detail papers */
.exam-papers-section { padding: 85px 0 100px; background: #f1f3f1; }
.papers-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 28px; }
.papers-section-heading h2 { margin: 7px 0 7px; color: var(--exam-charcoal); font-size: 34px; letter-spacing: -.04em; }
.papers-section-heading p { margin: 0; color: #6e7973; }
.papers-total { flex: 0 0 auto; padding: 10px 14px; border: 1px solid #d7dfda; border-radius: 10px; color: #66716b; background: #fff; font-size: 11px; }
.papers-total strong { margin-right: 4px; color: #08794a; font-size: 17px; }
.paper-filter-panel { position: relative; margin-bottom: 28px; padding: 20px 20px 18px; border: 1px solid #d7dfda; border-radius: 14px; background: #fff; box-shadow: 0 7px 21px rgba(25,49,38,.045); }
.paper-filter-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)) 1.35fr; gap: 12px; }
.paper-filter-grid label > span:first-child { display: block; margin-bottom: 6px; color: #6f7a74; font-size: 9px; font-weight: 750; text-transform: uppercase; }
.paper-filter-grid select,.paper-search-control { width: 100%; height: 42px; border: 1px solid #d9e1dc; border-radius: 9px; color: #36423c; background: #fafbf9; font-size: 11px; }
.paper-filter-grid select { padding: 0 10px; outline: 0; }
.paper-search-control { display: flex; align-items: center; padding: 0 11px; }
.paper-search-control i { color: #89928d; }
.paper-search-control input { min-width: 0; width: 100%; height: 40px; padding-left: 8px; border: 0; outline: 0; background: transparent; }
.paper-reset { margin-top: 13px; padding: 0; border: 0; color: #6d7772; background: transparent; font-size: 10px; font-weight: 700; }
.paper-reset i { margin-right: 5px; color: #0e8653; }
.detail-papers-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.detail-paper-card { display: flex; flex-direction: column; min-width: 0; padding: 21px; border: 1px solid #d8e0db; border-radius: 15px; background: #fff; box-shadow: 0 7px 22px rgba(25,49,38,.05); transition: .22s ease; }
.detail-paper-card[hidden] { display: none; }
.detail-paper-card:hover { transform: translateY(-5px); border-color: #70b492; box-shadow: 0 17px 37px rgba(24,70,49,.11); }
.detail-paper-top { display: flex; align-items: flex-start; justify-content: space-between; }
.detail-pdf-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 11px; color: #fff; background: #d8414b; box-shadow: 0 8px 17px rgba(195,52,62,.19); }
.detail-paper-badges { display: flex; gap: 5px; }
.detail-paper-badges > span { padding: 5px 8px; border-radius: 999px; color: #087749; background: #e5f4ec; font-size: 9px; font-weight: 800; }
.detail-paper-badges .free-paper-badge { color: #835500; background: #fff0ce; }
.detail-paper-copy { flex: 1; padding: 20px 0; }
.detail-paper-copy > span { color: #0d8150; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.detail-paper-copy h3 { min-height: 44px; margin: 7px 0 12px; color: #25312b; font-size: 17px; line-height: 1.35; }
.detail-paper-meta { display: flex; flex-wrap: wrap; gap: 7px 11px; color: #79827d; font-size: 9px; }
.detail-paper-meta i { margin-right: 4px; color: #0d8754; }
.detail-paper-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.detail-paper-actions a { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 10px; border: 1px solid #d6ded9; border-radius: 8px; color: #3f4c45; font-size: 11px; font-weight: 750; }
.detail-paper-actions a:hover { border-color: #69aa89; color: #08784a; }
.detail-paper-actions .download-action { border-color: var(--exam-green); color: #fff; background: var(--exam-green); }
.detail-paper-actions .download-action:hover { color: #fff; background: var(--exam-green-dark); }
.answer-key-row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 13px; padding-top: 12px; border-top: 1px solid #e7ece9; }
.answer-key-row > span { margin-right: auto; color: #7b847f; font-size: 9px; text-transform: uppercase; }
.answer-key-row a { padding: 5px 8px; border-radius: 6px; color: #775100; background: #fff0cf; font-size: 9px; font-weight: 750; }
.paper-filter-empty { margin-top: 18px; }
.paper-filter-empty > i { color: #9aa69f; font-size: 35px; }

@media (max-width: 1199px) {
    .modern-exam-grid,.detail-papers-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .paper-filter-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .paper-search-label { grid-column: span 2; }
}
@media (max-width: 991px) {
    .exams-hero { padding-top: 145px; }
    .exams-hero .col-lg-7 { text-align: center; }
    .exams-hero .col-lg-7 > p { margin-left: auto; margin-right: auto; }
    .exam-hero-search { margin-left: auto; margin-right: auto; }
    .exam-hero-points { justify-content: center; }
    .exam-discovery-card { max-width: 540px; margin: 15px auto 0; }
    .exam-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .exam-detail-hero { padding-top: 140px; }
    .detail-scoreboard { max-width: 550px; }
    .exam-facts-card { position: static; }
}
@media (max-width: 767px) {
    .exams-hero { padding: 125px 0 65px; }
    .exam-breadcrumb { margin-bottom: 25px; }
    .exams-hero h1 { font-size: clamp(40px,11vw,54px); }
    .exam-hero-search { padding: 7px 7px 7px 15px; }
    .exam-hero-search button { width: 45px; padding: 0; font-size: 0; }
    .exam-hero-search button i { margin: 0; font-size: 12px; }
    .exam-discovery-card { min-height: 390px; border-radius: 21px; }
    .discovery-center { width: 90px; height: 90px; }
    .exam-section-heading,.exam-results-head,.papers-section-heading { display: block; }
    .exam-section-heading > a { display: inline-block; margin-top: 13px; }
    .exam-category-grid { grid-template-columns: 1fr; }
    .results-search { width: 100%; margin-top: 18px; }
    .modern-exam-grid,.detail-papers-grid { grid-template-columns: 1fr; }
    .modern-exam-card { min-height: 390px; }
    .exam-page-cta-inner { display: block; padding: 35px 25px; text-align: center; }
    .exam-page-cta-inner .btn { margin-top: 22px; }
    .exam-detail-hero { padding: 125px 0 65px; }
    .detail-title-row { align-items: flex-start; }
    .detail-exam-icon { width: 60px; height: 60px; flex-basis: 60px; font-size: 24px; }
    .detail-title-row h1 { font-size: 37px; }
    .detail-hero-actions { display: grid; }
    .detail-hero-actions > * { justify-content: center; }
    .personal-result { display: block; }
    .personal-result-icon { display: block; margin-bottom: 9px; }
    .personal-result > a { display: inline-block; margin-top: 13px; }
    .exam-overview-section,.exam-papers-section { padding: 65px 0; }
    .exam-overview-card { padding: 23px; }
    .papers-total { display: inline-block; margin-top: 15px; }
    .paper-filter-grid { grid-template-columns: 1fr 1fr; }
    .paper-search-label { grid-column: 1/-1; }
}
@media (max-width: 480px) {
    .exam-hero-points { display: grid; gap: 8px; text-align: left; }
    .exam-discovery-card { min-height: 360px; }
    .discovery-card-head { padding: 18px; }
    .discovery-orbit { width: 260px; height: 260px; }
    .chip-one { left: 13px; top: 105px; }
    .chip-two { right: 13px; top: 161px; }
    .chip-three { left: 22px; top: 235px; }
    .discovery-summary { right: 16px; bottom: 17px; width: 175px; }
    .exam-category-section,.exam-results-section { padding: 65px 0; }
    .detail-title-row { display: block; }
    .detail-title-row > div { margin-top: 15px; }
    .scoreboard-grid div { padding: 18px 15px; }
    .paper-filter-grid { grid-template-columns: 1fr; }
    .paper-search-label { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
    .modern-exam-card,.detail-paper-card,.exam-category-card { transition: none; }
}
