/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* ===================================================================
   리뉴얼 톤 통일 (서브페이지) — R1 색 + R2 폰트
   홈(page-renewal-home.php)에서는 mu-plugin이 이 시트를 제거함.
   =================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&display=swap');
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

/* 폰트: Pretendard 전역 적용 */
body, .fusion-body, button, input, select, textarea,
p, li, td, th, span, a, label, blockquote,
h1, h2, h3, h4, h5, h6,
.fusion-title h1, .fusion-title h2, .fusion-title h3, .fusion-title h4,
.fusion-menu li a, .fusion-button, .fusion-text {
  font-family: 'Pretendard', 'Pretendard Variable', -apple-system, BlinkMacSystemFont, sans-serif !important;
}
h1, h2, h3, h4 { letter-spacing: -.02em; }

/* 본문 링크 액센트(틸) — 내비/푸터 링크는 제외 */
#content a, .post-content a, .fusion-text a, article a { color: #0f7a6b; }
#content a:hover, .post-content a:hover, .fusion-text a:hover, article a:hover { color: #0a5a4f; }

/* Avada 기본 버튼 -> 틸 */
.fusion-button.button-default, .button-default {
  background: #0f7a6b !important;
  border-color: #0f7a6b !important;
  color: #fff !important;
}
.fusion-button.button-default:hover, .button-default:hover {
  background: #0a5a4f !important;
  border-color: #0a5a4f !important;
}

/* 텍스트 선택 색 */
::selection { background: #0f7a6b; color: #fff; }

/* KBoard 게시판 제목: bold 제거(정상 두께) */
.kboard-list-title a,
.kboard-list-title .kboard-default-cut-strings { font-weight: 400 !important; }

/* 왼쪽 서브메뉴(iks-menu)를 새 톤(틸)으로 — 동적 하늘색 오버라이드 */
.iksm-container .iksm-term__inner { background:#fffefb !important; color:#3b4757 !important; border-color:#e2dccd !important; }
.iksm-container .iksm-term__inner:hover { background:#dcefe9 !important; color:#0a5a4f !important; }
.iksm-container .iksm-term--current > .iksm-term__inner { background:#0f7a6b !important; color:#fff !important; border-color:#0f7a6b !important; }
.iksm-container .iksm-term--child .iksm-term__inner { background:#f4f1ea !important; color:#6c7787 !important; border-color:#e2dccd !important; }
.iksm-container .iksm-term--child .iksm-term__inner:hover { background:#dcefe9 !important; color:#0a5a4f !important; }
