/* 폰트 설정 */

@font-face {
    font-family: 'SpecialSymbolFont';
    src: local('Apple SD Gothic Neo'), local('애플 SD 고딕 Neo'), local('NanumGothic'), local('돋움'), local('Dotum'), local('Helvetica'), local('arial'), local(sans-serif);
    unicode-range: U+0021-002F, U+003A-0040, U+005B-0060, U+007B-007E, U+3000-303F;
}

@font-face {
    font-family: 'KiaSignatureWoff';
    src: url('../font/KiaSignatureLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'KiaSignatureWoff';
    src: url('../font/KiaSignatureRegular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'KiaSignatureWoff';
    src: url('../font/KiaSignatureBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'KiaSignature';
    src: url('../font/KiaSignatureLight.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'KiaSignature';
    src: url('../font/KiaSignatureRegular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'KiaSignature';
    src: url('../font/KiaSignatureBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face{
    font-family:'Pretendard';
    font-weight: 45 920;
    font-style: normal;
    font-display:swap;
    src:url('../font/PretendardVariable.woff2') format('woff2-variations');
}

@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Noto+Serif+KR:wght@200..900&display=swap');


/* 기본 설정 */

:root {
    --accent-color: #fff;
    --neon: #CCFF00;
    --light-bg: #E3DFD9;
    --dark-bg: #222222;
    --gray-text: #C3C3C3;
    --black-text: #202020;
    /* --grid-gap: 80px;
    --cat-menu-padding: 30px;
    --cover-zoom: 1.2; */
}

::selection {  
    color: var(--dark-bg);
    background-color: var(--accent-color);
}

select::selection {
    color: transparent;
    background-color: transparent;
}

header *::selection,
#vol-index li::selection,
#popup-container *::selection {
    color: inherit;
    background-color: transparent;
}

html,
body {
    padding: 0;
    margin: 0;
    width: 100%;
	/* height: 100%;
    overflow: hidden; */
    -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape */
}

body {
    font-family: "SpecialSymbolFont", "Helvetica Neue", Helvetica, arial, "Apple SD Gothic Neo", "애플 SD 고딕 Neo", "NanumGothic", 돋움, Dotum, sans-serif;
    background-color: var(--light-bg);
    font-size: 100%;
    min-width: 320px;
    position: relative;
}

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

a {
    text-decoration: none;
    color: #fff;
}

h1, h2, h3, h4, h5 {
    padding: 0;
    margin: 0;
}

input,
select,
textarea {
    border: none;
}
 
input:focus,
textarea:focus {
    outline: none;
}

.no-padding { padding: 0; }
.no-margin  { margin: 0;  }

.no-bottom-margin { margin-bottom: 0; }
.no-top-margin    { margin-top: 0; }


/* 인트로 설정 */

header {
    width: calc(100% - 70px);
    height: calc(100vh - 70px);
    padding: 35px;
    position: relative;
    display: flex;
    background-color: black;
    z-index: 2;
    overflow: hidden;
}

#cover {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
}

#cover::before {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    background: rgb(34,34,34);
    background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.55) 40%, rgba(0,0,0,0.25) 100%);
    opacity: 0;

    transition: opacity 1s 1s;
}

.show #cover::before {
    opacity: 1;
}

#cover video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -100;
    background-position: 50%;
    background-size: cover;
    margin: auto;
    position: absolute;
    top: -100%;
    bottom: -100%;
    left: -100%;
    right: -100%;
    z-index: 1;
}


h1#slogan {
    width: 100%;
    height: 50vh;
    /* padding-top: 32.5925%; */
    margin: 0.75vw 0;
    background: url('../img/slogan-1.png') top center no-repeat;
    background-size: contain;
    opacity: 0;
    top: -10vw;
    position: absolute;
    z-index: 3;

    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-name: neon;
    animation-duration: 3.6s;

    transition: background 1.8s, opacity 1.8s 0.8s, top 0.8s 0.8s;
}

.show h1#slogan {
    opacity: 0.5;
    top: 0;
}

h1#slogan:hover {
    background-image: url('../img/slogan-1-ho.png');
    opacity: 0.2;
}

@keyframes neon {
	50% {
		background-image: url('../img/slogan-1-gr.png');
	}
}

h1#slogan.type-2 { background-image: url('../img/slogan-2.png'); animation-name: neonn; }
h1#slogan.type-2:hover { background-image: url('../img/slogan-2-ho.png'); }

@keyframes neonn {
	50% {
		background-image: url('../img/slogan-2-gr.png');
	}
}

/* h1#slogan {
    -webkit-text-stroke-width: 1;
    -webkit-text-stroke: 1px #FFF;
    font-family: KiaSignature, sans-serif;
    font-style: normal;
    font-weight: 600;
    line-height: 76%; 
    width: fit-content;
    color: transparent;
}

h1#slogan.w8 { 
    font-size: calc(100vw / 6); 
}

header h1 span {
    display: block;
} */

#recent {
    color: var(--accent-color);
    margin: auto;
    padding: min(32.5925%, 50vh) 0 0;
    width: 100%;
    position: relative;
    top: 10vw;
    opacity: 0;
    z-index: 5;

    transition: opacity 1.6s 1.2s, top 0.8s 0.8s;
}

.show #recent {
    top: 0;
    opacity: 1;
}

 #recent::before {
    content: 'VOLUME ' attr(data-vol);
    text-align: center;
    font-family: Pretendard, sans-serif;
    font-size: 1.75em;
    font-style: normal;
    font-weight: 700;
    line-height: 175%;
    display: block;
}

 #recent ul {
    display: flex;
    padding: 1.75em 0px;
    margin: 1.15em 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    align-self: stretch;
    position: relative;
    font-size: 14px;
    cursor: pointer;
}

