:root {
    --junsung-blue: #1693f4;
    --junsung-bg: #131313;
    --junsung-panel: #202020;
    --junsung-text: #ffffff;
    --junsung-muted: #a7a7a7;
    --junsung-line: rgba(255, 255, 255, 0.18);
}

* { box-sizing: border-box; }
html { background: var(--junsung-bg); }
body {
    min-width: 320px;
    margin: 0;
    background: var(--junsung-bg);
    color: var(--junsung-text);
    font-family: "Noto Sans KR", "Malgun Gothic", sans-serif;
    line-height: 1.65;
}
body a { color: inherit; }
.junsung-wrap { width: min(1400px, calc(100% - 64px)); margin: 0 auto; }
.junsung-content .junsung-wrap { width: min(1200px, calc(100% - 64px)); }
.junsung-skip-link {
    position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 8px 12px;
    transform: translateY(-160%); background: var(--junsung-blue); color: #fff;
    font-weight: 700; text-decoration: none;
}
.junsung-skip-link:focus { transform: translateY(0); }
.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 10000;
    padding: 10px 14px;
    color: #fff;
    background: #1672c9;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transform: translateY(-180%);
    transition: transform .2s ease;
}
.skip-link:focus {
    transform: translateY(0);
    outline: 3px solid #fff;
    outline-offset: 2px;
}
.junsung-header {
    position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--junsung-line);
    background: rgba(19, 19, 19, 0.96); backdrop-filter: blur(10px);
}
.junsung-header__inner {
    display: flex; min-height: 80px; align-items: center; justify-content: space-between; gap: 40px;
}
.junsung-logo { flex: 0 0 auto; margin: 0; font-size: 0; }
.junsung-logo a, .junsung-logo img { display: block; }
.junsung-logo img { width: 145px; height: auto; }
.junsung-nav { display: flex; min-width: 0; align-items: stretch; justify-content: flex-end; }
.junsung-nav a {
    position: relative; display: block; padding: 28px 26px 24px; color: #fff;
    font-size: 17px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.junsung-nav a::after {
    position: absolute; right: 26px; bottom: 17px; left: 26px; height: 2px;
    background: var(--junsung-blue); content: ""; opacity: 0; transition: opacity .2s ease;
}
.junsung-nav a:hover::after,
.junsung-nav a:focus-visible::after,
.junsung-nav a[aria-current="page"]::after { opacity: 1; }
.junsung-nav a:focus-visible,
.junsung-board-links a:focus-visible,
.junsung-footer a:focus-visible { outline: 2px solid var(--junsung-blue); outline-offset: 3px; }
.junsung-content { min-height: calc(100vh - 290px); padding: 96px 0 120px; }
.junsung-home { padding: 42px 0; }
.junsung-eyebrow {
    margin: 0 0 16px; color: var(--junsung-blue); font-size: 14px; font-weight: 700; letter-spacing: .12em;
}
.junsung-home h2 { margin: 0; color: #fff; font-size: clamp(36px, 5vw, 62px); line-height: 1.2; }
.junsung-home__intro { max-width: 650px; margin: 24px 0 50px; color: var(--junsung-muted); font-size: 18px; }
.junsung-board-links {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none;
}
.junsung-board-links a {
    display: flex; min-height: 160px; align-items: flex-end; justify-content: space-between; padding: 26px;
    border: 1px solid var(--junsung-line); border-radius: 16px; background: var(--junsung-panel); color: #fff;
    font-size: 18px; font-weight: 700; text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.junsung-board-links a:hover { transform: translateY(-4px); border-color: var(--junsung-blue); background: #252525; }
.junsung-board-links span { color: var(--junsung-blue); font-size: 24px; }
.junsung-portfolio { padding: 96px 0 42px; }
.junsung-portfolio h2 { margin: 0; color: #fff; font-size: clamp(36px, 5vw, 56px); line-height: 1.2; }
.junsung-portfolio__intro { margin: 12px 0 72px; color: var(--junsung-blue); font-size: 18px; }
.junsung-portfolio__grid {
    display: grid;
    width: min(100%, 1200px);
    grid-template-columns: repeat(2, minmax(0, 581px));
    gap: 38px;
}
.junsung-portfolio-card { display: block; min-width: 0; color: #fff; text-decoration: none; }
.junsung-portfolio-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 581 / 342;
    margin: 0;
    border-radius: 30px;
    background: #0b0b0b;
}
.junsung-portfolio-card__image::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, rgba(6, 13, 20, 0.58), rgba(5, 11, 18, 0.24));
    content: "";
    pointer-events: none;
    transition: opacity .45s ease;
}
.junsung-portfolio-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    filter: brightness(.58) saturate(.78) contrast(1.06);
    transition: transform .55s ease, filter .45s ease;
}
.junsung-portfolio-card__title {
    display: block;
    margin-top: 34px;
    overflow-wrap: anywhere;
    font-size: 20px;
    line-height: 1.45;
}
.junsung-portfolio-card__line {
    display: block;
    width: 48px;
    margin-top: 20px;
    border-top: 2px solid var(--junsung-blue);
    transform: scaleX(.625);
    transform-origin: left center;
    transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
.junsung-portfolio-card:hover .junsung-portfolio-card__image::after,
.junsung-portfolio-card:focus-visible .junsung-portfolio-card__image::after { opacity: 0; }
.junsung-portfolio-card:hover .junsung-portfolio-card__image img,
.junsung-portfolio-card:focus-visible .junsung-portfolio-card__image img {
    transform: scale(1.08);
    filter: brightness(1) saturate(1.03) contrast(1.02);
}
.junsung-portfolio-card:hover .junsung-portfolio-card__line,
.junsung-portfolio-card:focus-visible .junsung-portfolio-card__line { transform: scaleX(1); }
.junsung-portfolio-card:focus-visible { outline: 2px solid var(--junsung-blue); outline-offset: 8px; }
.junsung-footer { padding: 56px 0; border-top: 1px solid var(--junsung-line); background: #000; color: var(--junsung-muted); }
.junsung-footer__inner { display: flex; align-items: flex-start; gap: 72px; }
.junsung-footer__logo { width: 165px; height: auto; filter: grayscale(1) brightness(1.7); }
.junsung-footer address { margin: 0; font-size: 14px; font-style: normal; }
.junsung-footer a { color: #d6d6d6; text-decoration: none; }
.junsung-footer a:hover { color: var(--junsung-blue); }
.junsung-footer address span { display: inline-block; margin-top: 8px; color: #777; }

@media (max-width: 1050px) {
    .junsung-header__inner { display: block; padding: 20px 0 0; }
    .junsung-logo { margin-bottom: 12px; }
    .junsung-nav { justify-content: flex-start; overflow-x: auto; scrollbar-width: thin; }
    .junsung-nav a { padding: 13px 18px 17px; font-size: 15px; }
    .junsung-nav a::after { right: 18px; bottom: 8px; left: 18px; }
    .junsung-board-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .junsung-wrap { width: min(100% - 40px, 1400px); }
    .junsung-content { min-height: calc(100vh - 335px); padding: 56px 0 72px; }
    .junsung-logo img { width: 125px; }
    .junsung-home__intro { margin-bottom: 32px; font-size: 16px; }
    .junsung-board-links { grid-template-columns: 1fr; gap: 10px; }
    .junsung-board-links a { min-height: 100px; padding: 22px; }
    .junsung-portfolio { padding: 68px 0 18px; }
    .junsung-portfolio__intro { margin-bottom: 38px; font-size: 16px; }
    .junsung-portfolio__grid { grid-template-columns: 1fr; gap: 46px; }
    .junsung-portfolio-card__image { border-radius: 22px; }
    .junsung-portfolio-card__title { margin-top: 22px; font-size: 18px; }
    .junsung-footer { padding: 42px 0; }
    .junsung-footer__inner { display: block; }
    .junsung-footer__logo { margin-bottom: 24px; }
}

/* 일반 페이지 원본과 같은 데스크톱 헤더·배너·푸터 배치 */
@media (min-width: 901px) {
    .junsung-site-header { overflow: hidden; }
    .junsung-site-header:hover,
    .junsung-site-header:focus-within { height: 320px; background: #131313; border-bottom: 1px solid #ddd; }
    .junsung-site-header:hover .junsung-site-nav > ul > li > ul,
    .junsung-site-header:focus-within .junsung-site-nav > ul > li > ul { opacity: 1; pointer-events: auto; transform: none; }
    .junsung-site-nav > ul > li > a { font-family: stb, "Noto Sans KR", "Malgun Gothic", sans-serif; font-weight: 400; }
    .junsung-site-nav > ul > li > ul a { font-family: stm, "Noto Sans KR", "Malgun Gothic", sans-serif; font-size: 16px; font-weight: 400; }
    .junsung-site-header__inner { position: relative; display: block; height: 80px; }
    .junsung-site-logo { position: absolute; top: 23px; left: 0; z-index: 1; margin: 0; }
    .junsung-site-logo img { width: 144px; }
    .junsung-site-nav { margin: 0; padding-top: 26px; text-align: center; }
    .junsung-site-nav > ul { display: flex; height: auto; align-items: flex-start; justify-content: center; }
    .junsung-site-nav > ul > li { flex: 0 0 170px; }
    .junsung-site-nav > ul > li:first-child { margin-left: 40px; }
    .junsung-site-nav > ul > li > a { display: inline-block; height: auto; padding: 0; font-family: "steb", "Noto Sans KR", "Malgun Gothic", sans-serif; font-size: 18px; line-height: 1.6; }
    .junsung-site-nav__label::after { position: static; display: block; height: 0; margin-top: 22px; border-top: 2px solid #1693f4; background: none; }
    .junsung-site-nav > ul > li > ul { top: 54px; padding-top: 20px; background: transparent; }
    .junsung-site-nav > ul > li > ul a { padding: 0 4px; line-height: 40px; }
    .junsung-site-language { position: absolute; top: 21px; right: calc((1400px - 100vw) / 4 + 12px); width: 184px; }
    .junsung-subvisual { display: flex; align-items: center; justify-content: center; background-color: transparent; background-image: var(--junsung-subvisual-image); background-position: center top; background-size: auto; background-attachment: fixed; }
    .junsung-subvisual__title { font-family: "steb", "Noto Sans KR", "Malgun Gothic", sans-serif; font-size: 60px; font-weight: 400; }
    .junsung-site-footer__logo { width: auto; filter: none; }
    .junsung-site-footer address { font-family: stm, "Noto Sans KR", "Malgun Gothic", sans-serif; line-height: 1.6; }
    .junsung-site-footer address .pc { position: static; display: inline; color: inherit; }
    .junsung-site-footer address .mob { display: none; }
    .junsung-site-footer__inner { min-height: 0; }
    .junsung-site-footer__admin { width: auto; height: auto; }
    .junsung-site-footer__admin i { font-size: 14px; }
}

/* 모바일 게시판도 최신 일반페이지와 같은 공통 헤더·푸터를 사용합니다. */
@media (max-width: 800px) {
    #w_header {
        width: 100%;
        height: 60px;
        min-width: 0;
        overflow: hidden;
    }

    #w_header .wrap,
    #w_footer .wrap {
        position: relative;
        width: 94%;
        max-width: none;
        margin-right: auto;
        margin-left: auto;
    }

    #w_header .site-logo {
        position: static;
        margin: 0;
        padding-top: 17px;
    }

    #w_header .site-logo img {
        display: block;
        width: auto;
        height: 26px;
    }

    #w_header .site-logo {
        pointer-events: none;
    }

    #w_header .site-logo a {
        display: inline-block;
        width: fit-content;
        height: 26px;
        line-height: 0;
        pointer-events: auto;
    }

    #w_header .site-nav {
        display: block;
    }

    #w_header #w_gnb {
        display: block;
        width: 260px;
        margin: 60px auto 0;
        padding-top: 0;
    }

    #w_header .site-nav {
        width: 100vw;
        margin-left: -3vw;
    }

    #w_header #nav_btn.mob {
        position: absolute;
        top: 12px;
        right: 0;
        display: block !important;
        width: 30px;
        min-width: 30px;
        height: 42px;
    }

    #w_header.down {
        height: 100vh;
        height: 100dvh;
    }

    #w_footer {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        padding: 60px 0 40px;
    }

    #w_footer > .wrap > img {
        display: none !important;
    }

    #w_footer address {
        min-height: 0;
        padding: 0 0 24px;
        font: 12px/2 stm, "Noto Sans KR", "Malgun Gothic", sans-serif;
        text-align: center;
        overflow-wrap: anywhere;
    }

    #w_footer .pc {
        display: none !important;
    }

    #w_footer .footer-policy {
        display: inline-block;
        margin-left: 8px;
        font: inherit;
    }

    #w_footer .footer-policy::before {
        display: inline;
        margin-right: 8px;
    }

    #w_header #w_gnb > li.single-item > a::after,
    #w_header #w_gnb > li.single-item > ul {
        display: none !important;
    }

    .junsung-subvisual {
        display: flex;
        height: 200px;
        padding-top: 40px;
        align-items: center;
        justify-content: center;
        background-attachment: scroll;
        background-position: center;
        background-size: cover;
    }

    .junsung-subvisual__title {
        font: 36px/1.2 stb, "Noto Sans KR", "Malgun Gothic", sans-serif;
    }
}

