    /* =====================================================
   PROMPTSENA CATEGORY PAGE — PROFESSIONAL RESPONSIVE UI
   ===================================================== */

.ps-category-page {
    padding-top: 26px;
    padding-bottom: 55px;
    --ps-blue: #3478f6;
    --ps-ink: #172033;
    --ps-muted: #778397;
    --ps-border: #e9edf3;
}

/* Hero */
.ps-cat-hero {
    overflow: hidden;
    margin-bottom: 22px;
    background: #fff;
    border: 1px solid var(--ps-border);
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(24, 39, 75, .055);
}

.ps-cat-cover {
    position: relative;
    height: 225px;
    overflow: hidden;
    background: linear-gradient(125deg, #dceaff, #e9e5ff 55%, #f4e8f5);
}

.ps-cat-cover > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ps-cat-cover-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: rgba(52, 120, 246, .35);
    font-size: 58px;
}

.ps-cat-cover-shade {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 45%, rgba(15, 23, 42, .12));
}

.ps-cat-identity {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 0 30px 25px;
}

.ps-cat-avatar {
    position: relative;
    z-index: 2;
    flex: 0 0 112px;
    width: 112px;
    height: 112px;
    margin-top: -48px;
    overflow: hidden;
    background: #fff;
    border: 5px solid #fff;
    border-radius: 50%;
    box-shadow: 0 5px 18px rgba(15, 23, 42, .13);
}

.ps-cat-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.ps-cat-heading {
    min-width: 0;
    padding-top: 18px;
}

.ps-cat-kicker,
.ps-cat-overline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ps-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.ps-cat-heading h1 {
    margin: 5px 0 6px;
    color: var(--ps-ink);
    font-size: 27px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -.45px;
}

.ps-cat-heading > p {
    margin: 0;
    color: var(--ps-muted);
    font-size: 13px;
    line-height: 1.6;
}

.ps-cat-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 18px;
    margin-top: 12px;
}

.ps-cat-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #657187;
    font-size: 12px;
    font-weight: 600;
}

.ps-cat-meta i {
    color: var(--ps-blue);
    font-size: 14px;
}

/* Breadcrumb */
.ps-cat-breadcrumb {
    margin: 0 0 22px;
    padding: 11px 15px;
    background: #f8fafc;
    border: 1px solid var(--ps-border);
    border-radius: 9px;
}

.ps-cat-breadcrumb .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0px;
}

.ps-cat-breadcrumb .breadcrumb-item {
    color: #7b8798;
    font-size: 12px;
}

.ps-cat-breadcrumb .breadcrumb-item a {
    color: #657187;
    text-decoration: none;
}

.ps-cat-breadcrumb .breadcrumb-item a:hover {
    color: var(--ps-blue);
}

.ps-cat-breadcrumb .breadcrumb-item.active {
    color: #2d69d7;
    font-weight: 700;
}

/* Shared panels */
.ps-cat-panel {
    margin-bottom: 21px;
    padding: 21px 22px;
    background: #fff;
    border: 1px solid var(--ps-border);
    border-radius: 13px;
    box-shadow: 0 4px 18px rgba(24, 39, 75, .025);
}

.ps-cat-section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ps-cat-section-heading h2 {
    margin: 3px 0 4px;
    color: var(--ps-ink);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
}

.ps-cat-section-heading p {
    margin: 0;
    color: #8a94a4;
    font-size: 12px;
}

.ps-cat-heading-icon {
    display: flex;
    flex: 0 0 43px;
    width: 43px;
    height: 43px;
    align-items: center;
    justify-content: center;
    color: var(--ps-blue);
    background: #edf4ff;
    border-radius: 11px;
    font-size: 19px;
}

/* Subcategories */
.ps-cat-subcategories .ps-cat-section-heading {
    justify-content: space-between;
    margin-bottom: 17px;
}

.ps-cat-count {
    padding: 6px 10px;
    color: #2869d7;
    background: #edf4ff;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.ps-cat-sub-scroll {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #d5deeb transparent;
}

.ps-cat-sub-list {
    display: flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    min-width: 100%;
    padding: 2px 2px 9px;
    margin: 0;
    list-style: none;
}

.ps-cat-sub-list .slide {
    flex: 0 0 auto;
}

