/* Loaded only by the Test Series page; exam preparation keeps its existing cards. */
body .filter-option{column-gap:8px!important}
body .filter-option input[type="checkbox"]{margin:0!important;flex-shrink:0}
body .test-card .card-title,body .popular-card .card-title,body .single-exam-info h4{font-size:15px!important;line-height:1.4!important;font-weight:600!important}
body .test-card .card-meta span{font-size:13px!important;font-weight:400!important;color:#536783!important}
body .test-card .card-head{margin:0!important;padding:0!important;min-height:64px!important}
body .test-card .title-wrap{padding:0!important;margin:0!important}
body .test-card .tag{font-size:12px!important;font-weight:500!important}
.test-card,.single-exam-card,.category-browse-card{border:1px solid #dae4f1!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important;padding:20px!important;transition:border-color .15s,box-shadow .15s!important}
.test-card:hover,.single-exam-card:hover,.category-browse-card:hover{border-color:#aec5e8!important;box-shadow:0 4px 16px #142b5209!important;transform:none!important}
.test-card{display:flex!important;flex-direction:column!important;position:relative;min-height:0!important;padding:16px!important}
.card-head,.single-exam-card-top{display:flex!important;gap:12px!important;align-items:flex-start!important;min-height:76px!important}
.card-logo-wrap,.single-exam-logo,.category-browse-icon-wrap{width:40px!important;height:40px!important;flex:0 0 40px!important;margin:0!important}
.card-logo,.single-exam-logo img{width:100%!important;height:100%!important;object-fit:contain!important}
.card-title,.single-exam-info h4{font-size:16px!important;line-height:1.45!important;font-weight:700!important;color:#142b52!important;display:block!important;overflow:visible!important;max-height:none!important;-webkit-line-clamp:unset!important;margin:0!important}
body .test-card .tags .new-badge{position:static!important;inset:auto!important;align-self:center!important;margin:0!important;font-size:10px!important;background:#e7f7ed!important;color:#138344!important;padding:4px 7px!important;border-radius:5px!important;box-shadow:none!important}
.test-card .tags{margin:8px 0!important;gap:6px!important;flex-wrap:wrap!important}
.test-card .tag,.single-exam-stage-badge{font-size:12px!important;background:#edf3fd!important;color:#28508b!important;padding:4px 7px!important;border-radius:5px!important}
.test-card .card-meta{display:flex!important;flex-direction:column!important;gap:6px!important;margin:4px 0 12px!important;font-size:14px!important;color:#536783!important}
.test-card .card-meta span{font-size:14px!important;line-height:1.4!important;padding:0!important;display:flex!important;align-items:center!important;gap:9px!important}
.test-card .card-meta span::before{display:none!important}
.test-card .card-meta span i{display:inline-block!important;color:#165cf5!important;width:16px!important;font-size:13px!important}
.card-plan-footer{margin-top:auto;border-top:1px solid #edf1f7;padding-top:10px;display:flex;flex-direction:column;gap:8px}
.card-plan-price{font-size:13px;color:#536783}.card-plan-price strong{font-size:15px;font-weight:600;color:#142b52}.card-plan-price small{font-size:13px}.card-access-active{font-size:14px;font-weight:600;color:#138344}
.test-card .view-btn,.single-exam-btn{width:100%!important;min-height:38px!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#165cf5!important;border:1px solid #165cf5!important;color:#fff!important;font-size:14px!important;font-weight:600!important;border-radius:7px!important;margin:0!important;padding:8px 12px!important;line-height:20px!important}
.test-card .view-btn:hover,.single-exam-btn:hover{background:#104ccc!important}
.test-card .coming-soon-btn{background:#edf1f7!important;color:#64748b!important;border-color:#dae4f1!important}
.test-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
.single-exams-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
.single-exam-card{display:flex!important;flex-direction:column!important;min-height:0!important;padding:16px!important}
.single-exam-metrics{font-size:14px!important;line-height:1.6!important;display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin:10px 0!important}
.single-exam-footer{margin-top:auto!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;padding-top:10px!important}
.single-exam-price-val{font-size:15px!important;font-weight:600!important}.single-exam-duration{font-size:13px!important;font-weight:400!important}
.category-browse-card{min-height:160px!important;gap:14px!important}.category-browse-info h3{font-size:16px!important;line-height:1.4!important}.category-browse-counts{font-size:13px!important}.category-browse-footer{padding-top:12px!important;gap:8px!important;flex-wrap:wrap!important}.category-browse-btn{font-size:13px!important;border-radius:6px!important}.category-browse-badge{font-size:11px!important}
.test-card a:focus-visible,.single-exam-btn:focus-visible,.category-browse-card:focus-visible{outline:3px solid #84aaf4;outline-offset:3px}
body .test-grid .test-card{min-height:0!important}
body .popular-grid,body .category-browse-grid{gap:12px!important}
body .category-browse-card{min-height:0!important;padding:16px!important;gap:10px!important}
body .single-exam-card-top{min-height:64px!important}
@media(max-width:1100px){.test-grid,.single-exams-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:640px){.test-grid,.single-exams-grid{grid-template-columns:1fr!important}.test-card{min-height:0!important}.card-head{min-height:0!important}.category-browse-card{padding:16px!important}}
@media(prefers-reduced-motion:reduce){.test-card,.single-exam-card,.category-browse-card{transition:none!important}}
/* Compact spacing overrides the older catalogue and carousel rules. */
body .test-grid,body .popular-grid,body .single-exams-grid,body .category-browse-grid{column-gap:16px!important;row-gap:16px!important}
body .test-card,body .popular-card,body .test-grid .test-card,body .single-exam-card,body .category-browse-card{padding:14px!important;min-height:0!important}
body .test-card .card-head,body .popular-card .card-head,body .single-exam-card-top{min-height:0!important;align-items:flex-start!important;margin:0!important;padding:0!important;gap:10px!important}
body .test-card .tags{margin:10px 0 8px!important}
body .test-card .card-meta{margin:2px 0 12px!important;gap:6px!important}
body .card-plan-footer{padding-top:8px;gap:8px}
body .card-plan-footer.purchased-footer{border-top:0;padding-top:0}
body .test-card .card-title,body .popular-card .card-title,body .single-exam-info h4{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important;max-height:2.8em!important;min-height:2.8em!important;overflow-wrap:anywhere!important}
.category-browse-loading{display:flex;align-items:center;min-height:170px;padding:16px;color:#64748b;font-size:13px;background:#fff;border:1px solid #dae4f1;border-radius:12px}
/* Category catalogue: aligned card content with restrained typography. */
body .single-exams-grid{row-gap:20px!important;width:100%;max-width:1120px;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box}
body .single-exam-card{padding:16px!important;border-radius:10px!important}
body .single-exam-info{min-width:0;flex:1}
body .single-exam-info h4{margin:0!important;font-size:15px!important;line-height:1.4!important;font-weight:600!important}
body .single-exam-stage-badge{display:inline-block;margin-top:6px!important;font-size:11px!important;font-weight:500!important;padding:3px 7px!important;line-height:1.3}
body .single-exam-metrics{margin:14px 0 12px!important;font-size:13px!important;line-height:1.4!important;gap:6px 12px!important;color:#536783!important}
body .single-exam-metrics span{display:inline-flex;align-items:center;gap:5px}
body .single-exam-metrics i{font-size:12px;color:#617a9d}
body .single-exam-footer{padding-top:10px!important;gap:10px!important;border-top:1px solid #edf1f7!important}
body .single-exam-price-wrap{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px}
body .single-exam-price-label{font-size:12px!important;color:#536783!important}
body .single-exam-price-val{font-size:15px!important;line-height:1.5;font-weight:600!important}
body .single-exam-duration{font-size:12px!important;font-weight:400!important}
body .single-exam-btn{height:38px!important;font-size:13px!important;border-radius:6px!important;gap:7px!important}
body .single-exam-btn i{font-size:11px!important}

/* Match the reviewed compact detail text size without changing row layout. */
body .test-card .card-meta span{font-size:12px!important;}

body .test-grid,body .popular-grid,body .single-exams-grid{row-gap:26px!important;}
/* Give the two-line series title priority over the logo. */
body .test-card .card-title,body .popular-card .card-title,body .single-exam-info h4{font-size:15px!important;font-weight:600!important;line-height:1.4!important;color:#0f172a!important;-webkit-line-clamp:2!important;max-height:2.8em!important;min-height:2.8em!important}
body .test-card .card-logo-wrap,body .popular-card .card-logo-wrap,body .single-exam-logo,body .test-card .logo-container{width:38px!important;height:38px!important;flex:0 0 38px!important}
body .test-card .card-head img,body .popular-card .card-head img,body .single-exam-logo img{width:34px!important;height:34px!important;max-width:34px!important;max-height:34px!important;object-fit:contain!important}
