@charset "utf-8";
/* HY 20260605: 게시판 스킨별(basic/gallery/attendance/legacy) 차이 때문에 한쪽만 고쳐지는 문제를 줄이는 최종 공통 보정입니다. */
#hy-main .hy-sub-container,
#hy-main .hy-board-fallback-container{
  width:min(1180px, calc(100% - 28px))!important;
  max-width:1180px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}
#hy-main .hy-sub-container *,
#hy-main .hy-board-fallback-container *{
  box-sizing:border-box!important;
}
/* 스킨 공통 외곽 */
.hy-sub-container .hy-basic-board,
.hy-sub-container .hy-board-rich,
.hy-sub-container .hy-att-shell,
.hy-sub-container #bo_list,
.hy-sub-container #bo_gall,
.hy-sub-container #bo_v{
  width:100%!important;
  max-width:100%!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
/* 각 스킨 제목/도구 영역이 한쪽으로 밀리지 않도록 통일 */
.hy-basic-board__head,
.hy-board-rich-hero,
.hy-att-hero,
.hy-sub-container #bo_btn_top,
.hy-sub-container #bo_list #bo_btn_top,
.hy-sub-container #bo_gall #bo_btn_top{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.hy-basic-board__bar,
.hy-board-rich-toolbar,
.hy-att-toolbar{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
/* 스킨별 검색창 폭/칸 정리 */
.hy-basic-board__search,
.hy-board-rich-search,
.hy-sub-container #bo_sch,
.hy-sub-container .local_sch,
.hy-sub-container .bo_sch{
  max-width:100%!important;
  box-sizing:border-box!important;
}
.hy-basic-board__search select,
.hy-basic-board__search input,
.hy-basic-board__search button,
.hy-board-rich-search select,
.hy-board-rich-search input,
.hy-board-rich-search button,
.hy-sub-container #bo_sch select,
.hy-sub-container #bo_sch input,
.hy-sub-container #bo_sch button{
  box-sizing:border-box!important;
}
/* 글자 ... / 한 줄 고정이 스킨마다 다르게 먹는 문제 제거 */
.hy-sub-container .hy-basic-board__rowtop strong,
.hy-sub-container .hy-basic-board__excerpt,
.hy-sub-container .hy-basic-board__meta,
.hy-sub-container .hy-board-rich-body strong,
.hy-sub-container .hy-board-rich-body p,
.hy-sub-container .hy-board-rich-title,
.hy-sub-container .hy-board-rich-excerpt,
.hy-sub-container .hy-board-rowtext strong,
.hy-sub-container .hy-board-rowtext small,
.hy-sub-container .hy-gallery-info strong,
.hy-sub-container .hy-gallery-info p,
.hy-sub-container .hy-att-user-text strong,
.hy-sub-container .hy-att-user-text span,
.hy-sub-container .hy-att-bubble,
.hy-sub-container .hy-att-hero p,
.hy-sub-container .hy-att-view-content,
.hy-sub-container #bo_list .td_subject a,
.hy-sub-container #bo_list .bo_tit a,
.hy-sub-container #bo_list .bo_tit,
.hy-sub-container #bo_gall .gall_text_href,
.hy-sub-container #bo_v_con,
.hy-sub-container .bo_v_con{
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  word-break:keep-all!important;
  overflow-wrap:anywhere!important;
  -webkit-line-clamp:unset!important;
  line-clamp:unset!important;
  -webkit-box-orient:initial!important;
}
.hy-sub-container .hy-basic-board__rowtop strong,
.hy-sub-container .hy-basic-board__excerpt,
.hy-sub-container .hy-board-rich-body strong,
.hy-sub-container .hy-board-rich-body p,
.hy-sub-container .hy-board-rich-title,
.hy-sub-container .hy-board-rich-excerpt,
.hy-sub-container .hy-board-rowtext strong,
.hy-sub-container .hy-board-rowtext small,
.hy-sub-container .hy-gallery-info strong,
.hy-sub-container .hy-gallery-info p,
.hy-sub-container #bo_list .td_subject a,
.hy-sub-container #bo_list .bo_tit a,
.hy-sub-container #bo_gall .gall_text_href{
  display:block!important;
}
/* basic 스킨: 썸네일/본문 비율 고정 */
.hy-basic-board__item{width:100%!important;max-width:100%!important;}
.hy-basic-board__link{width:100%!important;max-width:100%!important;}
.hy-basic-board__thumb{flex:0 0 132px!important;}
.hy-basic-board__body{min-width:0!important;max-width:100%!important;}
/* gallery/rich 스킨: 카드가 너무 한 줄 말림/오른쪽 밀림 방지 */
.hy-board-rich-grid{width:100%!important;max-width:100%!important;}
.hy-board-rich-card{min-width:0!important;}
.hy-board-rich-link{width:100%!important;max-width:100%!important;}
.hy-board-rich-body{min-width:0!important;max-width:100%!important;}
/* attendance 스킨: 카드 폭과 텍스트 흐름 보정 */
.hy-att-list,.hy-att-summary{width:100%!important;max-width:100%!important;}
.hy-att-entry{min-width:0!important;}
.hy-att-user{min-width:0!important;max-width:100%!important;}
.hy-att-user-text{min-width:0!important;max-width:100%!important;}
@media (max-width:768px){
  #hy-main .hy-sub-container,
  #hy-main .hy-board-fallback-container{
    width:calc(100% - 18px)!important;
    padding-left:0!important;
    padding-right:0!important;
  }
  .hy-basic-board__head,
  .hy-board-rich-hero,
  .hy-att-hero{
    border-radius:18px!important;
  }
  .hy-basic-board__bar,
  .hy-board-rich-toolbar{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:9px!important;
  }
  .hy-basic-board__search,
  .hy-board-rich-search{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:7px!important;
    width:100%!important;
  }
  .hy-basic-board__search select,
  .hy-basic-board__search input,
  .hy-basic-board__search button,
  .hy-board-rich-search select,
  .hy-board-rich-search input,
  .hy-board-rich-search button{
    width:100%!important;
    min-width:0!important;
  }
  .hy-basic-board__link{
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    gap:10px!important;
  }
  .hy-basic-board__thumb{
    width:92px!important;
    height:72px!important;
    flex-basis:92px!important;
  }
  .hy-board-rich-grid,
  .hy-att-list,
  .hy-att-summary{
    grid-template-columns:1fr!important;
  }
  .hy-att-hero{
    display:block!important;
    padding:18px!important;
  }
}
@media (max-width:420px){
  .hy-basic-board__link{
    grid-template-columns:1fr!important;
  }
  .hy-basic-board__thumb{
    width:100%!important;
    height:160px!important;
  }
}
