/* ======================================================
   자격증(Certificate) 게시판
   ====================================================== */
/* 자격증 전용 스타일 */
.cms-certificate-container {
    padding-top: 0; /* 헤더가 상단에 붙을 수 있도록 */
    padding-bottom: 100px;
}

/* 디자인 참고 파란 네모 안의 헤더 스타일 추정 */
.cms-certificate-header {
    background: #000; /* 검정색 배경 또는 이미지 */
    color: #fff;
    padding: 60px 0;
    margin-bottom: 60px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.cms-certificate-header__inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.cms-certificate-header__title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cms-certificate-header__desc {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

.cms-certificate-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px 24px;
    max-width: 1120px;
    margin: 0 auto;
}

.cms-certificate-item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cms-certificate-item:hover {
    transform: translateY(-8px);
}

.cms-certificate-item__thumb {
    width: 100%;
    aspect-ratio: 280 / 390;
    border: 1px solid var(--cms-gray-200);
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.cms-certificate-item__thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cms-certificate-item__info {
    padding: 0 4px;
}

.cms-certificate-item__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--cms-gray-900);
    line-height: 1.4;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cms-certificate-item__meta {
    font-size: 14px;
    color: var(--cms-gray-500);
}

.cms-certificate-item__meta span {
    position: relative;
}

.cms-certificate-item__meta span + span {
    margin-left: 12px;
    padding-left: 12px;
}

.cms-certificate-item__meta span + span:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background-color: var(--cms-gray-300);
}

/* 반응형 처리 */
@media (max-width: 1120px) {
    .cms-certificate-list { grid-template-columns: repeat(3, 1fr); padding: 0 20px; }
}
@media (max-width: 768px) {
    .cms-certificate-list { grid-template-columns: repeat(2, 1fr); }
    .cms-certificate-header__title { font-size: 28px; }
}
@media (max-width: 480px) {
    .cms-certificate-list { grid-template-columns: 1fr; }
}

/* ======================================================
   외국인글로벌 추천 강의(Edu) 게시판
   ====================================================== */
.edu-board { padding-top:40px; padding-bottom:100px; }
    .edu-board__actions { display:flex; justify-content:flex-end; margin-bottom:24px; }
    .edu-board__table-wrap { width:100%; overflow-x:auto; }
    .edu-board__table { width:100%; min-width:820px; border-collapse:separate; border-spacing:0; table-layout:fixed; color:#28282d; }
    .edu-board__table th { padding:17px 20px; background:#f4f5f7; color:#45464d; font-size:14px; font-weight:500; text-align:left; }
    .edu-board__table th:first-child { border-radius:18px 0 0 18px; text-align:center; }
    .edu-board__table th:last-child { border-radius:0 18px 18px 0; }
    .edu-board__table td { padding:18px 20px; border-bottom:1px solid #e8e9ec; font-size:14px; line-height:1.5; text-align:left; vertical-align:middle; overflow-wrap:anywhere; }
    .edu-board__table td:first-child { text-align:center; }
    .edu-board__subtitle { word-break:keep-all; overflow-wrap:normal; }
    .edu-board__table a { color:inherit; text-decoration:underline; text-underline-offset:3px; }
    .edu-board__table a:hover { color:#2367d8; }
    .edu-board__table .edu-board__edit {
        display:inline-flex;
        align-items:center;
        justify-content:center;
        min-width:54px;
        padding:7px 14px;
        border-radius:8px;
        background:var(--cms-primary);
        color:#fff;
        font-size:13px;
        font-weight:500;
        line-height:1.2;
        text-decoration:none;
        white-space:nowrap;
    }
    .edu-board__table .edu-board__edit:hover { color:#fff; opacity:.85; }
    .edu-board__col-order { width:9%; }
    .edu-board__col-category { width:17%; }
    .edu-board__col-title { width:32%; }
    .edu-board__col-duration { width:9%; }
    .edu-board__col-course { width:13%; }
    .edu-board__col-subtitle { width:20%; }
    .edu-board .cms-empty-state { padding:80px 0; text-align:center; color:#777; }
    @media (max-width:767px) {
        .edu-board { padding-top:24px; padding-bottom:60px; }
        .cms-container:has(.edu-board) .lnb h2 {
            font-size:30px;
            line-height:1.35;
            word-break:keep-all;
        }
        .edu-board__table-wrap { overflow:visible; }
        .edu-board__table {
            display:block;
            min-width:0;
            table-layout:auto;
        }
        .edu-board__table colgroup,
        .edu-board__table thead { display:none; }
        .edu-board__table tbody {
            display:grid;
            gap:12px;
        }
        .edu-board__table tbody tr {
            display:block;
            overflow:hidden;
            border:1px solid #e8e9ec;
            border-radius:16px;
            background:#fff;
        }
        .edu-board__table tbody td {
            width:100%;
            padding:12px 16px;
            display:grid;
            grid-template-columns:64px minmax(0,1fr);
            gap:12px;
            border-bottom:1px solid #e8e9ec;
            font-size:13px;
            text-align:left;
            box-sizing:border-box;
            overflow-wrap:anywhere;
            word-break:keep-all;
        }
        .edu-board__table tbody td::before {
            color:#45464d;
            font-weight:600;
        }
        .edu-board__table tbody td:nth-child(1)::before { content:'순번'; }
        .edu-board__table tbody td:nth-child(2)::before { content:'분야'; }
        .edu-board__table tbody td:nth-child(3)::before { content:'제목'; }
        .edu-board__table tbody td:nth-child(4)::before { content:'시간'; }
        .edu-board__table tbody td:nth-child(5)::before { content:'강좌'; }
        .edu-board__table tbody td:nth-child(6)::before { content:'자막'; }
        .edu-board__table tbody td:last-child { border-bottom:0; }
        .edu-board__table tbody td:first-child { text-align:left; }
        .edu-board__subtitle { overflow-wrap:anywhere; }
    }

/* ======================================================
   대학정보(College) 게시판
   ====================================================== */
.college-board {
    padding-top: var(--size-40);
    padding-bottom: var(--size-100);
    font-family: Pretendard, sans-serif;
}

.college-board__filter {
    display: flex;
    align-items: center;
    gap: var(--size-60);
    min-height: var(--size-100);
    padding: var(--size-24) var(--size-48);
    border-radius: var(--size-24);
    background: rgb(var(--theme-50));
}

.college-board__filter-label {
    flex: 0 0 auto;
    color: rgb(var(--gary-700));
    font-size: var(--size-16);
    font-weight: 600;
}

.college-board__filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: var(--size-8);
}

.college-board__filter-checkbox {
    position: absolute;
    width: var(--size-1);
    height: var(--size-1);
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.college-board__filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--size-6);
    min-width: var(--size-80);
    height: var(--size-40);
    padding: 0 var(--size-16);
    border: var(--size-1) solid transparent;
    border-radius: var(--size-20);
    background: rgb(var(--theme-100));
    color: rgb(var(--theme-600));
    font-size: var(--size-14);
    cursor: pointer;
}

.college-board__filter-btn img {
    display: none;
    width: var(--size-16);
    height: var(--size-16);
}

.college-board__filter-checkbox:checked + .college-board__filter-btn {
    border-color: rgb(var(--gary-700));
    background: rgb(var(--theme-900));
    color: rgb(var(--primary-WT));
}

.college-board__filter-checkbox:checked + .college-board__filter-btn img {
    display: block;
}

.college-board #college-period-all:checked + .college-board__filter-btn {
    background: rgb(var(--primary-WT));
    color: rgb(var(--theme-900));
}

.college-board__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--size-92);
    padding-top: var(--size-24);
    color: rgb(var(--gary-700));
    font-size: var(--size-16);
}

.college-board__summary strong {
    font-weight: 600;
}

.college-board__summary-actions {
    display: flex;
    align-items: center;
    gap: var(--size-12);
}

.college-board__sort {
    min-width: 10rem;
    height: var(--size-40);
    padding: 0 var(--size-40) 0 var(--size-12);
    border: none;
    outline: none;
    color: rgb(var(--gary-700));
    background: transparent url('/common/static/img/line_arrow.svg') no-repeat right var(--size-8) center / var(--size-24);
    appearance: none;
}

.college-board__grid {
    display: grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap: var(--size-20);
    margin: 0;
    padding: 0;
    list-style: none;
}

.college-card {
    position: relative;
    min-width: 0;
    border: var(--size-1) solid rgb(var(--gary-200));
    border-radius: var(--size-24);
    background: rgb(var(--primary-WT));
}

.board-list-01 .college-card {
    display: block;
    padding: 0;
}

.college-card__link {
    display: grid;
    grid-template-columns:7.5rem minmax(0, 1fr);
    gap: var(--size-20);
    align-items: center;
    min-height: 14.375rem;
    padding: 0;
    color: inherit;
    text-decoration: none;
}

.college-card__logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 7.5rem;
    height: 7.5rem;
}

.college-card__logo {
    width: 6.25rem;
    height: 6.25rem;
    object-fit: contain;
}

.college-card__logo-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 7.5rem;
    height: 7.5rem;
    border-radius: 50%;
    background: rgb(var(--theme-50));
    color: rgb(var(--gary-400));
    font-size: var(--size-13);
}

.college-card__body {
    min-width: 0;
}

.college-card__meta {
    display: flex;
    gap: var(--size-8);
    margin: 0 0 var(--size-8);
    color: rgb(var(--gary-500));
    font-size: var(--size-14);
}

