
/* =====================================================
   KPOPRENEUR HELP CENTER — V2
   Listing page only. Article detail remains unchanged.
   ===================================================== */

.kp-help-center:not(.kp-help-center-article) {
    max-width: 1120px !important;
    margin: 0 auto !important;
    padding: 36px 28px 70px !important;
    color: #211a2b;
}

/* Hero */
.kp-help-center:not(.kp-help-center-article) .kp-help-hero {
    position: relative;
    overflow: hidden;
    padding: 64px 24px 55px !important;
    margin-bottom: 44px;
    border-radius: 24px;
    background: linear-gradient(135deg, #fcf7ff, #f5eaff);
    text-align: center;
}

.kp-help-center:not(.kp-help-center-article) .kp-help-hero h1 {
    color: #21172d;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 750;
    letter-spacing: -1.5px;
    margin-bottom: 12px;
}

.kp-help-center:not(.kp-help-center-article) .kp-help-hero p {
    color: #766b80;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 28px;
}

/* Search */
.kp-help-center:not(.kp-help-center-article) .kp-help-search {
    max-width: 650px;
    gap: 0;
    padding: 6px;
    background: #fff;
    border: 1px solid #eee2f5;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(80, 30, 110, .07);
}

.kp-help-center:not(.kp-help-center-article) .kp-help-search input {
    border: 0;
    box-shadow: none;
    padding: 12px 16px;
    font-size: 15px;
}

.kp-help-center:not(.kp-help-center-article) .kp-help-search input:focus {
    outline: none;
}

.kp-help-center:not(.kp-help-center-article) .kp-help-search button {
    min-height: 46px;
    padding: 0 28px;
    border-radius: 10px;
}

/* Sections */
.kp-help-center:not(.kp-help-center-article) .kp-help-section {
    margin: 40px 0;
}

.kp-help-center:not(.kp-help-center-article) .kp-help-section > h2 {
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -.6px;
    color: #21172d;
    margin-bottom: 20px;
}

/* Category cards */
.kp-help-center:not(.kp-help-center-article) .kp-help-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.kp-help-center:not(.kp-help-center-article) .kp-help-card {
    position: relative;
    min-height: 145px;
    padding: 25px;
    border: 1px solid #eee6f4;
    border-radius: 16px;
    box-shadow: 0 5px 18px rgba(40, 20, 60, .035);
}

.kp-help-center:not(.kp-help-center-article) .kp-help-card::before {
    content: "✦";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 17px;
    border-radius: 12px;
    background: #f7eaff;
    color: #c446ff;
    font-size: 20px;
}

.kp-help-center:not(.kp-help-center-article) .kp-help-card h3 {
    font-size: 17px;
    font-weight: 700;
}

.kp-help-center:not(.kp-help-center-article) .kp-help-card p {
    font-size: 14px;
    line-height: 1.7;
}

/* Article list */
.kp-help-center:not(.kp-help-center-article) .kp-help-article-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    border: 0;
}

.kp-help-center:not(.kp-help-center-article) .kp-help-article-link {
    min-height: 120px;
    padding: 22px;
    border: 1px solid #eee7f3;
    border-radius: 14px;
    background: #fff;
    transition: all .2s ease;
}

.kp-help-center:not(.kp-help-center-article) .kp-help-article-link:hover {
    padding-left: 22px;
    border-color: #dba4fa;
    background: #fdfaff;
    box-shadow: 0 8px 24px rgba(120, 50, 160, .07);
    transform: translateY(-2px);
}

.kp-help-center:not(.kp-help-center-article) .kp-help-article-link strong {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 9px;
}

.kp-help-center:not(.kp-help-center-article) .kp-help-article-link span {
    font-size: 13px;
    line-height: 1.7;
}

/* Search empty state */
.kp-help-center:not(.kp-help-center-article) .kp-help-section > p {
    padding: 28px;
    border: 1px solid #eee7f3;
    border-radius: 14px;
    color: #766b80;
    background: #fcfaff;
}