.ps-cat-sub-item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 6px 12px 6px 6px;
    color: #344054;
    background: #f8fafc;
    border: 1px solid #edf0f4;
    border-radius: 50px;
    text-decoration: none;
    transition: .2s ease;
}

.ps-cat-sub-item:hover {
    color: #2468d8;
    background: #eff6ff;
    border-color: #cfe0ff;
    transform: translateY(-2px);
}

.ps-cat-sub-item img {
    width: 39px;
    height: 39px;
    flex: 0 0 39px;
    object-fit: cover;
    border-radius: 50%;
}

.ps-cat-sub-item span {
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.ps-cat-sub-item > i {
    color: #9aa6b6;
    font-size: 11px;
}

/* Description */
.ps-cat-about-heading {
    margin-bottom: 16px;
    padding-bottom: 15px;
    border-bottom: 1px solid #edf0f4;
}

.ps-cat-description {
    color: #5d687a;
    font-size: 14px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.ps-cat-description p {
    margin-bottom: 13px;
}

.ps-cat-description h2,
.ps-cat-description h3,
.ps-cat-description h4 {
    margin: 20px 0 9px;
    color: var(--ps-ink);
    font-weight: 750;
}

.ps-cat-description img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.ps-cat-description a {
    color: #2869d7;
}

.ps-cat-description.is-collapsed {
    max-height: 175px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(#000 65%, transparent);
    mask-image: linear-gradient(#000 65%, transparent);
}

.ps-cat-description.is-expanded {
    max-height: none;
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
}

.ps-cat-readmore {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 11px;
    padding: 8px 13px;
    color: #2869d7;
    background: #eff6ff;
    border: 1px solid #dceaff;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.ps-cat-readmore:hover {
    background: #e2eeff;
}

/* Gallery toolbar */
.ps-cat-gallery-section {
    scroll-margin-top: 90px;
}

.ps-cat-gallery-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 17px;
    padding: 15px 17px;
    background: #fff;
    border: 1px solid var(--ps-border);
    border-radius: 12px;
}

.ps-cat-gallery-heading {
    min-width: 0;
}

.ps-cat-sort {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #64748b;
}

.ps-cat-sort > i {
    font-size: 18px;
}

.ps-cat-sort .form-select {
    width: auto;
    min-width: 145px;
    height: 40px;
    padding-top: 7px;
    padding-bottom: 7px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #344054;
    background-color: #fff;
    font-size: 12px;
    box-shadow: none;
}

.ps-cat-sort .form-select:focus {
    border-color: var(--ps-blue);
    box-shadow: 0 0 0 3px rgba(52, 120, 246, .09);
}

/* Empty state */
.ps-cat-empty {
    padding: 48px 20px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--ps-border);
    border-radius: 13px;
}

.ps-cat-empty-icon {
    display: flex;
    width: 62px;
    height: 62px;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--ps-blue);
    background: #edf4ff;
    border-radius: 50%;
    font-size: 26px;
}

.ps-cat-empty h2 {
    margin-bottom: 7px;
    color: var(--ps-ink);
    font-size: 20px;
    font-weight: 800;
}

.ps-cat-empty p {
    margin-bottom: 18px;
    color: var(--ps-muted);
    font-size: 13px;
}

/* Responsive */
@media (max-width: 767px) {
    .ps-category-page {
        padding-top: 14px;
        padding-bottom: 35px;
    }

    .ps-cat-hero {
        margin-bottom: 16px;
        border-radius: 12px;
    }

    .ps-cat-cover {
        height: 155px;
    }

    .ps-cat-identity {
        align-items: flex-start;
        gap: 12px;
        padding: 0 14px 17px;
    }

    .ps-cat-avatar {
        flex-basis: 78px;
        width: 78px;
        height: 78px;
        margin-top: -29px;
        border-width: 4px;
    }

    .ps-cat-heading {
        padding-top: 10px;
    }

    .ps-cat-kicker {
        font-size: 9px;
    }

    .ps-cat-heading h1 {
        margin-top: 4px;
        font-size: 19px;
        line-height: 1.3;
    }

    .ps-cat-heading > p {
        font-size: 11px;
    }

    .ps-cat-meta {
        gap: 7px 12px;
        margin-top: 9px;
    }

    .ps-cat-meta span {
        font-size: 10px;
    }

    .ps-cat-breadcrumb {
        margin-bottom: 16px;
        padding: 9px 11px;
    }

    .ps-cat-breadcrumb .breadcrumb-item {
        font-size: 10px;
    }

    .ps-cat-panel {
        padding: 15px;
        margin-bottom: 16px;
        border-radius: 11px;
    }

    .ps-cat-section-heading h2 {
        font-size: 16px;
    }

    .ps-cat-section-heading p {
        font-size: 11px;
    }

    .ps-cat-heading-icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        font-size: 17px;
    }

    .ps-cat-subcategories .ps-cat-section-heading {
        margin-bottom: 13px;
    }

    .ps-cat-count {
        padding: 5px 8px;
        font-size: 10px;
    }

    .ps-cat-sub-item img {
        width: 35px;
        height: 35px;
        flex-basis: 35px;
    }

    .ps-cat-sub-item span {
        font-size: 11px;
    }

    .ps-cat-description {
        font-size: 13px;
        line-height: 1.75;
    }

    .ps-cat-gallery-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 13px;
        padding: 13px;
        margin-bottom: 14px;
    }

    .ps-cat-sort {
        width: 100%;
    }

    .ps-cat-sort .form-select {
        flex: 1;
        width: 100%;
    }
}

