/* 
* 파일명: style.css
* 파일위치: wp-content/themes/generatepress-child/style.css
* 역할: GeneratePress 자식테마의 메인 스타일시트
* 수정일: 2025-08-29
* 
* Theme Name: GeneratePress Child
* Theme URI: https://url.kr/p/wp-plugin/generatepress-child/
* Template: generatepress
* Author: 호텔천사
* Author URI: https://webworks.co.kr/
* Description: GeneratePress 기본테마를 유료버전처럼 튜닝했습니다.
* Version: 5.1.0
* License: GNU General Public License v2 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: generatepress-child
*/

/* 부모 테마 스타일 import */
@import url("../generatepress/style.css");

/* =================================== 
테마 색상 변수 설정
=================================== */
:root {
    --theme-main-color: #18609C;  /* 기본 파란색 */
    --theme-main-color-hover: #1a70b7;  /* 기본 파란색 호버 상태 */
    --theme-secondary-color: rgba(24, 96, 156, 0.2);  /* 투명도 있는 메인 컬러 */
    --theme-secondary-color-hover: rgba(24, 96, 156, 0.3);  /* 투명도 있는 메인 컬러 호버 */
    --theme-text-on-main: #fff;  /* 메인 컬러 위 텍스트 색상 */
}

/* 싱글 포스트 메타 정보 줄바꿈 처리 */
.single .entry-meta {
    display: block !important;
    margin-top: 15px !important;  /* 여백 조정 */
    clear: both !important;  /* float 해제 */
    width: 100% !important;  /* 전체 너비 차지 */
}

/* 리스트와 카테고리 페이지에서는 메타 정보 숨김 (필요한 경우) */
.blog .entry-meta,
.archive .entry-meta,
.category .entry-meta {
    display: none !important;
}


/* 싱글 포스트 헤더 레이아웃 수정 - 세로 배치 */
.single .entry-header {
    display: flex !important;
    flex-direction: column !important; /* 세로 방향으로 요소 배치 */
    align-items: flex-start !important; /* 왼쪽 정렬 */
}

/* 싱글 포스트 메타 정보 스타일 */
.single .entry-meta {
    margin-top: 10px !important;
    font-size: 0.9em !important;
    width: 100% !important;
}

/* 제목 스타일 조정 */
.single .entry-title {
    margin-bottom: 0 !important;
    width: 100% !important;
}

/* 1. 기본 레이아웃 설정
-------------------------------------- */
.site-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 15px 0;
}

.container {
    max-width: 1400px;
}

.separate-containers .inside-article {
    max-width: 100%;
    padding-top: 0;
}

/* 2. 헤더 스타일
-------------------------------------- */
.site-header {
    background-color: #1e3a5f;
    box-shadow: none;
    padding: 2px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
}

.site-header .main-title a,
.site-header .site-branding a {
    color: #ffffff;
}


.inside-header {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 45px;
}

.admin-bar .site-header {
    top: 32px;
}


/* 메뉴 스타일 추가 */
.main-navigation .main-nav ul li a {
    position: relative !important;
    padding: 2px 15px !important;
    transition: color 0.3s ease !important;
}

.main-navigation .main-nav ul li a::after {
    content: '' !important;
    position: absolute !important;
    width: 0 !important;
    height: 2px !important;
    bottom: 0 !important;
    left: 50% !important;
    background-color: var(--theme-main-color) !important;
    transform: translateX(-50%) !important;
    transition: width 0.3s ease !important;
}

.main-navigation .main-nav ul li a:hover {
    background: transparent !important;
}

.main-navigation .main-nav ul li a:hover::after {
    width: 100% !important;
}

/* 현재 페이지 메뉴 스타일 */
.main-navigation .main-nav ul li.current-menu-item > a::after {
    width: 100% !important;
}


/* 3. 포스트 리스트 스타일
-------------------------------------- */
/* 불필요한 요소 숨김 통합 */
.blog .entry-meta,
.blog .entry-content > *:not(.custom-post-wrap),
.blog .entry-content p:not(.custom-excerpt),
.blog .entry-content img:not(.custom-thumb),
.blog .entry-content a > img,
.blog .entry-footer,
.blog .post-meta,
.blog .post-image,
.blog .featured-image {
    display: none;
}
.blog .inside-article p:not(.custom-excerpt) {
   display: none !important;
}


/* 포스트 컨테이너 간격 제거 */
.site-main > article {
    margin: 0 !important;
    padding: 0 !important;
}

/* 포스트 내부 간격 조정 */
.inside-article {
    margin: 0 !important;
    padding: 0 !important;
}

/* 기본 레이아웃 정리 */
.inside-article {
    padding: 0;
    margin: 0;
    border: none;
}

/* 리스트 제목 스타일 */
.blog .entry-header,
.category .entry-header,
.archive .entry-header {
    padding: 5px 10px !important;
    background-color: var(--theme-secondary-color) !important;
    border-left: 3px solid var(--theme-main-color) !important;
    display: flex !important;
    align-items: center !important; /* 세로 방향 가운데 정렬 */
    min-height: 60px !important; /* 높이 확보를 위한 최소 높이 설정 */
}

.blog .entry-title,
.category .entry-title,
.archive .entry-title {
    font-size: 1.3em;
    font-weight: 600;
    line-height: 1.4;
}

.blog .entry-title a,
.category .entry-title a,
.archive .entry-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog .entry-title a:hover,
.category .entry-title a:hover,
.archive .entry-title a:hover {
    color: var(--theme-main-color);
}



/* 커스텀 포스트 레이아웃 */
.custom-post-wrap {
    display: flex !important;
    flex-direction: row !important;  /* row에서 row-reverse로 변경 */
    gap: 20px !important;
    padding: 15px 20px !important;
    margin: 0 !important;
    border-bottom: 1px solid #eee !important;
}

/* 포스트 간 구분선만으로 간격 조정 */
.site-main article:not(:last-child) .custom-post-wrap {
    border-bottom: 1px solid #eee !important;
}

.site-main article:last-child .custom-post-wrap {
    border-bottom: none !important;
}

.custom-post-thumb {
    flex: 0 0 300px;
}

.custom-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
}

.custom-post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 200px;
}

.custom-excerpt {
    margin-bottom: 50px;
}

.custom-post-meta {
    position: absolute;
    bottom: 0;
    right: 0;
}


/* 4. 싱글 포스트 스타일
-------------------------------------- */
.single .entry-header {
    padding: 5px 10px !important;
    background-color: var(--theme-secondary-color) !important;
    border-left: 3px solid var(--theme-main-color) !important;
    display: flex !important;
    align-items: center !important; /* 세로 방향 가운데 정렬 */
    min-height: 60px !important; /* 높이 확보를 위한 최소 높이 설정 */
}

.single .entry-title {
    font-size: 1.3em;
    font-weight: 600;
    line-height: 1.4;
}

.single .entry-content {
    padding: 0 10px 15px;
    line-height: 1.5;
    margin-top: 0.5em !important;
}

.single .entry-content p {
    margin-bottom: 1.2em;
}


/* 헤딩 스타일 통합 */
.single .entry-content h2 {
    margin: 1.15em 0 0.6em;
    font-size: 1.3em;
    font-weight: 600;
    line-height: 40px;
    background: var(--theme-main-color);
    padding: 5px 15px;
    color: var(--theme-text-on-main);
    border-radius: 0 10px 0 10px;
    box-shadow: inset 0 0 5px rgba(0, 0, 50, 0.5);
}

/* h3 스타일링에서 FAQ 컴포넌트 내의 h3 제외 */
.single .entry-content h3:not(.custom-faq-question h3) {
    color: var(--theme-main-color-hover);
    border-left: var(--theme-main-color) 10px solid;
    padding: 3px 9px;
    margin: 30px 0 20px;
    border-bottom: 2px solid var(--theme-main-color);
    font-size: 1.2em;
    font-weight: 700;
}

/* FAQ 질문 내 h3 태그를 위한 별도 스타일 */
.custom-faq-question h3 {
    flex: 1;
    margin: 0 10px;
    padding: 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: inherit;
    border: none;
    background: none;
    border-left: none;
    border-bottom: none;
}

/* 이미지 스타일 */
.single .entry-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}

.single .wp-block-image img {
   display: block;
   margin: 0 auto;
}

/* 대표 이미지 숨김 */
.single .post-image,
.single .featured-image,
.single .page-header-image-single {
    display: none !important;
}