/* Tablet */
@media(max-width: 900px) {
    .kp-help-center:not(.kp-help-center-article) .kp-help-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */
@media(max-width: 600px) {
    .kp-help-center:not(.kp-help-center-article) {
        padding: 20px 16px 40px !important;
    }

    .kp-help-center:not(.kp-help-center-article) .kp-help-hero {
        padding: 40px 18px 32px !important;
        margin-bottom: 32px;
        border-radius: 18px;
    }

    .kp-help-center:not(.kp-help-center-article) .kp-help-hero h1 {
        font-size: 29px;
        letter-spacing: -.8px;
    }

    .kp-help-center:not(.kp-help-center-article) .kp-help-hero p {
        font-size: 14px;
    }

    .kp-help-center:not(.kp-help-center-article) .kp-help-search {
        flex-direction: row;
        padding: 5px;
    }

    .kp-help-center:not(.kp-help-center-article) .kp-help-search input {
        min-height: 44px;
        padding: 8px;
        font-size: 13px;
    }

    .kp-help-center:not(.kp-help-center-article) .kp-help-search button {
        min-height: 44px;
        padding: 0 17px;
    }

    .kp-help-center:not(.kp-help-center-article) .kp-help-section {
        margin: 30px 0;
    }

    .kp-help-center:not(.kp-help-center-article) .kp-help-section > h2 {
        font-size: 21px;
    }

    .kp-help-center:not(.kp-help-center-article) .kp-help-grid,
    .kp-help-center:not(.kp-help-center-article) .kp-help-article-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .kp-help-center:not(.kp-help-center-article) .kp-help-card {
        min-height: auto;
        padding: 20px;
    }

    .kp-help-center:not(.kp-help-center-article) .kp-help-article-link {
        min-height: auto;
        padding: 19px;
    }
}


/* Help Center V2 — Final Polish */

/* Category width */
.kp-help-center:not(.kp-help-center-article) .kp-help-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 360px));
}

/* Article link indicator */
.kp-help-center:not(.kp-help-center-article)
.kp-help-article-link {
    position: relative;
    padding-right: 42px;
}

.kp-help-center:not(.kp-help-center-article)
.kp-help-article-link::after {
    content: "→";
    position: absolute;
    right: 20px;
    top: 20px;
    color: #c446ff;
    font-size: 18px;
    opacity: .7;
    transition: all .2s ease;
}

.kp-help-center:not(.kp-help-center-article)
.kp-help-article-link:hover::after {
    opacity: 1;
    transform: translateX(3px);
}

.kp-help-center:not(.kp-help-center-article)
.kp-help-section {
    margin-top: 32px;
}


/* HELP CENTER — CONSISTENT BACK NAVIGATION */

.kp-help-navigation {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.kp-help-navigation .kp-help-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.kp-help-navigation .kp-help-back-home {
    background: #fff;
    color: #a12be0 !important;
    border: 1px solid #e5c9f5;
}

.kp-help-navigation .kp-help-back-home:hover {
    background: #faf3ff;
    color: #8c20c5 !important;
}

.kp-help-category-back {
    margin-bottom: 18px;
}

@media (max-width: 600px) {
    .kp-help-navigation {
        gap: 8px;
    }

    .kp-help-navigation .kp-help-back {
        padding: 10px 12px;
        font-size: 12px;
    }

    .kp-help-category-back {
        margin-bottom: 14px;
    }
}


/* Navigation final polish — text-only buttons */

/* Category button below hero */
.kp-help-category-back {
    display: inline-flex;
    margin: -20px 0 24px !important;
}

/* Article navigation without decorative symbols */
.kp-help-navigation .kp-help-back {
    text-decoration: none !important;
}

@media (max-width: 600px) {
    .kp-help-category-back {
        margin: -10px 0 20px !important;
    }
}


/* Help Center — Balanced Category Grid */
.kp-help-center:not(.kp-help-center-article) .kp-help-grid {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.kp-help-center:not(.kp-help-center-article) .kp-help-grid > .kp-help-card {
    width: 100%;
    max-width: none;
    min-width: 0;
}

/* Mobile: single column */
@media (max-width: 600px) {
    .kp-help-center:not(.kp-help-center-article) .kp-help-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }
}

/* Help Center — Load More Guides */
.kp-help-load-more-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px 0 12px;
    gap: 10px;
}

.kp-help-load-more {
    min-height: 46px;
    padding: 11px 26px;
    border: 1px solid #c446ff;
    border-radius: 10px;
    background: #c446ff;
    color: #fff !important;
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.kp-help-load-more:hover:not(:disabled) {
    background: #a92be0;
    transform: translateY(-1px);
}

.kp-help-load-more:disabled {
    opacity: .65;
    cursor: wait;
}

.kp-help-load-more-message {
    margin: 0;
    color: #777;
    font-size: 13px;
    text-align: center;
}
