/* 기본 설정 */

html,
body {
    padding: 0;
    margin: 0 auto;
    width: 100%;
	height: 100%;
    background-color: #fff;
    /* max-width: 1194px;
    max-height: 834px; */
    -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape */
}

body {
    font-family: "Helvetica Neue", Helvetica, arial, "Apple SD Gothic Neo", "애플 SD 고딕 Neo", "NanumGothic", 돋움, Dotum, sans-serif;
    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;
}

h2, h3 {
    font-family: 'NanumBarunGothic', sans-serif;
    font-weight: 600;
}

h4 {
    font-weight: 400;
}


input,
select,
textarea {
    border: none;
    border-radius: 0;
    -webkit-appearance: none;
}
 
input:focus,
textarea:focus {
    outline: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
    -webkit-transition: background-color 9999s ease-out;
    -webkit-box-shadow: 0 0 0px 1000px white inset !important;
}

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

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

:root {
    --grid-gap: 20px;
    --grid-gap-2: 30px;
}

/* header 설정 */

header {
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
}

#intro {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #000;

    transition: opacity 0.6s, top 0s 1s;
}

body.popup #intro,
body.popup #intro-buttons,
body.intro-hide #intro,
body.intro-hide:not(.nav-top) #intro-buttons {
    top: -100vh;
    opacity: 0;
}

#intro::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: url('../img/dot-pattern-2.png') top center repeat;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.5;
    z-index: 2;
}

#intro::after {
    content: '';
    width: 100%;
    height: 35%;
    background: rgb(0,0,0);
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 9;
}

#intro video {
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
}

#intro .desc {
    display: none;
}

#intro-buttons {
    padding-top: 186px;
    background: url('../img/intro-logo.png') center top no-repeat;
    background-size: contain;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-gap: 10px 12px;
    position: fixed;
    left: calc(50% - 140px);
    top: calc(50% - 120px);
    width: 280px;
    height: 118px;
    z-index: 99;

    transition: opacity 0.6s, top 0s 1s;
}

#intro-buttons li {
    width: calc(100% - 4px);
    /* border-top: 2px solid rgba(255, 255, 255, 0.85);
    border-bottom: 2px solid rgba(255, 255, 255, 0.85); */
    border: 2px solid rgba(255, 255, 255, 0.85);
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
    text-align: center;
    padding: 8px 0 6px;
    color: #fff;
    opacity: 0.45;
    cursor: pointer;

    transition: opacity 0.3s, border 0.3s, background 0.3s;
}

#intro-buttons li:hover {
    border-color: #fff;
    opacity: 1;
}

#intro-buttons li strong {
    font-family: 'NanumBarunGothic', sans-serif;
    font-size: 13px;
    font-weight: 600;
    display: block;
}

body.nav-top #intro-buttons {
    background: rgb(255,255,255);
    background: linear-gradient(0deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.28) 35%, rgba(255,255,255,0.45) 100%);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-gap: 0;
    width: 100%;
    top: 0;
    left: 0;
    height: 50px;
    padding: 0px;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.12);
}

body.nav-top #intro-buttons::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    display: block;
    background-color: rgba(104, 104, 104, 0.5);
}

body.nav-top #intro-buttons li {
    width: 100%;
    border-top: 0;
    border-bottom: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 0;
    padding: 6px 0;
    opacity: 0.65;
    transition: border 0;
}

body.nav-top #intro-buttons li:first-child {
    border-left: 0 !important;
}

body.nav-top #intro-buttons li:hover {
    color: #5ab080;
    background-color: rgba(20, 20, 20, 0.85);
    opacity: 1;
}




/* main 설정 */

#cover {
    background-color: #BEBEBE;
    width: 100%;
    height: 100vh;
    position: relative;
}

#cover::before {
    content: '';
    width: 100%;
    height: 100%;
    background: url('../img/dot-pattern-1.png') top 1px center repeat rgb(0,0,0, 0.25);
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
}

#cover::after {
    content: '';
    width: 100%;
    height: 50%;
    background: rgb(0,0,0);
    background: linear-gradient(0deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 100%);
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 3;
}

#cover .headline {
    position: absolute;
    width: calc(100% - 60px);
    max-width: 980px;
    padding: 30px;    
    color:#fff;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.swiper-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.swiper-container .swiper-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#cover .swiper-container {
    z-index: 1;
}

