/* Source: WEB-INF/jsp/cop/bbs/EgovNoticeInqire.jsp style block 1. */
caption {
  visibility: hidden;
  font-size: 0;
  height: 0;
  margin: 0;
  padding: 0;
  line-height: 0;
}

/* Source: WEB-INF/jsp/cop/bbs/EgovNoticeInqire.jsp style block 2. */
.nav ul li:nth-child(3) {
  margin-left: 18px;
  margin-right: 18px !important;
}
.nav ul li:nth-child(4) {
  margin-left: 18px !important;
}
.nav ul li::after {
  left: 91px !important;
}
.nav ul li:nth-child(2):after {
  left: 108px !important;
}
.nav ul li:nth-child(3):after {
  display: block !important;
  left: 57px !important;
}
.nav ul li:last-child::after {
  display: none;
}
.lnk {
  width: 100% !important;
  height: 100vh !important;
}

/* Source: WEB-INF/jsp/cop/bbs/EgovNoticeInqire.jsp style block 3. */
:root {
  --inq-blue-900: #004c82;
  --inq-blue-700: #1d4ed8;
  --inq-blue-100: #eff6ff;
  --inq-red-900: #92400e;
  --inq-red-700: #b45309;
  --inq-red-100: #fff7ed;
  --inq-text-strong: #0f172a;
  --inq-text-body: #1f2937;
  --inq-text-muted: #334155;
}

/* 기존 파란색 계열 스타일 */
.info-card.insqire {
  width: 100%;
  background: #ffffff;
  border-radius: 8px;
  padding: 18px 28px 64px 28px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-top: 3px solid var(--inq-blue-900);
}

.label.num {
  display: inline-block;
  background: var(--inq-blue-100);
  color: var(--inq-blue-900);
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  border: 1px solid #bfdbfe;
  right: 10px;
  bottom: 15px;
}

/* 민수 제품 계열 스타일 (.N 클래스) */
.info-card.insqire.N {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 3px solid #f59e0b;
}

.label.num.N {
  background: var(--inq-red-100);
  color: var(--inq-red-900);
  border: 1px solid var(--inq-red-100);
}

