* {
    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;
}

/* Admin Actions */
.admin-actions {
    background-color: #f8f9fa;
    padding: 20px 0;
}

.admin-actions .container {
    display: flex;
    justify-content: flex-end;
}

.btn-write {
    display: inline-block;
    padding: 12px 30px;
    background-color: #1064D9;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-write:hover {
    background-color: #0d53b3;
}

/* No Data */
.no-data {
    text-align: center;
    padding: 80px 20px;
    color: #999;
    font-size: 16px;
}

/* Jobs Section */
.jobs-section {
    padding: 80px 0;
    background-color: #fff;
}

/* Job Grid */
.job-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

a.job-card {
    display: block;
    background-color: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s;
    position: relative;
    text-decoration: none;
    color: inherit;
}

a.job-card.no-link {
    cursor: default;
}

.job-card:hover {
    border-color: #1064D9;
    box-shadow: 0 8px 20px rgba(16, 100, 217, 0.1);
    transform: translateY(-3px);
}

.job-card::after {
    content: '›';
    position: absolute;
    right: 30px;
    top: 30px;
    font-size: 32px;
    color: #ccc;
    transition: all 0.3s;
}

.job-card:hover::after {
    color: #1064D9;
    right: 25px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.category-tag {
    display: inline-block;
    color: #1064D9;
    font-size: 14px;
    font-weight: 600;
}

.job-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.5;
}

.job-info {
    list-style: none;
    margin-bottom: 25px;
}

.job-info li {
    display: flex;
    padding: 12px 0;
    font-size: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.job-info li:last-child {
    border-bottom: none;
}

.info-label {
    min-width: 100px;
    color: #666;
    font-weight: 500;
}

.info-value {
    color: #333;
}

.btn-apply {
    width: 100%;
    padding: 15px 0;
    background-color: #1064D9;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    transition: opacity 0.3s;
}

.job-card:hover .btn-apply {
    opacity: 0.9;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.page-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.page-btn:hover {
    background-color: #f8f9fa;
    border-color: #1064D9;
    color: #1064D9;
}

.page-btn.active {
    background-color: #1064D9;
    border-color: #1064D9;
    color: white;
}

.page-btn.disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 1100px) {
    .page-title {
        font-size: 40px;
    }

    .page-banner {
        padding: 30px 20px 40px;
    }
}

@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;
    }

    .job-grid {
        grid-template-columns: 1fr;
    }

    .job-card::after {
        font-size: 24px;
        right: 20px;
    }

    .job-card:hover::after {
        right: 15px;
    }
}

/* 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;
    }

    .jobs-section {
        padding: 50px 0;
    }

    .job-grid {
        gap: 15px;
    }

    .job-card {
        padding: 20px 15px;
    }

    .job-category {
        padding: 5px 12px;
        font-size: 11px;
        margin-bottom: 12px;
    }

    .job-title {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .job-info li {
        padding: 8px 0;
        font-size: 13px;
    }

    .info-label {
        min-width: 70px;
        font-size: 12px;
    }

    .info-value {
        font-size: 13px;
    }

    .job-card::after {
        font-size: 20px;
        right: 15px;
    }

    .pagination {
        gap: 8px;
    }

    .page-btn {
        min-width: 35px;
        height: 35px;
        padding: 0 10px;
        font-size: 13px;
    }
}
