/* I&M Rwanda Academy /home/category/... — scoped category layout. */
.im-category-page{--im-navy:#062b59;--im-blue:#0750a8;--im-teal:#009fac;--im-ink:#102d52;--im-border:#deebf4;background:#f7fafd;color:var(--im-ink);min-height:65vh;font-family:inherit}
.im-category-page *{box-sizing:border-box}
.im-category-wrap{width:min(1220px,calc(100% - 48px));margin:0 auto}
.im-category-hero{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(108deg,#062553 0%,#073c79 62%,#057e97 100%);color:#fff}
.im-category-hero:after{content:"";position:absolute;right:-7%;top:-130px;width:min(44vw,580px);height:470px;border-radius:32%;transform:rotate(36deg);background:linear-gradient(45deg,#16c3bf44,#6ddce911);z-index:-1}
.im-category-hero-inner{padding:31px 0 53px}
.im-category-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:11px;margin-bottom:35px;color:#c3deed;font-size:13px}
.im-category-breadcrumb a{color:#e6f5ff!important;text-decoration:none}
.im-category-breadcrumb a:hover{text-decoration:underline}
.im-category-kicker{font-weight:700;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#66e2e1}
.im-category-hero h1{color:#fff!important;font-weight:800;font-size:clamp(31px,4.3vw,55px);line-height:1.13;margin:14px 0 14px;max-width:850px}
.im-category-hero p{font-size:16px;line-height:1.7;max-width:790px;color:#e1f0fb;margin:0}
.im-category-hero-metrics{display:flex;gap:16px;flex-wrap:wrap;margin-top:29px}
.im-category-hero-metrics span{display:flex;align-items:center;gap:10px;background:#ffffff16;border:1px solid #ffffff30;border-radius:12px;padding:11px 16px;color:#fff;font-size:14px}
.im-category-hero-metrics i{color:#72e9ed}
.im-category-hero-metrics strong{font-size:19px;color:#fff}
.im-category-content{padding:32px 0 70px}
.im-category-section{margin-bottom:40px}
.im-category-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;flex-wrap:wrap;margin:0 0 20px}
.im-category-eyebrow{display:block;text-transform:uppercase;letter-spacing:.11em;color:#078f9e;font-size:11px;font-weight:800;margin-bottom:5px}
.im-category-section-heading h2{font-size:26px;line-height:1.2;color:#0a2b5a!important;font-weight:800;margin:0 0 7px}
.im-category-section-heading p{font-size:14px;color:#60738b;margin:0}
.im-category-all-link{display:inline-flex;align-items:center;gap:9px;color:#0750a8!important;font-weight:700;font-size:13px;text-decoration:none}
.im-category-all-link:hover{text-decoration:underline}
.im-category-subgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.im-category-subcard{min-width:0;display:flex;gap:13px;align-items:center;padding:17px;background:#fff;border:1px solid var(--im-border);border-radius:12px;box-shadow:0 6px 20px #10336108;text-decoration:none!important;transition:transform .2s,box-shadow .2s}
.im-category-subcard:hover{transform:translateY(-3px);box-shadow:0 12px 24px #10336116}
.im-category-subicon{width:48px;height:48px;display:grid;place-items:center;flex:none;background:#e7f7fa;color:#008b9c;border-radius:12px;font-size:19px}
.im-category-subinfo{min-width:0;flex:1}.im-category-subinfo strong{display:block;font-size:14px;font-weight:750;color:#0a315f;line-height:1.35}.im-category-subinfo small{display:block;color:#657a90;font-size:12px;margin-top:4px}
.im-category-subarrow{color:#0b5ab2;font-size:13px}
.im-category-page .rw-course-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:19px!important;align-items:stretch;margin:0!important}
.im-category-page .rw-course-card{min-width:0;display:flex;flex-direction:column;overflow:hidden;background:#fff!important;border:1px solid var(--im-border)!important;border-radius:15px!important;box-shadow:0 4px 17px #102b540b!important;margin:0!important;height:100%}
.im-category-page .rw-course-thumb{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;background:#dcebf3}
.im-category-page .rw-course-thumb img{width:100%!important;height:100%!important;object-fit:cover!important;display:block;transition:transform .25s}
.im-category-page .rw-course-card:hover .rw-course-thumb img{transform:scale(1.035)}
.im-category-page .rw-course-badge{position:absolute;top:12px;left:12px;background:#e9f7f9;color:#087c89;padding:5px 10px;border-radius:20px;font-size:11px;font-weight:800}
.im-category-page .rw-course-card-body{display:flex;flex-direction:column;flex:1;gap:11px;padding:19px 18px 16px!important}
.im-category-page .rw-course-category{font-size:11px;display:inline-flex;color:#068ca1;font-weight:700;text-transform:uppercase;letter-spacing:.06em}
.im-category-page .rw-course-title{display:block;font-size:18px;line-height:1.32;font-weight:800;color:#0a2c5d!important;text-decoration:none;min-height:0!important}
.im-category-page .rw-course-summary{font-size:13px;line-height:1.58;color:#5c6e83;margin:0;min-height:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.im-category-page .rw-course-meta{display:flex;flex-wrap:wrap;gap:8px 15px;margin:0;color:#62768a;font-size:12px}
.im-category-page .rw-course-meta span{display:inline-flex;align-items:center;gap:5px}.im-category-page .rw-course-meta i{color:#0964ba}
.im-category-page .rw-course-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:13px;margin-top:auto;border-top:1px solid var(--im-border)}
.im-category-page .rw-course-status{font-size:12px;color:#738399}
.im-category-page .rw-course-link{color:#064fa8!important;font-weight:750;display:inline-flex;align-items:center;gap:8px;text-decoration:none!important;white-space:nowrap;font-size:13px}
.im-category-page .rw-course-progress{margin:3px 0}.im-category-page .rw-course-progress-head{display:flex;justify-content:space-between;color:#536981;font-size:12px}
.im-category-page .rw-progress-bar{height:7px;border-radius:10px;overflow:hidden;background:#e5edf7;margin-top:5px}.im-category-page .rw-progress-bar>span{display:block;background:#00a6ac;height:100%;border-radius:10px}
.im-category-empty{padding:48px 20px;background:#fff;border:1px solid var(--im-border);border-radius:15px;text-align:center}.im-category-empty>i{font-size:30px;color:#078e9a}.im-category-empty h3{margin:10px 0;color:#11315e}.im-category-empty p{color:#697b90}.im-category-empty a{display:inline-flex;padding:10px 16px;background:#0754a8;border-radius:8px;color:#fff!important;text-decoration:none}
@media(max-width:950px){.im-category-subgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.im-category-page .rw-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){.im-category-wrap{width:calc(100% - 30px)}.im-category-hero-inner{padding:24px 0 38px}.im-category-breadcrumb{gap:7px;margin-bottom:22px;font-size:11px}.im-category-hero h1{font-size:32px}.im-category-hero p{font-size:14px}.im-category-content{padding-top:26px}.im-category-subgrid,.im-category-page .rw-course-grid{grid-template-columns:1fr!important}.im-category-section-heading h2{font-size:23px}.im-category-page .rw-course-title{font-size:17px}}