/* 일반페이지 원본과 같은 헤더·푸터 셸 */
#w_header,
#w_header *,
#w_footer,
#w_footer * {
    box-sizing: border-box;
}

#w_header a,
#w_footer a {
    color: inherit;
    text-decoration: none;
}

#w_header ul,
#w_header li {
    margin: 0;
    padding: 0;
    list-style: none;
}

#w_header {
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    overflow: hidden;
    color: #fff;
    transition: .3s;
}

#w_header .wrap,
#w_footer .wrap {
    position: relative;
    width: 1400px;
    margin: 0 auto;
    font: 16px/1.6 stm, "Noto Sans KR", "Malgun Gothic", sans-serif;
}

#w_header.fix,
#w_header.down {
    border-bottom: 1px solid #ddd;
    background: #131313;
}

#w_header.down {
    height: 320px;
}

#w_header .site-logo {
    position: absolute;
    z-index: 1;
    top: 23px;
    left: 0;
    margin: 0;
}

#w_header .site-logo img {
    display: block;
    width: 144px;
    height: 34px;
}

#w_header #w_gnb {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 26px;
    text-align: center;
}

#w_header #w_gnb > li:first-child {
    margin-left: 40px;
}

#w_header #w_gnb > li {
    flex: 0 0 170px;
    min-width: 0;
}

