@charset "utf-8"; /* 툴바 */
.board-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  background: var(--color-postech-sub10);
  border: 1px solid var(--tb-border);
  border-radius: var(--radius);
  padding: 10px;
  margin: 1em 0;
}
/* 버튼 공통 */
.board-toolbar .btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.board-toolbar .btn i {
  font-size: 14px;
}

.board-toolbar .btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.board-toolbar .btn-primary {
  background: var(--color-primary100);
  color: #fff;
  border-color: var(--color-primary100);
}
.btn-primary:hover {
  opacity: 0.5;
}

.board-toolbar .btn-danger {
  background: #fff;
  color: var(--color-danger);
  border-color: var(--color-danger);
}
.board-toolbar .btn-danger:hover {
  opacity: 0.5;
}

.board-toolbar .btn-ghost {
  background: #fff;
  border-color: var(--color-postech-sub5);
}
.board-toolbar .btn-ghost:hover {
  opacity: 0.5;
}

/* 전체선택 라벨 버튼화 */
.selec.board-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* 검색 폼 정렬 */
.search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 280px;
  max-width: 470px;
  padding-bottom: 1.3em;
}
/* ====== Select (카테고리) ====== */
.search-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 14px 0 18px;
  border: 1px solid var(--color-postech-sub30);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  color: #111;
}
.search-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 0;
  background: transparent;
  font: inherit;
  padding-right: 18px;
  outline: none;
  cursor: pointer;
}

/* ====== Input ====== */
.search-input-wrap {
  position: relative;
  flex: 1 1 340px;
}
.search-input {
  width: 75%;
  height: 48px;
  padding: 0 44px 0 16px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  font: inherit;
  transition: border-color 120ms ease;
}

.search-input:focus {
  outline: none;
  border-color: #111;
}

/* ====== Button ====== */
/* 기본 검색 버튼 (PC/태블릿에서는 보임) */
.search-button {
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  font-weight: 600;
  transition: background-color 120ms ease, color 120ms ease,
    border-color 120ms ease;
}
.search-button:hover {
  background: transparent;
  color: #111;
  border-color: #111;
}

.search-icon-btn {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  border: none;
  background: none;
  color: #6b7280;
  font-size: 16px;
  cursor: pointer;
  display: none;
}
/* ====== Result count ====== */
.result-count {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 14px;
  color: #111;
}
.result-count b {
  color: var(--color-primary);
  font-weight: 700;
}

.select-all input[type="checkbox"] {
  width: 16px;
  height: 16px;
}
.board-search {
  margin-bottom: 20px;
}

/* 글쓰기 */
.board-write-section {
}
.bo-form-wrap {
  width: 100%;
}
.bo-form-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0;
  border-bottom: 1px solid var(--color-postech-sub30);
}
.bo-form-row:first-child {
  border-top: 2px solid var(--color-postech-sub);
}
.bo-form-row:last-child {
  border-bottom: 2px solid var(--color-postech-sub);
}

.bo-form-label {
  padding: 16px 16px 16px 20px;
  background: #fafafa;
  font-weight: 600;
  border-right: 1px solid var(--color-postech-sub30);
  display: flex;
  align-items: center;
}
.bo-form-label.required::after {
  content: " *";
  color: #e53935;
  font-weight: 700;
}
.bo-form-field {
  padding: 16px 20px;
}
.bo-field-stack > * + * {
  margin-top: 10px;
}

/* 인풋류 */
.bo-form-wrap .input,
.bo-form-wrap .select,
.bo-form-wrap .editor-textarea {
  width: 100%;
  border: 1px solid #d5d5d5;
  border-radius: 4px;
  padding: 11px 12px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  background: #fff;
}
.bo-form-wrap .select {
  max-width: 300px;
}
.bo-form-wrap .input:focus,
.bo-form-wrap .select:focus,
.bo-form-wrap .editor-textarea:focus {
  border-color: #222;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

/* 에디터 자리 */
.bo-form-wrap .editor-placeholder {
  border: 1px solid #d5d5d5;
  border-radius: 4px;
  background: #fff;
}
.bo-form-wrap .editor-textarea {
  border: 0;
  min-height: 340px;
  resize: vertical;
}

/* 도움말 */
.bo-form-wrap .help-txt {
  margin-top: 8px;
  font-size: 13px;
  color: #777;
}

/* 파일 */
.bo-file-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bo-file-label {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid #bbb;
  border-radius: 4px;
  background: #f5f5f5;
  font-size: 14px;
}
.bo-file {
  display: inline-block;
}
.bo-file-note {
  font-size: 13px;
  color: #999;
}

/* 캡차 */
.captcha-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.captcha-box {
  width: 110px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 3px;
  border: 1px solid #d5d5d5;
  border-radius: 4px;
  background: #f2f2f2;
}
.captcha-input {
  max-width: 220px;
}
.icon-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid #d5d5d5;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}
.icon-btn:active {
  transform: translateY(1px);
}

/* 액션 버튼 */
.bo-form-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 24px 0 0;
}
.bo-form-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid #333;
  background: #333;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.06s ease, filter 0.15s ease, opacity 0.15s ease;
}
.bo-form-actions .btn:hover {
  filter: brightness(1.05);
}
.bo-form-actions .btn:active {
  transform: translateY(1px);
}

