.board-container {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

/* 타이틀 영역 */
.board-header {
    text-align: center;
    margin-bottom: 60px;
}

.board-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #111;
    margin-bottom: 15px;
}

.board-header p {
    font-size: 16px;
    color: #666;
}

/* 갤러리 그리드 (반응형) */
.gallery-list {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(3, 1fr);
    /* PC: 3열 */
}

.gallery-card {
    display: block;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
}

.gallery-card .img-box {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #f5f5f5;
}

.gallery-card .img-box img {
    width: 100%;
    height: 100%;
    transition: transform 0.5s;
    object-fit: cover;
}

.gallery-card:hover .img-box img {
    transform: scale(1.1);
}

.gallery-card .txt-box {
    padding: 25px;
}

.gallery-card .list-title {
    overflow: hidden;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: #222;
    text-align: center;
    white-space: nowrap;
    margin-bottom: 0px;
    text-overflow: ellipsis;
}

.gallery-card .date {
    display: flex;
    display: none;
    gap: 5px;
    align-items: center;
    font-size: 14px;
    color: #999;
}

/* 더보기 버튼 */
.btn-more-wrap {
    text-align: center;
    margin-top: 60px;
}

.btn-load-more {
    padding: 15px 50px;
    border: 1px solid #ddd;
    border-radius: 50px;
    background: #fff;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-load-more:hover {
    background: #333;
    color: #fff;
    border-color: #333;
}

/* 로딩 스피너 */
#initial-loading {
    padding: 100px 0;
    font-size: 18px;
    color: #666;
    text-align: center;
}

/* 모바일 반응형 */
@media (max-width: 1024px) {
    .gallery-list {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 태블릿: 2열 */
}

@media (max-width: 768px) {
    .board-container {
        margin: 50px auto;
    }

    .board-header h2 {
        font-size: 28px;
    }

    .gallery-list {
        gap: 20px;
        grid-template-columns: 1fr;
    }

    /* 모바일: 1열 */
    .gallery-card .img-box {
        height: 220px;
    }
}









/* 갤러리 뷰 */
.view-wrap {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

/* 헤더 스타일 */
.view-header {
    border-bottom: 2px solid #111;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.view-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    color: #111;
    margin-bottom: 15px;
}

.view-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 15px;
    color: #888;
}

.view-meta span {
    display: flex;
    gap: 5px;
    align-items: center;
}

/* 대표 이미지(특성 이미지) 스타일 */
.view-featured-img {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    text-align: center;
    margin-bottom: 20px;
}

.view-featured-img img {
    display: block;
    max-width: 100%;
    height: auto;
    max-height: 600px;
    margin: 0 auto;
    object-fit: contain;
}

/* 본문 스타일 */
.view-body {
    min-height: 400px;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    word-break: keep-all;
}

.view-body img {
    width: 70%;
    height: auto;
    object-fit: contain;
    margin: 10px 0;
}

.view-body p {
    margin-bottom: 15px;
}

/* 버튼 스타일 */
.view-btn-wrap {
    text-align: center;
    margin-top: 80px;
    border-top: 1px solid #ddd;
    padding-top: 40px;
}

.btn-list-go {
    display: inline-block;
    padding: 15px 50px;
    border: 1px solid #ddd;
    border-radius: 50px;
    background: #fff;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-list-go:hover {
    background: #333;
    color: #fff;
    border-color: #333;
}

/* 로딩 스타일 */
#loading {
    padding: 100px 0;
    font-size: 18px;
    color: #666;
    text-align: center;
}

.loading-spinner {
    display: block;
    margin: 0 auto 15px;
    font-size: 40px;
    color: #333;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .view-wrap {
        margin: 50px auto;
    }

    .view-body img {
        width: 100%;
    }

    .view-title {
        font-size: 24px;
    }

    .btn-list-go {
        padding: 12px 40px;
        font-size: 14px;
    }
}