#w_header #w_gnb > li > a {
    display: inline-block;
    padding: 0;
    font: 18px/1.6 stb, "Noto Sans KR", "Malgun Gothic", sans-serif;
    white-space: nowrap;
}

#w_header #w_gnb > li > a::after {
    display: block;
    width: 100%;
    margin-top: 22px;
    border-top: 2px solid #1693f4;
    content: "";
    opacity: 0;
}

#w_header #w_gnb > li.select > a::after {
    opacity: 1;
}

#w_header #w_gnb ul {
    padding-top: 20px;
}

#w_header #w_gnb ul li {
    font: 16px/40px stm, "Noto Sans KR", "Malgun Gothic", sans-serif;
}

#w_header .lang {
    position: absolute;
    z-index: 1;
    top: 21px;
    right: calc((1400px - 100vw) / 4 + 12px);
    width: 184px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 16px;
}

#w_header .lang::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 112px;
    height: 30px;
    color: #fff;
    content: "LANGUAGE";
    font: 13px/30px stm, "Noto Sans KR", "Malgun Gothic", sans-serif;
    text-align: center;
}

#w_header .lang::after {
    position: absolute;
    top: 0;
    left: 111px;
    height: 30px;
    color: #fff;
    content: "|";
    font: 15px/29px stm, "Noto Sans KR", "Malgun Gothic", sans-serif;
}

#w_header .lang select {
    position: absolute;
    top: 0;
    right: 0;
    width: 72px;
    height: 30px;
    padding: 0 20px 1px 0;
    border: 0;
    border-radius: 0;
    appearance: none;
    background: transparent url("data:image/svg+xml,%3Csvg width=%2210%22 height=%226%22 viewBox=%220 0 10 6%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath d=%22M1 1l4 4 4-4%22 fill=%22none%22 stroke=%22%23fff%22 stroke-width=%221.5%22/%3E%3C/svg%3E") no-repeat right 10px center;
    color: #fff;
    outline: 0;
    font: 13px/30px stm, "Noto Sans KR", "Malgun Gothic", sans-serif;
    text-align: center;
    text-align-last: center;
    cursor: pointer;
    -webkit-appearance: none;
}

#w_header .lang select option {
    background: #176fc8;
    color: #fff;
}

#w_footer {
    width: 100%;
    max-width: 100%;
    padding: 60px 0;
    background: #000;
    color: #999;
}

#w_footer img {
    position: absolute;
    top: 0;
    left: 0;
}

#w_footer address {
    min-height: 44.8px;
    margin: 0;
    padding-left: 240px;
    font: 14px/1.6 stm, "Noto Sans KR", "Malgun Gothic", sans-serif;
    font-style: normal;
}

