/* Moroto University: News & Events combined module */
.mu-news{--mn-green:#005b35;--mn-deep:#064b32;--mn-gold:#f4c91c;font-family:Poppins,sans-serif;color:var(--mn-deep);width:100%;min-width:0;container-type:inline-size}
.mu-news *{box-sizing:border-box}.mu-news a{text-decoration:none}.mu-news__columns{display:grid;grid-template-columns:minmax(0,7fr) minmax(280px,3fr);gap:30px;align-items:start}.mu-news__main,.mu-news__events{min-width:0}
.mu-news__header,.mu-news__events-header{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:22px}.mu-news__intro{min-width:0}.mu-news__eyebrow{display:block;color:#007a42;font-size:10px;font-weight:750;letter-spacing:1.5px;text-transform:uppercase;margin-bottom:9px}.mu-news__heading,.mu-news__events-title{font-family:inherit;color:var(--mn-deep);font-weight:750;line-height:1.25;margin:0 0 7px}.mu-news__heading{font-size:clamp(21px,2vw,36px)}.mu-news__events-title{font-size:clamp(19px,1.7vw,36px)}.mu-news__subtitle,.mu-news__events-subtitle{font-size:13px;color:#72847b;line-height:1.5;margin:0;font-weight:300;}
.mu-news__all,.mu-news__calendar{display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;border:1px solid #e5bc20;border-radius:9px;padding:11px 13px;font-size:11px;font-weight:700;color:var(--mn-deep);background:white;transition:background .25s,transform .25s,box-shadow .25s}.mu-news__all:hover,.mu-news__calendar:hover{background:#ffdb37;color:var(--mn-deep);transform:translateY(-2px);box-shadow:0 7px 18px #004c2c16}
.mu-news__layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:16px;align-items:start}.mu-news__featured,.mu-news__compact{min-width:0;background:#fff;border:1px solid #e2ebe5;border-radius:13px;overflow:hidden;transition:transform .3s,box-shadow .3s,border-color .3s}.mu-news__featured:hover,.mu-news__compact:hover{transform:translateY(-3px);box-shadow:0 12px 26px #003c2414;border-color:#bfd7c8}
.mu-news__featured-media{position:relative;display:block;width:100%;height:220px;overflow:hidden;background:#e5eee8}.mu-news__compact-media{position:relative;display:block;width:100%;height:135px;min-height:0;overflow:hidden;background:#e5eee8;align-self:start}.mu-news__featured-media img,.mu-news__compact-media img,.mu-news__image{position:absolute!important;inset:0;display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:center center!important;aspect-ratio:auto!important;transition:transform .5s}.mu-news__featured:hover img,.mu-news__compact:hover img{transform:scale(1.045)}.mu-news__image-placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:30px;color:#92ac9b}
.mu-news__featured-body{padding:17px;display:flex;flex-direction:column;align-items:flex-start;gap:12px}.mu-news__meta{display:flex;align-items:center;flex-wrap:wrap;gap:7px;font-size:10px;color:#7c8d84;line-height:1.5}.mu-news__tag{background:#e5f2e9;color:#006b3e;padding:5px 8px;border-radius:4px;font-size:9px;font-weight:700;text-transform:uppercase}.mu-news__featured-title,.mu-news__compact-title{font-family:inherit;color:var(--mn-deep);margin:0;font-weight:700;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden}.mu-news__featured-title{font-size:clamp(16px,1.5vw,20px);line-height:1.45}.mu-news__featured-title a,.mu-news__compact-title a{color:inherit}.mu-news__featured-title a:hover,.mu-news__compact-title a:hover{color:#008348}.mu-news__excerpt{font-size:12px;line-height:1.8;color:#71827b;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.mu-news__read,.mu-news__compact-link{display:inline-flex;gap:7px;align-items:center;color:#007643;font-size:11px;font-weight:700;margin-top:auto}.mu-news__read:hover,.mu-news__compact-link:hover{color:#003e27}
.mu-news__side{display:flex;flex-direction:column;gap:12px;min-width:0}.mu-news__compact{display:grid;grid-template-columns:36% minmax(0,1fr);height:135px;min-height:0}.mu-news__compact-body{padding:11px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:6px;min-width:0;overflow:hidden}.mu-news__compact .mu-news__meta{flex-direction:column;align-items:flex-start;gap:4px}.mu-news__category{font-size:9px;color:#007643;font-weight:750;text-transform:uppercase;line-height:1.3}.mu-news__compact-title{font-size:12px;line-height:1.5}.mu-news__compact-link{font-size:10px}.mu-news__empty{font-size:13px;color:#71827b}
/* Events have a timeline style distinct from the university noticeboard */
.mu-news__events{border-left:1px solid #e4ebe6;padding-left:25px}.mu-news__events-header{align-items:flex-start;flex-wrap:wrap;gap:12px}.mu-news__calendar{padding:9px 11px;font-size:10px}.mu-news__event-list{display:flex;flex-direction:column;gap:0}.mu-news__event{display:grid;grid-template-columns:58px minmax(0,1fr);gap:13px;padding:15px 0;border-bottom:1px solid #e5ece7;transition:transform .25s}.mu-news__event:first-child{padding-top:4px}.mu-news__event:last-child{border-bottom:0}.mu-news__event:hover{transform:translateX(3px)}.mu-news__event-date{align-self:start;background:#e9f4ed;border:1px solid #d2e7d9;border-radius:10px;min-height:64px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:7px 3px;transition:background .25s,color .25s}.mu-news__event:hover .mu-news__event-date{background:var(--mn-green);color:white}.mu-news__event-day{font-size:24px;font-weight:800;line-height:1.1}.mu-news__event-month{font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.3px}.mu-news__event-content{min-width:0}.mu-news__event-top{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-bottom:5px}.mu-news__event-category{font-size:9px;font-weight:750;text-transform:uppercase;color:#a27b00;letter-spacing:.2px}.mu-news__ongoing{font-size:9px;font-weight:700;border-radius:4px;background:#e5f2e9;color:#006b3e;padding:2px 5px}.mu-news__event-name{font-family:inherit;font-size:13px;font-weight:700;line-height:1.45;margin:0 0 7px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.mu-news__event-name a{color:var(--mn-deep)}.mu-news__event-name a:hover{color:#007d47}.mu-news__event-details{display:flex;flex-wrap:wrap;gap:5px 12px;color:#77877f;font-size:10px;line-height:1.5}.mu-news__event-venue{overflow-wrap:anywhere}
@container (max-width:1050px){.mu-news__columns{grid-template-columns:minmax(0,1fr) minmax(250px,.48fr);gap:20px}.mu-news__events{padding-left:18px}.mu-news__layout{grid-template-columns:minmax(0,1fr)}.mu-news__featured-media{height:240px}.mu-news__compact{height:120px}.mu-news__compact-media{height:120px}}
@container (max-width:740px){.mu-news__columns{grid-template-columns:minmax(0,1fr)}.mu-news__events{border-left:0;border-top:1px solid #e4ebe6;padding:24px 0 0}.mu-news__layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.mu-news__featured-media{height:200px}}
@container (max-width:560px){.mu-news__layout{grid-template-columns:minmax(0,1fr)}.mu-news__header{align-items:flex-start;flex-wrap:wrap}.mu-news__featured-media{height:225px}.mu-news__compact{height:120px}.mu-news__compact-media{height:120px}}
@media(prefers-reduced-motion:reduce){.mu-news *, .mu-news *::before,.mu-news *::after{transition:none!important}}
