@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');
/* @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&display=swap'); */
/* NotoSans 쓸 경우 주석 풀고, body 적용 */

.font-montserrat {
  font-family: "Montserrat", sans-serif;
}
@font-face {
  font-family: "Pretendard";
  src: url("fonts/Pretendard-ExtraLight.otf") format("opentype");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: "Pretendard";
  src: url("fonts/Pretendard-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Pretendard";
  src: url("fonts/Pretendard-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Pretendard";
  src: url("fonts/Pretendard-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Pretendard";
  src: url("fonts/Pretendard-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Pretendard";
  src: url("fonts/Pretendard-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Pretendard";
  src: url("fonts/Pretendard-ExtraBold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
}


* {
  word-break: keep-all;
  box-sizing: border-box;
}

body {
  font-family: "Pretendard", "Noto Emoji", "Segoe UI Emoji", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1rem;
}

/* 초기화 */
html {
  overflow-y: auto !important;
}

html,
h1,
h2,
h3,
h4,
h5,
h6,
form,
fieldset,
img {
  margin: 0;
  padding: 0;
  border: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 1em;
  font-family: inherit !important;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

ul,
dl,
dt,
dd {
  margin: 0;
  padding: 0;
  list-style: none;
}

legend {
  position: absolute;
  margin: 0;
  padding: 0;
  font-size: 0;
  line-height: 0;
  text-indent: -9999em;
  overflow: hidden;
}

label,
input,
button,
select,
img {
  vertical-align: middle;
  font-size: 1em;
}

input,
button {
  margin: 0;
  padding: 0;
  font-family: inherit !important;
}

input[type="submit"] {
  cursor: pointer;
}

button {
  cursor: pointer;
}

textarea,
select {
  font-family: inherit !important;
}

select {
  margin: 0;
}

p {
  margin: 0;
  padding: 0;
  word-break: break-all;
}

pre {
  overflow-x: scroll;
  font-size: 1.1em;
}

a {
  color: inherit;
  text-decoration: none;
}

/*head.sub.php로 셋팅하는 값 = full-h, full-w*/
:root {
  --primary: #1F4C8A;
  --seconday: #666;
  --ca-color: #333;
  --full-h: calc(var(--vh, 1vh) * 100);
  --full-w: calc(var(--vw, 1vw) * 100);
  --header-h: 80px;
  --lnb-h: 48px;
}

.overlay {
  position: relative;
}

.overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 0;
}

#header.active {
  background-color: #fff !important;
  color: #212121 !important;
  border-bottom-color: #eaeaea !important;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

#header.active * {
  color: #212121 !important;
}

#header.active a,
#header.active button,
#header.active i {
  color: #212121 !important;
}

/* 서브메뉴는 헤더 active 상태와 무관하게 독립적으로 색상 관리 */
#header nav ul li.group > ul,
#header nav ul li.group > ul * {
  color: #696969 !important;
}

#header nav ul li.group > ul a:hover,
#header nav ul li.group > ul a:active {
  color: #000 !important;
}

#header.active nav ul li.group > ul,
#header.active nav ul li.group > ul * {
  color: #696969 !important;
}

#header.active nav ul li.group > ul a:hover,
#header.active nav ul li.group > ul a:active {
  color: #000 !important;
}

#header.active #logo {
  background-image: url("../img/logo.png") !important;
  filter: none;
}

/* 기본 상태: 흰색 로고 */
#header #logo {
  background-image: url("../img/logo_w.png") !important;
}

/* 서브메뉴가 사라지지 않도록 상단 패딩 영역 추가 */
#header nav ul li.group > ul::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

/* 아이콘 있는 경우 header.active * {color: #000 !important;} 해주시면 됩니다. */

/* 헤더 active 상태일 때 아이콘 검은색으로 변경 */
#header.active button img.brightness-0.invert {
  filter: none !important;
  color: #000 !important;
}


/* 애니메이션 관련 */


