

.border-top {
    border-top: var(--borderTop);
    padding-top: 40px;
}


.single-menu {
    width: var(--singleMenuWidth);
    position: fixed;
}

.single-contents {
    width: calc(var(--singleContentsWidth) + var(--margin)*2);
    padding: 40px 0 100px 0;
    padding-bottom: 100px;
    -ms-overflow-style: none; /* 인터넷 익스플로러 */
    scrollbar-width: none; /* 파이어폭스 */
    z-index: 0;
    margin-left: calc(var(--singleContentsLeft) - var(--margin));
    position: relative;
}

hr.single-contents-border {
    position: fixed;
    top: var(--paddingTop);
    width: var(--singleContentsWidth);
    outline: none;
    height: 0px;
    background: none;
    border: none;
    border-top: var(--borderTop);
    margin: 0;
    z-index: 9990;
}

.single-contents ul li {
    font-weight: 500;
}

.single-contents:-webkit-scrollbar {
    display: none;
}

.single-menu .menu {
    display: block !important;
    position: static !important;
}

.single-menu .menu-item:not(.current_page_ancestor) {
    display: none;
}

.single-menu .current_page_ancestor .sub-menu .menu-item {
    display: block !important;
}

[aria-current="page"] {
    color: var(--gray) !important;
}

.single-menu .current-menu-parent > a {
    display: none;
}

.archive-template .single-menu .current-menu-parent > a {
    display: block;
}


.single-contents.eng h3 {
    font-family: "HyundaiHarmonyM", sans-serif;
    letter-spacing: 0em;
    line-height: var(--engheight);
}
.single-contents.kor h3 {
    font-family: "HyundaiHarmonyM", sans-serif;
    letter-spacing: 0em;
    line-height: var(--korheight);
}


/* INTRODUCTION */
.about-template iframe[src*="vimeo.com"] {
    width: calc(100% - var(--singleMenuWidth)) !important;
    height: auto !important;
    aspect-ratio: 16 / 9; /* 16:9 비율 유지 */
    max-width: 100%;
}

/* VISION */
.about-template .single-contents .wp-block-image {
    display: inline-block;
    height: 30px;
    margin-bottom: 20px;
    margin-right: 20px;
    max-width: 80px;
    vertical-align: middle;
}

.about-template .single-contents .wp-block-image img {
    width: 100%;
    height: auto;
}

.box-logo p {
    margin: 0 !important;
}

/* PROCESS */

.about-template-about-process-eng .wp-block-columns {
    margin-bottom: calc(var(--h3size) * 1.5);
}

.about-template-about-process-kor .wp-block-columns {
    margin-bottom: calc(var(--h3size) * 1.8);
}

.about-template-about-process-eng .wp-block-columns .wp-block-column:first-child, .about-template-about-process-kor .wp-block-columns .wp-block-column:first-child {
    width: 200px;
}

.about-template-about-process-eng .wp-block-columns .wp-block-column:last-child, .about-template-about-process-kor .wp-block-columns .wp-block-column:last-child {
    width: calc(100% - 200px)
}

.about-template-about-process-eng .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column, .about-template-about-process-kor .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
    flex-basis: auto !important;
}


.about-template-about-process-kor .wp-block-columns h3 {
    font-family: "HyundaiHarmonyM", sans-serif;
    letter-spacing: var(--letterSpacing);
    line-height: var(--korheight);
}

.about-template-about-process-eng .wp-block-columns h3 span {
    font-family: "HyundaiHarmonyL", sans-serif;
    letter-spacing: 0em;
    line-height: var(--engheight);
    text-decoration: none !important;
}

.about-template-about-process-kor .wp-block-columns h3 span {
    font-family: "HyundaiHarmonyL", sans-serif;
    letter-spacing: 0em;
    line-height: var(--korheight);
    text-decoration: none !important;
}

/* ENTRY */
.about-template p {
    margin-bottom: 0 !important;
}

