/* JUNI TEST ART STORY v1.0.0 */

:root{
    --jt-art-bg:#F3F2EF;
    --jt-art-paper:#FCFBF8;
    --jt-art-text:#24231F;
    --jt-art-muted:#75726A;
    --jt-art-line:#E2DFD7;
    --jt-art-accent:#765C49;
    --jt-art-dark:#2D2A25;
    --jt-art-shadow:0 15px 44px rgba(52,45,37,.07);
}

*{box-sizing:border-box;}

body.jt-art-body{
    margin:0;
    background:
        radial-gradient(circle at 7% 1%, rgba(190,157,112,.12), transparent 25%),
        radial-gradient(circle at 94% 5%, rgba(123,142,155,.10), transparent 27%),
        var(--jt-art-bg);
    color:var(--jt-art-text);
    font-family:
        Pretendard,
        "Noto Sans KR",
        "Apple SD Gothic Neo",
        "Malgun Gothic",
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

.jt-art-shell{padding:28px 0 56px;}

.jt-art-eyebrow,
.jt-art-section-label,
.jt-art-bottom > div > p{
    margin:0;
    color:#826750;
    font-size:11px;
    font-weight:850;
    letter-spacing:.16em;
}

.jt-art-hero{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:42px;
    min-height:310px;
    overflow:hidden;
    padding:58px 62px;
    border:1px solid rgba(219,215,206,.94);
    border-radius:30px;
    background:
        radial-gradient(circle at 88% 12%, rgba(160,123,89,.13), transparent 25%),
        linear-gradient(135deg,#FFFDF9 0%,#FBFAF7 56%,#F0EEE8 100%);
    box-shadow:var(--jt-art-shadow);
}

.jt-art-hero::after{
    content:"";
    position:absolute;
    width:210px;
    height:270px;
    right:35px;
    bottom:-76px;
    border:1px solid rgba(94,76,59,.16);
    transform:rotate(9deg);
    pointer-events:none;
}

.jt-art-hero__copy{position:relative;z-index:2;max-width:650px;}

.jt-art-hero h1{
    margin:13px 0 0;
    color:#201F1B;
    font-family:Georgia,"Times New Roman","Noto Serif KR",serif;
    font-size:clamp(42px,5.5vw,61px);
    font-weight:650;
    line-height:1.12;
    letter-spacing:-.055em;
}

.jt-art-lead{
    margin:22px 0 0;
    color:#6F6A62;
    font-size:15px;
    line-height:1.82;
    letter-spacing:-.02em;
}

.jt-art-hero__mark{
    position:relative;
    z-index:2;
    flex:0 0 190px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    width:190px;
    height:190px;
    padding:24px;
    border:1px solid rgba(92,74,56,.20);
    background:rgba(255,255,255,.58);
    box-shadow:12px 15px 0 rgba(108,87,68,.07);
    color:#6F5845;
    font-family:Georgia,"Times New Roman",serif;
    font-size:29px;
    line-height:.94;
    letter-spacing:.04em;
    transform:rotate(-3deg);
}

.jt-art-intro,
.jt-art-list{
    margin-top:20px;
    padding:44px 48px;
    border:1px solid rgba(219,215,206,.94);
    border-radius:28px;
    background:var(--jt-art-paper);
    box-shadow:var(--jt-art-shadow);
}

.jt-art-intro h2,
.jt-art-list__heading h2{
    margin:8px 0 0;
    color:#292721;
    font-size:27px;
    font-weight:820;
    line-height:1.35;
    letter-spacing:-.04em;
}

.jt-art-intro > p:last-child{
    max-width:810px;
    margin:18px 0 0;
    color:#68645D;
    font-size:15px;
    line-height:1.88;
    letter-spacing:-.02em;
}

.jt-art-list__heading{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:28px;
    margin-bottom:25px;
}

.jt-art-list__note{
    margin:0 0 4px;
    color:#8B877F;
    font-size:11px;
    line-height:1.5;
    white-space:nowrap;
}

.jt-art-table{
    overflow:hidden;
    border-top:2px solid #35312B;
    border-bottom:1px solid #CFCAC0;
}

.jt-art-table__header,
.jt-art-row{
    display:grid;
    grid-template-columns:58px 128px minmax(0,1fr) 112px;
    gap:20px;
    align-items:center;
}

.jt-art-table__header{
    min-height:43px;
    padding:0 16px;
    border-bottom:1px solid #CFCAC0;
    color:#8B867D;
    font-size:10px;
    font-weight:850;
    letter-spacing:.12em;
}

.jt-art-row{
    min-height:116px;
    padding:14px 16px;
    border-bottom:1px solid var(--jt-art-line);
    transition:background-color .16s ease;
}

.jt-art-row:last-child{border-bottom:0;}
.jt-art-row.is-linked:hover{background:#F7F4EE;}

.jt-art-row__no{
    color:#9A8C7E;
    font-family:Georgia,"Times New Roman",serif;
    font-size:16px;
    font-weight:700;
    letter-spacing:.03em;
}

.jt-art-row__thumb{
    position:relative;
    display:block;
    width:128px;
    height:86px;
    overflow:hidden;
    border-radius:4px;
    background:#E8E4DC;
    box-shadow:0 4px 13px rgba(48,41,34,.08);
    text-decoration:none;
}

.jt-art-row__thumb img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .22s ease;
}

.jt-art-row.is-linked .jt-art-row__thumb:hover img,
.jt-art-row.is-linked .jt-art-row__thumb:focus-visible img{transform:scale(1.035);}

.jt-art-row__placeholder{
    display:grid;
    place-items:center;
    width:100%;
    height:100%;
    background:
        linear-gradient(135deg,rgba(133,111,91,.12),rgba(110,124,132,.09)),
        #F2EFE8;
    color:#9A8D80;
    font-family:Georgia,"Times New Roman",serif;
    font-size:24px;
}

.jt-art-row__story{min-width:0;}

.jt-art-row__work{
    margin:0 0 6px;
    color:#968574;
    font-size:10px;
    font-weight:800;
    line-height:1.45;
    letter-spacing:.04em;
}

.jt-art-row__story h3{
    margin:0;
    color:#2A2823;
    font-size:17px;
    font-weight:760;
    line-height:1.48;
    letter-spacing:-.025em;
}

.jt-art-row__story h3 a{
    color:inherit;
    text-decoration:none;
}

.jt-art-row__story h3 a:hover,
.jt-art-row__story h3 a:focus-visible{
    color:#775D49;
    text-decoration:underline;
    text-decoration-thickness:1px;
    text-underline-offset:5px;
}

.jt-art-row__date{
    justify-self:end;
    color:#89847C;
    font-size:11px;
    line-height:1.5;
    white-space:nowrap;
}

.jt-art-row.is-pending{
    background:#F8F6F1;
    color:#918D85;
}

.jt-art-row.is-pending .jt-art-row__story h3{color:#77736C;}

.jt-art-bottom{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:30px;
    margin-top:20px;
    padding:38px 44px;
    border-radius:26px;
    background:#302C27;
    color:#FFFFFF;
}

.jt-art-bottom > div > p{color:#D8B999;}

.jt-art-bottom h2{
    margin:8px 0 0;
    font-size:25px;
    font-weight:760;
    line-height:1.45;
    letter-spacing:-.035em;
}

.jt-art-bottom > a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    min-height:48px;
    padding:0 20px;
    border:1px solid rgba(255,255,255,.22);
    border-radius:999px;
    background:rgba(255,255,255,.07);
    color:#FFFFFF;
    font-size:12px;
    font-weight:800;
    text-decoration:none;
    white-space:nowrap;
}

.jt-art-bottom > a:hover,
.jt-art-bottom > a:focus-visible{background:rgba(255,255,255,.13);}

@media(max-width:760px){
    .jt-art-shell{padding:18px 0 42px;}

    .jt-art-hero{
        min-height:auto;
        padding:42px 30px;
        border-radius:24px;
    }

    .jt-art-hero h1{font-size:clamp(38px,11vw,50px);}
    .jt-art-lead{font-size:14px;}
    .jt-art-hero__mark{display:none;}

    .jt-art-intro,
    .jt-art-list{
        padding:32px 24px;
        border-radius:22px;
    }

    .jt-art-list__heading{
        align-items:flex-start;
        flex-direction:column;
        gap:9px;
    }

    .jt-art-list__note{margin:0;white-space:normal;}
    .jt-art-table__header{display:none;}

    .jt-art-row{
        grid-template-columns:88px minmax(0,1fr);
        grid-template-areas:
            "thumb story"
            "thumb date";
        gap:5px 15px;
        min-height:0;
        padding:15px 0;
    }

    .jt-art-row__no{display:none;}

    .jt-art-row__thumb{
        grid-area:thumb;
        width:88px;
        height:88px;
        align-self:center;
    }

    .jt-art-row__story{grid-area:story;align-self:end;}
    .jt-art-row__date{grid-area:date;justify-self:start;align-self:start;}
    .jt-art-row__story h3{font-size:15px;line-height:1.42;}
    .jt-art-row__work{margin-bottom:4px;font-size:9px;}
    .jt-art-row__date{font-size:10px;}

    .jt-art-bottom{
        align-items:flex-start;
        flex-direction:column;
        padding:32px 26px;
        border-radius:22px;
    }

    .jt-art-bottom h2{font-size:22px;}
}

@media(max-width:430px){
    .jt-art-hero{padding:36px 24px;}
    .jt-art-intro,
    .jt-art-list{padding:28px 18px;}
    .jt-art-row{grid-template-columns:78px minmax(0,1fr);gap:5px 13px;}
    .jt-art-row__thumb{width:78px;height:78px;}
    .jt-art-row__story h3{font-size:14px;}
}

/* ART STORY article */
.jt-art-article{margin-top:20px;}

.jt-art-article__header{
    position:relative;
    overflow:hidden;
    padding:58px 62px 52px;
    border:1px solid rgba(219,215,206,.94);
    border-radius:30px;
    background:
        radial-gradient(circle at 88% 15%, rgba(153,117,83,.12), transparent 24%),
        linear-gradient(135deg,#FFFDF9 0%,#FBFAF7 58%,#F1EEE8 100%);
    box-shadow:var(--jt-art-shadow);
}

.jt-art-article__header::after{
    content:attr(data-story-no);
    position:absolute;
    right:46px;
    bottom:-18px;
    color:rgba(107,83,62,.07);
    font-family:Georgia,"Times New Roman",serif;
    font-size:148px;
    font-weight:700;
    line-height:1;
    pointer-events:none;
}

.jt-art-back{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:#7A6857;
    font-size:11px;
    font-weight:850;
    letter-spacing:.12em;
    text-decoration:none;
}

.jt-art-back:hover,
.jt-art-back:focus-visible{text-decoration:underline;text-underline-offset:4px;}

.jt-art-article__series{
    margin:28px 0 0;
    color:#8B725C;
    font-size:11px;
    font-weight:850;
    letter-spacing:.16em;
}

.jt-art-article__header h1{
    max-width:760px;
    margin:12px 0 0;
    color:#24211D;
    font-family:Georgia,"Times New Roman","Noto Serif KR",serif;
    font-size:clamp(39px,5.3vw,58px);
    font-weight:650;
    line-height:1.19;
    letter-spacing:-.055em;
}

.jt-art-article__subtitle{
    margin:22px 0 0;
    color:#6F685F;
    font-family:"Noto Serif KR",Georgia,serif;
    font-size:17px;
    line-height:1.7;
    letter-spacing:-.025em;
}

.jt-art-article__meta{
    display:flex;
    flex-wrap:wrap;
    gap:8px 18px;
    margin-top:26px;
    color:#908B83;
    font-size:10px;
    font-weight:700;
    line-height:1.5;
}

.jt-art-article__meta span+span::before{
    content:"·";
    margin-right:18px;
    color:#C1BBB1;
}

.jt-art-figure{
    margin:20px 0 0;
    overflow:hidden;
    border:1px solid rgba(219,215,206,.96);
    border-radius:26px;
    background:#E8E2D7;
    box-shadow:var(--jt-art-shadow);
}

.jt-art-figure img{
    display:block;
    width:100%;
    height:auto;
}

.jt-art-figure figcaption{
    padding:14px 18px 15px;
    background:#FBF9F5;
    color:#827C73;
    font-size:12px;
    line-height:1.65;
    text-align:right;
}

.jt-art-work-card{
    margin-top:20px;
    padding:38px 44px;
    border:1px solid rgba(219,215,206,.94);
    border-radius:26px;
    background:#FCFBF8;
    box-shadow:var(--jt-art-shadow);
}

.jt-art-work-card h2{
    margin:8px 0 22px;
    color:#292721;
    font-size:24px;
    font-weight:820;
    letter-spacing:-.04em;
}

.jt-art-work-card dl{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:0 38px;
    margin:0;
}

.jt-art-work-card dl>div{
    display:grid;
    grid-template-columns:82px minmax(0,1fr);
    gap:12px;
    padding:12px 0;
    border-top:1px solid #E8E3DA;
}

.jt-art-work-card dt{
    color:#948879;
    font-size:11px;
    font-weight:800;
}

.jt-art-work-card dd{
    margin:0;
    color:#514D46;
    font-size:12px;
    line-height:1.65;
}

.jt-art-article__content{
    margin-top:20px;
    padding:58px 64px 64px;
    border:1px solid rgba(219,215,206,.94);
    border-radius:28px;
    background:#FFFDF9;
    box-shadow:var(--jt-art-shadow);
}

.jt-art-article__content>p,
.jt-art-article__content section>p{
    max-width:790px;
    margin:0 auto 22px;
    color:#494640;
    font-family:"Noto Serif KR",Georgia,"Times New Roman",serif;
    font-size:16px;
    line-height:2.03;
    letter-spacing:-.018em;
    word-break:keep-all;
}

.jt-art-article__content strong{color:#292620;font-weight:780;}

.jt-art-article__lead{
    color:#312E28!important;
    font-size:18px!important;
    line-height:2!important;
}

.jt-art-article__content section{
    max-width:850px;
    margin:62px auto 0;
    padding-top:4px;
}

.jt-art-article__content section h2{
    max-width:790px;
    margin:0 auto 24px;
    color:#2A2722;
    font-family:Georgia,"Times New Roman","Noto Serif KR",serif;
    font-size:27px;
    font-weight:700;
    line-height:1.45;
    letter-spacing:-.04em;
}

.jt-art-article__content section h2::before{
    content:"";
    display:block;
    width:34px;
    height:1px;
    margin-bottom:16px;
    background:#967D67;
}

.jt-art-story-note{
    max-width:790px;
    margin:34px auto 8px;
    padding:26px 28px 24px;
    border-left:3px solid #9A8068;
    background:#F5F1EA;
}

.jt-art-story-note__label{
    margin:0 0 9px!important;
    color:#7A604B!important;
    font-family:Pretendard,"Noto Sans KR",sans-serif!important;
    font-size:11px!important;
    font-weight:850!important;
    line-height:1.5!important;
    letter-spacing:.08em!important;
}

.jt-art-story-note p:last-child{
    margin:0!important;
    color:#575148!important;
    font-size:14px!important;
    line-height:1.95!important;
}

.jt-art-article__ending{
    margin-top:34px!important;
    padding-top:28px;
    border-top:1px solid #E6E0D7;
    color:#2F2B25!important;
    font-size:18px!important;
    line-height:2.05!important;
}

.jt-art-reference{
    max-width:850px;
    margin:64px auto 0;
    padding:32px 34px;
    border:1px solid #E1DDD4;
    border-radius:20px;
    background:#F7F5F0;
}

.jt-art-reference h2{
    margin:8px 0 19px!important;
    color:#37332D!important;
    font-family:Pretendard,"Noto Sans KR",sans-serif!important;
    font-size:20px!important;
    font-weight:820!important;
    letter-spacing:-.035em!important;
}

.jt-art-reference h2::before{display:none!important;}

.jt-art-reference ol{
    margin:0;
    padding-left:20px;
}

.jt-art-reference li{
    margin:0 0 12px;
    color:#69645C;
    font-size:11px;
    line-height:1.75;
}

.jt-art-reference a{
    color:#735C49;
    font-weight:760;
    text-underline-offset:3px;
}

.jt-art-reference__note{
    margin:20px 0 0!important;
    padding-top:18px;
    border-top:1px solid #E1DDD4;
    color:#827D75!important;
    font-family:Pretendard,"Noto Sans KR",sans-serif!important;
    font-size:10px!important;
    line-height:1.75!important;
}

.jt-art-article__footer{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:30px;
    margin-top:20px;
    padding:40px 44px;
    border-radius:26px;
    background:#302C27;
    color:#FFF;
}

.jt-art-article__footer p{
    margin:0;
    color:#D8B999;
    font-size:11px;
    font-weight:850;
    letter-spacing:.14em;
}

.jt-art-article__footer h2{
    margin:8px 0 0;
    font-size:24px;
    font-weight:760;
    line-height:1.5;
    letter-spacing:-.035em;
}

.jt-art-article__footer>a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    min-height:48px;
    padding:0 20px;
    border:1px solid rgba(255,255,255,.22);
    border-radius:999px;
    background:rgba(255,255,255,.07);
    color:#FFF;
    font-size:12px;
    font-weight:800;
    text-decoration:none;
    white-space:nowrap;
}

.jt-art-article__footer>a:hover,
.jt-art-article__footer>a:focus-visible{background:rgba(255,255,255,.13);}

@media(max-width:760px){
    .jt-art-article__header{padding:42px 28px 38px;border-radius:24px;}
    .jt-art-article__header::after{right:18px;bottom:-6px;font-size:92px;}
    .jt-art-article__header h1{font-size:clamp(35px,10vw,46px);}
    .jt-art-article__subtitle{font-size:15px;}
    .jt-art-article__meta{gap:5px 12px;}
    .jt-art-article__meta span+span::before{margin-right:12px;}

    .jt-art-figure{border-radius:20px;}
    .jt-art-figure figcaption{text-align:left;}

    .jt-art-work-card{padding:30px 24px;border-radius:22px;}
    .jt-art-work-card dl{grid-template-columns:1fr;}
    .jt-art-work-card dl>div{grid-template-columns:72px minmax(0,1fr);}

    .jt-art-article__content{padding:42px 25px 48px;border-radius:22px;}
    .jt-art-article__content>p,
    .jt-art-article__content section>p{font-size:15px;line-height:1.96;word-break:normal;}
    .jt-art-article__lead{font-size:16px!important;}
    .jt-art-article__content section{margin-top:48px;}
    .jt-art-article__content section h2{font-size:23px;}
    .jt-art-story-note{padding:23px 21px;}
    .jt-art-reference{padding:28px 22px;}
    .jt-art-article__ending{font-size:16px!important;}

    .jt-art-article__footer{
        align-items:flex-start;
        flex-direction:column;
        padding:32px 26px;
        border-radius:22px;
    }
    .jt-art-article__footer h2{font-size:22px;}
}

@media(max-width:430px){
    .jt-art-article__header{padding:36px 22px 34px;}
    .jt-art-article__meta{display:block;}
    .jt-art-article__meta span{display:block;margin-top:4px;}
    .jt-art-article__meta span+span::before{content:"";margin:0;}
    .jt-art-work-card{padding:26px 19px;}
    .jt-art-article__content{padding:36px 19px 42px;}
}


/* ART STORY artwork-title closing bracket
 * U+3009 (〉) is a full-width CJK glyph.
 * JS wraps only the closing bracket, and this negative right margin
 * trims its built-in right side-bearing without changing 〈작품명〉 inside spacing. */
.jt-art-article .jt-art-angle-close{
    display:inline-block;
    margin-right:-.45em;
    line-height:inherit;
    vertical-align:baseline;
}


/* WORK INFORMATION의 작품명은 닫는 괄호 뒤 한 칸 공백을 그대로 유지 */
.jt-art-work-card .jt-art-angle-close{
    margin-right:0;
}


/* ART STORY 이전 / 다음 글 공통 네비게이션 */
.jt-art-pager{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
    margin-top:20px;
}

.jt-art-pager__item{
    min-width:0;
    padding:24px 26px;
    border:1px solid #E2DDD4;
    border-radius:22px;
    background:#FAF8F4;
    color:#302C27;
    text-decoration:none;
    transition:transform .18s ease,border-color .18s ease,background-color .18s ease;
}

.jt-art-pager__item--next{text-align:right;}

.jt-art-pager__direction{
    display:block;
    margin-bottom:8px;
    color:#9A8066;
    font-family:Pretendard,"Noto Sans KR",sans-serif;
    font-size:11px;
    font-weight:850;
    letter-spacing:.04em;
}

.jt-art-pager__item strong{
    display:block;
    overflow:hidden;
    color:#3A332D;
    font-size:15px;
    font-weight:760;
    line-height:1.55;
    letter-spacing:-.025em;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.jt-art-pager__item[href]:hover,
.jt-art-pager__item[href]:focus-visible{
    transform:translateY(-2px);
    border-color:#CBB8A3;
    background:#FFF;
}

.jt-art-pager__item.is-disabled{
    opacity:.42;
    cursor:default;
}

@media(max-width:760px){
    .jt-art-pager{grid-template-columns:1fr;gap:10px;}
    .jt-art-pager__item{padding:20px 21px;border-radius:18px;}
    .jt-art-pager__item--next{text-align:left;}
    .jt-art-pager__item strong{white-space:normal;}
}
