/* Equal-height cards with a reserved text area; the full text opens separately. */
:is(#view-trending,#studentViewTrending) .sc3178-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:0 0 18px}
:is(#view-trending,#studentViewTrending) .sc3178-head h2{font-size:clamp(21px,3vw,29px);margin:0 0 5px;color:#304958}
:is(#view-trending,#studentViewTrending) .sc3178-head p,:is(#sc3178Status,#sc3178StudentStatus){font-size:13px;color:#596f7b;margin:0 0 12px}
:is(#sc3178Grid,#sc3178StudentGrid){display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,285px),1fr));gap:16px;align-items:stretch}
:is(#sc3178Grid,#sc3178StudentGrid) .v3160-featured-card{width:100%;min-width:0;box-shadow:0 3px 12px #243d4910;border-radius:16px;display:flex;flex-direction:column}
:is(#sc3178Grid,#sc3178StudentGrid) .v3160-featured-hero{height:auto;aspect-ratio:16/9;flex:none}
:is(#sc3178Grid,#sc3178StudentGrid) .v3160-featured-copy{padding:18px;flex:1}
.sc3178-uniform .v3160-featured-copy{display:flex;flex-direction:column;min-width:0}
.sc3178-uniform .v3160-featured-copy h3{font-size:21px!important;line-height:1.35!important;height:2.7em!important;min-height:2.7em!important;margin:8px 0!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sc3178-uniform .v3160-featured-copy > p{font-size:13px;line-height:1.65!important;height:4.95em!important;min-height:4.95em!important;max-height:4.95em!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:0!important}
.sc3178-uniform .sc3178-more{align-self:flex-start;color:#456b80;background:transparent;border:0;text-decoration:underline;text-underline-offset:3px;font-size:12px;font-weight:700;padding:6px 0;min-height:32px;cursor:pointer}
.sc3178-uniform .v3160-featured-foot{margin-top:auto;min-height:44px;gap:8px}
.sc3178-uniform .v3160-featured-go{white-space:nowrap;min-width:0;max-width:100%;display:block;overflow:hidden;text-overflow:ellipsis;min-height:44px}
.sc3178-uniform .v3160-featured-go span{margin-left:5px}
.sc3178-uniform .v3160-featured-mini{display:none}
#sc3178ReadDialog{position:fixed;inset:0;margin:auto;width:min(540px,calc(100% - 28px));max-height:85dvh;overflow:auto;border:1px solid #d5e0e6;border-radius:18px;padding:22px;background:white;color:#304958;box-shadow:0 20px 70px #203b5350}
#sc3178ReadDialog::backdrop{background:#142b39a0}
#sc3178ReadDialog h2{font-size:22px;margin:10px 0;overflow-wrap:anywhere}
#sc3178ReadDialog p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.7}
#sc3178ReadDialog form{display:flex;justify-content:flex-end}
@media(min-width:1000px){:is(#sc3178Grid,#sc3178StudentGrid){grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:560px){:is(#sc3178Grid,#sc3178StudentGrid){grid-template-columns:1fr}.sc3178-uniform .v3160-featured-copy h3{font-size:19px!important}}

@media(max-width:1150px) and (min-width:1001px){#sc3178StudentGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
