/* PBN 자동 생성 디자인 CSS */
/* 폰트: Happiness Sans | 색상: #12c2e9 | 레이아웃: 카드 그리드 레이아웃 */

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

:root {
    --primary-color: #12c2e9;
    --primary-light: #3aeaff;
    --primary-dark: #00a4cb;
    --font-family: 'Pretendard Variable', Pretendard, sans-serif;

    /* Blocksy 테마 변수 오버라이드 */
    --theme-palette-color-1: #12c2e9 !important;
    --theme-palette-color-2: #00a4cb !important;
    --theme-palette-color-3: #3aeaff !important;
    --theme-font-family: 'Pretendard Variable', Pretendard, 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 article { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 25px; }

/* 헤더 */
.site-header { position: absolute; width: 100%; background: transparent; z-index: 1000; } .site-header.scrolled { background: rgba(255,255,255,0.95); }

/* 버튼 */
button, .button, .wp-block-button__link, input[type='submit'] { background: #12c2e9; border: none; border-radius: 8px; padding: 12px 24px; 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: linear-gradient(135deg, #12c2e9 0%, #00a4cb 100%); min-height: 100vh; } .site-content { background: rgba(255,255,255,0.95); border-radius: 20px; margin: 20px; padding: 40px; }

/* 특수 효과 */
* { 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(18,194,233,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);
}