:root[data-intl-font-size="small"] { font-size: 90%; --intl-font-scale: 0.9; }
:root[data-intl-font-size="normal"] { font-size: 100%; --intl-font-scale: 1.0; }
:root[data-intl-font-size="little-big"] { font-size: 110%; --intl-font-scale: 1.1; }
:root[data-intl-font-size="big"] { font-size: 120%; --intl-font-scale: 1.2; }
:root[data-intl-font-size="biggest"] { font-size: 130%; --intl-font-scale: 1.3; }

.intl-page,
.intl-page * {
    box-sizing: border-box;
}

.intl-page {
    --intl-content-max-width: 1440px;
    margin: 0;
    color: #172033;
    background: #fff;
    /* font-family 는 intl-fonts.css 가 html[lang] 별로 지정 */
    font-size: 1rem;
    line-height: 1.5;
}

.intl-page [hidden] {
    display: none !important;
}

.intl-page a {
    color: inherit;
    text-decoration: none;
}

.intl-page button,
.intl-page input,
.intl-page select {
    font: inherit;
}

.intl-shell {
    width: calc(100% - 60px);
    max-width: var(--intl-content-max-width);
    margin-inline: auto;
}

/* 국문 .w_custom과 같은 화면 폭별 여백을 사용한다. */
@media (min-width: 1441px) and (max-width: 1680px) {
    .intl-main .intl-shell,
    .intl-sub-main .intl-shell {
        width: calc(100% - 192px);
    }
}

@media (max-width: 860px) {
    .intl-shell {
        width: calc(100% - 30px);
    }
}

@media (max-width: 320px) {
    .intl-shell {
        width: calc(100% - 20px);
    }
}

.intl-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.intl-skip {
    position: fixed;
    inset-block-start: -80px;
    inset-inline-start: 24px;
    z-index: 9999;
    padding: 12px 20px;
    color: #fff !important;
    background: #0a4f9e;
    border-radius: 0 0 8px 8px;
}

.intl-skip:focus {
    inset-block-start: 0;
}

.intl-header {
    position: relative;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #d9e1ec;
}

.intl-header__top {
    position: relative;
    z-index: 2;
    min-height: 108px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.intl-header__logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    width: 13.5rem;
}

.intl-header__logo img {
    display: block;
    width: 100%;
    height: auto;
}

.intl-header__utilities {
    display: flex;
    align-items: center;
    gap: 12px;
}

.intl-select {
    min-width: 184px;
    min-height: 44px;
    padding: 0 42px 0 14px;
    color: #2d3748;
    background: #fff;
    border: 1px solid #aeb9c8;
    border-radius: 4px;
}

[dir="rtl"] .intl-select {
    padding: 0 14px 0 42px;
}

/*
    헤더 언어 선택 — 브라우저 기본 화살표 대신 GNB·화면크기와 같은 꺽쇠를 쓴다.
    select 에는 가상요소를 못 붙여서 배경 SVG 로 그린다(색은 .intl-select 글자색과 동일).
    본문 select 는 기본 화살표 그대로 두므로 헤더로 범위를 한정한다.
*/
.intl-header__utilities select.intl-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%3E%3Cpath%20d='M2.5,4.5L6,8L9.5,4.5'%20fill='none'%20stroke='%232d3748'%20stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

[dir="rtl"] .intl-header__utilities select.intl-select {
    background-position: left 15px center;
}

/* IE/구형 엣지 잔여 화살표 제거 */
.intl-header__utilities select.intl-select::-ms-expand {
    display: none;
}

.intl-size-control {
    position: relative;
}

.intl-size-control__toggle {
    position: relative;
    text-align: start;
    cursor: pointer;
}

/* 화면크기 — 접기/펼치기 꺽쇠. 열리면 위로 뒤집는다. */
.intl-size-control__toggle::after {
    content: "";
    position: absolute;
    inset-inline-end: 16px;
    inset-block-start: calc(50% - 5px);
    width: 7px;
    height: 7px;
    border-inline-end: 2px solid currentColor;
    border-block-end: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .15s ease;
}

.intl-size-control__toggle[aria-expanded="true"]::after {
    inset-block-start: calc(50% - 1px);
    transform: rotate(-135deg);
}

@media (prefers-reduced-motion: reduce) {
    .intl-size-control__toggle::after {
        transition: none;
    }
}

.intl-size-control__panel {
    position: absolute;
    inset-block-start: calc(100% + 8px);
    inset-inline-end: 0;
    z-index: 130;
    width: 230px;
    padding: 12px 0 0;
    background-color: #fff;
    opacity: 1;
    isolation: isolate;
    border: 1px solid #96a2b1;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(20, 38, 65, .16);
    overflow: hidden;
}

.intl-size-control__panel > button {
    display: block;
    width: 100%;
    padding: 9px 14px;
    text-align: start;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.intl-size-control__panel > button:hover,
.intl-size-control__panel > button.is-active,
.intl-size-control__panel > button:focus-visible {
    color: #0c59ad;
    background: #edf5ff;
    font-weight: 700;
}

.intl-size-control__reset {
    margin-top: 8px;
    padding: 12px;
    text-align: center;
    border-top: 1px solid #d8dee8;
}

.intl-size-control__reset button {
    min-width: 84px;
    padding: 6px 12px;
    background: #fff;
    border: 1px solid #7e8ca0;
    border-radius: 5px;
    cursor: pointer;
}

.intl-header__nav-wrap {
    background: #eaf3ff;
    border-block: 1px solid #bdd1ec;
}

.intl-header__nav-row {
    display: flex;
    align-items: stretch;
    min-height: 58px;
}

.intl-gnb {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    align-items: stretch;
}

.intl-gnb__item {
    position: relative;
}

.intl-gnb__link {
    position: relative;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    color: var(--gray-90);
    background: transparent;
    border: 0;
    font-weight: 400;
    text-align: center;
    cursor: pointer;
}

.intl-gnb__link:hover,
.intl-gnb__link:focus-visible {
    color: var(--primary-60);
    background: var(--primary-5);
}

.intl-gnb__link.is-active,
.intl-gnb__item--law > .intl-gnb__link[aria-expanded="true"] {
    color: var(--primary-60);
    background: var(--primary-5);
    font-weight: 700;
}

.intl-gnb__link.is-active::after,
.intl-gnb__item--law > .intl-gnb__link[aria-expanded="true"]::after {
    content: "";
    position: absolute;
    inset-inline: 24px;
    inset-block-end: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--primary-50);
}

/*
    강조는 한 번에 한 메뉴만.
    서브메뉴가 열려 있는 동안(.is-submenu-open — intl-main.js 가 토글)에는
    열린 메뉴가 강조를 가져가고, 현재 페이지 표시(.is-active)는 잠시 내린다.
    메뉴를 닫으면 현재 페이지 표시가 되돌아온다.
*/
.intl-gnb.is-submenu-open .intl-gnb__link.is-active:not([aria-expanded="true"]) {
    color: var(--gray-90);
    background: transparent;
    font-weight: 400;
}

.intl-gnb.is-submenu-open .intl-gnb__link.is-active:not([aria-expanded="true"])::after {
    content: none;
}

.intl-gnb__link--has-sub {
    gap: 8px;
}

/* 아래를 가리키는 캐럿(V). 열리면 위로 뒤집는다. */
.intl-gnb__caret {
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    margin-block-start: -3px;
    border-inline-end: 2px solid currentColor;
    border-block-end: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .15s ease;
}

.intl-gnb__link[aria-expanded="true"] .intl-gnb__caret {
    margin-block-start: 3px;
    transform: rotate(-135deg);
}

@media (prefers-reduced-motion: reduce) {
    .intl-gnb__caret {
        transition: none;
    }
}

.intl-gnb__submenu {
    position: absolute;
    inset-block-start: 100%;
    inset-inline-start: 0;
    z-index: 120;
    width: max(100%, 250px);
    padding: 10px;
    background: #fff;
    border: 1px solid #b6c8df;
    box-shadow: 0 14px 34px rgba(22, 47, 82, .16);
}

.intl-gnb__submenu a {
    display: block;
    padding: 11px 13px;
    border-radius: 5px;
}

.intl-gnb__submenu a:hover,
.intl-gnb__submenu a:focus-visible {
    color: #0759b3;
    background: #edf5ff;
}

.intl-header__actions {
    display: flex;
    align-items: stretch;
    border-inline-start: 1px solid #bdd1ec;
}