.bo-form-actions .btn.btn-cancle {
  background: #fff;
  color: #333;
  border-color: #d0d0d0;
}
.bo-form-actions .btn.btn-submit {
  background: #222;
  border-color: #222;
}

/* 공지 리스트 */
.board-list-subtit {
  font-weight: 700;
  color: #000;
  margin: 0 0 1.5em;
  position: relative;
  z-index: 1;
}
.board-list-subtit h3 {
  font-size: 32px;
  font-weight: 700;
  color: #000;
}
.board-list-subtit .sub-description {
  font-size: 15px;
  color: #666;
  margin: 0;
}

.board-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap; /* 작은 화면에서 줄바꿈 */
}

/* 게시판 테이블 스타일 */
.board-table {
  margin-bottom: 30px;
  border-top: 1px solid var(--color-table-main-bd);
}
.board-table table {
  width: 100%;
  border-collapse: collapse;
}
.board-table th {
  padding: 1em;
  font-weight: 600;
  color: #333;
  text-align: center;
  border-bottom: 1px solid var(--color-table-main-bd);
}
.board-table td {
  padding: 15px;
  font-size: 15px;
  color: #666;
  border-bottom: 1px solid #eee;
  text-align: center;
  font-weight: 600;
}
.board-table .title {
  text-align: left;
}
.board-table .title a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}
.board-table .title a:hover {
  color: var(--color-primary);
}
.bd-li-lb {
  display: inline-block;
  width: 3.65em;
  margin-right: 5px;
  border-radius: 20px;
  border: 1px solid var(--color-badge-gold);
  color: var(--color-badge-gold);
  font-size: 13px;
  font-weight: 600;
  line-height: 2em;
  text-align: center;
  white-space: nowrap;
  position: relative;
  background: transparent;
}
.bd-li-lb.lb-notice {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.bd-li-lb.lb-now {
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.bd-li-lb.lb-pre {
}
.bd-li-lb.lb-end {
  color: var(--color-badge-gray);
  border-color: var(--color-badge-gray);
}
.board-table .w_file {
  display: inline-block;
  font-size: 0.8em;
  vertical-align: middle;
  color: #ababab;
  margin-left: 5px;
}
.board-table .title.w_new::after {
  display: inline-block;
  font-size: 0.75em;
  vertical-align: middle;
  color: var(--color-primary);
  font-weight: bold;
  letter-spacing: -0.02em;
  content: "NEW";
  clear: both;
  margin-left: 0.3em;
}

/* 페이지네이션 스타일 */
.board-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-top: 40px;
}
.board-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #666;
  text-decoration: none;
  transition: all 0.2s;
  font-weight: 600;
}
.board-pagination a.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.board-pagination a:hover:not(.active) {
  background: var(--color-table-th);
  border-color: #ccc;
}

/* 공지사항 상세 페이지 */

.notice-board-section {
  max-width: 1250px;
  margin: 0 auto;
}
.notice-bd-hd {
  border-top: 2px solid var(--color-postech-sub50);
  border-bottom: 2px solid var(--color-postech-sub30);
}
.notice-bd-hd .back-to-bd {
  padding: 1em 1em 0.8em;
  border-bottom: 1px solid var(--color-postech-sub30);
  margin-bottom: 1em;
}
.notice-bd-hd .back-to-bd a {
  display: block;
}
.notice-bd-hd .back-to-bd a:hover {
  opacity: 0.7;
}

