 body {
            font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
            color: #000;
            margin: 0;
            padding: 20px;
            line-height: 1.4;
            background-color: #fff;
        }

        a { text-decoration: none; color: #000; }
        a:hover { text-decoration: underline; }

        header { margin-bottom: 60px; }
        header h1 { font-size: 1.2em; margin: 0 0 10px 0; font-weight: bold; }
        
        header nav ul {
            display: flex;
            width: 100%;
            list-style: none;
            padding: 0;
            margin: 0;
            justify-content: flex-start; 
        }
        
        header nav ul li {
            display: flex;
            margin-right: 20px; 
            font-size: 0.9em;
            flex-grow: 0;     
            transition: flex-grow 0.5s cubic-bezier(0.65, 0, 0.35, 1);
            white-space: nowrap;
        }
        
        header nav ul li.active-page {
            flex-grow: 0; 
        }
      
                
        header nav ul li a:hover {
            text-decoration: underline;
        }
        header nav ul li.active-page {
            text-decoration: underline; 
        }
        
        footer {
            position: fixed; 
            right: 0;         
            bottom: 0;        
            padding: 10px;
            font-size: 0.9em;
        }
        
        #content {
            max-width: 800px; /* 콘텐츠 최대 너비 제한 */
            margin: 0 auto;   /* 중앙 정렬 */
        }

        #content ul {
            list-style: none;
            padding: 0;
        }

        #content li {
            margin-bottom: 10px; /* 게시물 간 간격 */
        }
        
        #content.feed {
            max-width: 800px; /* 콘텐츠 최대 너비 제한 */
            margin: 0 auto;   /* 중앙 정렬 */
        }

        #content.feed ul {
            list-style: none;
            padding: 0;
        }

        #content.feed li {
            margin-bottom: 80px; /* 게시물 간 간격 */
        }
        
        .pdf-viewer { 
            display: block; 
            width: 100%; 
            height: 700px; 
        }
        
        .date {
            display: block;
            font-size: 0.8em;
            color: #666;
            margin-bottom: 10px;
        }

        .inner img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        .embed-container {
            position: relative;
            padding-bottom: 56.25%; 
            height: 0;
            overflow: hidden;
            max-width: 100%;
        }
        
        .embed-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        .description {
            margin-top: 15px;
            font-size: 0.9em;
        }

        .pagination {
            margin-top: 50px;
            padding-top: 20px;
            border-top: 1px solid #eee;
            font-size: 0.9em;
        }
        .pagination span, .pagination a {
            margin-right: 5px;
        }
        .pagination .active {
            font-weight: bold;
        }
        .pagination .disabled {
            color: #ccc;
        }

        #content.about {
        max-width: 900px;
        margin: 0 auto;
        padding: 60px 20px;
        } 
    
        .about section {
            display: flex;  
            margin-bottom: 50px;
        }
        
        .about .label {
            flex: 0 0 150px; 
            font-weight: bold;
            font-size: 0.9rem;
            color: #888;
        }
        
        .about .inner, .about .team-list {
            flex: 1; 
            margin: 5px 5px; 
        }

@media screen and (max-width: 768px) {
    header nav {
        flex-direction: column;
        align-items: flex-start;
    }
    
    footer {
        font-size: 0.5em;
        color: grey;
    }
    .about section {
        flex-direction: column; /* 가로 배치를 세로로 전환 */
    }

    .about .label {
        margin-bottom: 10px;
        flex: none;
    }

    .about .inner h2 {
        font-size: 1.4rem; /* 모바일에서 제목 크기 조절 */
        line-height: 1.4;
    }

    .about .description {
        font-size: 0.95rem;
    }
                
    .pdf-viewer { 
        display: none; 
    }
    
    .pdf-mobile-link { 
        display: block; 
        padding: 10px; 
        color: black; 
        text-align: center; 
        text-decoration: underline;
        border-radius: 5px;
    }
    
}

@media screen and (max-width: 480px) {
    #content {
        padding: 30px 15px;
    }
    
    #content.about {
    margin: 0 auto;
    padding: 20px 12px;
    }
    
    header h1 {
        font-size: 1.2rem;
    }
    
    footer {
        font-size: 0.5em;
        color: grey;
    }
    
    .team-list li {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }
  
}