/* 링크 스타일 */
.single .entry-content a:not(.gb-button):not(.wp-block-button__link):not(.button):not(.ez-toc-link):not(.ez-toc-list a):not(.wp-block-table a):not([class*="toc"]):not(.my-toc-list a):not(.my-toc-sublist a):not(.active-link) {
  word-break: break-all;
  color: #3e5898;
  background-repeat: no-repeat;
  background-size: 100% 0.2em;
  background-position: 0 100%;
  background-image: linear-gradient(to right,#00BCD4,#5C6BC0);
  transition: all .25s ease-in;
  padding: 2px 0;
}

.single .entry-content a:not(.gb-button):not(.wp-block-button__link):not(.button):not(.ez-toc-link):not(.ez-toc-list a):not(.wp-block-table a):not([class*="toc"]):not(.my-toc-list a):not(.my-toc-sublist a):not(.active-link):hover {
  background-size: 100% 100% !important;
  color: #fff !important;
  border-radius: 10px !important;
}





/* 서브섹션: 싱글 포스트 내 기본 버튼 스타일 */
.single .entry-content .button,
.single .entry-content button:not(.floating-button),
.single .entry-content input[type="button"],
.single .entry-content input[type="submit"],
.single .entry-content .wp-block-button__link {
    background: linear-gradient(135deg, var(--theme-main-color), var(--theme-main-color-hover));
    color: var(--theme-text-on-main);
    padding: 10px 20px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1em;
    font-weight: 600;
    line-height: normal;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.single .entry-content .button:before,
.single .entry-content button:not(.floating-button):before,
.single .entry-content input[type="button"]:before,
.single .entry-content input[type="submit"]:before,
.single .entry-content .wp-block-button__link:before {
    content: "→";
    margin-right: 8px;
    font-size: 1.2em;
    transition: transform 0.3s ease;
    display: inline-block;
}

.single .entry-content .button:after,
.single .entry-content button:not(.floating-button):after,
.single .entry-content input[type="button"]:after,
.single .entry-content input[type="submit"]:after,
.single .entry-content .wp-block-button__link:after {
    content: "";
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.1), rgba(255,255,255,0.4), rgba(255,255,255,0.1));
    z-index: -1;
    transition: all 0.5s ease;
}

.single .entry-content .button:hover,
.single .entry-content button:not(.floating-button):hover,
.single .entry-content input[type="button"]:hover,
.single .entry-content input[type="submit"]:hover,
.single .entry-content .wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.single .entry-content .button:hover:before,
.single .entry-content button:not(.floating-button):hover:before,
.single .entry-content input[type="button"]:hover:before,
.single .entry-content input[type="submit"]:hover:before,
.single .entry-content .wp-block-button__link:hover:before {
    transform: translateX(3px);
}

.single .entry-content .button:hover:after,
.single .entry-content button:not(.floating-button):hover:after,
.single .entry-content input[type="button"]:hover:after,
.single .entry-content input[type="submit"]:hover:after,
.single .entry-content .wp-block-button__link:hover:after {
    left: 100%;
}

.single .entry-content .button:active,
.single .entry-content button:not(.floating-button):active,
.single .entry-content input[type="button"]:active,
.single .entry-content input[type="submit"]:active,
.single .entry-content .wp-block-button__link:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}




/* 5. 관련 글 스타일
-------------------------------------- */
.related-posts {
    margin: 10px auto 10px;
    max-width: 95%;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 10px 20px;
    background-color: #fafafa;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.related-posts h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.related-posts ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.related-posts ul li {
    margin-bottom: 12px;
    padding-left: 15px;
    position: relative;
}

.related-posts ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #18609C;
}

.related-posts ul li a {
    text-decoration: none;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.2;
    transition: color 0.2s ease;
}

.related-posts ul li a:hover {
    color: #18609C;
}



/* 6. 카테고리 및 메타 정보
-------------------------------------- */
/* 카테고리 숨김 처리 */
.cat-links,
.entry-meta .cat-links,
.post-navigation + .cat-links {
    display: none !important;
}

/* last update 부분 */
.entry-meta {
    font-size: 0.85rem;
}

/* tag 부분 좌측 여백주기 */
.entry-meta .tags-links,
.entry-meta .nav-next {
    margin-left:10px;
}

/* 수정일 표시 */
.posted-on .updated {
    display: inline-block;
}

.posted-on .updated + .entry-date {
    display: none;
}

.posted-on .updated:before {
    content: "📆 Last Updated on ";
}


/* =================================== 
7. 버튼 스타일 통합
=================================== */
.btn-primary, .comment-form .submit {
    display: inline-block;
    padding: 8px 25px;
    background-color: var(--theme-main-color);
    color: var(--theme-text-on-main);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px var(--theme-secondary-color);
    border: none;
    cursor: pointer;
}

.btn-primary:hover, .comment-form .submit:hover {
    background-color: var(--theme-main-color-hover);
    box-shadow: 0 4px 8px var(--theme-secondary-color-hover);
    color: var(--theme-text-on-main);
}


/* 다운로드 버튼 */
.download-button {
    display: block;
    padding: 20px 40px;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    color: var(--theme-text-on-main);
    background: linear-gradient(45deg, var(--theme-main-color), var(--theme-main-color-hover));
    border-radius: 50px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--theme-secondary-color-hover);
    text-decoration: none;
    width: 80%;
    max-width: 500px;
    margin: 30px auto;
}

.download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 96, 156, 0.4);
}

.download-button:active {
    transform: translateY(1px);
}

/* 다운로드 버튼 애니메이션 */
.download-button::after {
    content: "👆";
    margin-left: 8px;
    display: inline-block;
    animation: bounce 1s infinite;
    font-size: 1.2rem;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.download-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.download-button:hover::before {
    left: 100%;
}



/* 8. 사이드바 스타일
-------------------------------------- */
#right-sidebar {
    width: 30%;
    padding-left: 10px;
}

.inside-right-sidebar {
    padding: 0;
    background: #fff;
    border-radius: 4px;
}


/* 9. 최신 글 위젯 스타일 통합
-------------------------------------- */
/* 최신글 섹션 타이틀 */
.widget-title {
  font-size: 16px;          /* 글자 크기 */
  font-weight: 600;         /* 글자 두께 */
  letter-spacing: 0;        /* 글자 간격 */
  line-height: 1.5em;       /* 줄 간격 */
  padding-bottom: 15px;     /* 아래 여백 */
  position: relative;       /* 가상 요소 배치 */
}

.widget-title:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 5px;
  width: 55px;
  background-color: #111;  /* 두꺼운 검은색 바 */
}

.widget-title:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  height: 1px;
  width: 95%;
  max-width: 255px;
  background-color: #333;  /* 얇은 회색 바 */
}


.widget-area .widget {
    padding: 10px;
}

/* 최신글 이미지 옆 제목 */
.post-content h4 { 
   margin: 0 !important;
   font-size: 14px !important;
   line-height: 1.4 !important;
   overflow: hidden !important;
   text-overflow: ellipsis !important;
   display: -webkit-box !important;
   -webkit-line-clamp: 2 !important;
   -webkit-box-orient: vertical !important;
}

.recent-post-item {
    padding: 8px;
    border-bottom: 1px solid #eee;
}

.recent-post-item a {
    display: flex;
    gap: 10px;
    text-decoration: none;
    color: #333;
}

.post-thumbnail {
    flex: 0 0 90px;
}

.post-thumbnail img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}


/* =================================== 
10. 플로팅 버튼
=================================== */
.floating-buttons {
    position: fixed;
    top:50%;
    right: 20px;
    display: none;  /* 초기에는 숨김 */
    flex-direction: column;
    gap: 10px;
    z-index: 100;
}

