@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap');
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

/* 영문 페이지 font-family 설정 */
html[lang="en"] body { 
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Helvetica Neue', Arial, sans-serif;
}
/* 일본어, 중국어 페이지 font-family 설정 */
html[lang="ja"] body {
    font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}
html[lang="zh-CN"] body {
    font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

.global-wrap h1,
.global-wrap h2,
.global-wrap h3 {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Helvetica Neue', Arial, sans-serif;
}

/* 기존 CSS 일부를 오버라이드 */
#article-view .article-view-content > .grid.body.global-grid {
    padding-right: 40px;
}
.global-wrap #article-view .article-view-content > .grid.body {
    padding-right: 40px;
}
.global-wrap .auto-section, .auto-subtitles, .auto-titles {
    letter-spacing: -.02em;
}
.global-wrap #user-footer .user-address {
    letter-spacing: -.01em;
}
.global-wrap .tabs-wrap.type-A .tabs-navs .tabs-item a {
    font-weight: 500 !important;
    letter-spacing: -.02rem;
}
.global-wrap .titles strong {
    font-weight: 600;
}
/* view 페이지 오버라이드 */
.global-wrap .article-veiw-body.view-page {
    letter-spacing: -.005em;
}
.global-wrap .article-veiw-body.view-page p {
    text-align: start;
    font-size: 1.095rem;
}
.global-wrap #article-view .heading {
    font-weight: 600;
}
.global-wrap #article-view .account>.name, #article-view .article-more {
    letter-spacing: -.01rem;
}
.global-wrap #article-view .account>.email {
    letter-spacing: -.01rem;
}
.global-wrap #article-view .tag-group .tag {
    letter-spacing: -.01rem;
}
.box-skin .header .skin-column>a, 
.box-skin .header .skin-column>strong, 
.box-skin .header>a, 
.box-skin .header>strong {
    letter-spacing: -.02rem;
}

/* global component */
/* 썸네일 비율 설정 */
.aspect-box {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.aspect-box::before{
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--blur);
    background-size: cover;
    background-position: center;
    filter: blur(18px);
    transform: scale(1.12);
    z-index: 0;
}
.aspect-3x2 {
    aspect-ratio: 3 / 2;
}
.aspect-box img {
    position: relative;
    width: auto;
    height: 100%;
    display: block;
    z-index: 1;
}

/* 문장 한줄 표현 */
.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%; /* 부모 요소 크기에 맞춰 적용 */
}
/* 문장 라인 정의 */
.two-lines {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.three-lines {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sm-text {
    font-size: 12px;
}

/* global header */
.dt-header--en {
    margin-bottom: 35px;
}
.dt-header--en .dt-header__inner {
    width: 1160px;
    margin: 0 auto;
}
.dt-header--en .dt-header__top {
    background: #FF6114;
    height: 42px;
    line-height: 42px;
}
.dt-header--en .dt-header__top .dt-header__inner {
    display: flex;
    justify-content: space-between;
}
.dt-header--en .dt-header__top .update-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #FFDFD0;
}
.dt-header--en .dt-header__top .update-info > a {
    color: #FFDFD0;
}
.dt-header--en .dt-header__top .utility-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}
.dt-header--en .dt-header__top .utility-nav .lang-link {
    position: relative;
    padding-left: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #FFF;
}
.dt-header--en .dt-header__top .utility-nav .lang-link::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: calc(50% - 5px);
    width: 1px;
    height: 10px;
    background: #FFA072;
}
.dt-header--en .dt-header__top .utility-nav .lang-link.is-active {
    color: #fff48a;
}
.dt-header--en .dt-header__main .dt-header__inner {
    border-bottom: 1px solid #4D4D4D;
    padding-block: 26px;
}
.dt-header--en .dt-header__main h1 {
    text-align: center;
}
.dt-header--en .dt-header__main h1 img {
    width: 320px;
}
.dt-search__open-btn {
    display: block;
    max-width: 40px;
    height: 40px;
    font-size: 1.4rem;
    line-height: 1;
    color: #FFF;
    cursor: pointer;
}
.dt-search__open-btn .icon-search::before {
    content: '\e97a';
}
.dt-search__open-btn.is-active .icon-search::before {
    content: '\e9af';
}
.dt-search__layer {
    display: none;
    position: absolute;
    top: 50%;
    right: 102%;
    transform: translateY(-50%);
}
.dt-search__layer.is-active {
    display: block;
}
.dt-search__layer .dt-search__input-wrap {
    display: flex;
    width: 200px;
    height: 31px;
    background: #FFF;
    border-radius: 31px;
}
.dt-search__layer .dt-search__input-wrap input {
    height: 31px;
    padding-left: 12px;
    padding-right: 5px;
    border: none;
    font-size: .813rem;
    background: none;
    box-shadow: none;
}
.dt-search__layer .dt-search__input-wrap button {
    width: 45px;
    height: 31px;
    font-size: 1.25rem;
    color: #000;
    cursor: pointer;
}
.dt-search__layer .dt-search__input-wrap button .icon-search::before {
    content: '\e97a';
}

