/* 1. 최신 글 & 카테고리 목록 공통 디자인 (콤마로 연결) */
.sidebar .widget_recent_entries ul li,
.sidebar .widget_categories ul li {
    margin-bottom: 0 !important;
    padding: 8px 0 !important;       /* 촘촘한 간격 */
    border-bottom: 1px dotted #ddd;  /* 점선 밑줄 */
    font-size: 14px;
    list-style: none;
    line-height: 1.4;
}

/* 2. 마지막 줄은 밑줄 제거 (공통) */
.sidebar .widget_recent_entries ul li:last-child,
.sidebar .widget_categories ul li:last-child {
    border-bottom: none;
}

/* 3. 링크 텍스트 스타일 (공통) */
.sidebar .widget_recent_entries ul li a,
.sidebar .widget_categories ul li a {
    color: #555;
    text-decoration: none;
    display: inline-block;
    width: 85%; /* 제목이 길면 적당히 줄바꿈 */
}

/* 4. 마우스 올렸을 때 (공통) */
.sidebar .widget_recent_entries ul li a:hover,
.sidebar .widget_categories ul li a:hover {
    color: #1e73be;
    text-decoration: underline;
}

/* 5. [카테고리 전용] 글 개수(42) 디자인 */
.sidebar .widget_categories ul li .count {
    float: right;               /* 오른쪽 끝으로 보냄 */
    background-color: #f1f1f1;  /* 연한 회색 배경 */
    color: #888;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;        /* 둥글게 */
    margin-top: 2px;
}

/* 6. [최신 글 전용] 날짜 디자인 */
.sidebar .widget_recent_entries .post-date {
    display: block;
    font-size: 12px;
    color: #aaa;
    margin-top: 2px;
}


/* 작성자 이름(by ...) 아예 숨기기 */
.entry-meta .byline {
    display: none !important;
}

/* 혹시라도 남아있을 작성자 링크 숨기기 */
.entry-meta .author {
    display: none !important;
}

/* 본문 글 끝난 뒤 나오는 카테고리(폴더 아이콘), 태그 싹 숨기기 */
/*footer.entry-meta {*/
/*    display: none !important;*/
/*}*/
/* 본문 글 끝난 뒤 나오는 카테고리, 태그만 콕 집어서 숨기기 (내비게이션 살리기 위해) */
footer.entry-meta .cat-links, 
footer.entry-meta .tags-links {
    display: none !important;
}


/* 사이드바 홈 버튼 디자인 */
.sidebar .wp-block-button__link {
    width: 100%;                /* 너비 꽉 채우기 */
    display: block;
    text-align: center;         /* 글자 가운데 정렬 */
    border-radius: 5px;         /* 모서리 살짝 둥글게 */
    padding: 12px 0;            /* 위아래 여백 */
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 20px;        /* 아래 목록(최신글)과의 간격 */
    
    /* 색상 설정 (원하는 대로 수정 가능) */
    background-color: #fff;     /* 배경 흰색 */
    color: #333;                /* 글자 진한 회색 */
    border: 2px solid #333;     /* 테두리 진한 회색 */
}

/* 마우스 올렸을 때 반전 효과 */
.sidebar .wp-block-button__link:hover {
    background-color: #333;     /* 배경 진하게 */
    color: #fff;                /* 글자 흰색 */
    text-decoration: none;
}


/*
  하단 바 문구 덮어쓰기
*/

/* 1. 기존 하단바 틀은 살려두되, 글씨만 숨김 */
.site-info {
    display: block !important;       /* 박스 강제 표시 */
    font-size: 0 !important;         /* 기존 글씨 크기 0 (숨김) */
    color: transparent !important;   /* 기존 글씨 투명하게 */
    padding: 0 !important;
}

/* 2. 기존 링크도 확실히 숨김 */
.site-info a {
    display: none !important;
}

/* 3. 내가 원하는 문구로 덮어쓰기 */
.site-info:after {
    content: '© 2026 NOWS Blog.';    /* ★원하는 멘트 */
    
    font-size: 15px !important;      /* 새 글씨 크기 복구 */
    color: #888 !important;          /* 회색 글자 */
    display: block !important;
    text-align: center;
    padding: 30px 0;                 /* 위아래 여백 */
    visibility: visible;             /* 눈에 보이게 함 */
}

/* =========================================
   이전 글 / 다음 글 내비게이션 디자인
   ========================================= */

/* 1. 내비게이션 전체 박스 */
.post-navigation {
    margin-top: 40px;               /* 본문과의 간격 */
    padding-top: 20px;              /* 선과 글씨 사이 간격 */
    border-top: 1px dotted #ddd;    /* 사이드바와 동일한 점선 스타일 */
    display: flex;                  
    justify-content: space-between; /* 양 끝 배치 */
    flex-wrap: wrap;
}

/* 2. 링크 텍스트 공통 */
.post-navigation a {
    font-size: 15px;
    color: #555;
    text-decoration: none;
    font-weight: 600;
}

/* 3. 마우스 올렸을 때 */
.post-navigation a:hover {
    color: #1e73be;
    text-decoration: underline;
}

/* 4. '이전 글', '다음 글' 작은 라벨 */
.post-navigation .nav-label {
    font-size: 12px;
    color: #aaa;
    display: block;
    margin-bottom: 5px;
}

/* 5. 좌우 배치 상세 */
.post-navigation .nav-previous {
    text-align: left;
    max-width: 48%;
}

.post-navigation .nav-next {
    text-align: right;
    max-width: 48%;
}