.college-card__title {
    margin: 0;
    overflow: hidden;
    color: rgb(var(--gary-800));
    font-size: var(--size-16);
    font-weight: 600;
    line-height: var(--size-24);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.college-card__title a {
    color: inherit;
    text-decoration: none;
}

.college-card__title a:hover {
    color: rgb(var(--theme2-600));
}

.college-card__line {
    height: var(--size-1);
    margin: var(--size-12) 0 var(--size-16);
    background: rgb(var(--gary-200));
}

.college-card__info {
    display: flex;
    flex-direction: column;
    gap: var(--size-8);
    margin: 0;
}

.college-card__info > div {
    display: grid;
    grid-template-columns:5rem minmax(0, 1fr);
    align-items: center;
    gap: var(--size-12);
}

.college-card__info dt {
    padding: var(--size-6) var(--size-8);
    border-radius: var(--size-8);
    background: rgb(var(--theme-50));
    color: rgb(var(--gary-600));
    text-align: center;
    font-size: var(--size-13);
    font-weight: 400;
}

.college-card__info dd {
    margin: 0;
    overflow: hidden;
    color: rgb(var(--gary-500));
    font-size: var(--size-14);
    line-height: var(--size-22);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.college-board .cms-pagination {
    margin-top: var(--size-60);
}

.college-card--editable .college-card__link {
    padding-top: 3rem;
    box-sizing: border-box;
}

.college-card__edit {
    position: absolute;
    top: var(--size-16);
    right: var(--size-16);
    z-index: 1;
}

/* ======================================================
   게시판 공통 관리자 수정 버튼
   ====================================================== */
.cms-item-edit {
    position: absolute;
    top: var(--size-16, 16px);
    right: var(--size-16, 16px);
    z-index: 2;
}

.cms-item-edit--inline {
    position: static;
    flex: 0 0 auto;
    margin-left: var(--size-12, 12px);
}

.faq-card:has(.cms-item-edit),
.community-card:has(.cms-item-edit),
.cms-gallery-item:has(.cms-item-edit),
.cms-certificate-item:has(.cms-item-edit),
.accordion-item:has(.cms-item-edit),
.board-list-01 [class$="-card"]:has(.cms-item-edit) {
    position: relative;
}

.accordion-item > .cms-item-edit {
    top: var(--size-12, 12px);
    right: var(--size-56, 56px);
}

/* ======================================================
   외국인 커뮤니티(Community) 게시판
   ====================================================== */
.community-board {
    padding-top: var(--size-40);
    padding-bottom: var(--size-100);
    font-family: Pretendard, sans-serif;
}

.community-board__actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: var(--size-20);
}

.living-board__actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: var(--size-20);
}

.community-board__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: center;
    gap: var(--size-20);
    margin: 0;
    padding: 0;
    list-style: none;
}

.board-list-01 .community-card {
    display: flex;
    width: 29.1875rem;
    max-width: 100%;
    padding: var(--size-32) var(--size-40);
    align-items: center;
    flex-direction: column;
    gap: var(--size-24);
    min-width: 0;
    box-sizing: border-box;
    border: none !important;
    border-radius: var(--size-24);
    background: rgb(var(--gary-50));
    box-shadow: none;
    text-align: center;
}

.community-card__image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 10rem;
    height: 10rem;
    margin-bottom: 0;
}

.community-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.community-card__image-empty {
    display: block;
    width: 7.5rem;
    height: 7.5rem;
    border-radius: var(--size-32);
    background: rgb(var(--theme-100));
}

.community-card__body {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: var(--size-8);
    width: 100%;
}

.community-card__title {
    margin: 0;
    color: rgb(var(--gary-900));
    font-size: var(--size-24);
    font-weight: 600;
    line-height: var(--size-36);
    letter-spacing: -0.03rem;
}

.community-card__title a {
    color: inherit;
    text-decoration: none;
}

.community-card__title a:hover {
    color: rgb(var(--theme2-600));
}

.community-card__details {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: var(--size-2);
    width: 100%;
}

.community-card__detail {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: rgb(var(--gary-500));
    font-size: var(--size-18);
    font-weight: 400;
    line-height: var(--size-28);
    letter-spacing: -0.0225rem;
    word-break: keep-all;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.community-card__tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--size-40);
    margin-top: var(--size-16);
    padding: 0 var(--size-16);
    border-radius: var(--size-20);
    background: rgb(var(--gary-200));
    color: rgb(var(--gary-700));
    font-size: var(--size-14);
    font-weight: 600;
    line-height: var(--size-22);
}

.community-board .cms-pagination {
    margin-top: var(--size-60);
}

/* ======================================================
   FAQ 게시판
   ====================================================== */
.faq-board {
    padding-top: var(--size-40);
    padding-bottom: var(--size-100);
    font-family: Pretendard, sans-serif;
}

.faq-board__list {
    display: flex;
    flex-direction: column;
    gap: var(--size-20);
}

.faq-board__actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: var(--size-20);
}

.faq-card {
    padding: var(--size-36) var(--size-40);
    border-radius: var(--size-24);
    background-color: rgb(var(--gary-50));
}

.faq-card__category {
    display: flex;
    align-items: center;
    gap: var(--size-8);
    margin-bottom: var(--size-12);
    color: rgb(var(--gary-500));
    font-size: var(--size-14);
    font-weight: 400;
    line-height: var(--size-22);
}

.faq-card__divider {
    color: rgb(var(--gary-400));
}

.faq-card__title {
    margin: 0;
    color: rgb(var(--gary-800));
    font-size: var(--size-18);
    font-weight: 600;
    line-height: var(--size-28);
    letter-spacing: -0.0225rem;
}

.faq-card__line {
    height: var(--size-1);
    margin: var(--size-20) 0;
    background-color: rgb(var(--gary-200));
}

.faq-card__content {
    color: rgb(var(--gary-600));
    font-size: var(--size-14);
    font-weight: 400;
    line-height: var(--size-24);
    letter-spacing: -0.0175rem;
}

.faq-card__content > :first-child {
    margin-top: 0;
}

.faq-card__content > :last-child {
    margin-bottom: 0;
}

.faq-card__content p {
    margin: 0 0 var(--size-12);
}

.faq-card__content ul,
.faq-card__content ol {
    margin: 0 0 var(--size-12);
    padding-left: var(--size-28);
}

.faq-card__content ul,
.faq-card__content ul > li {
    list-style: disc;
}

.faq-card__content ol,
.faq-card__content ol > li {
    list-style: decimal;
}

.faq-card__content li {
    margin: var(--size-4) 0;
}

.faq-card__content li > ul,
.faq-card__content li > ol {
    margin-top: var(--size-4);
    margin-bottom: var(--size-4);
}

.faq-card__content h1,
.faq-card__content h2,
.faq-card__content h3,
.faq-card__content h4,
.faq-card__content h5,
.faq-card__content h6 {
    margin: var(--size-20) 0 var(--size-8);
    color: inherit;
    font-weight: 700;
    line-height: 1.45;
}

.faq-card__content blockquote {
    margin: var(--size-12) 0;
    padding: var(--size-8) var(--size-16);
    border-left: var(--size-4) solid rgb(var(--gary-300));
}

.faq-card__content strong,
.faq-card__content b {
    font-weight: 700;
}

.faq-board .cms-pagination {
    margin-top: var(--size-60);
}

/* ======================================================
   공지사항(Notice) 게시판
   ====================================================== */
.notice-board {
    font-family: Pretendard, sans-serif;
}

.notice-board .notice-board__type-filter {
    display: flex;
    align-items: center;
    gap: var(--size-60);
    min-height: var(--size-100);
    padding: var(--size-24) var(--size-48);
    border-radius: var(--size-24);
    background-color: rgb(var(--theme-50));
}

.notice-board .notice-board__filter-label {
    flex: 0 0 auto;
    color: rgb(var(--gary-700));
    font-size: var(--size-16);
    font-weight: 600;
}

.notice-board .notice-board__type-options {
    display: flex;
    flex-wrap: wrap;
    gap: var(--size-8);
}

.notice-board .notice-board__type-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--size-6);
    min-width: var(--size-80);
    height: var(--size-40);
    padding: 0 var(--size-16);
    border: var(--size-1) solid transparent;
    border-radius: var(--size-20);
    background-color: rgb(var(--theme-100));
    color: rgb(var(--theme-600));
    font-size: var(--size-14);
    cursor: pointer;
}

.notice-board .notice-board__type-checkbox {
    position: absolute;
    width: var(--size-1);
    height: var(--size-1);
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.notice-board .notice-board__type-btn img {
    display: none;
    width: var(--size-16);
    height: var(--size-16);
}

.notice-board .notice-board__type-checkbox:checked + .notice-board__type-btn {
    border-color: rgb(var(--gary-700));
    background-color: rgb(var(--theme-900));
    color: rgb(var(--primary-WT));
}

.notice-board .notice-board__type-checkbox:checked + .notice-board__type-btn img {
    display: block;
}

.notice-board #notice-type-all:checked + .notice-board__type-btn {
    border-color: rgb(var(--theme-700));
    background-color: rgb(var(--primary-WT));
    color: rgb(var(--theme-900));
}

.notice-board .notice-board__type-checkbox:focus-visible + .notice-board__type-btn {
    outline: var(--size-2) solid rgb(var(--theme2-600));
    outline-offset: var(--size-2);
}

.notice-board .notice-board__search {
    margin-top: var(--size-20);
    min-height: var(--size-88);
    padding: var(--size-20);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--size-8);
    border-radius: var(--size-24);
    background-color: rgb(var(--theme-50));
}

.notice-board .notice-board__search-select,
.notice-board .notice-board__search-input {
    height: var(--size-48);
    border: none;
    outline: none;
    background-color: rgb(var(--primary-WT));
    color: rgb(var(--gary-700));
    font-size: var(--size-14);
}

.notice-board .notice-board__search-select {
    width: 8.75rem;
    padding: 0 var(--size-48) 0 var(--size-20);
    border-radius: var(--size-24);
    background-image: url('/common/static/img/notice/notice_search_arrow.svg');
    background-repeat: no-repeat;
    background-position: right var(--size-16) center;
    background-size: var(--size-24);
    appearance: none;
}