/* global content */
.dt-global__content {
    margin-top: 1.2rem;
}
.dt-global__content .dt-article__category {
    margin: 1rem 0 0.5rem;
    font-size: 14px;
    font-weight: 500;
    color: #FF6114;
}
.dt-global__content .dt-article__title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    font-family: 'Source Serif 4', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Helvetica Neue', Arial, sans-serif;
}
html[lang="ja"] .dt-global__content .dt-article__title {
    font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}
html[lang="zh-CN"] .dt-global__content .dt-article__title {
    font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}
.dt-global__content .dt-article__meta {
    margin-top: 0.6rem;
    font-size: 12px;
    color: #999;
}

.dt-topStories .dt-topStories__grid {
    display: flex;
    gap: 15px;
}
.dt-topStories .dt-topStories__grid .dt-article__summary {
    margin: 12px 0 16px 0;
    font-size: 15px;
    color: #6B6B6B;
    line-height: 1.3;
}
.dt-topStories .dt-topStories__grid .dt-article--lead {
    width: 460px;
    flex-shrink: 0;
}

.dt-topStories .dt-topStories__grid .dt-article--lead .dt-article__header .dt-article__category {
    margin: 1.28rem 0 0.5rem;
}
.dt-topStories .dt-topStories__grid .dt-article--lead .dt-article__header .dt-article__title {
    font-size: 28px;
}
.dt-topStories .dt-topStories__grid .dt-article--lead .dt-article__summary {
    font-size: 17px;
}

.dt-topStories .dt-topStories__grid .dt-topStories__side {
    padding-left: 15px;
    border-left: 1px solid #E4E4E4;
}
.dt-topStories .dt-topStories__grid .dt-topStories__side .dt-article:first-child {
    border-bottom: 1px solid #E4E4E4;
}
.dt-topStories .dt-topStories__grid .dt-topStories__side .dt-article__header .dt-article__title {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
}
.dt-articleList {
    margin-top: 35px;
    padding-top: 42px;
    border-top: 1px solid #E4E4E4;
}
.dt-articleList ul {
    margin: 0;
}
.dt-articleList ul li {
    list-style: none;
}
.dt-articleList .dt-articleList__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.dt-articleList .dt-articleList__grid .dt-articleList__item {
    width: calc((100% - 40px) / 3);
    margin-bottom: 22px;
}
.global-wrap .search-titles {
    border-bottom: 1px solid #E4E4E4;
    margin-bottom: 40px;
    padding-bottom: 8px;
    font-weight: 600;
    line-height: 1.25;
}
.global-wrap .search-titles .titles__label {
    font-size: 15px;
    display: flex;
    color: #FF6114;
    font-weight: 500;
}
.titles__keyword {
    font-weight: 600;
}
/* AI 번역 안내 */
.article-meta--translation {
    margin-top: 25px;
}
.article-meta--translation p {
    margin: 0;
    color: rgba(0, 0, 0, .6);
    font-size: 0.88rem;
    font-weight: 300;     
}
.article-meta--translation a {
    color: rgba(0, 0, 0, .6);
    text-decoration: underline;
}
/* copyright custom */
.global-wrap #article-view .article-copy {
    margin: 0.5rem auto 1.5rem;
}
/* aside 탭메뉴 폰트사이즈 수정 */
.global-wrap .tabs-wrap.type-A .tabs-navs .tabs-item a {
    font-size: 0.95rem;
}

/* 글로벌 폰트사이즈 조정 */
.global-wrap .article-veiw-body.view-page.font-size15 p {
    font-size: .9rem
}
.global-wrap .article-veiw-body.view-page.font-size16 p {
    font-size: 1rem
}
.global-wrap .article-veiw-body.view-page.font-size17 p {
    font-size: 1.063rem
}
.global-wrap .article-veiw-body.view-page.font-size18 p {
    font-size: 1.125rem
}
.global-wrap .article-veiw-body.view-page.font-size19 p {
    font-size: 1.188rem
}
.global-wrap .article-veiw-body.view-page.font-size20 p {
    font-size: 1.25rem
}