#w_footer .footer-policy {
    display: inline-block;
    margin-left: 12px;
}

#w_footer .footer-policy::before {
    margin-right: 12px;
    color: #666;
    content: "|";
}

#w_footer .footer-policy a {
    color: #bbb;
}

#w_footer .footer-policy a:hover,
#w_footer .footer-policy a:focus-visible {
    color: #fff;
    text-decoration: underline;
}

#w_footer .w_adm {
    position: absolute;
    right: 0;
    bottom: 0;
    color: #666;
}

#w_footer .w_adm:hover,
#w_footer .w_adm:focus-visible {
    color: #fff;
}

@media (min-width: 801px) {
    #w_header .mob,
    #w_footer .mob {
        display: none !important;
    }
}

@media (max-width: 800px) {
    #w_header .pc,
    #w_footer .pc {
        display: none !important;
    }

    #w_header {
        height: 60px;
    }

    #w_header .wrap,
    #w_footer .wrap {
        width: 94%;
        font-size: 13px;
    }

    #w_header.down {
        height: 100vh;
        height: 100dvh;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    #w_header.down .wrap {
        min-height: 100%;
        padding-bottom: max(24px, env(safe-area-inset-bottom));
    }

    #w_header .site-logo {
        position: static;
        padding-top: 17px;
    }

    #w_header .site-logo img {
        width: auto;
        height: 26px;
    }

    #w_header #w_gnb {
        display: block;
        width: 260px;
        margin: 60px auto 0;
        padding-top: 0;
    }

    #w_header #w_gnb > li {
        width: 220px;
        margin: 0 auto;
        border-top: 0;
        border-bottom: 1px solid #ddd;
    }

    #w_header #w_gnb > li:first-child {
        margin-left: auto;
        border-top: 0;
    }

    #w_header #w_gnb > li:last-child {
        border-bottom: 0;
    }

    #w_header #w_gnb > li > a {
        display: block;
        padding: 0;
        font-size: 20px;
        line-height: 50px;
    }

    #w_header #w_gnb > li > a::after {
        display: inline-block;
        width: 7px;
        height: 7px;
        margin: 0 0 4px 10px;
        border: solid currentcolor;
        border-width: 0 2px 2px 0;
        content: "";
        opacity: 1;
        transform: rotate(45deg);
        transition: transform .2s ease;
    }

    #w_header #w_gnb > li.select > a {
        color: #1693f4;
    }

    #w_header #w_gnb > li.select > a::after {
        transform: rotate(-135deg);
    }

    #w_header #w_gnb ul {
        display: none;
        padding: 0 0 14px;
    }

    #w_header #w_gnb ul li {
        border-top: 0;
        font-size: 16px;
        line-height: 40px;
    }

    #w_header .lang {
        position: relative;
        top: auto;
        right: auto;
        width: 230px;
        height: 34px;
        margin: 18px auto 0;
        border-radius: 17px;
        background: transparent;
    }

    #w_header .lang::before {
        top: 0;
        left: 0;
        width: 137px;
        height: 32px;
        font-size: 13px;
        line-height: 32px;
    }

    #w_header .lang::after {
        top: 0;
        left: 136px;
        height: 32px;
        font-size: 16px;
        line-height: 31px;
    }

    #w_header .lang select {
        right: 0;
        width: 93px;
        height: 32px;
        padding: 0 28px 1px 0;
        border-radius: 17px;
        background-position: right 18px center;
        line-height: 32px;
    }

    #w_header .lang:focus-within {
        border-color: #1693f4;
        box-shadow: 0 0 0 2px rgba(22, 147, 244, .2);
    }

    #w_header .menu-contact {
        width: 260px;
        margin: 38px auto 0;
        padding: 0 8px;
        color: #fff;
        font: 14px/1.8 stm, "Noto Sans KR", "Malgun Gothic", sans-serif;
        text-align: center;
    }

    #w_header .menu-contact p {
        display: flex;
        align-items: baseline;
        justify-content: center;
        gap: 8px;
        margin: 0;
    }

    #w_header .menu-contact p span {
        display: inline-block;
        width: auto;
        min-width: 42px;
        color: #bdbdbd;
        font: 13px/1.8 stm, "Noto Sans KR", "Malgun Gothic", sans-serif;
        text-align: right;
    }

    #w_header .menu-contact a {
        display: inline-block;
        min-height: 28px;
    }

    #nav_btn {
        position: absolute;
        top: 12px;
        right: 0;
        padding: 0;
        border: 0;
        background: transparent;
    }

    #nav_btn .line {
        display: block;
        width: 30px;
        height: 2px;
        margin: 8px auto;
        background: #fff;
        transition: transform .3s ease, opacity .3s ease;
    }

    #nav_btn.act .line:nth-child(2) {
        opacity: 0;
    }

    #nav_btn.act .line:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }

    #nav_btn.act .line:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }

    .junsung-subvisual {
        height: 200px;
        padding-top: 40px;
        background-attachment: scroll;
        background-size: cover;
    }

    .junsung-subvisual__title {
        font: 36px/1.2 stb, "Noto Sans KR", "Malgun Gothic", sans-serif;
    }

    .junsung-content {
        padding: 84px 0 120px;
    }

    .junsung-content .junsung-wrap {
        width: 94%;
    }

    .junsung-gallery__header h1,
    .junsung-resource__header h1,
    .junsung-sales__header h1 {
        font: 24px/1.4 steb, "Noto Sans KR", "Malgun Gothic", sans-serif !important;
    }

    .junsung-gallery__header,
    .junsung-resource__header,
    .junsung-sales__header {
        margin-bottom: 40px !important;
    }

    .junsung-gallery__path,
    .junsung-resource__path,
    .junsung-sales__path {
        display: none !important;
    }

    #w_footer {
        padding: 60px 0 40px;
    }

    #w_footer address {
        min-height: 0;
        padding: 0 0 24px;
        font-size: 12px;
        line-height: 2;
        text-align: center;
    }

    #w_footer .footer-policy {
        margin-left: 8px;
    }

    #w_footer .footer-policy::before {
        display: inline;
        margin-right: 8px;
    }
}

