/* ================================
PC 전체 (로고 + 메뉴 + 레이아웃)
================================ */

@media (min-width:769px){

    /* ---------------- LOGO ---------------- */
    .site-logo img,
    .custom-logo{
        display:none !important;
    }

    .site-logo{
        display:block !important;
        width:360px;
        background:url('/wp-content/uploads/2026/03/logo.webp?v=2') no-repeat left center;
        background-size:contain;
        padding-top:70px;
        margin-bottom:-25px;
        cursor:pointer; /* 🔥 클릭 영역 */
    }

    /* 로고와 우측 메뉴 사이  간격 줄이기 */
    .site-branding{
        margin-right:20px;  /* 🔥 여기로 간격 조절 */
    }

    /* 로고 아래 간격 줄이기 */
    .site-logo{
        margin-bottom:-15px;   /* 🔥 핵심 */
    }


/* ================================
MENU 관련
================================ */

    /* 메뉴 위 간격 제거 */
    .main-navigation{
        display:flex;
        align-items:center;
        margin-top:8px !important;  /* 바깥 간격 */
        padding-top:0 !important;  /* 안쪽 간격 */
    }

    /* 메뉴 리스트간 간격 */
    .main-navigation ul{
        display:flex;
        gap:5px;                    /* 🔥 메뉴 리스트 A와 B사이트 간격  */
        margin:0;
        padding:0;
    }

    /* 메뉴 링크 */
    .main-navigation a{
        font-size:15px;
        color:#333;
        padding:6px 8px;
        text-decoration:none;
    }

    .main-navigation a:hover{
        color:#1a5fd1;
    }


/* ================================
HEADER - 헤더(로고+메뉴)와 칸텐츠(제목) 사이
================================ */

    /*  HEADER  내부 여백 제거  */
    .inside-header{
        display:flex;                /* 🔥 핵심 (정렬 안정화) */
        align-items:center;          /* 🔥 수직 정렬 */
        padding-top:0 !important;
        padding-bottom:0 !important;
    }

	.site-header {
	   padding-top: 0;
}







/* ================================
 CONTENT  부분
================================ */

    /*  CONTENT */
    .site-content{
        margin-top:-10px;  /* 제목과 로고 사이 간격 */
    }

    /*  제목 */
.entry-title{
    font-size:35px !important;   /* 🔥  제목 글씨 크기 - 기본 40~50 */
    line-height:1.3;
}

    /* 날짜/작성자 */
.entry-meta,
.entry-meta *{
    display:none !important;
}



/* ================================
 사이드바  부분
================================ */

/* 제목 */
.sidebar h3{
    font-size:18px;       /* 🔥 크기 복구 */
    font-weight:600;
    margin-bottom:12px;
    line-height:1.3;
}

/* 리스트 기본 제거 */
.sidebar-links{
    list-style:none;
    padding-left:0;
    margin:0;
}

/* 항목 */
.sidebar-links li{
    margin-bottom:8px;
}

/* 링크 */
.sidebar-links a{
    font-size:14px;
    color:#1a5fd1;
    text-decoration:none;
    display:block;
}

.sidebar-links a:hover{
    text-decoration:underline;
}


/* Recent Repair Guides 리스트 */
.sidebar .widget a{
    font-size:13.7px !important;     /* 🔥 글씨 줄이기 */
    line-height:1.4;
    display:block;
}

/* 줄 간격 */
.sidebar .widget li{
    margin-bottom:6px;
}

/* 리스트 여백 */
.sidebar .widget ul{
    padding-left:0;
    margin:0;
    list-style:none;
}



/* 서치와 이미지 사이간격 */
.sidebar .widget {
    margin-bottom: 8px;  /* 서치와 이미지 사이간격 */
}

.sidebar{
    width:25%;
}

.content-area{
    width:75%;
}

.sidebar .widget{
    margin-bottom:25px;
    padding:15px;
    background:#fff;
    border:1px solid #eee;
}

.sidebar h2{
    font-size:18px;
    margin-bottom:10px;
}


/* ================================
SEARCH BOX - FINAL
================================ */

/* 전체 박스 */
.widget_search{
    padding:16px;
    border:1px solid #e5e5e5;
    border-radius:8px;
    background:#fff;
    border:none !important;
    background:none !important;
    padding:0 !important;
}

/* 제목 */
.widget_search h2,
.widget_search h3{
    display:none !important;
}

/* 🔥 Search 글씨 제거 (label) */
.widget_search label{
    display:none !important;
}

/* 폼 정렬 */
.widget_search form{
    display:flex;
    gap:8px;
}

/* 입력창 */
.widget_search input[type="search"]{
    flex:1;

    padding:10px 12px;
    font-size:14px;

    border:1px solid #ddd;
    border-radius:20px; /* 검색 입력 창 둥근 정도 */

    outline:none;
    transition:0.2s;
}

/* 포커스 효과 */
.widget_search input[type="search"]:focus{
    border-color:#1a73e8;
}

/* 버튼 */
.widget_search button{
    padding:10px 14px;

    background:#333;
    color:#fff;

    border:none;
    border-radius:25px; /* 서치 보튼 라운드 정도 */

    font-size:14px;
    cursor:pointer;
    transition:0.2s;
}

/* hover */
.widget_search button:hover{
    background:#000;
}















/* ================================
SIDEBAR BOX (PC)
================================ */

.sidebar .widget{
    margin-bottom:25px;          /* 🔥 박스 간 간격 */
    padding:18px;                /* 🔥 내부 여백 */
    border-radius:8px;           /* 🔥 모서리 둥글기 */
    border:1px solid #e5e5e5;    /* 🔥 박스 라인 */

    background:#fff;             /* 🔥 배경 */
}




/* ================================
PRINT LOGO FIX (완전 해결)
================================ */

@media print{

    /* 기존 로고 제거 */
    .site-logo{
        background:none !important;
        padding:0 !important;
        margin:0 !important;

        display:flex !important;
        justify-content:center !important;
        align-items:center !important;
    }

    /* 🔥 핵심: 가짜 이미지 생성 */
    .site-logo::before{
        content:'' !important;

        display:block !important;

        width:360px;
        height:80px;

        background:url('/wp-content/uploads/2026/03/logo.webp?v=2') no-repeat center center;
        background-size:contain;
    }

/* ================================
PRINT LOGO FINAL (PC + MOBILE 통합)
================================ */
@media print{

    /* 🔥 header 전체 여백 제거 */
    .site-header,
    .inside-header,
    .site-branding{
        margin:0 !important;
        padding:0 !important;
        height:auto !important;
        min-height:0 !important;
        text-align:center !important;
    }

    /* 🔥 로고 영역 */
    .site-logo{
        display:flex !important;
        justify-content:center !important;
        align-items:center !important;
        margin:0 !important;
        padding:0 !important;
        background:none !important;
    }

    /* 🔥 기존 요소 제거 */
    .site-logo *{
        display:none !important;
    }

    /* 🔥 로고 삽입 + 중앙정렬 */
    .site-logo::after{
        content:url('/wp-content/uploads/2026/03/logo.webp?v=2');
        display:block;
        width:360px;
        margin:0 auto !important;
    }

}












