/* =========================================================
   WEBTOON ARTICLE
   /assets/css/webtoon-article.css
========================================================= */


/* =========================================================
   BASIC
========================================================= */

.wa-page {
    width: 100%;

    background: #080808;

    color: #ffffff;
}


.wa-page * {
    box-sizing: border-box;
}


.wa-container {
    width: calc(100% - 40px);
    max-width: 1100px;

    margin-left: auto;
    margin-right: auto;
}



/* =========================================================
   HERO
========================================================= */

.wa-hero {
    width: 100%;

    padding: 90px 20px 70px;

    text-align: center;

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

    background:
        radial-gradient(
            circle at 50% 0%,
            #292929 0%,
            #151515 40%,
            #080808 78%
        );
}


.wa-hero-category {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 7px 14px;

    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.04);

    color: #777;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.2px;
}


.wa-hero h1 {
    max-width: 800px;

    margin: 22px auto 0;

    color: #fff;

    font-size: clamp(38px, 6vw, 60px);
    font-weight: 900;

    line-height: 1.18;

    letter-spacing: -3px;

    word-break: keep-all;
}


.wa-hero-description {
    max-width: 680px;

    margin: 22px auto 0;

    color: #8a8a8a;

    font-size: 14px;

    line-height: 1.95;

    word-break: keep-all;
}


.wa-article-meta {
    margin-top: 25px;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    color: #555;

    font-size: 11px;
    font-weight: 700;
}


.wa-meta-divider {
    color: #3d3d3d;
}



/* =========================================================
   BREADCRUMB
========================================================= */

.wa-breadcrumb {
    width: 100%;
}


.wa-breadcrumb .wa-container {
    min-height: 60px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.055);

    color: #555;

    font-size: 12px;
}


.wa-breadcrumb a {
    color: #777;

    text-decoration: none;

    transition: color 0.2s ease;
}


.wa-breadcrumb a:hover {
    color: #fff;
}


.wa-breadcrumb-current {
    color: #aaa;
}



/* =========================================================
   ARTICLE LAYOUT
========================================================= */

.wa-layout {
    display: grid;

    grid-template-columns: minmax(0, 1fr) 250px;

    gap: 55px;

    padding-top: 70px;
    padding-bottom: 100px;
}


.wa-article {
    min-width: 0;
}



/* =========================================================
   NORMAL CONTENT
========================================================= */

.wa-content-section {
    margin-bottom: 75px;

    scroll-margin-top: 100px;
}


.wa-content-section > h2 {
    margin: 0 0 20px;

    color: #fff;

    font-size: 29px;
    font-weight: 900;

    line-height: 1.4;

    letter-spacing: -1.3px;

    word-break: keep-all;
}


.wa-content-section > p,
.wa-work > p {
    margin: 0 0 18px;

    color: #989898;

    font-size: 15px;

    line-height: 2;

    word-break: keep-all;
}


.wa-content-section p:last-child {
    margin-bottom: 0;
}


.wa-content-section strong {
    color: #d5d5d5;
}


.wa-intro {
    padding-bottom: 5px;
}


.wa-intro p:first-child {
    color: #c3c3c3;

    font-size: 17px;

    line-height: 2;
}



/* =========================================================
   SECTION LABEL
========================================================= */

.wa-section-label {
    margin-bottom: 13px;

    color: #555;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 1.2px;
}



/* =========================================================
   TABLE OF CONTENTS
========================================================= */

.wa-toc {
    margin-bottom: 80px;

    padding: 31px 33px;

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 17px;

    background: #101010;
}


.wa-toc-label {
    margin-bottom: 13px;

    color: #555;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 1px;
}


.wa-toc h2 {
    margin: 0 0 22px;

    color: #fff;

    font-size: 20px;
    font-weight: 900;

    letter-spacing: -0.7px;
}


.wa-toc ol {
    margin: 0;

    padding: 0;

    list-style: none;

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 9px 25px;

    counter-reset: toc;
}


.wa-toc li {
    min-width: 0;

    counter-increment: toc;
}


.wa-toc a {
    display: flex;
    align-items: center;

    min-height: 40px;

    padding: 7px 0;

    color: #8d8d8d;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    border-bottom: 1px solid rgba(255, 255, 255, 0.045);

    transition: color 0.2s ease;
}


.wa-toc a::before {
    content: counter(toc, decimal-leading-zero);

    width: 30px;

    flex: 0 0 30px;

    color: #4d4d4d;

    font-size: 10px;
    font-weight: 800;
}


.wa-toc a:hover {
    color: #fff;
}



/* =========================================================
   WORK
========================================================= */