.headline h2 {
    font-family: 'NanumBarunGothic', sans-serif;
    font-size: 32px;
    font-weight: 600;
    text-align: center;
}

.headline h4 {
    font-size: 18px;
    font-weight: 300;
    text-align: center;
    line-height: 1.35em;
    margin: 5px 0;
}

.keywords {
    position: relative;
}

.headline .organs {
    padding-top: 20px;
    margin: 24px auto 0;
    max-width: 650px;
    text-align: center;
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-gap: 7px;
    height: 0;
    overflow: hidden;
}

.headline .organs::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 1px;
    background-color: #fff;
    opacity: 0.3;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-name: title_line;
    animation-duration: 1.2s;
}

@keyframes title_line {
    50% {
        opacity: 1;
        width: 28px;
    }
 }

.organs li {
    width: 100%;
    padding-top: 56.25%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    /* border-radius: 50%; */
    font-size: 11px;
    color: #000;
    background-color: rgb(255 255 255 / 85%);
    position: relative;
    display: flex;
}

.organs li.no-img {
    height: 100%;
    padding: 0;
}

.organs li.no-img::before {
    content: attr(data-title);
    text-align: center;
    display: inline-block;
    margin: auto;
}

/* .organs li::before {
width
}

.organs li::after {
content: attr(data-title);
} */

.keywords li {
    display: inline-block;
    padding: 5px 7px 4px;
    border: 2px solid #000;
    border-radius: 4px;
    margin: 2px;
    font-size: 14px;
    line-height: 1em;
    color: #000;
    font-weight: 700;
    background: transparent !important;
    cursor: pointer;
}

.keywords li::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\23";
    font-size: 11px;
    line-height: 14px;
    height: 14px;
    color: #cdc8c1;
    margin: 0 2px 0 -2px;

    transition: color 0.2s;
}

.keywords li:hover::before {
    color:#1795A3;
}

.keywords li::after {
    content: attr(data-title);
    display: inline-block;
}

nav#side-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 35px;
    height: 100%;
    z-index: 9;
    cursor: pointer;
    display: flex;
}

nav#side-nav::before {
    content: '';
    width: 240px;
    height: 560px;
    background: rgb(0,0,0);
    background: radial-gradient(ellipse closest-side at 50% 50%, rgba(0, 0, 0, 0.5) 0%, rgba(0,0,0,0.3) 20%, rgba(0,0,0,0) 100%);
    display: block;
    position: absolute;
    left: -240px;
    top: calc(50% - 280px);
    opacity: 0;

    transition: opacity 0.6s 0.3s, left 0.6s 0.3s;
}

nav#side-nav:hover::before {
    left: -120px;
    opacity: 0.35;
}

nav#side-nav ul {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0px;
    width: 35px;
    margin: auto;
    display: flex;
    position: relative;
}

nav#side-nav ul::before {
    content: '';
    width: 14px;
    height: calc(100% - 3px);
    background-color: rgb(150 150 150 / 50%);
    display: block;
    position: absolute;
    top: 2px;
    left: calc(50% - 7px);
    border-radius: 7px;
}

nav#side-nav li {
    width: 10px;
    height: 20px;
    opacity: 0.5;
    margin: 0 auto;
    position: relative;
    cursor: pointer;
    display: block;
}

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

nav#side-nav li::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    border: 2px solid #fff;
    display: block;
    position: absolute;
    top: 6px;
    left: 1px;
}

nav#side-nav li[data-id="cover"]::before {
    background-color: #fff;
    border: 1px solid #fff;
    top: 7px;
    left: 2px;
}

nav#side-nav li:not(:last-child)::after {
    content: '';
    width: 2px;
    height: 14px;
    background-color: #fff;
    display: block;
    position: absolute;
    top: 12px;
    left: 4px;
    opacity: 0.35;
}

/* nav#side-nav li:hover::before {
    background-color: #fff;
} */

nav#side-nav li span {
    font-size: 11px;
    font-weight: 200;
    color: #fff;
    text-align: left;
    padding: 0 3px;
    top: calc(50% + 1px);
    left: 15px;
    position: absolute;
    white-space: nowrap;
    transform: translateY(-50%);
    pointer-events: none;
    filter: blur(50px);
    opacity: 0;

    transition: filter 0.4s, opacity 0.4s;
}

nav#side-nav li:hover span {
    opacity: 1;
    filter: blur(0);
}

