/* Shared orgsite section navigation. Keep the menu above the overlapping hero.
 * Legacy themes use important rules, so this opt-in component owns its layout and colors. */
:root .sub-nav-container.orgsite-subnav {
    position: relative !important; z-index: 20 !important; margin: -30px auto 50px !important; padding: 0 !important;
}
:root .sub-nav-container.orgsite-subnav .sub-nav {
    position: relative !important; width: calc(100% - 48px) !important; max-width: 1060px !important; min-width: 0 !important;
    margin: 0 auto !important; padding: 0 !important; background: #fff !important; border: 0 !important; border-radius: 8px !important;
    box-shadow: 0 5px 15px rgb(0 0 0 / 10%) !important; overflow: hidden !important;
}
:root .sub-nav-container.orgsite-subnav .sub-nav > ul {
    display: flex !important; flex-wrap: wrap !important; justify-content: center !important; align-items: stretch !important;
    width: 100% !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important; list-style: none !important; gap: 0 !important;
}
:root .sub-nav-container.orgsite-subnav .sub-nav > ul > li {
    position: relative !important; display: flex !important; flex-direction: column !important; flex: 1 1 auto !important;
    min-width: 0 !important; width: auto !important; max-width: 100% !important; margin: 0 !important; padding: 0 !important; text-align: center !important;
    background: transparent !important; border: 0 !important;
}
:root .sub-nav-container.orgsite-subnav .sub-nav > ul > li::after { display: none !important; }
:root .sub-nav-container.orgsite-subnav .sub-nav > ul > li > a {
    display: flex !important; flex: 1 !important; align-items: center !important; justify-content: center !important;
    min-height: 56px !important; height: auto !important; margin: 0 !important; padding: 14px 18px !important;
    color: var(--text-main, #333) !important; background: transparent !important; border: 0 !important; border-radius: 0 !important;
    font-family: inherit !important; font-size: 16px !important; font-weight: 500 !important; line-height: 1.5 !important;
    white-space: normal !important; word-break: keep-all !important; overflow-wrap: anywhere !important;
    text-decoration: none !important; text-align: center !important; box-shadow: none !important;
    transition: background-color .15s, color .15s !important; touch-action: manipulation !important;
}
:root .sub-nav-container.orgsite-subnav .sub-nav > ul > li.active > a,
:root .sub-nav-container.orgsite-subnav .sub-nav > ul > li > a[aria-current="page"] {
    background: var(--main-color, #ff7f2a) !important; color: var(--orgsite-subnav-active-text, #fff) !important; font-weight: 700 !important;
}
:root .sub-nav-container.orgsite-subnav .sub-nav > ul > li:not(.active) > a:hover {
    background: var(--sub-color, #d65f16) !important; color: #fff !important;
}
:root .sub-nav-container.orgsite-subnav .sub-nav a:focus-visible {
    outline: 3px solid var(--text-main, #222) !important; outline-offset: -4px !important;
}
/* Nested section links remain available with a pointer or keyboard on desktop. */
:root .sub-nav-container.orgsite-subnav .sub-nav:has(.depth-3) { overflow: visible !important; }
:root .sub-nav-container.orgsite-subnav .sub-nav li.has-depth > .depth-3 {
    display: none !important; opacity: 1 !important; visibility: visible !important; transform: none !important; pointer-events: auto !important; position: absolute !important; z-index: 2 !important; top: 100% !important; left: 0 !important;
    width: max-content !important; min-width: 100% !important; max-width: min(360px, calc(100vw - 24px)) !important;
    margin: 0 !important; padding: 8px !important; list-style: none !important; background: #fff !important;
    border: 1px solid #eee !important; border-radius: 0 0 8px 8px !important; box-shadow: 0 5px 15px rgb(0 0 0 / 10%) !important;
}
:root .sub-nav-container.orgsite-subnav .sub-nav .has-depth:hover > .depth-3,
:root .sub-nav-container.orgsite-subnav .sub-nav .has-depth:focus-within > .depth-3 { display: block !important; }
:root .sub-nav-container.orgsite-subnav .sub-nav .depth-3 > li {
    display: block !important; position: relative !important; width: 100% !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important;
}
:root .sub-nav-container.orgsite-subnav .sub-nav .depth-3 > li::after { display: none !important; }
:root .sub-nav-container.orgsite-subnav .sub-nav .depth-3 a {
    display: flex !important; align-items: center !important; justify-content: center !important; min-height: 44px !important;
    padding: 10px 12px !important; font-size: 14px !important; line-height: 1.5 !important; white-space: normal !important;
    word-break: keep-all !important; overflow-wrap: anywhere !important; text-decoration: none !important;
}
@media (max-width: 768px) {
    :root .sub-nav-container.orgsite-subnav { margin-bottom: 36px !important; }
    :root .sub-nav-container.orgsite-subnav .sub-nav { width: calc(100% - 24px) !important; overflow-x: hidden !important; }
    :root .sub-nav-container.orgsite-subnav .sub-nav > ul { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; grid-auto-columns: auto !important; }
    :root .sub-nav-container.orgsite-subnav .sub-nav > ul > li > a { min-height: 52px !important; padding: 12px 10px !important; font-size: 14px !important; }
    :root .sub-nav-container.orgsite-subnav .sub-nav li.has-depth > .depth-3 {
        display: block !important; opacity: 1 !important; visibility: visible !important; transform: none !important; position: static !important; width: 100% !important; max-width: none !important; min-width: 0 !important;
        margin: 0 !important; padding: 0 !important; border: 0 !important; border-top: 1px solid #eee !important; border-radius: 0 !important; box-shadow: none !important;
    }
    :root .sub-nav-container.orgsite-subnav .sub-nav .has-depth > a { flex: 0 0 auto !important; }
    :root .sub-nav-container.orgsite-subnav .sub-nav .depth-3 a { font-size: 13px !important; }
    :root .sub-nav-container.orgsite-subnav .sub-nav li.has-depth > .depth-3::before { display: none !important; }
}
@media (max-width: 480px) {
    :root .sub-nav-container.orgsite-subnav .sub-nav > ul { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* NODL's yellow brand needs the same dark selected text as its existing menus. */
:root .nodl-page .sub-nav-container.orgsite-subnav { --orgsite-subnav-active-text: #242424 !important; }
:root .nodl-page .sub-nav-container.orgsite-subnav .sub-nav > ul > li:not(.active) > a:hover {
    background: var(--main-color, #ffde00) !important; color: #242424 !important;
}

/* Leave breathing room between the section tabs and their bottom rule. */
:root .sub-nav-container.orgsite-subnav {
    padding-bottom: 16px !important;
}
@media (max-width: 640px) {
    :root .sub-nav-container.orgsite-subnav {
        padding-bottom: 12px !important;
    }
}

/* Public breadcrumbs: a visible home icon with the existing accessible link name. */
:root nav.breadcrumb[aria-label="현재 위치"] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    color: #50625c;
    font-size: .8125rem;
}
:root nav.breadcrumb[aria-label="현재 위치"] > a { color: inherit; }
:root nav.breadcrumb[aria-label="현재 위치"] > a[aria-label="홈"] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    visibility: visible !important;
    min-width: 16px;
    min-height: 24px;
    font-size: 0 !important;
}
:root nav.breadcrumb[aria-label="현재 위치"] > a[aria-label="홈"]::before {
    content: "";
    width: 16px;
    height: 16px;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 10 9-7 9 7v10H3zM9 20v-7h6v7'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Shared public-page widths for the Freewel and JGcil development sites. */
:root :is(.sub-visual .breadcrumb-container, .sub-nav-container.orgsite-subnav .sub-nav) {
    box-sizing: border-box;
    width: min(calc(100% - 44px), 1060px) !important;
    max-width: 1060px;
}
:root .sub-visual .breadcrumb-container { padding-inline: 0; }
:root .sub-visual .page-title {
    box-sizing: border-box;
    width: min(calc(100% - 44px), 1060px);
    text-align: left;
}
:root body:has(.sub-visual) .board-wrapper { padding-inline: 0; }
:root body:has(.sub-visual) :is(.content-page-wrap, .board-container) {
    box-sizing: border-box;
    width: min(calc(100% - 44px), 1000px);
    max-width: 1000px;
    margin-inline: auto;
    padding-inline: 0;
}
@media (min-width: 1101px) {
    :root body:has(.sub-visual) .header .main-nav {
        --public-title-clearance: calc(max(22px, (100vw - 1060px) / 2) + 275px);
        min-width: 0;
        justify-content: flex-end;
    }
    :root body:has(.sub-visual) .header :is(.main-menu, .all-submenu) {
        width: min(100%, 1000px, calc(100vw - var(--public-title-clearance) - 195px));
    }
    :root body:has(.sub-visual) .header .main-menu { min-width: 0; }
    :root body:has(.sub-visual) .header .main-menu > li > a {
        padding-inline: .4rem;
        white-space: nowrap;
    }
    :root body:has(.sub-visual) .header .all-submenu {
        left: auto;
        right: 0;
        transform: none;
    }
}

@media (min-width: 1101px) {
    :root body:has(.sub-visual) .header :is(.main-menu, .all-submenu) {
        width: min(100%, 1000px, calc(100vw - var(--public-title-clearance) - 300px));
    }
    :root .sub-visual .page-title {
        padding-inline-end: min(70%, calc(min(calc(100vw - 44px), 1060px) - 300px));
        word-break: keep-all;
        overflow-wrap: anywhere;
    }
    :root .sub-visual .breadcrumb { max-width: 300px; }
}

/* Public button and selected-tab contrast on the orange theme. */
:root :is(button.login-btn, .gallery-search-wrapper button.search-button, a.data-card-view-btn,
    .board-pagination a.active, .board-pagination .active > a,
    .data-pagination a.active, .data-pagination .active > a,
    .gallery-pagination-wrapper .active > a, .gallery-pagination-wrapper .active > span),
:root .sub-nav-container.orgsite-subnav .sub-nav > ul > li.active > a {
    color: #24170e !important;
    background-color: #ff9a53 !important;
}
:root :is(button.login-btn, .gallery-search-wrapper button.search-button, a.data-card-view-btn):hover,
:root :is(button.login-btn, .gallery-search-wrapper button.search-button, a.data-card-view-btn):focus-visible {
    background-color: #ffab73 !important;
}
:root :is(button.login-btn, .gallery-search-wrapper button.search-button, a.data-card-view-btn):focus-visible {
    outline: 2px solid #63300d;
    outline-offset: 3px;
}

/* orgsite-header-fit */
@media (min-width:1101px) {
    :root body .header .main-nav { flex: 1 1 auto; min-width: 0; }
    :root body .header .main-menu {
        width: 100%;
        min-width: 0;
        gap: 4px;
        justify-content: flex-end;
    }
    :root body .header .main-menu > li { flex: 0 1 auto; min-width: max-content; }
    :root body .header .main-menu > li > a {
        width: auto;
        box-sizing: border-box;
        padding-inline: clamp(8px, 1vw, 16px);
        white-space: nowrap;
        font-size: 16px;
    }
    :root body .header .all-submenu { width: min(100%, 1000px); right: 0; left: auto; transform: none; }
}
@media (min-width:1101px) and (max-width:1280px) {
    :root body .header .main-menu > li > a { padding-inline: 7px; font-size: 14px; }
}


/* Shared desktop navigation: the menu owns the available width, account controls never collapse. */
@media(min-width:1101px){
:root body .header.header .header-container{gap:22px}
:root body .header.header .logo{flex:0 0 auto;max-width:180px}
:root body .header.header .main-nav{flex:1 1 auto;min-width:0;justify-content:center;position:relative}
:root body .header.header .main-menu{width:100%!important;max-width:none;gap:6px;display:flex;justify-content:space-between}
:root body .header.header .main-menu>li{flex:1 1 auto;min-width:0;justify-content:center}
:root body .header.header .main-menu>li>a{width:100%;padding-inline:10px;white-space:nowrap;font-size:16px;justify-content:center}
:root body .header.header .user-menu{flex:0 0 auto;margin-left:0}
:root body .header.header .login-status{display:flex;align-items:center;gap:10px}
:root body .header.header .menu-toggle{flex:0 0 32px;margin-left:0}
:root body .header.header .all-submenu{width:100%!important;right:0;left:auto;transform:none}
}
@media(min-width:1101px) and (max-width:1280px){:root body .header.header .header-container{gap:12px}:root body .header.header .main-menu>li>a{font-size:14px;padding-inline:6px}:root body .header.header .logo{max-width:135px}}
@media(max-width:1100px){:root body .header.header .login-status{display:flex;gap:8px;align-items:center}}
@media(min-width:1101px){
:root body .header.header .header-container{max-width:1600px;width:calc(100% - 48px);padding-inline:0}
:root body .header.header .main-menu{justify-content:space-evenly}
:root body .header.header .all-submenu{position:fixed;top:80px;left:50%;right:auto;transform:translateX(-50%);width:min(1180px,calc(100vw - 64px))!important;max-width:none}
:root body .header.header .all-submenu-container{width:100%;max-width:none;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));padding:24px 12px;gap:0}
:root body .header.header .submenu-group{width:auto;min-width:0;padding:0 12px}
:root body .header.header .submenu-group a{word-break:keep-all;overflow-wrap:normal;line-height:1.65;padding:10px 2px}
}


/* Centre the page title inside both hero and plain subpage headers. */
:root body .sub-visual .page-title{width:100%!important;text-align:center!important;left:0!important;right:0!important;margin-left:auto!important;margin-right:auto!important;transform:none!important}
@media(max-width:1100px){:root body .sub-visual .breadcrumb-wrap{left:0!important;right:0!important;box-sizing:border-box}}

/* JGCIL: all public subpages use the menu-managed hero photo (2026-11-14). */
:root body:has(.header.header) .sub-visual.sub-visual{position:relative!important;height:450px!important;min-height:450px!important;width:100%!important;margin:0!important;padding:0!important;border:0!important;overflow:visible!important;background:#425459!important}
:root body:has(.header.header) .sub-visual.sub-visual .sub-visual-img{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;overflow:hidden}
:root body:has(.header.header) .sub-visual.sub-visual .sub-visual-img img{display:block;width:100%!important;height:100%!important;object-fit:cover;object-position:center}
:root body:has(.header.header) .sub-visual.sub-visual .sub-visual-img:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.12),rgba(0,0,0,.28));pointer-events:none}
:root body:has(.header.header) .sub-visual.sub-visual .breadcrumb-wrap{position:relative!important;inset:auto!important;transform:none!important;width:calc(100% - 40px)!important;max-width:1060px!important;height:100%!important;margin:0 auto!important;padding:0!important;background:none!important;z-index:1}
:root body:has(.header.header) .sub-visual.sub-visual .breadcrumb-container{position:absolute!important;left:0!important;top:24px!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
:root body:has(.header.header) .sub-visual.sub-visual .breadcrumb{display:inline-flex!important;align-items:center;gap:8px;max-width:100%!important;flex-wrap:wrap;padding:8px 14px!important;border-radius:20px!important;background:rgba(0,0,0,.48)!important;color:white!important;font-size:13px!important}
:root body:has(.header.header) .sub-visual.sub-visual .breadcrumb :is(a,span,svg){color:white!important}
:root body:has(.header.header) .sub-visual.sub-visual .page-title{position:absolute!important;left:0!important;right:0!important;top:50%!important;bottom:auto!important;width:100%!important;max-width:none!important;margin:0!important;padding:0 16px!important;box-sizing:border-box;transform:translateY(-50%)!important;text-align:center!important;color:white!important;font-size:40px!important;line-height:1.3!important;text-shadow:0 2px 10px rgba(0,0,0,.55)!important;opacity:1!important;word-break:keep-all}
:root body:has(.header.header) .sub-visual.sub-visual .sub-visual-credit{display:block!important;position:absolute;right:18px;bottom:40px;z-index:2;background:rgba(0,0,0,.55);color:white;padding:5px 8px;font-size:11px;border-radius:3px}
:root body:has(.header.header) .sub-nav-container.orgsite-subnav{position:relative!important;top:auto!important;left:auto!important;right:auto!important;transform:none!important;width:calc(100% - 40px)!important;max-width:1060px!important;height:auto!important;margin:-30px auto 36px!important;padding:0!important;z-index:3}
:root body:has(.header.header) .sub-nav-container.orgsite-subnav .sub-nav{width:100%!important;margin:0!important;max-width:none!important}
@media(max-width:700px){:root body:has(.header.header) .sub-visual.sub-visual{height:260px!important;min-height:260px!important}:root body:has(.header.header) .sub-visual.sub-visual .page-title{font-size:28px!important}:root body:has(.header.header) .sub-visual.sub-visual .breadcrumb-container{top:16px!important}:root body:has(.header.header) .sub-visual.sub-visual .breadcrumb{font-size:11px!important;gap:6px;padding:7px 10px!important}:root body:has(.header.header) .sub-visual.sub-visual .sub-visual-credit{right:14px;bottom:28px}:root body:has(.header.header) .sub-nav-container.orgsite-subnav{margin:-18px auto 28px!important}}
@media(max-width:700px){:root body .pagination{max-width:100%;flex-wrap:wrap;justify-content:center;gap:5px}:root body .pagination .page-item{margin:0}}

/* Keep each desktop submenu column directly below its parent. */
@media (min-width: 1101px) {
    :root body .header.header .main-nav {
        max-width: 1180px;
    }

    :root body .header.header .main-menu,
    :root body .header.header .all-submenu-container {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 0;
        padding-inline: 0;
        box-sizing: border-box;
    }

    :root body .header.header .main-menu > li > a {
        box-sizing: border-box;
        padding-inline: 4px;
    }

    :root body .header.header .all-submenu {
        position: absolute;
        inset: 100% 0 auto;
        transform: none;
        width: 100% !important;
    }

    :root body .header.header .submenu-group {
        padding-inline: 8px;
    }

    :root body .header.header .submenu-group a {
        overflow-wrap: anywhere;
    }
}

/* The home link already has an SVG on the development site. */
:root nav.breadcrumb[aria-label="현재 위치"] > a[aria-label="홈"]:has(svg)::before {
    content: none;
}

/* The parent and current page share /intro. */
:root nav.breadcrumb > a[href="/intro"]:not([aria-current]):has(+ span + a[href="/intro"][aria-current="page"]),
:root nav.breadcrumb > a[href="/intro"]:not([aria-current]) + span:has(+ a[href="/intro"][aria-current="page"]) {
    display: none;
}

/* Match the overlay's visual state to its open state on public pages. */
:root body #menuOverlay:not(.hidden) {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* JGCIL employment pages */
.job-photo-slider {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    column-gap: clamp(6px, 1vw, 12px);
    align-items: center;
}

.job-photo-slider > h2 {
    grid-column: 1 / -1;
}

.job-photo-slider .job-photo-track {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
}

.job-photo-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 24px) / 3);
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.job-photo-track > :is(figure, a) {
    scroll-snap-align: start;
}

.job-photo-track img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
}

.job-photo-controls {
    display: contents;
}

.job-photo-controls button:first-child {
    grid-column: 1;
}

.job-photo-controls button:last-child {
    grid-column: 3;
}

.job-photo-controls button {
    width: 44px;
    height: 44px;
    grid-row: 2;
    border: 1px solid #dec413;
    border-radius: 50%;
    background: #ffe229;
    color: #432918;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.editorial-jobs section:has(.job-activity-columns) {
    width: 100%;
}

.editorial-jobs .job-activity-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.editorial-jobs .editorial-programs.job-activity-columns > div + div {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

@media (max-width: 720px) {
    .job-photo-track {
        grid-auto-columns: 100%;
    }

    .editorial-jobs .job-activity-columns {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Keep linked activity photos in a single row with their captions. */
.institution-editorial .job-photo-track.editorial-records {
    grid-template-columns: none;
    gap: 12px;
}

.job-photo-track.editorial-records > a {
    min-width: 0;
    scroll-snap-align: start;
}

/* Consistent reading layout for the JGCIL program pages. */
.content-page-wrap:has(.institution-editorial.business-editorial) {
    width: min(calc(100% - 40px), 1100px);
    padding-top: clamp(20px, 3vw, 40px);
}

.institution-editorial.business-editorial {
    --editorial-ink: #26312f;
    --editorial-accent: #344d44;
    --editorial-line: #e2e6e2;
    --editorial-space: clamp(40px, 6vw, 72px);
    font-size: 17px;
    line-height: 1.9;
}

.institution-editorial.business-editorial .job-photo-slider > h2 {
    font-size: 18px;
    font-weight: 650;
    letter-spacing: -.02em;
    margin-bottom: 18px;
    color: #53625a;
}

.institution-editorial.business-editorial .job-photo-track {
    align-items: start;
    padding-bottom: 4px;
    overflow-anchor: none;
}

.institution-editorial.business-editorial .job-photo-track img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
    margin: 0;
}

.institution-editorial.business-editorial .job-photo-track > a {
    display: block;
    padding: 0;
    border: 0;
    color: #34423a;
    text-decoration: none;
}

.institution-editorial.business-editorial .job-photo-track > a > span {
    display: block;
    padding: 14px 2px 0;
    font-size: 15px;
    font-weight: 550;
    line-height: 1.65;
}

.institution-editorial.business-editorial .job-photo-track > a:hover > span {
    text-decoration: none;
    color: #98501e;
}

.institution-editorial.business-editorial .job-photo-controls button {
    border-radius: 8px;
    box-shadow: 0 2px 5px #33280012;
    transition: background-color .15s ease;
}

.institution-editorial.business-editorial .job-photo-controls button:hover {
    background: #ffed65;
}

.institution-editorial.business-editorial :is(button, a, [tabindex]):focus-visible {
    outline: 3px solid #365e8b;
    outline-offset: 4px;
}

.institution-editorial.business-editorial > .editorial-prose {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(180px, .8fr) minmax(0, 2fr);
    column-gap: clamp(24px, 5vw, 64px);
    align-items: start;
}

.institution-editorial.business-editorial > .editorial-prose:has(> .editorial-procedure) {
    grid-template-columns: minmax(7.5rem, 14%) minmax(0, 1fr);
    column-gap: clamp(1.25rem, 3vw, 2rem);
}

.institution-editorial.business-editorial > .editorial-prose > h2 {
    grid-column: 1;
    grid-row: 1 / span 30;
    font-size: clamp(23px, 2.3vw, 30px);
    letter-spacing: -.04em;
    line-height: 1.5;
    margin: 0;
}

.institution-editorial.business-editorial > .editorial-prose > :not(h2) {
    grid-column: 2;
    min-width: 0;
}

.institution-editorial.business-editorial .editorial-programs h3 {
    font-size: 21px;
    margin-bottom: 12px;
}

.institution-editorial.business-editorial .editorial-programs > div + div {
    margin-top: 28px;
    padding-top: 28px;
}

.institution-editorial.business-editorial .job-activity-columns {
    display: block;
}

.institution-editorial.business-editorial .editorial-programs.job-activity-columns > div + div {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--editorial-line);
}

.institution-editorial.business-editorial .editorial-programs ul {
    padding-left: 1.15em;
}

.institution-editorial.business-editorial .editorial-programs li::marker {
    color: #b06028;
}

.institution-editorial.business-editorial > .editorial-prose:last-child:has(h2 + p):not(:first-child) {
    padding-bottom: 12px;
}

@media (max-width: 720px) {
    .institution-editorial.business-editorial {
        font-size: 16px;
        line-height: 1.85;
    }

    .institution-editorial.business-editorial > .editorial-prose {
        display: block;
    }

    .institution-editorial.business-editorial > .editorial-prose > h2 {
        margin-bottom: 22px;
    }

    .institution-editorial.business-editorial .job-photo-slider {
        grid-template-columns: 36px minmax(0, 1fr) 36px;
        column-gap: 6px;
    }

    .institution-editorial.business-editorial .job-photo-controls button {
        width: 36px;
        height: 44px;
    }
}


/* The carousel moves the entire photo strip using a composited transform. */
.institution-editorial.business-editorial .job-photo-track.slick-initialized {
    display: block;
    overflow: visible;
    padding: 0;
    scroll-snap-type: none;
}

.job-photo-track .slick-list {
    overflow: hidden;
    margin: 0 -6px;
    padding: 6px 0 12px;
}

.job-photo-track .slick-track {
    display: flex;
    align-items: flex-start;
    will-change: transform;
}

.institution-editorial.business-editorial .job-photo-track .slick-slide {
    float: none;
    height: auto;
    margin: 0 6px;
    min-width: 0;
    padding: 0;
    border: 0;
    color: #34423a;
    text-decoration: none;
}

.institution-editorial.business-editorial .job-photo-track a,
.institution-editorial.business-editorial .job-photo-track a:hover,
.institution-editorial.business-editorial .job-photo-track a span {
    text-decoration: none;
}

.institution-editorial.business-editorial .job-photo-track a span {
    display: block;
    padding: 14px 2px 0;
    font-size: 15px;
    line-height: 1.65;
    transition: color .2s ease;
}

.institution-editorial.business-editorial .job-photo-track a img {
    transition: filter .25s ease, box-shadow .25s ease;
}

@media (hover: hover) {
    .institution-editorial.business-editorial .job-photo-track a:hover img {
        filter: brightness(1.06);
        box-shadow: 0 5px 10px #26312f26;
    }

    .institution-editorial.business-editorial .job-photo-track a:hover span {
        color: #98501e;
    }
}

.job-photo-controls button.slick-arrow {
    position: static;
    transform: none;
    font-family: inherit;
    font-size: 28px;
    color: #432918;
    background: #ffe229;
}

.job-photo-controls button.slick-arrow::before {
    content: none;
}

.business-editorial .editorial-split figure img {
    width: 100%;
    border-radius: 8px;
}

.institution-editorial.business-editorial .editorial-procedure h4 {
    font-size: 18px;
    line-height: 1.65;
}

.institution-editorial.business-editorial .editorial-procedure h5 {
    margin-top: 24px;
    font-size: 16px;
}

.business-editorial .editorial-statement {
    font-size: clamp(22px, 2.8vw, 34px);
    line-height: 1.5;
    overflow-wrap: anywhere;
}

@media (prefers-reduced-motion: reduce) {
    .institution-editorial.business-editorial .job-photo-track a :is(img, span) {
        transition: none;
    }
}

/* JGCIL public content follows the standard Orgsite 1000px reading width. */
:root body :is(main.content-page-wrap, main.history-wrapper, main.org-diagram-page, .board-wrapper, body > .detail-board-browser),
:root body.mainBody :is(.news-section, .gallery-section, .partners-section) > .container {
    box-sizing: border-box !important;
    width: min(calc(100% - 44px), 1000px) !important;
    max-width: 1000px !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
    min-width: 0;
}
:root body .board-wrapper > .board-container,
:root body.mainBody .gallery-section .gallery-container {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
}
/* Keep the introduction first; shorten only the gap after the photo slider. */
:root body .institution-editorial.business-editorial > .job-photo-slider + .editorial-section {
    margin-top: 40px;
    padding-top: 24px;
}
@media (max-width: 720px) {
    :root body .institution-editorial.business-editorial > .job-photo-slider + .editorial-section {
        margin-top: 24px;
        padding-top: 20px;
    }
}

/* JGCIL membership and CMS application, restored from the original support page. */
.institution-editorial .support-intro {margin-bottom:40px}
.institution-editorial .support-intro h2 {margin-bottom:20px}
.jgcil-support-form {width:100%;margin-block:0 64px;font-size:16px}
.jgcil-support-form .support-section {border:0;border-top:1px solid #dfe5df;margin:36px 0 0;padding:28px 0 0;min-width:0}
.jgcil-support-form .support-section > legend {padding:0 20px 0 0;font-size:24px;font-weight:700;color:#26312f}
.jgcil-support-form .support-fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 32px;margin-top:12px}
.jgcil-support-form .support-field {display:flex;flex-direction:column;gap:10px;min-width:0;font-weight:600}
.jgcil-support-form .support-wide {grid-column:1 / -1}
.jgcil-support-form b,.support-required b {color:#a44722}
.jgcil-support-form input:not([type=radio]):not([type=checkbox]),.jgcil-support-form select {box-sizing:border-box;width:100%;min-width:0;min-height:48px;padding:11px 13px;border:1px solid #bac5be;border-radius:6px;background:#fff;color:#26312f;font:inherit;font-weight:400}
.jgcil-support-form input:focus,.jgcil-support-form select:focus,.jgcil-support-form button:focus-visible,.jgcil-support-form summary:focus-visible {outline:3px solid #d9a952;outline-offset:3px}
.jgcil-support-form .support-choices {border:0;padding:0;margin:0;min-width:0}
.jgcil-support-form .support-choices legend {font-size:16px;font-weight:600;margin-bottom:13px}
.jgcil-support-form .support-choices label {display:inline-flex;align-items:center;gap:8px;margin-right:20px;min-height:36px}
.jgcil-support-form input:is([type=checkbox],[type=radio]) {width:19px;height:19px;accent-color:#3e6958;flex-shrink:0}
.jgcil-support-form .support-note,.jgcil-support-form .support-required {font-size:14px;color:#56635d;margin:0;line-height:1.8}
.jgcil-support-form .support-privacy {margin:12px 0 24px;padding:18px 20px;border:1px solid #dfe5df;border-radius:6px}
.jgcil-support-form .support-privacy summary {cursor:pointer;font-weight:650}
.jgcil-support-form .support-privacy h3 {font-size:18px;margin-top:24px}
.jgcil-support-form .support-privacy li,.jgcil-support-form .support-privacy p {font-size:14px}
.jgcil-support-form .support-agree {display:flex;align-items:flex-start;gap:10px}
.jgcil-support-form .support-agree input {margin-top:5px}
.jgcil-support-form .support-signature {margin:28px 0}
.jgcil-support-form .support-signature h3 {font-size:18px;margin:0 0 8px}
.jgcil-support-form .support-signature p {font-size:14px;color:#56635d;margin-bottom:12px}
.jgcil-support-form canvas {display:block;box-sizing:border-box;width:100%;max-width:600px;aspect-ratio:3/1;border:1px solid #bac5be;border-radius:6px;background:#fff;touch-action:none}
.jgcil-support-form button {font:inherit;cursor:pointer;border-radius:6px}
.jgcil-support-form .support-clear {margin-top:10px;padding:8px 16px;border:1px solid #bac5be;background:#fff;color:#344d44}
.jgcil-support-form .support-submit {display:block;min-height:52px;padding:12px 32px;margin:20px auto 0;border:0;background:#355e4f;color:#fff;font-weight:650}
.jgcil-support-form button:disabled {opacity:.6;cursor:wait}
.jgcil-support-form .support-result {color:#a03922;font-weight:600;margin-top:20px}
.jgcil-support-form .support-result.is-success {color:#236644}
@media(max-width:720px){.jgcil-support-form .support-fields{grid-template-columns:minmax(0,1fr);gap:22px}.jgcil-support-form .support-section>legend{font-size:21px}.jgcil-support-form .support-submit{width:100%}.jgcil-support-form .support-privacy{padding:16px}.jgcil-support-form canvas{aspect-ratio:3/1}}