/* Original mobile shell: keep every board section inside the viewport. */
html,
body { overflow-x: hidden; }

@media (max-width: 800px) {
    .junsung-wrap,
    .junsung-content .junsung-wrap,
    .junsung-site-header .junsung-wrap,
    .junsung-site-footer .junsung-wrap {
        width: 94%;
        max-width: none;
    }

    #w_footer.junsung-site-footer {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        padding: 60px 0 40px;
    }

    .junsung-site-footer__inner { min-height: 0; }
    .junsung-site-footer__logo { display: none; }
    .junsung-site-footer address {
        padding: 0 0 24px;
        font-family: stm, "Noto Sans KR", "Malgun Gothic", sans-serif;
        font-size: 12px;
        line-height: 2;
        text-align: center;
        overflow-wrap: anywhere;
    }
    .junsung-site-footer address .pc { display: none; }
    .junsung-site-footer__policy { margin-left: 8px; }
    .junsung-site-footer__policy::before { display: inline; margin-right: 8px; }
}

.junsung-site-footer__policy,
.junsung-site-footer__policy a {
    font: 14px/1.6 stm, "Noto Sans KR", "Malgun Gothic", sans-serif;
    font-weight: 400;
    letter-spacing: normal;
}

@media (max-width: 800px) {
    .junsung-site-footer__policy,
    .junsung-site-footer__policy a { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
    #w_header { transition: .3s !important; }
}

/* 게시판 본문은 메인 홈페이지와 분리된 밝은 작업 화면으로 유지합니다. */
html,
body,
.junsung-content {
    background: #fff;
    color: #20242a;
}

#junsung-content h1 {
    color: #000;
}

/* 홈페이지와 게시판이 공통으로 사용하는 상단·하단 셸 */
.junsung-site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 100;
    height: 80px;
    color: #fff;
    transition: background-color .25s ease, border-color .25s ease;
}

.junsung-site-header:hover,
.junsung-site-header.is-scrolled {
    border-bottom: 1px solid rgba(255, 255, 255, .2);
    background: rgba(19, 19, 19, .97);
}

.junsung-site-header__inner {
    display: flex;
    height: 80px;
    align-items: center;
}

.junsung-site-logo {
    flex: 0 0 auto;
    margin: 0;
    font-size: 0;
}

.junsung-site-logo a,
.junsung-site-logo img {
    display: block;
}

.junsung-site-logo img {
    width: 144px;
    height: auto;
}

.junsung-site-nav {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0 42px 0 64px;
}

.junsung-site-nav > ul {
    display: flex;
    height: 80px;
    align-items: stretch;
    justify-content: space-between;
    margin: 0;
    padding: 0;
    list-style: none;
}

.junsung-site-nav > ul > li {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
}