/* 버튼 */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-primary:hover,
.btn-primary:focus {
  background: #fff;
  color: var(--primary);
  outline: 1px solid var(--primary);
  box-shadow: 0 2px 8px rgba(96, 165, 250, 0.15);
}

.btn-primary:active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 1px 4px rgba(96, 165, 250, 0.1);
}

.btn-secondary {
  background-color: var(--seconday);
  color: #fff;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: #fff;
  color: var(--seconday);
  outline: 1px solid var(--seconday);
  box-shadow: 0 2px 8px rgba(156, 163, 175, 0.15);
}

.btn-secondary:active {
  background: var(--seconday);
  color: #fff;
  box-shadow: 0 1px 4px rgba(156, 163, 175, 0.1);
}

.btn-primary-outline {
  background-color: transparent;
  color: var(--primary);
  outline: 1px solid var(--primary);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-primary-outline:hover,
.btn-primary-outline:focus {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(96, 165, 250, 0.15);
  outline: none;
}

.btn-primary-outline:active {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 1px 4px rgba(96, 165, 250, 0.1);
}

.btn-secondary-outline {
  background-color: transparent;
  color: var(--seconday);
  outline: 1px solid var(--seconday);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-secondary-outline:hover,
.btn-secondary-outline:focus {
  background: var(--seconday);
  color: #fff;
  box-shadow: 0 2px 8px rgba(156, 163, 175, 0.15);
  outline: none;
}

.btn-secondary-outline:active {
  background: #fff;
  color: var(--seconday);
  box-shadow: 0 1px 4px rgba(156, 163, 175, 0.1);
}



.button:disabled,
.btn-primary:disabled,
.btn-secondary:disabled,
.btn-primary-outline:disabled,
.btn-secondary-outline:disabled {
  background: #e5e7eb !important;
  /* Tailwind gray-200 */
  color: #b0b0b0 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  opacity: 0.6;
  pointer-events: none;
  filter: grayscale(0.2);
}

.sit_icon {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
}

.editor-content img {
  display: initial;
}

#sev_himg * {
  font-family: "Pretendard", "Noto Emoji", "Segoe UI Emoji", sans-serif !important;
}

.sev_admin {
  display: none;
}

#toggler span {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 2px;
  max-height: 5px;
  transition: all ease 200ms;
  z-index: 100;

}

#toggler .first {
  top: 0%;
  transition: transform 100ms;
}

#toggler .second {
  top: 50%;
}

#toggler .third {
  top: 100%;
}

#toggler.active .first {
  transform: translateY(13px) translateX(0) rotate(45deg);
  transition: all ease 200ms;
}

#toggler.active .second {
  opacity: 0;
  transition: all ease 200ms;
}

#toggler.active .third {
  transform: translateY(-11px) translateX(0) rotate(-45deg);
  transition: all ease 200ms;
}

#toggler.active span {
  background-color: #000;
}

.main-nav {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 0;
  height: var(--full-h);
  width: 100%;
  padding-top: var(--header-h);
  opacity: 0;
  transform: scale(0.85);
  transition: 0.5s;
  visibility: hidden;
  /* background-image: url(../img/sub/diagram_bg2.png); */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #fff;
}

/* 모바일 메뉴 토글러 스타일 통일 */
#toggler,
#mobileToggler {
  cursor: pointer;
}

#toggler i,
#mobileToggler i {
  transition: transform 0.3s ease;
}

#toggler.active i,
#mobileToggler.active i {
  transform: rotate(90deg);
}

.main-nav.active {
  visibility: visible;
  z-index: 50;
  transform: scale(1);
  opacity: 1;
  transition: 0.5s;
}

.main-nav>ul>li>a {

  color: #000;
  font-weight: 300;
  display: block;
  transition: 0.5s;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  font-weight: 500;
}

.main-nav>ul>li:last-child>a {
  border-bottom: none;
}

.main-nav>ul>li>a:hover {
  opacity: 0.45;
  transition: 0.5s;
  padding: 0.8em;
}

