* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: #333;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumb */
.breadcrumb {
    background-color: #f8f9fa;
    padding: 15px 0;
    font-size: 14px;
    color: #666;
}

.breadcrumb-home {
    color: #333;
}

.breadcrumb-separator {
    margin: 0 10px;
    color: #999;
}

.breadcrumb-item {
    color: #666;
}

.breadcrumb-item.active {
    color: #333;
    font-weight: 500;
}

/* Page Banner */
.page-banner {
    background-image: url('/image/category_banner.png');
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
    position: relative;
    text-align: center;
    width: 100%;
    aspect-ratio: 4.13 / 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 50px 20px 40px;
    min-height: 300px;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.page-banner .breadcrumb {
    background-color: transparent;
    padding: 0;
    font-size: 13px;
    color: #666;
    margin-bottom: 40px;
}

/* Tab Navigation */
.tab-navigation {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
}

.tab-menu {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    list-style: none;
    margin: 0;
    padding: 0;
}

.tab-item {
    text-align: center;
}

.tab-item a {
    display: block;
    padding: 20px 0;
    text-decoration: none;
    color: #fff;
    background-color: #333;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.tab-item.active a {
    background-color: #4A90E2;
}

.tab-item:not(.active) a:hover {
    background-color: #4d4d4d;
}

/* Greeting Section */
.greeting-section {
    padding: 80px 0;
    background-color: #fff;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #4A90E2;
}

.greeting-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    margin-top: 60px;
}

.greeting-image {
    text-align: center;
}

.director-photo {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    margin: 0 auto 30px;
    display: block;
    object-fit: cover;
}

.director-name {
    font-size: 16px;
    color: #333;
    margin-top: 30px;
}

.director-name .bullet {
    color: #4A90E2;
    margin-right: 8px;
    font-size: 14px;
}

.director-name strong {
    font-weight: 700;
    font-size: 18px;
}

.greeting-text {
    padding: 40px 0;
}

.greeting-quote {
    font-size: 17px;
    font-weight: 600;
    color: #1064D9;
    line-height: 1.6;
    margin-bottom: 24px;
}

.greeting-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    line-height: 1.6;
    margin-bottom: 40px;
}

.greeting-paragraph {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 1100px) {
    .page-title {
        font-size: 40px;
    }

    .page-banner {
        padding: 30px 20px 40px;
    }
}

@media (max-width: 1024px) {
    .greeting-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .tab-menu {
        grid-template-columns: repeat(3, 1fr);
    }

    .tab-item:nth-child(4),
    .tab-item:nth-child(5) {
        grid-column: span 1;
    }
}

@media (max-width: 900px) {
    .page-title {
        font-size: 38px;
    }

    .page-banner {
        padding: 25px 20px 40px;
    }
}

@media (max-width: 810px) {
    .page-title {
        font-size: 35px;
    }

    .page-banner {
        padding: 22px 20px 40px;
    }
}

@media (max-width: 768px) {
    .page-banner {
        background-image: url('/image/m_category_banner.png');
        aspect-ratio: 4.13 / 1;
        min-height: 200px;
        padding: 30px 15px 30px;
    }

    .page-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .page-banner .breadcrumb {
        font-size: 12px;
        margin-bottom: 30px;
    }

    .banner-illustration img {
        max-height: 180px;
    }

    .tab-navigation {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .tab-navigation::-webkit-scrollbar {
        display: none;
    }

    .tab-menu {
        display: flex;
        gap: 0;
        justify-content: center;
    }

    .tab-item {
        flex-shrink: 0;
    }

    .tab-item a {
        white-space: nowrap;
        padding: 15px 18px;
        font-size: 14px;
        color: #333;
        background-color: #fff;
        border-bottom: 3px solid transparent;
    }

    .tab-item.active a {
        color: #4A90E2;
        background-color: #fff;
        border-bottom: 3px solid #4A90E2;
    }

    .tab-item:not(.active) a:hover {
        background-color: #f8f9fa;
        color: #333;
    }

    .tab-item:last-child a {
        border-bottom: 3px solid transparent;
    }

    .section-title {
        font-size: 28px;
    }

    .greeting-title {
        font-size: 24px;
    }

    .greeting-paragraph {
        font-size: 14px;
    }
}

/* Extra small screens (Z Fold outer screen, etc.) */
@media (max-width: 350px) {
    .container {
        padding: 0 15px;
    }

    .breadcrumb {
        font-size: 12px;
        padding: 12px 0;
    }

    .breadcrumb-separator {
        margin: 0 6px;
    }

    .page-banner {
        min-height: 150px;
        padding: 25px 10px 20px;
    }

    .page-title {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .page-banner .breadcrumb {
        font-size: 11px;
        margin-bottom: 20px;
    }

    .tab-item a {
        padding: 15px 12px;
        font-size: 14px;
    }

    .greeting-section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 40px;
        padding-bottom: 15px;
    }

    .section-title::after {
        width: 45px;
        height: 3px;
    }

    .greeting-content {
        margin-top: 40px;
    }

    .director-name {
        font-size: 14px;
        margin-top: 20px;
    }

    .director-name strong {
        font-size: 16px;
    }

    .greeting-text {
        padding: 20px 0;
    }

    .greeting-title {
        font-size: 20px;
        margin-bottom: 25px;
    }

    .greeting-paragraph {
        font-size: 13px;
        line-height: 1.7;
        margin-bottom: 20px;
    }
}
