

/* ---------------------------------------
   헤더/푸터 관련
--------------------------------------- */

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0px; /* 기본 8px~16px 대신 좁게 */

    font-family: 'Genos', sans-serif;
    font-weight: 600; /* SemiBold */
    font-size: 1.5rem; /* 기본보다 크게 */
    color: #e6862d !important;
}

.navbar-brand img {
    margin-right: 0px; /* 기본 8px → 4px로 줄임 */
}

/* ==== Footer Tuning (custom.css) ==== */
.site-footer{ background:#fff; }

/* 브랜드 튜닝 변수 */
:root{
  --brand-color:#e6862d;         /* 톤다운 주황 */
  --brand-font:'Genos',sans-serif;
  --brand-size:1.6rem;
  --logo-height:26px;
  --brand-gap:6px;
}

/* 브랜드 로고/텍스트 */
.footer-logo{ height:var(--logo-height); width:auto; margin-right:var(--brand-gap); object-fit:contain; }
.footer-brand{
  font-family:var(--brand-font); font-weight:600; font-size:var(--brand-size);
  letter-spacing:.2px; color:var(--brand-color); line-height:1;
}

/* 왼쪽 설명과 가운데 회사 소개 사이 간격 보강 */
@media (min-width:768px){
  .pe-md-5{ padding-right:3rem!important; }  /* col-md-4 좌측 칼럼 우측 여백 */
}

/* 2~3줄 설명: 기본 본문 크기보다 약간 작고 행간 여유 */
.footer-about{
  color:#666; /* 너무 진하지 않은 중간 회색 */
  font-size:0.9rem; /* 본문보다 살짝 작게 */
  font-weight:400;
  line-height:1.5;
  font-family: 'Noto Sans KR', sans-serif; /* 가독성 높은 폰트 */
}

/* 약관(보험) 스타일 경고문: 아주 작고 연한 회색, 조밀한 행간 */
.footer-fineprint{
  color:#8a8f98; font-size:.72rem; line-height:1.45;
}

/* 회사 정보 라벨 정렬 */
.footer-company .label{
  display:inline-block; min-width:6.2rem; color:#6c757d;
}

/* 카피라이트: 라인 없이, 살짝 위로 (여백만) */
.footer-copy{
  margin-top:1.25rem;   /* 너무 아래로 내려가지 않게 */
  padding-top:.25rem;   /* 얇은 공간만 */
}

/* 모바일 보정 */
@media (max-width:576px){
  .footer-brand{ font-size:1.45rem; }
  .footer-company .label{ min-width:5.6rem; }
  .footer-about{ font-size:.9rem; }
  .footer-fineprint{ font-size:.7rem; }
}

/* ---------------------------------------
   상단 광고/네비 바 Sticky
--------------------------------------- */
.sticky-top-adv {
  position: sticky;
  top: 0;
  z-index: 1050;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------------------------------------
   테이블 스타일 (고수 표)
--------------------------------------- */
.custom-table-simple thead th {
  background: #FFA726 !important;
  color: #fff !important;
  border-top: none !important;
  border-bottom: 2px solid #e0e0e0 !important;
  text-align: center;
}
.custom-table-simple, .custom-table-simple th, .custom-table-simple td {
  border: 1px solid #e0e0e0 !important;
}
.custom-table-simple thead tr {
  border-bottom: 2px solid #e0e0e0 !important;
}
.custom-table-simple tbody tr:nth-child(even) {
  background: #fafafa !important;
}
.custom-table-simple tbody tr:hover {
  background-color: #fff8e1 !important;
}
.custom-table-simple thead .sorting:after,
.custom-table-simple thead .sorting_asc:after,
.custom-table-simple thead .sorting_desc:after {
  filter: brightness(0) invert(1);
  opacity: 1 !important;
  color: #fff !important;
  mix-blend-mode: normal !important;
}
.custom-table-simple thead .sorting:not(.sorting_asc):not(.sorting_desc):after {
  filter: brightness(0) invert(90%) sepia(10%) saturate(0%) hue-rotate(172deg) brightness(1.2);
  opacity: 1 !important;
}
.custom-table-simple th:first-child,
.custom-table-simple td:first-child {
  width: 70px !important;
  min-width: 40px !important;
  max-width: 70px !important;
  text-align: left;
  padding-right: 1.5rem !important;
}
.custom-table-simple th:nth-child(2) {
  text-align: center !important;
  vertical-align: middle !important;
}
.custom-table-simple th:last-child {
  width: 110px !important;
  min-width: 90px !important;
  max-width: 150px !important;
  text-align: center !important;
}

#table1_wrapper .row.mt-2,
#table2_wrapper .row.mt-2,
.dt-container .row.mt-2 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  border: none !important;
  padding: 0 !important;
  --bs-gutter-x: 0 !important;
  --bs-gutter-y: 0 !important;
}

/* ---------------------------------------
   자산규모별 탭/날짜 선택 스타일
--------------------------------------- */

/* 날짜 선택 chevron(좌우) 비활성/활성 */
.date-asset-selector .btn:disabled {
  color: #ccc !important;
  cursor: not-allowed !important;
}
.date-asset-selector .btn-link {
  box-shadow: none !important;
}
.date-asset-selector .bi-caret-down-fill {
  vertical-align: middle;
}

/* nav-underline 탭 + asset-tabs 완전 단어 길이 언더라인! */
.asset-tabs .nav-link,
.nav-underline .nav-link {
  color: #222 !important;
  font-weight: 500;
  font-size: 0.97rem !important;
  /* padding: 0.18em 0.25em 0.36em 0.25em !important; */
  padding: 0.18em 0.9em 0.36em 0.9em !important; /* 좌우 넉넉, 언더라인 단어에 맞게 */
  min-width: unset !important;
  width: auto !important;
  /* border-width: 0 0 2.1px 0 !important;  
  border-bottom: 2.1px solid transparent !important;   */
  transition: color 0.18s, border-color 0.18s;
  display: inline-block !important;
  text-align: center;
}

ul.nav-underline {
  gap: 0.7em;
}

.asset-tabs .nav-link.active,
.nav-underline .nav-link.active {
  color: #0d6efd !important;
  /* border-bottom: 2.1px solid #0d6efd !important;   */
  font-weight: 700;
  background: none !important;
}

.asset-tabs .nav-link:focus,
.asset-tabs .nav-link:hover,
.nav-underline .nav-link:focus,
.nav-underline .nav-link:hover {
  color: #0d6efd !important;
  /* border-bottom: 2.1px solid #0d6efd !important;  원래 2.5 px */
  background: none !important;
  font-weight: 700;
}

@media (max-width: 480px) {
  .asset-tabs .nav-link,
  .nav-underline .nav-link {
    font-size: 0.88rem !important;
    padding: 0.15em 0.5em 0.33em 0.5em !important;  /* 모바일은 좀 더 좁게 */
  }
}