.wa-work {
    position: relative;

    padding-top: 15px;

    border-top: 1px solid rgba(255, 255, 255, 0.07);
}


.wa-work-number {
    margin-top: 30px;

    color: #444;

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 1.5px;
}


.wa-work-heading {
    margin-top: 12px;
    margin-bottom: 25px;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;
}


.wa-work-category {
    display: inline-block;

    margin-bottom: 9px;

    color: #666;

    font-size: 11px;
    font-weight: 700;
}


.wa-work-heading h2 {
    margin: 0;

    color: #fff;

    font-size: 32px;
    font-weight: 900;

    line-height: 1.35;

    letter-spacing: -1.4px;
}


.wa-work-lead {
    color: #c6c6c6 !important;

    font-size: 17px !important;
    font-weight: 600;

    line-height: 1.9 !important;
}



/* =========================================================
   POINT BOX
========================================================= */

.wa-point-box {
    margin-top: 28px;

    padding: 21px 23px;

    border-left: 2px solid #555;

    background: #101010;
}


.wa-point-box strong {
    display: block;

    margin-bottom: 7px;

    color: #ddd;

    font-size: 12px;
    font-weight: 900;
}


.wa-point-box p {
    margin: 0;

    color: #777;

    font-size: 13px;

    line-height: 1.8;

    word-break: keep-all;
}



/* =========================================================
   TABLE
========================================================= */

.wa-table-wrap {
    width: 100%;

    overflow-x: auto;

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
}


.wa-table {
    width: 100%;

    min-width: 620px;

    border-collapse: collapse;

    background: #101010;
}


.wa-table th,
.wa-table td {
    padding: 17px 18px;

    text-align: left;

    border-bottom: 1px solid rgba(255, 255, 255, 0.055);

    font-size: 12px;
}


.wa-table th {
    background: #131313;

    color: #aaa;

    font-size: 11px;
    font-weight: 800;
}


.wa-table td {
    color: #858585;

    line-height: 1.7;
}


.wa-table td:first-child {
    color: #ddd;

    font-weight: 800;
}


.wa-table tbody tr:last-child td {
    border-bottom: 0;
}



/* =========================================================
   SIDEBAR
========================================================= */

.wa-sidebar {
    min-width: 0;
}


.wa-sidebar-sticky {
    position: sticky;

    top: 30px;
}


.wa-sidebar-box {
    margin-bottom: 15px;

    padding: 23px;

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;

    background: #101010;
}


.wa-sidebar-label {
    margin-bottom: 12px;

    color: #555;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1px;
}


.wa-sidebar-box h2 {
    margin: 0;

    color: #fff;

    font-size: 18px;
    font-weight: 900;

    letter-spacing: -0.6px;
}


.wa-sidebar-box p {
    margin: 11px 0 17px;

    color: #777;

    font-size: 12px;

    line-height: 1.8;
}


.wa-sidebar-box > a {
    color: #aaa;

    font-size: 11px;
    font-weight: 800;

    text-decoration: none;
}


.wa-sidebar-box > a:hover {
    color: #fff;
}


.wa-sidebar-list {
    margin: 0;

    padding: 0;

    list-style: none;
}


.wa-sidebar-list li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.045);
}


.wa-sidebar-list a {
    display: block;

    padding: 11px 0;

    color: #777;

    font-size: 11px;
    font-weight: 700;

    line-height: 1.5;

    text-decoration: none;

    transition: color 0.2s ease;
}


.wa-sidebar-list a:hover {
    color: #fff;
}



/* =========================================================
   RELATED
========================================================= */

.wa-related {
    margin-top: 90px;
}


.wa-related > h2 {
    margin: 0 0 23px;

    color: #fff;

    font-size: 27px;
    font-weight: 900;

    letter-spacing: -1.1px;
}


.wa-related-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 13px;
}