.floating-button {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background-color: rgba(33, 37, 41, 0.8);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.scroll-top-button {
    background-color: #4b5563;
}

.share-button {
    background-color: var(--theme-main-color);
}

.floating-button:hover {
    transform: translateX(-5px);
}


/* =================================== 
11. 브레드크럼 스타일
=================================== */
.breadcrumb {
    max-width: 1400px;
    margin: 10px auto 0;  /* 상단 여백 추가 */
    padding: 10px 15px;
    font-size: 14px;
    color: #666;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.breadcrumb-item {
    display: inline-block;
}

.breadcrumb-item a {
    color: var(--theme-main-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: var(--theme-main-color-hover);
}

.breadcrumb-separator {
    margin: 0 5px;
    color: #999;
}

.breadcrumb-item.current {
    color: #333;
    font-weight: 500;
}


/* 반응형 스타일 통합
-------------------------------------- */
@media (max-width: 1400px) {
    .site-content,
    .container {
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

@media (max-width: 768px) {
    /* 헤더 */
    .site-header {
        min-height: 40px;
    }

    .inside-header {
        padding: 0 5px;
    }

    /* 컨텐츠 */
    .site-content {
        padding: 50px 5px 0; /* 모바일에서 상단 패딩 축소 및 좌우 패딩 최소화 */
        display: block;
    }
	
	.separate-containers .inside-article {
        padding-left: 5px !important;  /* 모바일에서 좌우 패딩 최소화 */
        padding-right: 5px !important;
    }

    /* 타이틀 */
    .blog .entry-title,
    .single .entry-title {
        font-size: 1.3em;
    }

    /* 포스트 레이아웃 */
    .custom-post-wrap {
        flex-direction: column !important;
        padding: 10px 5px !important;
        margin-bottom: 5px !important;
        gap: 10px !important;
    }
    
    .custom-post-content {
        order: 1 !important;
    }
    
    .custom-post-thumb {
        order: 0 !important;
        width: 100% !important;
        flex: none !important;
        line-height: 0 !important;
    }

    .custom-post-thumb a {
        display: block !important;
        line-height: 0 !important;
    }

    .custom-post-thumb img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
        border-radius: 4px !important;
    }

    /* 사이드바 */
    #right-sidebar {
        width: 100%;
        padding: 0;
        margin-top: 15px;
    }

    /* 플로팅 버튼 */
    .floating-buttons {
        bottom: 15px;
        right: 10px;
    }

    .floating-button {
        width: 35px;
        height: 35px;
    }
	
	/* 브레드 크럼 (breadcrumb) */
	.breadcrumb {
        margin-top: 30px;  /* 모바일 헤더 높이 고려 */
        padding: 8px 10px;
        font-size: 13px;
        white-space: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .breadcrumb::-webkit-scrollbar {
        display: none;  /* 스크롤바 숨김 */
    }
	
	/* 모바일 메뉴 스타일 추가 */
	/* 모바일 메뉴 컨테이너 */
    .main-navigation .main-nav ul {
        padding: 10px 0 !important;
    }
    
    /* 모바일 메뉴 아이템 */
    .main-navigation .main-nav ul li {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* 메뉴 아이템 링크 */
    .main-navigation .main-nav ul li a {
        padding: 8px 15px !important;  /* 상하 패딩 축소 */
        border-bottom: 1px solid rgba(0,0,0,0.05) !important;  /* 구분선 추가 */
		padding-left: 25px !important;  /* 들여쓰기 */
        font-size: 14px !important;  /* 폰트 크기 조정 */
        line-height: 1.4 !important;  /* 줄 간격 축소 */
    }
	
	.main-navigation .main-nav ul li a::after {
        bottom: 5px !important;  /* 모바일에서 위치 조정 */
    }

    /* 마지막 메뉴 아이템의 구분선 제거 */
    .main-navigation .main-nav ul li:last-child a {
        border-bottom: none !important;
    }

    /* 서브메뉴 스타일 */
    .main-navigation .main-nav ul ul {
        padding: 0 !important;
        background: rgba(0,0,0,0.02) !important;  /* 배경색 약간 추가 */
    }

    	
}


@media (max-width: 600px) {
    .admin-bar .site-header {
        position: fixed;
    }
}



/* =================================== 
12. 탭형 위젯 스타일
=================================== */
.tabbed-posts-widget {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
}

.tabs-nav {
    display: flex;
    border-bottom: 1px solid #eee;
    background: #f9f9f9;
}

.tab-button {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 15px;
    cursor: pointer;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
}

.tab-button:hover {
    background: #f2f2f2;
    color: #333;
}

.tab-button.active {
    background: #fff;
    color: var(--theme-main-color-hover);
    border-bottom: 2px solid var(--theme-main-color);
}

.tab-content {
    display: none;
    padding: 10px 0;
}

.tab-content.active {
    display: block;
}

.posts-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.no-posts {
    padding: 15px;
    color: #666;
    font-style: italic;
    text-align: center;
}


/* =================================== 
13. 검색 위젯 스타일
=================================== */
.widget_block.widget_search .wp-block-search,
.widget_search .search-form {
    background-color: #fff;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #eee;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
}

.widget_block.widget_search .wp-block-search__label {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.widget_block.widget_search .wp-block-search__input,
.widget_search .search-form .search-field {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: none;
    background-color: #f9f9f9;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #eee;
    box-sizing: border-box;
}

.widget_block.widget_search .wp-block-search__input:focus,
.widget_search .search-form .search-field:focus {
    outline: none;
    background-color: #fff;
}

.widget_block.widget_search .wp-block-search__button,
.widget_search .search-form .search-submit {
    background-color: var(--theme-main-color);
    color: var(--theme-text-on-main);
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    font-size: 14px;
    margin: 0;
    border-radius: 0;
    box-sizing: border-box;
}

.widget_block.widget_search .wp-block-search__button:hover,
.widget_search .search-form .search-submit:hover {
    background-color: var(--theme-main-color-hover);
}

/* 검색 아이콘 추가 */
.widget_block.widget_search .wp-block-search__inside-wrapper::before,
.widget_search .search-form::before {
    content: "\F52A";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 15px;
    top: 12px;
    color: var(--theme-main-color);
    font-size: 16px;
    z-index: 1;
}


/* 위젯 제목 스타일 통일 */
.widget_block.widget_search .widget-title,
.widget_search .widget-title {
    background: #f9f9f9;
    padding: 10px 15px;
    margin: 0;
    border-bottom: 1px solid #eee;
    color: #333;
    font-weight: 600;
    font-size: 16px;
}

/* 타이틀 아이콘 */
.widget_block.widget_search .widget-title::before,
.widget_search .widget-title::before {
    content: "\F52A";
    font-family: "bootstrap-icons";
    margin-right: 8px;
    color: var(--theme-main-color);
}

/* 검색 위젯 컨테이너 스타일 */
.widget_block.widget_search {
    background-color: #fff;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #eee;
    margin-bottom: 20px;
}

/* 검색 입력 필드 컨테이너 */
.widget_block.widget_search .wp-block-search__inside-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    width: 100%;
}

/* 좌측 여백 명시적 제거 */
.widget_block.widget_search .wp-block-search__inside-wrapper,
.widget_block.widget_search .wp-block-search__button-wrapper,
.widget_block.widget_search .wp-block-search__button {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* 버튼 컨테이너 조정 */
.widget_block.widget_search .wp-block-search__button-wrapper {
    width: 100%;
    display: block;
}

/* 입력 필드 전체 너비 확보 */
.widget_block.widget_search .wp-block-search__input {
    width: 100% !important;
    box-sizing: border-box;
}


/* 서브섹션: 검색 아이콘 조건부 표시 */
body:not(.single) .widget_block.widget_search .wp-block-search__inside-wrapper::before,
body:not(.single) .widget_search .search-form::before {
    content: none; /* 메인 페이지에서 아이콘 제거 */
}

body:not(.single) .widget_block.widget_search .wp-block-search__input,
body:not(.single) .widget_search .search-form .search-field {
    padding-left: 12px; /* 메인 페이지에서 패딩 원래대로 복원 */
}




/* =================================== 
14. 포스트 태그 및 네비게이션 스타일
=================================== */
/* 태그 스타일 */
.single .tags-links {
    display: block;
    margin: 20px 0;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
    border-left: 4px solid var(--theme-main-color);
}

.single .tags-links a {
    display: inline-block;
    margin: 3px 5px 3px 0;
    padding: 4px 10px;
    background-color: #fff;
    color: #666;
    font-size: 0.85rem;
    border-radius: 20px;
    text-decoration: none;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.single .tags-links a:hover {
    background-color: var(--theme-main-color);
    color: var(--theme-text-on-main);
    border-color: var(--theme-main-color);
}

.single .tags-links::before {
    content: "\F48C";
    font-family: "bootstrap-icons";
    margin-right: 8px;
    color: var(--theme-main-color);
    font-size: 16px;
}

/* 이전글/다음글 네비게이션 스타일 - 화살표 스타일 */
#nav-below.post-navigation {
    margin: 20px 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    background: transparent;
    border: none;
    visibility: visible !important;
    opacity: 1 !important;
}

#nav-below .nav-previous,
#nav-below .nav-next {
    padding: 0;
    margin: 0;
    background: transparent;
    width: 48%;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#nav-below .nav-previous a,
#nav-below .nav-next a {
    display: block !important;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 3px;
    text-decoration: none;
    color: #333;
    position: relative;
    visibility: visible !important;
    opacity: 1 !important;
    text-align: center;
}

#nav-below .nav-previous a:hover,
#nav-below .nav-next a:hover {
    background-color: #e9e9e9;
}

/* 기존 아이콘 숨기기 */
#nav-below .nav-previous .gp-icon,
#nav-below .nav-next .gp-icon,
#nav-below .nav-previous svg,
#nav-below .nav-next svg {
    display: none !important;
}

/* 새로운 화살표 추가 */
#nav-below .nav-previous a::before {
    content: "←";
    font-size: 22px;
    font-weight: bold;
    color: #4285f4;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
}

#nav-below .nav-next a::after {
    content: "→";
    font-size: 22px;
    font-weight: bold;
    color: #4285f4;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}


/* 미디어 쿼리 - 모바일 */
@media (max-width: 768px) {
    .post-navigation .nav-links {
        flex-direction: column;
    }
    
    .post-navigation .nav-previous,
    .post-navigation .nav-next {
        flex: 1 1 100%;
    }
    
    .post-navigation .nav-previous {
        border-right: none;
        border-bottom: 1px solid #eee;
    }
}


/* 15. 태그 사이 콤마 제거 및 아이콘 숨기기
-------------------------------------- */
/* 태그 관련 요소에서만 콤마 제거 */
.entry-meta .tags-links,
.footer-meta .tags-links,
.entry-footer .tags-links,
span.tags-links,
.cat-links,
.tag-links {
   font-size: 0 !important; /* 텍스트 노드(콤마) 숨김 */
}

/* 태그 아이템만 보이도록 설정 */
.entry-meta .tags-links a,
.footer-meta .tags-links a,
.entry-footer .tags-links a,
span.tags-links a,
.cat-links a,
.tag-links a {
   font-size: 0.9rem !important; /* 폰트 크기 복원 */
   margin: 0 5px 5px 0 !important; /* 마진으로 간격 조정 */
   display: inline-block !important;
}

/* 태그 아이콘만 선택적으로 숨기기 */
.entry-meta .tags-links svg,
.entry-meta .tags-links .gp-icon,
.cat-links svg,
.cat-links .gp-icon,
.tag-links svg,
.tag-links .gp-icon {
   display: none !important;
}



/* =================================== 
18. 포스트 결론 섹션 스타일
=================================== */
.post-conclusion-card {
    background-color: #fff;
    border-radius: 6px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid var(--theme-secondary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-conclusion-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.post-conclusion-card-header {
    background-color: var(--theme-secondary-color);
    padding: 12px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--theme-secondary-color-hover);
    /* 모든 카드의 왼쪽 테두리를 더 어두운 색으로 통일 */
    border-left: 4px solid var(--theme-main-color-hover);
}

.post-conclusion-card-header h3 {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 1.1em !important;
    font-weight: 600 !important;
    color: var(--theme-main-color) !important;
    background: transparent !important;
    border: none !important;
}

.post-conclusion-card-header i {
    font-size: 1.4em;
    margin-right: 8px;
    color: var(--theme-main-color);
}

.post-conclusion-card-body {
    padding: 15px 20px;
}

.post-conclusion-card-body p {
    margin-bottom: 10px !important;
    line-height: 1.6 !important;
}

.post-conclusion-card-body p:last-child {
    margin-bottom: 0 !important;
}

.post-conclusion-card-body a {
    color: var(--theme-main-color);
    text-decoration: none;
    transition: color 0.2s ease;
    word-break: break-all;
    font-weight: 500;
}

.post-conclusion-card-body a:hover {
    color: var(--theme-main-color-hover);
    text-decoration: underline;
}

/* 참고 문헌과 관련 자료 목록 스타일 */
.post-references-list,
.post-related-links-list {
    margin: 0 !important;
    padding-left: 20px !important;
}

.post-references-list li,
.post-related-links-list li {
    margin-bottom: 8px !important;
    line-height: 1.5 !important;
}

.post-references-list li:last-child,
.post-related-links-list li:last-child {
    margin-bottom: 0 !important;
}

/* 포스트 결론 푸터 (카테고리 더보기 + 업데이트 날짜) */
.post-conclusion-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

/* 카테고리 더보기 링크 */
.post-category-more {
    font-size: 0.9em;
}

.post-category-more a {
    color: var(--theme-main-color);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.post-category-more a:hover {
    color: var(--theme-main-color-hover);
    text-decoration: underline;
}

.post-category-more i {
    margin-right: 5px;
    font-size: 1.1em;
}

/* 업데이트 날짜 표시 스타일 */
.post-conclusion-update-date {
    text-align: right;
    font-size: 0.9em;
    color: #6c757d;
}

.post-conclusion-update-date i {
    margin-right: 5px;
    color: var(--theme-main-color);
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .post-conclusion-card {
        margin-bottom: 15px;
    }
    
    .post-conclusion-card-header {
        padding: 10px 12px;
    }
    
    .post-conclusion-card-header h3 {
        font-size: 1em !important;
    }
    
    .post-conclusion-card-body {
        padding: 12px 15px;
    }
    
    .post-references-list,
    .post-related-links-list {
        padding-left: 15px !important;
    }
    
    /* 모바일에서 푸터 요소 배치 조정 */
    .post-conclusion-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .post-conclusion-update-date {
        text-align: left;
    }
}


/* =================================== 
19. TKN 전체 사이트 네비게이션 스타일
작성일: 2026-02-05
수정일: 2026-02-05
=================================== */

/* -----------------------------------
   Google Fonts - Poppins
----------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* -----------------------------------
   TKN 헤더 스타일 (전체 페이지 적용)
----------------------------------- */
.site-header {
    background: linear-gradient(135deg, #0f1c2e 0%, #1a3a5c 100%) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    border-bottom: none !important;
    padding: 0 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
}

.admin-bar .site-header {
    top: 32px !important;
}

@media (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px !important;
    }
}

.inside-header {
    padding: 0 24px !important;
    min-height: 70px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
}

/* 사이트 로고/타이틀 */
.site-header .site-branding {
    flex-shrink: 0 !important;
}

.site-header .main-title {
    margin: 0 !important;
    line-height: 1 !important;
}

.site-header .main-title a {
    font-family: 'Poppins', sans-serif !important;
    color: #ffffff !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.5px !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    transition: opacity 0.3s ease !important;
}

.site-header .main-title a:hover {
    opacity: 0.9 !important;
    color: #ffffff !important;
}

/* 타이틀 앞 한국 국기 이모지 또는 아이콘 효과 */
.site-header .main-title a::before {
    content: '🇰🇷' !important;
    font-size: 1.3rem !important;
}

/* -----------------------------------
   TKN 네비게이션 컨테이너
----------------------------------- */
#site-navigation,
.main-navigation {
    background: transparent !important;
    position: static !important;
}

#site-navigation .inside-navigation {
    padding: 0 !important;
}

/* 메인 메뉴 컨테이너 */
#site-navigation .main-nav > ul,
.main-navigation .main-nav > ul {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* -----------------------------------
   메뉴 아이템 스타일
----------------------------------- */
#site-navigation .main-nav > ul > li,
.main-navigation .main-nav > ul > li {
    position: relative !important;
}

#site-navigation .main-nav > ul > li > a,
.main-navigation .main-nav > ul > li > a {
    font-family: 'Poppins', sans-serif !important;
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    padding: 24px 16px !important;
    letter-spacing: 0.3px !important;
    position: relative !important;
    transition: color 0.3s ease !important;
    background: transparent !important;
    text-transform: uppercase !important;
}

#site-navigation .main-nav > ul > li > a:hover,
.main-navigation .main-nav > ul > li > a:hover {
    color: #ffffff !important;
    background: transparent !important;
}

/* 호버 효과 - 하단 골드 라인 */
#site-navigation .main-nav > ul > li > a::after,
.main-navigation .main-nav > ul > li > a::after {
    content: '' !important;
    position: absolute !important;
    bottom: 20px !important;
    left: 50% !important;
    right: auto !important;
    width: calc(100% - 32px) !important;
    transform: translateX(-50%) scaleX(0) !important;
    height: 2px !important;
    background: #d4af37 !important;
    transform-origin: center !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-radius: 1px !important;
}

#site-navigation .main-nav > ul > li > a:hover::after,
.main-navigation .main-nav > ul > li > a:hover::after,
#site-navigation .main-nav > ul > li.current-menu-item > a::after,
.main-navigation .main-nav > ul > li.current-menu-item > a::after,
#site-navigation .main-nav > ul > li.current-menu-ancestor > a::after,
.main-navigation .main-nav > ul > li.current-menu-ancestor > a::after {
    transform: translateX(-50%) scaleX(1) !important;
}

/* 현재 페이지 표시 */
#site-navigation .main-nav > ul > li.current-menu-item > a,
.main-navigation .main-nav > ul > li.current-menu-item > a,
#site-navigation .main-nav > ul > li.current-menu-ancestor > a,
.main-navigation .main-nav > ul > li.current-menu-ancestor > a {
    color: #ffffff !important;
    background: transparent !important;
}

/* 드롭다운 열린 상태 배경 투명 유지 */
#site-navigation .main-nav > ul > li.sfHover > a,
.main-navigation .main-nav > ul > li.sfHover > a {
    background: transparent !important;
    color: #ffffff !important;
}

/* -----------------------------------
   드롭다운 화살표
----------------------------------- */
#site-navigation .dropdown-menu-toggle,
.main-navigation .dropdown-menu-toggle {
    padding: 0 8px 0 2px !important;
}

#site-navigation .dropdown-menu-toggle svg,
.main-navigation .dropdown-menu-toggle svg {
    fill: rgba(255, 255, 255, 0.6) !important;
    width: 10px !important;
    height: 10px !important;
    transition: all 0.3s ease !important;
}

#site-navigation .main-nav > ul > li:hover .dropdown-menu-toggle svg,
.main-navigation .main-nav > ul > li:hover .dropdown-menu-toggle svg {
    fill: #d4af37 !important;
    transform: rotate(180deg) !important;
}

/* -----------------------------------
   서브메뉴 (드롭다운) 스타일
----------------------------------- */
#site-navigation .main-nav ul ul,
.main-navigation .main-nav ul ul {
    background: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    padding: 8px 0 !important;
    min-width: 220px !important;
    margin-top: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(10px) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#site-navigation .main-nav > ul > li:hover > ul,
.main-navigation .main-nav > ul > li:hover > ul,
#site-navigation .main-nav ul ul.toggled-on,
.main-navigation .main-nav ul ul.toggled-on {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* 드롭다운 상단 화살표 - 제거 */
#site-navigation .main-nav ul ul::before,
.main-navigation .main-nav ul ul::before {
    display: none !important;
}

/* 서브메뉴 아이템 */
#site-navigation .main-nav ul ul li,
.main-navigation .main-nav ul ul li {
    border-bottom: none !important;
}

#site-navigation .main-nav ul ul a,
.main-navigation .main-nav ul ul a {
    font-family: 'Poppins', sans-serif !important;
    color: #2d3748 !important;
    padding: 12px 20px !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

#site-navigation .main-nav ul ul a::before,
.main-navigation .main-nav ul ul a::before {
    content: '' !important;
    width: 0 !important;
    height: 2px !important;
    background: #d4af37 !important;
    transition: width 0.2s ease !important;
}

#site-navigation .main-nav ul ul a:hover,
.main-navigation .main-nav ul ul a:hover {
    color: #0f1c2e !important;
    background: #f7fafc !important;
}

#site-navigation .main-nav ul ul a:hover::before,
.main-navigation .main-nav ul ul a:hover::before {
    width: 12px !important;
}

/* 서브메뉴 - 현재 페이지 표시 */
#site-navigation .main-nav ul ul li.current-menu-item > a,
.main-navigation .main-nav ul ul li.current-menu-item > a {
    color: #0f1c2e !important;
    background: #f7fafc !important;
    font-weight: 600 !important;
}

#site-navigation .main-nav ul ul li.current-menu-item > a::before,
.main-navigation .main-nav ul ul li.current-menu-item > a::before {
    width: 12px !important;
    background: #d4af37 !important;
}

/* -----------------------------------
   검색 아이콘
----------------------------------- */
#site-navigation .search-item a,
.main-navigation .search-item a {
    color: rgba(255, 255, 255, 0.7) !important;
    padding: 24px 12px !important;
    transition: color 0.3s ease !important;
}

#site-navigation .search-item a:hover,
.main-navigation .search-item a:hover {
    color: #d4af37 !important;
}

/* -----------------------------------
   본문 상단 여백 (고정 헤더용)
----------------------------------- */
.site-content {
    padding-top: 90px !important;
}

body.home .site-content,
body.page-template-page-home .site-content {
    padding-top: 70px !important;
}

.admin-bar .site-content {
    padding-top: 122px !important;
}

.admin-bar.home .site-content,
.admin-bar.page-template-page-home .site-content {
    padding-top: 102px !important;
}

/* -----------------------------------
   모바일 메뉴 토글 버튼
----------------------------------- */
.menu-toggle,
#site-navigation .menu-toggle,
.main-navigation .menu-toggle {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    padding: 10px !important;
    cursor: pointer !important;
    display: none !important;
}

.menu-toggle:hover {
    color: #d4af37 !important;
}

.menu-toggle .mobile-menu,
.menu-toggle svg {
    fill: currentColor !important;
    width: 24px !important;
    height: 24px !important;
}

/* -----------------------------------
   반응형 - 태블릿
----------------------------------- */
@media (max-width: 1024px) {
    .inside-header {
        padding: 0 16px !important;
        min-height: 60px !important;
    }
    
    .site-header .main-title a {
        font-size: 1.3rem !important;
    }
    
    #site-navigation .main-nav > ul > li > a,
    .main-navigation .main-nav > ul > li > a {
        padding: 20px 12px !important;
        font-size: 0.85rem !important;
    }
    
    .site-content {
        padding-top: 80px !important;
    }
    
    body.home .site-content,
    body.page-template-page-home .site-content {
        padding-top: 60px !important;
    }
}

/* -----------------------------------
   반응형 - 모바일 (햄버거 메뉴)
----------------------------------- */
@media (max-width: 768px) {
    .inside-header {
        padding: 0 16px !important;
        min-height: 56px !important;
    }
    
    .site-header .main-title a {
        font-size: 1.1rem !important;
    }
    
    .site-header .main-title a::before {
        font-size: 1.1rem !important;
    }
    
    /* 햄버거 버튼 */
    .menu-toggle,
    .main-navigation .menu-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 10px !important;
        background: transparent !important;
        border: none !important;
        color: #ffffff !important;
    }
    
    .menu-toggle:hover,
    .main-navigation .menu-toggle:hover {
        background: transparent !important;
    }
    
    .menu-toggle .gp-icon,
    .menu-toggle svg {
        fill: #ffffff !important;
        color: #ffffff !important;
    }
    
    /* 모바일 메뉴 컨테이너 */
    .main-navigation .main-nav > ul,
    .main-navigation.toggled .main-nav > ul,
    #site-navigation .main-nav > ul,
    #site-navigation.toggled .main-nav > ul {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background: linear-gradient(180deg, #0f1c2e 0%, #1a3a5c 100%) !important;
        flex-direction: column !important;
        padding: 16px 0 !important;
        gap: 0 !important;
        z-index: 999 !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    }
    
    /* 메뉴 열림 상태 */
    .main-navigation.toggled .main-nav > ul,
    #site-navigation.toggled .main-nav > ul,
    .main-navigation .main-nav > ul.toggled,
    #site-navigation .main-nav > ul.toggled {
        display: flex !important;
    }
    
    /* 모바일 메뉴 아이템 */
    .main-navigation .main-nav > ul > li,
    #site-navigation .main-nav > ul > li {
        width: 100% !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        position: relative !important;
    }
    
    .main-navigation .main-nav > ul > li:last-child,
    #site-navigation .main-nav > ul > li:last-child {
        border-bottom: none !important;
    }
    
    .main-navigation .main-nav > ul > li > a,
    #site-navigation .main-nav > ul > li > a {
        display: block !important;
        padding: 14px 24px !important;
        font-size: 0.95rem !important;
        text-transform: none !important;
        color: rgba(255, 255, 255, 0.9) !important;
        font-weight: 500 !important;
    }
    
    .main-navigation .main-nav > ul > li > a:hover,
    #site-navigation .main-nav > ul > li > a:hover {
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.05) !important;
    }
    
    .main-navigation .main-nav > ul > li > a::after,
    #site-navigation .main-nav > ul > li > a::after {
        display: none !important;
    }
    
    /* 드롭다운 토글 버튼 */
    .main-navigation .dropdown-menu-toggle,
    #site-navigation .dropdown-menu-toggle {
        position: absolute !important;
        right: 10px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        padding: 10px 15px !important;
        background: transparent !important;
        border: none !important;
    }
    
    .main-navigation .dropdown-menu-toggle svg,
    #site-navigation .dropdown-menu-toggle svg {
        fill: rgba(255, 255, 255, 0.6) !important;
        width: 12px !important;
        height: 12px !important;
        transition: transform 0.3s ease !important;
    }
    
    .main-navigation .main-nav > ul > li.sfHover > .dropdown-menu-toggle svg,
    #site-navigation .main-nav > ul > li.sfHover > .dropdown-menu-toggle svg {
        transform: rotate(180deg) !important;
    }
    
    /* 모바일 서브메뉴 */
    .main-navigation .main-nav ul ul,
    #site-navigation .main-nav ul ul {
        position: static !important;
        background: rgba(0, 0, 0, 0.2) !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        display: none !important;
        min-width: 100% !important;
    }
    
    .main-navigation .main-nav ul ul::before,
    #site-navigation .main-nav ul ul::before {
        display: none !important;
    }
    
    .main-navigation .main-nav ul li.sfHover > ul,
    #site-navigation .main-nav ul li.sfHover > ul,
    .main-navigation .main-nav ul ul.toggled-on,
    #site-navigation .main-nav ul ul.toggled-on {
        display: block !important;
    }
    
    .main-navigation .main-nav ul ul li,
    #site-navigation .main-nav ul ul li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    }
    
    .main-navigation .main-nav ul ul li:last-child,
    #site-navigation .main-nav ul ul li:last-child {
        border-bottom: none !important;
    }
    
    .main-navigation .main-nav ul ul a,
    #site-navigation .main-nav ul ul a {
        color: rgba(255, 255, 255, 0.8) !important;
        padding: 12px 24px 12px 40px !important;
        font-size: 0.875rem !important;
        background: transparent !important;
    }
    
    .main-navigation .main-nav ul ul a::before,
    #site-navigation .main-nav ul ul a::before {
        content: '–' !important;
        margin-right: 10px !important;
        color: #d4af37 !important;
        width: auto !important;
        height: auto !important;
        background: none !important;
    }
    
    .main-navigation .main-nav ul ul a:hover,
    #site-navigation .main-nav ul ul a:hover {
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.05) !important;
    }
    
    /* 현재 페이지 표시 */
    .main-navigation .main-nav ul ul li.current-menu-item > a,
    #site-navigation .main-nav ul ul li.current-menu-item > a {
        color: #d4af37 !important;
        background: rgba(255, 255, 255, 0.05) !important;
    }
    
    /* 검색 아이콘 */
    .main-navigation .search-item,
    #site-navigation .search-item {
        border-bottom: none !important;
    }
    
    .main-navigation .search-item a,
    #site-navigation .search-item a {
        padding: 14px 24px !important;
    }
    
    /* 본문 여백 */
    .site-content {
        padding-top: 56px !important;
    }
    
    body.home .site-content,
    body.page-template-page-home .site-content {
        padding-top: 0 !important;
    }
    
    .admin-bar .site-content {
        padding-top: 102px !important;
    }
    
    .admin-bar.home .site-content,
    .admin-bar.page-template-page-home .site-content {
        padding-top: 46px !important;
    }
}