#recent ul::before,
#recent ul::after {
   content: '';
   width: 16px;
   height: 2px;
   background-color: var(--accent-color);
   border-radius: 1px;
   display: block;
   position: absolute;
   left: 50%;
   transform: translateX(-50%);
   opacity: 0.3;
   animation-iteration-count: infinite;
   animation-timing-function: ease-in-out;
   animation-name: vol_list;
   animation-duration: 1.2s;
}

@keyframes vol_list {
   50% {
       opacity: 1;
       width: 18px;
   }
}

#recent ul::before { top: 0; }
#recent ul::after  { bottom: 0; }

#recent li {
    text-align: center;
    font-family: "Noto Sans CJK KR", sans-serif;
    font-style: normal;
    font-weight: 400;
    line-height: 175%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 100%;
    padding: 0 0.25em;
    position: relative;
}

#recent li::after {
    content: '';
    width: 1px;
    height: 1.2em;
    transform: translateY(-50%);
    top: 50%;
    right: 0;
    position: absolute;
    display: block;
    background-color: var(--accent-color);
    opacity: 0;

    transition: opacity 0.4s;
}

#recent li.typing::after {
    opacity: 1;
}



/* 내비게이션 설정 */

#lang {
    display: flex;
    height: 24px;
    padding: 10px 6px;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 3px;
    flex-shrink: 0;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.30);
    position: fixed;
    bottom: 11px;
    left: 50%;
    z-index: 999;
    cursor: pointer;
    transform: translateX(-50%);

    transition: background 0.3s;
}

#lang:hover {
    background-color: rgba(0, 0, 0, 0.95);
}

/* 모바일에서 hover 효과 비활성화 */
body.mobile #lang:hover {
    background-color: rgba(0, 0, 0, 0.30);
}

/* 모바일에서 터치 피드백 */
body.mobile #lang:active {
    background-color: rgba(0, 0, 0, 0.95);
    transform: translateX(-50%) scale(0.95);
}

#lang::before {
    content: '';
    width: 2px;
    height: 2px;
    border-radius: 1px;
    background-color: #fff;
    opacity: 0.3;
    position: absolute;
    left: calc(50% - 1px);
    top: calc(50% - 1px);
}

#lang li {
    color: #fff;
    text-align: center;
    font-family: KiaSignature, sans-serif;
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    opacity: 0.3;
    margin: 0 0.5em;
    
    transition: color 0.3s;
}

#lang li.selected {
    opacity: 1;
}

.multilingual .lang {
    transition: filter 0.8s;
}

.multilingual.blur .lang,
.multilingual:not([data-lang]) .lang{
    filter: blur(5px);
}

.multilingual.change .lang {
    filter: blur(20px) brightness(0.35);
    transition: filter 0.4s;
}

/* 모바일에서 blur 효과 완전 제거 */
body.mobile .multilingual.blur .lang,
body.mobile .multilingual:not([data-lang]) .lang,
body.mobile .multilingual.change .lang {
    filter: none !important;
}

body.mobile #content figure figcaption.blur,
body.mobile #content figure figcaption.change {
    filter: none !important;
}

.multilingual[data-lang="ko"] .lang:not(.ko),
.multilingual[data-lang="en"] .lang:not(.en),
.multilingual:not([data-lang="en"]) .lang:not(.ko) { 
    display: none; 
}

nav#menu {
    position: sticky;
    top: 0;
    margin-left: -20px;
    margin-top: -20px;
    width: calc(100% + 40px);
    /* background-color: var(--light-bg); */
    z-index: 99;
}

nav#menu ul {
    display: flex;
    width: 100%;
    height: 92px;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

nav#menu li {
    font-family: KiaSignature, sans-serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    color: var(--black-text);
    height: 22px;
    line-height: 22px;
    margin: 35px 20px;
    cursor: pointer;
}

li#all {
    width: 12px;
    height: 22px;
    background: url('../img/menu.svg') center no-repeat;
    background-size: 12px 12px;

    transition: background 0.2s;
}

li#all:hover {
    background-image: url('../img/menu-ho.svg');
}

/* 메인 설정 */

main {
    min-height: 200vh;
    z-index: 1;

    transition: background 0.3s;
}

#container {
    position: relative;
    left: 0;

    transition: left 0.6s;
}

body.single.open-single {
    overflow: hidden;
}

body.open-single #container {
    left: -100%;
}

#container .container {
    transition: left 0.6s;
}

#index-container {
    margin: 0 auto;
    max-width: 1440px;
    width: calc(100% - 40px);
    padding: 20px;
    background-color: var(--light-bg);
    position: relative;
    left: 0;
    z-index: 1;

    transition: background 0.3s;
}

    /* 반전효과 설정 */
    main.reverse,
    main.reverse #index-container { 
        background-color: var(--dark-bg);
        transition: background 1s;
    }
    .reverse li#all { 
        background-image: url('../img/menu-w.svg');
        transition: background 1s;
    }

    .reverse nav#menu li, 
    .reverse #vol-title,
    .reverse #vol-index li.reverse,
    .post.reverse > .title { 
        color: #fff;
        transition: color 1s;
    }

    .post.reverse .excerpt div.align-top {
        color: rgb(80 80 80 / 75%);
        transition: color 1s;
    }

    .post.reverse .thumbnail {
        filter: grayscale(0) brightness(1) contrast(1) !important;
        opacity: 1;
        transition: filter 1s, opacity 1s;
    }

    .reverse #vol-title:after {
        background-image: url('../img/dropdown-w.png');
    }

    .reverse #vol-index li.reverse::before,
    .reverse #vol-index li.reverse::after {
        border-color: #fff;
        transition: color 1s;
    }

    .reverse #vol-index { color: #4e4e4e; transition: color 1s; }
    .reverse #vol-index li::before,
    .reverse #vol-index li::after {
        border-color: #4e4e4e;
        transition: background 1s;
    }