@media (max-width: 380px) {
    .ps-cat-identity {
        gap: 9px;
        padding-right: 10px;
        padding-left: 10px;
    }

    .ps-cat-avatar {
        flex-basis: 68px;
        width: 68px;
        height: 68px;
    }

    .ps-cat-heading h1 {
        font-size: 17px;
    }

    .ps-cat-heading > p {
        font-size: 10px;
    }
}


/* =====================================================
   PROMPTSENA CATEGORY PAGE — THUMBNAIL HERO + RESOURCE GUIDE
   ===================================================== */
.ps-cat-hero-clean {
    padding: 28px 30px;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 58%, #f7f5ff 100%);
}
.ps-cat-hero-clean .ps-cat-identity { padding: 0; gap: 25px; }
.ps-cat-avatar-large {
    flex: 0 0 132px; width: 132px; height: 132px; margin: 0;
    border: 5px solid #fff; border-radius: 22px;
    box-shadow: 0 8px 25px rgba(35, 70, 130, .14);
}
.ps-cat-avatar-large img { border-radius: 16px; }
.ps-cat-hero-clean .ps-cat-heading { padding: 0; }
.ps-cat-hero-clean .ps-cat-heading h1 { font-size: 30px; }
.ps-cat-hero-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:17px; }
.ps-cat-primary-link,.ps-cat-secondary-link { display:inline-flex; align-items:center; gap:8px; padding:10px 15px; border-radius:8px; font-size:12px; font-weight:750; text-decoration:none; transition:.2s ease; }
.ps-cat-primary-link { color:#fff; background:#3478f6; box-shadow:0 5px 13px rgba(52,120,246,.18); }
.ps-cat-primary-link:hover { color:#fff; background:#2465dc; transform:translateY(-1px); }
.ps-cat-secondary-link { color:#2869d7; background:#edf4ff; border:1px solid #dceaff; }
.ps-cat-secondary-link:hover { color:#174fae; background:#e2eeff; }
.ps-cat-guide-heading { margin-bottom:19px; }
.ps-cat-guide-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:13px; }
.ps-cat-guide-card { position:relative; padding:18px; background:#fbfcff; border:1px solid #e9eef7; border-radius:11px; }
.ps-cat-guide-number { position:absolute; top:13px; right:15px; color:#d4deed; font-size:23px; font-weight:850; }
.ps-cat-guide-icon { display:flex; width:39px; height:39px; align-items:center; justify-content:center; margin-bottom:12px; color:#3478f6; background:#edf4ff; border-radius:10px; font-size:18px; }
.ps-cat-guide-card h3 { margin:0 0 7px; color:#202b3d; font-size:14px; font-weight:800; }
.ps-cat-guide-card p { margin:0; color:#748095; font-size:12px; line-height:1.7; }
.ps-cat-tip-box { display:flex; gap:12px; align-items:flex-start; margin-top:14px; padding:13px 15px; color:#76551a; background:#fff9e9; border:1px solid #f7e8bd; border-radius:9px; }
.ps-cat-tip-box > i { margin-top:2px; color:#d99a20; font-size:18px; }
.ps-cat-tip-box strong { display:block; margin-bottom:3px; font-size:12px; }
.ps-cat-tip-box p { margin:0; color:#806b42; font-size:12px; line-height:1.65; }
.ps-cat-steps { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:19px; }
.ps-cat-step { display:flex; flex:1; min-width:0; flex-direction:column; align-items:center; text-align:center; gap:5px; }
.ps-cat-step > span { display:flex; width:34px; height:34px; align-items:center; justify-content:center; color:#fff; background:#3478f6; border-radius:50%; font-size:13px; font-weight:800; }
.ps-cat-step strong { color:#29364a; font-size:12px; }
.ps-cat-step small { color:#8994a5; font-size:10px; line-height:1.4; }
.ps-cat-steps > i { flex:0 0 auto; color:#b4c0d1; font-size:16px; }
.ps-cat-faq-list { margin-top:17px; border-top:1px solid #edf0f4; }
.ps-cat-faq-list details { padding:13px 2px; border-bottom:1px solid #edf0f4; }
.ps-cat-faq-list summary { position:relative; padding-right:25px; color:#344054; font-size:13px; font-weight:750; cursor:pointer; list-style:none; }
.ps-cat-faq-list summary::-webkit-details-marker { display:none; }
.ps-cat-faq-list summary:after { content:'+'; position:absolute; right:3px; top:-3px; color:#3478f6; font-size:20px; font-weight:500; }
.ps-cat-faq-list details[open] summary:after { content:'−'; }
.ps-cat-faq-list details p { margin:9px 25px 0 0; color:#748095; font-size:12px; line-height:1.75; }
@media (max-width:767px) {
 .ps-cat-hero-clean { padding:19px 15px; }
 .ps-cat-hero-clean .ps-cat-identity { align-items:flex-start; gap:13px; }
 .ps-cat-avatar-large { flex:0 0 82px; width:82px; height:82px; border-width:4px; border-radius:15px; }
 .ps-cat-avatar-large img { border-radius:11px; }
 .ps-cat-hero-clean .ps-cat-heading { padding-top:1px; }
 .ps-cat-hero-clean .ps-cat-heading h1 { font-size:19px; }
 .ps-cat-hero-clean .ps-cat-heading > p { font-size:11px; }
 .ps-cat-hero-clean .ps-cat-meta { gap:6px 10px; }
 .ps-cat-hero-actions { gap:7px; margin-top:12px; }
 .ps-cat-primary-link,.ps-cat-secondary-link { padding:8px 10px; font-size:10px; }
 .ps-cat-guide-grid { grid-template-columns:1fr; gap:9px; }
 .ps-cat-guide-card { padding:14px; }
 .ps-cat-guide-icon { float:left; margin:0 11px 8px 0; }
 .ps-cat-guide-card h3 { padding-top:2px; }
 .ps-cat-steps { display:grid; grid-template-columns:1fr 1fr; gap:16px 9px; }
 .ps-cat-steps > i { display:none; }
}
@media (max-width:380px) { .ps-cat-avatar-large { flex-basis:70px; width:70px; height:70px; } .ps-cat-hero-clean .ps-cat-heading h1 { font-size:17px; } }


/* Category thumbnail displayed as the full-width hero banner */
.ps-cat-cover {
    position: relative;
    height: 225px;
    overflow: hidden;
    background: #eef2f7;
}
.ps-cat-cover > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.ps-cat-cover-shade {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 55%, rgba(15,23,42,.16));
}
.ps-cat-identity {
    display: block;
    padding: 20px 25px 23px;
}
.ps-cat-heading { padding-top: 0; }
.ps-cat-guide-list {
    margin: 16px 0 0;
    padding-left: 22px;
    color: #5d687a;
    font-size: 13px;
    line-height: 1.9;
}
.ps-cat-guide-list li { padding-left: 4px; margin-bottom: 3px; }

@media (max-width: 767px) {
    .ps-cat-cover { height: 155px; }
    .ps-cat-identity { padding: 15px 14px 17px; }
    .ps-cat-heading h1 { font-size: 19px; }
    .ps-cat-guide-list { font-size: 12px; line-height: 1.8; }
}