/* PBN 자동 생성 디자인 CSS */
/* 폰트: Nanum Gothic | 색상: #38f9d7 | 레이아웃: 풀 와이드 섹션 */

@import url('https://fonts.googleapis.com/css2?family=Nanum+Gothic:wght@400;700;800&display=swap');

:root {
    --primary-color: #38f9d7;
    --primary-light: #60ffff;
    --primary-dark: #1adbb9;
    --font-family: 'Nanum Gothic', sans-serif;

    /* Blocksy 테마 변수 오버라이드 */
    --theme-palette-color-1: #38f9d7 !important;
    --theme-palette-color-2: #1adbb9 !important;
    --theme-palette-color-3: #60ffff !important;
    --theme-font-family: 'Nanum Gothic', sans-serif !important;
    --theme-link-initial-color: var(--theme-palette-color-1) !important;
    --theme-link-hover-color: var(--theme-palette-color-2) !important;
    --theme-button-background-initial-color: var(--theme-palette-color-1) !important;
    --theme-button-background-hover-color: var(--theme-palette-color-2) !important;
    --theme-selection-background-color: var(--theme-palette-color-1) !important;
}

/* 기본 폰트 */
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 { max-width: 1400px; margin: 0 auto; padding: 0 20px; }

/* 헤더 */
.site-header { padding: 30px 0; } .site-header .main-navigation { font-size: 16px; }

/* 버튼 */
button, .button, .wp-block-button__link, input[type='submit'] { background: #38f9d7; border: none; border-radius: 8px; padding: 12px 24px; color: #fff; }

/* 카드 */
.card, article.post { position: relative; overflow: hidden; border-radius: 12px; } .card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%); }

/* 배경 */
body { background-color: #f0f0f0; background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23#38f9d7' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }

/* 특수 효과 */
.card, article.post { transition: border-radius 0.5s ease; } .card:hover, article.post:hover { border-radius: 30px; }

/* 반응형 */
@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(56,249,215,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);
}