#collection-summary {
    width: 100%;
    padding: 65px 0;
    position: relative;
}

#collection-summary::before {
    content: '';
    display: block;
    width: 100%;
    height: 300px;
    background: url('../img/dot-pattern-2.png') top 1px center repeat;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -3;
    opacity: 0.3;
}

#collection-summary::after {
    content: '';
    display: block;
    width: 100%;
    height: 300px;
    background: rgb(237,237,237);
    background: linear-gradient(180deg, rgba(235,235,235,0) 0%, rgba(245,245,245,0.5) 50%, rgba(255,255,255,1) 100%);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2;
}

#collection-summary .content {
    width: calc(100% - 140px);
    max-width: 520px;
    padding: 34px 39px;
    margin: 0 auto;
    color: #222222;
    font-family: 'NanumBarunGothic', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.75em;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.12);
    word-break: keep-all;
    background-color: #fff;
    border-radius: 7px;
    z-index: 3;
    position: relative;
}

#collection-summary .keywords {
    padding-top: 18px;
    margin-top: 20px;
    border-top: 1px solid #eee;
    line-height: 1em;
}

#project-container {
    width: calc(100% - 60px);
    margin: 0 auto;
    position: relative;
    padding-bottom: 500px;
}

#project-container::before {
    content: '';
    width: 10px;
    height: 10px;
    border: 3px solid #ccc;
    background-color: #fff;
    border-radius: 50%;
    display: block;
    position: absolute;
    left: calc(50% - 8px);
    top: -74px;
    z-index: 5;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-name: timeline_dot;
    animation-duration: 2s;
}


@keyframes timeline_dot {
    50% {
        border-color: #606060;
    }
}

#project-container::after {
    content: '';
    width: 2px;
    height: calc(100% + 65px);
    background-color: #ccc;
    position: absolute;
    left: calc(50% - 1px);
    top: -65px;
    z-index: -1;
}

.project {
    padding: 30px;
    position: relative;
    z-index: 2;
}

.project.main-type,
.project.trailer-type {
    padding: 45px;
    max-width: 950px;
    margin: 0 auto 55px;
    text-align: left;
    border-radius: 7px;
}

.project.trailer-type {
    background: #225378;
    color: #fff;
}

.project.main-type {
    background-color: #eae8e5;
}

.project.main-type::after,
.project.trailer-type::after {
    content: '';
    width: 2px;
    height: 25px;
    display: block;
    background: rgb(255,255,255);
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    position: absolute;
    left: calc(50% - 1px);
    bottom: -25px;
}

.project.main-type .project-header {
    display: block;
}

.project.trailer-type .project-header {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-gap: var(--grid-gap-2);
}

.project.main-type .project-header .title {
    max-width: 640px;
}

.project .project-header h2 {
    font-size: 131.25%;
    word-break: keep-all;

    transition: color 0.3s;
}

.project.normal-type:hover .project-header h2 {
    color: #1795A3;
}

.project .project-header h4 {
    font-size: 100%;
    font-weight: 500;
    margin: 0.45em 0 1.5em;
    word-break: keep-all;
}

.project.main-type .project-header h2,
.project.trailer-type .project-header h2 {
    font-size: 150%;
}

.project.main-type .project-header h4,
.project.trailer-type .project-header h4 {
    font-size: 112.5%;
}

.project .desc {
    word-break: keep-all;
    line-height: 1.45em;
    font-size: 93.75%;
    margin-top: 2.5em;
}

.project.trailer-type .project-header .summary {
    font-size: 13px;
    line-height: 1.55em;
}

.project.trailer-type .project-header .summary li {
    margin-bottom: 0.35em;
    padding-left: 55px;
    line-height: 1.35em;
    position: relative;
}

.project.trailer-type .project-header .summary li strong {
    position: absolute;
    left: 0;
    min-width: 50px;
    margin-right: 5px;
    display: inline-block;
}

.project.trailer-type .project-header .summary a {
    width: calc(50% - 37px);
    padding: 12px;
    text-align: center;
    border-radius: 7px;
    color: #fff;
    border: 3px solid rgb(255 255 255 / 10%);
    background-color: rgb(255 255 255 / 10%);
    margin-top: 5px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35em;
    display: inline-block;

    transition: background 0.3s;
}

.project.trailer-type .project-header .summary a:hover {
    background-color: #fff;
    color: #225378;
}

