/* 메인과 PC 메뉴바 공통 너비. */
body.pb-theme {
    --pb-container: 1450px;
}

/* PNODEX 메인 화면은 상위 1450px 컨테이너 너비를 그대로 사용. */
.pnodex-home {
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
    padding: 1px 0 40px;
    color: #172033
}

.pnodex-hero {
    padding: 48px 54px;
    border: 1px solid #e4e9f2;
    border-radius: 28px;
    background: linear-gradient(135deg, #f7f9ff, #fff);
    box-shadow: 0 18px 60px rgba(31, 45, 79, .07)
}

.pnodex-kicker,
.pnodex-section-heading p,
.pnodex-dashboard-card header p {
    margin: 0 0 9px;
    color: #5368e8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em
}

.pnodex-hero h1 {
    margin: 0;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.12;
    letter-spacing: -.055em
}

.pnodex-hero-description {
    max-width: 700px;
    margin: 20px 0 25px;
    color: #647087;
    font-size: 16px;
    line-height: 1.75
}

.pnodex-hero-search {
    display: flex;
    max-width: 780px;
    padding: 6px;
    border: 1px solid #dce2ee;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(31, 45, 79, .07)
}

.pnodex-hero-search input {
    min-width: 0;
    flex: 1;
    height: 48px;
    padding: 0 16px;
    border: 0;
    background: transparent;
    font-size: 15px;
    outline: 0
}

.pnodex-hero-search button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 104px;
    border: 0;
    border-radius: 11px;
    background: #263766;
    color: #fff;
    font-weight: 700
}

.pnodex-content-section {
    margin-top: 48px
}

.pnodex-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px
}

.pnodex-section-heading h2,
.pnodex-dashboard-card h2 {
    margin: 0;
    font-size: 27px;
    letter-spacing: -.04em
}

.pnodex-section-heading>a,
.pnodex-dashboard-card header>a {
    color: #6f7b90;
    font-size: 12px
}

.pnodex-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 46px
}

.pnodex-dashboard-card {
    min-width: 0;
    padding: 22px;
    border: 1px solid #e3e8f0;
    border-radius: 18px;
    background: #fff
}

.pnodex-dashboard-card>header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px
}

.pnodex-dashboard-card h2 {
    font-size: 20px
}

.pnodex-card-empty,
.pnodex-empty-state {
    padding: 36px 12px;
    color: #8791a3;
    text-align: center
}

.pnodex-user-paths {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 46px
}

.pnodex-user-paths a {
    display: grid;
    gap: 7px;
    padding: 21px;
    border: 1px solid #e3e8f0;
    border-radius: 17px;
    background: #fff;
    color: #202a3e
}

.pnodex-user-paths strong {
    font-size: 15px
}

.pnodex-user-paths span {
    color: #8791a3;
    font-size: 12px;
    line-height: 1.5
}

.pnodex-main-banner {
    margin-top: 28px
}

@media(max-width:980px) {
    .pnodex-dashboard-grid {
        grid-template-columns: 1fr
    }

    .pnodex-user-paths {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:767px) {
    .pnodex-home {
        width: calc(100% - 28px);
        padding: 18px 0 54px
    }

    .pnodex-hero {
        padding: 28px 22px;
        border-radius: 22px
    }

    .pnodex-hero h1 {
        font-size: 37px
    }

    .pnodex-hero-description {
        margin: 15px 0 20px;
        font-size: 14px
    }

    .pnodex-hero-search button {
        min-width: 50px
    }

    .pnodex-hero-search button span {
        display: none
    }

    .pnodex-content-section,
    .pnodex-dashboard-grid,
    .pnodex-user-paths {
        margin-top: 38px
    }

    .pnodex-section-heading {
        align-items: center
    }

    .pnodex-section-heading h2 {
        font-size: 22px
    }

    .pnodex-dashboard-card {
        padding: 18px
    }

    .pnodex-user-paths {
        grid-template-columns: 1fr
    }

    .pnodex-user-paths a {
        padding: 18px
    }
}

/* 오늘의 추천 서버 제목 영역. */
.pnodex-featured-heading {
    position: relative;
    align-items: center;
    width: 33.333%;
    min-height: 54px;
    margin-bottom: 14px;
    padding: 10px 12px 10px 15px;
    overflow: hidden;
    border: 0;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(250, 247, 255, .98), rgba(244, 239, 255, .92));
    box-shadow:
        0 10px 14px -8px rgba(75, 42, 120, .22),
        0 18px 30px -14px rgba(152, 35, 245, .28),
        0 28px 44px -24px rgba(66, 37, 105, .24);
    box-sizing: border-box;
}

.pnodex-featured-heading::after {
    content: "";
    position: absolute;
    top: -36px;
    right: 54px;
    width: 94px;
    height: 94px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(152, 35, 245, .14) 0%, rgba(152, 35, 245, 0) 68%);
    pointer-events: none;
}

.pnodex-featured-heading-title {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    min-width: 0
}

.pnodex-featured-heading h2 {
    color: #20182d;
    font-size: 20px;
    line-height: 1.25;
    letter-spacing: -.045em
}

.pnodex-featured-heading>a {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    height: 30px;
    padding: 0 11px;
    border: 1px solid #dfd0f5;
    border-radius: 999px;
    background: rgba(255, 255, 255, .76);
    color: #7b3fce;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(111, 63, 176, .06);
    transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease
}

.pnodex-featured-heading>a:hover {
    border-color: #c9acf2;
    background: #fff;
    color: #9823f5;
    transform: translateY(-1px)
}

@media(max-width:1024px) {
    .pnodex-featured-heading {
        width: 50%
    }
}

@media(max-width:767px) {
    .pnodex-featured-heading {
        width: 100%;
        min-height: 50px;
        margin-bottom: 12px;
        padding: 9px 10px 9px 13px;
        border-radius: 14px
    }

    .pnodex-featured-heading h2 {
        font-size: 19px
    }

    .pnodex-featured-heading>a {
        height: 28px;
        padding: 0 10px
    }
}


/* 추천 서버 영역을 메인 첫 화면으로 배치. */
.pnodex-featured-section {
    margin-top: 0
}

@media(max-width:767px) {
    .pnodex-featured-section {
        margin-top: 0
    }
}