.junsung-site-nav > ul > li > a {
    display: inline-flex;
    height: 80px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.junsung-site-nav__toggle {
    display: none;
}

.junsung-site-nav__label {
    position: relative;
}

.junsung-site-nav__label::after {
    position: absolute;
    right: 0;
    bottom: -13px;
    left: 0;
    height: 2px;
    background: #1693f4;
    content: "";
    opacity: 0;
    transition: opacity .2s ease;
}

.junsung-site-nav > ul > li.is-current .junsung-site-nav__label::after,
.junsung-site-nav > ul > li:hover .junsung-site-nav__label::after,
.junsung-site-nav > ul > li:focus-within .junsung-site-nav__label::after {
    opacity: 1;
}

.junsung-site-nav > ul > li > ul {
    position: absolute;
    top: 80px;
    right: 0;
    left: 0;
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 18px 10px 22px;
    list-style: none;
    background: rgba(19, 19, 19, .97);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease;
}

.junsung-site-nav > ul > li:hover > ul,
.junsung-site-nav > ul > li:focus-within > ul {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.junsung-site-nav > ul > li > ul a {
    display: block;
    padding: 7px 4px;
    color: #ddd;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
}

.junsung-site-nav a:hover,
.junsung-site-nav a:focus-visible {
    color: #1693f4;
}

.junsung-site-language {
    position: relative;
    flex: 0 0 auto;
    width: 176px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 16px;
}

.junsung-site-language::before {
    position: absolute;
    top: 6px;
    left: 15px;
    color: #fff;
    content: "LANGUAGE";
    font-size: 13px;
    font-weight: 700;
}

.junsung-site-language::after {
    position: absolute;
    top: 5px;
    left: 92px;
    color: #fff;
    content: "|";
    font-size: 15px;
}

.junsung-site-language select {
    position: absolute;
    top: 0;
    right: 12px;
    width: 56px;
    height: 30px;
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
}

.junsung-site-language select option {
    background: #176fc8;
    color: #fff;
}

.junsung-subvisual {
    display: grid;
    height: 440px;
    padding-top: 80px;
    background-color: #fff;
    background-image: linear-gradient(rgba(9, 19, 27, .24), rgba(9, 19, 27, .3)), linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 99%, #fff 100%), var(--junsung-subvisual-image);
    background-position: center top, center top, center top;
    background-repeat: no-repeat;
    background-size: min(1920px, 100vw) 440px, 1200px 440px, 1200px auto;
    color: #fff;
    place-items: center;
}

.junsung-subvisual__title {
    margin: 0;
    font-size: clamp(42px, 4vw, 60px);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.junsung-content {
    min-height: 0;
    padding: 100px 0 180px;
}

.junsung-site-footer {
    padding: 60px 0;
    background: #000;
    color: #999;
}

.junsung-site-footer__inner {
    position: relative;
    min-height: 48px;
}

.junsung-site-footer__logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 165px;
    height: auto;
    filter: grayscale(1) brightness(1.7);
}

.junsung-site-footer address {
    margin: 0;
    padding-left: 240px;
    font-size: 14px;
    font-style: normal;
    line-height: 1.8;
}

.junsung-site-footer address span {
    display: inline-block;
    margin: 0;
    color: #777;
}

.junsung-site-footer__policy {
    display: inline-block;
    margin-left: 12px;
    color: #d6d6d6;
    text-decoration: none;
}

.junsung-site-footer__policy::before {
    margin-right: 12px;
    color: #666;
    content: "|";
}

.junsung-site-footer__policy:hover,
.junsung-site-footer__policy:focus-visible {
    color: #1693f4;
}

.junsung-site-footer__admin {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 18px;
    height: 18px;
    color: #666;
}

.junsung-site-footer__admin svg {
    display: block;
    width: 100%;
    height: 100%;
}

.junsung-site-footer__admin:hover,
.junsung-site-footer__admin:focus-visible {
    color: #fff;
}

@media (max-width: 1120px) {
    .junsung-site-nav { margin: 0 22px 0 36px; }
    .junsung-site-nav > ul > li > a { padding: 0 10px; font-size: 15px; }
    .junsung-site-language { width: 158px; }
}

@media (max-width: 900px) {
    .junsung-site-header,
    .junsung-site-header:hover { border-bottom: 1px solid rgba(255, 255, 255, .2); background: rgba(19, 19, 19, .97); }
    .junsung-site-header__inner { height: 64px; }
    .junsung-site-logo img { width: 122px; }
    .junsung-site-nav { margin: 0 14px; overflow-x: auto; }
    .junsung-site-nav > ul { width: max-content; height: 64px; gap: 2px; }
    .junsung-site-nav > ul > li { flex: 0 0 auto; }
    .junsung-site-nav > ul > li > a { height: 64px; padding: 0 42px 0 12px; }
    .junsung-site-nav__label::after { bottom: -8px; }
    .junsung-site-nav > ul > li > ul { display: none; }
    .junsung-site-nav__toggle {
        position: absolute;
        z-index: 2;
        top: 16px;
        right: 4px;
        display: grid;
        width: 32px;
        height: 32px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #fff;
        cursor: pointer;
        place-items: center;
    }
    .junsung-site-nav__toggle::before {
        width: 8px;
        height: 8px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        content: "";
        transform: rotate(45deg) translateY(-2px);
        transition: transform .2s ease;
    }
    .junsung-site-nav__toggle:focus-visible { outline: 2px solid #1693f4; outline-offset: 2px; }
    .junsung-site-nav > ul > li.is-open > .junsung-site-nav__toggle::before { transform: rotate(225deg) translateY(-2px); }
    .junsung-site-header.has-open-submenu .junsung-site-nav { overflow: visible; }
    .junsung-site-nav > ul > li.is-open > ul {
        position: absolute;
        z-index: 5;
        top: 64px;
        right: 0;
        left: auto;
        display: grid;
        min-width: 180px;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
    .junsung-site-language { width: 48px; border: 0; border-radius: 0; }
    .junsung-site-language::before,
    .junsung-site-language::after { display: none; }
    .junsung-site-language select { right: 0; width: 48px; }
    .junsung-subvisual {
        height: 280px;
        padding-top: 64px;
        background-size: 100% 280px, 100% 280px, cover;
        background-position: center top, center top, center center;
    }
}

@media (max-width: 640px) {
    .junsung-site-nav > ul > li > a { font-size: 14px; }
    .junsung-content { padding: 84px 0 90px; }
    .junsung-content .junsung-wrap { width: min(1200px, calc(100% - 40px)); }
    .junsung-site-footer { padding: 42px 0; }
    .junsung-site-footer__inner { min-height: 0; padding-top: 48px; }
    .junsung-site-footer__logo { width: 135px; }
    .junsung-site-footer address { font-size: 12px; }
    .junsung-site-footer address { padding-left: 0; }
    .junsung-site-footer address span { display: block; }
    .junsung-site-footer__policy { margin-left: 0; }
    .junsung-site-footer__policy::before { display: none; }
    .junsung-site-footer__admin { bottom: 0; }
}

/* 일반 서브 페이지와 같은 SUIT 제목 계열 및 게시글 제목 레이아웃 */
.junsung-site-header,
.junsung-site-footer,
.junsung-gallery,
.junsung-resource,
.junsung-sales,
.junsung-subvisual {
    font-family: "str", "Noto Sans KR", "Malgun Gothic", sans-serif;
}

.junsung-site-nav > ul > li > a,
.junsung-subvisual__title,
.junsung-gallery__header h2,
.junsung-gallery-card h3,
.junsung-resource__header h1,
.junsung-resource-view__header h1,
.junsung-sales__header h1,
.junsung-sales-view__header h1 {
    font-family: "steb", "Noto Sans KR", "Malgun Gothic", sans-serif;
    font-weight: 400;
}

.junsung-gallery__header h2 {
    font-size: clamp(28px, 2.5vw, 36px);
    line-height: 1.4;
}

.junsung-gallery-view__header {
    display: block;
    max-width: none;
    margin-bottom: 44px;
}

.junsung-gallery-view__header .junsung-gallery__path {
    margin: 0 0 14px;
}

.junsung-gallery-view__header h2 {
    max-width: 1100px;
    font-family: "steb", "Noto Sans KR", "Malgun Gothic", sans-serif;
    font-size: clamp(26px, 2.2vw, 32px);
    font-weight: 400;
    line-height: 1.42;
}

@media (max-width: 640px) {
    .junsung-gallery-view__header { margin-bottom: 32px; }
    .junsung-gallery-view__header h2 { font-size: 26px; }
}

/* Original desktop pages use a fixed 1400px shell, including the language control. */
@media (min-width: 901px) {
    .junsung-site-header .junsung-wrap,
    .junsung-site-footer .junsung-wrap { width: 1400px; }
    .junsung-site-language { right: calc((1400px - 100vw) / 4 + 12px); }
}

/* Desktop shell: same order and measurements as the static pages. */
@media (min-width: 901px) {
    .junsung-site-header { overflow: hidden; }
    .junsung-site-header__inner { position: relative; display: block; height: 80px; }
    .junsung-site-logo { position: absolute; top: 23px; left: 0; z-index: 1; }
    .junsung-site-logo img { width: 144px; }
    .junsung-site-nav { margin: 0; padding-top: 26px; text-align: center; }
    .junsung-site-nav > ul { display: flex; height: auto; align-items: flex-start; justify-content: center; }
    .junsung-site-nav > ul > li { flex: 0 0 170px; }
    .junsung-site-nav > ul > li:first-child { margin-left: 40px; }
    .junsung-site-nav > ul > li > a { display: inline-block; height: auto; padding: 0; font-family: "steb", "Noto Sans KR", "Malgun Gothic", sans-serif; font-size: 18px; line-height: 1.6; }
    .junsung-site-nav__label::after { position: static; display: block; height: 0; margin-top: 22px; border-top: 2px solid #1693f4; background: none; }
    .junsung-site-nav > ul > li > ul { top: 54px; }
    .junsung-site-language { position: absolute; top: 21px; right: 12px; width: 184px; }
    .junsung-subvisual { display: flex; align-items: center; justify-content: center; background-color: transparent; background-image: var(--junsung-subvisual-image); background-position: center top; background-size: auto; background-attachment: fixed; }
    .junsung-subvisual__title { font-family: stb, "Noto Sans KR", "Malgun Gothic", sans-serif; font-size: 60px; font-weight: 400; line-height: normal; }
    .junsung-site-footer__logo { width: auto; filter: none; }
}

/* Final desktop parity with the original static header and footer. */
@media (min-width: 901px) {
    .junsung-site-header.is-scrolled { border-bottom: 0; }
    .junsung-site-header:hover,
    .junsung-site-header:focus-within { height: 320px; background: #131313; border-bottom: 1px solid #ddd; }
    .junsung-site-header:hover .junsung-site-nav > ul > li > ul,
    .junsung-site-header:focus-within .junsung-site-nav > ul > li > ul { opacity: 1; pointer-events: auto; transform: none; }
    .junsung-site-nav > ul > li > a { font-family: stb, "Noto Sans KR", "Malgun Gothic", sans-serif; font-weight: 400; }
    .junsung-site-nav > ul > li > ul a { font-family: stm, "Noto Sans KR", "Malgun Gothic", sans-serif; font-size: 16px; font-weight: 400; }
    .junsung-site-logo { margin: 0; }
    .junsung-site-nav > ul > li > ul { padding-top: 20px; background: transparent; }
    .junsung-site-nav > ul > li > ul a { padding: 0 4px; line-height: 40px; }
    .junsung-site-language { right: calc((1400px - 100vw) / 4 + 12px); }
    .junsung-site-language::before { top: 8px; left: 14px; font: 13px/1 stm, "Noto Sans KR", "Malgun Gothic", sans-serif; }
    .junsung-site-language::after { top: 6px; left: 91px; font: 15px/1 stm, "Noto Sans KR", "Malgun Gothic", sans-serif; }
    .junsung-site-language select { width: 58px; font-family: stm, "Noto Sans KR", "Malgun Gothic", sans-serif; font-weight: 400; }
    .junsung-gallery__path,
    .junsung-resource__path,
    .junsung-sales__path { font: 14px/1.6 stm, "Noto Sans KR", "Malgun Gothic", sans-serif; }
    .junsung-site-footer address { font-family: stm, "Noto Sans KR", "Malgun Gothic", sans-serif; line-height: 1.6; }
    .junsung-site-footer address .pc { position: static; display: inline; color: inherit; }
    .junsung-site-footer address .mob { display: none; }
    .junsung-site-footer { width: 100%; max-width: 100%; }
    .junsung-site-footer__inner { min-height: 0; }
    .junsung-site-footer__admin { width: auto; height: auto; }
    .junsung-site-footer__admin i { font-size: 14px; }
}

/* 최종 모바일 값: 기존 호환 규칙보다 뒤에서 일반페이지 수치를 확정합니다. */
@media (max-width: 800px) {
    #w_header #w_gnb > li > a {
        position: relative;
        text-align: center;
    }

    #w_header #w_gnb > li > a::after {
        position: absolute;
        top: 20px;
        left: calc(50% + 44px);
        margin: 0;
    }

    html[lang="en"] #w_header #w_gnb > li > a::after {
        right: 0;
        left: auto;
    }

    #w_header #w_gnb > li.single-item > a {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    #w_header #w_gnb > li.single-item > a::after {
        display: none !important;
    }

    #w_header #w_gnb > li > a[href*="bo_table=testreport"],
    #w_header #w_gnb > li > a[href*="board-test"] {
        display: flex !important;
        width: 100%;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    #w_header #w_gnb > li > a[href*="bo_table=testreport"]::after,
    #w_header #w_gnb > li > a[href*="board-test"]::after {
        display: none !important;
    }

    #w_header #w_gnb > li > a[href*="bo_table=testreport"] + ul,
    #w_header #w_gnb > li > a[href*="board-test"] + ul {
        display: none !important;
    }

    #w_header.fix {
        background: #131313 !important;
    }

    .junsung-subvisual {
        display: flex;
        height: 200px;
        padding-top: 40px;
        align-items: center;
        justify-content: center;
        background-attachment: scroll;
        background-position: center;
        background-size: cover;
    }

    .junsung-subvisual__title {
        font: 36px/normal stb, "Noto Sans KR", "Malgun Gothic", sans-serif;
    }

    #w_footer {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        padding: 60px 0 40px;
    }

    #w_footer > .wrap > img {
        display: none !important;
    }

    #w_footer address {
        min-height: 0;
        padding: 0 0 24px;
        font: 12px/2 stm, "Noto Sans KR", "Malgun Gothic", sans-serif;
        text-align: center;
        overflow-wrap: anywhere;
    }
}