/* -----------------------------------
   반응형 - 작은 모바일
----------------------------------- */
@media (max-width: 480px) {
    .site-header .main-title a {
        font-size: 1rem !important;
    }
    
    .site-header .main-title a::before {
        font-size: 1rem !important;
    }
}


/* =================================== 
20. TKN 푸터 스타일
작성일: 2026-02-06
=================================== */

/* 푸터 전체 */
.tkn-footer {
    font-family: 'Poppins', sans-serif;
}

/* 푸터 상단 */
.tkn-footer-top {
    background: linear-gradient(135deg, #0a1628 0%, #0f1c2e 100%);
    padding: 80px 0 60px;
}

.tkn-footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.tkn-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 50px;
}

/* 푸터 로고 */
.tkn-footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.tkn-footer-flag {
    font-size: 1.5rem;
}

.tkn-footer-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
}

.tkn-footer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* 소셜 링크 */
.tkn-footer-social {
    display: flex;
    gap: 12px;
}

.tkn-social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.tkn-social-link:hover {
    background: #d4af37;
    color: #0f1c2e;
    transform: translateY(-3px);
}

/* 푸터 타이틀 */
.tkn-footer-title {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 24px 0;
    padding-bottom: 12px;
    position: relative;
}

.tkn-footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #d4af37;
}