.project.trailer-type .project-header .summary a.youtube::after {
    content: "\f167";
    font-family: "Font Awesome 5 Brands";
    font-size: 22px;
    font-weight: 400;
    color: #ff0033;
    display: block;
    margin-top: 5px;
}

.project.trailer-type .project-header .summary a:first-child {
    margin-right: 14px;
}

.project.normal-type {
    width: calc(50% - 60px);
}

.project.normal-type:nth-child(even) { margin: 0 0 0 auto; }
.project.normal-type:nth-child(odd)  { margin: 0 auto 0 0; text-align: right; }

.project.normal-type .cover {
    position: absolute;
    width: calc(100% - 120px);
    height: calc(100% - 60px);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    filter: grayscale(0.9) contrast(1.5) sepia(0.25) brightness(1.25);
    border-radius: 10px;
    top: 30px;
    opacity: 0;
    overflow: hidden;

    transition: opacity 0.6s 0.4s;
}

.project.normal-type .cover::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: url('../img/dot-pattern-2.png') top center repeat;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.3;
    z-index: 2;
}

.project.normal-type .cover.show {
    opacity: 0.8;
}

.project.normal-type:nth-child(even) .cover { right: calc(100% + var(--grid-gap-2)); }
.project.normal-type:nth-child(odd)  .cover { left:  calc(100% + var(--grid-gap-2)); }

.project.normal-type .project-header {
    max-width: 475px;
}

.project.normal-type:nth-child(even) .project-header { margin: 0 auto 0 0; }
.project.normal-type:nth-child(odd)  .project-header { margin: 0 0 0 auto; }

.project::before {
    content: '';
    width: 10px;
    height: 10px;
    border: 3px solid #ccc;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 5px 5px #fff;
    display: block;
    position: absolute;
    z-index: 5;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-name: timeline_dot;
    animation-duration: 2s;

    transition: border-color 0.3s;
}

.project.normal-type:hover::before {
    border-color: #1795A3 !important;
}

.project:not(.normal-type)::before {
    box-shadow: none;
    left: calc(50% - 8px);
    top: -8px;
}

.project.normal-type::before {
    top: 33px;
}

.project.normal-type:nth-child(odd)::before {
    right: -8px;
}

.project.normal-type:nth-child(even)::before {
    left: -8px;
}

.trailer-type .post-list,
.main-type .post-list {
    margin-top: var(--grid-gap);
    padding-top: var(--grid-gap);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-gap: var(--grid-gap);
}

.trailer-type .post-list li,
.main-type .post-list li {
    padding: 20px;
    
    font-size: 14px;
    line-height: 1.55em;
    word-break: keep-all;
    position: relative;
    box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.12);
}