/* SPlitType */
@keyframes slide-up2 {
  0% {
    transform: translateX(40px);
    opacity: 0;
  }

  30% {
    transform: translateX(40px);
    opacity: 1;
  }
}

.char {
  display: inline-block;
  animation: slide-up2 1.2s cubic-bezier(0.5, 0, 0.5, 1) both;
  animation-delay: calc(100ms * var(--char-index));
}

/* Search & Menu 오버레이 스타일 */
#searchOverlay,
#menuOverlay {
  will-change: transform;
}

#searchOverlay input::placeholder {
  color: #999;
}

#searchOverlay input:focus::placeholder {
  color: #ccc;
}

/* Search & Menu 버튼 컨테이너 */
#searchBtn,
#menuBtn,
#searchBtnMobile,
#menuBtnMobile {
  transition: color 0.3s ease;
}

/* 기본 상태: 흰색 */
#searchBtn,
#menuBtn,
#searchBtnMobile,
#menuBtnMobile {
  color: #fff;
}

/* 헤더 스크롤 시 버튼 색상 변경 (검은색) */
body.header-scrolled #searchBtn,
body.header-scrolled #menuBtn,
body.header-scrolled #searchBtnMobile,
body.header-scrolled #menuBtnMobile {
  color: #000 !important;
}

/* 헤더 스크롤 시 SVG 아이콘 색상 변경 */
body.header-scrolled #searchBtn svg,
body.header-scrolled #menuBtn svg,
body.header-scrolled #searchBtnMobile svg,
body.header-scrolled #menuBtnMobile svg {
  color: #000;
}

/* 오버레이가 열렸을 때 헤더 배경을 흰색으로 변경 */
body.overlay-open #header {
  background-color: #ffffff !important;
}

/* 오버레이가 열렸을 때 헤더 active 상태의 box-shadow 제거 */
body.overlay-open #header.active {
  box-shadow: none !important;
}

/* 오버레이가 열렸을 때 헤더 로고 숨기기 */
body.overlay-open #header #logo {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* 메뉴 오버레이가 열렸을 때 중간 메뉴 숨기기 */
body.overlay-open #headerNav {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* 오버레이가 열렸을 때 버튼 컨테이너 z-index 조정 */
body.overlay-open #headerBtnContainer,
body.overlay-open #headerBtnContainerMobile {
  z-index: 181;
  position: relative;
}

/* 오버레이가 열렸을 때 버튼 색상 변경 */
body.overlay-open #searchBtn,
body.overlay-open #menuBtn,
body.overlay-open #searchBtnMobile,
body.overlay-open #menuBtnMobile {
  color: #212121 !important;
}

/* 검색 오버레이 열림 상태 */
#searchOverlay.open {
  transform: translateY(0);
}

/* 검색 오버레이 닫힘 상태 - 헤더 아래에서 시작하므로 전체 높이만큼 위로 이동 */
#searchOverlay:not(.open) {
  transform: translateY(calc(-100% - 80px));
}

/* 메뉴 오버레이 열림 상태 - 위에서 아래로 슬라이드 */
#menuOverlay.open {
  transform: translateY(0);
}

/* 메뉴 오버레이 닫힘 상태 - 헤더 아래에서 시작하므로 전체 높이만큼 위로 이동 */
#menuOverlay:not(.open) {
  transform: translateY(calc(-100% - 80px));
}

/* 메뉴 오버레이 내부 메뉴 항목 fade 효과 */
#menuOverlay:not(.open) .menu-overlay-item,
#menuOverlay:not(.open) .menu-overlay-sub-item {
  opacity: 0 !important;
}

#menuOverlay.open .menu-overlay-item,
#menuOverlay.open .menu-overlay-sub-item {
  opacity: 1;
}

/* 섹션 타이틀 스타일 */
.section-title-container {
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  align-items: center;
}

.section-subtitle {
  font-size: 10px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.175rem; /* tracking-widest */
}

.section-title {
  font-size: 24px;
  font-weight: 500;
}


.root_daum_roughmap .cont, .root_daum_roughmap .wrap_controllers{
  display: none;
}

