/* PBN 자동 생성 디자인 CSS */
/* 폰트: Montserrat | 색상: #7f7fd5 | 레이아웃: 투 컬럼 사이드바 우측 */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css');

:root {
    --primary-color: #7f7fd5;
    --primary-light: #a7a7fd;
    --primary-dark: #6161b7;
    --font-family: 'Pretendard Variable', Pretendard, sans-serif;
}

/* 기본 폰트 */
body, html {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family);
    font-weight: 700;
    line-height: 1.3;
    color: #222;
}

/* 링크 색상 */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* 선택 영역 색상 */
::selection {
    background: var(--primary-color);
    color: #fff;
}

/* 레이아웃 */
.site-content { display: grid; grid-template-columns: 1fr 300px; gap: 30px; max-width: 1200px; margin: 0 auto; }

/* 헤더 */
@media (min-width: 992px) { .site-header { position: fixed; left: 0; top: 0; width: 280px; height: 100vh; } .site-content { margin-left: 280px; } }

/* 버튼 */
button, .button, .wp-block-button__link, input[type='submit'] { background: transparent; border: 2px solid #7f7fd5; border-radius: 4px; padding: 10px 24px; color: #7f7fd5; font-weight: 500; } button:hover, .button:hover { background: #7f7fd5; color: #fff; }

/* 카드 */
.card, article.post { background: #fff; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.08); padding: 20px; margin-bottom: 20px; }

/* 배경 */
body { background: #f5f5f5; } .site-content { background: transparent; }

/* 특수 효과 */
* { transition: all 0.2s ease; }

/* 반응형 */
@media (max-width: 768px) {
    .site-content {
        padding: 15px;
    }

    h1 { font-size: 28px; }
    h2 { font-size: 24px; }
    h3 { font-size: 20px; }
}

/* 입력 필드 스타일 */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
textarea,
select {
    font-family: var(--font-family);
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(127,127,213,0.1);
}

/* 스크롤바 스타일 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}