.trailer-type .post-list li { background-color: rgb(0 0 0 / 25%); }
.main-type    .post-list li { background-color: #fff; }

.trailer-type .post-list li {
    padding: 20px 20px 35px;
    min-height: 70px;
    font-weight: 600;
    pointer-events: none;
}

.main-type .post-list li {
    cursor: pointer;
}

.trailer-type .post-list li::before {
    content: attr(data-author);
    font-size: 12px;
    font-weight: 400;
    line-height: 1em;
    color: #cdc8c1;
    position: absolute;
    left: 20px;
    bottom: 12px;
    width: calc(100% - 40px);
}

.trailer-type .post-list li[data-format="meeting"]::before {
    content: attr(data-summary);
    line-height: 1.35em;
    font-size: 11px;
    white-space: pre-wrap;
}

.main-type .post-list li::before {
    content: '';
    border-top: 0px solid transparent;
    border-bottom: 65px solid transparent;
    border-right: 65px solid #ffffff;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}

.trailer-type .post-list li::after,
.main-type .post-list li::after {
    width: 22px;
    height: 22px;
    line-height: 22px;
    font-family: "Font Awesome 6 Free";
    font-size: 14px;
    font-weight: 900;
    color: #cdc8c1;
    text-align: center;
    display: block;
    position: absolute;
    right: 8px;
    z-index: 3;
    opacity: 0.5;

    transition: opacity 0.3s; 
}

.trailer-type .post-list li::after { bottom: 8px; }
.main-type    .post-list li::after { top: 8px;    }

.trailer-type .post-list li:hover::after,
.main-type .post-list li:hover::after {
    opacity: 1;
}

.trailer-type .post-list li[data-format="presentation"]::after,
.main-type .post-list li[data-format="presentation"]::after,
.normal-type .post-list li[data-format="presentation"]::before { 
    content: '\f07c';
    font-weight: 400;
}

.trailer-type .post-list li[data-format="discussion"]::after,
.main-type .post-list li[data-format="discussion"]::after,
.normal-type .post-list li[data-format="discussion"]::before { 
    content: '\f27a';
    font-weight: 300;
}

.main-type .post-list li .thumbnail {
    width: 100%;
    height: 0;
    padding-top: 100%;
    background-color: #fafafa;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: block;
    margin-bottom: 15px;
}

.normal-type .post-list {
    padding: 0 10px;
    margin-top: 12px;
    position: relative;
}

.normal-type .post-list::before {
    content: '';
    position: absolute;
    top: 5px;
    height: calc(100% - 10px);
    width: 1px;
    border-radius: 1px;
    background: rgb(0,0,0);
    background: linear-gradient(180deg, rgb(190, 190, 190, 0.5) 0%, rgb(190, 190, 190, 0.1) 100%);
}

.normal-type:nth-child(odd)  .post-list::before { right:0; }
.normal-type:nth-child(even) .post-list::before { left: 0; } 


.normal-type .post-list li {
    font-size: 87.5%;
    line-height: 1.35em;
    font-weight: 600;
    word-break: keep-all;
    margin: 0.65em 0;
    position: relative;
    cursor: pointer;
}

.normal-type:nth-child(odd)  .post-list li { padding-right: 24px; }
.normal-type:nth-child(even) .post-list li { padding-left:  24px; }

.normal-type .post-list li::before {
    width: 16px;
    font-family: "Font Awesome 6 Free";
    font-size: 14px;
    color: #cdc8c1;
    text-align: center;
    position: absolute;
    top: 0px;
}

.normal-type:nth-child(odd) .post-list li::before  { right: 0; }
.normal-type:nth-child(even) .post-list li::before { left:  0; }


/* post 설정 */

.post-header {
    overflow: hidden;
    max-height: auto;
    transition: opacity 0.6s, height 1.2s;
}

.sticky .post-header {
    opacity: 0;
    height: 40px;
    pointer-events: none;
}

.post-header h5 {
    margin-bottom: 2px;
}

.post-header h2 {
    /* padding-right: calc(100% - 400px); */
    width: 100%;
    max-width: 520px;
    word-break: keep-all;
    line-height: 1.35em;
}

.authors {
    height: 42px;
    display: block;
    margin: 10px 0;
}

.authors li {
    width: auto;
    padding-left: 50px;
    position: relative;
    margin-right: 20px;
    cursor: pointer;
}

.authors li::before {
    content: attr(data-name);
    display: block;
    font-size: 14px;
    font-weight: 600;
    padding: 4px 0;
}

.authors li::after {
    content: attr(data-organ);
    display: block;
    font-size: 11px;
}

.authors li span.thumb {
    width: 42px;
    height: 42px;
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 50%;
    background-image: inherit;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.authors li span.thumb.no-img {
    background-color: #eee;
}

.authors li span.thumb.no-img::before {
    content: "\f007";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color:#fff;
    text-align: center;
    font-size: 24px;
    line-height: 42px;
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
}

.post-desc {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-gap: var(--grid-gap-2);
    margin-top: 45px;
    margin-bottom: 15px;
}

.post-desc.wide-width {
    display: block;
}

.post-desc .summary {
    font-size: 15px;
    line-height: 1.55em;
    text-align: justify;
}

.date {
    font-size: 11px;
    color: #999;
    margin-top: 4px;
}

.date::before {
    content: 'UPDATE : ';
    font-weight: 200;
}


#main-source {
    padding: 25px 0 50px;
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 9;

    transition: padding 0.6s, background-color 1s 0.4s;
}

.sticky #main-source {
    padding-left: calc(50% - 320px);
    padding-right: calc(50% - 320px);
    /* background: rgb(255, 255, 255);
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 92%, rgba(255, 255, 255, 0) 100%); */
}

.sticky #main-source::before {
    content: attr(data-title);
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: 15px;
    text-align: center;
    font-family: 'NanumBarunGothic', sans-serif;
    font-weight: 600;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
}