/* 푸터 링크 */
.tkn-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tkn-footer-links li {
    margin-bottom: 12px;
}

.tkn-footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tkn-footer-links a::before {
    content: '';
    width: 0;
    height: 1px;
    background: #d4af37;
    transition: width 0.3s ease;
}

.tkn-footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.tkn-footer-links a:hover::before {
    width: 10px;
}

/* 연락처 텍스트 */
.tkn-footer-contact-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* 뉴스레터 폼 */
.tkn-newsletter-form {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
}

.tkn-newsletter-form input[type="email"] {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 8px 0 0 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 0.875rem;
    outline: none;
    transition: background 0.3s ease;
}

.tkn-newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.tkn-newsletter-form input[type="email"]:focus {
    background: rgba(255, 255, 255, 0.15);
}

.tkn-newsletter-form button {
    padding: 12px 16px;
    background: #d4af37;
    border: none;
    border-radius: 0 8px 8px 0;
    color: #0f1c2e;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tkn-newsletter-form button:hover {
    background: #e8c547;
}

/* 연락처 정보 */
.tkn-footer-contact-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin: 0;
}

.tkn-footer-contact-info svg {
    color: #d4af37;
    flex-shrink: 0;
}

/* 푸터 하단 */
.tkn-footer-bottom {
    background: #070d17;
    padding: 24px 0;
}

