@charset "utf-8";


:root {
    --main-section-space : 6.25rem;
}

@media screen and (max-width: 47.9375em) {
    :root {
        --main-section-space :2.5rem;
    }
}

@media screen and (max-width: 30em) {
    :root {
        --main-section-space : 2rem;
    }
}

.main-page {
    --main-navy: #06194f;
    --main-blue: #058bd0;
    --main-cyan: #00a7c8;
    --main-muted: #8a8a8a;
    overflow: hidden;
    background: #fff;
}

body:has(.main-page) {
    overflow-x: hidden;
}

.main-page #contents {
    padding: 0;
    min-height: 0;
    display:flex;
    flex-direction: column;
    gap: 5rem;
}

.main-page .main-inner {
    width: min(100rem, calc(100% - 5rem));
    margin: 0 auto;
}
.main-hero h2 em,
.main-quick h3 em,
.main-location h3 em,
.main-news h3 em {
    background: linear-gradient(90deg, #0C9EAD 0%, #003089 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    font-style: normal;
}

.main-page a,.main-page button {
    transition: transform .25s ease, color .25s ease, background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.main-page a:focus-visible,.main-page button:focus-visible {
    outline: 0.1875rem solid #ffce00;
    outline-offset: 0.1875rem;
}

/* hero + search */
.main-hero {
    padding: 4.875rem 0 3rem;
}

.main-hero-head {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    align-items: end;
    gap: 6.25rem;
    margin-bottom: 3.25rem;
}

.main-hero h2 {
    margin: 0;
    color: #111;
    font-size: var(--fz-display-lg);
    line-height: 1.23;
    letter-spacing: -.055em;
    font-weight: 900;
}

.main-hero h2 span {
    font-size: var(--fz-display-xlg);
    position: relative;
    display: inline-block;
    position: relative;
    padding-right: 6.25rem;
}

.main-hero h2 span::after {
    width: 5.625rem;
    height: 5rem;
    position: absolute;
    top: 0;
    right: 0;
    background: url(../images/main/img_search_check.png) no-repeat center center / contain;
    display: block;
    content: "";
}

.main-hero h2 em {
    background: var(--brand-primary-gradient, linear-gradient(90deg, #0c9ead, #003089));
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

.main-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 8.25rem;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 0.1875rem solid #171717;
}

.main-search input {
    min-width: 0;
    border: 0;
    font-size: var(--fz-body-xl);
    font-weight: 800;
    outline: 0;
}

.main-search input::placeholder {
    color: var(--brand-gray-600);
}

.main-search button {
    height: 3.375rem;
    border: 0;
    border-radius: 1.875rem;
    font-weight: 800;
}

.main-search button[type=submit] {
    color: #fff;
    background: linear-gradient(90deg,#0a9eb6,#2157bc);
    font-size: 1.125rem;
}

.main-support-slider {
    position: relative;
    overflow: hidden;
}

.main-support-slider .swiper-wrapper {
    align-items: stretch;
}

.support-card {
    /* PC 정사각형 카드 3개 노출 */
    width: calc((100% - 3.75rem) / 3);
    height: 26.875rem;
    border-radius: 1.875rem;
    position: relative;
    overflow: hidden;
}

/* 온라인 신청 가능 사업의 [신청하기] (배지 반대편 좌측 상단) */
.support-card .support-card-apply {
    position: absolute;
    z-index: 2;
    right: 1.25rem;
    top: 1.25rem;
    display: inline-flex;
    align-items: center;
    width: 85px;
    padding: 0.5rem 1.125rem;
    background: linear-gradient(90deg, #0a9eb6, #2157bc);
    box-shadow: 0 0.5rem 1rem rgb(23 116 199 / 20%);
    color: #fff;
    font-size: var(--fz-body-md);
    font-weight: 800;
    height: 85px;
    border-radius: 100%;
    flex-direction: column;
    justify-content: center;
    outline: 4px solid rgba(255, 255, 255, 0.2);
    overflow: visible;
}

.support-card .support-card-apply:hover,
.support-card .support-card-apply:focus-visible {
    filter: brightness(1.1);
}

.support-card a {
    position: relative;
    display: block;
    height: 100%;
    color: #fff;
    overflow: hidden;
}

.support-card span.right-badgemg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.8);
    transition: transform .6s ease,filter .35s ease;
}

.support-card a:hover img {
    transform: scale(1.045);
    filter: brightness(.72);
}

.support-card span.right-badge {
    position: absolute;
    right: 0;
    top: 0;
    padding: 1rem 1.25rem;
    min-width: 5rem;
    min-height: 5rem;
    line-height: 1.4;
    white-space: nowrap;
    border-radius: 0 1.875rem;
    background: rgba(255, 255, 255, .106);
    box-shadow: 0 0.75rem 1.375rem rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(0.625rem);
    font-weight: 800;
    font-size: var(--fz-body-rg);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.support-card .text-wrap {
    position: absolute;
    padding: 0 2.375rem;
    left: 0;
    bottom: 2.25rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.875rem;
    transform: translateY(50px);
    transition: all .2s;
    z-index: 2;
}
.support-card .text-wrap .text-badge {
    display:flex;
    gap:0.5rem;
}
.support-card .text-wrap .text-badge .badge{
    font-weight:600;
}
.support-card > a:first-child::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(20, 20, 20, 0) 10%, rgba(20, 20, 20, 0) 50%, rgba(20, 20, 20, 0.3) 70%, rgba(20, 20, 20, 1) 100%);
    z-index: 1;
}


.support-card small {
    color: #ffd400;
    font-size: var(--fz-body-md);
    font-weight: 800;
}

.support-card strong {
    font-size: var(--fz-hd-sm);
    display: -webkit-box;
    overflow: hidden;
    min-height: 64px;
    text-overflow: ellipsis;
    font-weight: 700;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.3;
    word-break: keep-all;
}

.support-card b {
    /* height: 0; */
    visibility: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-size: var(--fz-body-rg);
    color: #ccc;
    opacity: 0;
    transition: all .4s;
}

.support-card b::after {
    background: linear-gradient(#ccc 0 0) no-repeat 50% 50% / 100% 0.1875rem, linear-gradient(#ccc 0 0) no-repeat 50% 50% / 0.1875rem 100%;
    width: 1.25rem;
    height: 1.25rem;
    display: block;
    content: "";
}

.support-card a:hover b {
    visibility: visible;
    opacity: 1;
}
.support-card a:hover .text-wrap {
    transform:translateY(0);
}
.main-support-prev,.main-support-next {
    position: absolute;
    z-index: 3;
    top: 50%;
    width: 2.5rem;
    height: 5rem;
    color: #fff;
    background: rgba(0,0,0,.65);
    transform: translateY(-50%);
    font-size: 2.5rem;
}

.main-support-prev {
    left: 0;
    border-radius: 0 0.75rem 0.75rem 0;
}

.main-support-next {
    right: 0;
    border-radius: 0.75rem 0 0 0.75rem;
}

.main-support-prev::after,.main-support-next::after {
    width: 0.75rem;
    height: 1.25rem;
    background-repeat: no-repeat;
    background-position: center center;
    display: block;
    content: "";
}

.main-support-prev::after {
    background-image: url(../images/main/icn_slider_prev.svg)
}

.main-support-next::after {
    background-image: url(../images/main/icn_slider_next.svg)
}

/* service banner */
.main-quick-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3.75rem;
}

.main-quick-head h3,.main-location h3,.main-company h3,.main-news h3 {
    font-size: var(--fz-display-md);
    line-height: 1.25;
    letter-spacing: -.045em;
    font-weight: 900;
}

.main-quick-head [role=tablist] {
    display: flex;
    gap: 1.75rem;
}

.main-quick-head [role=tab] {
    padding: 0 0 0.4375rem;
    border: 0;
    border-bottom: 0.125rem solid transparent;
    background: none;
    color: var(--brand-gray-700);
    font-size: var(--fz-hd-md);
    font-weight: 800;
}

.main-quick-head [role=tab][aria-selected=true] {
    color: #111;
    border-color: #111;
}

.main-quick-content {
    position: relative;
    padding: 4.25rem 0 3.875rem;
    color: #fff;
    background: url(../images/main/bg_quick.jpg) no-repeat center top / cover;
}

.main-quick .inner,.main-company .inner {
    position: relative;
    z-index: 1;
}

.main-quick ul {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 1.75rem;
}

.main-quick a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    color: #fff;
    font-size: var(--fz-body-xl);
    font-weight: 800;
    text-align: center;
}

.main-quick a:hover {
    transform: translateY(-0.4375rem);
    color: #65eaff;
}

.main-quick span {
    display: grid;
    place-items: center;
    width: 7.3125rem;
    height: 7.3125rem;
    border-radius: 50%;
    background: rgba(83,148,215,.24);
    font-size: 3rem;
}

.main-quick span img {
    width: 3.625rem;
    height: 3.625rem;
    object-fit: contain;
}
.main-location h3 {
    margin: 0 0 4.375rem;
}

.location-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(30rem, 0.8fr)
        minmax(0, 1fr);
    gap: 3.75rem;
    align-items: center;
}
.location-guide h4,.location-info h4 {
    margin: 0 0 1rem;
    font-size: var(--fz-hd-lg);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap:0.625rem;
}
.location-guide p {
    margin: 0 0 4.125rem;
    color: #888;
    line-height: 1.55;
    font-size: var(--fz-body-rg);
}

.location-tabs {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.125rem;
}

.location-tabs button {
    border: 0;
    border-bottom: 0.125rem solid transparent;
    background: none;
    color: #999;
    font-size: var(--fz-hd-md);
    font-weight: 800;
    padding: 0;
}

.location-tabs button[aria-selected=true] {
    color: #081d82;
    border-color: #081d82;
    font-weight: 800;
}

.location-guide form {
    display: flex;
    margin-bottom: 3rem;
    padding: 0.25rem 1.25rem 0.25rem 1.25rem;
    border-radius: 0.75rem;
    background: #fff;
    border: 1px solid #d6e3ee;
    height: 5.25rem;
    gap:0.75rem;
    transition: border-color .2s, box-shadow .2s;
}

/* 입력칸 자체 포커스 외곽선은 박스 안쪽에 어긋나 보이므로 감싼 박스 테두리로 포커스를 표시 */
.location-guide form:focus-within {
    border-color: #0874c5;
    box-shadow: 0 0 0 0.125rem rgba(8, 116, 197, .2);
}

.location-guide input:focus-visible {
    outline: 0;
}

.location-guide input {
    min-width: 0;
    flex: 1;
    border: 0;
    background: none;
    font-size: var(--fz-body-xl);
    font-weight: 700
}
.location-guide form button {
    border: 0;
    background: none;
    font-weight: 800;
    font-size: var(--fz-body-xl);
}

/* 허용업종 검색 : 업종 대분류 선택 + 업종코드(KSIC) 입력을 한 칸에서 받는 콤보박스
   (목록은 main-location.js 가 그린다. 업종코드 목록은 검색칸을 처음 쓸 때 받아 온다) */
.location-guide form.industry-combo {
    position: relative;
    align-items: center;
}

.industry-combo-toggle {
    flex: 0 0 auto;
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
    cursor: pointer;
}

/* 닫힘 ∨ / 열림 ∧ */
.industry-combo-toggle::before {
    content: "";
    display: block;
    width: 0.5rem;
    height: 0.5rem;
    margin: 0 auto;
    border-right: 0.125rem solid #666;
    border-bottom: 0.125rem solid #666;
    transform: translateY(-0.125rem) rotate(45deg);
}

.industry-combo [role=combobox][aria-expanded=true] ~ .industry-combo-toggle::before {
    transform: translateY(0.0625rem) rotate(-135deg);
}

.industry-combo-list {
    position: absolute;
    z-index: 20;
    top: calc(100% + 0.375rem);
    left: 0;
    right: 0;
    max-height: 21rem;
    margin: 0;
    padding: 0.375rem 0;
    overflow-y: auto;
    list-style: none;
    background: #fff;
    border: 1px solid #d6e3ee;
    border-radius: 0.75rem;
    box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, .12);
}