.about-template .gray {
    color: var(--gray) !important;
}

.about-template .single-contents ul, .page-template-page-terms .single-contents ul,  .page-template-page-terms-kor .single-contents ul {
    list-style-type: disc !important;
    list-style: disc !important;
    padding-left: 14px;
    font-family: "HyundaiHarmonyM", "noto-sans-cjk-kr", sans-serif;
    font-style: normal;
    font-weight: 300;
}

.about-template .single-contents ul li, .page-template-page-terms .single-contents ul li,  .page-template-page-terms-kor .single-contents ul li {
    font-size: var(--h4size);
    line-height: var(--engheight);
    font-family: "HyundaiHarmonyL", sans-serif !important;
    letter-spacing: 0em;
    line-height: var(--engheight);
    list-style-type: disc !important;
    list-style: disc !important;
}

.about-template .single-contents.kor ul li {
    line-height: var(--korheight);
}

.about-template .single-contents .wp-block-columns .wp-block-column:first-child ul, .about-template .single-contents .wp-block-columns .wp-block-column:first-child ul li {
    list-style-type: disc !important;
    list-style: disc !important;
}
    
.about-template .single-contents.eng h2 {
    margin-bottom: var(--h1size) !important;
    font-family: "HyundaiHarmonyL", sans-serif;
    letter-spacing: var(--letterSpacing);
    font-size: var(--h1size);
}

.about-template .single-contents.kor h2 {
    font-size: var(--h1size);
    letter-spacing: 0em;
    margin-bottom: var(--h1size) !important;
}

.about-template .single-contents h3 {
    letter-spacing: var(--letterSpacing);
}

.about-template .single-contents .wp-block-columns {
    margin-bottom: calc(var(--h2size) * 2) !important;
}

.about-template .single-contents .wp-block-heading.gray {
    margin-top: calc(var(--h3size)*1.5)
}

/* FAQ */

.about-template-about-faq-eng .wp-block-columns, .about-template-about-faq-kor .wp-block-columns {
    margin-bottom: calc(var(--h3size) * 3);
}

.about-template.about-template-about-faq-eng .single-contents h3, .about-template.about-template-about-faq-kor .single-contents h3 {
    letter-spacing: 0em !important; 
}

.about-template-about-faq-kor .wp-block-columns{
    margin-bottom: calc(var(--h3size) * 3.6);
}

.about-template-about-faq-eng .single-contents  .wp-block-columns .wp-block-column:first-child:hover, .about-template-about-faq-kor .single-contents  .wp-block-columns .wp-block-column:first-child:hover {
    color: var(--gray);
    cursor: pointer;
}

.about-template-about-faq-eng .single-contents .wp-block-columns .wp-block-column:last-child h4 {
    text-decoration: none !important;
    display: none;
}

.about-template-about-faq-kor .single-contents .wp-block-columns .wp-block-column:last-child p {
    font-family: "HyundaiHarmonyL", sans-serif;
    letter-spacing: 0em;
    line-height: var(--korheight);
    text-decoration: none !important;
    display: none;
}

.about-template-about-faq-eng .single-contents .wp-block-columns h4 {
    line-height: var(--engheight);
}

.about-template-about-faq-kor .single-contents .wp-block-columns h4 {
    line-height: var(--korheight);
}

.faq-selected {
    color: var(--gray);
}


/* ARCHIVE */

/* OFFICIAL SCREENING */
.archive-template .name {
    margin-bottom: var(--h3size);
}

.archive-template .name h3, .archive-template .wp-block-column:first-of-type h3 {
    font-family: "HyundaiHarmonyM", sans-serif
}

.archive-template .name h3 {
    margin-left: var(--margin);
    cursor: pointer;
    letter-spacing: var(--letterSpacing);
}

.archive-template-archive-officialscreening-eng .name h3, .archive-template-archive-officialscreening-kor .name h3 {
    letter-spacing: 0em;
}