/* Tablet board shell: mirror the static-site compact header and footer. */
@media (min-width: 801px) and (max-width: 1100px) {
    .pc { display: none !important; }
    .mob { display: block !important; }

    #w_header { height: 60px; }
    #w_header .wrap { width: calc(100% - 48px); }
    #w_header.down { height: 100vh; height: 100dvh; overflow-y: auto; overscroll-behavior: contain; }
    #w_header.down .wrap { min-height: 100%; padding-bottom: max(24px, env(safe-area-inset-bottom)); box-sizing: border-box; }
    #w_header .site-logo { position: static; height: 43px; padding-top: 17px; }
    #w_header .site-logo img { width: auto; height: 26px; }
    #w_header .site-nav { width: 100vw; margin-left: -24px; }
    #w_header #w_gnb { display: block; width: 260px; margin: 60px auto 0; padding-top: 0; }
    #w_header #w_gnb > li { flex: none; width: 220px; margin: 0 auto; border-top: 0; border-bottom: 1px solid #ddd; }
    #w_header #w_gnb > li:first-child { margin-left: auto; }
    #w_header #w_gnb > li:last-child { border-bottom: 0; }
    #w_header #w_gnb > li > a { position: relative; display: flex; width: 100%; padding: 0; align-items: center; justify-content: center; font-size: 20px; line-height: 50px; text-align: center; }
    #w_header #w_gnb > li > a::after { position: absolute; top: 20px; left: calc(50% + 44px); display: inline-block; width: 7px; height: 7px; margin: 0; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); opacity: 1; }
    html[lang="en"] #w_header #w_gnb > li > a::after { right: 0; left: auto; }
    #w_header #w_gnb > li.single-item > a::after,
    #w_header #w_gnb > li > a[href*="bo_table=testreport"]::after { display: none !important; }
    #w_header #w_gnb > li > a[href*="bo_table=testreport"] + ul { display: none !important; }
    #w_header #w_gnb > li.select > a { color: #1693f4; }
    #w_header #w_gnb > li.select > a::after { transform: rotate(-135deg); }
    #w_header #w_gnb ul { display: none; padding: 0 0 14px; }
    #w_header #w_gnb ul li { font-size: 16px; line-height: 40px; }
    #w_header #w_gnb ul li a { display: flex; width: 100%; min-height: 40px; align-items: center; justify-content: center; text-align: center; }
    #w_header .lang { position: relative; top: auto; right: auto; width: 230px; height: 34px; margin: 18px auto 0; border-radius: 17px; background: transparent; }
    #w_header .lang::before { width: 137px; height: 32px; font: 13px/32px stm, "Noto Sans KR", "Malgun Gothic", sans-serif; }
    #w_header .lang::after { left: 136px; height: 32px; font: 16px/31px stm, "Noto Sans KR", "Malgun Gothic", sans-serif; }
    #w_header .lang select { width: 93px; height: 32px; padding: 0 28px 1px 0; background-position: right 18px center; font: 13px/32px stm, "Noto Sans KR", "Malgun Gothic", sans-serif; }
    #w_header .menu-contact { width: 260px; margin: 38px auto 0; padding: 0 8px; box-sizing: border-box; color: #fff; font: 14px/1.8 stm, "Noto Sans KR", "Malgun Gothic", sans-serif; text-align: center; }
    #w_header .menu-contact p { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin: 0; }
    #w_header .menu-contact p span { min-width: 42px; color: #bdbdbd; font-size: 13px; text-align: right; }
    #w_header .menu-contact a { display: inline-block; min-height: 28px; color: #fff; }
    #w_header #nav_btn.mob { position: absolute; top: 12px; right: 0; display: block !important; width: 30px; height: 38px; padding: 0; border: 0; background: transparent; }
    #nav_btn .line { display: block; width: 30px; height: 2px; margin: 8px 0; background-color: #fff; transition: all .3s ease-in-out; }
    #nav_btn.act .line:nth-child(2) { opacity: 0; }
    #nav_btn.act .line:nth-child(1) { transform: translateY(10px) rotate(45deg); }
    #nav_btn.act .line:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

    .junsung-subvisual { height: 280px; padding-top: 60px; background-attachment: scroll; background-position: center; background-size: cover; }
    .junsung-subvisual__title { font-size: 46px; }
    .junsung-content { min-height: calc(100vh - 280px); padding: 72px 0 96px; }
    .junsung-wrap,
    .junsung-content .junsung-wrap { width: calc(100% - 48px); max-width: none; }

    #w_footer { width: 100%; min-width: 0; max-width: 100%; padding: 54px 0 36px; }
    #w_footer .wrap { width: calc(100% - 48px); }
    #w_footer > .wrap > img { display: none !important; }
    #w_footer address { min-height: 0; padding: 0 0 24px; font: 12px/2 stm, "Noto Sans KR", "Malgun Gothic", sans-serif; text-align: center; overflow-wrap: anywhere; }
    #w_footer .footer-policy { display: inline-block; margin-left: 8px; }
    #w_footer .footer-policy::before { display: inline; margin-right: 8px; }
}