.industry-combo-group {
    padding: 0.5rem 1.25rem 0.25rem;
    color: #888;
    font-size: var(--fz-body-sm);
    font-weight: 800;
}

.industry-combo-group + .industry-combo-group,
.industry-combo-item + .industry-combo-group {
    margin-top: 0.25rem;
    border-top: 1px solid #eef2f6;
    padding-top: 0.625rem;
}

.industry-combo-item {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    cursor: pointer;
    font-size: var(--fz-body-rg);
    font-weight: 700;
    color: #222;
}

.industry-combo-item:hover,
.industry-combo-item.is-active {
    background: #eef5fb;
}

.industry-combo-code {
    flex: 0 0 auto;
    min-width: 2.75rem;
    color: #0874c5;
    font-weight: 800;
}

.industry-combo-name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.industry-combo-meta {
    flex: 0 0 auto;
    color: #888;
    font-size: var(--fz-body-sm);
    font-weight: 600;
}

.industry-combo-empty {
    padding: 0.5rem 1.25rem;
    color: #888;
    font-size: var(--fz-body-rg);
}

.location-links,.location-actions {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 1rem;
}

.location-links a,.location-actions a {
    padding: 1.0625rem;
    color: #fff;
    background: #078bcd;
    border-radius: 0.625rem;
    text-align: center;
    font-weight: 800;
    font-size: var(--fz-body-xl);
}
.location-actions a  {
    font-size:var(--fz-body-rg);
}
.location-links a:hover,.location-actions a:hover {
    transform: translateY(-0.1875rem);
    box-shadow: 0 0.5rem 1.125rem rgba(0,80,150,.2)
}

