@charset "UTF-8";

.sub_container { max-width: 1200px; margin: auto; }

.sub_main_img { overflow: hidden; position: relative; }
.p_law_img { display: block; max-width: 100%; height: 600px; }
.t_law_img { display: none; }
.m_law_img { display: none; }
.sub_main_img h2 { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #fff;
    font-size: 50px; font-weight: 700; text-shadow: 6px 2px 2px rgb(0 0 0 / 20%); }

.notice_title { margin-top: 100px; text-align: center; }
.notice_title p:nth-of-type(1) { font-size: 35px; color: #333; }
.notice_title p:nth-of-type(2) { color: #595959; font-size: 15px; font-weight: 400; margin-top: 20px; }

/* 펌웨어 상세 페이지 */
.fw_wrap { margin: 30px 10px 70px; border-top: 2px solid #595959; }
.fw_box { min-height: 200px; }

.fw_header { background: #f8f8f8; padding: 20px; border-bottom: 1px solid #ddd; }
.fw_version { display: inline-block; background: #0070c0; color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 3px; margin-bottom: 8px; }
.fw_title { font-size: 20px; color: #222; font-weight: 600; margin: 6px 0 4px; }
.fw_date { font-size: 13px; color: #878787; }

.fw_content { padding: 30px 20px; min-height: 150px; line-height: 1.9; color: #333; word-break: break-all; border-bottom: 1px solid #ddd; }

.fw_files { padding: 20px 20px 10px; }
.fw_files_title { font-size: 15px; color: #333; font-weight: 600; margin-bottom: 12px; }
.fw_files ul { list-style: none; padding: 0; margin: 0; }
.fw_files li { margin-bottom: 10px; }
.fw_files li a { color: #0070c0; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
.fw_files li a:hover { text-decoration: underline; }

.fw_list_btn, .fw_edit_btn { background: #f4f4f4; border: 1px solid #bdbdbd; cursor: pointer; margin-top: 20px; }
.fw_list_btn:hover, .fw_edit_btn:hover { background: #c9c9c9; border-color: #999; }
.fw_list_btn a, .fw_edit_btn a { color: #333; font-size: 15px; padding: 10px 40px; display: block; }
.fw_edit_btn { margin-right: 6px; }

.hidden { display: none !important; }

/* 편집 폼 */
.fw_edit_wrap { margin: 30px 10px 70px; }
.fw_edit_row { margin-bottom: 22px; }
.fw_edit_row > label { display: block; font-size: 14px; color: #444; margin-bottom: 7px; font-weight: 600; }
.fw_edit_row input[type="text"] { width: 100%; padding: 10px 12px; border: 1px solid #ddd; font-size: 15px; font-family: inherit; box-sizing: border-box; }
.fw_edit_row textarea { width: 100%; padding: 10px 12px; border: 1px solid #ddd; font-size: 15px; font-family: inherit; box-sizing: border-box; height: 200px; resize: vertical; }
.fw_edit_row input[type="file"] { font-size: 14px; }

.existing_files_list { background: #f8f8f8; padding: 12px 14px; border: 1px solid #eee; font-size: 14px; margin-bottom: 8px; }
.existing_files_list ul { list-style: none; padding: 0; margin: 0; }
.existing_files_list li { padding: 4px 0; color: #555; }
.existing_files_list p { color: #999; margin: 0; }

.fw_keep_label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 400; color: #555; cursor: pointer; }

.fw_edit_actions { display: flex; gap: 8px; margin-top: 10px; }
.fw_edit_actions button { padding: 10px 40px; background: #0070c0; color: #fff; border: none; font-size: 15px; cursor: pointer; }
.fw_edit_actions button:hover { background: #005a9e; }
.fw_edit_actions a { padding: 10px 40px; background: #f4f4f4; border: 1px solid #bdbdbd; color: #333; font-size: 15px; display: inline-block; }
.fw_edit_actions a:hover { background: #e0e0e0; }