nav#vol-nav {
    width: 365px;
    padding-top: 115px;
    margin-top: -92px;
    position: sticky;
    top: 0;
    z-index: 9;
    transform: translateX(-150px);
    opacity: 0;
}

body.open-index nav#vol-nav {
    transform: translateX(0);
    opacity: 1;
    transition: transform 0.4s 0.6s, opacity 0.6s 0.6s;
}

nav#vol-nav select {
    position: absolute;
    width: 75px;
    height: 50px;
    bottom: 22px;
    left: 136px;
    background-color: transparent; 
    border-radius: 0;
    appearance: none;
    font-size: 16px;
    outline: none;
    cursor: pointer;
    opacity: 0;
    text-align: center;
}

body.open-index .volume {
    opacity: 1;

    transition: opacity opacity 0.6s 0.6s;
}

#vol-title {
    display: inline-block;
    vertical-align: baseline;
    width: 100%;
    color: var(--black-text);
    font-family: Pretendard, sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 50px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

#vol-title::before {
    content: 'volume';
    display: inline-block;
    margin-right: -5px;
}

#vol-title:after {
    content: attr(data-vol);
    width: 50px;
    text-align: center;
    font-size: 1.125em;
    display: inline-block;
    padding: 0 20px 0 5px;
    line-height: 1.43em;
    background: url('../img/dropdown.png') center right 8px no-repeat;
    background-size: 6px 17px;

    transition: background 0.8s;
}

#vol-index {
    display: flex;
    width: 132px;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
    float: left;
}

#vol-index li {
    height: 50px;
    font-family: Pretendard, sans-serif;
    font-size: 16px;
    font-weight: 500;
    /* line-height: 1.2em; */
    line-height: 16.8px ;
    position: relative;
    overflow: hidden;
    /* border-top: 1px solid rgb(120 120 120 / 25%); */
}

#vol-index li:hover {
    cursor: pointer;
}

/* #vol-index li:hover::before {
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-name: blink;
    animation-duration: 0.8s;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
} */

#vol-index li.disabled {
    display: none;
}

/* #vol-index li::before {
    content: '';
    width: 0;
    height: 0;
    margin-top: 10px;
    border-top: 1px solid #000;
    display: block;
    float: left;
    opacity: 0;

    transition: width 0.4s, margin 0.4s, opacity 0.3s;
} */

/* #vol-index li::after {
    content: '';
    width: 11px;
    height: 0;
    border-top: 1px solid #000;
    display: block;
    position: absolute;
    top: calc(9px + 0.5em);
    left: 0;
    opacity: 0;

    transition: opacity 0s, transform 1s 0s;
} */

/* #vol-index li.current-menu::before {
    width: 14px;
    margin-right: 0.75em;
    opacity: 1;
} */

/* #vol-index li.current-menu::after {
    opacity: 1;
    transform: rotate(90deg);

    transition: opacity 0.4s 0.3s, transform 0.4s 0.4s;
} */

.volume {
    padding-bottom: 385px;
    margin-top: -385px;
    position: relative;
    opacity: 0;
    
    transition: opacity 0.4s;
}

.volume.recent {
    margin-top: -92px;
    padding-top: 92px;
}

.volume.hidden {
    opacity: 0;
    pointer-events: none;
}

.post {
    margin-left: 130px;
    padding-left: 235px;
    /* min-height: 100vh; */
    position: relative;
}

.post > .title {
    width: 195px;
    color: var(--black-text);
    font-family: KiaSignature, sans-serif;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.35em;
    height: 2.7em;
    overflow: visible;
    /* text-shadow: 3px 6px 10px rgb(0 0 0 / 45%); */
    position: sticky;
    margin-left: -235px;
    padding-left: 15px;
    float: left;
    top: 0;

    transition: filter 0.8s, transform 0.8s, color 0.3s, text-shadow 0.4s, opacity 0.8s;
}