.main-location .map {
    height: 35rem;
    overflow: hidden;
    border-radius: 1.75rem;
    background: #f0f8fc;
    position: relative;
}
.main-location .map::after ,
.main-location .map::before {
    position: absolute;
    display:block;
    content:"";
    z-index: 1;

}
.main-location .map::before {
    top:0;
    left:-0.0625rem;
    background:url(../images/main/bg_map_round1.svg) no-repeat center center / contain;
    height:11rem;
    width:4.8125rem;
}
.main-location .map::after {
    background:url(../images/main/bg_map_round2.svg) no-repeat center center / contain;
    right:0;
    bottom:-0.0625rem;
    width:11rem;
    height:4.8125rem;
}
.location-type-wrap {
    container-type: inline-size;
    margin-bottom: 1.5rem;
    min-width: 0;
}
.location-type {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding: 1.25rem;
    min-width: 0;
}
/* Original pill treatment with the current fully visible two-column layout. */
.location-type button {
    min-width: 0;
    min-height: 3.25rem;
    padding: .75rem .875rem;
    border: 1px solid transparent;
    border-radius: 2.5rem;
    background: #fff;
    color: #526174;
    font-weight: 800;
    font-size: 1rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
    box-shadow: 0 .125rem .625rem rgba(0, 0, 0, .1);
}
@container (max-width: 14rem) {
    .location-type { grid-template-columns: minmax(0, 1fr); }
}
.location-type button:hover {
    border-color: #078bcd;
    color: #005b90;
    background: #f1f8fd;
}
.location-type button[aria-pressed="true"] {
    border-color: #0074b3;
    color: #fff;
    background: #0074b3;
}
.main-page .location-type button:focus-visible {
    outline: .125rem solid #0874c5;
    outline-offset: .125rem;
}

.location-info dl {
    margin: 0 0 3.75rem;
}

.location-info dl div {
    display: grid;
    grid-template-columns: 3rem 1fr;
    margin: 0.875rem 0;
    font-size: var(--fz-body-rg);
}

.location-info dt {
    font-weight: 800
}

.location-info dd {
    margin: 0
}

.main-more {
    display: inline-flex;
    gap:0.625rem;
    align-items: center;
    color: inherit;
    font-weight: 800;
    font-size: var(--fz-body-rg);
    position: relative;
}
.main-more::after {
    background: linear-gradient(#111 0 0) no-repeat 50% 50% / 100% 0.1875rem, linear-gradient(#111 0 0) no-repeat 50% 50% / 0.1875rem 100%;
    width: 1.25rem;
    height: 1.25rem;
    display: block;
    content: "";
}
.main-more:hover {
    transform: translateX(0.3125rem)
}

.location-actions {
    grid-template-columns: repeat(3,1fr);
    margin-top: 2rem
}

.location-actions a {
    background: #fff;
    color: #005b90;
    border: 1px solid #c5ddec;
}

.main-company {
    position: relative;
    padding:6.25rem 0;
    color: #fff;
    background: linear-gradient(180deg, #011040 1.92%, #002E71 66.83%, #017085 100%);
    border-radius: 12.5rem 12.5rem 0 0;
    z-index:0;
}
.main-company::after,
.main-company::before{
    content:"";
    display:block;
    position: absolute;
    z-index:-1;
}

.main-company::before {
    width:49.8125rem;
    height:22.0625rem;
    top:0;
    left:0;
    background: url("../images/main/bg_company1.png") no-repeat center center / cover;
}
.main-company::after {
    width:49.8125rem;
    height:23.5rem;
    bottom:0;
    right:0;
    background: url("../images/main/bg_company2.png") no-repeat center center / cover;
}

.main-company h3 {
    margin: 0 0 4.5rem;
}

.main-company h3 em {
    color: #B1D4FF;
    font-style: normal;
}
.main-company .main-more::after {
    background: linear-gradient(#fff 0 0) no-repeat 50% 50% / 100% 0.1875rem, linear-gradient(#fff 0 0) no-repeat 50% 50% / 0.1875rem 100%;

}
.company-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 5rem
}
.company-promo {
    display:flex;
    gap:3.75rem;
    flex-direction: column;
}

.company-intro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding:3.75rem 0;
    border-bottom: 0.1875rem solid rgba(255,255,255,.2);
}

.company-intro h4 {
    margin: 0;
    font-size: var(--fz-hd-lg);
    font-weight: 800;
}

.company-promo a.item {
    display: grid;
    grid-template-columns: 18.75rem 1fr;
    gap: 1.875rem;
    align-items: center;
}
.company-promo a.item .thumb {
    width: 100%;
    max-height: 12.5rem;
    overflow: hidden;
    border-radius: 0.75rem;
    position: relative;
    z-index: 0;
}
.company-promo a.item .thumb::before,
.company-promo a.item .thumb::after {
    content:"";
    display:block;
    position: absolute;
    top:50%;
    left:50%;
    z-index: 1;
    transform: translate(-50%, -50%);
}
.company-promo a.item .thumb::before {

    width:3.75rem;
    height:3.75rem;
    position: absolute;
    background:rgba(0, 0, 0, 0.8);
    border-radius: 100%;

}
.company-promo a.item .thumb::after {

    background: linear-gradient(#fff 0 0) no-repeat 50% 50% / 100% 0.1875rem, linear-gradient(#fff 0 0) no-repeat 50% 50% / 0.1875rem 100%;
    width: 1.25rem;
    height: 1.25rem;
}
.company-promo a.item .thumb img {


    filter: brightness(.80);
    transition: transform .6s ease, filter .35s ease;

}
.company-promo a.item:hover img {
    transform: scale(1.045);
    filter: brightness(.72);
}
/* 썸네일 없음: 등록 이미지가 없거나 로드 실패(onerror) 시 .is-noimage 로 전환 */
.company-promo a.item .thumb.is-noimage {
    aspect-ratio: 3 / 2;
    background: rgba(255, 255, 255, .08);
    border: 0.0625rem dashed rgba(255, 255, 255, .35);
}
.company-promo a.item .thumb.is-noimage::before,
.company-promo a.item .thumb.is-noimage::after {
    display: none;
}
.company-promo a.item .thumb-noimage {
    display: none;
}
.company-promo a.item .thumb.is-noimage .thumb-noimage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    width: 100%;
    height: 100%;
    color: rgba(255, 255, 255, .75);
    font-size: var(--fz-body-sm);
    font-weight: 700;
    letter-spacing: -0.02em;
}
/* 공통 .no-data 아이콘(icn_nodata.png)을 축소해 재사용 */
.company-promo a.item .thumb-noimage i {
    display: block;
    width: 3rem;
    height: 3rem;
    border-radius: 100%;
    background: rgba(255, 255, 255, .92) url(../images/common/icn_nodata.png) no-repeat 57% 50% / 1.375rem;
}
.company-promo h5 {
    margin: 0.75rem 0;
    font-size: var(--fz-hd-md);
    color: #fff;
    font-weight:800;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-wrap: normal;
    overflow: hidden;
    width:100%;
}

.company-promo p {
    margin: 0;
    color: #fff;
    font-size:var(--fz-body-rg);
    text-overflow: ellipsis;
    white-space: nowrap;
    word-wrap: normal;
    overflow: hidden;
    width:100%;
}

.company-promo .badge {
    padding: 0.75rem 0.75rem;
    height:2.75rem;
    border: 0.1875rem solid #fff;
    border-radius: 0.5rem;
    font-size:var(--fz-body-rg);
    color: #fff;
    font-weight:800;
}

.job-panel {
    min-width: 0;
    max-width: 100%;
    padding: 2.875rem 3.375rem;
    border-radius: 1.75rem;
    background: #00153F;
    position: relative;
}

.job-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.375rem
}

