/* [18번 고급 · sector_list] 테라코타 오렌지 테마 (SEO 튜닝 완료) */
.s18_wrap {
    --accent: #C2410C;
    --accent-soft: #FFF7ED;
    --border: #FED7AA;
    max-width: 1080px;
    margin: 20px auto;
    font-family: 'Pretendard', 'Noto Sans KR', '맑은 고딕', sans-serif;
    color: #1f2937;
    box-sizing: border-box;
}
.s18_wrap *, .s18_wrap *::before, .s18_wrap *::after { box-sizing: border-box; }
.s18_wrap a { color: inherit; text-decoration: none; }

.s18_btn {
    display: inline-block; padding: 8px 16px; border-radius: 6px;
    font-size: 14px; font-weight: 600; cursor: pointer; border: 1px solid transparent; line-height: 1.3;
}
.s18_btn_primary { background: var(--accent); color: #fff !important; }
.s18_btn_primary:hover { opacity: 0.9; }
.s18_btn_gray { background: #f3f4f6; color: #374151 !important; border-color: #d1d5db; }
.s18_input {
    width: 100%; padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 6px;
    font-size: 14px; background: #fff; color: #111827;
}
.s18_input:focus { outline: none; border-color: var(--accent); }
.s18_empty { text-align: center; padding: 50px 15px; color: #6b7280; font-size: 15px; }
.s18_noimg {
    display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
    min-height: 150px; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 15px; padding: 12px; text-align: center;
}

/* 브레드크럼 (SEO 경로 표시) */
.s18_breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #6b7280; margin-bottom: 14px; flex-wrap: wrap; }
.s18_breadcrumb a:hover { color: var(--accent); text-decoration: underline; }
.s18_bc_cur { color: #374151; font-weight: 600; }

/* 리스트 상단/하단 */
.s18_list_top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--accent); }
.s18_total { font-size: 14px; color: #4b5563; }
.s18_total strong { color: var(--accent); }
.s18_top_actions { display: flex; gap: 8px; }
.s18_paging { margin: 28px 0 18px; text-align: center; }
.s18_search_bar { display: flex; justify-content: center; gap: 6px; margin-top: 14px; flex-wrap: wrap; }
.s18_sel_sm { width: auto; min-width: 130px; }
.s18_stx { width: 240px; }

/* 글쓰기 폼 */
.s18_write_title { font-size: 22px; font-weight: 700; margin: 0 0 18px; padding-bottom: 12px; border-bottom: 2px solid var(--accent); }
.s18_field { margin-bottom: 14px; }
.s18_field > label { display: block; font-size: 13px; font-weight: 700; color: #374151; margin-bottom: 6px; }
.s18_req { color: #dc2626; }
.s18_biz_grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px;
    background: var(--accent-soft); border: 1px solid var(--border); border-radius: 10px;
    padding: 16px; margin-bottom: 16px;
}
.s18_col_full { grid-column: 1 / -1; }
.s18_opt_row { margin-bottom: 12px; display: flex; gap: 14px; font-size: 14px; }
.s18_file_row { background: #f9fafb; border: 1px dashed #cbd5e1; border-radius: 8px; padding: 12px 14px; }
.s18_file_input { font-size: 14px; width: 100%; }
.s18_del_chk { display: inline-block; margin-top: 6px; font-size: 13px; color: #dc2626; }
.s18_btn_bar { display: flex; justify-content: flex-end; gap: 8px; margin-top: 22px; }

/* 뷰 공통 */
.s18_view_hd { padding-bottom: 18px; border-bottom: 1px solid #e5e7eb; margin-bottom: 24px; }
.s18_view_kicker { display: inline-block; font-size: 12px; font-weight: 700; color: var(--accent); background: var(--accent-soft); padding: 4px 10px; border-radius: 20px; margin-bottom: 10px; }
.s18_view_title { font-size: 26px; font-weight: 800; line-height: 1.38; margin: 0 0 12px; color: #111827; word-break: keep-all; }
.s18_view_meta { display: flex; gap: 16px; font-size: 13px; color: #6b7280; flex-wrap: wrap; }
.s18_hero_box { margin: 0 0 26px; text-align: center; }
.s18_img_item { margin: 0 0 14px; }
.s18_img_item img { max-width: 100%; height: auto; border-radius: 10px; box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.s18_view_body { font-size: 16px; line-height: 1.85; color: #1f2937; margin-bottom: 30px; word-break: keep-all; }
.s18_view_body img { max-width: 100%; height: auto; }
.s18_biz_card { background: var(--accent-soft); border: 1px solid var(--border); border-radius: 12px; padding: 20px 22px; margin: 22px 0; }
.s18_biz_hd { font-size: 16px; font-weight: 700; color: var(--accent); margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.s18_biz_dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 0; }
.s18_biz_dl > div { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; }
.s18_biz_dl > div.s18_full_row { grid-column: 1 / -1; }
.s18_biz_dl dt { min-width: 64px; font-weight: 700; color: #4b5563; }
.s18_biz_dl dd { margin: 0; color: #111827; word-break: break-word; }
.s18_addr_txt { font-style: normal; display: inline; }
.s18_biz_links { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.s18_link_btn { display: inline-block; padding: 9px 18px; border-radius: 8px; font-size: 14px; font-weight: 700; text-align: center; }
.s18_link_main { background: var(--accent); color: #fff !important; }
.s18_link_sub { background: #fff; color: var(--accent) !important; border: 1px solid var(--accent); }

/* 내부 링크 강화 (관련 최신글 4건) */
.s18_rel_sec { margin: 34px 0 18px; padding-top: 22px; border-top: 1px solid #e5e7eb; }
.s18_rel_hd { font-size: 16px; font-weight: 700; color: #111827; margin: 0 0 14px; }
.s18_rel_list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.s18_rel_item { border: 1px solid #e5e7eb; border-radius: 8px; overflow: hidden; background: #fff; }
.s18_rel_item:hover { border-color: var(--accent); }
.s18_rel_link { display: flex; align-items: center; gap: 12px; padding: 10px; height: 100%; }
.s18_rel_thumb { flex: 0 0 84px; height: 60px; border-radius: 6px; overflow: hidden; background: #f3f4f6; display: block; }
.s18_rel_thumb img { width: 100%; height: 100%; object-fit: cover; }
.s18_rel_info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.s18_rel_corp { font-style: normal; font-size: 11px; font-weight: 700; color: var(--accent); }
.s18_rel_tit { font-size: 14px; font-weight: 600; color: #111827; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.s18_rel_dt { font-size: 11px; color: #6b7280; }

.s18_view_foot { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; border-top: 1px solid #e5e7eb; margin-top: 24px; }
.s18_foot_right { display: flex; gap: 8px; }
.s18_cmt_wrap { margin-top: 28px; }
.s18_cmt_hd { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.s18_cmt_list { list-style: none; padding: 0; margin: 0; }
.s18_cmt_item { padding: 12px 0; border-bottom: 1px solid #f3f4f6; font-size: 14px; }
.s18_cmt_meta { font-size: 13px; color: #6b7280; margin-bottom: 4px; }

.s18_dir_table { width: 100%; border-collapse: collapse; font-size: 14px; }
.s18_dir_table th { background: var(--accent-soft); color: #111827; padding: 12px 10px; border-bottom: 1px solid var(--border); text-align: left; font-weight: 700; }
.s18_dir_table td { padding: 14px 10px; border-bottom: 1px solid #e5e7eb; vertical-align: middle; }
.s18_dir_table tr:hover td { background: #fafafa; }
.s18_col_corp { width: 180px; }
.s18_col_tel { width: 140px; white-space: nowrap; }
.s18_col_date { width: 100px; text-align: center !important; color: #6b7280; }
.s18_row_tit { font-size: 15px; font-weight: 700; display: block; margin-bottom: 3px; }
.s18_row_addr { font-size: 12px; color: #6b7280; }
.s18_split_top { display: flex; gap: 24px; align-items: stretch; margin-bottom: 28px; }
.s18_split_img { flex: 0 0 42%; }
.s18_split_info { flex: 1; }
.s18_split_info .s18_biz_card { margin: 0; height: 100%; }
.s18_split_info .s18_biz_dl { grid-template-columns: 1fr; }
.s18_rel_list { grid-template-columns: 1fr; gap: 8px; }
.s18_rel_thumb { display: none; }
@media (max-width: 768px) {
    .s18_col_tel, .s18_col_date { display: none; }
    .s18_split_top { flex-direction: column; }
    .s18_biz_grid, .s18_biz_dl { grid-template-columns: 1fr; }
}