.video-container {
    max-width: 950px;
    margin: 0 auto;
    width: 100%;
    height: 0;
    padding-top: 56.25%;
    position: relative;

    transition: max-width 1s;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

#post-chapters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-gap: var(--grid-gap) var(--grid-gap-2);
    padding-bottom: 175px;

    transition: padding 0.6s;
}

.sticky #post-chapters {
    padding-bottom: 250px;
}

.chapter {
    padding: 25px 20px 0 35px;
    font-size: 14px;
    line-height: 1.55em;
    border-top: 1px solid #000;
    position: relative;
    overflow: hidden;
}

.chapter::before {
    content: attr(data-no);
    width: 20px;
    height: 20px;
    color: #000;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-indent: 1px;
    line-height: 19px;
    position: absolute;
    top: 25px;
    left: 0;
    display: block;
    border: 2px solid #000;

    transition: background-color 0.3s, color 0.3s;
}

.chapter.current::before, 
.chapter:hover::before {
    background-color: #000;
    color: #fff;
}

.chapter h3 {
    font-size: 100%;
    line-height: 1.75em;
    margin-bottom: 5px;
    padding-right: 30px;
    word-break: keep-all;
    cursor: pointer;
    position: relative;

    transition: color 0.3s;
}

.chapter h3::after {
    content: attr(data-time);
    font-size: 10px;
    font-weight: 300;
    color: #fff;
    line-height: 18px;
    padding: 0 5px;
    border-radius: 3px;
    display: inline-block;
    background-color: #b0a99c;
    position: absolute;
    right: -20px;
    top: 2px;

    transition: background-color 0.3s;
}

.chapter.current h3::after,
.chapter h3:hover::after {
    background-color: #000;
}

.chapter.current h3::after {
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-name: playing;
    animation-duration: 1.2s;
}

@keyframes playing {
    50% {
        opacity: 0;
    }
}

.chapter .summary {
    margin-bottom: 15px;
    padding-top: 5px;
    /* display: none; */
}

.chapter .summary ul {
    line-height: 1.35em;
    font-size: 13px;
}

.chapter .summary li { 
    margin-top: 0.35em; 
    list-style: square; 
}

.chapter .summary li:first-child { margin-top: 0; }

.chapter .keywords {
    margin-left: -2px;
    display: none;
}


/* 키워드 페이지 설정 */

.archive {
    padding: var(--grid-gap-2);
    background: rgb(255,255,255);
    background: linear-gradient(180deg, rgb(240, 240, 240) 0%, rgba(250,250,250,0) 100%);
}

.archive .archive-container {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-gap: var(--grid-gap-2);
}

.archive .keyword {
    padding: var(--grid-gap) var(--grid-gap) 70px;
    border: 1px solid rgb(0 0 0 / 20%);
    background: #fff;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.12);
    position: relative;
}

.archive .keyword::after {
    content: attr(data-count);
    width: 2.5em;
    height: 1.5em;
    text-align: center;
    font-size: 11px;
    line-height: 1.5em;
    border: 1px solid #999;
    border-radius: 8px;
    color: #999;
    display: block;
    position: absolute;
    bottom: var(--grid-gap);
    left: calc(50% - 1.25em);
}

.archive .keyword h2 {
    text-align: center;
    font-size: 17px;
    margin-top: 0.45em;
    position: relative;
}

.archive .keyword h2::before {
    content: attr(data-organ);
    position: absolute;
    font-size: 12px;
    font-weight: 500;
    width: 100%;
    top: 58px;
    left: 0;
    text-align: center;
}

.archive .keyword .desc {
    width: 100%;
    padding: 15px 0 0;
    margin-top: 15px;
    min-height: 9.3em;
    font-size: 13px;
    text-align: justify;
    line-height: 1.55em;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
    position: relative;
}

.archive .keyword .desc::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 1px;
    background-color: #000;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}


/* 팝업 설정 */

#popup-container {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 100vh;
    left: 0;
    z-index: 999;
    background-color: rgba(25, 25, 25, 0.8);
    opacity: 0;
    
    transition: opacity 0.8s, top 0s 0.8s;
}

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

    transition: opacity 0.8s;
}

.close-x {
    width: 20px;
    height: 20px;
    position: absolute;
    display: block !important;
    cursor: pointer;
    right: 12px;
    top: 12px;
    z-index: 99;
}

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

    transition: transform 0.2s, left 0.2s;
}

#popup-keyword .close-x::before,
#popup-keyword .close-x::after {
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-name: bwchange;
    animation-duration: 4s;
}