.job-panel h4 {
    margin: 0;
    font-size: var(--fz-hd-lg);
    font-weight: 800;
}

.job-panel-head>strong {
    color: #00c8ff;
    font-size: var(--fz-display-xlg);
    font-weight: 800;
}
.job-panel .main-job-slider {
    position: relative;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: 32.5rem;
    overflow: hidden;
}
.job-panel .main-job-slider .swiper-wrapper {
    min-width: 0;
    align-items: stretch;
}
.job-panel .main-job-slider.swiper-grid-column > .swiper-wrapper {
    flex-flow: column wrap;
}
.job-panel .main-job-slider .job-card {
    height: calc((100% - 1.5rem) / 2);
}
.job-panel .job-card  a{
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
    height: 100%;
    padding: 1.875rem;
    color: #fff;
    border-radius: 1.125rem;
    background: rgba(255, 255, 255, 0.1);
}
.job-panel .main-job-prev,
.job-panel .main-job-next {
    position: absolute;
    top: calc(50% + 3.75rem);
    z-index: 5;
    width: 2.625rem;
    height: 4.5rem;
    border: 0;
    background: rgba(0, 0, 0, .45);
    transform: translateY(-50%);
}
.job-panel .main-job-prev { left: 0; border-radius: 0 0.625rem 0.625rem 0; }
.job-panel .main-job-next { right: 0; border-radius: 0.625rem 0 0 0.625rem; }
.job-panel .main-job-prev::before,
.job-panel .main-job-next::before {
    display: block;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
}
.job-panel .main-job-prev::before { content: '‹'; }
.job-panel .main-job-next::before { content: '›'; }
.job-panel .main-job-prev.swiper-button-disabled,
.job-panel .main-job-next.swiper-button-disabled { opacity: .35; cursor: default; }

.job-panel .job-card a:hover {
    transform: translateY(-0.25rem);
    background: #294676
}

.job-panel .job-card a strong {
    font-size: var(--fz-hd-md);
    text-overflow: ellipsis;
    white-space: nowrap;
    word-wrap: normal;
    overflow: hidden;
    width:100%;

}
.job-panel .job-card a .badge {
    padding: 0.25rem 0.75rem;
    border: 0.1875rem solid #72C9FF;
    border-radius: 0.5rem;
    height: 2.75rem;
    display: inline-block;
    color:#72C9FF;
    font-size: var(--fz-body-rg);
    font-weight: 800;
}
.job-panel .job-card a .badge.day {
    margin-left: 0.625rem;
    color: #FAC426;
    border-color:#FAC426;

}
.job-panel .job-card a .tag {
    display: flex;
    margin-top: auto;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}
.job-panel .job-card a small {
    color: #ccc;
    font-weight: 700;
    font-size: var(--fz-body-sm);
    text-overflow: ellipsis;
    white-space: nowrap;
    word-wrap: normal;
    overflow: hidden;
    min-width: 100px;
}
.job-panel>a:hover>strong {
    text-decoration: underline
}
.main-news {
    padding-bottom: 5rem;
}

.main-news>.main-inner {
    display: grid;
    grid-template-columns: 24.375rem 1fr;
    gap: 5rem
}