.info-header {
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.info-header.N {
  border-bottom: 1px solid #e2e8f0;
}

.info-header.G {
  border-bottom: 1px solid #e2e8f0;
}

.info-header a {
  text-decoration: none;
  display: block;
}

.info-title {
  font-size: 22px;
  font-weight: 800;
  background-color: transparent;
  color: var(--inq-text-strong);
  line-height: 1.35;
  margin-top: 12px;
  margin-bottom: 10px;
  padding: 0;
  border-left: 0;
  border-radius: 0;
}

.info-title.N {
  background-color: transparent;
  color: var(--inq-text-strong);
  border-left-color: transparent;
}

.info-title.G {
  background-color: transparent;
  color: var(--inq-text-strong);
  border-left-color: transparent;
}

/* 회사 정보 영역 */
.info-company-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.info-company img {
  width: 18px;
  height: 18px;
  opacity: 0.7;
}

.info-company > div {
  color: var(--inq-text-strong);
  font-weight: 700;
}

.info-company.N,
.info-company.N > div {
  color: var(--inq-red-900);
  font-weight: 700;
}

.button.company-details {
  background: #1d4ed8;
  color: white;
  border: none;
  padding: 9px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.button.company-details.N {
  background: var(--inq-red-900);
  color: white;
}

/* 상세 정보 영역 */
.info-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0 18px;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  padding: 14px 0;
  min-height: 48px;
  border-bottom: 1px solid #f1f5f9;
}

.detail-item .label {
  flex-shrink: 0;
  width: 136px;
  font-size: 14px;
  font-weight: 700;
  color: var(--inq-blue-900);
  line-height: 1.5;
  margin-right: 10px;
}

.detail-item .label.N {
  color: var(--inq-red-900);
}

.detail-item .value {
  flex: 1;
  font-size: 15px;
  color: var(--inq-text-body);
  line-height: 1.5;
  word-break: break-word;
  text-align: left;
}

/* 협회 스타일 하이라이트 배지 */
.value.highlight {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.detail-item .value span[style*="color: #286dc7"] {
  color: var(--inq-blue-700) !important;
  font-weight: 700;
}

.detail-item .value span[style*="color: #932e2e"] {
  color: var(--inq-red-700) !important;
  font-weight: 700;
}

/* 민수 제품 계열 하이라이트 색상 */
.detail-item .value span.N[style*="color: #286dc7"] {
  color: var(--inq-red-900) !important;
  font-weight: 700;
}

.detail-item .value span.N[style*="color: #932e2e"] {
  color: var(--inq-red-700) !important;
  font-weight: 700;
}

/* 협회 스타일 반응형 디자인 */
@media (max-width: 768px) {
  .info-card.insqire {
    padding: 24px;
    margin-bottom: 20px;
  }

  .info-details {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .detail-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
  }

  .detail-item .label {
    width: auto;
    margin-right: 0;
    margin-bottom: 4px;
  }

  .info-company-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

.detail-item.full-width {
  grid-column: 1 / -1;
}

/* 포커스 상태 */
.info-header a:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
  border-radius: 8px;
}

.button.company-details:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.button.company-details.N:focus {
  outline: 2px solid #7f1d1d;
  outline-offset: 2px;
}

/* Source: WEB-INF/jsp/cop/bbs/EgovNoticeInqireMember.jsp style block 1. */
caption {
  visibility: hidden;
  font-size: 0;
  height: 0;
  margin: 0;
  padding: 0;
  line-height: 0;
}

/* Source: WEB-INF/jsp/cop/bbs/EgovNoticeInqireMember.jsp style block 2. */
.nav ul li:nth-child(3) {
  margin-left: 18px;
  margin-right: 18px !important;
}
.nav ul li:nth-child(4) {
  margin-left: 18px !important;
}
.nav ul li::after {
  left: 91px !important;
}
.nav ul li:nth-child(2):after {
  left: 108px !important;
}
.nav ul li:nth-child(3):after {
  display: block !important;
  left: 57px !important;
}
.nav ul li:last-child::after {
  display: none;
}
.lnk {
  width: 100% !important;
  height: 100vh !important;
}

/* Source: WEB-INF/jsp/cop/bbs/EgovNoticeInqireMember.jsp style block 3. */
/* 기존 파란색 계열 스타일 */
.info-card.insqire {
  width: 100%;
  background: #ffffff;
  border-radius: 8px;
  padding: 15px 28px 70px 28px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.label.num {
  display: inline-block;
  background: #eff6ff;
  color: #004c82;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  border: 1px solid #bfdbfe;
  right: 10px;
  bottom: 15px;
}

/* 새로운 붉은 계열 스타일 (.N 클래스) */
.info-card.insqire.N {
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.label.num.N {
  background: #f9f1f1;
  color: #820000;
  border: 1px solid #f9f1f1;
}

.info-header {
  padding-bottom: 12px;
  border-bottom: 2px solid #e0f2fe;
}

.info-header.N {
  border-bottom: 2px solid #f9f1f1;
}

.info-header a {
  text-decoration: none;
  display: block;
}

.info-title {
  font-size: 20px;
  font-weight: 700;
  background-color: #004c82;
  color: #fff;
  line-height: 1.3;
  margin-top: 12px;
  margin-bottom: 12px;
  padding: 10px;
}

.info-title.N {
  background-color: #820000;
  color: #fff;
}

/* 회사 정보 영역 */
.info-company-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.info-company img {
  width: 18px;
  height: 18px;
  opacity: 0.7;
}

.button.company-details {
  background: #004c82;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.button.company-details.N {
  background: #820000;
  color: white;
}

/* 상세 정보 영역 */
.info-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  padding: 14px 0;
  min-height: 48px;
  border-bottom: 1px solid #f1f5f9;
}

.detail-item .label {
  flex-shrink: 0;
  width: 136px;
  font-size: 14px;
  font-weight: 700;
  color: #004c82;
  line-height: 1.5;
  margin-right: 10px;
}

.detail-item .label.N {
  color: #820000;
}

.detail-item .value {
  flex: 1;
  font-size: 15px;
  color: #1f2937;
  line-height: 1.5;
  word-break: break-word;
  text-align: left;
}

/* 협회 스타일 하이라이트 배지 */
.value.highlight {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.value[style*="color: #286dc7"] {
  color: #1d4ed8 !important;
  font-weight: 700;
}

.value[style*="color: #932e2e"] {
  color: #64748b !important;
  font-weight: 700;
}

/* 붉은 계열 하이라이트 색상 */
.value.N[style*="color: #286dc7"] {
  color: #820000 !important;
  font-weight: 700;
}

.value.N[style*="color: #932e2e"] {
  color: #8b6476 !important;
  font-weight: 700;
}

/* 협회 스타일 반응형 디자인 */
@media (max-width: 768px) {
  .info-card.insqire {
    padding: 24px;
    margin-bottom: 20px;
  }

  .info-details {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .detail-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
  }

  .detail-item .label {
    width: auto;
    margin-right: 0;
    margin-bottom: 4px;
  }

  .info-company-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* 다크 모드 - 기존 파란색 계열 */
@media (prefers-color-scheme: dark) {
  .info-card.insqire {
    background: #0f172a;
    border-color: #1e40af;
    border-left-color: #3b82f6;
    box-shadow: 0 2px 12px rgba(59, 130, 246, 0.15);
  }

  .info-company > div {
    color: #93c5fd;
  }

  .detail-item .label {
    color: #60a5fa;
  }

  .detail-item .value {
    color: #e2e8f0;
  }

  .label.num {
    background: #1e3a8a;
    color: #dbeafe;
    border-color: #3b82f6;
  }

  .info-header {
    border-bottom-color: #1e40af;
  }

  .detail-item {
    border-bottom-color: #1e293b;
  }
}

/* 다크 모드 - 붉은 계열 (.N 클래스) */
@media (prefers-color-scheme: dark) {
  .info-card.insqire.N {
    background: #0f0a0a;
    border-color: #7f1d1d;
    border-left-color: #ef4444;
    box-shadow: 0 2px 12px rgba(239, 68, 68, 0.15);
  }

  .info-company > div.N {
    color: #fca5a5;
  }

  .detail-item .label.N {
    color: #f87171;
  }

  .label.num.N {
    background: #7f1d1d;
    color: #fecaca;
    border-color: #ef4444;
  }

  .info-header.N {
    border-bottom-color: #7f1d1d;
  }
}

.detail-item.full-width {
  grid-column: 1 / -1;
}

/* 포커스 상태 */
.info-header a:focus {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
  border-radius: 8px;
}

.button.company-details:focus {
  outline: 2px solid #4338ca;
  outline-offset: 2px;
}

.button.company-details.N:focus {
  outline: 2px solid #7f1d1d;
  outline-offset: 2px;
}