.tkn-footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tkn-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8125rem;
    margin: 0;
}

.tkn-credit {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8125rem;
    margin: 0;
}

.tkn-credit a {
    color: #d4af37;
    text-decoration: none;
    transition: color 0.3s ease;
}

.tkn-credit a:hover {
    color: #e8c547;
}

/* 푸터 반응형 - 태블릿 */
@media (max-width: 1024px) {
    .tkn-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* 푸터 반응형 - 모바일 */
@media (max-width: 768px) {
    .tkn-footer-top {
        padding: 60px 0 40px;
    }
    
    .tkn-footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .tkn-footer-col {
        text-align: center;
    }
    
    .tkn-footer-logo {
        justify-content: center;
    }
    
    .tkn-footer-social {
        justify-content: center;
    }
    
    .tkn-footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .tkn-footer-links a {
        justify-content: center;
    }
    
    .tkn-footer-links a::before {
        display: none;
    }
    
    .tkn-footer-links a:hover {
        padding-left: 0;
        color: #d4af37;
    }
    
    .tkn-newsletter-form {
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
    }
    
    .tkn-footer-contact-info {
        justify-content: center;
    }
    
    .tkn-footer-bottom-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* GeneratePress 기본 푸터 숨김 */
.site-footer,
.site-info {
    display: none !important;
}


/* =================================== 
21. TKN 전체 페이지 디자인 통일
작성일: 2026-02-06
=================================== */

/* -----------------------------------
   공통 변수 및 폰트
----------------------------------- */
.site-content,
.sidebar,
.widget,
.entry-content,
.comment-form {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* -----------------------------------
   브레드크럼 스타일
----------------------------------- */
.entry-header .breadcrumbs,
.page-header .breadcrumbs,
nav[aria-label="breadcrumbs"] {
    font-size: 0.8125rem;
    color: #718096;
    margin-bottom: 16px;
    padding: 12px 0;
}

.entry-header .breadcrumbs a,
.page-header .breadcrumbs a,
nav[aria-label="breadcrumbs"] a {
    color: #1a3a5c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.entry-header .breadcrumbs a:hover,
nav[aria-label="breadcrumbs"] a:hover {
    color: #d4af37;
}

/* -----------------------------------
   포스트 헤더 스타일
----------------------------------- */
.single .entry-header,
.page .entry-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
}

.single .entry-title,
.page .entry-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #0f1c2e;
    line-height: 1.3;
    margin: 0 0 12px 0;
}

.entry-meta {
    font-size: 0.875rem;
    color: #718096;
}

.entry-meta a {
    color: #1a3a5c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.entry-meta a:hover {
    color: #d4af37;
}

/* -----------------------------------
   본문 콘텐츠 스타일
----------------------------------- */
.entry-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #2d3748;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    font-family: 'Poppins', sans-serif;
    color: #0f1c2e;
    margin-top: 2em;
    margin-bottom: 0.75em;
}

.entry-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}

.entry-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.entry-content a {
    color: #1a3a5c;
    text-decoration: underline;
    text-decoration-color: #d4af37;
    text-underline-offset: 3px;
    transition: all 0.3s ease;
}

.entry-content a:hover {
    color: #d4af37;
}

.entry-content img {
    border-radius: 8px;
    margin: 24px 0;
}

.entry-content blockquote {
    border-left: 4px solid #d4af37;
    background: #f7fafc;
    padding: 20px 24px;
    margin: 24px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #4a5568;
}

/* -----------------------------------
   사이드바 전체 스타일
----------------------------------- */
.sidebar .widget {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

.sidebar .widget-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #0f1c2e;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
    position: relative;
}

.sidebar .widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #d4af37;
}

/* -----------------------------------
   검색 위젯 스타일
----------------------------------- */
.sidebar .search-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar .search-field {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: #f7fafc;
}