.news-side h3 {
    margin: 0 0 3.75rem
}
.main-news  [role="tabpanel"] {  padding:0;}
.news-side [role=tablist] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.125rem
}
.main-news  .no-data {
    border:1px solid var(--brd-color);
    border-radius:var(--radius-md);
    height:100%;
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.news-side button {
    padding: 0;
    border: 0;
    background: none;
    color: #999;
    font-size: var(--fz-hd-md);
    font-weight: 800
}

.news-side button[aria-selected=true] {
    color: var(--brand-primary);
    text-decoration: underline;
    font-weight: 800;
}

.news-list a {
    display: grid;
    grid-template-columns: 6.25rem 1fr;
    gap: 2rem;
    padding: 3.75rem 0;
    color: #111;
    border-bottom: 1px solid var(--brd-color);
    align-items: center;
}
.news-list a:first-child {
    padding-top:0;
}
.news-list a:last-child {
    border-bottom:0;
    padding-bottom:0;
}
.news-list a:hover {
    transform: translateX(0.375rem);
    color: var(--brand-primary);
}

.news-list .date {
    display: flex;
    flex-direction: column;
    color: #999;
    font-size: var(--fz-body-rg);
    text-align: center;
    align-items: center;
}

.news-list .date strong {
    font-size: var(--fz-display-lg);
    line-height: 1;

}

.news-list span {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 0;
}

.news-list small {
    color: var(--brand-primary);
    font-weight: 800;
    font-size: var(--fz-body-lg);
}

.news-list span strong {
    font-size: var(--fz-hd-md);
    text-overflow: ellipsis;
    white-space: nowrap;
    word-wrap: normal;
    overflow: hidden;
    width:100%;
}

@media (max-width: 64em) {
    .main-page .main-inner {
        width:min(100% - 3rem,100rem)
    }

    .main-hero-head {
        grid-template-columns: 1fr;
        gap: 2.1875rem
    }

    .main-quick ul {
        grid-template-columns: repeat(3,1fr)
    }

    .location-grid {
        grid-template-columns: 1fr 1fr
    }

    .location-guide {
        grid-row: 1/3
    }

    .location-info {
        grid-column: 2
    }

    .company-grid {
        grid-template-columns: 1fr
    }

    .main-news>.main-inner {
        grid-template-columns: 15rem 1fr
    }
}

@media (max-width: 47.9375em) {
    .main-page .main-inner {
        width:calc(100% - 1.875rem)
    }

    .main-hero {
        padding: 2.8125rem 0 1.875rem
    }

    .main-hero h2 {
    }

    .main-search {
        grid-template-columns: minmax(0, 1fr) 5.75rem;
        gap: 0.375rem
    }

    .main-search button {
        height: 2.875rem
    }

    .support-card .text-wrap {
    }

    .support-card .support-card-apply {
    }

    .support-card strong {

    }

    .main-quick-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 1.75rem;
        margin-top: 2.875rem
    }

    .main-quick-head h3,.main-location h3,.main-company h3,.main-news h3 {
        font-size: 2.125rem
    }

    .main-quick-head [role=tablist] {
        gap: 1.375rem
    }

    .main-quick {
        padding: 2.625rem 0
    }

    .main-quick ul {
        grid-template-columns: repeat(2,1fr);
        gap: 1.875rem 0.625rem
    }

    .main-quick span {
        width: 4.875rem;
        height: 4.875rem;
        font-size: 2.1875rem
    }

    .main-location {
        padding: 3.75rem 0
    }

    .main-location h3 {
        margin-bottom: 2.5rem
    }

    .location-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem
    }

    .location-guide {
        grid-row: auto
    }

    .location-map {
        height: 22.5rem
    }

    .location-info {
        grid-column: auto
    }

    .main-company {
        padding: 3.75rem 0 4.375rem;
        border-radius: 3.625rem 3.625rem 0 0
    }

    .main-company h3 {
        margin-bottom: 2.5rem
    }

    .company-promo article {
        grid-template-columns: 7.5rem 1fr;
        gap: 1.125rem
    }

    .company-promo article img {
        height: 7.5rem
    }

    .company-promo p {
        display: none
    }

    .job-panel {
        padding: 1.75rem 1.125rem
    }

    .job-panel-head>strong {
        font-size: 3rem
    }

    .job-panel .main-job-slider {
        height: 24.375rem;
    }

    .main-news {
    }

    .main-news>.main-inner {
        grid-template-columns: 1fr;
        gap: 2rem
    }

    .news-side [role=tablist] {
        flex-direction: row;
        flex-wrap: wrap
    }

    .news-list a {
        grid-template-columns: 4.375rem 1fr;
        gap: 1rem
    }

    .news-list time strong {
        font-size: 2.25rem
    }

    .news-list span strong {
        font-size: 1.125rem
    }
}

@media (max-width: 24.375em) {
    .main-hero h2 {
    }

    .main-search {
        grid-template-columns: minmax(0, 1fr)
    }

    .main-search button[type=submit] {
        grid-column: 1/-1
    }

    .main-quick-head h3,.main-location h3,.main-company h3,.main-news h3 {
        font-size: 1.8125rem
    }

    .location-links {
        grid-template-columns: 1fr
    }

    .company-intro {
        align-items: flex-start;
        flex-direction: column;
        gap: 1.25rem
    }

    .company-promo article {
        grid-template-columns: 5.9375rem 1fr
    }

    .job-panel h4 {
        font-size: 1.5rem
    }

    .job-panel>a {
        padding: 1.25rem 0.9375rem
    }

    .news-list a {
        grid-template-columns: 1fr
    }

    .news-list time {
        flex-direction: row;
        gap: 0.5rem;
        align-items: baseline
    }
}

/* =========================================================
   Main responsive refinement
   Typography follows css/base.css variables.
   ========================================================= */


@media screen and (max-width: 100em) {
    .main-company {
        border-radius:6.25rem 6.25rem 0 0;
    }

}

@media screen and (max-width: 80em) {
    .main-page #contents { gap: 4rem; }

    .main-page .main-inner,
    .main-page .inner {
        width: calc(100% - 4rem);
        max-width: 100rem;
    }

    .main-hero-head { gap: 3.5rem; }

    .location-grid {
        grid-template-columns: minmax(0, 1fr) minmax(22.5rem, .9fr) minmax(0, 1fr);
        gap: 2rem;
    }

    .company-grid { gap: 3rem; }
    .company-promo { gap: 2.75rem; }
    .main-news > .main-inner { grid-template-columns: 17.5rem minmax(0, 1fr); gap: 3rem; }
}

