/* SEG R311.1 Community, independent override — desktop + mobile */
body.r307-student-only .community-hero{min-height:145px;max-width:1250px}
body.r307-student-only .community-hero h1{font-size:clamp(29px,3.5vw,46px)}
body.r307-student-only .community-hero p{position:relative;z-index:1;max-width:780px;margin:9px 0 0;color:#41607e;font-size:clamp(14px,1.2vw,16px);line-height:1.55}
body.r307-student-only #student-tools{display:grid;grid-template-columns:160px 160px minmax(0,1fr) 175px;gap:10px;align-items:end;margin:5px 0 19px}
body.r307-student-only #student-tools[hidden]{display:none!important}
body.r307-student-only #student-tools .r311-field{min-width:0;display:grid;gap:5px;color:#3b5873;font-size:12px;font-weight:700}
body.r307-student-only #student-tools :is(input,select){box-sizing:border-box;min-width:0;width:100%;height:43px;min-height:43px;border-radius:10px;padding:8px 11px;background:#fff;border:1px solid #cbd8e6;color:#234661;font-size:13px}
body.r307-student-only #student-tools #student-sort{width:100%;height:43px;min-height:43px}
body.r307-student-only .student-compose-head{margin-bottom:16px}
body.r307-student-only #community-posts .community-card{padding:20px 22px;gap:1px}
body.r307-student-only #community-posts .community-card .community-body:not(.expanded){display:-webkit-box!important;-webkit-line-clamp:5!important;-webkit-box-orient:vertical!important;overflow:hidden!important;max-height:9em!important;height:auto!important}
body.r307-student-only #community-posts .community-card .community-body.expanded{display:block!important;max-height:none!important;-webkit-line-clamp:unset!important}
body.r307-student-only #community-posts .community-card .community-more{display:inline-flex!important;margin:10px 0!important}
body.r307-student-only #community-posts .community-card .community-meta{margin-bottom:10px}
body.r307-student-only #community-posts .community-card .community-replies{margin-top:15px}
body.r307-student-only .community-reply{position:relative}
.r311-report-button{border:0;background:transparent;align-self:flex-start;color:#607790;padding:7px 9px;margin:7px 0;cursor:pointer;border-radius:8px;font-size:12px;font-weight:650}
.r311-report-button:hover{background:#eff5fa;color:#123a60}
.r311-report-button:focus-visible{outline:2px solid #2475bb}
.r311-report-button:disabled{cursor:default;opacity:.7}
.community-reply .r311-report-button{font-size:11px;margin-top:5px}
body.r307-student-only #community-posts .community-attachment-viewer{margin:13px 0}
.r311-attachment-video{width:100%;height:auto;max-height:430px;background:#081e32;display:block}
.r311-attachment-audio{display:block;width:calc(100% - 24px);margin:12px}
body.r307-student-only .student-new-post{min-height:45px}
@media(max-width:1000px){body.r307-student-only #student-tools{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:610px){
 body.r307-student-only .community-hero{padding:24px 20px;min-height:0}
 body.r307-student-only .community-hero h1{font-size:30px}
 body.r307-student-only #student-tools{grid-template-columns:1fr 1fr;gap:9px}
 body.r307-student-only #student-tools .r311-ecue-filter{grid-column:1/-1}
 body.r307-student-only #community-posts .community-card{padding:16px}
 body.r307-student-only #community-posts .community-card .community-title{font-size:18px}
}
@media(max-width:390px){body.r307-student-only #student-tools{grid-template-columns:1fr}body.r307-student-only #student-tools .r311-ecue-filter{grid-column:auto}}
@media(prefers-reduced-motion:reduce){body.r307-student-only #community-posts *{scroll-behavior:auto!important;animation:none!important}}