@keyframes bwchange {
    50% {
        background-color: #444;
    }
}

#popup-about .close-x::before,
#popup-about .close-x::after {
    background-color: #fff;
}

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

#popup-about,
#popup-post {
    max-width: 950px;
    width: calc(100% - 120px);
    height: calc(100vh - 120px);
    padding: 30px 0;
    margin: 30px auto;
    border-radius: 11px;
    position: relative;
    z-index: 1;
    display: none;
}

#popup-about {
    background: url('../img/about-bg.jpg') center no-repeat;
    background-size: cover;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
}

#popup-post { 
    background: #fff;
    border: 1px solid #fff;
}

body.popup-keyword #popup-post::after {
    content: '';
    display: block;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    border-radius: 10px;
    background-color: rgba(25, 25, 25, 0.8);
    position: absolute;
    z-index: 9;
    top: -1px;
    left: -1px;
}

#popup-keyword {
    width: 280px;
    height: 330px;
    padding: 180px 30px 30px;
    border: 1px solid #606060;
    background: #fff;
    box-shadow: 10px 12px 20px rgba(0, 0, 0, 0.12);
    position: absolute;
    display: flex;
    z-index: 10;
}

#popup-about,
#popup-post,
#popup-keyword {
    opacity: 0;
    left: -100vw;
}

body.popup-about #popup-about,
body.popup-post #popup-post {
    opacity: 1;
    left: 0;
    display: block;
}

body.popup-keyword #popup-keyword {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
}

#popup-keyword .bgimg {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    padding-top: 85%;
    z-index: -1;
}

#popup-keyword .bgimg.noimg::before {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 1;
    background: url('../img/dot-pattern-2.png') center repeat;
    opacity: 0.3;
}

#popup-keyword .bgimg::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 1;
    background: rgb(255,255,255);
    background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 30%, rgba(255,255,255,0) 65%, rgba(255,255,255,0) 100%);
}

.popup-content {
    overflow: auto;
    height: 100%;
    position: relative;
}

#popup-about .popup-content,
#popup-post .popup-content {
    padding-left: 30px;
    padding-right: 30px;
}

#popup-keyword .popup-content {
    width: 100%;
}

#popup-about .popup-content {
    font-family: 'Noto Sans CJK KR', 'Noto Sans KR', sans-serif;
}

#popup-about .popup-content h3 {
    font-family: 'NanumBarunGothic', sans-serif;
    line-height: 1.85em;
    font-weight: 600;
    font-size: 125%;
    color: #5ab080;
    text-align: center;
}

#popup-about .popup-content h3::before {
    content: '';
    width: 280px;
    height: 186px;
    background: url('../img/intro-logo.png') center top no-repeat;
    background-size: contain;
    display: block;
    margin: 30px auto 20px;
}

#popup-about .popup-content h3 strong {
    font-weight: 700;
}

#popup-about .popup-content .wp-block-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-gap: var(--grid-gap-2);
    word-break: keep-all;
}

#popup-about .popup-content .wp-block-columns h2 {
    font-family: 'Noto Sans CJK KR', 'Noto Sans KR', sans-serif;
    font-weight: 300;
    font-size: 150%;
}

#popup-about .popup-content .wp-block-columns h4 {
    font-weight: 600;
    font-size: 112.5%;
    color: #5ab080;
}

#popup-about .popup-content .wp-block-columns p {
    font-size: 100%;
    line-height: 1.55em;
    border-top: 1px solid rgb(255 255 255 / 12%);
    padding-top: 20px;
    margin-bottom: 40px;
}

#popup-about .popup-content .wp-block-image img {
    object-fit: contain;
    max-width: 480px !important;
    max-height: 480px !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 auto;
    display: block;
}

#popup-keyword h2 {
    text-align: center;
    font-size: 20px;
    position: relative;
}

#popup-keyword h2::before {
    content: attr(data-organ);
    position: absolute;
    font-size: 12px;
    font-weight: 500;
    width: 100%;
    top: 58px;
    left: 0;
    text-align: center;
}

#popup-keyword .desc {
    width: 100%;
    padding: 15px 0 0;
    margin-top: 15px;
    max-height: 96px;
    font-size: 13px;
    text-align: justify;
    line-height: 1.55em;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    position: relative;
}

