/* One visual system for all five exams, with a dedicated foundation card. */
#exams .exam-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch}
#exams .exam-card{grid-column:auto;grid-row:auto;min-width:0;min-height:340px;padding:26px;border:1px solid #dbe4f1;border-radius:20px;background:#fff;box-shadow:0 4px 16px #152c5005;position:relative;overflow:hidden;display:flex;flex-direction:column;gap:0}
#exams .exam-card:hover{border-color:#8cacdf;box-shadow:0 16px 38px #10274c14;transform:translateY(-4px)}
#exams .exam-card:focus-visible{outline-offset:4px}
#exams .card-top{min-height:28px;gap:12px}
#exams .tag{font-size:11px;font-weight:500;line-height:1.7;border:0;background:#eef3fb;color:#405677;border-radius:6px;padding:5px 10px}
.exam-external{width:18px;height:18px;display:block;color:#7b8ba3;flex-shrink:0}
.exam-external svg{display:block;width:100%;height:100%}
.exam-identity{display:flex;align-items:center;gap:15px;margin-block:23px 19px}
#exams .exam-icon{width:68px;height:68px;flex-shrink:0;margin:0;padding:10px;border-radius:17px;background:linear-gradient(145deg,#eff5ff,#e4edfd);border:1px solid #dce8fc;color:#1c5bce;box-shadow:inset 0 1px 0 #fff}
#exams .exam-icon svg{width:100%;height:100%;stroke-width:1.8}
.icon-fill{fill:#1c5bce0d;stroke:none}
.exam-model{font-size:12px;color:#556982;font-weight:500}
#exams .exam-copy h3{font-size:21px;font-weight:600;line-height:1.65;margin:0 0 8px;letter-spacing:-.3px}
#exams .exam-copy p{font-size:14px;line-height:1.95;color:#536179;margin:0 0 23px}
#exams .card-bottom{min-height:53px;border-top:1px solid #e5ebf4;padding-top:16px;margin-top:auto;color:#153b76;font-size:13px;font-weight:600;gap:16px}
#exams .exam-cta-arrow{width:34px;height:34px;display:grid;place-items:center;flex-shrink:0;background:#edf3fe;border-radius:9px;transition:background .2s,color .2s}
.exam-cta-arrow svg{width:19px;height:19px;transition:transform .2s}
#exams .exam-card:hover .exam-cta-arrow{background:#1c5bce;color:white}
#exams .exam-card:hover .exam-cta-arrow svg{transform:translateX(-2px)}
#exams .exam-featured{grid-row:span 2;background:radial-gradient(ellipse at 80% 10%,#254d80,transparent 65%),linear-gradient(160deg,#162e50,#0c192e);border-color:#284971;padding:28px;box-shadow:0 12px 28px #10274c18;color:white}
#exams .exam-featured .tag{background:#ffca3914;border:1px solid #ffca3930;color:#ffd164}
#exams .exam-featured .exam-external{color:#9eb4d3}
.sign-scene{position:relative;display:grid;place-items:center;margin:35px -4px 29px;min-height:230px;isolation:isolate}
.traffic-art{width:100%;max-width:290px;height:auto;position:relative;z-index:1;filter:drop-shadow(0 12px 15px #0002)}
.sign-orbit{position:absolute;width:220px;height:220px;border:1px solid #7196c230;border-radius:50%;background:radial-gradient(circle,#6390c51a,transparent 68%);box-shadow:0 0 0 25px #7196c208,0 0 0 50px #7196c205}
.exam-overline{font-size:12px;color:#ffcf65;display:block;margin-bottom:13px;font-weight:500}
#exams .exam-featured .exam-copy h3{font-size:clamp(28px,2.5vw,37px);line-height:1.55;color:#fff;margin-bottom:14px}
#exams .exam-featured .exam-copy p{color:#c7d6eb;font-size:14px;line-height:2.1;margin-bottom:18px}
.featured-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:30px}
.featured-chips span{font-size:10px;color:#cbd9eb;border:1px solid #adc6e328;border-radius:5px;padding:3px 8px;background:#ffffff04}
#exams .exam-featured .card-bottom{color:#ffcf65;border-color:#ffffff24}
#exams .exam-featured .exam-cta-arrow{background:#ffbf18;color:#101d35}
#exams .exam-featured:hover .exam-cta-arrow{background:#ffdc7f;color:#101d35}
#exams .exam-card[hidden]{display:none}
#exams .exam-grid.is-filtered .exam-featured{grid-row:auto}
#exams .exam-grid.is-filtered .sign-scene{margin-block:20px;min-height:150px}
#exams .exam-grid.is-filtered .traffic-art{max-width:200px}
#exams .exam-grid.is-filtered .sign-orbit{width:150px;height:150px}
#exams .exam-grid.is-filtered .featured-chips{display:none}
#exams .exam-grid.is-filtered .exam-featured .exam-copy h3{font-size:28px}
@media(min-width:801px) and (max-width:1100px){
 #exams .exam-card{padding:22px}
 #exams .exam-copy h3{font-size:19px}
 #exams .exam-featured{padding:24px}
 .sign-scene{min-height:200px}
 .sign-orbit{width:170px;height:170px}
}
@media(min-width:601px) and (max-width:800px){
 #exams .exam-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
 #exams .exam-featured{grid-column:1/-1;grid-row:auto;display:grid;grid-template-columns:1fr 1fr;gap:0 25px}
 #exams .exam-featured .card-top,#exams .exam-featured .card-bottom{grid-column:1/-1}
 #exams .exam-featured .sign-scene{grid-column:2;grid-row:2/4;margin:15px 0;min-height:210px}
 #exams .exam-featured .exam-copy{grid-column:1;grid-row:2;margin-top:24px}
 #exams .exam-featured .featured-chips{grid-column:1;grid-row:3;margin-bottom:20px}
 #exams .exam-featured .exam-copy h3{font-size:30px}
 #exams .exam-card{padding:24px}
 #exams .exam-copy h3{font-size:20px}
}
@media(max-width:600px){
 #exams .exam-grid{grid-template-columns:minmax(0,1fr);gap:17px}
 #exams .exam-card{grid-column:auto;grid-row:auto;min-height:0;padding:24px;border-radius:18px;flex-direction:column;align-items:stretch}
 #exams .exam-featured{grid-row:auto;padding:25px}
 .sign-scene{min-height:180px;margin:15px 0 23px}
 .traffic-art{max-width:240px}
 .sign-orbit{width:175px;height:175px}
 #exams .exam-featured .exam-copy h3{font-size:32px}
 #exams .exam-copy h3{font-size:21px}
 #exams .exam-copy p{font-size:14px}
 .exam-identity{margin-block:20px 17px}
 #exams .exam-icon{width:64px;height:64px}
 .featured-chips{margin-bottom:25px}
 #exams .card-bottom{min-height:57px;font-size:14px}
 #exams .exam-cta-arrow{width:38px;height:38px}
}
@media(prefers-reduced-motion:reduce){.exam-cta-arrow svg{transition:none}}
.practice-home-wrap{margin-bottom:32px}.practice-home{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:22px 26px;background:#edf4ff;border:1px solid #bdd0ee;border-radius:14px;color:#154ea6;font-weight:600;text-decoration:none;font-size:16px;min-height:60px}.practice-home:hover{border-color:#175cdb}@media(max-width:600px){.practice-home{font-size:13px;padding:18px}}