.archive-template .name h3:hover {
    color: var(--gray);
}


.single-box  {
    display: flex;
    justify-content: space-between;
    gap: var(--gap);
}

.slide {
    width: 70%;
    display: none;
}

.slide:first-of-type {
    display: block;
}

.archive-template .single-contents .wp-block-columns {
    margin-bottom: calc(var(--h3size)*2);
}

.archive-template figure img {
    width: 100%;
    height: auto;
}

.archive-template figure {
    display: none;
}

.archive-template figure:first-of-type {
    display: block;
}

.img-controler {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    width: 100%;
}

.img-controler h3:hover {
    color: var(--gray);
    cursor: pointer;
}

.slide iframe {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    max-width: 100%;
}


/* JURY */

.btn-mobile-sub-menu {
    display: none;
}

.single-menu .sub-menu a:not([aria-current="page"]) {
    display: block;
}


@media screen and (max-width: 1200px) {
    .single-contents {
        width: calc(var(--singleContentsWidth) + var(--margin));
    }

    hr.single-contents-border {
        width: calc(var(--singleContentsWidth) - var(--margin));
    }

    .archive-template .single-contents .wp-block-columns {
        margin-bottom: calc(var(--h3size)*2) !important;
    }
    
}

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

    .about-template .wrapper {
        padding-bottom: 180px;
    }

    .about-template .single-contents.eng h2 {
        letter-spacing: var(--letterSpacing)/2;
    }

    .single-contents {
        position: static;
        width: 100%;
        padding-top: 110px;
        margin-left: 0;
    }

    .about-template .single-contents {
        padding-top: 90px;
    }

    .archive-template .single-contents {
        padding-top: 50px;
    }

    .archive-template .single-contents {
        padding-top: 80px;
    }

    .archive-template .single-contents iframe {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }



    .single-menu {
        position: fixed;
        width: 100%;
        background: white;
        z-index: 9994;
        left: var(--margin);
        width: calc(100% - var(--margin)*2);
        border-bottom: 1.2pt solid black;
    }
    

    .border-top {
        padding: 16px 0 14px 0;
        border-top: var(--borderTop);
    }

    .about-template iframe[src*="vimeo.com"] {
        width: 100% !important;
    }

    .single-menu .sub-menu a[aria-current="page"] {
        color: black !important;
    }

    .single-menu .sub-menu a:not([aria-current="page"]) {
        display: none;
    }

    .archive-template .single-menu .sub-menu a:not([aria-current="page"]) {
        display: block;
    }

    .btn-mobile-sub-menu {
        width: 36px;
        position: absolute;
        right: 0;
        top: 17px;
        transition: 0.3s ease;
        display: block;
        cursor: pointer;
    }

    .single-contents h1.eng {
        display: none;
    }
    
    .about-template .single-contents .wp-block-columns {
        margin-bottom: calc(var(--h3size)) !important;
        gap: 20px !important;
    }

    .about-template-about-process-eng .wp-block-columns .wp-block-column:first-child, .about-template-about-process-kor .wp-block-columns .wp-block-column:first-child {
        width: 0;
    }

    .about-template-about-eng .single-contents h2:not(:first-of-type), .about-template-about-kor .single-contents h2:not(:first-of-type) {
        margin-top: calc(var(--h2size)*3)
    }


    .single-contents.archive {
        position: static;
    }

    
    
}


@media screen and (max-width: 768px) {
     .btn-mobile-sub-menu {
        width: 26px !important;
        top: 18px !important;
    }

    .single-menu {
        top: 70px;
    }

    .about-template .single-contents .wp-block-columns {
        gap: 0px !important;
    }

    .about-template .single-contents {
        padding-top: 70px;
    }

    .box-logo {
        margin-top: 40px !important;
    }

    .about-template .single-contents ul {
        padding-left: 16px;
    }
}