#popup-keyword .desc::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 1px;
    background-color: #000;
    opacity: 0.3;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-name: title_line;
    animation-duration: 1.2s;
}

#popup-keyword ul.rel-posts {
    border-top: 1px solid #000;
    position: absolute;
    width: 100%;
    min-height: 165px;
    bottom: 0;
    /* margin-top: 10px; */
}

#popup-keyword ul.rel-posts.limit-5 {
    min-height: 220px;
}

#popup-keyword ul.rel-posts li {
    border-bottom: 1px solid #000;
    padding: 10px 0;
    font-size: 14px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    cursor: pointer;

    transition: color 0.3s;
}

#popup-keyword ul.rel-posts li:hover {
    color: #1795A3;
}

#popup-keyword ul.rel-posts li::before {
    content: attr(data-project);
    font-size: 11px;
    line-height: 1em;
    margin: 2px 0 4px;
    display: block;
    color: #999;
}

#popup-keyword ul.rel-posts li::after {
    content: attr(data-title);
    font-weight: 600;
    font-family: 'NanumBarunGothic', sans-serif;
}


/* footer 설정 */

footer {
    font-size: 12px;
    padding: 20px;
}

#copyright {
    font-size: 11px;
    color: #ccc;
    text-align: center;
}

span.linkHHOMM {
    display: block;
}


/* 반응형 설정 */

@media all and (max-width: 1080px) {

    .project.trailer-type .project-header {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        grid-gap: 10px;
    }

    .project.trailer-type .project-header .summary {
        margin-top: 15px;
    }

    .trailer-type .post-list, 
    .main-type .post-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .project.normal-type .cover {
        width: calc(100% - 60px);
    }

}

@media all and (max-width: 800px) {

    .project.normal-type {
        width: calc(50% - 20px);
        padding: 20px;
    }

    .project .project-header,
    .project .post-list {
        font-size: 14px;
    }

    .project.normal-type:nth-child(even) { padding-right: 0; }
    .project.normal-type:nth-child(odd)  { padding-left:  0; }

    .project.normal-type .cover {
        display: none;
    }
    
    .trailer-type .post-list, 
    .main-type .post-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .post-desc,
    #post-chapters {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    #popup-about .popup-content .wp-block-columns {
        display: block;
        grid-gap: var(--grid-gap-2);
        word-break: keep-all;
    }

    .headline .organs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

}

@media all and (max-width: 520px) {

    #collection-summary {
        padding: 40px 0 65px;
    }

    #collection-summary .content {
        width: calc(100% - 120px);
        padding: 24px 29px;
    }

    .project.main-type, 
    .project.trailer-type {
        padding: 25px;
    }

    .project.normal-type {
        width: 100%;
        padding: 20px 0 10px;
        background: #fff;
        margin: 0 0 70px !important;
        text-align: left !important;
    }

    .project.normal-type::before {
        top: -8px;
        left: calc(50% - 8px) !important;
    }

    .project.normal-type::after {
        content: '';
        width: 2px;
        height: 25px;
        display: block;
        background: rgb(255, 255, 255);
        background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
        position: absolute;
        left: calc(50% - 1px);
        bottom: -25px; 
    }

    .project .project-header,
    .project .post-list {
        font-size: 12px;
    }

    .project .project-header h2,
    .project .project-header h4 {
        text-align: center;
    }

    .normal-type .post-list::before,
    .normal-type .post-list li::before {
        left: 0 !important;
        right: auto !important;
    }

    .normal-type .post-list li {
        padding-left: 24px !important;
        padding-right: 0 !important;
    }

    .trailer-type .post-list, 
    .main-type .post-list {
        padding: 0;
        grid-template-columns: repeat(1, minmax(0, 1fr));
        grid-gap: 10px;
    }

    .trailer-type .post-list li {
        min-height: 45px;
    }

    .main-type .post-list li .thumbnail {
        padding-top: 56.25%;
    }

    #popup-about,
    #popup-post {
        width: calc(100% - 40px);
        height: calc(100vh - 80px);
        padding: 20px 0;
        margin: 20px auto;
    }

    #popup-about .popup-content,
    #popup-post .popup-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .keywords li {
        font-size: 12px;
    }

    .sticky #main-source::before {
        font-size: 12px;
    }

    #main-source {
        padding: 25px 0 15px;
    }

    .chapter h3 {
        font-size: 14px;
        padding-top: 3px;
    }

    .headline .organs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}