.post > .title > span {
    height: 2.7em;
    word-break: keep-all;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.hidden .post.fixed > .title {
    filter: blur(10px);
    transform: scale(1.25) translateY(-30px);
    color: #999;
    opacity: 0 !important;
}

.post[data-index="index-1"] > .title { padding-top: 185px; margin-top: -185px; }
.post[data-index="index-2"] > .title { padding-top: 235px; margin-top: -235px; }
.post[data-index="index-3"] > .title { padding-top: 285px; margin-top: -285px; }
.post[data-index="index-4"] > .title { padding-top: 335px; margin-top: -335px; }
.post[data-index="index-5"] > .title { padding-top: 385px; margin-top: -385px; }

.post.fixed > .title { 
    position: fixed;
    opacity: 1;
    /* text-shadow: 0 0 0 transparent; */

    animation-iteration-count: 1;
    animation-timing-function: ease-in-out;
    animation-name: highlight;
    animation-duration: 0.4s;
}

.post.fixed.prev > .title {
    opacity: 0.35;
}

@keyframes highlight {
    50% {
        /* color: #fff; */
        filter: blur(2px);
        opacity: 0.35;
    }
}

.post.fixed[data-index="index-1"] > .title { top: 185px; }
.post.fixed[data-index="index-2"] > .title { top: 235px; }
.post.fixed[data-index="index-3"] > .title { top: 285px; }
.post.fixed[data-index="index-4"] > .title { top: 335px; }
.post.fixed[data-index="index-5"] > .title { top: 385px; }
.post.fixed[data-index="index-6"] > .title { top: 435px; }

.post::after {
    content: '';
    height: 20vh;
    display: block;
    clear: both;
}

/* .inner-wrapper {
    transition: transform 0s, opacity 0.4s;
}

.hide .inner-wrapper {
    transform: translate(15vw, 0);
    opacity: 0;

    transition: transform 1.2s, opacity 0.4s;
} */

.inner-wrapper::after {
    content: '';
    display: block;
    clear: both;
}

.poster-type-1            { margin-right: 385px; min-width: 480px; max-width: 720px; }
.post:not(.poster-type-1) { margin-right:  30px; }

.post .thumbnail {
    width: 100%;
    height: 0;
    background-color: rgba(0, 0, 0, 0.08);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    /* filter: grayscale(1) brightness(0.7) contrast(0.85);
    opacity: 0.75; */
    cursor: pointer;
    position: relative;

    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-name: loading_thumb;
    animation-duration: 1.2s;

    transition: filter 1.2s, opacity 1.2s;
}

@keyframes loading_thumb {
    50% {
        background-color: rgba(0, 0, 0, 0.18);
    }
}  
    

    /* revision-1 */
    .post .thumbnail::before {
        content: 'Read More';
        display: block;
        width: 66px;
        height: 18px;
        color: #fff;
        font-family: KiaSignature, sans-serif;
        font-size: 11px;
        text-align: left;
        line-height: 18px;
        position: absolute;
        left: calc(50% - 33px);
        bottom: 17px;
        z-index: 9;
    }

    .post .thumbnail::after {
        content: "\f178";
        display: block;
        width: 12px;
        height: 18px;
        font-size: 11px;
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        text-align: center;
        line-height: 18px;
        color: #fff;
        position: absolute;
        left: calc(50% + 28px);
        bottom: 18px;
        z-index: 9;
        /* animation-iteration-count: infinite;
        animation-timing-function: ease-in-out;
        animation-name: blink;
        animation-duration: 0.8s; */
    }
    
    @keyframes blink {
        50% {
            opacity: 0;
        }
    }

    #intro-about-button {
        display: block !important;
        color: #fff;
        font-size: 12px;
        font-family: 'KiaSignature', sans-serif;
        width: 78px;
        line-height: 13px;
        padding: 10px 5px;
        border: 1px solid #ffffff;
        text-align: center;
        opacity: 0.5;
        cursor: pointer;
        bottom: 50px;
        left: calc(50% - 45px);
        position: absolute;
        z-index: 9;

        transition: opacity 0.3s;
    }

    #intro-about-button:hover {
        opacity: 1;
    }

    #about-button {
        display: block !important;
        position: fixed;
        bottom: 32px;
        left: 20px;
        background-color: #fff;
        color: var(--dark-bg);
        z-index: 1;
        font-size: 11px;
        font-family: 'KiaSignature', sans-serif;
        line-height: 18px;
        padding: 5px 10px 4px;
        /* border: 1px solid var(--dark-bg); */
        border-radius: 3px;
        box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.08);
        cursor: pointer;
        opacity: 0.7;

        transition: all 0.3s;
    }

    body:not(.scrolling) #about-button,
    body.open-single #about-button {
        left: -100px;
    }

    #about-button:hover {
        opacity: 1;
    }

    .reverse #about-button {
        opacity: 0.3;

        transition: all 1s;
    }

    /* .reverse #about-button:hover {
        color: var(--dark-bg);
        background-color: #fff;
        border-color: #fff;

        transition: all 0.3;
    } */


/* .post .thumbnail:hover {
    opacity: 1;
    filter: grayscale(1) brightness(1) contrast(1);
} */

.poster-type-1 .thumbnail { padding-top: 100%; }
.poster-type-2 .thumbnail,
.poster-type-3 .thumbnail { padding-top: 650px; width: 380px;}
.poster-type-2 .thumbnail { float: right; margin-left: 35px; }
.poster-type-3 .thumbnail { float:  left; margin-right:35px; }
.poster-type-4 .thumbnail { padding-top: min(56.25%, calc(100vh - 100px)); }

.post .thumbnail video {
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post .excerpt {
    min-width: 375px;
    height: 650px;
}

.post div.align-top  {
    color: rgb(80 80 80 / 20%);
    font-family: "Noto Sans KR", sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 185%;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 18;
    overflow: hidden;
    position: relative;
    top: -10px;
}

.poster-type-1 .excerpt,
.poster-type-4 .excerpt { display: none; }


/* 본문 설정 */

#single-container {
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100vh;
    background-color: var(--light-bg);
    z-index: 2;
    overflow-x: visible;
}

body.open-single #single-container {
    left: 0;
}


nav#single-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 70px);
    padding: 0 20px 0 35px;
    z-index: 99;

    transition: padding 0.6s;
}

.block-index-open nav#single-nav {
    padding-right: 55px;
}

nav#single-nav::before {
    content: '';
    width: calc(100% - 30px);
    height: 92px;
    display: block;
    background-color: var(--light-bg);
    position: absolute;
    top: 0;
    left: 15px;
    z-index: -1;
}

nav#single-nav ul {
    display: flex;
    width: 100%;
    height: 92px;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