.wa-related-card {
    min-width: 0;
    min-height: 215px;

    padding: 23px;

    display: flex;
    flex-direction: column;

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 15px;

    background: #101010;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}


.wa-related-card:hover {
    transform: translateY(-3px);

    border-color: rgba(255, 255, 255, 0.15);
}


.wa-related-card > span {
    color: #555;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1px;
}


.wa-related-card h3 {
    margin: 16px 0 10px;

    color: #fff;

    font-size: 17px;
    font-weight: 900;

    line-height: 1.45;

    letter-spacing: -0.6px;
}


.wa-related-card p {
    margin: 0;

    color: #747474;

    font-size: 12px;

    line-height: 1.75;

    word-break: keep-all;
}


.wa-related-card strong {
    margin-top: auto;
    padding-top: 20px;

    color: #aaa;

    font-size: 10px;
}



/* =========================================================
   BOTTOM CTA
========================================================= */

.wa-bottom-cta {
    padding: 0 0 100px;
}


.wa-bottom-cta-inner {
    padding: 55px 40px;

    text-align: center;

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 19px;

    background:
        linear-gradient(
            145deg,
            #171717,
            #0d0d0d
        );
}


.wa-bottom-cta-inner > span {
    color: #555;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 1.2px;
}


.wa-bottom-cta h2 {
    margin: 15px 0 0;

    color: #fff;

    font-size: 30px;
    font-weight: 900;

    letter-spacing: -1.4px;
}


.wa-bottom-cta p {
    max-width: 600px;

    margin: 14px auto 0;

    color: #7d7d7d;

    font-size: 13px;

    line-height: 1.85;

    word-break: keep-all;
}


.wa-bottom-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;

    margin-top: 25px;
    padding: 0 20px;

    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 9px;

    background: rgba(255, 255, 255, 0.04);

    color: #ddd;

    font-size: 12px;
    font-weight: 800;

    text-decoration: none;
}


.wa-bottom-cta a:hover {
    color: #fff;

    border-color: rgba(255, 255, 255, 0.22);

    background: rgba(255, 255, 255, 0.07);
}



/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .wa-layout {
        grid-template-columns: 1fr;

        gap: 0;
    }


    .wa-sidebar {
        display: none;
    }


    .wa-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .wa-container {
        width: calc(100% - 32px);
    }


    .wa-hero {
        padding: 68px 16px 55px;
    }


    .wa-hero h1 {
        font-size: 37px;

        letter-spacing: -2px;
    }


    .wa-hero-description {
        font-size: 13px;

        line-height: 1.85;
    }


    .wa-breadcrumb .wa-container {
        min-height: 55px;

        font-size: 11px;
    }


    .wa-layout {
        padding-top: 50px;
        padding-bottom: 70px;
    }


    .wa-content-section {
        margin-bottom: 60px;
    }


    .wa-content-section > h2 {
        font-size: 24px;
    }


    .wa-content-section > p,
    .wa-work > p {
        font-size: 14px;

        line-height: 1.9;
    }


    .wa-intro p:first-child {
        font-size: 15px;
    }


    .wa-toc {
        margin-bottom: 65px;

        padding: 25px 21px;
    }


    .wa-toc ol {
        grid-template-columns: 1fr;
    }


    .wa-work-heading h2 {
        font-size: 27px;
    }


    .wa-work-lead {
        font-size: 15px !important;
    }


    .wa-point-box {
        padding: 19px 18px;
    }


    .wa-related {
        margin-top: 70px;
    }


    .wa-related > h2 {
        font-size: 23px;
    }


    .wa-related-grid {
        grid-template-columns: 1fr;
    }


    .wa-related-card {
        min-height: 190px;
    }


    .wa-bottom-cta {
        padding-bottom: 70px;
    }


    .wa-bottom-cta-inner {
        padding: 40px 22px;
    }


    .wa-bottom-cta h2 {
        font-size: 25px;
    }

}


/* =========================================================
   WEBTOON WORK IMAGE
========================================================= */

.wa-work-image {
    width: 100%;

    margin: 0 0 30px;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;

    background: #0e0e0e;
}


.wa-work-image-inner {
    position: relative;

    width: 100%;
    min-height: 380px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(255, 255, 255, 0.08),
            rgba(255, 255, 255, 0.015) 45%,
            #0b0b0b 75%
        );
}


.wa-work-image img {
    display: block;

    width: auto;
    max-width: 90%;

    height: auto;
    max-height: 480px;

    object-fit: contain;
}


.wa-work-image figcaption {
    padding: 11px 15px;

    border-top: 1px solid rgba(255, 255, 255, 0.05);

    color: #666;

    font-size: 10px;
    font-weight: 700;
}


/* 일반 JPG형 대표 이미지 */

.wa-work-image.is-cover .wa-work-image-inner {
    min-height: 0;

    aspect-ratio: 16 / 9;
}


.wa-work-image.is-cover img {
    width: 100%;
    max-width: none;

    height: 100%;
    max-height: none;

    object-fit: cover;
}


/* MOBILE */

@media (max-width: 600px) {

    .wa-work-image {
        margin-bottom: 24px;

        border-radius: 12px;
    }


    .wa-work-image-inner {
        min-height: 260px;
    }


    .wa-work-image img {
        max-width: 95%;
        max-height: 340px;
    }

}