:root{
  --blue:#4077fe; --peri:#eef0fb; --peri2:#e0e3ec;
  --ink:#333; --sub:#56596a; --mute:#9296a4;
  --line:#ddd; --line2:#eee; --white:#fff;
}

.nav_bar_warp {
    width: 100%;
    height: 33px;
    background-color: #000;    
} 

.nav_bar {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    position: relative;
}

.nav_bar ul {
    line-height: 33px;
}

.nav_bar .bar_left li {
    margin: 0 15px;
    display: inline-block;
    color: #fff;
    position: relative;
}

.nav_bar .bar_left li:nth-child(1) {
    margin-right: 15px;
    margin-left: 0;
}

.nav_bar .bar_left li::after {
    content: '';
    background: url("../img/nav_right_arrow_white.svg") no-repeat;
    position: absolute;
    background-size: 5px;
    right: -25px;
    top: 35%;
    width: 10px;
    height: 10px;
}

.nav_bar .bar_left li:last-child::after {
    display: none;
}

.titleBar {
    width: 100%;
    border-bottom: 1px solid #ddd;
    margin: 70px 0 60px;
}

.titleBar strong {
    font-size: 30px;
    padding: 4px 25px;
    border-bottom: 2px solid #4D77FF;
    font-weight: 600;
}

.intro h2 {    
    font-size: 26px;
    font-weight: 800;
    text-align: center;
}

div.intro div {    
    font-size: 16px;
    line-height: 26px;
    margin: 30px 0 60px;    
}
.text_pic1 {    
    display: flex;  
}
.text_pic1 p:first-child{    
    margin-right: 30px;
}

.intro div p span:first-child {
    font-size: 20px;
    font-weight: 600;
    line-height: 32px;
}

.intro div p span {
    display: block;
    margin-bottom: 15px;
}


.intro div p:last-child img{
    width: 100%;
    border-radius: 30px;
}

.img_f{
    display: flex;
    gap: 0 30px;
    margin-top: 30px;
}
.img_f img{
    width: 48.5% !important;
}
.operate_detail h2 {
    font-size: 30px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 60px;
}

.operate_detail span {
    font-size: 8px;
    vertical-align: middle;
    color: #ddd;
    margin-right: 5px;
}

.operate_detail h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
    position: relative;
}

.operate_detail li:nth-of-type(3) > h3,
.operate_detail li:nth-of-type(4) > h3 {
    margin-bottom: 20px;
}

.operate_detail p {
    font-size: 16px;
    padding: 10px 10px 0;
    word-break: keep-all;
    line-height: 24px;
}

.operate_detail li:nth-of-type(1) > p,
.operate_detail li:nth-of-type(2) > p {
    margin-bottom: 40px;
}

.operate_detail li a {
    font-size: 16px;
    font-weight: 600;
    position: absolute;
    right: 0;
    margin-top: 6px;
}

.operate_detail li a {
    background: url(../img/file_d_icon_g.svg)center right / 10% no-repeat;
    width: 157px;
    transition: all 0.2s;
}

.operate_detail li a:hover {
    background: url(../img/file_d_icon_r.svg)center right / 10% no-repeat;
    width: 157px;
    transition: all 0.2s;
}

