/*
Theme Name: the7dtchild
Author: Dream-Theme
Author URI: http://dream-theme.com/
Description: The7 is perfectly scalable, performance and SEO optimized, responsive, retina ready multipurpose WordPress theme. It will fit every site – big or small. From huge corporate portals to studio or personal sites – The7 will become a great foundation for your next project!
Version: 1.0.3
License: This WordPress theme is comprised of two parts: (1) The PHP code and integrated HTML are licensed under the GPL license as is WordPress itself.  You will find a copy of the license text in the same directory as this text file. Or you can read it here: http://wordpress.org/about/gpl/ (2) All other parts of the theme including, but not limited to the CSS code, images, and design are licensed according to the license purchased. Read about licensing details here: http://themeforest.net/licenses/regular_extended
Template: dt-the7
*/

/* ==========================================================================
   SkyFund Custom Styles (Migrated from Simple Custom CSS and JS)
   ========================================================================== */

/* KBoard 게시판 리스트 메타 정보 및 크레딧 숨김 */
.kboard-list-user,
.kboard-ask-one-poweredby,
.kboard-list-vote,
.kboard-default-poweredby {
    display: none !important;
}

/* DB / 개인정보 동의 및 다운로드 버튼 */
.privacy-agree {
    padding: 2em;
    background-color: #fff;
    border: 1px solid #ccc;
}
.btn-download a {
    background-color: #009bcd;
    color: #fff;
    padding: 0.5em 1em;
    font-size: 13px;
}
.btn-download p {
    padding-top: 5px;
}

/* 메인 링크 버튼 */
.btn-link a {
    color: #000;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid #000;
    padding: 0.5em 0.5em 0.3em 0.5em;
    display: block;
}
.btn-link a:hover {
    color: #000;
}

/* 서브메뉴 모바일 반응형 (최대 980px) */
@media (max-width: 980px) {
    .elementor-nav-menu {
        flex-direction: column;
    }
}

/* 포스트 썸네일 숨김 */
.post-thumbnail {
    display: none;
}

/* 엘리멘터 내비게이션 메뉴 그리드 균등 분할 */
.elementor-nav-menu li {
    margin: 0 auto;
}
.elementor-nav-menu li:first-child:nth-last-child(1) {
    width: 100%;
}
.elementor-nav-menu li:first-child:nth-last-child(2),
.elementor-nav-menu li:first-child:nth-last-child(2) ~ li {
    width: 50%;
}
.elementor-nav-menu li:first-child:nth-last-child(3),
.elementor-nav-menu li:first-child:nth-last-child(3) ~ li {
    width: 33.3333%;
}
.elementor-nav-menu li:first-child:nth-last-child(4),
.elementor-nav-menu li:first-child:nth-last-child(4) ~ li {
    width: 25%;
}
.elementor-nav-menu li:first-child:nth-last-child(5),
.elementor-nav-menu li:first-child:nth-last-child(5) ~ li {
    width: 20%;
}

/* ==========================================================================
   비밀번호 보호 화면 (인트라넷 / 내부사용자) 헤더 & 카드 스타일 보정
   ========================================================================== */

/* 비밀번호 대기 화면 시 헤더 배경 고정 */
body.the7-password-gate .masthead:not(#phantom) {
    background-color: #192734 !important;
    position: relative !important;
}

body.the7-password-gate .masthead:not(#phantom) .top-bar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* 프리셋 설정과 무관하게 상단 메뉴 글씨를 선명한 흰색(#ffffff)으로 강제 지정 */
body.the7-password-gate .masthead:not(#phantom) .main-nav > li > a .menu-text,
body.the7-password-gate .masthead:not(#phantom) .main-nav > li > a .menu-item-text,
body.the7-password-gate .masthead:not(#phantom) .main-nav > li > a,
body.the7-password-gate .masthead:not(#phantom) #primary-menu > li > a .menu-text {
    color: #ffffff !important;
}

/* 메뉴 호버 및 활성(Active) 시 스카이펀드 브랜드 블루 적용 */
body.the7-password-gate .masthead:not(#phantom) .main-nav > li > a:hover .menu-text,
body.the7-password-gate .masthead:not(#phantom) .main-nav > li.act > a .menu-text,
body.the7-password-gate .masthead:not(#phantom) .main-nav > li.current-menu-item > a .menu-text,
body.the7-password-gate .masthead:not(#phantom) .main-nav > li.current-menu-ancestor > a .menu-text {
    color: #009bcd !important;
}

/* 모바일 햄버거 메뉴 아이콘 색상 보정 */
body.the7-password-gate .masthead:not(#phantom) .mobile-menu-icon span {
    background-color: #ffffff !important;
}

/* 비밀번호 입력 폼 모던 카드 디자인 */
body.the7-password-gate .post-password-form {
    margin: 80px auto !important;
    max-width: 480px;
    padding: 40px 32px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.08);
    text-align: center !important;
}

body.the7-password-gate .post-password-form p:first-of-type {
    font-size: 15px;
    font-weight: 500;
    color: #475569;
    margin-bottom: 24px;
    line-height: 1.6;
}

body.the7-password-gate .post-password-form label {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    display: inline-block;
    margin-bottom: 8px;
}

body.the7-password-gate .post-password-form input[type="password"] {
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    margin: 0 8px;
}

body.the7-password-gate .post-password-form input[type="password"]:focus {
    border-color: #009bcd;
    box-shadow: 0 0 0 3px rgba(0, 155, 205, 0.15);
}

body.the7-password-gate .post-password-form input[type="submit"] {
    padding: 10px 24px;
    background-color: #009bcd;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

body.the7-password-gate .post-password-form input[type="submit"]:hover {
    background-color: #0082ac;
}