@media screen and (max-width: 64em) {
    .main-page #contents { gap: 3.75rem; }

    .main-page .main-inner,
    .main-page .inner {
        width: calc(100% - 3rem);
    }

    .main-hero {padding: 3.5rem 0 1.5rem;}
    .main-hero h2 span { padding-right:4.375rem}
    .main-hero h2 span::after {width: 3.75rem;height: 3.125rem;}
    .main-hero-head { gap: 2rem; margin-bottom: 2.5rem; }

    .main-quick-head { gap: 1.75rem; margin-bottom: 2.5rem; }
    .main-quick-head [role=tablist] {
        min-width: 0;
        gap: 1.25rem;
        overflow-x: auto;
        padding-bottom: 0.25rem;
        scrollbar-width: none;
    }
    .main-quick-head [role=tablist]::-webkit-scrollbar { display: none; }
    .main-quick-head [role=tab] { flex: 0 0 auto; }
    .main-quick-content { padding: 3.25rem 0; }
    .main-quick ul { gap: 1.5rem 1rem; }
    .main-quick span { width: 6rem; height: 6rem; }

    .main-location h3 { margin-bottom: 3rem; }
    .location-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.5rem 2rem;
        align-items: start;
    }
    .location-guide { grid-row: auto; }
    .main-location .map {height: 30rem;}
    .location-info { grid-column: 1 / -1; }
    .location-info dl { margin-bottom: 2.25rem; }
    .location-guide h4,
    .location-info h4 { margin-bottom: 2rem; }

    .main-company {
        padding: 4.5rem 0 5rem;
        border-radius: 6.25rem 6.25rem 0 0;
    }
    .main-company h3 { margin-bottom: 3rem; }
    .company-grid { grid-template-columns: minmax(0, 1fr); gap: 3.5rem; }
    .company-promo { gap: 2rem; }
    .company-intro { padding: 2.25rem 0; }
    .job-panel { width: 100%; }

    .main-news {padding-bottom: 3.75rem;}
    .main-news > .main-inner {grid-template-columns: 11.25rem minmax(0, 1fr);gap: 2.5rem;}
    .news-list a {padding: 2rem 0;}
    .news-list span { gap:0;}
}

@media screen and (max-width: 47.9375em) {
    .main-page #contents { gap: 3rem; }

    .main-page .main-inner,
    .main-page .inner {
        width: calc(100% - 1.875rem);
    }

    .main-hero { padding: 2.5rem 0 1rem; }
    .main-hero-head { gap: 0; margin-bottom: 1.875rem; }
    .main-hero h2 { font-size: clamp(1.75rem, 6.5vw, 2.125rem); }
    .main-hero h2 span {
        padding-right: 3.625rem;
    }
    .main-hero h2 span::after { width: 3.25rem; height: 3rem; background-size: contain; }

    /* Mobile hero leads directly from the heading to the support cards. */
    .main-search { display: none; }
    .support-card .text-wrap {}
    .support-card strong { }
    .support-card span.right-badge { width: 4rem; height: 4rem; padding: 0.625rem; border-radius: 0 1.5rem; }
    .main-support-prev,
    .main-support-next { width: 2.25rem; height: 4rem; }

    .main-quick-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 1.25rem;
        margin: 0 auto 1.75rem;
    }
    .main-quick-head h3,
    .main-location h3,
    .main-company h3,
    .main-news h3 { font-size: var(--fz-display-md); }
    .main-quick-head [role=tablist] { width: 100%; gap: 1.125rem; }
    .main-quick-content { padding: 2.375rem 0; }
    .main-quick ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem .625rem; }
    .main-quick a {
        min-width: 0;
        gap: .625rem;
        font-size: 1.125rem;
        line-height: 1.5;
        text-align: center;
        word-break: keep-all;
        overflow-wrap: anywhere;
    }
    .main-quick span { width: min(4rem, 100%); height: auto; aspect-ratio: 1; }
    .main-quick span img { width: 2.25rem; height: 2.25rem; max-width: 100%; object-fit: contain; }

    .main-location { padding: 0; }
    .main-location h3 { margin-bottom: 2rem; }
    .location-grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
    .location-guide,
    .location-info { grid-column: auto; min-width: 0; }
    .location-guide h4,
    .location-info h4 { margin-bottom: 1.5rem; }
    .location-guide p { margin-bottom: 1.5rem; }
    .location-tabs { gap: 1.125rem; overflow-x: auto; }
    .location-tabs button { flex: 0 0 auto; }
    .location-guide form { height: 4rem; margin-bottom: 2.25rem; padding: 0.25rem 0.875rem; }
    .main-location .map { height: 20rem; border-radius: 1.25rem; }
    .main-location .map::before { width: 3.125rem; height: 7.1875rem; }
    .main-location .map::after { width: 7.1875rem; height: 3.125rem; }
    .location-info dl { margin-bottom: 1.75rem; }
    .location-actions { margin-top: 1.5rem; gap: 0.5rem; }
    .location-actions a { padding: 0.875rem 0.5rem; }

    .main-company {
        padding: 3.5rem 0 4rem;
        border-radius: 3.25rem 3.25rem 0 0;
    }
    .main-company::before,
    .main-company::after { width: 70%; height: 15rem; background-size: contain; }
    .main-company h3 { margin-bottom: 2rem; }
    .company-grid { gap: 2.5rem; }
    .company-promo { gap: 1.5rem; }
    .company-intro {
        align-items: flex-start;
        flex-direction: column;
        gap: 1.125rem;
        padding: 1.5rem 0;
    }
    .company-promo a.item {
        grid-template-columns: 7rem minmax(0, 1fr);
        gap: 1.125rem;
    }
    .company-promo a.item .thumb { height: 7rem; }
    .company-promo a.item .thumb::before { width: 2.875rem; height: 2.875rem; }
    .company-promo p { display: block; }
    .company-promo .badge { height: auto; padding: 0.375rem 0.5rem; border-width: 0.125rem; }
    .company-promo h5 { margin: 0.5rem 0; font-size: var(--fz-hd-md); }

    .job-panel { padding: 1.625rem 1.125rem; border-radius: 1.25rem; }
    .job-panel-head { margin-bottom: 1.5rem; }
    .job-panel h4 { font-size: var(--fz-hd-lg); }
    .job-panel-head > strong { font-size: var(--fz-display-xlg); }
    .job-panel .main-job-slider { height: 22.5rem; }
    .job-panel .job-card a { gap: 0.75rem; padding: 1.25rem 1.125rem; }
    .job-panel .job-card a strong { font-size: var(--fz-hd-md); }
    .job-panel .job-card a .badge { height: auto; padding: 0.25rem 0.5rem; border-width: 0.125rem; }
    .job-panel .main-job-prev,
    .job-panel .main-job-next { width: 2.125rem; height: 3.625rem; }

    .main-news {}
    .main-news > .main-inner { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
    .news-side h3 { margin-bottom: 1.5rem; }
    .news-side [role=tablist] {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 1.125rem;
        overflow-x: auto;
        padding-bottom: 0.375rem;
    }
    .news-side button { flex: 0 0 auto; }
    .news-list a { grid-template-columns: 4rem minmax(0, 1fr); gap: 1rem; padding: 1.625rem 0; }
    .news-list .date strong { font-size: var(--fz-display-lg); }
    .news-list span strong { font-size: var(--fz-hd-md); }
}