nav#single-nav ul::before {
    content: '';
    width: 100%;
    height: 0;
    background: linear-gradient(0, rgba(227, 223, 217, 0.00) 0%, #e3dfd9 100%);
    opacity: 0;
    display: block;
    position: absolute;
    left: -5%;
    top: 40%;
    z-index: -1;
    transform: rotate(-2.5deg);

    transition: opacity 0.6s, height 0.6s;
}

nav#single-nav li {
    height: 22px;
    line-height: 22px;
    margin: 35px 0;
}

/* li#to-index {
    width: 33px;
    height: 22px;
    background: url('../img/to-index.svg') center no-repeat;
    background-size: contain;
    transition: background 0.2s;
    cursor: pointer;
} */

    /* revision-1 */

    li#to-index {
        width: 20px;
        height: 20px;
        position: relative;
        cursor: pointer;
        background: none;
    }
    
    #to-index::before,
    #to-index::after {
        content: '';
        width: 2px;
        height: 28px;
        display: block;
        position: absolute;
        left: calc(50% - 1px);
        top: calc(50% - 14px);
        background-color: #000;
    }

    #to-index::before { transform: rotate(45deg); }
    #to-index::after  { transform: rotate(-45deg); }


li#path {
    color: var(--dark-bg);
    font-family: KiaSignature, sans-serif;
    line-height: 22px;
    margin-right: 17px !important;
    position: relative;
    width: calc(100% - 50px);
    text-align: right;
    overflow: hidden;
}

li#path::before, 
li#path::after {
    top: 0;
    position: relative;
    transition: opacity 0.6s 0.2s, top 0.6s, color 0.6s 0.2s;
}

li#path::before {
    content: attr(data-cat) ' / ';
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
}

li#path::after {
    content: 'VOLUME ' attr(data-vol);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
}

li#path.title-in::before,
li#path.title-in::after {
    color: #fff;
    top: -100%;
    opacity: 0;
    transition: opacity 0.6s, top 0.6s, color 0.6s 0.2s;
}

li#path .title {
    color: #fff;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 100%;
    left: 0;
    text-align: right;
    line-height: 24px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    opacity: 0;

    transition: opacity 0.6s, top 0.6s, color 0.6s 0.2s;
}

li#path.title-in .title {
    color: inherit;
    font-family: KiaSignature, sans-serif;
    opacity: 1;
    top: 0;
    
    transition: opacity 0.6s 0.2s, top 0.6s, color 0.6s 0.2s;
}

li#path .title br {
    display: none;
}

#single-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    transition: transform 0.6s;
}

#content {
    padding: 92px 35px 0;
    color: var(--dark-bg);
    font-family: "SpecialSymbolFont", "Noto Sans CJK KR", sans-serif;
    line-height: 1.85em;
    font-size: 16px;
    position: relative;
    opacity: 0;
    
    transition: opacity 1s 0.4s;
}

#content.show {
    opacity: 1;
}

#content::before {
    content: '';
    width: 0;
    height: 100%;
    background: linear-gradient(270deg, rgba(227, 223, 217, 0.00) 0%, rgba(227, 223, 217, 0.95) 85%, #e3dfd9 100%);
    opacity: 0;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 8;
    opacity: 0;

    transition: opacity 0.6s, width 0s 0.6s;
}

#content > *:not(#content-cover) {
    margin-left: auto;
    margin-right: auto;
    max-width: 1280px;
}


#content-cover {
    top: 0;
    width: 100%;
    position: relative;
}

#content-cover .cover {
    width: 100%;
    height: 0;
    padding-top: calc(100vh - 92px);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: grayscale(1);
    position: relative;
    opacity: 0;
    
    transition: opacity 1s 0.8s, padding 0.6s;
}

#content-cover.no-grayscale .cover {
    filter: grayscale(0);
}

.show #content-cover .cover {
    opacity: 1;
}

#content-cover .cover.scrolling {
    transition: opacity 0.3s !important;
}

    /* about kdm */
    body.page #content-cover .cover {
        padding-top: 60px;
    }

    body.page #content-cover::after {
        display: none;
    }

    body.page #content .outline {
        -webkit-text-stroke: 1px #000;
    }

    body.page #single-title > .title {
        color: #000;
    }

    body.page li#path {
        display: none;
    }

#content-cover video {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
}

#content-cover::after {
    content: '';
    width: 100%;
    height: 45%;
    background: linear-gradient(180deg, rgba(34, 34, 34, 0.00) 0%, rgba(34, 34, 34, 0.85) 45%, #222 65%, #222 100%);
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    opacity: 0.55;
}

#single-title {
    width: 80%;
    word-break: keep-all;
    position: absolute;
    bottom: 7%;
    left: 10%;
    z-index: 2;
    
    animation-iteration-count: 2;
    animation-timing-function: ease-in-out;
    animation-name: title_neon;
    animation-duration: 3.6s;
}

#single-title > .title {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    /* -webkit-text-stroke: 1px var(--accent-color); */
    color: var(--accent-color);
    font-family: KiaSignature, sans-serif;
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: 125%;
    word-break: keep-all;
    
    animation-iteration-count: 2;
    animation-timing-function: ease-in-out;
    animation-name: title_neon;
    animation-duration: 3.6s;
}

@keyframes title_neon {
    50% {
        /* color: rgba(204, 255, 0, 0.12); 
        -webkit-text-stroke-color: rgba(204, 255, 0, 0.15);*/
        opacity: 0.3;
    }
}

