.home-container {
    width: 100%;
    margin-top: 0;
    padding-top: 0;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
    background: #000;
    margin: 0;
    padding: 0;
}

.hero-video {
    position: relative;
    width: 100%;
    height: 100%;
    padding-bottom: 0;
}

.hero-video iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 비율 */
    min-height: 100%;
    min-width: 177.77vh; /* 16:9 비율 */
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* Quick Menu Section */
.quick-menu-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 0;
}

.quick-menu-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
}

.quick-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.quick-menu-item:last-child {
    border-right: none;
}

.quick-menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.quick-menu-item i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ddcef4;
    transition: all 0.3s ease;
}

.quick-menu-item:hover i {
    transform: scale(1.1);
}

.quick-menu-item p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    color: white;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-full {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* Sections */
section {
    padding: 3rem 0;
}

section h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #2c3e50;
    font-weight: bold;
}

/* News Section */
.news-section {
    background: #f8f9fa;
    padding: 3rem 0;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.news-box {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.news-header {
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #ddd;
}

.news-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
}

.news-header i {
    margin-right: 0.5rem;
    color: #667eea;
}

.news-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    background: #f8f9fa;
}

.news-tab-btn {
    flex: 1;
    padding: 10px 12px;
    border: none;
    background: transparent;
    color: #333;
    font-weight: 700 !important;
    font-size: 16px !important;
    cursor: pointer;
    transition: all 0.3s ease;
    border-right: 1px solid #ddd;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-tab-btn:last-child {
    border-right: none;
}

.news-tab-btn:hover {
    background: #e9ecef;
    color: #333;
}

.news-tab-btn.active {
    background: white;
    color: #667eea;
    font-weight: 600;
    border-bottom: 2px solid #667eea;
}

.news-content {
    position: relative;
    min-height: 210px;
}

.news-tab-content {
    display: none;
    padding: 1rem 0;
}

.news-tab-content.active {
    display: block;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-list li {
    border-bottom: 1px solid #f0f0f0;
}

.news-list li:last-child {
    border-bottom: none;
}

.news-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 18px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
}

.news-list li a:hover {
    background: #f8f9fa;
    color: #667eea;
}

.news-title {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 1rem;
}

.news-date {
    color: #999;
    font-size: 0.85rem;
    white-space: nowrap;
}

.news-list li a:hover .news-date {
    color: #667eea;
}

.no-posts {
    padding: 2rem;
    text-align: center;
    color: #999;
}

.news-placeholder {
    padding: 3rem 2rem;
    text-align: center;
    color: #999;
}

.news-placeholder p {
    margin: 0;
}

/* Gallery Section */
.gallery-section {
    background: white;
    padding: 3rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 7fr 3fr;
    gap: 2rem;
}

.gallery-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.gallery-box,
.notice-box {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-header,
.notice-header {
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #667eea;
}

.gallery-header h3,
.notice-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
}

.gallery-header i,
.notice-header i {
    margin-right: 0.5rem;
    color: #667eea;
}

.more-link {
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.more-link:hover {
    color: #357abd;
}

.gallery-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 1.5rem;
}

.gallery-item {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.gallery-item a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.gallery-thumb {
    position: relative;
    width: 100%;
    padding-bottom: 55%; /* 4:3 비율 고정 */
    background: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0.5rem;
    flex-shrink: 0; /* 크기 고정 */
}

.gallery-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-thumb img {
    transform: scale(1.1);
}

.gallery-thumb .no-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.gallery-thumb.video .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 26px;
    background: #f60000;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
}

.gallery-item:hover .play-icon {
    background: rgba(102, 126, 234, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.gallery-title {
    font-size: 0.9rem;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    line-height: 22px;
    height: 2.8em; /* 2줄 높이 고정 */
    transition: color 0.3s ease;
}

.gallery-item:hover .gallery-title {
    color: #667eea;
}

.no-content {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: #999;
}

.notice-placeholder {
    padding: 3rem 2rem;
    text-align: center;
    color: #999;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notice-placeholder p {
    margin: 0;
}

/* 배너 슬라이더 스타일 */
.banner-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.banner-slider {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 133.33%; /* 3:4 비율 (세로로 긴 배너) */
    overflow: hidden;
    border-radius: 0 0 8px 8px;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-slide.active {
    opacity: 1;
    z-index: 1;
}

.banner-slide img {
    width: 93%;
    height: 100%;
    margin:0 auto;
    object-fit: contain;
    display: block;
}

.banner-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.banner-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-top: 1px solid #e0e0e0;
}

.banner-prev,
.banner-next {
    width: 36px;
    height: 36px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #666;
}

.banner-prev:hover,
.banner-next:hover {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

.banner-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-dot.active {
    background: #667eea;
    width: 12px;
    height: 12px;
}

.banner-dot:hover {
    background: #999;
}

/* 하단 배너 섹션 */
.bottom-banners-section {
    width:1200px;
    margin:0 auto;
    background: #fff;
    padding: 8px 20px 20px 20px;
    border-top: 1px solid #e0e0e0;
}

.bottom-banner-row {
    display: flex;
    align-items: center;
    padding:6px 0;
    border-bottom: 1px solid #e0e0e0;
}

.bottom-banner-title {
    min-width: 160px;
}

.bottom-banner-title h4 {
    margin: 0;
    font-size: 15px;
    letter-spacing: -1px;
    font-weight: 600;
    color: #2c3e50;
    padding-left: 8px;
    border-left: 4px solid #ccc;
}

.bottom-banner-slider-wrapper {
    position: relative;
    overflow: hidden;
}

.bottom-banner-items {
    display: flex;
    gap: 0px; /* 200px(아이템) + 20px(gap) = 220px */
    align-items: center;
    transition: transform 0.5s ease;
}

.bottom-banner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 180px; /* 고정 너비 */
}

.bottom-banner-item img {
    max-width: 180px;
    height: auto;
    transition: all 0.3s ease;
}

.bottom-banner-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.bottom-banner-item a {
}

.bottom-banner-nav {
    display: none;
}

/* Board Cards */
.board-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.board-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.board-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-color: #4a90e2;
}

.board-card-header {
    margin-bottom: 1rem;
}

.board-card-header h4 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.board-count {
    font-size: 0.9rem;
    color: #7f8c8d;
}

.board-link {
    display: inline-block;
    color: #4a90e2;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.board-link:hover {
    color: #357abd;
}

/* Posts List */
.posts-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.post-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.2s;
}

.post-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: #4a90e2;
}

.post-title {
    margin-bottom: 0.8rem;
}

.post-title a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: color 0.2s;
}

.post-title a:hover {
    color: #4a90e2;
}

.post-excerpt {
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: #7f8c8d;
}

.post-meta span {
    display: inline-flex;
    align-items: center;
}

.post-board {
    background: #ecf0f1;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    color: #2c3e50;
    font-weight: 500;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: #95a5a6;
}

/* Responsive */