.notice-board .notice-board__search-input {
    width: 26.25rem;
    padding: 0 var(--size-24);
    border-radius: var(--size-24);
}

.notice-board .notice-board__search-input::placeholder {
    color: rgb(var(--gary-400));
}

.notice-board .notice-board__search-btn {
    width: var(--size-48);
    height: var(--size-48);
    padding: var(--size-13);
    border: none;
    border-radius: 50%;
    background-color: rgb(var(--theme-900));
    color: rgb(var(--primary-WT));
}

.notice-board .notice-board__search-icon {
    display: block;
    width: var(--size-22);
    height: var(--size-22);
}

.notice-board .notice-board__summary {
    min-height: var(--size-80);
    padding-top: var(--size-40);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgb(var(--gary-700));
    font-size: var(--size-16);
}

.notice-board .notice-board__summary strong {
    font-weight: 600;
}

.notice-board .notice-board__summary-actions {
    display: flex;
    align-items: center;
    gap: var(--size-12);
}

.notice-board .notice-board__sort {
    min-width: 7.5rem;
    height: var(--size-40);
    padding: 0 var(--size-40) 0 var(--size-12);
    border: none;
    outline: none;
    background-color: transparent;
    color: rgb(var(--gary-700));
    font-size: var(--size-14);
    background-image: url('/common/static/img/line_arrow.svg');
    background-repeat: no-repeat;
    background-position: right var(--size-8) center;
    background-size: var(--size-24);
    appearance: none;
}

.notice-board .cms-board-table-wrap {
    overflow: hidden;
    border-radius: var(--size-20);
}

.notice-board .cms-board-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-top: none;
    table-layout: fixed;
}

.notice-board .cms-board-table thead {
    background-color: rgb(var(--theme-50));
}

.notice-board .cms-board-table thead tr {
    border-bottom: none;
}

.notice-board .cms-board-table th {
    height: var(--size-60);
    padding: 0 var(--size-20);
    color: rgb(var(--gary-600));
    text-align: center;
    font-size: var(--size-14);
    font-weight: 500;
    border-bottom: none;
}

.notice-board .cms-board-table thead th:first-child {
    border-radius: var(--size-20) 0 0 var(--size-20);
}

.notice-board .cms-board-table thead th:last-child {
    border-radius: 0 var(--size-20) var(--size-20) 0;
}

.notice-board .cms-board-table td {
    height: var(--size-64);
    padding: 0 var(--size-20);
    border-bottom: var(--size-1) solid rgb(var(--gary-200));
    color: rgb(var(--gary-600));
    text-align: center;
    font-size: var(--size-14);
}

.notice-board .cms-board-table .notice-board__category-col {
    width: 9.375rem;
}

.notice-board .cms-board-table .notice-board__author-col,
.notice-board .cms-board-table .notice-board__date-col {
    width: 12.5rem;
}

.notice-board .cms-board-table td.col-title {
    text-align: left;
}

.notice-board .cms-board-table td.col-title a {
    display: block;
    overflow: hidden;
    color: rgb(var(--gary-700));
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notice-board .cms-board-table td.col-title a:hover {
    color: rgb(var(--theme2-600));
}

.notice-board .badge-notice {
    margin-right: var(--size-8);
    color: rgb(var(--theme2-600));
    font-weight: 700;
}

/* ======================================================
   카드형 게시판 공통 및 하단 담당부서 영역
   ====================================================== */
.board-list-01 {
    [class$="-grid"] {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--size-20);
    }

    [class$="-card"] {
        border: 1px solid rgb(var(--gary-200));
        border-radius: var(--size-24);
        padding: var(--size-32) var(--size-20) var(--size-36) var(--size-20);
        display: flex;
        flex-direction: column;
        gap: var(--size-8);
    }

    .card-header .location-tag {
        font-size: var(--size-13);
        color: rgb(var(--gary-500));
        display: block;
        margin-bottom: 8px;
    }

    .card-header [class$="-name"] {
        font-size: 18px;
        font-weight: bold;
        color: #222222;
        margin: 0;
    }

    .info-list {
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .info-row {
        display: flex;
        align-items: center;
        font-size: 14px;
    }

    .info-row dt {
        background-color: #f1f3f5;
        color: #666666;
        font-size: 12px;
        padding: 4px 8px;
        border-radius: 4px;
        width: var(--size-96);
        min-width: var(--size-96);
        flex: 0 0 var(--size-96);
        box-sizing: border-box;
        white-space: nowrap;
        text-align: center;
        margin-right: 12px;
    }

    .info-row dd {
        margin: 0;
        color: #444444;
    }

    #footer-content .contact-card {
        background-color: rgb(var(--theme-50));
        border: 1px solid rgb(var(--theme-100));
        border-radius: var(--size-24);
        padding: var(--size-32) var(--size-40);
        display: flex;
        flex-direction: column;
        gap: var(--size-8);
        margin-top: var(--size-60);
    }

    #footer-content .contact-wrap {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: var(--size-16) var(--size-32);
    }

    #footer-content .contact-list {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: var(--size-16) var(--size-45);
        margin: 0;
    }

    #footer-content .contact-item,
    #footer-content .contact-item dl {
        display: flex;
        align-items: center;
        gap: var(--size-12);
        margin: 0;
    }

    #footer-content .contact-item dt {
        margin: 0;
        font-weight: 600;
        color: rgb(var(--theme-900));
        white-space: nowrap;
    }

    #footer-content .contact-item dd {
        margin: 0;
        font-weight: 400;
        color: rgb(var(--theme-700));
    }

    #footer-content .contact-list:empty {
        display: none;
    }

    #footer-content .contact-card > p {
        margin: var(--size-8) 0 0;
        color: rgb(var(--theme-600));
        font-size: var(--size-14);
        line-height: 1.6;
    }
}

/* ======================================================
   조직도(Organ) 게시판
   ====================================================== */
.org-info-table-wrap {
    width: 100%;
    overflow-x: auto;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
}

.org-info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    color: #333;
}

/* 헤더 - 하단 border 제거 */
.org-info-th {
    background-color: #f5f6f8;
    color: #555;
    font-weight: 600;
    text-align: center;
    padding: 16px 10px;
    /* border-bottom 제거 */
}

/* 바디 공통 */
.org-info-td {
    padding: 20px 16px;
    vertical-align: middle;
    /* 여기 있던 border-bottom은 삭제 */
}

/* tbody 안 tr 사이에만 구분선 */
.org-info-table tbody tr + tr {
    border-top: 1px solid #eee;
}

.org-info-table tbody tr:last-child .org-info-td {
    border-bottom: none;
}

/* 1열: 직급(팀장/과장/대리/주임) */
.org-info-td-title {
    text-align: center;
    font-weight: 500;
    white-space: nowrap;
    width: 100px;
}

/* 2열: 담당업무 - 실제 콘텐츠에 들어오는 ul/li 태그 직접 타겟팅 */
.org-info-td-duty {
    text-align: left;
    padding: 20px 24px;
}

.org-info-td-duty ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.org-info-td-duty li {
    position: relative;
    padding-left: 12px;
    line-height: 1.8;
    list-style: none;
}

.org-info-td-duty li::before {
    content: "·";
    position: absolute;
    left: 0;
    color: #999;
}

/* p 태그로 들어오는 경우(빈 줄, &nbsp; 등) 여백 정리 */
.org-info-td-duty p {
    margin: 0;
    line-height: 1.4;
}

/* 점(·) 없이 표시하고 싶은 항목: 별도 클래스가 없는 li(ex: "중남 국적 Dream 지원사업")는
   p 태그나 텍스트 노드로 들어오는 경우가 많으므로 기본적으로 bullet 없음 */

/* 3열: 연락처 */
.org-info-td-phone {
    text-align: center;
    white-space: nowrap;
    color: #555;
}

/* 빈 목록 */
.org-info-empty {
    text-align: center;
    padding: 60px 0;
    color: #999;
    font-size: 14px;
}


/* ======================================================
   개인정보처리방침(Policy) 게시판
   ====================================================== */
