/* =========================================================
   WEBTOON RECOMMEND PAGE
   /assets/css/webtoon.css
========================================================= */


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

.webtoon-page-hero {
    position: relative;

    width: 100%;

    padding: 90px 20px 70px;

    overflow: hidden;

    text-align: center;

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

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


.webtoon-page-hero-inner {
    width: 100%;
    max-width: 760px;

    margin: 0 auto;
}


.webtoon-page-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 7px 14px;

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

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

    color: #777;

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

    letter-spacing: 1.2px;
}


.webtoon-page-hero h1 {
    margin: 22px 0 0;

    color: #fff;

    font-size: clamp(40px, 6vw, 62px);
    font-weight: 900;

    line-height: 1.15;

    letter-spacing: -3px;
}


.webtoon-page-description {
    max-width: 650px;

    margin: 22px auto 0;

    color: #888;

    font-size: 14px;

    line-height: 1.9;

    word-break: keep-all;
}



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

.webtoon-breadcrumb {
    width: calc(100% - 40px);
    max-width: 1100px;

    margin: 0 auto;
    padding: 20px 0;

    display: flex;
    align-items: center;

    gap: 9px;

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

    color: #555;

    font-size: 12px;
}


.webtoon-breadcrumb a {
    color: #777;

    text-decoration: none;
}


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


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



/* =========================================================
   FEATURED
========================================================= */

.webtoon-featured-grid {
    display: grid;

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

    gap: 16px;
}


.webtoon-featured-main,
.webtoon-featured-side {
    min-width: 0;
    min-height: 340px;

    padding: 34px;

    display: flex;
    flex-direction: column;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;

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

    color: inherit;

    text-decoration: none;

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


.webtoon-featured-main:hover,
.webtoon-featured-side:hover {
    transform: translateY(-4px);

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


.webtoon-card-label {
    align-self: flex-start;

    padding: 6px 11px;

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

    color: #777;

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

    letter-spacing: 1px;
}


.webtoon-featured-main h2 {
    margin: 26px 0 14px;

    color: #fff;

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

    line-height: 1.4;

    letter-spacing: -1.6px;
}


.webtoon-featured-side h2 {
    margin: 26px 0 14px;

    color: #fff;

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

    line-height: 1.4;

    letter-spacing: -1px;
}


.webtoon-featured-main p,
.webtoon-featured-side p {
    margin: 0;

    color: #888;

    font-size: 13px;

    line-height: 1.9;

    word-break: keep-all;
}


.webtoon-card-bottom {
    margin-top: auto;
    padding-top: 28px;

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

    gap: 15px;
}


.webtoon-card-meta {
    color: #5c5c5c;

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


.webtoon-card-more {
    color: #ccc;

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



/* =========================================================
   RECOMMENDATION CARDS
========================================================= */

.webtoon-article-grid {
    display: grid;

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

    gap: 15px;
}


.webtoon-article-card {
    min-width: 0;
    min-height: 270px;

    padding: 27px;

    display: flex;
    flex-direction: column;

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

    background: #111;

    color: inherit;

    text-decoration: none;

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


a.webtoon-article-card:hover {
    transform: translateY(-4px);

    background: #151515;

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


.webtoon-article-category {
    color: #5f5f5f;

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

    letter-spacing: 1px;
}


.webtoon-article-card h3 {
    margin: 18px 0 11px;

    color: #fff;

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

    line-height: 1.45;

    letter-spacing: -0.8px;

    word-break: keep-all;
}


.webtoon-article-card p {
    margin: 0;

    color: #7d7d7d;

    font-size: 13px;

    line-height: 1.85;

    word-break: keep-all;
}


.webtoon-article-footer {
    margin-top: auto;
    padding-top: 22px;

    color: #aaa;

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


.webtoon-article-card.is-coming {
    opacity: 0.55;
}


.webtoon-coming {
    align-self: flex-start;

    margin-top: auto;

    padding: 6px 10px;

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

    color: #666;

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



/* =========================================================
   GENRE
========================================================= */

.webtoon-genre-grid {
    display: grid;

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

    gap: 15px;
}


.webtoon-genre-card {
    min-width: 0;

    padding: 27px;

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

    background: #111;
}


.webtoon-genre-icon {
    width: 44px;
    height: 44px;

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

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;

    color: #aaa;

    font-size: 19px;
}


.webtoon-genre-card h3 {
    margin: 19px 0 10px;

    color: #fff;

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


.webtoon-genre-card p {
    margin: 0;

    color: #777;

    font-size: 13px;

    line-height: 1.85;

    word-break: keep-all;
}



/* =========================================================
   GUIDE CARDS
========================================================= */

.webtoon-guide-grid {
    display: grid;

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

    gap: 15px;
}


.webtoon-guide-card {
    min-width: 0;

    padding: 27px;

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

    background: #101010;
}


.webtoon-guide-number {
    color: #555;

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

    letter-spacing: 1px;
}


.webtoon-guide-card h3 {
    margin: 20px 0 11px;

    color: #fff;

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


.webtoon-guide-card p {
    margin: 0;

    color: #7b7b7b;

    font-size: 13px;

    line-height: 1.85;

    word-break: keep-all;
}



/* =========================================================
   GUIDE BOX
========================================================= */

.webtoon-guide-box {
    padding: 36px;

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

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.04),
            rgba(255, 255, 255, 0.01)
        );
}


.webtoon-guide-label {
    margin-bottom: 15px;

    color: #555;

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

    letter-spacing: 1px;
}


.webtoon-guide-box h2 {
    margin: 0;

    color: #fff;

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

    line-height: 1.4;

    letter-spacing: -1px;
}


.webtoon-guide-box p {
    max-width: 760px;

    margin: 15px 0 0;

    color: #888;

    font-size: 13px;

    line-height: 1.9;

    word-break: keep-all;
}


.webtoon-guide-links {
    margin-top: 24px;

    display: flex;
    flex-wrap: wrap;

    gap: 10px;
}


.webtoon-guide-link {
    padding: 10px 14px;

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

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

    color: #bbb;

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

    text-decoration: none;
}


.webtoon-guide-link:hover {
    color: #fff;

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



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

@media (max-width: 900px) {

    .webtoon-featured-grid {
        grid-template-columns: 1fr;
    }


    .webtoon-article-grid,
    .webtoon-genre-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    .webtoon-guide-grid {
        grid-template-columns: 1fr;
    }

}



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

@media (max-width: 600px) {

    .webtoon-page-hero {
        padding: 65px 18px 52px;
    }


    .webtoon-page-hero h1 {
        font-size: 40px;

        letter-spacing: -2px;
    }


    .webtoon-page-description {
        font-size: 13px;
    }


    .webtoon-breadcrumb {
        width: calc(100% - 32px);
    }


    .webtoon-featured-main,
    .webtoon-featured-side {
        min-height: 280px;

        padding: 24px 21px;
    }


    .webtoon-featured-main h2 {
        font-size: 26px;
    }


    .webtoon-featured-side h2 {
        font-size: 22px;
    }


    .webtoon-card-bottom {
        flex-direction: column;
        align-items: flex-start;
    }


    .webtoon-article-grid,
    .webtoon-genre-grid,
    .webtoon-guide-grid {
        grid-template-columns: 1fr;
    }


    .webtoon-article-card,
    .webtoon-genre-card,
    .webtoon-guide-card {
        padding: 23px 21px;
    }


    .webtoon-guide-box {
        padding: 27px 21px;
    }


    .webtoon-guide-links {
        flex-direction: column;
    }


    .webtoon-guide-link {
        width: 100%;
    }

}