@media screen and (max-width: 30em) {
    .main-page #contents { gap: 2.5rem; }
    .main-hero { padding-top: 2rem; }

    .main-quick-head h3,
    .main-location h3,
    .main-company h3,
    .main-news h3 { font-size: var(--fz-display-md); }

    .location-links { grid-template-columns: minmax(0, 1fr); gap: 0.625rem; }
    .location-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .location-info dl div { grid-template-columns: 2.625rem minmax(0, 1fr); }

    .company-promo a.item { grid-template-columns: 6rem minmax(0, 1fr); gap: 0.875rem; }
    .company-promo a.item .thumb { height: 6rem; }
    .company-promo p { display: none; }

    .job-panel .job-card a small { line-height: 1.45; }
    .news-list a { grid-template-columns: minmax(0, 1fr); gap: 0.625rem; }
    .news-list .date { flex-direction: row; align-items: baseline; gap: 0.5rem; }
}

@media screen and (max-width: 22.5em) {
    .main-page .main-inner,
    .main-page .inner { width: calc(100% - 1.5rem); }
    .main-quick ul { gap-inline: 0.5rem; }
    .location-actions { grid-template-columns: minmax(0, 1fr); }
    .company-promo a.item { grid-template-columns: 5.25rem minmax(0, 1fr); }
    .company-promo a.item .thumb { height: 5.25rem; }
    .job-panel { padding-inline: 0.875rem; }
}

/* 사업단지현황 지도 (main-location.js) : OpenLayers 레이어를 자체 스택에 가둬 모서리 장식(::before/::after, z-index 1) 아래에 둔다 */
.main-location .main-map-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.main-location .main-map-canvas img { max-width: none; }
.main-location .main-map-canvas .olControlAttribution {
    position: absolute;
    right: 0.75rem;
    bottom: 0.5rem;
    font-size: 0.6875rem;
    color: #555;
}