.notice-bd-hd .back-to-bd span {
  display: inline-block;
  margin-right: 0.5em;
}
.notice-bd-hd .notice-label {
}
.notice-bd-hd .notice-label span {
  display: inline-block;
  padding: 0.3em 0.8em 0.2em;
  border: 1px solid var(--color-badge-gray);
  border-radius: 10em;
  margin: 0 0.2em;
  font-weight: 600;
  color: var(--color-badge-gray);
}
.notice-bd-hd .notice-label .lb-notice {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.notice-bd-hd .notice-label .lb-pre {
  border-color: var(--color-badge-gold);
  color: var(--color-badge-gold);
}
.notice-bd-hd .notice-label .lb-now {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.notice-bd-hd .notice-label .lb-end {
}
.notice-bd-hd .notice-tit {
  padding: 0.5em 0;
  margin: 0;
}
.notice-bd-hd .notice-sub {
  display: flex;
  gap: 1em;
  margin-bottom: 0.8em;
  font-size: 0.93em;
}
.notice-bd-hd .notice-sub b {
  display: inline-block;
  margin: 0 0.2em;
}
.notice-bd-hd .notice-sub .date {
  color: #666;
}
.notice-bd-hd .notice-sub .count {
  color: #666;
}

.notice-bd-con-wrap {
}
.notice-bd-con {
  padding: 1.5rem;
  min-height: 500px;
  position: relative;
}
.notice-bd-file {
  display: flex;
  background: var(--color-table-th);
  padding: 1.5em 2em;
  border-radius: 0.6rem;
  gap: 1.5em;
  margin: 0.5rem 0;
}
.notice-bd-file-txt {
  font-size: 1.2em;
  font-weight: 700;
}
.notice-bd-file-txt span {
}
.notice-bd-file-li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-evenly;
  color: #666;
  text-decoration: underline;
}
.notice-bd-file-li li {
}
.notice-bd-file-li a:hover {
  color: var(--color-primary90);
}

/* 공자사항 페이지네이션 */
.notice-bd-pg-wrap {
  margin: 1em 0;
}
.notice-bd-pg-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid var(--color-postech-sub30);
  border-radius: 12px;
}
.sub-company-con .notice-bd-pg-list {
  margin-left: 0;
  padding: 0;
}
.sub-company-con .notice-bd-pg-list li::before {
  display: none;
}
.notice-bd-pg-list li {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #f3f4f6;
  margin-bottom: 0;
}
.notice-bd-pg-list li:first-child {
  border-top: 0;
}
.notice-bd-pg-list .notice-bd-pg-li {
  color: #555;
  font-weight: 600;
  background: var(--color-table-th);
  text-align: center;
  font-size: 0.9em;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 2em;
  border-radius: 0.2rem;
}
.notice-bd-pg-list li a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}
.notice-bd-pg-list time {
  color: var(--color-postech-sub50);
  font-size: 0.85em;
}

/* 공지사항 하단 뒤로가기 */
.notice-bd-btm-back {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.notice-bd-btm-back a {
  padding: 0.6em 1em 0.5em;
  background: var(--color-table-th);
  font-size: 0.95em;
  font-weight: 700;
  border-radius: 0.4rem;
}
.notice-bd-btm-back a:hover {
  background-color: var(--color-primary90);
  color: #fff;
}

/* 뉴스 게시판 : board/news */
.news-board .chk-item {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
}
.news-board img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  list-style: none;
  min-height: 480px;
}
.news-link {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: var(--color-postech-sub5);
  text-decoration: none;
  color: #fff !important;
  height: 100%;
  width: 100%;
}
.news-thumb {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 100%;
}
.news-thumb img,
.news-thumb .no-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: 0.25s;
}

.news-thumb .no-image {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #bbbaba;
  font-size: 2em;
}

.news-txt {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2em 1.5em;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) -1%,
    rgba(0, 0, 0, 0.55) 61%,
    rgba(0, 0, 0, 0.85) 100%
  );
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: padding 0.25s ease;
}

/* 배지: 공지/일반 */
.news-lb {
  align-self: flex-start;
  font-size: 12px;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--color-postech-sub30);
  border: 1px solid var(--color-postech-sub30);
  color: #232323;
  font-weight: bold;
}
.news-lb.is-notice {
  background: var(--color-primary90);
  color: #fff;
}
.news-badge {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  width: 100px;
  height: 100px;
  background: url("../image/board/news_lb_bg.png") no-repeat top 0px right 0px /
    93% auto;
}
.news-badge span {
  width: 4.3em;
  height: 4.3em;
  background-color: #232323;
  color: #fff;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1em;
  border-radius: 50%;
}
.news-badge.is-new span {
  background-color: var(--color-primary);
}