.byline {
    margin: 2.75em auto 3.75em;
    font-size: 13px;
    line-height: 1em;
    color: #aaa;
    font-weight: 400;
    font-family: "Noto Sans KR", sans-serif;
    -webkit-text-stroke: none;
    font-family: initial;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 11px;
    display: flex;
    position: relative;
}

.byline::before {
    content: '';
    width: 16px;
    height: 2px;
    border-radius: 1px;
    background-color: #fff;
    position: absolute;
    left: calc(50% - 8px);
    top: -17px;
    display: block;
}

#single-title .byline {
    margin: 1.75em auto 0em;
}

.byline label::after {
    content: '\00B7';
    padding: 0 2px;
    display: inline-block;
}

#content .small-width  { max-width: 540px !important; margin-left: auto !important; margin-right: auto !important; }
#content .medium-width { max-width: 720px !important; margin-left: auto !important; margin-right: auto !important; }
#content .large-width  { max-width: 980px !important; margin-left: auto !important; margin-right: auto !important; }

/* #content .note {
    padding: 15px 25px;
    border: 1px solid #797979;
    color: #797979;
    border-radius: 4px;
    font-size: 11px;
    line-height: 1.55em;
} */

#chapter-list {
    position: relative;
    padding-top: 1.5em;
}

#chapter-list::before,
#chapter-list::after {
    content: '';
    width: 45px;
    height: 3px;
    display: block;
    background: #000;
    position: absolute;
    left: 0;
}

#chapter-list::before { top: 0; }
#chapter-list::after  { bottom: 0; }

#chapter-list li {
    font-family: KiaSignature, sans-serif;
    line-height: 1.75em;
    padding-left: 45px;
    padding-bottom: 0.85em;
    position: relative;
}

#chapter-list li::before {
    content: attr(id);
    position: absolute;
    left: 0;
    top: 0.2em;
    font-size: 1.45em;
    line-height: 1em;
    font-weight: 700;
    opacity: 0.25;

    transition: opacity 0.3s
}

#chapter-list li:hover::before {
    opacity: 1;
}

#content .note p {
    margin: 10px 0;
}

/* #content .note strong {
    color: var(--dark-bg);
    margin-bottom: 0.25em;
} */

    /* revision-1 */
    #content .note {
        padding: 12px 25px;
        border: 2px solid var(--dark-bg);
        color: var(--dark-bg);
        border-radius: 0;
        font-size: 13px;
        line-height: 1.55em;
    }

    #content .note strong {
        color: var(--dark-bg);
        margin-bottom: 0.45em;
        font-size: 15px;
        display: inline-block;
    }

#content blockquote {
    font-family: KiaSignature, sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.75em;
    margin: 4.5em auto;
    /* text-align: justify;
    word-break: break-all; */
    word-break: keep-all;
}

#content blockquote .left-border {
    padding-left: 1.35em;
    position: relative;
}

#content blockquote .left-border::before {
    content: '';
    width: 7px;
    height: calc(100% - 0.7em);
    position: absolute;
    left: 0;
    top: 0.35em;
    background: rgb(0 0 0 / 12%);
    /* border-radius: 4px; */
}

#content h2 {
    color: var(--dark-bg);
}

#content h3 {
    margin: 2.25em 0 1em;
    font-family: KiaSignature, sans-serif;
    font-size: 21px;
    line-height: 1.45em;
    color: var(--dark-bg);
}

#content h3 strong {
    font-size: 1.15em;
}

#content h4 {
    margin: 2em auto 0.75em;
    font-family: KiaSignature, sans-serif;
    font-weight: 700;
    font-size: 18px;
}

#content h5 {
    font-size: 1.125em;
    margin-bottom: -1.75em;
}

#content .wp-block-group {
    margin: 5.5em auto;
    max-width: 980px;
}

#content .chapter-title {
    font-size: 1.25em;
    font-family: KiaSignature, sans-serif;
    font-weight: 700;
    line-height: 1.75em;
    border-top: 3px solid #000;
}

#content .chapter-title strong {
    font-size: 1.2em;
    display: inline-block;
    margin-bottom: 0.5em;
}

/* #content .chapter-title p::before {
    content: '';
    width: 45px;
    height: 3px;
    display: block;
    background: #000;
    margin-bottom: 0.65em;
} */

#content .profile {
    padding: 1.5em;
    background: rgb(255 255 255 / 25%);
    word-break: break-all;
}

#content .profile > .wp-block-group__inner-container {
    /* display: grid;
    grid-template-columns: 150px 1fr; */
    position: relative;
    padding-left: 150px;
}

#content .profile h5 {
    margin-bottom: 0.25em;
    position: absolute;
    left: 0;
}

#content .profile figure {
    max-width: 150px;
    margin: 0 0 1em;
    padding-top: 0.25em;
}

#content .profile figure img {
    border-radius: 4px;
}


#content .profile p {
    font-size: 87.5%;
    line-height: 1.75em;
    text-align: justify;
    margin: 0;
}

#content .additional-note > .wp-block-group__inner-container {
    padding: 5em 1.25em 2.5em;
    /* background: #cbcbcd;
    box-shadow: 1px 1px 3px #0000000f;
    border-radius: 4px; */
    column-count: 2; /* 두 개 열로 나누기 */
    column-gap: 2em; /* 열 사이 간격 조절, 선택사항 */
    position: relative;
    border-top: 1px solid;
    border-bottom: 1px solid;
}

#content .additional-note p {
    margin: 0 0 1em;
}

#content .additional-note h5 {
    font-family: "Dancing Script", cursive;
    font-optical-sizing: auto;
    font-size: 1.35em;
    position: absolute;
    top: 1.5em;
    font-weight: 200;
}

