/* SEG Académie — CN-SEG-007 R11 : Espace étudiants compact.
   Presentation only: no change to search logic, post creation or permissions. */
body.r307-student-only.seg-r396-public .community-hero {
 width: min(1250px,calc(100% - 36px));
 max-width: 1250px;
 min-height: 0;
 margin: 13px auto 12px;
 padding: 20px 27px;
 border-radius: 17px;
 box-shadow: 0 6px 18px rgba(12,53,81,.10);
}
body.r307-student-only .community-hero h1 {
 font-size: clamp(26px,2.8vw,36px);
 line-height: 1.18;
 margin: 0 0 4px;
}
body.r307-student-only .community-hero p {
 font-size: 13px;
 line-height: 1.45;
 margin: 0;
 max-width: 760px;
}
body.r307-student-only .community-hero::after {
 width: 210px;
 height: 180px;
 top: -79px;
 right: -16px;
 border-width: 12px;
 opacity: .62;
}
body.r307-student-only .community-layout {
 width: min(1250px,calc(100% - 36px));
 gap: 0;
}
body.r307-student-only .community-filters.community-filters-r11 {
 display: grid;
 grid-template-columns: minmax(0,1.5fr) minmax(185px,.7fr);
 gap: 11px 13px;
 align-items: end;
 margin: 0 0 12px;
 padding: 14px 18px 15px;
 border: 1px solid #c7daea;
 border-radius: 15px;
 background: #fff;
 box-shadow: 0 5px 17px rgba(16,58,89,.055);
}
body.r307-student-only .community-filters-r11 > #community-search,
body.r307-student-only .community-filters-r11 > #community-category {
 width: 100%;
 max-width: 100%;
 min-width: 0;
 height: 44px;
 min-height: 44px;
 padding: 9px 12px;
 border-radius: 10px;
 border: 1px solid #c6d9ea;
 background: #fff;
 box-sizing: border-box;
 font-size: 13px;
}
body.r307-student-only .community-filters-r11 #student-tools {
 grid-column: 1 / -1;
 display: grid;
 grid-template-columns: minmax(100px,.72fr) minmax(100px,.72fr) minmax(180px,1.9fr) minmax(150px,.85fr);
 gap: 12px;
 margin: 0;
 padding: 11px 0 0;
 min-width: 0;
 min-height: 0;
 border-top: 1px solid #e1edf4;
 background: transparent;
 align-items: end;
}
body.r307-student-only .community-filters-r11 #student-tools[hidden] { display: none!important; }
body.r307-student-only .community-filters-r11 #student-tools .r311-field {
 display: grid;
 gap: 5px;
 min-width: 0;
 color: #365c77;
 font-weight: 750;
 font-size: 12px;
 line-height: 1.25;
}
body.r307-student-only .community-filters-r11 #student-tools :is(input,select),
body.r307-student-only .community-filters-r11 #student-tools #student-sort {
 box-sizing: border-box;
 min-width: 0;
 width: 100%;
 height: 43px;
 min-height: 43px;
 padding: 8px 10px;
 border: 1px solid #c6d9e8;
 border-radius: 9px;
 background: #fff;
 color: #244963;
 font-size: 13px;
}
body.r307-student-only .community-filters-r11 :is(input,select):focus-visible {
 outline: 3px solid #a8d7ed;
 outline-offset: 2px;
}
body.r307-student-only .student-compose-head {
 gap: 12px;
 margin: 0 0 10px;
}
body.r307-student-only .student-compose-head h2 {
 font-size: clamp(20px,2vw,24px);
 line-height: 1.25;
}
body.r307-student-only .student-new-post {
 min-height: 41px;
 padding: 9px 14px;
 border-radius: 10px;
 font-size: 13px;
}
@media(max-width:1000px) {
 body.r307-student-only .community-filters-r11 #student-tools {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
 }
 body.r307-student-only .community-filters-r11 #student-tools .r311-ecue-filter {
  grid-column: 1;
 }
}
@media(max-width:610px) {
 body.r307-student-only.seg-r396-public .community-hero {
  width: calc(100% - 24px);
  margin: 10px auto;
  padding: 15px 18px;
  border-radius: 14px;
 }
 body.r307-student-only .community-hero h1 {
  font-size: 25px;
  margin-bottom: 4px;
 }
 body.r307-student-only .community-hero p {
  font-size: 12px;
  line-height: 1.42;
 }
 body.r307-student-only .community-layout {
  width: calc(100% - 24px);
 }
 body.r307-student-only .community-filters.community-filters-r11 {
  grid-template-columns: minmax(0,1fr);
  gap: 9px;
  padding: 12px;
  border-radius: 13px;
 }
 body.r307-student-only .community-filters-r11 #student-tools {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 9px;
  padding-top: 10px;
 }
 body.r307-student-only .community-filters-r11 #student-tools .r311-ecue-filter {
  grid-column: 1 / -1;
 }
 body.r307-student-only .community-filters-r11 #student-tools .r311-field:last-child {
  grid-column: 1 / -1;
 }
 body.r307-student-only .student-compose-head {
  gap: 9px;
  align-items: center;
  flex-wrap: nowrap;
 }
 body.r307-student-only .student-compose-head h2 {
  font-size: 18px;
  min-width: 0;
 }
 body.r307-student-only .student-new-post {
  min-height: 39px;
  padding: 8px 10px;
  font-size: 12px;
  width: auto;
  flex: none;
 }
}
@media(max-width:365px) {
 body.r307-student-only .student-compose-head { flex-wrap:wrap; }
 body.r307-student-only .student-new-post { width: 100%; }
}