.lecture_time_box {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.lecture_time_box li {
    width: 266px;
    height: 162px;
    border: 1px solid #ddd;
    border-radius: 15px;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.lecture_time_box h4 {
    padding-bottom: 5px;
    border-bottom: 1px solid #ddd;
}

.lecture_time_box span {
    border-bottom: 2px solid #4D77FF;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    padding: 0 10px 8px;
}

.lecture_time_box img {
    margin-top: 52px;
}

.operate_detail table {
    width: 100%;
    margin-bottom: 60px;
}

.operate_detail table td {
    padding: 15px 20px;
    font-size: 16px;
    border: 1px solid #ddd;
}

.operate_detail table td b {
    font-weight: 600;
}

.operate_detail table td.center {
    text-align: center;
}

.operate_detail table tr:nth-of-type(1) {
    width: 100%;
    height: 1px;
    border-top: 1px solid #4D77FF;
}

.curriculum_detail h2 {
    font-size: 30px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
}

.curriculum_detail select {
    width: 120px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 10px;
    float: right;
    margin-bottom: 20px;
}

.curriculum_detail table {
    width: 100%;
    margin-bottom: 80px;
}

.curriculum_detail table th {
    padding: 15px;
    font-size: 16px;
    border: 1px solid #ddd;
    background-color: #f7f7f7;
    font-weight: 600;
}

.curriculum_detail table th:nth-of-type(1),
.curriculum_detail table th:nth-of-type(3) {
    width: 50px;
}

.curriculum_detail table td {
    padding: 5px 10px 5px 10px;
    font-size: 14px;
    border: 1px solid #ddd;
    word-break: keep-all;
}

.curriculum_detail table td.center {
    text-align: center;
}

.curriculum_detail table .blueLine {    
    display: none;
}

.professor_detail h2 {
    font-size: 30px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
}

.professor_detail select {
    width: 120px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 10px;
    float: right;
    margin-bottom: 20px;
}

.procedure_btn {
    display: flex;
    justify-content: center;
    padding: 60px 0;
    width: 100%;
    border-top: 1px solid #ddd;
}

.procedure_btn button {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background-color: #f4f5f8;
    border: none;
    text-align: center;
    display: block;
    margin-right: 20px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s;
}

.procedure_btn button:last-child {
    margin-right: 0;
}

.procedure_btn button:hover {
    background-color: #4D77FF;
    color: #fff;
    transition: all 0.2s;
    cursor: pointer;
}

.professor_detail span {
    font-size: 12px;
    vertical-align: middle;
    color: #ddd;
    margin-right: 5px;
}

.professor_detail h3 {
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 600;
}

.professor_detail h3:nth-of-type(2) {
    margin-top: 60px;
}

.professor_detail ul {
  display: grid;  
  grid-template-columns: repeat(4, 1fr);  
  column-gap: 30px;
  row-gap: 30px;
}

.professor_detail li { 
    text-align: center;
    margin-bottom: 60px;
}

.professor_detail li p {
    font-size: 20px;
    font-weight: 600;
    margin: 15px 0 5px;
}

.professor_detail li small {
    width: 200px;
    display: block;
    font-size: 14px;
    margin: 0 auto;
}

.professor_detail li img {
    vertical-align: middle;
    margin: 0 0 4px 4px;
}

.professor_detail ul > li > img {
    vertical-align: middle; 
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 100%;
}

.professor_detail button {
    float: right;
    cursor: pointer;
}

.notice_sel {
    border: 1px solid #ddd;
    padding: 5px;
    border-radius: 10px;
    position: relative;
    left: 658px;
}

.notice_sel_1 {
    border: 1px solid #ddd;
    padding: 5px;
    border-radius: 10px;
    position: absolute;
    right: 260px;
}

.sea {
    display: flex;
    justify-content: flex-end;
    position: relative;
}
.sea > div {
    display: flex;
    align-content: space-between;
    align-items: center;    
    width: 260px;
    height: 30px;
    border-bottom: 1px solid #ddd;
}

.sea input {
    width: 260px;
    border: none;
    appearance: none;
    letter-spacing: -0.5px;
    padding: 0 10px;
}

.sea button {
    width: 17px;
    height: 17px;
    background: url("../img/search.svg") no-repeat;
    border: none;
    margin-top: 7px;
    cursor: pointer;
}

.form_ex{
    position: relative;
    top: -50px;
    font-size: 12px;
}

.fileArchive_detail > div{
    position: relative;
}

.fileArchive_detail li {
    box-sizing: border-box;
    width: 100%;
    margin: 30px 0;
    padding: 25px;
    border: 1px solid #dedee5;
    overflow: hidden;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fileArchive_detail li div:nth-of-type(1) {
    width: 100px;
    text-align: center;
    position: relative;
    padding-right: 20px;    
}


.fileArchive_detail li div:nth-of-type(2) {
    width: 65%;
    text-align: left;
    position: relative;    
    box-sizing: border-box;
}

.fileArchive_detail li div {
    font-size: 16px;
    line-height: 1.5;
}

.fileArchive_detail li div small {
    font-size: 14px;
    font-weight: 400;
}
.fileArchive_detail li div span {
    font-weight: 600;
}

.fileArchive_detail li div:nth-of-type(2) p:nth-of-type(2) a {
    background: url("../img/file_d_icon_g.svg") right center / 17px no-repeat;
    padding-right: 25px;
}


.fileArchive_detail li div p:nth-of-type(1) {
    word-break: keep-all;
    margin-bottom: 10px;
    font-weight: 600;
}


.fileArchive_detail li div:nth-of-type(2) p:nth-of-type(2):hover a{
    color:#4D77FF;
    background: url("../img/file_d_icon_r.svg") right center / 17px no-repeat;
    padding-right: 25px;
}

.fileArchive_detail li div:last-child {
    font-size: 13px;
    width: 150px;
    text-align: center;
}

.page_b_wrap {
    text-align: center;
    margin: 40px auto;
}

.page_b_wrap button.left_arrow_d {
    background: url("../img/left_arrow_b_gray_d.svg") no-repeat;
    text-indent: -10000px;
}

.page_b_wrap button.left_arrow_d:hover {
    background: url("../img/left_arrow_b_gray_d_over.svg") no-repeat;
}

.page_b_wrap button.left_arrow {
    background: url("../img/left_arrow_b_gray.svg") no-repeat;
    text-indent: -10000px;
}

.page_b_wrap button.left_arrow:hover {
    background: url("../img/left_arrow_b_gray_over.svg") no-repeat;
    text-indent: -10000px;
}

.page_b_wrap button {
    width: 25px;
    height: 25px;
    margin: 3px;
    background-color: #fff;
    border-radius: 25px;
    border: none;
    line-height: 25px;
    text-align: center;
    color: #555;
    font-size: 12px;
    transition: all 0.1s;
    cursor: pointer;
    transition: all 0.2s;
}

.page_b_wrap button:hover {
    background-color: #4077fe;
    color: #fff;
    transition: all 0.2s;
}

.page_b_wrap button.act {
	background-color: #4077fe;
	color: #fff;
	transition: all 0.2s;
}

.page_b_wrap button.right_arrow {
    background: url("../img/right_arrow_b_gray.svg") no-repeat;
    text-indent: -10000px;
}

.page_b_wrap button.right_arrow:hover {
    background: url("../img/right_arrow_b_gray_over.svg") no-repeat;
    text-indent: -10000px;
}

.page_b_wrap button.right_arrow_d {
    background: url("../img/right_arrow_b_gray_d.svg") no-repeat;
    text-indent: -10000px;
}

.page_b_wrap button.right_arrow_d:hover {
    background: url("../img/right_arrow_b_gray_d_over.svg") no-repeat;
    text-indent: -10000px;
}

.notice_detail ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 30px;
    row-gap: 30px;
    width: 100%;
    margin-top: 30px;
}

.notice_detail li {
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #dedee5;
    overflow: hidden;
    border-radius: 15px;
    justify-content: space-between;
    float: left;
    transition: all 0.2s;
}

.notice_detail li a {
    display: block;
    padding: 25px;
}

.notice_detail li div {
    margin-bottom: 15px;
    font-size: 13px;
}

.notice_detail li div:last-child {
    margin-bottom: 0;
}

.notice_detail li div:last-child {
    background: url("../img/right_arrow_b_gray.svg") right no-repeat;
}

.notice_detail li div:nth-of-type(2) {
    font-size: 16px;
}

.notice_detail li div:nth-of-type(1) {
    margin-bottom: 25px;
}

.notice_detail li div:nth-of-type(1) span {
    padding: 5px 10px;
    border-radius: 10px;
    background-color: #f4f6f7;
}

.notice_detail li:hover {
    border: 1px solid #000;
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
}

.notice_detail li:hover div:last-child {
    background: url("../img/right_arrow_b_gray_over.svg") right no-repeat;
    transition: all 0.2s;
}

.notice_dp-header {
    border-bottom: 1px solid #ececec;
    margin-bottom: 10px;
    text-align: center;
    padding-bottom: 60px;
    box-sizing: border-box;
}

.notice_dp-header .title_20 {
    font-size: 30px;
    font-weight: bold;
    margin-top: 5px;
}

.notice_dp-header p {
    margin-top: 10px;
}

.notice_dp-header p a {
    background: url(../img/file_icon_g.svg)no-repeat;
    background-size: 17px;
    padding: 0 0 0 20px;
    font-size: 14px;
}

.notice_dp-header a:hover {
    color: #e1251b;
    background: url(../img/file_icon_r.svg)no-repeat;
    background-size: 17px;
    font-weight: 600;
}

.notice_dp-content {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    font-size: 14px;
}
.notice_dp-content img {
    width: 100% !important;
    height: auto !important;
}
.notice_dp-section {
    padding: 0 0 30px;
}

.notice_dp-section div {
    margin-top: 30px;
}

.notice_dp-section p {
    margin-bottom: 20px;
}

.notice_dp_bottom {
    padding: 30px 0;
    border-top: 1px solid #ececec;
    margin-top: 10px;
}

.list_btn {
    width: 60px;
    height: 30px;
    float: right;
}

.list_btn a {
    display: block;
    text-align: center;
    line-height: 30px;
    transition: all 0.2s;
    border-radius: 7px;
    background-color: #f4f6f7;
}

.list_btn:hover a {
    color: #fff;
    background-color: #000;
    font-weight: 600;
}

.sitemap_detail {
    margin-bottom: 300px;
}

.sitemap_detail > ul:nth-of-type(1) {
    display: grid;
   grid-template-columns: repeat(4, 1fr);
   column-gap: 20px;
}

.sitemap_detail > ul:nth-of-type(1) > li {
    width: 100%;
    text-align: center;
}

.sitemap_detail .sub {
    border: 1px solid #ddd;
    height: 79.6px;
}

.sitemap_detail .sub li:last-child a {
    padding-bottom: 10px;
}

.sitemap_detail .sub li a {
    padding-top: 10px;
    font-size: 14px;
    display: block;
}

.sitemap_detail .sub li a:hover {
    color: #4D77FF;
    font-weight: 500;
}

.sitemap_detail li h2 {
    padding: 10px;
    background-color: #4D77FF;
    box-sizing: border-box;
    font-size: 16px;
    color: #fff;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;    
}

.text_pic3 ul li{
    font-size: 20px;
    line-height: 1.4;
    padding: 15px 0;
    font-weight: 600;
    border-bottom: 1px solid #ddd;
}
.text_pic3 ul li span{
    color:#4D77FF;
    font-size: 26px;
}

.flex_b {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.flex_b div {
    width: 48.5%;    
    border: 1px solid #ddd;
    border-radius: 15px;    
    padding: 20px;
    box-sizing: border-box;
}

.flex_b span {
    border-bottom: 2px solid #4D77FF;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    padding: 0 10px 8px;
}
.flex_b div h4 {
    padding-bottom: 5px;
    border-bottom: 1px solid #ddd;
}
.flex_b div ul li {
    font-size: 16px;
    padding: 10px 0 0;    
    line-height: 24px;   
}
.flex_b div ul li i{
    color:#4D77FF;
}
.flex_b div p {   
    padding: 10px 0 0;     
}


.qa-bar{
    display: flex;
    justify-content: space-between;  
    align-items: center;  
    padding: 0 0 20px 0;   
}

.qa_detail ul li{
    padding: 20px 0;
}

.qa-form {
    border: 1px solid #f4f6f7;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 26px;
    background: #eef2ff;
    display: none;
}
.qa-form.open {   
    display: block;
}

.qa-form input.tt2 {
    width: 100%;
    margin-bottom: 12px;
    font-family: inherit;
    font-size: 14px;
    border: 1px solid #f4f6f7;
    border-radius: 8px;
    padding: 11px 14px;    
    background: #fff;
    box-sizing: border-box;
}

.qa-form textarea {
    width: 100%;
    min-height: 90px;
    resize: vertical;
    line-height: 1.6;
}

textarea {
    font-family: inherit;
    font-size: 14px;
    border: 1px solid #f4f6f7;
    border-radius: 8px;
    padding: 11px 14px;    
    background: #fff;
    box-sizing: border-box;
}
.qa-opt {    
    padding-top: 13px;
}

.qa-secret {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;    
    cursor: pointer;
    font-weight: 600;
}

.qa-secret input {
    width: 15px;
    height: 15px;
    accent-color: #4077fe;
    cursor: pointer;
}

.qa-secret .mut {
    font-weight: 400;
    color: #707070;
}
.qa-tags {
    margin-top: 13px;
}
.qa-tags .tglbl {
    display: block;
    font-size: 12px;   
    margin-bottom: 9px;
    font-weight: 600;
}

.qa-tags {
    margin-top: 13px;
}

.qa-tags .tglbl {
    display: block;
    font-size: 12px;    
    margin-bottom: 9px;
    font-weight: 600;
}
.ment {
    position: relative;
    max-width: 440px;
}
.ment input {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #f4f6f7;
    border-radius: 8px;
    font-size: 13px;
    font-family: inherit;
    box-sizing: border-box;
}
.btn {
    display: inline-block;
    background: #4077fe;
    color: #fff;
    border-radius: 8px;
    padding: 6px 15px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s;
}
.qa-form .act {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
    flex-wrap: wrap;
}
.qa-form .who {
    font-size: 13px;
    color: #4077fe;
    font-weight: 600;
}

.qa-form .actbtns {
    display: flex;
    gap: 10px;
}
.qa-form .cancel {
    background: #fff;
    color:#333;
    border-radius: 8px;    
    font-size: 14px;
    cursor: pointer;
}

.tsel{
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 9px;
}
.tchip2 {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    color: #fff;
    background: #4077fe;
    border-radius: 20px;
    padding: 5px 9px 5px 13px;
}

.tchip2 .sub {
    font-weight: 400;
    opacity: .82;
    font-size: 11px;
}
.tchip2 .x {
    cursor: pointer;
    font-weight: 700;
    opacity: .8;
    font-size: 14px;
    line-height: 1;
}

/* --- 목록 컨테이너 / 개별 글 --- */
.qa-list{border-top:1px solid var(--line);}
.qa-item{border-bottom:1px solid var(--line2);padding:22px 8px;}

/* --- 제목 --- */
.qa-item .ti{font-weight:700;color:var(--ink);font-size:16.5px;cursor:pointer;overflow-wrap:anywhere;}
.qa-item .ti:hover{color:var(--blue);}
.qa-item .ti .lk{color:#c99a2e;margin-right:6px;vertical-align:-2px;}   /* 자물쇠 아이콘 */
.qa-item.locked .ti{color:var(--mute);cursor:default;}

/* --- 메타(작성자 · 날짜 · 답글 수 / 수정·삭제) --- */
.qa-item .meta{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:13px;color:var(--mute);margin-top:6px;}
.qa-item .meta b{color:var(--sub);font-weight:500;}
.qrowbtns{margin-left:12px;display:inline-flex;gap:10px;}
.qrowbtns a{font-size: 12px;
    color: var(--mute);
    cursor: pointer;
    padding: 2px 10px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 4px;}
.qrowbtns a:hover{color:var(--blue); border:1px solid var(--blue)}

/* --- 역할 배지(강사/수강생) --- */
.rolebd{font-size:10px;font-weight:700;padding:1px 7px;border-radius:5px;margin-left:7px;vertical-align:1px;}
.rolebd.t{color:#fff;background:var(--ink);}
.rolebd.s{color:var(--sub);background:#eceef4;}

/* --- 본문 / 비밀글 표시 / 하단 --- */
.qa-item .body{font-size:14.5px;color:var(--sub);line-height:1.7;margin-top:12px;overflow-wrap:anywhere;}
.qa-item .lock{display:inline-block;font-size:10px;font-weight:700;color:#8a6d1e;background:#f6efd8;padding:2px 8px;border-radius:5px;margin-left:7px;vertical-align:1px;}
.qa-item .lockto{font-size:12px;color:var(--mute);margin-top:7px;}
.qa-lock{font-size:14px;color:var(--mute);line-height:1.7;margin-top:10px;}
.qa-item .foot{margin-top:14px;display:flex;align-items:center;gap:18px;}
.qa-rbtn{font-size:13px;font-weight:500;cursor:pointer;}

/* --- 답글 영역 --- */
.qa-replies{margin-top:16px;padding-left:18px;border-left:2px solid var(--peri2);display: none;}
.qa-replies.open{display:block;}
.qreply{padding:12px 0;border-bottom:1px dashed var(--line2);}
.qreply:last-of-type{border-bottom:0;}
.qreply .ra{font-size:13px;font-weight:700;color:var(--ink);}
.qreply .ra .rd{font-weight:400;color:var(--mute);font-size:12px;margin-left:8px;}
.qreply .rb{font-size:14px;color:var(--sub);line-height:1.6;margin-top:4px;overflow-wrap:anywhere;}

/* --- 답글 입력 폼 --- */
.qa-rform{margin-top:12px;}
.qa-rform input{width:100%;font-family:inherit;font-size:14px;border:1px solid var(--line);border-radius:8px;padding:10px 14px;color:var(--ink);box-sizing:border-box;}
.qa-rform textarea{width:100%;min-height:96px;font-family:inherit;font-size:14px;border:1px solid var(--line);border-radius:8px;padding:10px 14px;color:var(--ink);resize:vertical;box-sizing:border-box;line-height:1.6;}
.qa-rform .au2{flex:0 0 110px;}
.qa-rform-btns{display:flex;justify-content:flex-end;margin-top:8px;}
.qa-rform button{background:var(--blue);color:#fff;border:0;border-radius:8px;padding:10px 18px;font-size:14px;cursor:pointer;}

/* --- 인라인 수정 폼(.qedit / .qedit-post) --- */
.qedit{margin:8px 0;}
.qedit textarea{width:100%;min-height:72px;border:1px solid var(--line);border-radius:8px;padding:10px 12px;font-family:inherit;font-size:14px;color:var(--ink);resize:vertical;box-sizing:border-box;}
.qedit input.tt2{width:100%;margin-bottom:8px;box-sizing:border-box;font-family: inherit;
    font-size: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px 14px;
    color: var(--ink);}
.qed-btns{display:flex;gap:8px;justify-content:flex-end;margin-top:8px;}
.qed-btns .c{background:none;border:1px solid var(--line);color:var(--mute);border-radius:8px;padding:6px 14px;font-size:13px;cursor:pointer;font-family:inherit;}
.qed-btns .s{background:#4077fe;border:0;color:#fff;border-radius:8px;padding:7px 16px;font-size:13px;cursor:pointer;font-family:inherit;}

/* --- 카테고리 뱃지(목록 항목에서 사용 가능) --- */
.qa-cat{display:inline-block;font-size:11px;font-weight:700;padding:2px 9px;border-radius:5px;margin-right:10px;}
.qa-cat.q{color:var(--blue);background:var(--peri);}
.qa-cat.d{color:#1d9b94;background:#e3f7f5;}
.qa-cat.n{color:#7a5bd0;background:#efeafc;}
.qa-cat.lock{color:var(--mute);background:#f0f1f5;}
.qa-cat.priv{color:var(--mute);background:#eef0f4;}
.qa-target{font-size:12px;color:var(--blue);background:var(--peri);padding:2px 9px;border-radius:5px;}

/* [11] 삭제 확인 모달 ---------------------------------------- */
.qa-del-modal{position:fixed;inset:0;background:rgba(20,25,45,.45);display:none;align-items:center;justify-content:center;z-index:200;}
.qa-del-modal.open{display:flex;}
.qa-del-box{background:#fff;border-radius:14px;padding:26px 26px 20px;width:320px;max-width:90vw;box-shadow:0 20px 60px rgba(20,30,70,.25);text-align:center;}
.qa-del-t{font-size:16px;font-weight:800;color:var(--ink);}
.qa-del-d{font-size:13px;color:var(--sub);margin-top:8px;line-height:1.6;}
.qa-del-btns{display:flex;gap:10px;margin-top:20px;}
.qa-del-btns button{flex:1;border-radius:8px;padding:10px 0;font-size:14px;font-weight:600;cursor:pointer;font-family:inherit;}
.qa-del-btns .c{background:#fff;border:1px solid var(--line);color:var(--sub);}
.qa-del-btns .d{background:#ec5642;border:0;color:#fff;}




/* ============================================================
 * Q&A 글쓰기 폼 — 추가분 (자동완성 드롭다운 · 열람대상 토글)
 * ========================================================== */

/* 비밀글 체크 시에만 열림 */
.qa-tags{display:none;}
.qa-tags.open{display:block;}

/* @회원 자동완성 드롭다운 */
.mlist{position:absolute;left:0;right:0;top:calc(100% + 4px);background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 14px 30px rgba(20,30,60,.14);z-index:60;max-height:236px;overflow-y:auto;}
.mrow{padding:9px 12px;cursor:pointer;border-bottom:1px solid var(--line2);}
.mrow:last-child{border-bottom:0;}
.mrow:hover,.mrow.hi{background:var(--peri);}
.mrow .mn{font-size:13px;color:var(--ink);font-weight:600;white-space:nowrap;}
.mrow .md{font-size:11.5px;color:var(--mute);margin-top:2px;}
.mrow .tagk{display:inline-block;font-size:10px;font-weight:700;padding:1px 6px;border-radius:4px;margin-right:7px;vertical-align:1px;white-space:nowrap;}
.mrow .tagk.f{color:#4077fe;background:#eef0fb;}
.mrow .tagk.s{color:#0a8f84;background:#e2f7f4;}
.mnone{padding:11px 12px;color:var(--mute);font-size:12.5px;}

/* 선택 칩이 없을 때 여백 제거 */
.tsel:empty{display:none;}

/* 인라인 수정 폼 : hidden 속성 확실히 적용 */
[hidden]{display:none !important;}

/* 글이 하나도 없을 때 */
.qa-empty{padding:40px 8px;text-align:center;font-size:14px;color:var(--mute);}


@media (min-width:768px) and (max-width:1024px) {
    .nav_bar{
        padding: 0 20px;
    }
    .professor_detail ul {  
  grid-template-columns: repeat(3, 1fr);  
  column-gap: 30px;
  row-gap: 30px;
}
.fileArchive_detail li{
    flex-direction: column;
}
.fileArchive_detail li div:nth-of-type(1){
    width: 100%;
    text-align: center;
    position: relative;
    padding-right: 0;
    border-bottom: 1px solid #ddd;
    border-right: 0;
    padding-bottom: 20px; 
}
    .fileArchive_detail li div:nth-of-type(1) span {
        transform: none;
    }
    .fileArchive_detail li div:nth-of-type(2){
    width: 100%;
}
.fileArchive_detail li div:nth-of-type(2){
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}

.fileArchive_detail li div:nth-of-type(3){
    padding: 20px 0 0;
    margin-bottom: 0;
}
.text_pic1 {    
    flex-direction: column;  
}
.text_pic1 p:first-child{
    margin-right: 0;
    margin-bottom: 30px;
}
.lecture_time_box{
    flex-direction: column;
}
.lecture_time_box img {
    margin-top: 0px;
    transform: rotate(90deg);
    text-align: center;
    margin: 0 auto;
}
.lecture_time_box li{
    width: 100%;
}
.notice_detail ul {    
    grid-template-columns: repeat(1, 1fr);    
}
.sitemap_detail > ul:nth-of-type(1) {
    display: grid;
   grid-template-columns: repeat(2, 1fr);
   row-gap: 20px;
   column-gap: 20px;
}


}
@media (max-width:767px) {
    .nav_bar{
        padding: 0 20px;
    }
    .titleBar strong{
        font-size: 26px;
        padding: 3px 25px;        
    }
    .img_f {
    display: flex;
    gap: 30px;
    flex-direction: column;
    }
    .img_f img {
        width: 100% !important;
    }
    .intro div p span:first-child {
    font-size: 18px;  
    line-height: 1.6; 
    }
    .text_pic3 ul li{
        font-size: 18px;        
    }
    .intro h2 {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.6;
}

.lecture_time_box{
    flex-direction: column;
}
.lecture_time_box img {
    margin-top: 0px;
    transform: rotate(90deg);
    text-align: center;
    margin: 0 auto;
}
.lecture_time_box li{
    width: 100%;
}
.operate_detail table td {    
    display: block;
    border-top: 0;
}
.operate_detail h2 {
    font-size: 24px;
    word-break: keep-all;
}
.flex_b {
    flex-direction: column;
    gap:60px;
}
.flex_b div{
    width: 100%;
}

.curriculum_detail td{
    display: block;
    border-top: 0 !important;  
    text-align: right; 
}
.curriculum_detail table td.center {
    text-align: right;
}
.curriculum_detail th {
    display: none;
}
.curriculum_detail colgroup{
    display: none;
}
.curriculum_detail td::before {
    content: attr(data-label);
    float: left;
    font-weight: 600;
    text-transform: uppercase;
}
.curriculum_detail h2{
    font-size: 24px;
    word-break: keep-all;
}
.professor_detail ul {  
  grid-template-columns: repeat(2, 1fr);  
  column-gap: 0px;
  row-gap: 0;
}
.professor_detail li small{
    width: 140px;
    word-break: keep-all;
}
.professor_detail ul > li > img 
{
    width: 140px;
    height: 140px;
}
.professor_detail h2 {
    font-size: 24px;
    word-break: keep-all;
}
.fileArchive_detail li{
    flex-direction: column;
}
.fileArchive_detail li div:nth-of-type(1){
    width: 100%;
    text-align: center;
    position: relative;
    padding-right: 0;
    border-bottom: 1px solid #ddd;
    border-right: 0;
    padding-bottom: 20px; 
}
    .fileArchive_detail li div:nth-of-type(1) span {
        transform: none;
    }
    .fileArchive_detail li div:nth-of-type(2){
    width: 100%;
}
.fileArchive_detail li div:nth-of-type(2){
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}

.fileArchive_detail li div:nth-of-type(3){
    padding: 20px 0 0;
    margin-bottom: 0;
}
.page_b_wrap button{
    margin: 0;
}
.sea > div {    
    width: 230px;   
}
.notice_sel_1{
    right:230px;
}
.titleBar{
    margin: 60px 0 60px;
}
.curriculum_detail table .blueLine {
    display: block;
    width: 100%;
    height: 0;
    border-top: 1px solid #4D77FF;
}
.text_pic1 {    
    flex-direction: column;  
}

.text_pic1 p:first-child{
    margin-right: 0;
    margin-bottom: 30px;
}

.notice_detail ul {    
    grid-template-columns: repeat(1, 1fr);    
}

.notice_dp-header .title_20 {
    font-size: 24px;
    font-weight: bold;
    margin-top: 5px;
}
.sitemap_detail > ul:nth-of-type(1) {
    display: grid;
   grid-template-columns: repeat(1, 1fr);
   row-gap: 20px;   
}

.qa-wrap{padding:32px 18px 70px;}
  .qa-item{padding:18px 4px;}
  .qa-item .ti{font-size:15.5px;}
  .qa-rform{flex-wrap:wrap;}
  .qa-rform button{width:100%;}
}