#content figure {
    margin: 3em 0;
    position: relative;
}

#content figure.aligncenter {
    margin: 3em auto;
}

#content figure.wp-block-image img {
    width: 100%;
    height: auto;
}

#content figure figcaption {
    word-break: keep-all;
    text-align: left;
    font-size: 12px;
    color: #fff;
    line-height: 1.35em;
    padding: 7px;
    line-height: 1.35em;
    background: rgba(0, 0, 0, 0.5);
    bottom: 3px;
    box-sizing: border-box;
    left: 3px;
    margin-bottom: 0;
    width: auto;
    max-width: calc(100% - 6px);
    max-height: 60%;
    overflow: auto;
    position: absolute;
    scrollbar-color: #0000 #0000;
    scrollbar-gutter: stable both-edges;
    scrollbar-width: thin;
    will-change: transform;
    border-radius: 3px;

    transition: filter 0.8s;
}

#content figure figcaption.blur{
    filter: blur(5px);
}

#content figure figcaption.change {
    filter: blur(20px) brightness(0.35);
    transition: filter 0.4s;
}

#content .wp-block-embed {
    margin: 5.5em auto;
}

#content .wp-block-embed__wrapper {
    width: 100%;
    height: 0;
    position: relative;
}

#content .wp-embed-aspect-16-9 .wp-block-embed__wrapper { padding-top: 56.25%; }
#content .wp-embed-aspect-4-3  .wp-block-embed__wrapper { padding-top: 75%;    }

#content .wp-block-embed iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

#content p {
    margin: 2.5em 0;
}

#content p a {
    color: #fff;
    /* border-bottom: 1px dotted #fff; */
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-name: link_blink;
    animation-duration: 3.5s;

    transition: color 0.3s, border;
}

#content p.no-margin {
    margin: 0;
}

#content .outline {
    -webkit-text-stroke: 1px var(--accent-color);
    color: transparent;
    font-weight: 800;
    font-size: 1.15em;
    text-transform: uppercase;
}


@keyframes link_blink {
    50% {
        color: var(--accent-color);
        border-bottom-color: var(--accent-color);
    }
}

#content p a:hover {
    color: var(--accent-color);
    border-bottom: 1px solid var(--accent-color);
}

/* #content .wp-block-embed iframe {
    width: 100%;
} */

/* #content br.mobile-only {
    display: none;
} */

#chapter-list li {
    cursor: pointer;
}

#block-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 35px;
    height: 100%;
    z-index: 9;
    cursor: pointer;
    display: flex;
    pointer-events: none;
    
    transition: width 0.6s, padding 0.6s;
}

body.open-single #block-nav {
    pointer-events: auto;
}

.block-index-open #block-nav {
    padding: 0 20px 0 7px;
}

#block-nav ul {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0px;
    display: flex;
    width: 35px;
}

#block-nav li {
    width: 10px;
    height: 13px;
    opacity: 0.3;
    margin: 0 auto;
    display: flex;
    position: relative;
    cursor: pointer;
    display: block;

    transition: height 0.3s, padding 0.3s, opacity 0.3s;
}

#block-nav ul:hover li:hover {
    padding: 10px 2px;
    opacity: 1;
}

#block-nav ul:hover li:hover::before {
    height: 2px;
}

#block-nav li::before {
    content: '';
    width: 100%;
    height: 1px;
    background-color: #000;
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

#block-nav ul li::after {
    content: attr(data-type);
    font-size: 11px;
    color: var(--dark-bg);
    text-align: left;
    top: 50%;
    left: 20px;
    position: absolute;
    white-space: nowrap;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0;

    transition: opacity 0.3s;
}

#block-nav ul.default-type li::after {
    content: attr(data-index) ' ' attr(data-type);
    text-transform: capitalize;
}

#block-nav li.current::after {
    color: var(--dark-bg);
}

#block-nav:hover li.current::after,
#block-nav li:hover::after {
    opacity: 1;
}

#block-nav li.current {
    padding-left: 1px;
    padding-right: 1px;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-name: current_block;
    animation-duration: 1.2s;
}

@keyframes current_block {
    50% {
        opacity: 1;
        padding-left: 2px;
        padding-right: 2px;
    }
}

#block-nav:hover li.current {
    opacity: 1;
    padding-left: 2px;
    padding-right: 2px;
}

#block-nav li.current::before {
    height: 2px;
    border-radius: 1px;
    background-color: #000;
}

/* body.open-single #single-container.block-index-open {
    left: 20px;
} */

body.open-single .block-index-open #single-wrapper {
    transform: perspective(100vw) rotateY(-7deg);
}

body.open-single .block-index-open #content::before {
    width: 70%;
    opacity: 0.85;
    
    transition: opacity 0.6s, width 0s;
}

body.open-single .block-index-open nav#single-nav ul::before {
    height: 70%;
    opacity: 1;
}

.wp-block-button.hidden { /* 인터뷰내 버튼 숨김 */
    display: none;
}


/* 팝업 설정 */

#close-x {
    width: 20px;
    height: 20px;
    opacity: 0;
    position: absolute;
    display: block !important;
    cursor: pointer;
    right: 36px;
    top: 36px;
    z-index: 99;

    transition: opacity 0.2s;
}

#close-x::before,
#close-x::after {
    content: '';
    width: 2px;
    height: 28px;
    /* border-radius: 1px; */
    display: block;
    position: absolute;
    left: calc(50% - 1px);
    top: calc(50% - 14px);
    background-color: #fff;

    transition: transform 0.2s, left 0.2s;
}

