/* 주소 전용 위젯 스타일 */

.na-row.no-gutters {
  padding-left: 4px;
  padding-right: 4px;
}

.no-gutters .na-col-padding {
  padding-left: 2px;
  padding-right: 2px;
}

/* 전체 박스 스타일 */
.na-widget-box {
    border: 1px solid #17a2b8;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
}

/* 제목 박스 스타일 */
.na-widget-title {
    background-color: #17a2b8;
    color: #fff;
    margin: 0; /* 기본 h3 margin 제거 */
    padding: 10px 12px;
    font-size: 1.5rem;
    font-weight: 600;
}

.na-widget-title a {
    color: #fff;
    text-decoration: none;
}

.na-widget-title a:hover {
    text-decoration: underline;
}

/* 기존 리스트 스타일 유지 */
.na-list-juso {
    border: none; /* ul 자체 border 제거, .na-widget-box 가 테두리를 가짐 */
    border-radius: 0;
}

.na-list-juso {
    border: 1px solid #17a2b8;
    border-radius: 4px;
    overflow: hidden;
}
.na-list-juso li {
    border-top: 1px solid #17a2b8;
    border-left: 5px solid #17a2b8;  /* 좌측 border 5px */
    border-right: 5px solid #17a2b8; /* 우측 border 5px */
    border-radius: 0;
    margin-top: -1px; /* 위 border 와 아래 border 가 겹쳐 두께가 두 배로 보이는 문제 해결 */
    padding: 10px 8px;
	cursor: pointer;
}

.na-list-juso li:hover {
    background-color: #17a2b8; /* li 전체 배경색 변경 */
}

.na-list-juso li:hover .na-subject {
    color: #ffffff; /* li 전체 hover 시 글자색 흰색으로 변경 */
}

.na-list-juso li:first-child {
    margin-top: 0;
}

.na-list-juso li:last-child {
    border-bottom: 10px solid #17a2b8;
}

.na-list-juso .na-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.na-list-juso .na-item {
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 6px; /* 랭크아이콘과 글자 사이 간격 */
}

.na-list-juso .na-subject {
    font-size: 16px;    /* 글자 크기 조절 */
    color: #000000;        /* 보라색 계열 */
    font-weight: 600;      /* semi-bold 느낌 */
}

.na-list-juso .na-subject:hover {
    color: #ffffff;        /* hover 시 밝은 보라색으로 변경 */
    text-decoration: underline; /* 밑줄 효과 */
}

.na-list-juso .rank-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    border-radius: 50%;
    font-size: 12px;
    color: #fff;
    margin-right: 6px;
}

.na-list-juso .rank-icon {
    font-size: 0.85rem;    /* 랭크 아이콘 글자 크기 조절 */
    padding: 2px 5px;
    border-radius: 4px;
}

.na-list-juso .bg-red { background: #e74c3c; }
.na-list-juso .bg-blue { background: #3498db; }
.na-list-juso .bg-green { background: #27ae60; }
.na-list-juso .bg-purple { background: #6c3dc1; }

.na-list-juso .na-info {
    display: inline-block;
    margin-left: 6px;
    color: #999;
    font-size: 12px;
}

.button-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* 중앙 정렬 */
  gap: 3px; /* 버튼 간 gap */
  padding: 0 10px; /* 양쪽 여백 */
}

.app-button {
  flex: 0 0 calc((100% - 40px) / 5); 
  max-width: calc((100% - 40px) / 5);
  height: 60px;
  background-color: #fff;
  color: #2ac1bc;
  border: 3px solid #2ac1bc;
  border-radius: 10px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
  white-space: normal;
  word-break: break-all;
  text-align: center;
  line-height: 1.2;
  padding: 5px;
  text-decoration: none;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* ✅ 여기 추가 */
  font-family: 'Jua', sans-serif;
}

.app-button:hover {
  background-color: #2ac1bc;
  color: #fff;
}

.app-button.active {
  background-color: #2ac1bc;
  color: #fff;
}

/* PC (992px 이상) */
@media (min-width: 992px) {
  .button-container {
    gap: 10px;
    padding: 0;
  }

  .app-button {
    flex: 0 0 70px;
    max-width: 70px;
    height: 70px;
    font-size: 20px;
  }
}



/* test 
body { border: 5px solid #2ac1bc !important; }
*/
.na-list li {
    border: 1px solid red !important;
}


.header-keyword {
  margin-left: auto; /* 우측 정렬 */
  display: flex;
  align-items: center;
}

.header-keyword .hotkeyword {
  width: auto;
  position: relative;
}

.thisTime {
  font-size: 17px;
  margin-top: 22px;
  color: #000;
  font-weight: 600; /* 보통은 500~700이 적당히 굵음 */
}

.clock {
  font-size: 20px;
  font-weight: 700; /* 시계는 강조되니까 더 굵게 */
}



.is_sher_box {
  margin: 20px auto;
  background: #fff;
  border: 1px solid #dfdfdf;
  border-radius: 10px;
  max-width: 1280px;
  padding: 12px;
}

.sher_inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.sher_notice .notice_text {
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #3c3c3c;
  text-decoration: none;
  justify-content: center;
}

.notice_text .logo_highlight {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  font-size: 24px;
  line-height: 1;
}

.notice_text .logo_highlight:hover {
  text-decoration: underline;
  text-decoration-color: #2AC1BC;
}

.link_box01 {
  display: flex;
  flex-wrap: nowrap;        /* ❗ 줄바꿈 방지 */
  overflow-x: auto;         /* ❗ 스크롤 허용 */
  gap: 8px;                 /* ❗ 간격 축소 */
  align-items: center;
  justify-content: center;  /* ❗ 중앙 정렬 */
  scrollbar-width: none;    /* Firefox 스크롤 숨김 */
}

.link_box01::-webkit-scrollbar {
  display: none;            /* Chrome 스크롤 숨김 */
}

.link_box01 a {
  flex-shrink: 0;           /* ❗ 줄어들지 않도록 */
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: #f9f9f9;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  transition: background 0.2s;
  line-height: 1.4;
}

.link_box01 a:hover {
  background: #e6f7f7;
}

.link_box01 img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

.logoText {
  font-size: 14px;
  display: inline-block;
  vertical-align: middle;
}

/* ✅ 모바일 대응 */
@media screen and (max-width: 768px) {
  .logoText {
    display: none;
  }

  .sher_inner {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .sher_notice,
  .link_box01 {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .sher_notice .notice_text {
    justify-content: center;
    width: 100%;
  }

  .link_box01 {
    gap: 6px;                 /* 모바일에서 더 좁게 */
    padding: 0 4px;
  }

  .link_box01 img {
    width: 30px;
    height: 30px;
  }
}



#favorite:hover svg {
  color: #ff9800;
  transition: 0.2s;
}


.lifelink {
    background: #ff0000;
    color: #fff;
    padding: 0px 10px 0px;
    border-radius: 4px;
	font-size: 14px;
	font-family: 'Do Hyeon', sans-serif;
}

.custom-no-pl {
    padding-left: 0 !important;
}




/* 랭킹 텍스트 색상 */
.rank-text-1 { color: #e74c3c !important; }  /* 빨강 */
.rank-text-2 { color: #3498db !important; }  /* 파랑 */
.rank-text-3 { color: #2ecc71 !important; }  /* 초록 */

/* 랭킹 아이콘 배경색 (선택) */
.rank-1 { background-color: #e74c3c; color: #fff; }
.rank-2 { background-color: #3498db; color: #fff; }
.rank-3 { background-color: #2ecc71; color: #fff; }



.rank-img {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 5px;
}