/* 태블릿 스타일 */
@media (min-width: 768px) {
  .section-subtitle {
    font-size: 11px;
  }

  .section-title {
    font-size: 30px;
  }
}

/* PC 스타일 */
@media (min-width: 1024px) {
  .section-subtitle {
    font-size: 12px;
  }

  .section-title {
    font-size: 36px;
  }
}

/* INQUIRY 폼 래퍼 스타일 */
.inquiry-form-wrapper {
  padding: 100px 106px;
  border-radius: 20px;
  border: 1px solid #EAEAEA;
  background: #FFF;
}

@media (max-width: 1023px) {
  .inquiry-form-wrapper {
    padding: 60px 40px;
  }
}

@media (max-width: 767px) {
  .inquiry-form-wrapper {
    padding: 40px 20px;
  }
}

/* INQUIRY 페이지 컨테이너 반응형 */
.inquiry-page-container {
  padding-top: 40px;
  padding-bottom: 40px;
}

@media (min-width: 768px) {
  .inquiry-page-container {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

@media (min-width: 1024px) {
  .inquiry-page-container {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}

/* INQUIRY 폼 제목 컨테이너 반응형 */
.inquiry-title-container {
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .inquiry-title-container {
    margin-bottom: 25px;
  }
}

@media (min-width: 1024px) {
  .inquiry-title-container {
    margin-bottom: 30px;
  }
}

/* INQUIRY 폼 그리드 간격 반응형 */
.inquiry-form-grid {
  margin-bottom: 30px;
}

@media (min-width: 768px) {
  .inquiry-form-grid {
    margin-bottom: 40px;
  }
}

@media (min-width: 1024px) {
  .inquiry-form-grid {
    margin-bottom: 50px;
  }
}

/* INQUIRY 폼 문의사항 섹션 간격 반응형 */
.inquiry-content-section {
  margin-bottom: 30px;
}

@media (min-width: 768px) {
  .inquiry-content-section {
    margin-bottom: 40px;
  }
}

@media (min-width: 1024px) {
  .inquiry-content-section {
    margin-bottom: 50px;
  }
}

/* INQUIRY 폼 버튼 컨테이너 간격 반응형 */
.inquiry-button-container {
  margin-top: 30px;
  gap: 12px;
  flex-direction: column;
}

@media (min-width: 768px) {
  .inquiry-button-container {
    margin-top: 40px;
    gap: 16px;
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .inquiry-button-container {
    margin-top: 50px;
    gap: 12px;
  }
}

/* INQUIRY 폼 라벨 스타일 */
.inquiry-form-wrapper label {
  font-size: 16px;
  font-weight: 500;
}

@media (min-width: 768px) {
  .inquiry-form-wrapper label {
    font-size: 18px;
  }
}

@media (min-width: 1024px) {
  .inquiry-form-wrapper label {
    font-size: 20px;
  }
}

/* INQUIRY 폼 필수 표시 스타일 */
.inquiry-form-wrapper .required-asterisk {
  color: var(--primary);
  margin-left: 2px;
}

/* INQUIRY 폼 인풋 스타일 */
.inquiry-form-wrapper input[type="text"],
.inquiry-form-wrapper input[type="email"],
.inquiry-form-wrapper input[type="password"],
.inquiry-form-wrapper input[type="tel"],
.inquiry-form-wrapper textarea,
.inquiry-form-wrapper select {
  border-radius: 10px;
  border: 2px solid #EAEAEA;
  background: #FFF;
  padding: 12px 15px;
}

@media (min-width: 768px) {
  .inquiry-form-wrapper input[type="text"],
  .inquiry-form-wrapper input[type="email"],
  .inquiry-form-wrapper input[type="password"],
  .inquiry-form-wrapper input[type="tel"],
  .inquiry-form-wrapper textarea,
  .inquiry-form-wrapper select {
    padding: 16px 17px;
  }
}

@media (min-width: 1024px) {
  .inquiry-form-wrapper input[type="text"],
  .inquiry-form-wrapper input[type="email"],
  .inquiry-form-wrapper input[type="password"],
  .inquiry-form-wrapper input[type="tel"],
  .inquiry-form-wrapper textarea,
  .inquiry-form-wrapper select {
    padding: 20px 19px;
  }
}

.inquiry-form-wrapper input[type="text"]:focus,
.inquiry-form-wrapper input[type="email"]:focus,
.inquiry-form-wrapper input[type="password"]:focus,
.inquiry-form-wrapper input[type="tel"]:focus,
.inquiry-form-wrapper textarea:focus,
.inquiry-form-wrapper select:focus {
  outline: none;
  border-color: #1F4C8A;
  box-shadow: none;
}

/* INQUIRY 폼 파일 입력 스타일 */
/* 파일 input은 다른 input과 동일한 스타일 적용 */
.inquiry-form-wrapper input[type="file"] {
  border-radius: 10px;
  border: 2px solid #EAEAEA;
  background: #FFF;
  padding: 12px 15px;
}

@media (min-width: 768px) {
  .inquiry-form-wrapper input[type="file"] {
    padding: 16px 17px;
  }
}

@media (min-width: 1024px) {
  .inquiry-form-wrapper input[type="file"] {
    padding: 12px 18px;
  }
}

.inquiry-form-wrapper input[type="file"]:focus {
  outline: none;
  border-color: #1F4C8A;
  box-shadow: none;
}

/* 파일 선택 버튼만 커스텀 스타일 */
.inquiry-form-wrapper input[type="file"]::file-selector-button {
  border-radius: 5px;
  border: 1px solid #696969;
  background: #EAEAEA;
  padding: 6px 20px;
  margin-right: 12px;
  cursor: pointer;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  color: #696969;
}

@media (min-width: 768px) {
  .inquiry-form-wrapper input[type="file"]::file-selector-button {
    padding: 7px 25px;
    font-size: 15px;
  }
}

@media (min-width: 1024px) {
  .inquiry-form-wrapper input[type="file"]::file-selector-button {
    padding: 8px 30px;
    font-size: 16px;
  }
}

.inquiry-form-wrapper input[type="file"]::file-selector-button:hover {
  background: #D0D0D0;
}

/* 웹킷 브라우저용 파일 선택 버튼 스타일 */
.inquiry-form-wrapper input[type="file"]::-webkit-file-upload-button {
  border-radius: 5px;
  border: 1px solid #696969;
  background: #EAEAEA;
  padding: 6px 20px;
  margin-right: 12px;
  cursor: pointer;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  color: #696969;
}

@media (min-width: 768px) {
  .inquiry-form-wrapper input[type="file"]::-webkit-file-upload-button {
    padding: 7px 25px;
    font-size: 15px;
  }
}

@media (min-width: 1024px) {
  .inquiry-form-wrapper input[type="file"]::-webkit-file-upload-button {
    padding: 8px 30px;
    font-size: 16px;
  }
}

/* INQUIRY 폼 등록 버튼 스타일 */
.inquiry-submit-btn {
  padding: 12px 40px;
  font-size: 14px;
  color: #fff;
  background: var(--primary);
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: 400;
  transition: all 0.3s ease;
  width: 100%;
}

@media (min-width: 768px) {
  .inquiry-submit-btn {
    padding: 14px 60px;
    font-size: 15px;
    width: auto;
  }
}

@media (min-width: 1024px) {
  .inquiry-submit-btn {
    padding: 16px 86px;
    font-size: 16px;
  }
}

.inquiry-submit-btn:hover {
  opacity: 0.9;
}

.inquiry-submit-btn:active {
  opacity: 0.8;
}

/* INQUIRY 폼 문의내역 버튼 스타일 */
.inquiry-history-btn {
  padding: 12px 40px;
  font-size: 14px;
  color: #000;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #EAEAEA;
  cursor: pointer;
  font-weight: 400;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  width: 100%;
}

@media (min-width: 768px) {
  .inquiry-history-btn {
    padding: 14px 60px;
    font-size: 15px;
    width: auto;
  }
}

@media (min-width: 1024px) {
  .inquiry-history-btn {
    padding: 16px 86px;
    font-size: 16px;
  }
}

.inquiry-history-btn:hover {
  opacity: 0.9;
  background: #f5f5f5;
}

.inquiry-history-btn:active {
  opacity: 0.8;
}

/* 페이지네이션 공통 스타일 */
.pg_wrap {
  margin-top: 15px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.pg {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0 auto;
}

.pg_page,
.pg_current {
  display: inline-block;
  vertical-align: middle;
  text-decoration: none;
  border-radius: 3px;
}

.pg_page {
  color: #000;
  font-size: 18px;
  font-weight: 400;
  background-color: white !important;
  border: none !important;
}

.pg_page:hover {
  text-decoration: none;
  opacity: 0.7;
}

.pg_current {
  background: var(--primary);
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  border: none;
}

.pg_start,
.pg_prev,
.pg_end,
.pg_next {
  display: inline-block;
  vertical-align: middle;
  text-indent: -999px;
  overflow: hidden;
  background: url("../img/btn_first.gif") no-repeat 50% 50% transparent;
  padding: 0;
  border: none;
  width: 30px;
  height: 30px;
  color: #000;
}

.pg_prev {
  background: url("../img/btn_prev.gif") no-repeat 50% 50% transparent;
}

.pg_end {
  background: url("../img/btn_end.gif") no-repeat 50% 50% transparent;
}

.pg_next {
  background: url("../img/btn_next.gif") no-repeat 50% 50% transparent;
}

.pg_start:hover,
.pg_prev:hover,
.pg_end:hover,
.pg_next:hover {
  opacity: 0.7;
}

/* 검색 페이지 스타일 개선 */
#sch_res_board {
  margin-bottom: 0;
}

#sch_res_board li {
  display: inline-block;
  margin: 0;
  padding: 0;
}

#sch_res_board a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
  text-decoration: none;
  border: 1px solid #d1d5db;
  background: white;
  color: #1F4C8A;
  white-space: nowrap;
}

#sch_res_board a:hover,
#sch_res_board a:focus {
  background: #1F4C8A;
  color: white;
  border-color: #1F4C8A;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

#sch_res_board .sch_on {
  background: #1F4C8A !important;
  color: white !important;
  border-color: #1F4C8A !important;
  font-weight: 600;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

/* line-clamp 유틸리티 */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 그룹 선택 드롭다운 스타일 개선 */
#gr_id {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  transition: all 0.2s;
}

#gr_id:focus {
  outline: none;
  ring: 2px;
  ring-color: #3b82f6;
  border-color: #3b82f6;
}

@media (min-width: 1024px) {
  #gr_id {
    width: auto;
    min-width: 12rem;
  }
}

/* 검색어 하이라이트 스타일 - 배경 없이 primary 색상만 사용 */
.sch_word {
  color: #1F4C8A;
  background-color: transparent;
  padding: 0;
  font-weight: 600;
}

/* 검색 결과 요약의 strong 태그 스타일 */
#sch_res_ov h2 strong {
  color: #1F4C8A;
}

/* 회원 이름 링크 스타일 */
.sv_member {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* 연혁 타임라인: 원과 같은 축에 맞춘 세로선, 태블릿 이상에서만 표시 */
.history_timeline_line::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: -250px;
  bottom: -250px;
  width: 2px;
  transform: translateX(-50%);
  background-color: #d1d5db;
  z-index: 0;
  pointer-events: none;
  display: none;
}
.history_list > .list-item:first-child .history_timeline_line::before {
  top: 0.5rem;
}
@media (min-width: 1024px) {
  .history_timeline_line::before {
    display: block;
  }
}

/* 페이지 헤더 배경 이미지 확대 애니메이션 */
@keyframes backgroundZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

.page-header-bg {
  animation: backgroundZoom 10s ease-in-out infinite alternate;
  will-change: transform;
}