/* body.popup {
    overflow: hidden;
} */

body.popup #close-x {
    opacity: 1;
}

#close-x::before { transform: rotate(45deg); }
#close-x::after  { transform: rotate(-45deg); }

#popup-container {
    width: 100vw;
    height: 100vh;
    background-color: var(--dark-bg);
    color: #fff;
    opacity: 0;
    position: fixed;
    top: -100vh;
    left: 0;
    z-index: 997;
    overflow: hidden;

    transition: opacity 0.8s, top 0s 0.8s;
}

body.popup #popup-container {
    top: 0;
    opacity: 1;

    transition: opacity 0.8s;
}

#popup-content {
    
}

#content-all {
    position: absolute;
    width: calc(100% - 240px);
    padding: 0 120px;
    height: 100%;
}

#content-all::before,
#content-all::after {
    content: '';
    display: block;
    width: 120px;
    height: 100%;
    position: absolute;
    z-index: 97;
    top: 0;
    background: var(--dark-bg);
}

#content-all::before {
    left: 0;
    background: linear-gradient(90deg, rgba(34,34,34,1) 0%, rgba(34,34,34,1) 35%, rgba(34,34,34,0) 100%);
}

#content-all::after {
    right: 0;
    background: linear-gradient(270deg, rgba(34,34,34,1) 0%, rgba(34,34,34,1) 35%, rgba(34,34,34,0) 100%);
}

#content-all .swiper-wrapper {
    top: calc(50% - 125px);
    height: 260px;
}

#content-all .swiper-slide {
    color: #FFF;
    text-align: center;
    cursor: pointer;

    transition: color 0.3s;
}

#content-all .swiper-slide:hover {
    color: var(--accent-color);
}

#content-all .swiper-slide h3 {
    font-family: Pretendard, sans-serif;
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 175%;
    margin-bottom: 25px;
}

#content-all .swiper-slide p {
    padding-top: 24px;
    max-width: 375px;
    font-family: "Noto Sans CJK KR", sans-serif;
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: 185%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
    word-break: keep-all;
    margin: 0 auto;
    overflow: hidden;
}

#content-all .swiper-slide ul {
    display: flex;
    padding: 1.75em 0px;
    margin: 2.0em 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    position: relative;
    font-size: 14px;
    cursor: pointer;
}

#content-all .swiper-slide ul::before, 
#content-all .swiper-slide ul::after {
    content: '';
    width: 16px;
    height: 2px;
    border-radius: 1px;
    background-color: #fff;
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

    transition: background 0.3s;
}

#content-all .swiper-slide:hover ul::before, 
#content-all .swiper-slide:hover ul::after {
    background-color: var(--accent-color);
    opacity: 0.3;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-name: vol_list;
    animation-duration: 1.2s;
}

#content-all .swiper-slide ul::before {
    top: 0;
} 

#content-all .swiper-slide ul::after {
    bottom: 0; 
}

#content-all .swiper-slide li {
    font-style: normal;
    font-weight: 400;
    line-height: 175%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 100%;
}

#content-all .swiper-pagination {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    display: flex;
    width: 3px;
    padding: 10px;
    margin-left: 8px;
    z-index: 99;
}


#content-all .swiper-pagination-bullet {
    width: 3px;
    height: 3px;
    border-radius: 0;
    background-color: #fff;
    opacity: 0.3;
}

#content-all .swiper-pagination-bullet-active {
    opacity: 1;
}


/* footer 설정 */

footer {
    width: 325px;
    font-size: 11px;
    color: rgba(120, 120, 120, 0.7);
    padding: 10px 20px;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 9;
}

span.linkHHOMM {
    display: none;
}

/* header ㄴ*/
/* #index-container .post .thumbnail {
    cursor: none !important;
    * {
        cursor: inherit;
    }
} */

#cursor-arrow {
    position: fixed;
    left: -32.5px;
    top: -12px;
    will-change: transform;
    pointer-events: none;
    display: inline-block;
    z-index: 999999;
    
    img {
        content: url('../img/cursor.svg');   
        will-change: transform;
        transition: all 0.3s cubic-bezier(0.6, 1.46, 0.53, 0.92);
        opacity: 0;
        width: 65px;
        height: 65px;
    }
} 

#cursor-arrow.top-left {
    left: -12px;
    top: 10px;
    
    img {
        content: url('../img/cursor-b.svg');
        transform: rotate(-135deg);
    }
}

#cursor-arrow.bottom {
    left: -35px;
    top: -50px;
    
    img {
        transform: rotate(-270deg);
    }
}


/* 기타 설정 */

body.parking {
    background-image: url('../img/teampros.svg');
    background-size: 320px 100px;
}

body.parking header,
body.parking main {
    display: none;
}

body.parking #parking-message::after {
    /* display: none; */
    content: '관련 문의는 hyungu@teampros.co.kr으로 부탁드립니다';
}


/* feedback 모드 설정 */

body[data-mode="feedback"] {
    overflow: initial !important;
}

body[data-mode="feedback"].open-single #container {
    left: 0;
}

body[data-mode="feedback"].open-single header {
    display: none;
}

body[data-mode="feedback"].open-single #index-container {
    display: none;
}

body[data-mode="feedback"].open-single #single-container {
    position: relative;
    height: auto;
    overflow: initial;
} 

body[data-mode="feedback"].open-single #single-wrapper {
    height: initial;
    overflow-y: initial;
}

body[data-mode="feedback"].open-single #block-nav {
    height: 100vh;
}