.sidebar .search-field:focus {
    outline: none;
    border-color: #d4af37;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.sidebar .search-form button,
.sidebar .search-form .search-submit,
.sidebar .search-form input[type="submit"] {
    background: linear-gradient(135deg, #0f1c2e 0%, #1a3a5c 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 14px 24px !important;
    border-radius: 8px !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 100%;
}

.sidebar .search-form button:hover,
.sidebar .search-form .search-submit:hover,
.sidebar .search-form input[type="submit"]:hover {
    background: linear-gradient(135deg, #1a3a5c 0%, #2d5a87 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 28, 46, 0.3);
}

/* -----------------------------------
   탭 위젯 스타일 (최신글/인기글)
----------------------------------- */
.tabbed-posts-widget {
    margin: 0 -24px -24px -24px;
}

.tabbed-posts-widget .tabs-nav {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 24px;
    gap: 0;
}

.tabbed-posts-widget .tab-button {
    flex: 1;
    padding: 14px 16px;
    background: transparent !important;
    border: none !important;
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: #718096;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tabbed-posts-widget .tab-button::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: transparent;
    transition: background 0.3s ease;
}

.tabbed-posts-widget .tab-button:hover {
    color: #0f1c2e;
}

.tabbed-posts-widget .tab-button.active {
    color: #0f1c2e !important;
    background: transparent !important;
}

.tabbed-posts-widget .tab-button.active::after {
    background: #d4af37;
}

.tabbed-posts-widget .tabs-content {
    padding: 20px 24px 24px;
}

.tabbed-posts-widget .tab-content {
    display: none;
}

.tabbed-posts-widget .tab-content.active {
    display: block;
}

/* -----------------------------------
   포스트 리스트 아이템 (사이드바)
----------------------------------- */
.sidebar .posts-list,
.sidebar .related-posts-widget,
.sidebar ul.recent-posts-widget {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar .recent-post-item,
.sidebar .posts-list li {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar .recent-post-item:last-child,
.sidebar .posts-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar .recent-post-item a,
.sidebar .posts-list li a {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar .recent-post-item .post-thumbnail,
.sidebar .posts-list li .post-thumbnail {
    flex-shrink: 0;
    width: 70px;
    height: 52px;
    border-radius: 6px;
    overflow: hidden;
    background: #f0f0f0;
}

.sidebar .recent-post-item .post-thumbnail img,
.sidebar .posts-list li .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sidebar .recent-post-item a:hover .post-thumbnail img,
.sidebar .posts-list li a:hover .post-thumbnail img {
    transform: scale(1.1);
}

.sidebar .recent-post-item .post-content,
.sidebar .posts-list li .post-content {
    flex: 1;
    min-width: 0;
}

.sidebar .recent-post-item h4,
.sidebar .posts-list li h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: #2d3748;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.sidebar .recent-post-item a:hover h4,
.sidebar .posts-list li a:hover h4 {
    color: #d4af37;
}

/* -----------------------------------
   관련 글 위젯 (본문 하단)
----------------------------------- */
.cat-links-box,
.related-category-posts {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin: 32px 0;
}

.cat-links-box h3,
.related-category-posts h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #0f1c2e;
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
    position: relative;
}

.cat-links-box h3::after,
.related-category-posts h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #d4af37;
}

.cat-links-box ul,
.related-category-posts ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cat-links-box li,
.related-category-posts li {
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
}

.cat-links-box li:last-child,
.related-category-posts li:last-child {
    border-bottom: none;
}

.cat-links-box a,
.related-category-posts a {
    color: #2d3748;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.cat-links-box a::before,
.related-category-posts a::before {
    content: '•';
    color: #d4af37;
    font-weight: bold;
}

.cat-links-box a:hover,
.related-category-posts a:hover {
    color: #d4af37;
    padding-left: 8px;
}

/* -----------------------------------
   이전/다음 글 네비게이션
----------------------------------- */
.post-navigation,
.paging-navigation,
nav.navigation.post-navigation {
    margin: 40px 0;
    padding: 24px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.post-navigation .nav-links,
.paging-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    flex: 1;
    max-width: 48%;
}

.post-navigation .nav-previous a,
.post-navigation .nav-next a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #f7fafc;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.post-navigation .nav-next a {
    flex-direction: row-reverse;
    text-align: right;
}

.post-navigation a:hover {
    background: #0f1c2e;
    border-color: #0f1c2e;
}

.post-navigation a:hover * {
    color: #ffffff !important;
}

.post-navigation .nav-previous a::before {
    content: '←';
    font-size: 1.25rem;
    color: #d4af37;
    transition: transform 0.3s ease;
}

.post-navigation .nav-next a::after {
    content: '→';
    font-size: 1.25rem;
    color: #d4af37;
    transition: transform 0.3s ease;
}

.post-navigation a:hover::before {
    transform: translateX(-4px);
}

.post-navigation a:hover::after {
    transform: translateX(4px);
}

.post-navigation .post-title,
.post-navigation a span {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #2d3748;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* -----------------------------------
   댓글 영역 스타일
----------------------------------- */
.comments-area {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #e2e8f0;
}

.comments-title,
#reply-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f1c2e;
    margin-bottom: 24px;
}

.comment-form label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: #2d3748;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: #f7fafc;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #d4af37;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.comment-form .submit,
.comment-form input[type="submit"] {
    background: linear-gradient(135deg, #0f1c2e 0%, #1a3a5c 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 14px 32px !important;
    border-radius: 8px !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.comment-form .submit:hover,
.comment-form input[type="submit"]:hover {
    background: linear-gradient(135deg, #1a3a5c 0%, #2d5a87 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 28, 46, 0.3);
}

/* -----------------------------------
   카테고리/아카이브 페이지 스타일
----------------------------------- */
.page-header {
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
}

.page-header .page-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #0f1c2e;
    margin: 0 0 8px 0;
}

.page-header .archive-description {
    color: #718096;
    font-size: 1rem;
}

/* 아카이브 포스트 카드 */
.generate-columns-container article,
article.post {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    margin-bottom: 24px;
}

.generate-columns-container article:hover,
article.post:hover {
    transform: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.generate-columns-container .inside-article,
article.post .inside-article {
    padding: 0;
}

.generate-columns-container .post-image,
article.post .post-image {
    margin: 0;
    overflow: hidden;
}

.generate-columns-container .post-image img,
article.post .post-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.generate-columns-container article:hover .post-image img,
article.post:hover .post-image img {
    transform: scale(1.05);
}

.generate-columns-container .entry-header,
.generate-columns-container .entry-summary,
article.post .entry-header,
article.post .entry-summary {
    padding: 20px;
}

.generate-columns-container .entry-title,
article.post .entry-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.generate-columns-container .entry-title a,
article.post .entry-title a {
    color: #0f1c2e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.generate-columns-container .entry-title a:hover,
article.post .entry-title a:hover {
    color: #1a3a5c;
}

/* -----------------------------------
   페이지네이션 스타일
----------------------------------- */
.pagination,
.nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 40px 0;
}

.pagination .page-numbers,
.nav-links .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #2d3748;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination .page-numbers:hover,
.nav-links .page-numbers:hover {
    background: #f7fafc;
    border-color: #d4af37;
    color: #0f1c2e;
}

.pagination .page-numbers.current,
.nav-links .page-numbers.current {
    background: linear-gradient(135deg, #0f1c2e 0%, #1a3a5c 100%);
    border-color: #0f1c2e;
    color: #ffffff;
}

/* -----------------------------------
   GTranslate 위젯 스타일
----------------------------------- */
.sidebar .widget_gtranslate {
    background: #ffffff;
}

.gtranslate_wrapper {
    margin-bottom: 0;
}

/* -----------------------------------
   기타 버튼 스타일 통일
----------------------------------- */
.wp-block-button__link,
.button,
input[type="button"],
input[type="submit"],
button:not(.tab-button):not(.menu-toggle) {
    font-family: 'Poppins', sans-serif;
}

/* 단축주소 생성 버튼 영역 */
.shorturl-box,
.url-shortener-box {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    margin: 24px 0;
    text-align: center;
}

.shorturl-box a,
.url-shortener-box a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #0f1c2e 0%, #1a3a5c 100%);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.shorturl-box a:hover,
.url-shortener-box a:hover {
    background: linear-gradient(135deg, #1a3a5c 0%, #2d5a87 100%);
    transform: translateY(-2px);
}

/* -----------------------------------
   아카이브 더보기 버튼 스타일
----------------------------------- */
.custom-post-meta .btn,
.custom-post-meta .btn-primary,
a.btn.btn-primary,
.btn.btn-primary,
.read-more a,
a.read-more,
.entry-summary a.read-more,
.more-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    background: linear-gradient(135deg, #0f1c2e 0%, #1a3a5c 100%) !important;
    color: #ffffff !important;
    padding: 10px 20px !important;
    border-radius: 6px !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 0.8125rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    border: none !important;
    line-height: 1.4 !important;
    text-indent: 0 !important;
}

.custom-post-meta .btn:hover,
.custom-post-meta .btn-primary:hover,
a.btn.btn-primary:hover,
.btn.btn-primary:hover,
.read-more a:hover,
a.read-more:hover,
.entry-summary a.read-more:hover,
.more-link:hover {
    background: linear-gradient(135deg, #1a3a5c 0%, #2d5a87 100%) !important;
    color: #ffffff !important;
    transform: none !important;
    box-shadow: none !important;
}

/* 버튼 컨테이너 정렬 */
.custom-post-meta {
    text-align: right !important;
    padding: 0 20px 20px 20px !important;
    margin: 0 !important;
}

/* -----------------------------------
   아카이브 포스트 카드 여백 수정
----------------------------------- */
.generate-columns-container article,
article.post,
.blog article,
.archive article,
.category article {
    margin-bottom: 0 !important;
}

.generate-columns-container article .inside-article,
article.post .inside-article,
.blog article .inside-article,
.archive article .inside-article,
.category article .inside-article {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* 포스트 간 구분선으로 대체 */
.generate-columns-container article + article,
article.post + article.post {
    margin-top: 24px !important;
}

.generate-columns-container .inside-article,
article.post .inside-article {
    padding: 0 !important;
    margin: 0 !important;
}

.generate-columns-container .entry-summary,
article.post .entry-summary {
    padding: 0 20px 20px 20px !important;
    margin: 0 !important;
}

.generate-columns-container .entry-header,
article.post .entry-header {
    padding: 20px 20px 10px 20px !important;
    margin: 0 !important;
    border-bottom: none !important;
}

/* 포스트 타이틀 좌측 보더 제거 */
.generate-columns-container .entry-title,
article.post .entry-title,
.archive .entry-title,
.category .entry-title,
.blog .entry-title {
    border-left: none !important;
    padding-left: 0 !important;
    margin-bottom: 0 !important;
}

/* footer 영역 여백 제거 */
.generate-columns-container .entry-meta,
.generate-columns-container footer.entry-meta,
article.post .entry-meta,
article.post footer.entry-meta {
    padding: 0 20px 20px 20px !important;
    margin: 0 !important;
}

/* 이미지 없는 포스트 상단 여백 */
.generate-columns-container article:not(:has(.post-image)) .entry-header,
article.post:not(:has(.post-image)) .entry-header {
    padding-top: 20px !important;
}


/* -----------------------------------
   반응형 스타일
----------------------------------- */
@media (max-width: 1024px) {
    .single .entry-title,
    .page .entry-title {
        font-size: 1.75rem;
    }
    
    .post-navigation .nav-links {
        flex-direction: column;
    }
    
    .post-navigation .nav-previous,
    .post-navigation .nav-next {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .single .entry-title,
    .page .entry-title {
        font-size: 1.5rem;
    }
    
    .sidebar .widget {
        padding: 20px;
    }
    
    .tabbed-posts-widget {
        margin: 0 -20px -20px -20px;
    }
    
    .tabbed-posts-widget .tabs-nav {
        padding: 0 20px;
    }
    
    .tabbed-posts-widget .tabs-content {
        padding: 16px 20px 20px;
    }
    
    .entry-content h2 {
        font-size: 1.25rem;
    }
    
    .cat-links-box,
    .related-category-posts {
        padding: 20px;
    }
}

/* =================================== 
22. TKN 한국어 문구 박스 스타일
작성일: 2026-02-06
수정일: 2026-02-06
=================================== */

/* -----------------------------------
   문구 박스 컨테이너
----------------------------------- */
.tkn-phrases-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    margin: 48px 0;
    overflow: hidden;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* -----------------------------------
   헤더 영역 (밝은 버전)
----------------------------------- */
.tkn-phrases-header {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 24px 28px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.tkn-phrases-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.tkn-phrases-icon {
    font-size: 1.75rem;
}

.tkn-phrases-title h3 {
    color: #0f1c2e;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.tkn-phrases-subtitle {
    color: #64748b;
    font-size: 0.875rem;
    margin: 0;
}

/* -----------------------------------
   탭 네비게이션 (밝은 버전)
----------------------------------- */
.tkn-phrases-tabs {
    display: flex;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
	padding: 10px 10px;
}

.tkn-phrase-tab {
    flex: 1;
    padding: 16px 20px;
    background: #f8fafc;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tkn-phrase-tab:first-child {
    border-right: 1px solid #e2e8f0;
}

.tkn-phrase-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #d4af37;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tkn-phrase-tab:hover {
    color: #0f1c2e;
    background: #ffffff;
}

.tkn-phrase-tab.active {
    color: #0f1c2e;
    background: #ffffff;
}

.tkn-phrase-tab.active::after {
    transform: scaleX(1);
}

/* -----------------------------------
   컨텐츠 영역
----------------------------------- */
.tkn-phrases-content {
    background: #ffffff;
}

.tkn-phrase-panel {
    display: none;
    padding: 8px 0;
}

.tkn-phrase-panel.active {
    display: block;
}

/* -----------------------------------
   문구 아이템
----------------------------------- */
.tkn-phrase-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 24px;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s ease;
}

.tkn-phrase-item:last-child {
    border-bottom: none;
}

.tkn-phrase-item:hover {
    background: #fafbfc;
}

.tkn-phrase-main {
    flex: 1;
    min-width: 0;
}

.tkn-phrase-korean {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: #0f1c2e;
    margin-bottom: 4px;
    word-break: keep-all;
}

.tkn-phrase-romanization {
    display: block;
    font-size: 0.8125rem;
    color: #d4af37;
    font-style: italic;
    margin-bottom: 4px;
}

.tkn-phrase-english {
    display: block;
    font-size: 0.875rem;
    color: #64748b;
}

/* -----------------------------------
   액션 버튼들
----------------------------------- */
.tkn-phrase-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.tkn-phrase-actions button {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    position: relative;
}

.tkn-phrase-actions button svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* 버튼 화살표 제거 */
.tkn-phrase-actions button::before,
.tkn-phrase-actions button::after,
.tkn-btn-speak::before,
.tkn-btn-speak::after,
.tkn-btn-copy::before,
.tkn-btn-copy::after,
.tkn-btn-show::before,
.tkn-btn-show::after,
.tkn-phrase-tab::before,
.tkn-phrase-tab::after,
.tkn-modal-speak::before,
.tkn-modal-speak::after,
.tkn-modal-close::before,
.tkn-modal-close::after {
    content: none !important;
    display: none !important;
}

/* 듣기 버튼 - 파란색 */
.tkn-btn-speak {
    background: #e0f2fe;
    color: #0369a1;
}

.tkn-btn-speak:hover {
    background: #0369a1;
    color: #ffffff;
}

.tkn-btn-speak.speaking {
    background: #0369a1;
    color: #ffffff;
    animation: pulse 0.5s ease;
}

/* 복사 버튼 - 녹색 */
.tkn-btn-copy {
    background: #dcfce7;
    color: #16a34a;
}

.tkn-btn-copy:hover {
    background: #16a34a;
    color: #ffffff;
}

.tkn-btn-copy.copied {
    background: #16a34a;
    color: #ffffff;
}

/* Show 버튼 - 골드 */
.tkn-btn-show {
    background: #fef3c7;
    color: #b45309;
}

.tkn-btn-show:hover {
    background: #d4af37;
    color: #ffffff;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* 복사 완료 메시지 (화면 중앙 하단) */
.tkn-copy-msg {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #16a34a;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 50px;
    z-index: 99999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: msgSlideUp 0.3s ease;
}

@keyframes msgSlideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* -----------------------------------
   푸터 (팁)
----------------------------------- */
.tkn-phrases-footer {
    background: #fffbeb;
    border-top: 1px solid #fef3c7;
    padding: 14px 24px;
}

.tkn-phrases-footer p {
    margin: 0;
    font-size: 0.8125rem;
    color: #92400e;
}

/* -----------------------------------
   전체화면 모달
----------------------------------- */
.tkn-phrase-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 28, 46, 0.95);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.tkn-phrase-modal.active {
    display: flex;
}

.tkn-phrase-modal-content {
    background: #ffffff;
    border-radius: 24px;
    padding: 48px 40px;
    max-width: 600px;
    width: 100%;
    text-align: center;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.tkn-phrase-modal .tkn-modal-close {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    left: auto !important;
    bottom: auto !important;
    width: 44px !important;
    height: 44px !important;
    border: none !important;
    background: #ef4444 !important;
    border-radius: 50% !important;
    font-size: 1.75rem !important;
    font-weight: 300 !important;
    color: #ffffff !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    line-height: 1 !important;
    z-index: 10 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
    padding: 0 !important;
    margin: 0 !important;
}

.tkn-phrase-modal .tkn-modal-close:hover {
    background: #dc2626 !important;
    color: #ffffff !important;
    transform: scale(1.1) !important;
}

.tkn-modal-korean {
    font-size: 3rem;
    font-weight: 700;
    color: #0f1c2e;
    margin-bottom: 16px;
    line-height: 1.3;
    word-break: keep-all;
}

.tkn-modal-english {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 32px;
}

.tkn-modal-speak {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #0f1c2e 0%, #1a3a5c 100%);
    color: #ffffff;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tkn-modal-speak:hover {
    background: linear-gradient(135deg, #1a3a5c 0%, #2d5a87 100%);
}

.tkn-modal-speak svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

/* -----------------------------------
   반응형 - 태블릿
----------------------------------- */
@media (max-width: 768px) {
    .tkn-phrases-box {
        margin: 32px 0;
        border-radius: 12px;
    }
    
    .tkn-phrases-header {
        padding: 20px;
    }
    
    .tkn-phrases-title h3 {
        font-size: 1.125rem;
    }
    
    .tkn-phrase-tab {
        padding: 14px 12px;
        font-size: 0.8rem;
    }
    
    .tkn-phrase-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px 20px;
    }
    
    .tkn-phrase-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .tkn-phrase-actions button {
        flex: 1;
        max-width: 70px;
    }
    
    .tkn-phrases-footer {
        padding: 12px 20px;
    }
    
    /* 모달 반응형 */
    .tkn-phrase-modal-content {
        padding: 40px 24px;
        border-radius: 16px;
    }
    
    .tkn-modal-korean {
        font-size: 2.25rem;
    }
    
    .tkn-modal-english {
        font-size: 1rem;
    }
    
    .tkn-modal-speak {
        padding: 14px 28px;
        font-size: 0.9rem;
    }
}

/* -----------------------------------
   반응형 - 모바일
----------------------------------- */
@media (max-width: 480px) {
    .tkn-phrases-icon {
        font-size: 1.5rem;
    }
    
    .tkn-phrases-title h3 {
        font-size: 1rem;
    }
    
    .tkn-phrases-subtitle {
        font-size: 0.75rem;
    }
    
    .tkn-phrase-korean {
        font-size: 1rem;
    }
    
    .tkn-phrase-romanization {
        font-size: 0.75rem;
    }
    
    .tkn-phrase-english {
        font-size: 0.8125rem;
    }
    
    .tkn-phrase-actions button {
        width: 38px;
        height: 38px;
    }
    
    .tkn-phrase-actions button svg {
        width: 18px;
        height: 18px;
    }
    
    .tkn-modal-korean {
        font-size: 1.75rem;
    }
    
    .tkn-modal-english {
        font-size: 0.9rem;
        margin-bottom: 24px;
    }
    
    .tkn-modal-speak {
        width: 100%;
        justify-content: center;
    }
}