/* 제목 & 날짜 */
.news-txt .title {
  font-size: 2em;
  word-break: keep-all;
  font-weight: 800;
  line-height: 1.25;
  transition: transform 0.25s ease, font-size 0.25s ease, opacity 0.2s ease;
  transform-origin: left bottom;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-clamp: 3;
}

.news-txt .date {
  font-size: 14px;
  line-height: 1.2;
}

/* Hover / Focus 상태: 제목 커지고 날짜 표시 */

.news-link:hover img,
.news-link:focus-visible img {
  transform: scale(1.15);
}

/* 접근성: 키보드 포커스 윤곽 */
.news-link:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.8);
  outline-offset: 2px;
}

/* 입주기업 리스트 */
/* 입주기업 컨테이너 */
.tenant-company-container {
  display: flex;
  flex-direction: column;
  margin: 0 auto 50px;
}

/* 기업 아이템 스타일 */
.tenant-company-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 40px;
  transition: all 0.3s ease;
  width: 100%;
}
.tenant-company-item:hover {
  background-color: #f9f9f9;
}

.tenant-company-logo {
  position: relative;
  display: inline-block;
  flex: 0 0 400px;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #efefef;
  background: #fff;
}
.tenant-company-logo .no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: var(--color-table-th);
  color: #666;
  font-size: 1.4em;
  min-height: 280px;
}
.tenant-company-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}
.tenant-company-info {
  flex: 1;
}
.tenant-company-name {
  padding-bottom: 22px;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  color: #000;
  margin-bottom: 0;
}
.tenant-company-item:hover .tenant-company-name {
  color: var(--color-primary);
}

.tenant-company-desc li {
  display: flex;
  padding-left: 15px;
  gap: 10px;
}
.tenant-company-desc li:not(:last-child) {
  margin-bottom: 5px;
}
.tenant-company-desc b {
  color: #000;
  position: relative;
}
.tenant-company-desc b::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 40%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #000;
}
.tenant-company-desc p {
  font-weight: 500;
}

.tenant-company-more {
  position: absolute;
  right: 3%;
  bottom: 9%;
}
.tenant-company-more a {
  display: inline-block;
  padding: 0.6em 1.2em;
  background: var(--color-postech-sub50);
  border-radius: 0.2rem;
  font-weight: bold;
  color: #fff;
}
.tenant-company-more a:hover {
  background: var(--color-primary100);
}

/* 페이징 스타일 */
.tenant-company-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-top: 40px;
}

.tenant-company-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #666;
  text-decoration: none;
  transition: all 0.2s;
}

.tenant-company-pagination a.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.tenant-company-pagination a:hover:not(.active) {
  background: #f8f9fa;
  border-color: #ccc;
}

/* 입주기업 상세 */
.tenant-company-detail-grid {
  padding: 1em 1.5em;
}
.tenant-company-card {
  background: #fff;
  border-radius: 12px;
  padding: 0.5em 0;
}

.tenant-company-subtit {
  margin: 0 0 16px;
  font-size: 1.1875rem;
  font-weight: 800;
  color: var(--color-postech-sub70);
}
.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.tenant-detail-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  table-layout: auto;
}

.tenant-detail-table th,
.tenant-detail-table td {
  padding: 16px 20px;
  border-top: 1px solid var(--color-postech-sub30);
  vertical-align: middle;
  text-align: left;
  background: #fff;
  word-break: keep-all;
}

.tenant-detail-table tr:first-child th,
.tenant-detail-table tr:first-child td {
  border-top: 1px solid var(--color-table-main-bd);
}
.tenant-detail-table tr:last-child th,
.tenant-detail-table tr:last-child td {
  border-bottom: 1px solid var(--color-table-main-bd);
}

.tenant-detail-table th {
  width: 180px;
  background: var(--color-table-th);
  font-weight: 700;
  text-align: center;
}
.tenant-detail-table td {
  color: #666;
}

.tenant-detail-table td a {
  color: #666;
  text-decoration: none;
}

.tenant-detail-table td a:hover {
  text-decoration: underline;
}
.company-logo-box {
  display: grid;
  place-items: center;
  padding: 1.5em 1em;
  min-height: 220px;
}
.company-logo-box img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.tenant-company-pg-wrap {
  margin: 1em 0;
}
.tenant-company-pg-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid var(--color-table-sub-bd);
  border-radius: 12px;
}
.sub-company-con .tenant-company-pg-list {
  margin-left: 0;
  padding: 0;
}
.sub-company-con .tenant-company-pg-list li::before {
  display: none;
}