/* Desktop chip choices and mobile select share the same selected complex. */
.location-complex-list {
    display: none;
    gap: .5rem;
    min-width: 0;
    margin: 0 0 1.75rem;
}
.location-complex-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    min-width: 0;
    margin-bottom: 1.75rem;
    color: #526174;
    font-size: .9375rem;
}
.location-complex-buttons button {
    max-width: 100%;
    min-height: 2.75rem;
    padding: .5rem .875rem;
    border: 1px solid #d6e3ee;
    border-radius: 2rem;
    background: #fff;
    color: #444;
    font-size: .9375rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.location-complex-buttons button:hover { border-color: #526174; }
.location-complex-buttons button[aria-pressed="true"] {
    border-color: #171717;
    background: #171717;
    color: #fff;
}
@media screen and (max-width: 47.9375em) {
    .location-complex-buttons { display: none; }
    .location-complex-list { display: grid; }
}
.location-complex-list label {
    color: #40566b;
    font-size: .9375rem;
    font-weight: 600;
}
.location-complex-list .form-select {
    min-width: 0;
    width: 100%;
    min-height: 3rem;
    height: auto;
    padding: .75rem 2.5rem .75rem .875rem;
    border: 1px solid #c5ddec;
    border-radius: .625rem;
    background-color: #fff;
    background-size: 1.375rem;
    background-position: right .75rem center;
    color: #263b50;
    font-size: 1rem;
    line-height: 1.5;
    text-overflow: ellipsis;
}
.location-info #mainComplexName {
    display: block;
    margin-bottom: 1.25rem;
    overflow-wrap: anywhere;
}
.location-more {
    display: flex;
    justify-content: flex-end;
    margin-top: .875rem;
}
.location-more .main-more {
    min-height: 2.75rem;
    color: #40566b;
    font-size: .9375rem;
    font-weight: 600;
}


/* 사업단지현황 지도 확대/축소 버튼 (우상단 모서리 장식을 피해 좌하단 배치) */
.main-location .main-map-zoom {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 0.625rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, .15);
}
.main-location .main-map-zoom button {
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    background: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    color: #333;
}
.main-location .main-map-zoom button + button { border-top: 1px solid #e5e5e5; }

/* 단지 정보 라벨에 세 글자('시행자')가 들어가도록 라벨 칸 확장 (기본 3rem 은 두 글자 기준) */
.location-info dl div {
    grid-template-columns: 3.75rem minmax(0, 1fr);
    column-gap: 0.5rem;
}

/* main.jsp */
.move-in-guide-list { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.move-in-guide-list a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.125rem 1.25rem; border: 1px solid var(--brand-gray-300, #ddd); border-radius: 1rem; }
.move-in-guide-list a:hover, .move-in-guide-list a:focus-visible { border-color: var(--brand-primary, #0a6fb6); }
.move-in-guide-list strong { display: block; font-size: 1.125rem; font-weight: 800; }
.move-in-guide-list small { display: block; margin-top: .25rem; color: var(--brand-gray-600, #777); }
.move-in-guide-list i { flex: none; font-style: normal; font-weight: 800; color: var(--brand-primary, #0a6fb6); }

@media (max-width: 47.9375em) {
    .main-location .location-tabs,
    .news-side [role=tablist] { flex-wrap: wrap; overflow: visible; }
}

/* Reflow the location panel according to its usable width, including text zoom. */
.main-location > .main-inner { container-type: inline-size; }
@container (max-width: 65rem) {
    .location-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .location-info { grid-column: 1 / -1; min-width: 0; }
}
@container (max-width: 40rem) {
    .location-grid { grid-template-columns: minmax(0, 1fr); }
    .location-guide, .location-info { grid-column: auto; }
}


/* 슬라이드 폭은 Swiper의 화면별 slidesPerView로 계산합니다.
   wrapper의 교차축 늘림을 해제해 모든 화면에서 1:1 비율을 유지합니다. */
.main-support-slider {
    min-width: 0;
    margin-inline: 0;
    padding-inline: 0;
}
.main-support-slider .swiper-wrapper {
    height: auto;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0;
    gap: 0;
}
.main-support-slider .support-card,
.main-support-slider .support-card:nth-child(n) {
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
    align-self: flex-start;
    flex-shrink: 0;
    margin-left: 0;
}
.main-support-slider .support-card > a:first-child {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.main-support-slider .support-card span.right-badgemg {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform-origin: center center;
}
/* 팝업관리 레이어 팝업 (site/kr/com/popup/popupList.jsp, popup-launcher.js 가 연다)
   「유형별 맞춤 서비스 찾기」 레이어(layout.css .service-finder-*) 와 같은 모양으로 맞춘다.
   - 헤더: 그라데이션 띠 + 흰 제목, 닫기(X) 는 헤더 위에 겹친다
   - 본문: 여백 0 (팝업 이미지가 모달 폭을 그대로 채우도록)
   - 하단: 어두운 바 안에 「오늘 하루…」·「닫기」, 팝업이 2개 이상이면 좌측에 이동 버튼 */
.site-popup-modal .site-popup-inner {
    /* 이미지 원본 폭에 맞춰 줄어들게 해서 좌우 빈 공간을 없앤다 */
    width: fit-content;
    min-width: min(20rem, 100%);
    max-width: min(60rem, calc(100% - 3rem));
    max-height: 92vh;
    padding: 0;
    gap: 0;
    border-radius: 1.5rem;
    box-shadow: 0 1.5rem 4.375rem rgba(0, 21, 63, .28);
}
.site-popup-modal .site-popup-header {
    position: relative;
    padding: 1.5rem 4rem 1.5rem 2rem;
    color: #fff;
    background: linear-gradient(120deg, var(--brand-blue), var(--brand-primary) 72%, var(--brand-green));
}
.site-popup-modal .site-popup-header h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.25rem, 2.2vw, 1.75rem);
    line-height: 1.3;
    word-break: keep-all;
}
.site-popup-inner > .close-modal.site-popup-x {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    z-index: 1;
    color: #fff;
    font-size: 1.75rem;
    line-height: 1;
    background: none;
    cursor: pointer;
}
.site-popup-modal .site-popup-content {
    padding: 0;
    border: 0;
    border-radius: 0;
}
.site-popup-modal .site-popup-items {
    padding-right: 0;
    margin-right: 0;
}
.site-popup-modal .site-popup-item[hidden] {
    display: none;
}
.site-popup-modal .site-popup-item img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}
/* html 팝업은 이미지와 달리 여백이 필요하다 */
.site-popup-modal .site-popup-html {
    padding: var(--space-6);
    word-break: break-word;
}
.site-popup-modal .site-popup-html img {
    max-width: 100%;
    height: auto;
}
/* html 팝업은 관리자가 직접 쓴 HTML 이라, base.css 가 지우는 목록·링크 표시를 다시 살려 둔다. */
.site-popup-modal .site-popup-html p {
    margin: 0 0 0.75em;
}
.site-popup-modal .site-popup-html h1,
.site-popup-modal .site-popup-html h2,
.site-popup-modal .site-popup-html h3,
.site-popup-modal .site-popup-html h4 {
    margin: 1.25em 0 0.5em;
}
.site-popup-modal .site-popup-html h1:first-child,
.site-popup-modal .site-popup-html h2:first-child,
.site-popup-modal .site-popup-html h3:first-child,
.site-popup-modal .site-popup-html h4:first-child {
    margin-top: 0;
}
.site-popup-modal .site-popup-html ul,
.site-popup-modal .site-popup-html ol {
    margin: 0 0 0.75em;
    padding-left: 1.5em;
}
.site-popup-modal .site-popup-html ul { list-style: disc; }
.site-popup-modal .site-popup-html ol { list-style: decimal; }
.site-popup-modal .site-popup-html li { list-style: inherit; }
.site-popup-modal .site-popup-html a {
    color: var(--brand-primary);
    text-decoration: underline;
}
.site-popup-modal .site-popup-html > *:last-child {
    margin-bottom: 0;
}
/* 하단 어두운 바 */
.site-popup-modal .site-popup-topbar {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: var(--space-4);
    padding: 0.75rem 1.5rem;
    background: var(--brand-gray-900);
}
.site-popup-modal .site-popup-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
    margin-left: auto;
}
.site-popup-modal .site-popup-hide,
.site-popup-modal .site-popup-close {
    background: none;
    border: 0;
    color: #fff;
    font-size: var(--fz-body-sm);
    font-weight: 700;
    cursor: pointer;
}
.site-popup-modal .site-popup-hide {
    color: rgba(255, 255, 255, .72);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 0.25em;
}
/* 다시 보지 않기 두 개 사이의 구분선 */
.site-popup-modal .site-popup-hide + .site-popup-hide::before {
    content: '';
    position: absolute;
    left: -0.625rem;
    top: 50%;
    width: 1px;
    height: 0.875rem;
    background: rgba(255, 255, 255, .28);
    transform: translateY(-50%);
}
.site-popup-modal .site-popup-hide + .site-popup-hide {
    position: relative;
}
.site-popup-modal .site-popup-hide:hover,
.site-popup-modal .site-popup-close:hover {
    color: #fff;
}
/* 팝업 이동 (2개 이상일 때만 노출) */
.site-popup-modal .site-popup-nav {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}
.site-popup-modal .site-popup-nav[hidden] {
    display: none;
}
.site-popup-modal .site-popup-nav button {
    position: relative;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    background: none;
    cursor: pointer;
}
.site-popup-modal .site-popup-nav button:hover {
    background: rgba(255, 255, 255, .14);
}
.site-popup-modal .site-popup-nav button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7px;
    height: 7px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}
.site-popup-modal .site-popup-prev::after {
    transform: translate(-30%, -50%) rotate(-135deg);
}
.site-popup-modal .site-popup-next::after {
    transform: translate(-70%, -50%) rotate(45deg);
}
.site-popup-modal .site-popup-count {
    min-width: 3rem;
    text-align: center;
    color: rgba(255, 255, 255, .72);
    font-size: var(--fz-body-sm);
}
.site-popup-modal .site-popup-count strong {
    color: #fff;
}
@media (max-width: 767px) {
    .site-popup-modal { align-items: flex-end; }
    .site-popup-modal .site-popup-inner {
        width: 100%;
        max-width: 100%;
        max-height: 94vh;
        border-radius: 1.25rem 1.25rem 0 0;
    }
    .site-popup-modal .site-popup-header {
        padding: 1.25rem 3.25rem 1.25rem 1.25rem;
    }
    .site-popup-inner > .close-modal.site-popup-x {
        top: 1rem;
        right: 1rem;
    }
    .site-popup-modal .site-popup-topbar {
        padding: 0.625rem 1rem;
        gap: var(--space-2);
    }
    .site-popup-modal .site-popup-actions {
        gap: 0.75rem;
    }
    .site-popup-modal .site-popup-hide + .site-popup-hide::before {
        left: -0.375rem;
    }
    .site-popup-modal .site-popup-html {
        padding: var(--space-4);
    }
}
