.exam-directory { background:#f4f7fb; padding:70px 0; }
.exam-directory-heading { display:flex; align-items:flex-end; justify-content:space-between; margin-bottom:24px; }
.exam-eyebrow { margin:0 0 6px; color:#f4621a; font-weight:700; text-transform:uppercase; letter-spacing:.05em; }
.exam-directory-heading h2 { margin:0; color:#233055; font-size:32px; }
.exam-count { color:#667085; font-weight:600; }
.exam-filter { display:flex; flex-wrap:wrap; align-items:center; gap:12px; background:#fff; border:1px solid #dfe5ef; border-radius:10px; padding:14px; margin-bottom:24px; }
.exam-filter label { margin:0; color:#233055; font-weight:700; }
.exam-filter select { width:auto; min-width:220px; height:42px; border:1px solid #cfd6e4; border-radius:6px; padding:0 12px; }
.exam-filter button { height:42px; border:0; border-radius:6px; background:#233055; color:#fff; font-weight:700; padding:0 20px; }
.exam-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.exam-card { display:flex; flex-direction:column; min-height:310px; background:#233055; color:#fff; border-radius:12px; padding:24px; box-shadow:0 10px 24px rgba(35,48,85,.12); }
.exam-card-top { display:flex; align-items:flex-start; gap:14px; }
.exam-logo { flex:0 0 62px; width:62px; height:62px; display:flex; align-items:center; justify-content:center; border-radius:9px; background:#fff; color:#233055; font-size:18px; font-weight:800; text-transform:uppercase; }
/* Inter on the exam pages: narrower than Exo 2, so justified paragraphs get even word spacing */
.exam-directory,.exam-detail,.exam-directory h2,.exam-directory h3,.exam-detail h2,.exam-detail h3,.exam-filter select,.exam-filter button { font-family:'Inter', sans-serif; }
.exam-card-top > div { min-width:0; }
.exam-card h3 { margin:0 0 4px; color:#f4621a; font-size:20px; font-weight:700; line-height:1.25; overflow-wrap:anywhere; }
.exam-card-top p { margin:0; color:#d3daea; font-size:14px; line-height:1.4; }
/* Justified, with hyphenation so lines fill with words instead of stretched spaces */
.exam-description { margin:22px 0 18px; color:#e2e7f1; font-size:15px; line-height:1.65; text-align:justify; text-justify:inter-word; -webkit-hyphens:auto; hyphens:auto; hyphenate-limit-chars:6 3 2; text-wrap:pretty; }
.exam-meta { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:18px; }
.exam-meta span { border:1px solid rgba(255,255,255,.16); border-radius:20px; padding:5px 9px; color:#dfe4ef; font-size:12px; text-transform:capitalize; }
.exam-view { margin-top:auto; align-self:flex-start; color:#fff; font-weight:700; text-decoration:none; }
.exam-view span { display:inline-block; margin-left:8px; transition:.2s; }
.exam-view:hover span { transform:translateX(4px); }
.exam-detail { background:#f4f7fb; padding:70px 0; }
.exam-detail-grid { display:grid; grid-template-columns:minmax(0,2fr) minmax(260px,1fr); gap:28px; }
.exam-detail-main { background:#fff; border:1px solid #e1e6ef; border-radius:12px; padding:32px; }
.exam-detail-head { display:flex; align-items:center; gap:18px; margin-bottom:28px; }
.exam-logo.large { flex-basis:82px; width:82px; height:82px; background:#233055; color:#fff; font-size:22px; }
.exam-level { color:#f4621a; font-weight:700; }
.exam-detail-head > div { min-width:0; }
.exam-detail-head h2 { margin:5px 0 0; color:#233055; overflow-wrap:anywhere; }
.exam-detail-main h3 { color:#233055; margin-top:26px; }
.exam-detail-main p { color:#4d5972; font-size:16px; line-height:1.75; text-align:justify; text-justify:inter-word; -webkit-hyphens:auto; hyphens:auto; hyphenate-limit-chars:6 3 2; text-wrap:pretty; }
.exam-facts { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; margin:22px 0; }
.exam-facts div { background:#f7f9fc; border-radius:8px; padding:16px; }
.exam-facts span { display:block; color:#7b8497; margin-bottom:5px; }
.exam-facts strong { color:#233055; display:block; overflow-wrap:anywhere; }
.exam-date-box { border-left:4px solid #f4621a; background:#fff7f2; padding:18px 20px; }
.exam-date-box > span { display:block; color:#f4621a; font-weight:700; }
.exam-date-box strong { display:block; color:#233055; margin:6px 0; }
.exam-date-box p { margin:0; font-size:13px; }
.exam-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:24px; }
.exam-actions a { border-radius:6px; padding:11px 16px; font-weight:700; }
.exam-apply { background:#f4621a; color:#fff; }
.exam-official { border:1px solid #233055; color:#233055; }
.exam-course { background:#233055; color:#fff; }
.exam-detail-aside { background:#233055; border-radius:12px; padding:22px; height:max-content; }
.exam-detail-aside h3 { color:#fff; margin-bottom:12px; }
.exam-detail-aside a { display:block; border-bottom:1px solid rgba(255,255,255,.12); color:#fff; padding:12px 0; }
.exam-detail-aside strong,.exam-detail-aside span { display:block; overflow-wrap:anywhere; }
.exam-detail-aside span { color:#bcc5d8; margin-top:3px; font-size:13px; }
@media(max-width:991px) { .exam-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .exam-detail-grid { grid-template-columns:1fr; } }
@media(max-width:575px) { .exam-directory,.exam-detail { padding:40px 0; } .exam-directory-heading { align-items:flex-start; gap:12px; } .exam-grid { grid-template-columns:1fr; } .exam-filter { align-items:stretch; flex-direction:column; } .exam-filter select { width:100%; } .exam-facts { grid-template-columns:1fr; } .exam-detail-main { padding:20px; } }