.content-ctx-policy {

    .ordinance-container {
        display: flex;
        width: var(--screen-1440);
        padding: var(--size-60) var(--size-80);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: var(--size-40);
        border-radius: var(--size-40);
        background: rgb(var(--gary-50));
    }

    .ordinance-header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: var(--size-8);
        align-self: stretch;

        h2 {
            align-self: stretch;
            color: rgb(var(--gary-800));
            font-family: Pretendard;
            font-size: var(--size-32);
            font-style: normal;
            font-weight: 600;
            line-height: var(--size-44); /* 137.5% */
            letter-spacing: -0.64px;
        }

        p {
            color: rgb(var(--gary-500));
            font-family: Pretendard;
            font-size: var(--size-18);
            font-style: normal;
            font-weight: 400;
            line-height: var(--size-28);
            letter-spacing: -0.36px;
        }
    }

    .ordinance-body {
        display: flex;
        justify-content: space-between;
        width: 100%;
        gap: var(--size-8);
        align-self: stretch;

        .left-text h3 {
            color: rgb(var(--theme2-800));
            white-space: nowrap;
            align-items: flex-start;
            font-family: Pretendard;
            font-size: var(--size-18);
            font-style: normal;
            font-weight: 600;
            line-height: var(--size-28);
            letter-spacing: -0.36px;
        }

        .right-text {
            flex: 1 0 0;

            p {
                color: rgb(var(--gary-700), rgb(var(--gary-700)));
                font-family: Pretendard;
                align-items: flex-start;
                font-size: var(--size-18);
                font-style: normal;
                font-weight: 600;
                line-height: var(--size-28);
                letter-spacing: -0.36px;
            }
        }
    }

    .ordinance-list {
        flex-basis: 100%;
        width: 100%;
        list-style: none;
        padding-left: 0px;
        margin-top: var(--size-16);
        margin-bottom: 0px;

        li {
            color: rgb(var(--gary-700), rgb(var(--gary-700)));
            font-size: var(--size-18);
            font-style: normal;
            font-weight: 400;
            letter-spacing: -0.36px;
        }

        li > ol {
            margin: 0px;
            padding-left: 5px;
        }
    }

    .ordinance-ol-body {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: var(--size-8);

        .left-text h3 {
            color: rgb(var(--theme2-800));
            white-space: nowrap;
            align-items: flex-start;
            font-family: Pretendard;
            font-size: var(--size-18);
            font-style: normal;
            font-weight: 600;
            line-height: var(--size-28);
            letter-spacing: -0.36px;
        }

        .right-text {
            flex: 1 0 0;

            p {
                color: rgb(var(--gary-700), rgb(var(--gary-700)));
                font-family: Pretendard;
                align-items: flex-start;
                font-size: var(--size-18);
                font-style: normal;
                font-weight: 600;
                line-height: var(--size-28);
                letter-spacing: -0.36px;
            }
        }
    }

    /* 부칙(附則) 블록 — 조례 HTML에서 쓰이는 클래스지만
       기존 CSS에 누락되어 있어 ordinance-body와 동일하게 보이도록 추가 */

    .ordinance-add {
        display: flex;
        justify-content: space-between;
        width: 100%;
        gap: var(--size-8);
        align-self: stretch;
        margin-top: var(--size-16);

        .left-text h3 {
            color: rgb(var(--theme2-800));
            white-space: nowrap;
            font-family: Pretendard;
            font-size: var(--size-18);
            font-style: normal;
            font-weight: 600;
            line-height: var(--size-28);
            letter-spacing: -0.36px;
        }

        .right-text {
            flex: 1 0 0;

            p {
                color: rgb(var(--gary-700), rgb(var(--gary-700)));
                font-family: Pretendard;
                font-size: var(--size-18);
                font-style: normal;
                font-weight: 600;
                line-height: var(--size-28);
                letter-spacing: -0.36px;
            }
        }
    }
}

/* 개인정보 처리방침 최상위 영역 */
.content-ctx-policy {
    width: 100%;
    color: rgb(var(--gary-700, 51, 51, 51));
    font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: var(--size-16, 16px);
    line-height: 1.6;
    word-break: keep-all;
}

/* 1. 메인 제목 (제1조, 제2조 등 위의 큰 제목) */
.content-ctx-policy h2 {
    color: rgb(var(--gary-900, 17, 17, 17));
    font-size: var(--size-24, 24px);
    font-weight: 700;
    margin-top: 0;
    margin-bottom: var(--size-24, 24px);
    padding-bottom: var(--size-12, 12px);
    border-bottom: 2px solid rgb(var(--gary-800, 34, 34, 34));
}

/* 2. 조항 제목 (제1조, 제2조...) */
.content-ctx-policy h3 {
    color: rgb(var(--theme2-800, 43, 108, 176)); /* 강조 색상 */
    font-size: var(--size-18, 18px);
    font-weight: 600;
    margin-top: var(--size-32, 32px);
    margin-bottom: var(--size-12, 12px);
    line-height: 1.4;
}

/* 3. 본문 단락 */
.content-ctx-policy p {
    color: rgb(var(--gary-700, 66, 66, 66));
    font-size: var(--size-16, 16px);
    font-weight: 400;
    margin-top: 0;
    margin-bottom: var(--size-12, 12px);
    line-height: 1.65;
}

/* 4. 순서 리스트 (ol, li) */
.content-ctx-policy ol {
    list-style: none; /* 기본 숫자 제거하고 내부 텍스트 사용 */
    padding-left: 0;
    margin-top: 0;
    margin-bottom: var(--size-16, 16px);
}

.content-ctx-policy ol li {
    color: rgb(var(--gary-700, 66, 66, 66));
    font-size: var(--size-16, 16px);
    margin-bottom: var(--size-8, 8px);
    padding-left: var(--size-12, 12px);
    text-indent: -12px; /* 번호 표기 깔끔하게 맞춤 */
    line-height: 1.6;
}

/* 5. 하단 담당부서 및 저작권 안내 영역 (마지막 p 태그들) */
.content-ctx-policy p:nth-last-child(5) { /* 담당부서 */
    margin-top: var(--size-40, 40px);
    font-weight: 700;
    color: rgb(var(--gary-900, 17, 17, 17));
}

.content-ctx-policy p:last-child { /* 저작권 문구 */
    margin-top: var(--size-20, 20px);
    padding-top: var(--size-16, 16px);
    border-top: 1px solid rgb(var(--gary-200, 226, 232, 240));
    font-size: var(--size-13, 13px);
    color: rgb(var(--gary-500, 160, 174, 192));
}

/* 게시판 공통 작성·수정 화면 */
.container:has(#post-form) {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px 24px 100px;
    box-sizing: border-box;
}

.container:has(#post-form) #post-title-display {
    margin: 0 0 12px;
    color: #202126;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.35;
}

.container:has(#post-form) > div > hr {
    margin: 0 0 32px;
    border: 0;
    border-top: 1px solid #dfe1e5;
}

.container:has(#post-form) #post-meta-view {
    margin-bottom: 16px;
    color: #777b84;
    font-size: 14px;
}