.intl-icon-button {
    position: relative;
    width: 58px;
    min-height: 58px;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.intl-icon-button:hover,
.intl-icon-button:focus-visible,
.intl-icon-button[aria-expanded="true"] {
    background: #dceaff;
}

.intl-icon-button--search span,
.intl-icon-button--search span::after {
    position: absolute;
    display: block;
    content: "";
}

/* 돋보기(원 18px + 손잡이)가 약 22px 박스라 버튼 가운데서 11px씩 당겨 맞춘다 */
.intl-icon-button--search span {
    width: 18px;
    height: 18px;
    inset: calc(50% - 11px) auto auto calc(50% - 11px);
    border: 2px solid #182335;
    border-radius: 50%;
}

.intl-icon-button--search span::after {
    width: 9px;
    height: 2px;
    inset: 15px auto auto 13px;
    background: #182335;
    transform: rotate(45deg);
}

.intl-icon-button--sitemap span,
.intl-icon-button--sitemap span::before,
.intl-icon-button--sitemap span::after {
    position: absolute;
    inset-inline: 16px;
    height: 2px;
    background: #182335;
    content: "";
}

.intl-icon-button--sitemap span { inset-block-start: calc(50% - 1px); }
.intl-icon-button--sitemap span::before { inset: -8px 0 auto; }
.intl-icon-button--sitemap span::after { inset: 8px 0 auto; }

.intl-header-search {
    padding-block: 20px;
    background: #f6f9fd;
    border-top: 1px solid #d8e2ef;
}

.intl-header-search__form {
    display: flex;
    gap: 8px;
}

.intl-header-search__form input {
    flex: 1;
    min-width: 0;
    height: 48px;
    padding-inline: 16px;
    border: 2px solid #2f78cb;
    border-radius: 6px;
}

.intl-header-search__form button {
    min-width: 108px;
    color: #fff;
    background: #1769bb;
    border: 0;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
}

.intl-sitemap {
    position: absolute;
    inset: 100% 0 auto;
    z-index: 110;
    padding-block: 30px 42px;
    background: #fff;
    border-top: 1px solid #dbe3ed;
    box-shadow: 0 18px 40px rgba(19, 41, 70, .18);
}

.intl-sitemap__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.intl-sitemap__heading h2 {
    margin: 0;
    font-size: 1.75rem;
}

.intl-sitemap__heading button {
    width: 42px;
    height: 42px;
    background: #fff;
    border: 1px solid #aeb9c8;
    border-radius: 50%;
    font-size: 1.7rem;
    cursor: pointer;
}

.intl-sitemap__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.intl-sitemap__grid section {
    padding: 20px;
    background: #f6f9fd;
    border-top: 3px solid #4a85c9;
}

.intl-sitemap__grid h3 {
    min-height: 3em;
    margin: 0 0 12px;
    font-size: 1.05rem;
}

.intl-sitemap__grid a {
    display: block;
    padding-block: 6px;
    color: #465469;
}

.intl-main {
    position: relative;
    padding-block: 54px 0;
    overflow-x: clip;
}

.intl-main::before {
    content: "";
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1920px;
    height: clamp(320px, 60vw, 820px);
    background: url('/CSP/pub/images/skin/main_pattern.png') no-repeat center top / auto 100%;
    pointer-events: none;
    z-index: 0;
}

@media (prefers-color-scheme: dark) {
    .intl-main::before {
        background: url('/CSP/pub/images/skin/main_pattern_wh.png') no-repeat center top / auto 100%;
    }
}

/*
    메인 장식 패턴(::before, z-index 0) 위에 본문만 올린다.
    헤더의 .intl-shell 까지 쌓임 문맥을 만들면 화면크기 패널이
    GNB 검색/사이트맵 아이콘 아래로 깔려 뒤 화면이 비친다.
*/
.intl-main .intl-shell {
    position: relative;
    z-index: 1;
}


.intl-hero {
    --intl-trending-width: clamp(400px, 42vw, 464px);
    --intl-hero-gap: clamp(20px, 2.5vw, 32px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--intl-trending-width);
    gap: var(--intl-hero-gap);
    align-items: start;
    margin-bottom: 58px;
}

@media (min-width: 1441px) {
    .intl-main {
        container-type: inline-size;
    }

    .intl-hero {
        /* 국문 기본 화면의 좌우 여백은 한쪽당 퀵메뉴 129px과 간격 36px이다. */
        --intl-search-width: calc(min(var(--intl-content-max-width), 100cqw - 2 * 165px)
            - var(--intl-trending-width) - var(--intl-hero-gap));
        display: flex;
        flex-wrap: wrap;
    }

    .intl-hero__search {
        flex: 0 0 min(100%, var(--intl-search-width));
        min-width: 0;
    }

    .intl-hero > .intl-trending {
        flex: 1 1 160px;
        min-width: 0;
        max-width: var(--intl-trending-width);
    }
}

.intl-search-box {
    position: relative;
}

.intl-search-box input {
    width: 100%;
    height: 60px;
    padding: 0 62px 0 18px;
    color: #1d2939;
    background: #fff;
    border: 2px solid #4b96e9;
    border-radius: 9px;
    outline: 0;
}

[dir="rtl"] .intl-search-box input {
    padding: 0 18px 0 62px;
}

.intl-search-box input:focus {
    border-color: #075bb8;
    box-shadow: 0 0 0 3px rgba(30, 112, 202, .16);
}

.intl-search-box button {
    position: absolute;
    inset-block: 0;
    inset-inline-end: 0;
    width: 58px;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.intl-search-box button span {
    position: absolute;
    width: 21px;
    height: 21px;
    inset: 17px auto auto 15px;
    border: 2px solid #172033;
    border-radius: 50%;
}

.intl-search-box button span::after {
    position: absolute;
    width: 10px;
    height: 2px;
    inset: 17px auto auto 15px;
    background: #172033;
    transform: rotate(45deg);
    content: "";
}

.intl-hot-keywords {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    min-width: 0;
    margin-top: 18px;
    overflow: visible;
}

.intl-hot-keywords strong {
    flex: 0 0 auto;
    padding: 8px 16px;
    color: #1767b9;
    background: #e9f3ff;
    border: 1px solid #94afd0;
    border-radius: 999px;
    font-size: .86rem;
}

.intl-hot-keywords a {
    max-width: 220px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: .88rem;
}

.intl-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.intl-section-heading h2 {
    margin: 0;
    font-size: 1.45rem;
    letter-spacing: -.02em;
}

.intl-section-heading > a {
    color: #4b596d;
    font-size: .9rem;
}

.intl-section-heading--compact {
    margin-bottom: 10px;
}

.intl-section-heading--compact h2 {
    font-size: 1.1rem;
}

.intl-trending ol {
    padding: 0;
    margin: 0;
    list-style: none;
    border-top: 1px solid #9ca8b8;
}

.intl-trending li {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 8px;
    align-items: center;
    min-height: 43px;
    border-bottom: 1px solid #d3d9e1;
    font-size: .9rem;
}

.intl-trending li a {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 600;
}


.intl-section {
    margin-bottom: 62px;
}

.intl-topic-panel {
    position: relative;
    padding: 24px 20px 20px;
    background: var(--bg-p10-50, #edf5ff);
    border: 1px solid var(--alpha-g20, #b8cde6);
    border-radius: 22px;
    box-shadow: 0 4px 20px rgba(18, 48, 88, 0.05);
}

.intl-topic-swipe-box {
    position: relative;
    padding-bottom: 12px;
}

.intl-topic-categories {
    display: flex;
    gap: 12px;
    overflow: visible;
    padding: 4px 2px 14px;
}

.intl-topic-category-track {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.intl-topic-category-track::-webkit-scrollbar {
    display: none;
}

.intl-topic-category {
    flex: 0 0 calc((100% - 60px) / 6);
    min-width: 110px;
    min-height: 140px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 4px 16px;
    margin: 0;
    background: transparent;
    border: 0;
    border-radius: var(--radius-16, 16px);
    text-align: center;
    cursor: pointer;
    font: inherit;
    color: #172033;
    transition: background-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.intl-topic-category--all {
    flex: 0 0 calc((100% - 60px) / 6);
    background: transparent;
}

.intl-topic-category-track .intl-topic-category {
    flex: 0 0 calc((100% - 48px) / 5);
}

.intl-topic-category__icon {
    width: 96px;
    height: 88px;
    display: grid;
    place-items: center;
    margin: 0 auto 10px;
    color: #22272d;
    background: transparent;
    border: 0;
    font-weight: 800;
    transition: transform .15s ease;
}

.intl-topic-category__icon img {
    display: block;
    width: 64px;
    height: 64px;
}

.intl-topic-category:hover .intl-topic-category__icon,
.intl-topic-category:focus-visible .intl-topic-category__icon,
.intl-topic-category--all:hover .intl-topic-category__icon,
.intl-topic-category.is-active .intl-topic-category__icon {
    transform: translateY(-2px);
}

.intl-topic-category.is-active {
    background: var(--gray-0, #fff);
    box-shadow: var(--shadow-03, 0 4px 14px rgba(36, 107, 235, 0.16));
}

.intl-topic-category:focus-visible {
    outline: 2px solid var(--primary-60, #246beb);
    outline-offset: 2px;
}

.intl-topic-category strong {
    display: block;
    width: 100%;
    min-height: 2.8em;
    padding-inline: 4px;
    font-size: .88rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
}

.intl-carousel__arrow[hidden] {
    display: none;
}

.intl-topic-controller {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: -6px;
    margin-bottom: 12px;
}

.intl-topic-pagination {
    display: flex;
    flex-wrap: wrap;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 32px;
}

/* 클릭 영역 24px 이상(KWCAG 12): 점 모양은 ::before로 그림 */
.intl-topic-pagination__dot {
    position: relative;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
}

.intl-topic-pagination__dot::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    width: 8px;
    height: 8px;
    background: var(--gray-0, #fff);
    border-radius: 999px;
    transition: width .15s ease, background-color .15s ease;
}

.intl-topic-pagination__dot.is-active::before {
    width: 22px;
    background: var(--primary-60, #246beb);
}

.intl-topic-pagination__dot:focus-visible {
    outline: 2px solid var(--primary-60, #246beb);
    outline-offset: 2px;
}

.intl-topic-ctrl-btn {
    /* 점이 많은 좁은 화면에서 버튼이 눌려 폭 2~12px로 찌그러지던 문제(axe target-size) — 줄어들지 않게 고정 */
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    /* 일시정지 막대(::before/::after)를 absolute 로 놓기 위한 기준 */
    position: relative;
    background: #fff;
    border: 1px solid #b8cde6;
    border-radius: 50%;
    cursor: pointer;
    color: #334155;
    transition: background-color .15s ease, border-color .15s ease;
}

.intl-topic-ctrl-btn:hover,
.intl-topic-ctrl-btn:focus-visible {
    background: #e9f2fd;
    border-color: #246beb;
    color: #0a51de;
}

/**
 * 컨트롤러 아이콘 — 국문 메인(pub/css/custom.css 의 .swipe_arw / .swipe_btn)과 같은 CSS 도형으로 그린다.
 *
 * 종전에는 문자 글리프(‹ › ❚❚ ▶)를 찍었는데, intl-fonts.css 가 언어마다 본문 폰트를 바꿔 끼우기
 * 때문에 같은 버튼이 언어별로 다른 모양·굵기로 나왔다. 글리프가 없는 폰트에서는 폴백으로 떨어져
 * 두부(□)가 되기도 한다. 도형은 폰트를 타지 않아 13개 언어에서 똑같이 그려진다.
 *
 * 국문 규칙을 그대로 쓰지 않고 여기에 옮겨 적은 것은, pub/css/custom.css 가 다국어 화면에
 * 로드되지 않기 때문이다(frag_intl_head 는 reset.css 만 읽는다).
 * 국문 컨트롤러 디자인이 바뀌면 이 블록도 함께 맞춘다.
 */

/* 셰브론(이전/다음) — 테두리 두 변으로 만든 꺾쇠. 방향은 아래에서 회전으로 정한다.

   ⚠ 국문 .swipe_arw 는 next 를 `scale: -1 -1` 로 뒤집지만 여기서는 쓰지 않는다 —
     .intl-carousel__arrow 에 `transform: translateY(-50%)` 가 걸려 있어, 개별 scale 속성이
     그 뒤에 적용되며 세로 정렬까지 함께 뒤집힌다(버튼이 위아래로 어긋난다).
     ::before 만 회전시키면 부모 transform 유무와 무관하게 안전하다. */
:is(.intl-topic-ctrl-btn--prev,
    .intl-topic-ctrl-btn--next,
    .intl-carousel__arrow)::before {
    content: "";
    width: 8px;
    height: 8px;
    border: 1px solid currentColor;
    border-width: 1px 1px 0 0;
}

/* 왼쪽(이전) */
:is(.intl-topic-ctrl-btn--prev, .intl-carousel__arrow--prev)::before,
[dir="rtl"] :is(.intl-topic-ctrl-btn--next, .intl-carousel__arrow--next)::before {
    rotate: -135deg;
    translate: 1px;
}

/* 오른쪽(다음) — RTL 은 읽기 방향이 반대라 두 버튼이 서로 바뀐다. */
:is(.intl-topic-ctrl-btn--next, .intl-carousel__arrow--next)::before,
[dir="rtl"] :is(.intl-topic-ctrl-btn--prev, .intl-carousel__arrow--prev)::before {
    rotate: 45deg;
    translate: -1px;
}



/* 일시정지 — 2px 막대 두 개 */
.intl-topic-ctrl-btn--pause::before,
.intl-topic-ctrl-btn--pause::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 9px;
    background: currentColor;
}

.intl-topic-ctrl-btn--pause::before { translate: -4px -50%; }
.intl-topic-ctrl-btn--pause::after  { translate: 2px -50%; }

/* 재생 — 테두리로 만든 삼각형.
   국문(.swipe_btn.play)은 absolute 기준에서 `-35% -50%` 로 보정하지만, 이 버튼은 grid 로
   가운데 놓이므로 그 값을 그대로 쓰면 중심에서 벗어난다. 꼭짓점이 오른쪽이라 무게가 왼쪽으로
   쏠리는 만큼(약 2px)만 밀어 국문과 같은 시각 중심을 만든다. */
.intl-topic-ctrl-btn--play::before {
    content: "";
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 10px solid currentColor;
    translate: 2px;
}

.intl-topic-dep02-box {
    background: #fff;
    border: 1px solid #8aa8ca;
    border-radius: 12px;
    overflow: hidden;
}

.intl-topic-dep02-box ul {
    display: none;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}

.intl-topic-dep02-box ul.is-active,
.intl-topic-dep02-box ul:not([hidden]) {
    display: grid;
}

.intl-topic-dep02-box li {
    min-height: 52px;
    display: flex;
    border-inline-end: 1px solid #d3e2f2;
    border-bottom: 1px solid #d3e2f2;
}

.intl-topic-dep02-box li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 8px 6px;
    text-align: center;
    font-size: .83rem;
    line-height: 1.25;
    color: #22272d;
    word-break: break-word;
}

.intl-topic-dep02-box li a:hover,
.intl-topic-dep02-box li a:focus-visible {
    color: #0758b1;
    background: #f1f7ff;
}

.intl-topic-law__more {
    background: var(--primary-20, #8bc4f5);
}

.intl-topic-law__more a {
    color: var(--secondary-70, #163f7a) !important;
    font-weight: 700;
}

.intl-topic-law__empty-slot {
    min-height: 52px;
    background: #fff;
    pointer-events: none;
}

.intl-topic-law__empty {
    grid-column: 1 / -1;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intl-topic-expand {
    display: block;
    min-width: 116px;
    margin: 14px auto -36px;
    padding: 7px 18px;
    color: #435066;
    background: #edf2f7;
    border: 1px solid #9aaabc;
    border-radius: 5px;
    cursor: pointer;
}

.intl-topic-expand[hidden] {
    display: none;
}

.intl-carousel {
    position: relative;
    padding-inline: 36px;
}

.intl-carousel__viewport {
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.intl-carousel__viewport::-webkit-scrollbar {
    display: none;
}

.intl-carousel__controller {
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.intl-carousel__controller[hidden] {
    display: none;
}

.intl-carousel__pagination {
    display: flex;
    flex-wrap: wrap;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* 클릭 영역 24px 이상(KWCAG 12): 점 모양은 ::before로 그림 */
.intl-carousel__dot {
    position: relative;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
}

.intl-carousel__dot::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    width: 8px;
    height: 8px;
    background: var(--gray-30, #c7cdd4);
    border-radius: 999px;
    transition: width .15s ease, background-color .15s ease;
}

.intl-carousel__dot.is-active::before {
    width: 22px;
    background: var(--primary-60, #246beb);
}

.intl-carousel__dot:focus-visible {
    outline: 2px solid var(--primary-60, #246beb);
    outline-offset: 2px;
}

.intl-card-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 48px) / 4);
    gap: 16px;
}

.intl-content-card {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    padding: 20px 18px;
    background: #fff;
    border: 1px solid rgba(18, 48, 88, 0.15);
    border-radius: 16px;
    transition: transform .15s ease, box-shadow .15s ease;
}

.intl-content-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(18, 48, 88, 0.08);
}

.intl-content-card:nth-child(4n+1) {
    background: var(--bn-yellow, rgba(255, 231, 180, 0.28));
    border-color: rgba(220, 180, 100, 0.45);
}

.intl-content-card:nth-child(4n+2) {
    background: var(--bn-red, rgba(255, 210, 204, 0.28));
    border-color: rgba(230, 160, 150, 0.45);
}

.intl-content-card:nth-child(4n+3) {
    background: var(--bn-green, rgba(194, 255, 194, 0.28));
    border-color: rgba(140, 215, 140, 0.45);
}

.intl-content-card:nth-child(4n+4) {
    background: var(--bn-mint, rgba(173, 246, 234, 0.28));
    border-color: rgba(120, 205, 190, 0.45);
}

@media (max-width: 1199px) {
    .intl-topic-categories,
    .intl-topic-category-track {
        gap: 10px;
    }
    .intl-topic-category--all {
        flex: 0 0 calc((100% - 30px) / 4);
    }
    .intl-topic-category-track .intl-topic-category {
        flex: 0 0 calc((100% - 20px) / 3);
    }
    .intl-topic-dep02-box ul {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .intl-topic-category--all {
        flex: 0 0 calc((100% - 20px) / 3);
        min-width: 90px;
    }
    .intl-topic-category-track .intl-topic-category {
        flex: 0 0 calc((100% - 10px) / 2);
        min-width: 90px;
    }
    .intl-topic-category__icon {
        width: 76px;
        height: 70px;
        border-radius: 12px;
    }
    .intl-topic-category__icon img {
        width: 50px;
        height: 50px;
    }
    .intl-topic-dep02-box ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.intl-content-card h3 {
    margin: 0 0 14px;
    font-size: 1rem;
    line-height: 1.35;
}

.intl-content-card p {
    display: -webkit-box;
    margin: 0 0 18px;
    color: #3d4858;
    overflow: hidden;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    font-size: .84rem;
    line-height: 1.4;
}

.intl-content-card > a {
    margin-top: auto;
    color: #2c3b50;
    font-size: .82rem;
}

.intl-content-card > a:hover,
.intl-content-card > a:focus-visible {
    color: #0759b3;
    text-decoration: underline;
}

.intl-content-card__badge {
    align-self: flex-start;
    max-width: 100%;
    margin-bottom: 24px;
    padding: 4px 24px;
    color: #fff;
    background: #3d7cc9;
    border-radius: 999px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: .75rem;
    font-weight: 700;
}

.intl-content-card--infographic h3 {
    font-size: 1.05rem;
}

.intl-carousel__arrow {
    position: absolute;
    inset-block-start: calc((100% - 48px) / 2);
    z-index: 2;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    padding: 0;
    color: #526174;
    background: #fff;
    border: 1px solid #8f98a6;
    border-radius: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.intl-carousel__arrow--prev { inset-inline-start: 0; }
.intl-carousel__arrow--next { inset-inline-end: 0; }



.intl-empty {
    min-height: 120px;
    display: grid;
    place-items: center;
    margin: 0;
    color: #637083;
    background: #f7f9fc;
    border: 1px dashed #bac4d1;
    border-radius: 10px;
}

.intl-language-bar {
    display: grid;
    grid-template-columns: repeat(13, minmax(0, 1fr));
    margin-top: 70px;
    padding: 18px 16px;
    background: #f0f4fa;
    border: 1px solid #cbd3de;
    border-radius: 14px;
}

.intl-language-bar a {
    min-width: 0;
    padding: 0 4px;
    text-align: center;
}

.intl-language-bar strong,
.intl-language-bar span {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.intl-language-bar strong {
    color: #516074;
    font-size: .85rem;
}

.intl-language-bar span {
    margin-top: 5px;
    color: #8a96a7;
    font-size: .7rem;
}

.intl-language-bar a.is-active strong {
    color: #0a54a7;
}

.intl-language-bar .intl-language-bar__current {
    display: inline-block;
    width: auto;
    margin-top: 5px;
    padding: 3px 8px;
    color: #fff;
    background: #0a54a7;
    border-radius: 999px;
    font-size: .68rem;
    line-height: 1.2;
}

/* ------------------------------------------------------------------
   다국어 개인정보처리방침 — UI-A-08-06-01
   ------------------------------------------------------------------ */
.intl-sub-main {
    min-height: 560px;
}

.intl-sub-heading {
    padding-block: 18px 10px;
    background: #e7f2ff;
}

.intl-breadcrumb {
    margin-block-start: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    color: #646e81;
    font-size: .78rem;
}

.intl-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: underline;
}

.intl-breadcrumb a:hover,
.intl-breadcrumb a:focus-visible {
    color: #2266df;
}

.intl-breadcrumb a img {
    width: 16px;
    height: 16px;
    opacity: .64;
}

.intl-breadcrumb > * + *::before {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin-inline-end: 7px;
    border-block: 4px solid transparent;
    border-inline-start: 6px solid #8a94a5;
}

/* 타이틀이 위, 브레드크럼이 아래 — 간격은 브레드크럼 쪽에 둔다 */
.intl-sub-heading h1 {
    margin: 0;
    color: #111827;
    font-size: 1.45rem;
    line-height: 1.25;
}

.intl-privacy {
    padding-block: 12px 52px;
}

.intl-privacy__content {
    padding: 26px 24px 8px;
    color: #273247;
    font-size: .88rem;
    line-height: 1.72;
}

.intl-privacy__content section + section {
    margin-top: 28px;
}

.intl-privacy__content h2 {
    margin: 0 0 10px;
    color: #2266df;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
}

.intl-privacy__content h3 {
    margin: 12px 0 4px;
    color: #26354d;
    font-size: .9rem;
    font-weight: 700;
}

.intl-privacy__content p,
.intl-privacy__content ul,
.intl-privacy__content ol,
.intl-privacy__content dl,
.intl-privacy__content dd {
    margin-block: 5px;
}

.intl-privacy__content ul,
.intl-privacy__content ol {
    padding-inline-start: 1.45rem;
}

.intl-privacy__content ul {
    list-style: disc;
}

.intl-privacy__content ol {
    list-style: decimal;
}

.intl-privacy__content li + li {
    margin-top: 3px;
}

.intl-privacy__content dt {
    margin-top: 10px;
    font-weight: 700;
}

.intl-privacy__content dd {
    margin-inline-start: 0;
}

/* 다국어 이용안내·조직도 — UI-A-08-07-01, UI-A-08-08-01 */
.intl-info__content {
    padding-block: 18px 60px;
    color: #273247;
    font-size: .88rem;
    line-height: 1.72;
}

.intl-info__content section + section {
    margin-top: 28px;
}

.intl-info__content h2 {
    margin: 0 0 10px;
    color: #2266df;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
}

.intl-info__content h3 {
    margin: 15px 0 5px;
    color: #26354d;
    font-size: .9rem;
    font-weight: 700;
}

.intl-info__content p,
.intl-info__content ul {
    margin-block: 5px;
}

.intl-info__content ul {
    padding-inline-start: 1.45rem;
    list-style: disc;
}

.intl-info__content li + li {
    margin-top: 4px;
}

.intl-info__content strong {
    color: #2266df;
}

.intl-info__table-wrap {
    margin-top: 16px;
    overflow-x: auto;
}

.intl-info__table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    border-top: 2px solid #246beb;
}

.intl-info__table caption {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.intl-info__table th,
.intl-info__table td {
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    text-align: left;
    vertical-align: top;
}

.intl-info__table thead th {
    color: #24344e;
    background: #edf4fc;
    text-align: center;
}

.intl-info__table tbody th {
    width: 22%;
    color: #334155;
    background: #f8fafc;
    font-weight: 700;
}

.intl-info__organization-chart {
    display: block;
    width: min(700px, 100%);
    height: auto;
    margin: 18px auto 0;
}

.intl-footer {
    margin-top: 26px;
    color: #d9e1ec;
    background: #25354a;
}

.intl-footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(.875rem, 2vw, 1.5rem);
    padding-block: 18px;
    border-bottom: 1px solid rgba(255,255,255,.18);
}

.intl-footer__nav > a {
    padding-inline: 4px;
    font-size: var(--text-17, 1.0625rem);
    font-weight: 400;
}

.intl-footer__nav a:hover,
.intl-footer__nav a:focus-visible {
    color: #fff;
    text-decoration: underline;
}

.intl-footer__body {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-block: 28px 36px;
}

.intl-footer__agency {
    display: inline-flex;
    flex-wrap: wrap;
    flex: 0 0 auto;
    align-items: center;
    gap:10px 8px;
    color: #fff;
}

.intl-footer__agency:hover,
.intl-footer__agency:focus-visible {
    color: #fff;
}

.intl-footer__emblem {
    /* 원본 이미지 왼쪽의 기관 문양을 RTL에서도 동일하게 잘라 표시한다. */
    direction: ltr;
    display: block;
    flex: 0 0 35px;
    width: 35px;
    height: 35px;
    overflow: hidden;
}

.intl-footer__emblem img {
    display: block;
    width: 93px;
    max-width: none;
    height: 35px;
}

.intl-footer__agency-name {
    display: block;
    min-width: 136px;
    font-size: .75rem;
    font-weight: 700;
    line-height: 1.12;
    white-space: nowrap;
}
.intl-footer__agency-exp {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: .75rem;
    font-weight: 700;
    line-height: 1.12;
}
.intl-footer__agency-exp::before {
    display: inline-flex;
    content: '';
    width: clamp(36px, 6.1vw, 61px);
    aspect-ratio: auto 2.03;
    flex-shrink: 0;
    background: url('/CSP/images/common/klis-logo.png') no-repeat center / 100% auto;
}
.intl-footer__body address,
.intl-footer__body p {
    margin: 2px 0;
    font-style: normal;
    font-size: .8rem;
}

@media (max-width: 1023px) {
    .intl-header__top {
        min-height: 92px;
        flex-wrap: wrap;
        padding-block: 16px;
        row-gap: 14px;
    }

    .intl-header__logo {
        width: 11.25rem;
    }

    .intl-select {
        min-width: 154px;
    }

    .intl-hero {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .intl-topic-categories {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .intl-topic-laws {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .intl-topic-laws a:nth-child(3n) {
        border-inline-end: 0;
    }

    .intl-topic-laws a:nth-last-child(-n+6) {
        border-bottom: 1px solid #55a0ef;
    }

    .intl-topic-laws a:nth-last-child(-n+3) {
        border-bottom: 0;
    }

    .intl-card-track {
        grid-auto-columns: calc((100% - 16px) / 2);
    }

    .intl-language-bar {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        row-gap: 20px;
    }

    .intl-sitemap__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    :root[data-intl-font-size="biggest"] { font-size: 115%; --intl-font-scale: 1.15; }
    :root[data-intl-font-size="big"] { font-size: 110%; --intl-font-scale: 1.1; }

    .intl-header__top {
        min-height: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding-block: 18px;
    }

    .intl-header__logo {
        width: 11rem;
        margin-inline: auto;
    }

    .intl-header__utilities {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .intl-select {
        width: 100%;
        min-width: 0;
    }

    .intl-size-control__panel {
        width: min(230px, calc(100vw - 24px));
    }

    .intl-header__nav-row {
        width: 100%;
    }

    .intl-gnb {
        min-width: 0;
        grid-template-columns: repeat(3, minmax(130px, 1fr));
        overflow-x: auto;
    }

    .intl-gnb__link {
        min-height: 54px;
        padding-inline: 12px;
        font-size: .82rem;
    }

    .intl-header__actions {
        flex: 0 0 auto;
    }

    .intl-icon-button {
        width: 48px;
        min-height: 54px;
    }

    /* before/after는 span 기준이라 span에만 여백을 준다(같이 주면 너비 0이 됨) */
    .intl-icon-button--sitemap span {
        inset-inline: 12px;
    }

    .intl-gnb__submenu {
        position: fixed;
        inset: auto 12px auto;
        width: auto;
    }

    .intl-sitemap {
        position: fixed;
        inset: 0;
        overflow-y: auto;
    }

    .intl-sitemap__grid {
        grid-template-columns: 1fr;
    }

    .intl-main {
        padding-top: 34px;
    }

    .intl-hero,
    .intl-section {
        margin-bottom: 46px;
    }

    .intl-topic-panel {
        padding-inline: 10px;
        border-radius: 16px;
    }

    .intl-topic-categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .intl-topic-laws {
        display: none;
    }

    .intl-subtopic-sheet:not([hidden]) {
        position: fixed;
        inset: 0;
        z-index: 2100;
        display: grid;
        align-items: end;
        padding: 12px;
    }

    .intl-subtopic-sheet__backdrop {
        position: absolute;
        inset: 0;
        background: rgba(12, 18, 27, 0.58);
    }

    .intl-subtopic-sheet__dialog {
        position: relative;
        display: flex;
        flex-direction: column;
        width: min(100%, 430px);
        max-height: min(720px, calc(100vh - 24px));
        max-height: min(720px, calc(100dvh - 24px));
        margin-inline: auto;
        overflow: hidden;
        background: #fff;
        border: 1px solid #858b93;
        box-shadow: 0 18px 55px rgba(0, 0, 0, 0.34);
    }

    .intl-subtopic-sheet__header {
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: space-between;
        min-height: 46px;
        padding: 8px 10px 8px 16px;
        color: #fff;
        background: #111;
    }

    .intl-subtopic-sheet__header h2 {
        margin: 0;
        color: inherit;
        font-size: 1rem;
        font-weight: 700;
        line-height: 1.35;
    }

    .intl-subtopic-sheet__close {
        position: relative;
        width: 32px;
        height: 32px;
        padding: 0;
        color: #fff;
        background: transparent;
        border: 0;
        border-radius: 50%;
        cursor: pointer;
    }

    .intl-subtopic-sheet__close:hover,
    .intl-subtopic-sheet__close:focus-visible {
        background: rgba(255, 255, 255, 0.18);
    }

    .intl-subtopic-sheet__close span::before,
    .intl-subtopic-sheet__close span::after {
        position: absolute;
        inset-block-start: 50%;
        left: 50%;
        width: 17px;
        height: 1px;
        content: "";
        background: currentColor;
        transform-origin: center;
    }

    .intl-subtopic-sheet__close span::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .intl-subtopic-sheet__close span::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .intl-subtopic-sheet__body {
        min-height: 0;
        flex: 1 1 auto;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 12px 14px;
        background: #f8f8f8;
    }

    .intl-subtopic-sheet__group {
        display: grid;
        gap: 10px;
    }

    .intl-subtopic-sheet__option {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
        min-height: 48px;
        padding: 10px 12px;
        color: #171717;
        text-align: start;
        background: #fff;
        border: 1px solid #8b8b8b;
        border-radius: 3px;
        cursor: pointer;
    }

    .intl-subtopic-sheet__option:hover,
    .intl-subtopic-sheet__option:focus-visible {
        border-color: #0a6ed1;
        outline: 2px solid rgba(10, 110, 209, 0.18);
        outline-offset: 1px;
    }

    .intl-subtopic-sheet__option.is-selected {
        color: #006ee6;
        border: 2px solid #1673e6;
        font-weight: 700;
    }

    .intl-subtopic-sheet__check {
        position: relative;
        display: none;
        flex: 0 0 20px;
        width: 20px;
        height: 20px;
    }

    .intl-subtopic-sheet__option.is-selected .intl-subtopic-sheet__check {
        display: block;
    }

    .intl-subtopic-sheet__check::before {
        position: absolute;
        inset-block-start: 1px;
        inset-inline-start: 6px;
        width: 7px;
        height: 13px;
        content: "";
        border: solid #006ee6;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }

    .intl-subtopic-sheet__footer {
        display: grid;
        flex: 0 0 auto;
        gap: 8px;
        padding: 12px 14px;
        background: #fff;
        border-top: 1px solid #ddd;
    }

    .intl-subtopic-sheet__select,
    .intl-subtopic-sheet__cancel {
        min-height: 44px;
        padding: 9px 16px;
        font-weight: 700;
        cursor: pointer;
    }

    .intl-subtopic-sheet__select {
        color: #fff;
        background: #0875dc;
        border: 1px solid #0875dc;
    }

    .intl-subtopic-sheet__select:disabled {
        color: #fff;
        background: #b9b9b9;
        border-color: #b9b9b9;
        cursor: not-allowed;
    }

    .intl-subtopic-sheet__cancel {
        color: #111;
        background: #fff;
        border: 1px solid #222;
    }

    .intl-carousel {
        padding-inline: 30px;
    }

    .intl-card-track {
        grid-auto-columns: 88%;
    }

    .intl-language-bar {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .intl-footer__body {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 639px) {
    .intl-sub-heading {
        padding-block: 14px 9px;
    }

    .intl-privacy__content {
        padding-inline: 4px;
    }

    .intl-info__content {
        padding-inline: 4px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .intl-carousel__viewport {
        scroll-behavior: auto;
    }
}

/* ------------------------------------------------------------------
   퀵메뉴 (플로팅 메뉴) — 설계서 UI-A-08
   ① 컨텐츠(.intl-shell)와 같은 최대 폭을 기준으로 우측 바깥에 고정한다.
      퀵메뉴 폭(기본 116px) + 본문 간격(24px)을 바깥 여백에서 빼고,
      여백이 부족한 화면에서는 max 하한으로 화면 가장자리에 붙는다.
      inset-inline-* / margin-inline 로 작성해 RTL(ar) 에서 좌측으로 자동 반전된다.
   ------------------------------------------------------------------ */
.intl-quick {
    position: fixed;
    inset-block-start: 50%;
    inset-inline-end: max(12px, calc((100vw - var(--intl-content-max-width)) / 2 - var(--csp-quick-width, 116px) - 24px));
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: max-content;
    min-width: 116px;
    translate: 0 -50%;
}

/* 스크롤 중에는 기본 fixed 위치를 유지한다. */
.intl-quick.is-csp-floating-quick {
    transition: none;
}

/*
 * 퀵메뉴는 항상 최상단에 둔다(국문 cspLayout.css 의 .ft_quick 과 같은 기준).
 * 위 .intl-quick 기본값은 z-index:90 이라 .intl-header(z-index:100) 밑으로 깔려
 * 헤더와 겹치는 구간에서 잘린다.
 * 사이트맵·GNB 서브메뉴·글자크기 패널(110/120/130)은 모두 .intl-header 내부라
 * 헤더의 100 에 묶여 있고, 모달·오버레이(2000·9999)는 그대로 퀵메뉴를 덮는다.
 * 속성 선택자로 특이도(0,2,0)를 올려 로드 순서와 무관하게 적용되게 한다.
 */
.intl-quick[data-csp-floating-quick] {
    z-index: 110;
}

.intl-quick button {
    cursor: pointer;
}

.intl-quick__group {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0;
    padding-block: 0;
    padding-inline: clamp(10px, 1.2vw, 14px);
    list-style: none;
    background: var(--gray-0, #fff);
    border: 1px solid var(--alpha-g40, #aeb4bc);
    border-radius: var(--radius-10, 10px);
    box-sizing: border-box;
}

.intl-quick__group > li {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.intl-quick__group > li + li::before {
    width: calc(100% - 4px);
    height: 1px;
    margin-block: clamp(4px, 0.6vw, 8px);
    content: "";
    background: var(--gray-20, #e4e7eb);
}

.intl-quick__social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.intl-quick__social-link {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, .16);
}

.intl-quick__social-link:focus-visible {
    outline: 3px solid var(--primary-40, #8bb8ff);
    outline-offset: 2px;
}

.intl-quick__social-link svg {
    width: 24px;
    height: 24px;
}

.intl-quick__social-link--instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.intl-quick__social-link--instagram svg {
    fill: none;
    stroke: #fff;
    stroke-width: 2;
}

.intl-quick__social-link--facebook {
    background: #1877f2;
}

.intl-quick__social-link--facebook svg {
    fill: #fff;
}

.intl-quick__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding-block: clamp(4px, 0.6vw, 8px);
    padding-inline: 2px;
    color: var(--gray-80, #343a40);
    font-size: var(--text-13, 0.8125rem);
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
    background: transparent;
    border: 0;
    border-radius: 4px;
}

.intl-quick__link:hover,
.intl-quick__link:focus-visible {
    color: var(--primary-60, #246beb);
    background: var(--primary-5, #eef6ff);
}

.intl-quick__link--glossary {
    flex-direction: column;
    gap: 4px;
    min-height: 76px;
}

.intl-quick__icon {
    display: grid;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    place-items: center;
}

.intl-quick__icon img {
    display: block;
    width: 32px;
    height: 32px;
}

.intl-quick__label {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
}

.intl-quick__top {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: clamp(44px, 5.2vw, 56px);
    aspect-ratio: 1;
    color: var(--gray-0, #fff);
    font-size: var(--text-13, 0.8125rem);
    font-weight: 600;
    background: var(--alpha-g80, rgba(33, 37, 41, 0.8));
    border: 1px solid var(--gray-90, #212529);
    border-radius: 50%;
}

.intl-quick__top:hover,
.intl-quick__top:focus-visible {
    color: var(--gray-0, #fff);
    background: var(--gray-90, #212529);
}

.intl-quick__top-arrow {
    width: 8px;
    height: 8px;
    border: 2px solid currentColor;
    border-width: 2px 2px 0 0;
    rotate: -45deg;
}

.intl-quick__top-text {
    display: -webkit-box;
    max-width: 46px;
    overflow: hidden;
    font-size: clamp(0.625rem, 0.72vw, 0.75rem);
    font-weight: inherit;
    line-height: 1.05;
    overflow-wrap: anywhere;
    word-break: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

[dir="rtl"] .intl-quick__top-text {
    letter-spacing: 0;
}

/* 번역 길이·화면크기에 맞춘 실측 메뉴 폭을 본문 양쪽 여백에 반영한다. */
@media (min-width: 1441px) {
    /* 마지막 항목(방문기록) 문구의 위아래 간격을 맞춘다 — 국문 퀵메뉴(cspLayout.css)와 같은 기준.
       문구 위 = 구분선 아래 여백 + 버튼 안 여백이므로, 목록 아래에도 구분선 여백만큼 더한다.
       외국어 문구는 대문자 위 빈 공간이 있고 g·y 등 내림 글자가 아래까지 내려와
       보이는 간격이 아래가 더 좁으므로 3px 를 더한다(국문은 반대로 2px 를 뺀다).
       글자 모양이 언어마다 달라(벵골어·태국어는 위쪽 모음 부호가 높다) 같은 값으로는 맞지 않으므로
       --intl-quick-bottom-adjust 로 언어별 보정한다(1920·1600px 100% 실측 기준).
       1440px 이하는 Footer 배치라 해당 없음. */
    .intl-quick__group {
        padding-inline: 12px;
        padding-bottom: max(0px, calc(clamp(4px, 0.6vw, 8px) + 3px + var(--intl-quick-bottom-adjust, 0px)));
    }
    html[lang="ar"] .intl-quick__group { --intl-quick-bottom-adjust: 1px; }
    html[lang="vi"] .intl-quick__group { --intl-quick-bottom-adjust: -1px; }
    html[lang="ja"] .intl-quick__group,
    html[lang="zh"] .intl-quick__group { --intl-quick-bottom-adjust: -2px; }
    html[lang="ne"] .intl-quick__group { --intl-quick-bottom-adjust: -3px; }
    html[lang="uz"] .intl-quick__group { --intl-quick-bottom-adjust: -3.5px; }
    html[lang="th"] .intl-quick__group { --intl-quick-bottom-adjust: -7px; }
    html[lang="bn"] .intl-quick__group { --intl-quick-bottom-adjust: -9px; }

    .intl-main .intl-shell,
    .intl-sub-main .intl-shell {
        width: calc(100% - 2 * (var(--csp-quick-width, 116px) + 36px));
    }

    .intl-quick__link {
        width: max-content;
        min-width: 90px;
    }

    .intl-quick__link,
    .intl-quick__label {
        white-space: nowrap;
        overflow-wrap: normal;
        hyphens: none;
    }
}

/* 국문 퀵메뉴 숨김 기준(pub/css/custom.css)과 같은 1440px 이하에서 Footer에 배치한다. */
@media (max-width: 1440px) {
    .intl-footer .intl-quick {
        display: contents;
        position: static;
        inset: auto;
        translate: none;
        transition: none;
    }

    .intl-footer__nav {
        align-items: center;
    }

    .intl-footer__nav > a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }

    /* 메뉴를 복제하지 않고 Search 다음부터 같은 Footer 링크 행에 이어 놓는다. */
    .intl-quick__group,
    .intl-quick__group > li {
        display: contents;
    }

    .intl-quick__group > li + li::before {
        content: none;
    }

    .intl-footer .intl-quick__link {
        width: auto;
        max-width: 100%;
        min-height: 44px;
        padding: 0 4px;
        color: inherit;
        font-size: var(--text-17, 1.0625rem);
        font-weight: 400;
        text-align: start;
        border-radius: 0;
    }

    .intl-quick__link:hover,
    .intl-quick__link:focus-visible {
        color: #fff;
        text-decoration: underline;
        background: transparent;
    }

    .intl-quick__icon,
    .intl-quick__top {
        display: none;
    }

    .intl-quick__social {
        gap: clamp(.875rem, 2vw, 1.5rem);
    }

    /* 국문 Footer와 같은 로고(28px)를 44px 클릭 영역 안에 표시한다. */
    .intl-quick__social-link {
        width: 44px;
        height: 44px;
        background: transparent no-repeat center / 28px 28px;
        box-shadow: none;
    }

    .intl-quick__social-link--instagram {
        background-image: url('../pub/images/skin/ico_instagram.png');
    }

    .intl-quick__social-link--facebook {
        background-image: url('../pub/images/skin/ico_facebook.png');
    }

    .intl-quick__social-link svg {
        display: none;
    }
}

/* ------------------------------------------------------------------
   다국어 즐겨찾기·방문기록 레이어 — UI-A-08-04-01, UI-A-08-05-01
   ------------------------------------------------------------------ */
body.is-intl-bookmark-open {
    overflow: hidden;
}

.intl-bookmark[hidden] {
    display: none;
}

.intl-bookmark {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 20px;
}

.intl-bookmark__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 27, 42, 0.68);
}

.intl-bookmark__dialog {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(340px, 100%);
    max-height: min(520px, calc(100vh - 40px));
    overflow: hidden;
    background: #dcebf8;
    border: 1px solid #9eb3c7;
    border-radius: 9px;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.3);
}

.intl-bookmark__dialog:focus {
    outline: none;
}

.intl-bookmark__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 46px;
    padding: 8px 8px 8px 14px;
    border-bottom: 1px solid #8ea6bb;
}

.intl-bookmark__header h2 {
    margin: 0;
    color: #111820;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.35;
}

.intl-bookmark__close,
.intl-bookmark__item-delete {
    position: relative;
    flex: 0 0 auto;
    padding: 0;
    color: #344353;
    background: transparent;
    border: 0;
    border-radius: 50%;
}

.intl-bookmark__close {
    width: 32px;
    height: 32px;
}

.intl-bookmark__close:hover,
.intl-bookmark__close:focus-visible,
.intl-bookmark__item-delete:hover,
.intl-bookmark__item-delete:focus-visible {
    color: #0759a6;
    background: rgba(255, 255, 255, 0.65);
}

.intl-bookmark__close span::before,
.intl-bookmark__close span::after,
.intl-bookmark__item-delete span::before,
.intl-bookmark__item-delete span::after {
    position: absolute;
    inset-block-start: 50%;
    inset-inline-start: 50%;
    width: 16px;
    height: 1px;
    content: "";
    background: currentColor;
    transform-origin: center;
}

.intl-bookmark__close span::before,
.intl-bookmark__item-delete span::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.intl-bookmark__close span::after,
.intl-bookmark__item-delete span::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.intl-bookmark__body {
    min-height: 0;
    padding: 8px 7px 6px;
    overflow: hidden;
}

.intl-bookmark__list {
    min-height: 80px;
    max-height: 390px;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    list-style: none;
    scrollbar-gutter: stable;
}

.intl-bookmark__item {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 58px;
    background: #fff;
    border: 1px solid #8fa3b5;
}

.intl-bookmark__item + .intl-bookmark__item {
    margin-top: 7px;
}

.intl-bookmark__link {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    padding: 8px 6px 8px 12px;
    color: #26313e;
    text-decoration: none;
}

.intl-bookmark__link:hover .intl-bookmark__title,
.intl-bookmark__link:focus-visible .intl-bookmark__title {
    color: #0759a6;
    text-decoration: underline;
}

.intl-bookmark__title {
    position: relative;
    padding-inline-start: 10px;
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.intl-bookmark__title::before {
    position: absolute;
    inset-block-start: 0.6em;
    inset-inline-start: 0;
    width: 3px;
    height: 3px;
    content: "";
    background: currentColor;
    border-radius: 50%;
}

.intl-bookmark__category {
    margin-top: 5px;
    color: #4f5b69;
    font-size: 0.75rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.intl-bookmark__item-delete {
    width: 34px;
    height: 34px;
    margin-inline-end: 6px;
    border: 1px solid #7f8d9b;
}

.intl-bookmark__item-delete span::before,
.intl-bookmark__item-delete span::after {
    width: 13px;
}

.intl-bookmark__empty {
    padding: 36px 14px;
    color: #596675;
    font-size: 0.8125rem;
    line-height: 1.5;
    text-align: center;
    background: #fff;
    border: 1px solid #a8b7c5;
}

.intl-bookmark__footer {
    display: flex;
    justify-content: flex-end;
    padding: 0 8px 8px;
}

.intl-bookmark__delete-all {
    min-width: 78px;
    min-height: 34px;
    padding: 6px 14px;
    color: #fff;
    font: inherit;
    font-size: 0.75rem;
    background: #7a8490;
    border: 0;
    border-radius: 2px;
}

.intl-bookmark__delete-all:hover,
.intl-bookmark__delete-all:focus-visible {
    background: #435066;
}

.intl-bookmark__delete-all:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}
/* ------------------------------------------------------------------
   법령용어집 레이어 — UI-A-08-03-01 (CR-02 재오픈)

   방향(dir)은 전부 논리 속성으로 쓴다 — 아랍어(rtl)에서 좌우가 자동 반전된다.
   목록 한 줄 안에 현재 언어 표기·한국어 용어·출처가 함께 놓이므로 각 항목을
   block 으로 분리하고, 인라인 번역문에는 unicode-bidi 격리를 건다.
   (그렇지 않으면 rtl 문서에서 한국어·아랍어가 한 줄에 섞여 순서가 뒤집힌다)
   ------------------------------------------------------------------ */
body.is-intl-glossary-open {
    overflow: hidden;
}

.intl-glossary[hidden] {
    display: none;
}

.intl-glossary {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 20px;
}

.intl-glossary__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 27, 42, 0.68);
}

.intl-glossary__dialog {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(1000px, 100%);
    height: min(780px, calc(100vh - 40px));
    height: min(780px, calc(100dvh - 40px));
    box-sizing: border-box;
    overflow: hidden;
    background: #fff;
    border: 1px solid #9eb3c7;
    border-radius: 9px;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.3);
}

.intl-glossary__dialog:focus {
    outline: none;
}

.intl-glossary__header {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    min-height: 46px;
    padding-block: 8px;
    padding-inline: 16px 8px;
    background: #dcebf8;
    border-block-end: 1px solid #8ea6bb;
}

.intl-glossary__header h2 {
    margin: 0;
    color: #111820;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.35;
}

.intl-glossary__close {
    position: relative;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    padding: 0;
    color: #344353;
    cursor: pointer;
    background: transparent;
    border: 0;
    border-radius: 50%;
}

.intl-glossary__close:hover,
.intl-glossary__close:focus-visible {
    color: #0759a6;
    background: rgba(255, 255, 255, 0.65);
}

.intl-glossary__close span::before,
.intl-glossary__close span::after {
    position: absolute;
    inset-block-start: 50%;
    inset-inline-start: 0;
    inset-inline-end: 0;
    margin-inline: auto;
    width: 16px;
    height: 1px;
    content: "";
    background: currentColor;
    transform-origin: center;
}

.intl-glossary__close span::before {
    transform: translateY(-50%) rotate(45deg);
}

.intl-glossary__close span::after {
    transform: translateY(-50%) rotate(-45deg);
}

/* 검색 */
.intl-glossary__search {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
    align-items: center;
    padding-block: 12px 6px;
    padding-inline: 16px;
}

.intl-glossary__keyword {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 38px;
    padding-block: 6px;
    padding-inline: 12px;
    color: #172033;
    font: inherit;
    font-size: 0.875rem;
    background: #fff;
    border: 1px solid #9eb3c7;
    border-radius: 4px;
}

.intl-glossary__keyword:focus-visible {
    border-color: #0a54a7;
    outline: 2px solid #55a0ef;
    outline-offset: 1px;
}

.intl-glossary__reset {
    flex: 0 0 auto;
    min-height: 38px;
    padding-block: 6px;
    padding-inline: 14px;
    color: #26313e;
    font: inherit;
    font-size: 0.8125rem;
    cursor: pointer;
    background: #eef3f8;
    border: 1px solid #9eb3c7;
    border-radius: 4px;
}

.intl-glossary__reset[hidden] {
    display: none;
}

.intl-glossary__reset:hover,
.intl-glossary__reset:focus-visible {
    color: #0759a6;
    border-color: #55a0ef;
}

.intl-glossary__status {
    flex: 0 0 auto;
    margin: 0;
    padding-block: 0 8px;
    padding-inline: 16px;
    color: #4f5b69;
    font-size: 0.75rem;
    line-height: 1.4;
    text-align: start;
}

/* 본문 : 좌(용어 목록) · 우(언어별 번역). 두 칸 모두 내부 스크롤한다. */
.intl-glossary__body {
    display: grid;
    flex: 1 1 0;
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    gap: 12px;
    min-height: 0;
    padding-block: 0 16px;
    padding-inline: 16px;
}

.intl-glossary__terms {
    display: flex;
    min-height: 0;
    flex-direction: column;
}

.intl-glossary__list {
    flex: 1 1 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    list-style: none;
    border: 1px solid #cbd8e4;
    border-radius: 4px;
    scrollbar-gutter: stable;
}

.intl-glossary__item + .intl-glossary__item {
    border-block-start: 1px solid #e3ebf3;
}

.intl-glossary__term {
    display: block;
    width: 100%;
    padding-block: 10px;
    padding-inline: 12px;
    color: #26313e;
    font: inherit;
    text-align: start;
    cursor: pointer;
    background: transparent;
    border: 0;
}

.intl-glossary__term:hover,
.intl-glossary__term:focus-visible {
    background: #eef5fc;
}

.intl-glossary__term.is-active {
    background: #dcebf8;
    box-shadow: inset 3px 0 0 #0a54a7;
}

[dir="rtl"] .intl-glossary__term.is-active {
    box-shadow: inset -3px 0 0 #0a54a7;
}

/* 표기 언어가 서로 다른 줄이라 각각 block 으로 끊는다(bidi 혼선 방지) */
.intl-glossary__term-name,
.intl-glossary__term-korean,
.intl-glossary__term-source {
    display: block;
    unicode-bidi: isolate;
    overflow-wrap: anywhere;
}

.intl-glossary__term-name {
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.4;
}

.intl-glossary__term-korean {
    margin-block-start: 2px;
    color: #4f5b69;
    font-size: 0.8125rem;
    line-height: 1.4;
}

.intl-glossary__term-source {
    margin-block-start: 2px;
    color: #6b7684;
    font-size: 0.75rem;
    line-height: 1.4;
}

/* 번역 결측(fallback) — 한국어 표기로 대체됐음을 색·배지로 구분한다 */
.intl-glossary__item.is-fallback .intl-glossary__term-name {
    color: #6b7684;
    font-weight: 400;
}

.intl-glossary__fallback-badge {
    display: inline-block;
    margin-block-start: 4px;
    padding-block: 1px;
    padding-inline: 6px;
    color: #8a5a00;
    font-size: 0.6875rem;
    line-height: 1.5;
    background: #fdf3dd;
    border: 1px solid #e6c877;
    border-radius: 2px;
}

/* 상세 : 언어별 번역 */
.intl-glossary__detail {
    min-height: 0;
    padding-block: 12px;
    padding-inline: 14px;
    overflow-y: auto;
    background: #f7fafd;
    border: 1px solid #cbd8e4;
    border-radius: 4px;
}

.intl-glossary__detail:focus-visible {
    outline: 2px solid #55a0ef;
    outline-offset: -2px;
}

.intl-glossary__detail-head {
    padding-block-end: 10px;
    border-block-end: 1px solid #d5e0ea;
}

.intl-glossary__detail-title {
    margin: 0;
    color: #111820;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    unicode-bidi: isolate;
    overflow-wrap: anywhere;
}

.intl-glossary__detail-source {
    display: flex;
    gap: 6px;
    margin-block: 6px 0;
    color: #4f5b69;
    font-size: 0.75rem;
    line-height: 1.4;
}

.intl-glossary__detail-source-label::after {
    content: ":";
}

.intl-glossary__detail-source-value {
    unicode-bidi: isolate;
    overflow-wrap: anywhere;
}

.intl-glossary__translations {
    display: grid;
    grid-template-columns: minmax(120px, 34%) minmax(0, 1fr);
    gap: 0;
    margin: 0;
    padding: 0;
}

.intl-glossary__lang,
.intl-glossary__translation {
    display: flex;
    gap: 6px;
    align-items: baseline;
    margin: 0;
    padding-block: 8px;
    padding-inline: 0;
    border-block-end: 1px solid #e3ebf3;
}

.intl-glossary__lang {
    color: #4f5b69;
    font-size: 0.75rem;
    line-height: 1.5;
}

.intl-glossary__lang-badge {
    flex: 0 0 auto;
    padding-block: 1px;
    padding-inline: 5px;
    color: #26313e;
    font-size: 0.6875rem;
    font-weight: 700;
    direction: ltr;
    background: #e7eef6;
    border-radius: 2px;
}

.intl-glossary__lang-label {
    unicode-bidi: isolate;
    overflow-wrap: anywhere;
}

.intl-glossary__translation {
    color: #172033;
    font-size: 0.875rem;
    line-height: 1.5;
}

.intl-glossary__translation-term {
    unicode-bidi: isolate;
    overflow-wrap: anywhere;
}

.intl-glossary__translation.is-fallback .intl-glossary__translation-term {
    color: #6b7684;
}

.intl-glossary__fallback-note {
    flex: 0 0 auto;
    padding-block: 1px;
    padding-inline: 6px;
    color: #8a5a00;
    font-size: 0.6875rem;
    line-height: 1.5;
    background: #fdf3dd;
    border: 1px solid #e6c877;
    border-radius: 2px;
}

/* 안내·빈 결과·오류 */
.intl-glossary__placeholder,
.intl-glossary__loading,
.intl-glossary__empty,
.intl-glossary__error {
    margin: 0;
    padding-block: 28px;
    padding-inline: 14px;
    font-size: 0.8125rem;
    line-height: 1.5;
    text-align: center;
}

.intl-glossary__placeholder,
.intl-glossary__loading {
    color: #6b7684;
}

.intl-glossary__empty {
    color: #4f5b69;
}

.intl-glossary__error {
    color: #b3261e;
}

.intl-glossary__notice {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    column-gap: 10px;
    align-items: start;
    flex: 0 0 auto;
    min-height: 0;
    max-height: 35vh;
    overflow-y: auto;
    padding-block: 12px;
    padding-inline: 16px;
    border-block-start: 1px solid #b8cfe5;
    background: #eef5fc;
    color: #536477;
    font-size: 13px;
    line-height: 1.6;
    text-align: start;
    overflow-wrap: anywhere;
}

.intl-glossary__notice p {
    margin: 0;
}

.intl-glossary__notice-text p:first-child {
    color: #354f68;
    font-weight: 500;
}

.intl-glossary__notice-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-block-start: 2px;
    color: #28699d;
    background: #dceaf7;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-family: Arial, sans-serif;
    font-style: italic;
    font-weight: 700;
    line-height: 1;
}

.intl-glossary__notice p + p {
    margin-block-start: 6px;
}

/* 모바일 : 한 칸으로 쌓고 목록 높이를 제한해 상세까지 함께 보이게 한다 */
@media (max-width: 767px) {
    .intl-glossary {
        padding: 10px;
    }

    .intl-glossary__dialog {
        height: calc(100vh - 20px);
        height: calc(100dvh - 20px);
    }

    .intl-glossary__search,
    .intl-glossary__status {
        padding-inline: 12px;
    }

    .intl-glossary__header {
        padding-inline: 12px 6px;
    }

    .intl-glossary__body {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
        padding-inline: 12px;
    }

    .intl-glossary__translations {
        grid-template-columns: minmax(96px, 38%) minmax(0, 1fr);
    }
}

/* 외국어 로고 이미지 (intl-csp0-newMain) : PC logo_xx.png / 767px 이하 m_logo_xx.png (picture) */
.intl-header__logo--image {
    width: auto;
}

.intl-header__logo--image picture {
    display: block;
}

.intl-header__logo--image img {
    width: auto;
    height: clamp(2.625rem, calc(5.8vw * var(--intl-font-scale, 1)), 3.625rem);
    object-fit: contain;
    object-position: left center;
}

/* 모바일 로고는 가용 폭 안에서 원본 비율을 유지한다. */
@media (max-width: 767px) {
    .intl-header__logo--image {
        width: 100%;
    }

}

[dir="rtl"] .intl-header__logo--image img { object-position: right center; }

/* PNG 브랜드 원색을 유지하면서 다크 모드에서도 검은 로고 글자를 읽을 수 있게 한다. */
@media (prefers-color-scheme: dark) {
    .intl-header__logo--image picture {
        background-color: #fff;
        border-radius: 4px;
    }
}