.tenant-company-pg-list li {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #f3f4f6;
  margin-bottom: 0;
}
.tenant-company-pg-list li:first-child {
  border-top: 0;
}
.tenant-company-pg-list .tenant-company-pg-li {
  color: #333;
  font-weight: 600;
  background: var(--color-table-th);
  text-align: center;
  font-size: 0.9em;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 2em;
  border-radius: 0.2rem;
}
.tenant-company-pg-list li a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}
.tenant-company-pg-list time {
  color: var(--color-postech-sub50);
  font-size: 0.85em;
}

.tenant-company-pg-back {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.tenant-company-pg-back a {
  padding: 0.6em 1em 0.5em;
  background: var(--color-postech-sub30);
  font-size: 0.95em;
  font-weight: 700;
  border-radius: 0.4rem;
}
.tenant-company-pg-back a:hover {
  background-color: var(--color-primary90);
  color: #fff;
}

/* FAQ */
.faq-list {
  border-top: 1px solid var(--color-table-main-bd);
}
.faq-item {
  border-bottom: 1px solid var(--color-table-sub-bd);
}

/* 질문 */
.faq-question {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  cursor: pointer;
  transition: background-color 0.2s;
}
.faq-question:hover {
  background-color: var(--color-table-th);
}
.q-badge,
.a-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-weight: 600;
  flex-shrink: 0;
}
.q-badge {
  background: var(--color-primary);
  color: #fff;
}
.a-badge {
  background: #fff;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.faq-question p {
  flex: 1;
  margin: 0;
  font-size: 16px;
  color: #333;
  font-weight: 600;
}
.toggle-btn {
  background: none;
  border: none;
  color: #999;
  padding: 0;
  transition: transform 0.25s ease;
}
.faq-item.is-open .toggle-btn {
  transform: rotate(180deg);
}

/* 답변 */
.faq-answer {
  overflow: hidden;
  height: 0;
  opacity: 0;
  transition: height 0.3s ease, opacity 0.25s ease;
}
.faq-answer-inner {
  display: flex;
  gap: 15px;
  padding: 20px;
  background: var(--color-table-th);
}
.faq-answer p {
  flex: 1;
  margin: 0;
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  font-weight: 600;
}
.faq-item.is-open .faq-answer {
  opacity: 1;
}

@media (max-width: 1024px) {
  /* */
  /* 글쓰기 */
  .bo-form-row {
    grid-template-columns: 160px 1fr;
  }
  .bo-form-wrap .editor-textarea {
    min-height: 300px;
  }

  /* 검색폼 */
  .board-controls {
    gap: 14px;
  }
  .search-form {
    gap: 10px;
  }
  .search-input {
    height: 42px;
  }
  .search-select-wrap,
  .search-button {
    height: 42px;
  }
  /* 리스트 */
  .board-list-subtit {
  }

  .board-list-subtit h3 {
    font-size: 24px;
  }
  /* 입주기업 리스트 */
  .tenant-company-logo {
    flex: 0 0 310px;
    height: 290px;
  }
  .tenant-company-details {
    padding: 10px 15px;
  }
  /* 뉴스 */
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
  .news-txt {
    padding: 16px 16px 18px;
  }
}

