/*
Theme Name: GeneratePress Child
Theme URI: https://mug.io.kr
Description: Mug.io.kr 전용 GeneratePress 자식 테마
Author: 자기야
Template: generatepress
Version: 1.0.0
*/

@import url("../generatepress/style.css");

/* ✅ 전체 폰트 & 본문 구조 */
body {
    font-family: 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    background-color: #fafafa;
}

/* ✅ 헤딩 구조 */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;
    font-weight: 700;
    color: #222;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
    line-height: 1.4;
}

h1 { font-size: 2.2em; }
h2 { font-size: 1.8em; }
h3 { font-size: 1.5em; }
h4 { font-size: 1.3em; }
h5 { font-size: 1.1em; }
h6 { font-size: 1em; color: #666; }

/* ✅ 본문 단락 */
p {
    font-size: 18px;  /* ← 본문만 18px로! */
    color: #444;
    line-height: 2;
    margin-bottom: 1.8em;
}

/* ✅ 리스트 */
ul, ol {
    font-size: 14px;
    color: #444;
    margin-bottom: 1.2em;
    padding-left: 1.4em;
}

li {
    margin-bottom: 0.6em;
}


/* ✅ 링크 */
a {
    color: #cc0000;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    text-decoration: underline;
    color: #ff3366;
}

/* ✅ 테이블 */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    background: #fff;
    border: 1px solid #ddd;
    font-size: 15px;
}

table th,
table td {
    border: 1px solid #e5e5e5;
    padding: 12px 15px;
    text-align: left;
}

table th {
    background-color: #f8f8f8;
    font-weight: 600;
    color: #222;
}

table tr:nth-child(even) {
    background-color: #fcfcfc;
}

/* ✅ 이미지 */
img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    margin: 1em 0;
}

/* ✅ 위젯 (이미 적용된 부분 포함) */
aside.widget {
    background: #fff;
    border: 1px solid #e5e5e5;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    padding: 25px !important; /* 기존 20px → 15px */
    margin-bottom: 25px; /* 살짝만 줄임 */
    border-radius: 10px;
    transition: box-shadow 0.3s ease;
}


aside.widget h2 {
    font-size: 1.2em;       /* 본문보다 작게 */
    margin-top: 0.5em !important; /* 상단 여백 확 줄이기 */
    margin-bottom: 0.6em;
    color: #333;
    font-weight: 600;
    line-height: 1.4;
}

aside.widget:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

aside.widget .widget-title {
    font-size: 16px;
    font-weight: bold;
    /* border-left: 4px solid #ff69b4; ← 제거됨 */
    padding-left: 0; /* 패딩도 0으로 조정 */
    margin: 0 0 10px 0;
    color: #222;
    position: relative;
}


/* ✅ 제목 밑에 밑줄 */
aside.widget .widget-title::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background: #ffe3f1;
    margin-top: 6px;
    margin-bottom: 10px;
}

aside.widget ul {
    list-style: none;
    padding-left: 0;
}

aside.widget ul li {
    margin-bottom: 5px; /* 기존 8px → 5px */
}

aside.widget ul li a {
    color: #333;
    text-decoration: none;
}

aside.widget ul li a:hover {
    text-decoration: underline;
    color: #cc0000;
}