.container:has(#post-form) #post-form > .row,
.container:has(#post-form) #dynamic-fields-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 28px;
}

.container:has(#post-form) #post-form > .row {
    margin-bottom: 24px;
}

.container:has(#post-form) .mb-3,
.container:has(#post-form) [class*="col-md-"] {
    min-width: 0;
}

.container:has(#post-form) #dynamic-fields-container .mb-3:has(#post-field-title),
.container:has(#post-form) #dynamic-fields-container .mb-3:has(#post-field-제목),
.container:has(#post-form) #dynamic-fields-container .mb-3:has(#contentEditor),
.container:has(#post-form) #dynamic-fields-container .mb-3:has(#post-field-subtitle),
.container:has(#post-form) #dynamic-fields-container .mb-3:has(#post-field-url) {
    grid-column: 1 / -1;
}

/* 생활정보 - 일자리 사업 수정 화면 */
.container:has(#post-form) #post-form.jobs-edit-form > .mb-3:has(#isNotice) {
    margin-bottom: 24px;
}

.container:has(#post-form) #post-form.jobs-edit-form .jobs-support-content-field {
    grid-column: 1 / -1;
}

.container:has(#post-form) .form-label {
    display: block;
    margin-bottom: 10px;
    color: #303138;
    font-size: 15px;
    font-weight: 600;
}

.container:has(#post-form) .form-control,
.container:has(#post-form) .form-select {
    display: block;
    width: 100%;
    min-height: 52px;
    padding: 12px 16px;
    border: 1px solid #d8dbe1;
    border-radius: 8px;
    background: #fff;
    color: #202126;
    font: inherit;
    line-height: 1.5;
    box-sizing: border-box;
    transition: border-color .15s, box-shadow .15s;
}

.container:has(#post-form) .form-control:focus,
.container:has(#post-form) .form-select:focus {
    border-color: #2866d7;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(40, 102, 215, .12);
}

.container:has(#post-form) .form-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.container:has(#post-form) .form-check-input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #2866d7;
}

.container:has(#post-form) #attachment-container {
    margin-top: 24px;
}

.container:has(#post-form) #view-mode-buttons,
.container:has(#post-form) #edit-mode-buttons {
    margin-top: 32px;
    text-align: right;
}

.container:has(#post-form) .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    min-height: 44px;
    margin-left: 8px;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.container:has(#post-form) .btn-primary {
    background: #263b78;
    color: #fff;
}

.container:has(#post-form) .btn-secondary {
    border-color: #cfd2d8;
    background: #fff;
    color: #34363d;
}

.container:has(#post-form) .btn-danger {
    background: #d94141;
    color: #fff;
}

.container:has(#post-form) .btn:hover {
    opacity: .88;
}

/* 언론보도 상세 외부 기사 링크 */
.notice-board #post-content-container .media-article-link {
    display: flex;
    justify-content: center;
    margin-top: calc(var(--size-48) * 3);
}

.notice-board #post-content-container .media-article-link__button {
    min-width: 228px;
    min-height: var(--size-56);
    margin-left: 0;
    padding: var(--size-14) var(--size-32);
    font-size: var(--size-16);
}

@media (max-width: 767px) {
    .container:has(#post-form) {
        padding: 28px 16px 60px;
    }

    .container:has(#post-form) #post-title-display {
        font-size: 26px;
    }

    .container:has(#post-form) #post-form > .row,
    .container:has(#post-form) #dynamic-fields-container {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .container:has(#post-form) .mb-3,
    .container:has(#post-form) [class*="col-md-"] {
        grid-column: 1 / -1;
    }
}
/* ==============================================
   게시글 상세 첨부파일
   ============================================== */
.board-attachment-view {
    margin-top: var(--size-24);
    padding: var(--size-20) var(--size-24);
    border: 1px solid rgb(var(--gary-200));
    border-radius: var(--size-12);
    background: rgb(var(--gary-50));
}

/* 구인구직 게시판 */
.adm-body .job-posting-page {
    --gary-50: 250 250 250;
    --gary-100: 242 242 242;
    --gary-200: 228 228 228;
    --gary-300: 206 206 206;
    --gary-400: 166 166 166;
    --gary-500: 101 101 101;
    --gary-600: 56 56 56;
    --gary-700: 45 45 45;
    --gary-800: 31 31 31;
    --primary-WT: 255 255 255;
    --theme-50: 245 246 248;
    --theme-900: 35 35 40;
    --theme2-50: 246 248 255;
    --theme2-600: 25 91 215;
    --theme2-700: 10 54 135;
    --theme2-800: 10 54 135;
    --size-1: 0.0625rem;
    --size-2: 0.125rem;
    --size-3: 0.1875rem;
    --size-4: 0.25rem;
    --size-5: 0.3125rem;
    --size-6: 0.375rem;
    --size-7: 0.4375rem;
    --size-8: 0.5rem;
    --size-9: 0.5625rem;
    --size-10: 0.625rem;
    --size-12: 0.75rem;
    --size-13: 0.8125rem;
    --size-14: 0.875rem;
    --size-15: 0.9375rem;
    --size-16: 1rem;
    --size-18: 1.125rem;
    --size-20: 1.25rem;
    --size-22: 1.375rem;
    --size-24: 1.5rem;
    --size-28: 1.75rem;
    --size-32: 2rem;
    --size-36: 2.25rem;
    --size-40: 2.5rem;
    --size-44: 2.75rem;
    --size-48: 3rem;
    --size-52: 3.25rem;
    --size-56: 3.5rem;
    --size-60: 3.75rem;
    --size-64: 4rem;
    --size-72: 4.5rem;
    --size-80: 5rem;
    --size-100: 6.25rem;
}

.job-board,
.job-posting-page { width:100%; padding-bottom:var(--size-80); color:rgb(var(--gary-800)); }
.job-board .job-board__actions { margin-bottom:var(--size-16); display:flex; justify-content:flex-end; }
.job-board .job-info-notice { padding:var(--size-20) var(--size-32); border-radius:var(--size-16); background:rgb(var(--theme-50)); color:rgb(var(--theme2-600)); font-size:var(--size-14); line-height:var(--size-22); }
.job-board .job-info-filter { margin-top:var(--size-24); padding:var(--size-24) var(--size-48); border-radius:var(--size-24); background:rgb(var(--theme-50)); }
.job-board .job-info-filter__row { min-height:var(--size-56); display:grid; grid-template-columns:7.5rem minmax(0,1fr); align-items:center; gap:var(--size-16); border-bottom:var(--size-1) solid rgb(var(--gary-100)); }
.job-board .job-info-filter__row:last-child { border-bottom:0; }
.job-board .job-info-filter__row > strong { color:rgb(var(--gary-700)); font-size:var(--size-14); font-weight:600; }
.job-board .job-info-filter__options { min-width:0; padding:var(--size-10) 0; display:flex; flex-wrap:wrap; gap:var(--size-8); }
.job-board .job-info-filter__options button { min-width:var(--size-80); height:var(--size-40); padding:0 var(--size-16); border:var(--size-1) solid transparent; border-radius:var(--size-20); background:rgb(var(--gary-100)); color:rgb(var(--gary-500)); font:inherit; font-size:var(--size-13); cursor:pointer; }
.job-board .job-info-filter__options button:first-child { border-color:rgb(var(--gary-400)); background:transparent; color:rgb(var(--gary-400)); }
.job-board .job-info-filter__options button.is-active { border-color:rgb(var(--gary-700)); background:rgb(var(--theme-900)); color:rgb(var(--primary-WT)); }
.job-board .job-info-filter__options button:first-child.is-active { color:rgb(var(--theme-900)); background:rgb(var(--primary-WT)); }
.job-board .job-info-filter__options button.is-active::before { content:''; width:var(--size-16); height:var(--size-16); margin-right:var(--size-5); display:inline-block; vertical-align:middle; background:url('/common/static/img/icon/white_check.svg') center/contain no-repeat; }
.job-board .job-info-filter__options button:first-child.is-active::before { width:var(--size-14); height:var(--size-9); background-image:url('/common/static/img/icon/black_check.svg'); }
.job-board .job-info-search { margin-top:var(--size-20); padding:var(--size-20) var(--size-32); display:flex; justify-content:center; gap:var(--size-8); border-radius:var(--size-24); background:rgb(var(--theme-50)); }
.job-board .job-info-search select,
.job-board .job-info-search input { height:var(--size-48); border:0; outline:0; background:rgb(var(--primary-WT)); color:rgb(var(--gary-700)); font:inherit; font-size:var(--size-14); }
.job-board .job-info-search select { width:8.75rem; padding:0 var(--size-48) 0 var(--size-20); border-radius:var(--size-24); background-image:url('/common/static/img/notice/notice_search_arrow.svg'); background-repeat:no-repeat; background-position:right var(--size-16) center; background-size:var(--size-24); appearance:none; }
.job-board .job-info-search__input { width:min(25rem,45vw); }
.job-board .job-info-search input { width:100%; padding:0 var(--size-24); border-radius:var(--size-24); box-sizing:border-box; }
.job-board .job-info-search > button { width:var(--size-48); height:var(--size-48); padding:0; display:inline-flex; align-items:center; justify-content:center; border:0; border-radius:50%; background:rgb(var(--theme-900)); cursor:pointer; }
.job-board .job-info-search > button img { width:var(--size-22); height:var(--size-22); }
.job-board .job-info-list { margin-top:var(--size-32); }
.job-board .job-info-list__summary { min-height:var(--size-48); display:flex; align-items:center; justify-content:space-between; font-size:var(--size-14); }
.job-board .job-info-list__summary select { padding:var(--size-8) var(--size-28) var(--size-8) var(--size-12); border:0; background:transparent; color:rgb(var(--gary-500)); font:inherit; }
.job-board .job-info-card-list { margin:0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--size-16); list-style:none; }
.job-board .job-info-card-list > .cms-empty-state { grid-column:1/-1; width:100%; text-align:center; box-sizing:border-box; }
.job-board .job-info-card { min-width:0; padding:var(--size-24); border:var(--size-1) solid rgb(var(--gary-200)); border-radius:var(--size-20); background:rgb(var(--primary-WT)); box-sizing:border-box; }
.job-board .job-info-card__link { display:block; color:inherit; text-decoration:none; }
.job-board .job-info-card__meta { display:flex; flex-wrap:wrap; align-items:center; gap:var(--size-8); color:rgb(var(--gary-500)); font-size:var(--size-13); }
.job-board .job-info-card__meta > span + span::before { content:'·'; margin-right:var(--size-8); color:rgb(var(--gary-300)); }
.job-board .job-info-card__badge { padding:var(--size-5) var(--size-10); border-radius:var(--size-8); background:#e9efff; color:#2367d8; font-weight:600; }
.job-board .job-info-card__title { margin:var(--size-16) 0 0; padding-bottom:var(--size-18); border-bottom:var(--size-1) solid rgb(var(--gary-200)); font-size:var(--size-18); line-height:1.45; word-break:keep-all; }
.job-board .job-info-card__details { margin:var(--size-16) 0 0; display:grid; gap:var(--size-10); }
.job-board .job-info-card__details > div { min-width:0; display:grid; grid-template-columns:var(--size-64) minmax(0,1fr); align-items:center; gap:var(--size-12); }
.job-board .job-info-card__details dt { padding:var(--size-7) var(--size-8); border-radius:var(--size-8); background:rgb(var(--gary-50)); font-size:var(--size-13); font-weight:500; text-align:center; }
.job-board .job-info-card__details dd { min-width:0; margin:0; font-size:var(--size-14); line-height:1.5; overflow-wrap:anywhere; }
.job-board .job-info-card.is-closed { border-color:transparent; background:rgb(var(--gary-100)); color:rgb(var(--gary-400)); }
.job-board .job-info-card.is-closed .job-info-card__badge { background:rgb(var(--gary-600)); color:rgb(var(--primary-WT)); }

.job-posting-view .job-posting-summary { padding:var(--size-28) var(--size-32); border:var(--size-1) solid rgb(var(--gary-200)); border-radius:var(--size-20); }
.job-posting-view .job-posting-summary__visa { display:inline-block; padding:var(--size-5) var(--size-10); border-radius:var(--size-8); background:#e9efff; color:#2367d8; font-size:var(--size-13); font-weight:600; }
.job-posting-view .job-posting-summary h1 { margin:var(--size-14) 0 var(--size-16); padding-bottom:var(--size-16); border-bottom:var(--size-1) solid rgb(var(--gary-200)); font-size:var(--size-20); }
.job-posting-view dl { margin:0; }
.job-posting-view dl > div { min-height:var(--size-44); display:grid; grid-template-columns:8.5rem minmax(0,1fr); align-items:center; border-bottom:var(--size-1) solid rgb(var(--gary-100)); }
.job-posting-view dl > div:last-child { border-bottom:0; }
.job-posting-view dt { font-size:var(--size-14); font-weight:600; }
.job-posting-view dd { min-width:0; margin:0; font-size:var(--size-14); line-height:1.6; }
.job-posting-view .job-posting-summary dl { max-width:40rem; }
.job-posting-view .job-posting-summary dl > div { grid-template-columns:8rem minmax(0,1fr); border-bottom:0; }
.job-posting-view .job-posting-summary dt { width:7rem; padding:var(--size-6) var(--size-8); border-radius:var(--size-7); background:rgb(var(--gary-50)); text-align:center; white-space:nowrap; box-sizing:border-box; }
.job-posting-view .job-posting-section { margin-top:var(--size-32); }
.job-posting-view .job-posting-section h2 { margin:0; padding:var(--size-16) var(--size-24); border-radius:var(--size-16); background:rgb(var(--theme-50)); color:rgb(var(--theme2-700)); font-size:var(--size-18); }
.job-posting-view .job-posting-section dl { padding:var(--size-10) var(--size-16) 0; }
.job-posting-view .job-posting-values { display:flex; flex-wrap:wrap; align-items:center; padding:var(--size-10) 0; }
.job-posting-view .job-posting-values span { padding:0 var(--size-20); white-space:nowrap; }
.job-posting-view .job-posting-values span:first-child { padding-left:0; }
.job-posting-view .job-posting-values span + span { border-left:var(--size-1) solid rgb(var(--gary-200)); }
.job-posting-view .job-view-actions { margin-top:var(--size-48); display:flex; justify-content:center; gap:var(--size-12); }
.job-posting-view .job-view-actions a,
.job-posting-view .job-view-actions button { min-width:7.5rem; padding:var(--size-12); border:var(--size-1) solid rgb(var(--gary-300)); border-radius:var(--size-12); background:rgb(var(--primary-WT)); color:rgb(var(--gary-700)); font:inherit; text-align:center; text-decoration:none; cursor:pointer; }

.job-posting-form .job-registration-section + .job-registration-section { margin-top:var(--size-32); }
.job-posting-form .job-registration-section h2 { margin:0 0 var(--size-16); padding:var(--size-16) var(--size-24); border-radius:var(--size-16); background:rgb(var(--theme2-50)); color:rgb(var(--theme2-800,10 54 135)); font-size:var(--size-18); }
.job-posting-form .job-registration-fields { padding:0 var(--size-16); display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--size-16) var(--size-32); }
.job-posting-form .job-registration-field { min-width:0; display:grid; grid-template-columns:8rem minmax(0,1fr); align-items:center; gap:var(--size-16); margin:0; }
.job-posting-form .job-registration-field--full { grid-column:1/-1; }
.job-posting-form .job-registration-field--top { align-items:start; }
.job-posting-form .job-registration-field > span:first-child,
.job-posting-form .job-registration-row > strong { color:rgb(var(--gary-700)); font-size:var(--size-14); font-weight:600; }
.job-posting-form .job-registration-field small { display:block; margin-top:var(--size-3); color:rgb(var(--gary-500)); font-size:var(--size-12); font-weight:400; }
.job-posting-form input,
.job-posting-form select { width:100%; height:var(--size-48); padding:0 var(--size-18); border:var(--size-1) solid transparent; border-radius:var(--size-10); outline:0; background:rgb(var(--gary-50)); color:rgb(var(--gary-700)); font:inherit; font-size:var(--size-14); box-sizing:border-box; }
.job-posting-form input:focus,
.job-posting-form select:focus { border-color:rgb(var(--theme2-600)); background:rgb(var(--primary-WT)); }
.job-posting-form .job-registration-address { min-width:0; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:var(--size-8); }
.job-posting-form .job-registration-address button { min-width:7.5rem; height:var(--size-48); padding:0 var(--size-16); border:0; border-radius:var(--size-10); background:rgb(var(--theme-900)); color:rgb(var(--primary-WT)); cursor:pointer; }
.job-posting-form .job-registration-end-date { min-width:0; display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; gap:var(--size-12); }
.job-posting-form .job-registration-end-date label { min-height:var(--size-48); display:inline-flex; align-items:center; gap:var(--size-8); margin:0; color:rgb(var(--gary-700)); font-size:var(--size-14); white-space:nowrap; cursor:pointer; }
.job-posting-form .job-registration-end-date input[type="checkbox"] { width:var(--size-18); height:var(--size-18); padding:0; accent-color:rgb(var(--theme2-600)); }
.job-posting-form .job-registration-end-date input[type="date"]:disabled { color:rgb(var(--gary-400)); cursor:not-allowed; }
.job-posting-form .job-registration-unit { position:relative; display:block; }
.job-posting-form .job-registration-unit input { padding-right:var(--size-48); }
.job-posting-form .job-registration-unit b { position:absolute; right:var(--size-16); top:50%; transform:translateY(-50%); font-size:var(--size-14); font-weight:400; }
.job-posting-form .job-registration-unit--salary { display:flex; align-items:center; justify-content:flex-end; gap:var(--size-3); padding:0 var(--size-18); border:var(--size-1) solid transparent; border-radius:var(--size-10); background:rgb(var(--gary-50)); box-sizing:border-box; }
.job-posting-form .job-registration-unit--salary:focus-within { border-color:rgb(var(--theme2-600)); background:rgb(var(--primary-WT)); }
.job-posting-form .job-registration-unit--salary input { width:100%; min-width:0; flex:1; padding:0; border:0; background:transparent; text-align:right; }
.job-posting-form .job-registration-unit--salary b { position:static; flex:none; transform:none; }
.job-posting-form .job-registration-checks { min-height:var(--size-48); display:flex; flex-wrap:wrap; align-items:center; gap:var(--size-12) var(--size-28); }
.job-posting-form .job-registration-checks label { display:inline-flex; align-items:center; gap:var(--size-8); margin:0; color:rgb(var(--gary-700)); font-size:var(--size-14); cursor:pointer; }
.job-posting-form .job-registration-checks input { width:var(--size-18); height:var(--size-18); padding:0; accent-color:rgb(var(--theme2-600)); }
.job-posting-form .job-registration-rows { padding:0 var(--size-16); display:grid; gap:var(--size-16); }
.job-posting-form .job-registration-row { min-width:0; display:grid; grid-template-columns:8rem minmax(0,1fr); align-items:center; gap:var(--size-16); }
.job-posting-form .job-registration-salary { display:grid; grid-template-columns:minmax(10rem,.75fr) minmax(12rem,1fr); gap:var(--size-8); }
.job-posting-form .job-registration-time { display:grid; grid-template-columns:minmax(10rem,1fr) minmax(9rem,1fr) auto minmax(9rem,1fr); align-items:center; gap:var(--size-8); }
.job-posting-form .job-registration-time > span { text-align:center; }
.job-posting-form .job-registration-benefits { padding:0 var(--size-16); display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--size-24) var(--size-40); }
.job-posting-form .job-form-message { min-height:1.5em; color:#d62f45; text-align:center; }
.job-posting-form .job-registration-actions { margin-top:var(--size-48); display:flex; justify-content:center; gap:var(--size-16); }
.job-posting-form .job-registration-actions a,
.job-posting-form .job-registration-actions button { width:10rem; min-height:var(--size-52); display:inline-flex; align-items:center; justify-content:center; border-radius:var(--size-12); font-size:var(--size-15); font-weight:600; text-decoration:none; box-sizing:border-box; cursor:pointer; }
.job-posting-form .job-registration-actions a { border:var(--size-1) solid rgb(var(--gary-300)); color:rgb(var(--gary-700)); background:rgb(var(--primary-WT)); }
.job-posting-form .job-registration-actions button { border:var(--size-1) solid rgb(var(--theme2-600)); color:rgb(var(--primary-WT)); background:rgb(var(--theme2-600)); }

/* 충남형 일학습병행제 제출 */
.work-study-submission { max-width:52rem; }
.work-study-submission > h1 { margin:0 0 var(--size-12); color:rgb(var(--gary-800)); font-size:var(--size-24); font-weight:800; }
.work-study-submission__company { margin:0 0 var(--size-24); color:rgb(var(--gary-500)); font-size:var(--size-14); }
.work-study-submission__item { margin-top:var(--size-20); }
.work-study-submission__item h2 { min-height:var(--size-48); margin:0; padding:0 var(--size-20); display:flex; align-items:center; gap:var(--size-8); border-radius:var(--size-12); background:rgb(var(--theme-50)); color:rgb(var(--theme2-700)); font-size:var(--size-16); }
.work-study-submission__item h2 span { font-size:var(--size-12); font-weight:500; }
.work-study-submission__item h2 span::before { content:'✓'; margin-right:var(--size-4); }
.work-study-submission__file-row { min-height:var(--size-72); padding:var(--size-12) var(--size-20); display:grid; grid-template-columns:7rem minmax(0,1fr); align-items:center; gap:var(--size-12); }
.work-study-submission__file-row strong { font-size:var(--size-14); }
.work-study-submission__file-row label { min-width:0; min-height:var(--size-48); padding:0 var(--size-18); display:flex; align-items:center; border-radius:var(--size-10); background:rgb(var(--gary-50)); color:rgb(var(--gary-500)); font-size:var(--size-14); cursor:pointer; box-sizing:border-box; }
.work-study-submission__file-row input { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
.work-study-submission__file-row label:focus-within { outline:var(--size-2) solid rgb(var(--theme2-600)); }
.work-study-submission__file-row [data-file-name] { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.work-study-submission__file-row [data-file-name].is-saved { color:rgb(var(--theme2-700)); font-weight:600; }
.work-study-submission__item > p { margin:calc(var(--size-8) * -1) 0 var(--size-12) 8.25rem; color:rgb(var(--gary-500)); font-size:var(--size-12); }
.work-study-submission__message { min-height:1.5em; margin:var(--size-20) 0 0; color:#d62f45; text-align:center; }
.work-study-submission__actions { margin-top:var(--size-36); display:flex; justify-content:center; gap:var(--size-12); }
.work-study-submission__actions a,
.work-study-submission__actions button { width:10rem; min-height:var(--size-52); display:inline-flex; align-items:center; justify-content:center; border-radius:var(--size-12); font:inherit; font-size:var(--size-14); font-weight:700; text-decoration:none; cursor:pointer; box-sizing:border-box; }
.work-study-submission__actions a { border:var(--size-1) solid rgb(var(--gary-300)); background:rgb(var(--primary-WT)); color:rgb(var(--gary-700)); }
.work-study-submission__actions button { border:var(--size-1) solid rgb(var(--theme2-600)); background:rgb(var(--theme2-600)); color:rgb(var(--primary-WT)); }
.work-study-submission__actions button:disabled { opacity:.55; cursor:wait; }
.work-study-submission-complete { min-height:37.5rem; display:flex; flex-direction:column; align-items:center; text-align:center; }
.work-study-submission-complete > h1 { align-self:stretch; text-align:left; }
.work-study-submission-complete > img { width:var(--size-100); height:var(--size-100); margin-top:var(--size-72); }
.work-study-submission-complete > p { margin:var(--size-28) 0 0; display:flex; flex-direction:column; gap:var(--size-8); color:rgb(var(--gary-500)); font-size:var(--size-14); }
.work-study-submission-complete > p strong { color:rgb(var(--theme-900)); font-size:var(--size-18); }
.work-study-submission-complete > a { width:10rem; min-height:var(--size-52); margin-top:7.5rem; display:inline-flex; align-items:center; justify-content:center; border:var(--size-1) solid rgb(var(--gary-300)); border-radius:var(--size-12); color:rgb(var(--gary-700)); font-size:var(--size-14); font-weight:700; text-decoration:none; }

@media (max-width:900px) {
    .job-board .job-info-card-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .job-posting-form .job-registration-fields,
    .job-posting-form .job-registration-benefits { grid-template-columns:1fr; }
    .job-posting-form .job-registration-field--full { grid-column:auto; }
}
@media (max-width:767px) {
    .job-board,
    .job-posting-page { padding-bottom:var(--size-60); }
    .job-board .job-info-notice,
    .job-board .job-info-filter,
    .job-board .job-info-search { padding:var(--size-16) var(--size-20); }
    .job-board .job-info-filter__row { grid-template-columns:1fr; gap:0; padding:var(--size-12) 0; }
    .job-board .job-info-filter__options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); overflow-x:visible; }
    .job-board .job-info-filter__options button { width:100%; min-width:0; }
    .job-board .job-info-search { flex-wrap:wrap; }
    .job-board .job-info-search select { width:35%; }
    .job-board .job-info-search__input { width:calc(65% - var(--size-8)); }
    .job-board .job-info-card-list { grid-template-columns:1fr; }
    .job-posting-view .job-posting-summary { padding:var(--size-20); }
    .job-posting-view dl > div,
    .job-posting-view .job-posting-summary dl > div { grid-template-columns:1fr; gap:var(--size-8); padding:var(--size-12) 0; }
}
@media (max-width:600px) {
    .work-study-submission__file-row { grid-template-columns:1fr; padding:var(--size-12) 0; }
    .work-study-submission__item > p { margin:0 0 var(--size-12); }
    .work-study-submission__actions a,
    .work-study-submission__actions button { width:50%; }
    .job-posting-form .job-registration-fields,
    .job-posting-form .job-registration-rows,
    .job-posting-form .job-registration-benefits { padding:0; }
    .job-posting-form .job-registration-field,
    .job-posting-form .job-registration-row { grid-template-columns:1fr; gap:var(--size-8); }
    .job-posting-form .job-registration-address,
    .job-posting-form .job-registration-end-date,
    .job-posting-form .job-registration-salary,
    .job-posting-form .job-registration-time { grid-template-columns:1fr; }
    .job-posting-form .job-registration-address button { width:100%; }
    .job-posting-form .job-registration-time > span { display:none; }
    .job-posting-form .job-registration-actions a,
    .job-posting-form .job-registration-actions button { width:50%; }
}

.board-attachment-view__title {
    display: block;
    margin-bottom: var(--size-12);
    color: rgb(var(--gary-900));
    font-size: var(--size-16);
    font-weight: 700;
}

.board-attachment-view__list {
    display: flex;
    flex-direction: column;
    gap: var(--size-8);
    margin: 0;
    padding: 0;
    list-style: none;
}

.board-attachment-view__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--size-16);
    color: rgb(var(--theme2-800));
    text-decoration: none;
}

.board-attachment-view__link:hover .board-attachment-view__name {
    text-decoration: underline;
}

.board-attachment-view__name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.board-attachment-view__size {
    flex: none;
    color: rgb(var(--gary-500));
    font-size: var(--size-13);
}

/* 게시물 수정 화면의 기존 첨부파일 */
.board-attachment-view--edit .board-attachment-view__item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.board-attachment-view--edit .board-attachment-view__link {
    flex: 1;
    min-width: 0;
    gap: 8px;
}

.board-attachment-view--edit .board-attachment-view__actions {
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
}

.board-attachment-view--edit .board-attachment-view__remove {
    min-height: 36px;
    padding: 4px 10px;
    border: 1px solid #e4a7ad;
    border-radius: 6px;
    background: #fff1f2;
    color: #9f2430;
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.board-attachment-view--edit .board-attachment-view__remove:hover {
    background: #ffe2e5;
}

.board-attachment-view--edit .board-attachment-view__remove:focus-visible {
    outline: 2px solid #9f2430;
    outline-offset: 2px;
}

.board-attachment-view--edit .board-attachment-view__pending {
    color: #9f2430;
    font-size: 0.75rem;
    white-space: nowrap;
}

.board-attachment-view--edit .board-attachment-view__pending:not([hidden]) + .board-attachment-view__remove {
    border-color: #adb5bd;
    background: #fff;
    color: #343a40;
}


/* ======================================================
   일학습병행(workstudy) 전용 목록 및 신청서
   ====================================================== */
.work-study-form,.work-study-form * {
    box-sizing:border-box
}

.work-study-form {
    color:#222;
    font-family:"Malgun Gothic",Arial,sans-serif
}

.work-study-form {
    max-width:1120px;
    margin:0 auto;
    padding:32px 28px 48px
}

.work-study-form h1 {
    text-align:center;
    font-size:25px;
    margin:0 0 42px;
    font-weight:700
}

.work-study-form .application-section {
    margin-bottom:30px
}

.work-study-form .application-section h2 {
    font-size:15px;
    background:#f5f7ff;
    color:#2456aa;
    border-radius:14px;
    padding:17px 24px;
    margin:0 0 17px
}

.work-study-form .subsection h2 {
    background:none;
    color:#333;
    border-bottom:1px solid #edf0f4;
    border-radius:0;
    padding:8px 0 14px;
    font-size:14px
}

.work-study-form .application-grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px 24px
}

.work-study-form .application-field {
    display:grid;
    grid-template-columns:125px minmax(0,1fr);
    align-items:center;
    gap:10px;
    min-width:0
}

.work-study-form .application-field>label {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    font-size:12px;
    font-weight:600;
    word-break:keep-all
}

.work-study-form .application-field>label small {
    color:#8b8f97;
    font-size:10px;
    font-weight:400;
    white-space:nowrap
}

.work-study-form .full {
    grid-column:1/-1
}

.work-study-form .input-wrap {
    position:relative;
    min-width:0
}

.work-study-form .work-study-address {
    display:grid;
    grid-template-columns:minmax(0,1fr) 88px;
    gap:8px
}

.work-study-form .work-study-address-button {
    border:0;
    border-radius:8px;
    background:#263b68;
    color:#fff;
    font-size:12px;
    font-weight:600;
    cursor:pointer
}

.work-study-form .work-study-hours {
    display:grid;
    grid-template-columns:minmax(70px,.8fr) minmax(70px,1fr) auto minmax(70px,.8fr) minmax(70px,1fr);
    align-items:center;
    gap:7px
}

.work-study-form .work-study-hours>span {
    text-align:center
}

.work-study-form .work-study-hours select {
    min-width:0
}

.work-study-form .work-study-field--salary .input-wrap {
    display:flex;
    align-items:center;
    border-radius:8px;
    background:#f8f8f8
}

.work-study-form .work-study-field--salary input:not([type=radio]):not([type=checkbox]) {
    padding-right:4px;
    background:transparent;
    text-align:right
}

.work-study-form .work-study-salary-unit {
    padding-right:14px;
    flex:none;
    font-size:12px
}

.work-study-form .application-field input:not([type=radio]):not([type=checkbox]) {
    width:100%;
    border:1px solid transparent;
    border-radius:8px;
    background:#f8f8f8;
    padding:13px 14px;
    font:inherit;
    font-size:12px;
    color:#222;
    min-height:43px
}

.work-study-form .application-field input:focus {
    outline:2px solid #2866df;
    outline-offset:1px
}

.work-study-form .application-field input::placeholder {
    color:#909399
}

.work-study-form .application-field fieldset {
    border:0;
    margin:0;
    padding:7px 0;
    display:flex;
    flex-wrap:wrap;
    gap:12px 24px
}

.work-study-form .option {
    display:flex;
    align-items:center;
    gap:6px;
    font-size:12px;
    line-height:1.4;
    white-space:nowrap
}

.work-study-form .option input {
    accent-color:#1d5bda
}

.work-study-form .option input[type=checkbox] {
    width:15px;
    height:15px;
    min-width:15px;
    flex:0 0 15px;
    margin:0
}

.work-study-form .work-study-field--industryCategories fieldset {
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    column-gap:20px;
    row-gap:12px
}

.work-study-form .work-study-field--preferredVisaTypes fieldset {
    display:grid;
    grid-template-columns:repeat(5,max-content);
    column-gap:24px;
    row-gap:12px
}

.work-study-form .unit {
    position:absolute;
    right:14px;
    top:14px;
    font-size:12px
}

.work-study-form #post-field-plannedHiringCount,
.work-study-form #view-post-field-plannedHiringCount,
.work-study-form input[name=foreignWorkerE7Count],
.work-study-form input[name=foreignWorkerE74Count],
.work-study-form input[name=foreignWorkerE9Count] {
    padding-right:35px;
    text-align:right
}

.work-study-form .application-actions {
    display:flex;
    justify-content:center;
    gap:16px;
    margin-top:48px
}

.work-study-form .application-actions button {
    min-width:145px;
    padding:14px;
    border:1px solid #dedede;
    border-radius:12px;
    background:#fff;
    color:#333;
    font-weight:600
}

.work-study-form .application-actions .primary {
    background:#205ddd;
    border-color:#205ddd;
    color:#fff
}

.work-study-form .draft-note {
    text-align:center;
    color:#777;
    font-size:12px;
    margin-top:18px
}

.work-study-form .sr-only {
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip:rect(0,0,0,0)
}

@media(max-width:700px) {
    .work-study-form {
        padding:24px 16px
    }

    .work-study-form .application-grid {
        grid-template-columns:1fr
    }

    .work-study-form .application-field {
        grid-template-columns:100px minmax(0,1fr)
    }

    .work-study-form .work-study-hours {
        grid-template-columns:1fr 1fr
    }

    .work-study-form .work-study-hours>span {
        display:none
    }

    .work-study-form .work-study-field--industryCategories fieldset,
    .work-study-form .work-study-field--preferredVisaTypes fieldset {
        grid-template-columns:repeat(2,minmax(0,1fr));
        column-gap:12px
    }

    .work-study-form h1 {
        font-size:22px
    }

    .work-study-form .application-actions button {
        min-width:120px
    }
}

.work-study-form .form-message {
    color:#b42318;
    text-align:center
}

.work-study-form input:disabled {
    color:#444;
    opacity:1
}

.work-study-form button:disabled {
    opacity:.55
}

.work-study-form textarea,.work-study-form select {
    width:100%;
    padding:12px;
    border:1px solid #ddd;
    border-radius:8px;
    background:#f8f8f8
}

.work-study-form .work-study-field--foreignRecruitmentCriteria textarea {
    height:43px;
    min-height:43px;
    padding:13px 14px;
    border-color:transparent;
    box-sizing:border-box;
    font-family:inherit;
    font-size:12px;
    line-height:1.4;
    color:#222;
    resize:none
}

.work-study-form .work-study-field--foreignRecruitmentCriteria textarea:focus {
    outline:2px solid #2866df;
    outline-offset:1px
}

.work-study-form .work-study-field--foreignRecruitmentCriteria textarea::placeholder {
    color:#909399
}

.work-study-form #edit-mode-buttons {
    max-width:100%;
    text-align:center
}

.work-study-form #edit-mode-buttons button {
    margin:4px
}

.work-study-form #draft-save-btn {
    border-color:#205ddd;
    color:#205ddd
}

@media(max-width:480px) {
    .work-study-form .application-field {
        grid-template-columns:1fr;
        gap:7px
    }

    .work-study-form .work-study-field--industryCategories fieldset,
    .work-study-form .work-study-field--preferredVisaTypes fieldset {
        grid-template-columns:1fr 1fr
    }

    .work-study-form #edit-mode-buttons button {
        min-width:0;
        padding:12px 16px
    }
}

.work-study-form .work-study-date-picker {
    position:absolute;
    top:100%;
    left:0;
    z-index:20
}

.work-study-form .work-study-date-picker .tui-datepicker {
    margin-top:4px
}

.work-study-form #post-field-plannedHiringDate {
    cursor:pointer
}

/* 신청서 스킨에서는 공통 게시물 제목과 구분선을 표시하지 않습니다. */ .work-study-form #post-title-display,.work-study-form #post-title-display + hr {
    display:none
}

/* 매출액·퇴직금: 단일 선택을 유지하면서 사각형 선택 표시를 사용합니다. */ .work-study-form input[type="radio"]:is([name="annualSalesRange"], [name="retirementPay"]) {
    appearance: none;
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    margin: 0;
    border: 1px solid #c8cdd4;
    border-radius: 3px;
    background: #fff;
    display: inline-grid;
    place-content: center;
    cursor: pointer;
}

.work-study-form input[type="radio"]:is([name="annualSalesRange"], [name="retirementPay"]):checked {
    border-color: #205ddd;
    background: #205ddd;
}

.work-study-form input[type="radio"]:is([name="annualSalesRange"], [name="retirementPay"]):checked::after {
    content: '';
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: translateY(-1px) rotate(45deg);
}

.work-study-form input[type="radio"]:is([name="annualSalesRange"], [name="retirementPay"]):focus-visible {
    outline: 2px solid #205ddd;
    outline-offset: 3px;
}

.work-study-form input[type="radio"]:is([name="annualSalesRange"], [name="retirementPay"]):disabled {
    cursor: default;
}

.work-study-board .work-study-board__notice {
    margin: 0 0 24px;
    padding: 18px 28px;
    border-radius: 14px;
    background: #f5f7ff;
    color: #5269b1;
    font-size: 13px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.work-study-board .work-study-board__actions {
    display: flex;
    justify-content: center;
    padding: 40px 0;
}

.work-study-board .work-study-board__actions .cms-btn-write {
    min-width: 148px;
    padding: 14px 28px;
    border-radius: 12px;
    background: #205ddd;
    color: #fff;
    text-align: center;
    text-decoration: none;
}

/* WorkStudy 모집 공고문 슬라이드와 확대 보기 */
.work-study-board .work-study-documents {
    position: relative;
    margin-top: 28px;
}

.work-study-board .work-study-documents__swiper {
    padding: 12px 52px;
    overflow: hidden;
}

.work-study-board .work-study-documents .swiper-slide {
    display: flex;
    height: auto;
    align-items: stretch;
}

.work-study-board .work-study-documents__item {
    display: flex;
    width: 100%;
    min-height: 420px;
    padding: 12px;
    align-items: center;
    justify-content: center;
    border: 1px solid #edf0f5;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(27, 43, 75, 0.09);
    cursor: zoom-in;
}

.work-study-board .work-study-documents__item img {
    display: block;
    width: 100%;
    height: clamp(420px, 53vw, 620px);
    object-fit: contain;
}

.work-study-board .work-study-documents__item:focus-visible {
    outline: 3px solid #205ddd;
    outline-offset: 3px;
}

.work-study-board .work-study-documents__prev,
.work-study-board .work-study-documents__next {
    position: absolute;
    z-index: 2;
    top: 50%;
    display: flex;
    width: 42px;
    height: 42px;
    padding: 0;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    border: 1px solid #d9dfeb;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: #1d376d;
    box-shadow: 0 4px 14px rgba(27, 43, 75, 0.12);
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.work-study-board .work-study-documents__prev {
    left: 4px;
}

.work-study-board .work-study-documents__next {
    right: 4px;
}

.work-study-board .work-study-documents__prev.swiper-button-disabled,
.work-study-board .work-study-documents__next.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
}

.work-study-preview-modal .modal-dialog {
    width: min(1120px, calc(100vw - 40px));
    max-width: min(1120px, calc(100vw - 40px));
}

.work-study-preview-modal .modal-content {
    height: calc(100vh - 40px);
    max-height: calc(100vh - 40px);
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    background: #fff;
}

.work-study-preview-modal .work-study-preview-modal__header {
    display: flex;
    flex: 0 0 auto;
    min-height: 58px;
    padding: 12px 18px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e7eaf0;
}

.work-study-preview-modal .work-study-preview-modal__header h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
}

.work-study-preview-modal .work-study-preview-modal__close {
    display: flex;
    width: 38px;
    height: 38px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: #f1f3f7;
    color: #1f2937;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.work-study-preview-modal .work-study-preview-modal__body {
    display: flex;
    min-height: 0;
    padding: 18px 78px;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    overflow: auto;
    text-align: center;
}

.work-study-preview-modal .work-study-preview-modal__nav {
    position: absolute;
    z-index: 2;
    top: 50%;
    display: flex;
    width: 48px;
    height: 48px;
    padding: 0;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    border: 1px solid #d9dee8;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: #1f2937;
    box-shadow: 0 4px 14px rgba(17, 24, 39, 0.16);
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.work-study-preview-modal .work-study-preview-modal__nav--prev {
    left: 18px;
}

.work-study-preview-modal .work-study-preview-modal__nav--next {
    right: 18px;
}

.work-study-board .work-study-documents__prev span,
.work-study-board .work-study-documents__next span,
.work-study-preview-modal .work-study-preview-modal__nav span {
    display: flex;
    width: 14px;
    height: 14px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 0;
    line-height: 0;
}

.work-study-board .work-study-documents__prev span::before,
.work-study-board .work-study-documents__next span::before,
.work-study-preview-modal .work-study-preview-modal__nav span::before {
    content: '';
    display: block;
    width: 9px;
    height: 9px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
}

.work-study-board .work-study-documents__prev span::before,
.work-study-preview-modal .work-study-preview-modal__nav--prev span::before {
    transform: rotate(-135deg);
}

.work-study-board .work-study-documents__next span::before,
.work-study-preview-modal .work-study-preview-modal__nav--next span::before {
    transform: rotate(45deg);
}

.work-study-preview-modal .work-study-preview-modal__nav:disabled {
    opacity: 0.35;
    cursor: default;
}

.work-study-preview-modal .work-study-preview-modal__nav:focus-visible {
    outline: 3px solid #205ddd;
    outline-offset: 2px;
}

.work-study-preview-modal .work-study-preview-modal__body img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(100vh - 130px);
    margin: 0 auto;
}

@media (max-width: 639px) {
    .work-study-board .work-study-documents__swiper {
        padding-right: 30px;
        padding-left: 30px;
    }

    .work-study-board .work-study-documents__item {
        min-height: 360px;
        padding: 8px;
    }

    .work-study-board .work-study-documents__item img {
        height: 480px;
        max-height: 64vh;
    }

    .work-study-board .work-study-documents__prev,
    .work-study-board .work-study-documents__next {
        width: 36px;
        height: 36px;
        font-size: 27px;
    }

    .work-study-preview-modal .modal-dialog {
        width: calc(100vw - 20px);
        max-width: calc(100vw - 20px);
        margin: 10px auto;
    }

    .work-study-preview-modal .modal-content {
        height: calc(100vh - 20px);
        max-height: calc(100vh - 20px);
    }

    .work-study-preview-modal .work-study-preview-modal__body {
        padding: 12px 48px;
    }

    .work-study-preview-modal .work-study-preview-modal__nav {
        width: 36px;
        height: 36px;
        font-size: 27px;
    }

    .work-study-preview-modal .work-study-preview-modal__nav--prev {
        left: 7px;
    }

    .work-study-preview-modal .work-study-preview-modal__nav--next {
        right: 7px;
    }
}