@media (max-width: 767px) {
  /* 툴바 */
  .board-toolbar .btn .btn-text {
    position: absolute;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    overflow: hidden;
    white-space: nowrap;
  }

  /* 글쓰기 */
  .bo-form-row {
    grid-template-columns: 1fr; /* 라벨 위, 필드 아래 */
  }
  .bo-form-label {
    border-right: 0;
    border-bottom: 1px solid #eee;
    padding: 12px 14px;
  }
  .bo-form-field {
    padding: 12px 14px;
  }
  .bo-form-wrap .editor-textarea {
    min-height: 240px;
  }
  .captcha-input {
    max-width: 100%;
  }
  .bo-form-actions {
    padding-top: 18px;
  }
  /* 검색폼 */
  .board-controls {
    flex-direction: column;
    align-items: stretch;
  }
  .search-form {
    width: 100%;
    gap: 8px;
    max-width: 100%;
  }
  .search-select-wrap {
    flex: 0 0 auto;
  }
  .search-input-wrap {
    flex: 1 1 auto;
  }
  .result-count {
    align-self: flex-end;
    font-size: 1.15rem;
    padding: 0 0 20px;
  }
  .search-button {
    display: none;
  } /* 검색 버튼 숨김 */
  .search-icon-btn {
    display: inline-flex;
  } /* 인풋 내부 아이콘 노출 */
  /* 리스트 */
  .board-list-subtit .sub-description {
    font-size: 14px;
  }

  .board-table table {
    table-layout: fixed;
  }

  .board-table th,
  .board-table td {
    padding: 10px 5px;
    font-size: 13px;
  }

  .board-pagination a {
    width: 2.3em;
    height: 2.3em;
    font-size: 0.95em;
  }
  .board-table thead {
    display: none;
  }

  .board-table tbody tr {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    border-bottom: 1px solid #eee;
    --num-w: 35px;
  }
  .board-table tbody tr > td {
    border: 0;
    padding: 0;
    min-width: 0;
    background: none;
  }

  /* 1줄: [num] [title] — 1열 고정폭, 2열 유동폭 */
  .board-table tbody td.num {
    order: 1;
    flex: 0 0 var(--num-w);
    max-width: var(--num-w);
    text-align: center;
    font-size: 13px;
    color: #888;
  }
  .board-table tbody td.title {
    order: 1;
    flex: 1 1 calc(100% - 63px);
    min-width: 0;
    padding-left: 10px;
    display: flex;
    align-items: center;
  }
  .board-table tbody td.title a {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 15px;
    color: #111;
    text-decoration: none;
  }
  /* 줄 바꿈: 위(1줄)와 아래(2줄) 사이 강제 개행 */
  .board-table tbody tr::after {
    content: "";
    order: 1;
    flex-basis: 100%;
  }

  /* 2줄: [date] | [view] (좌측 정렬, 가운데 구분자) */
  .board-table tbody td.date {
    order: 2;
    flex: 0 0 auto;
    font-size: 13px;
    color: #666;
  }
  .board-table tbody td.view {
    order: 2;
    flex: 0 0 auto;
    font-size: 13px;
    color: #666;
    position: relative;
    padding-left: 16px; /* 구분자 여백 */
    text-align: left; /* PC 우정렬 덮어쓰기 */
  }
  .board-table tbody td.view::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background: #ddd; /* | 구분자 */
  }

  /* (선택) 뱃지가 num 폭보다 클 때 살짝 컴팩트하게 */
  .board-table tbody td.num .bd-li-lb {
    width: 4em;
    padding: 0;
    font-size: 11px;
  }

  /* 뉴스 */
  .news-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .news-badge span {
    width: 4.8em;
    height: 4.8em;
  }
  .news-txt .date {
    font-size: 13px;
  }

  /* 입주기업 리스트*/
  .tenant-company-info {
    width: 100%;
  }
  .tenant-company-desc li {
    gap: 0;
    flex-direction: column;
  }

  .tenant-company-details {
    padding: 10px 15px;
  }
  .tenant-company-item {
    flex-direction: column;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 40px 0;
  }
  .tenant-company-item:hover {
    background: none;
  }
  .tenant-company-logo {
    width: 100%;
    flex: 0 0 230px;
  }
  .tenant-company-logo .no-image,
  .tenant-company-logo img {
    min-height: 230px;
  }
  .tenant-company-name {
    padding: 0 12px;
  }
  .tenant-company-more {
    text-align: center;
    right: unset;
    bottom: 1em;
    position: relative;
    width: 95%;
    margin: 0 auto;
  }

  .tenant-company-more a {
    width: 100%;
  }
  .tenant-company-pagination a {
    width: 2.3em;
    height: 2.3em;
    border-radius: 2px;
    font-size: 0.95em;
  }

  /* 입주기업 상세*/
  .tenant-company-pg-list li {
    grid-template-columns: 4em 1fr auto;
  }
  .tenant-company-detail-grid {
    padding: 1em 0;
  }
  .tenant-company-subtit {
    margin-bottom: 12px;
    font-size: 1.0625rem;
  }
  .tenant-detail-table {
    font-size: 0.95rem;
  }
  .tenant-detail-table th,
  .tenant-detail-table td {
    padding: 12px 14px;
  }

  /* FAQ */
  /* FAQ 스타일 === 767px */

  .faq-question {
    padding: 10px;
  }
  .faq-answer-inner {
    padding: 15px 10px;
  }
  .faq-question p,
  .faq-answer p {
    font-size: 14px;
  }
}
