/* === 스타일 정의 === */
    
    /* 1. Hero Section */
    .view-hero {
        position: relative;
        padding: 60px 20px;
        text-align: center;
        background: rgba(30, 41, 59, 0.4); 
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 16px;
        
        /* [간격조절] Hero 섹션 자체의 하단 여백 (검색창과의 거리에 영향) */
        margin-bottom: 0px; 
        
        overflow: hidden;
    }

    .hero-bg-grid {
        position: absolute; top: 0; left: 0; width: 100%; height: 100%;
        background-image: 
            linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
        background-size: 40px 40px;
        z-index: 1; pointer-events: none;
    }

    .view-hero-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }

    .hero-eyebrow {
        display: inline-block; font-size: 0.9rem; font-weight: 700; color: #38bdf8;
        margin-bottom: 1.5rem; letter-spacing: 0.1em; text-transform: uppercase;
        background: rgba(56, 189, 248, 0.1); padding: 6px 14px;
        border-radius: 20px; border: 1px solid rgba(56, 189, 248, 0.2);
    }

    .hero-title { font-size: 2.2rem; line-height: 1.3; font-weight: 800; margin-bottom: 1rem; color: #fff; word-break: keep-all; }
    .hero-desc { font-size: 1rem; color: #94a3b8; line-height: 1.6; margin-bottom: 0; word-break: keep-all; }
    .highlight { background: linear-gradient(135deg, #60a5fa 0%, #38bdf8 50%, #2dd4bf 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

    /* [검색창 스타일 및 간격 조절] */
    .search-bar-container {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding: 0 5px;

        /* ▼▼▼ [간격조절: PC/태블릿] ▼▼▼ */
        margin-top: 0px;    /* 위쪽(Hero)과의 간격 */
        margin-bottom: 0px; /* 아래쪽(카드 리스트)과의 간격 */
    }

    /* ▼▼▼ [간격조절: 모바일] 화면 폭 768px 이하일 때 ▼▼▼ */
    @media (max-width: 768px) {
        .search-bar-container {
            margin-top: 0px;    /* 모바일: 위쪽 간격 (줄임) */
            margin-bottom: 0px; /* 모바일: 아래쪽 간격 (줄임) */
        }
    }

    .search-wrapper {
        position: relative;
        display: flex;
        align-items: center;
        background: rgba(30, 41, 59, 0.4);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 50px;
        padding: 5px 5px 5px 20px;
        transition: border-color 0.3s, box-shadow 0.3s;
        width: 100%;
        max-width: 300px;
    }

    /* [수정] 포커스 시 스타일 강조 */
    .search-wrapper:focus-within {
        border-color: #38bdf8;
        box-shadow: 0 0 10px rgba(56, 189, 248, 0.5); /* 그림자 조금 더 진하게 */
    }

    .search-input {
        background: transparent; /* [수정] 입력 중에도 배경 투명하게 */
        border: none;
        color: #fff; /* [수정] 입력 글자색 흰색으로 */
        font-size: 0.95rem;
        width: 100%;
        outline: none;
    }
    
    .search-input::placeholder { color: #64748b; }

    .search-btn {
        background: rgba(56, 189, 248, 0.1);
        border: none;
        color: #38bdf8;
        border-radius: 50%;
        width: 36px;
        height: 36px;
        display: flex; align-items: center; justify-content: center;
        cursor: pointer;
        transition: 0.2s;
        margin-left: 8px;
        flex-shrink: 0;
    }

    .search-btn:hover {
        background: #38bdf8;
        color: #fff;
    }

    /* 2. Portfolio Grid Layout */
    .view-content-body {
        background-color: transparent;
        padding: 0 0 0px 0;
    }

    .portfolio-grid {
        display: grid;
        gap: 24px;
        grid-template-columns: 1fr;
    }

    @media (min-width: 768px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (min-width: 1200px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }

    /* 3. Portfolio Card Styling */
    .pf-card {
        background: rgba(30, 41, 59, 0.4);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 16px;
        padding: 24px;
        position: relative;
        overflow: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex; flex-direction: column; justify-content: space-between;
        min-height: 320px;
    }
    
    /* 기본 호버 효과 */
    .pf-card:hover { 
        transform: translateY(-5px); 
        border-color: #38bdf8; 
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3); 
        background: rgba(30, 41, 59, 0.6);
    }
    
    /* 검색 시 강조 효과: 호버와 동일하게 처리 */
    .pf-card.highlight-found {
        border-color: #38bdf8 !important;
        transform: translateY(-5px);
    }

    .pf-status {
        display: inline-block; font-size: 0.75rem; font-weight: 700; padding: 6px 12px; border-radius: 30px; margin-bottom: 20px; width: fit-content;
    }
    .pf-status.registered { background: rgba(56, 189, 248, 0.1); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.2); }
    
    .pf-tags { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
    .pf-tags span { font-size: 0.8rem; color: #94a3b8; background: rgba(255, 255, 255, 0.05); padding: 4px 8px; border-radius: 4px; }

    .pf-content h3 { font-size: 1.25rem; font-weight: 700; color: #f8fafc; margin-bottom: 12px; line-height: 1.4; word-break: keep-all; }
    .pf-desc { font-size: 0.95rem; color: #94a3b8; line-height: 1.6; margin-bottom: 24px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; word-break: keep-all; }

    .pf-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.05); }
    .pf-client { font-size: 0.8rem; color: #64748b; font-weight: 500;}
    .pf-link { font-size: 0.9rem; color: #38bdf8; font-weight: 600; text-decoration: none; transition: 0.3s; }
    .pf-link:hover { color: #60a5fa; margin-right: 5px; }

    .pf-bg-code {
        position: absolute; top: 0; left: 0; width: 100%; height: 100%;
        background-image: linear-gradient(30deg, #0000 0%, #0000 49%, rgba(255,255,255,0.03) 50%, #0000 51%);
        background-size: 60px 60px; opacity: 0.1; z-index: 0; pointer-events: none;
    }

    @media (max-width: 768px) {
        .view-hero { padding: 40px 20px; }
        .hero-title { font-size: 1.8rem; }
    }