/*
Theme Name: New Editing Prompts Child
Theme URI: http://neweditingpromptscom.local/
Description: Ultra-fast, modern GeneratePress Child Theme for NewEditingPrompts.com. Engineered by Gaurav with 1-click clipboard prompt copy, interactive full-prompt modal viewer, responsive cards grid, and 100/100 Core Web Vitals optimization.
Author: Gaurav
Author URI: http://neweditingpromptscom.local/
Template: generatepress
Version: 2.6.0
Text Domain: neweditingprompts-child
*/

:root {
    /* Brand Colors - Electric Orange & Modern Indigo */
    --nep-primary: #ff6b00;
    --nep-primary-dark: #e05e00;
    --nep-primary-light: #fff7ed;
    --nep-primary-border: #fed7aa;
    --nep-primary-glow: rgba(255, 107, 0, 0.22);
    --nep-primary-gradient: linear-gradient(135deg, #ff6b00 0%, #ff8800 100%);
    
    /* Secondary & Accent Colors */
    --nep-accent: #6366f1;
    --nep-accent-light: #eef2ff;
    --nep-success: #10b981;
    --nep-success-dark: #059669;
    --nep-success-light: #ecfdf5;
    
    /* Neutrals & Surfaces */
    --nep-dark: #0f172a;
    --nep-surface: #ffffff;
    --nep-surface-2: #f8fafc;
    --nep-surface-3: #f1f5f9;
    --nep-border: #e2e8f0;
    --nep-border-light: #f1f5f9;
    
    /* Typography Colors */
    --nep-text-heading: #0f172a;
    --nep-text-body: #334155;
    --nep-text-muted: #64748b;
    --nep-text-light: #94a3b8;
    
    /* Fonts & Radii */
    --nep-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --nep-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --nep-radius-sm: 8px;
    --nep-radius-md: 12px;
    --nep-radius-lg: 18px;
    --nep-radius-xl: 24px;
    --nep-radius-pill: 9999px;
    
    /* Shadows */
    --nep-shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.04);
    --nep-shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.06), 0 2px 6px -2px rgba(15, 23, 42, 0.03);
    --nep-shadow-lg: 0 16px 36px -6px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
    --nep-shadow-hover: 0 20px 40px -8px rgba(255, 107, 0, 0.18), 0 6px 16px -2px rgba(15, 23, 42, 0.04);
    --nep-shadow-modal: 0 25px 60px -15px rgba(15, 23, 42, 0.4);
}

/* Category, search and public archive layouts */
main.nep-category-archive,main.nep-common-archive{display:block;width:100%}.nep-category-archive .nep-archive-shell,.nep-common-archive .nep-archive-shell{width:calc(100% - 32px);max-width:1180px;margin:38px auto 70px}.nep-category-hero,.nep-common-archive-header{padding:40px;border:1px solid #e3e9f2;border-radius:26px;background:linear-gradient(135deg,#fff 55%,#f4f8ff);box-shadow:0 14px 38px rgba(18,35,63,.07);margin-bottom:32px}.nep-category-eyebrow{display:inline-block;margin-bottom:10px;color:#ff6500;font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.nep-category-hero h1,.nep-common-archive-header h1{max-width:900px;margin:0 0 16px;color:#101b34;font-size:clamp(32px,5vw,54px);line-height:1.08}.nep-category-intro{max-width:850px;color:#55627a;font-size:17px;line-height:1.75}.nep-category-intro p:last-child{margin-bottom:0}.nep-category-topics,.nep-archive-category-pills{display:flex;flex-wrap:wrap;gap:9px;margin-top:22px}.nep-category-topics a,.nep-archive-category-pill{display:inline-flex;align-items:center;min-height:38px;padding:8px 15px;border-radius:999px;background:#edf3f9;color:#17233d;font-size:13px;font-weight:750;text-decoration:none;transition:.2s ease}.nep-category-topics a:hover,.nep-archive-category-pill:hover,.nep-archive-category-pill.is-active{background:#ff6500;color:#fff;transform:translateY(-1px)}.nep-category-search{display:flex;width:min(620px,100%);align-items:center;gap:10px;margin-top:24px;padding:14px 18px;border:1px solid #d9e2ee;border-radius:14px;background:#fff;color:#263550;font-weight:700;text-align:left;cursor:pointer;box-shadow:0 8px 22px rgba(18,35,63,.06)}.nep-category-search:hover{border-color:#ff6500}.nep-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.nep-post-grid .nep-card{height:100%;display:flex;flex-direction:column}.nep-post-grid .nep-card-content{display:flex;flex:1;flex-direction:column}.nep-card-excerpt{display:-webkit-box;overflow:hidden;margin:0 0 18px;color:#647087;font-size:14px;line-height:1.65;-webkit-box-orient:vertical;-webkit-line-clamp:3}.nep-post-grid .nep-card-footer{margin-top:auto}.nep-card-date{color:#7d8799;font-size:11px}.navigation.pagination{margin:34px 0}.nav-links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.nav-links .page-numbers{display:inline-flex;min-width:42px;height:42px;align-items:center;justify-content:center;padding:0 12px;border-radius:11px;background:#eef3f8;color:#19253d;text-decoration:none;font-weight:750}.nav-links .current,.nav-links a:hover{background:#ff6500;color:#fff}.nep-category-guide,.nep-category-faq{margin-top:40px;padding:38px;border:1px solid #dfe7f1;border-radius:24px;background:#f4f8fd;color:#33415a}.nep-category-guide-heading,.nep-category-faq>h2{margin:0 0 22px;padding-left:16px;border-left:4px solid #ff6500;color:#121e36}.nep-category-guide-content{font-size:16px;line-height:1.8}.nep-category-guide-content a{color:#d94f00}.nep-faq-card{margin-top:12px;padding:22px 24px;border:1px solid #e2e8f0;border-radius:16px;background:#fff}.nep-faq-card h3{margin:0 0 8px;color:#14203a;font-size:17px}.nep-faq-card div{color:#5b687e;line-height:1.7}.nep-faq-card p:last-child{margin-bottom:0}.nep-archive-empty{padding:50px 24px;border:1px dashed #ccd6e3;border-radius:22px;text-align:center}.nep-category-search:focus-visible,.nep-archive-category-pill:focus-visible,.nep-card a:focus-visible{outline:3px solid rgba(255,101,0,.35);outline-offset:3px}
@media(max-width:900px){.nep-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.nep-category-hero,.nep-common-archive-header{padding:32px}}
@media(max-width:620px){.nep-archive-shell{width:min(100% - 20px,1180px);margin-top:20px}.nep-category-hero,.nep-common-archive-header{padding:24px 18px;border-radius:20px}.nep-category-hero h1,.nep-common-archive-header h1{font-size:32px}.nep-category-intro{font-size:15px}.nep-post-grid{grid-template-columns:1fr;gap:18px}.nep-category-guide,.nep-category-faq{padding:24px 18px;border-radius:20px}.nep-archive-category-pill{max-width:100%}.nep-card-date{display:none}}

/* ========================================================
   GLOBAL BASE STYLING
   ======================================================== */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--nep-text-body);
    background-color: var(--nep-surface-2);
    font-family: var(--nep-font-sans);
    line-height: 1.7;
}

a {
    color: var(--nep-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}
a:hover {
    color: var(--nep-primary-dark);
}

/* ========================================================
   HOME & ARCHIVE GRID CARDS (MODERN 2026 UI)
   ======================================================== */
.blog .site-main,
.archive .site-main {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)) !important;
    gap: 32px !important;
    margin: 32px 0 48px !important;
}

.blog .site-main article.post,
.archive .site-main article.post {
    background: #ffffff !important;
    border: 1px solid var(--nep-border) !important;
    border-radius: var(--nep-radius-lg) !important;
    overflow: hidden !important;
    box-shadow: var(--nep-shadow-sm) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
}

.blog .site-main article.post:hover,
.archive .site-main article.post:hover {
    transform: translateY(-5px) !important;
    box-shadow: var(--nep-shadow-hover) !important;
    border-color: var(--nep-primary-border) !important;
}

.blog .inside-article,
.archive .inside-article {
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.blog .post-image,
.archive .post-image {
    margin: 0 !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
    background: #0f172a !important;
}

.blog .post-image img,
.archive .post-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.5s ease !important;
}

.blog article.post:hover .post-image img,
.archive article.post:hover .post-image img {
    transform: scale(1.05) !important;
}

.blog .entry-header,
.archive .entry-header {
    padding: 20px 22px 10px !important;
}

.blog .entry-title,
.archive .entry-title {
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    margin: 0 0 8px !important;
}

.blog .entry-title a,
.archive .entry-title a {
    color: var(--nep-text-heading) !important;
}

.blog .entry-title a:hover,
.archive .entry-title a:hover {
    color: var(--nep-primary) !important;
}

.blog .entry-summary,
.archive .entry-summary {
    padding: 0 22px 18px !important;
    font-size: 14px !important;
    color: var(--nep-text-muted) !important;
    line-height: 1.65 !important;
    flex-grow: 1 !important;
    margin: 0 !important;
}

.blog .entry-meta,
.archive .entry-meta {
    font-size: 12.5px !important;
    color: var(--nep-text-light) !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.blog footer.entry-meta,
.archive footer.entry-meta {
    padding: 12px 22px !important;
    background: var(--nep-surface-2) !important;
    border-top: 1px solid var(--nep-border-light) !important;
    margin: auto 0 0 0 !important;
}

.nep-post-card {
    background: #ffffff;
    border: 1px solid var(--nep-border);
    border-radius: var(--nep-radius-lg);
    overflow: hidden;
    box-shadow: var(--nep-shadow-sm);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.nep-post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--nep-shadow-hover);
    border-color: var(--nep-primary-border);
}

.nep-post-card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0f172a;
}

.nep-post-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.nep-post-card:hover .nep-post-card-thumb img {
    transform: scale(1.05);
}

.nep-post-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: var(--nep-radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.nep-post-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.nep-post-card-title {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 10px;
    color: var(--nep-text-heading);
}

.nep-post-card-title a {
    color: inherit;
}
.nep-post-card-title a:hover {
    color: var(--nep-primary);
}

.nep-post-card-excerpt {
    font-size: 14px;
    color: var(--nep-text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.nep-post-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--nep-border-light);
    font-size: 13px;
    color: var(--nep-text-muted);
}

/* ========================================================
   SINGLE POST LAYOUT & CONTENT
   ======================================================== */
.single-post .entry-content {
    max-width: 860px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.85;
    color: var(--nep-text-body);
}

.single-post .entry-content h2 {
    font-size: 28px;
    font-weight: 800;
    margin: 45px 0 18px;
    padding-left: 14px;
    border-left: 5px solid var(--nep-primary);
    color: var(--nep-text-heading);
    letter-spacing: -0.3px;
}

.single-post .entry-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 34px 0 14px;
    color: var(--nep-text-heading);
}

.single-post .entry-content p {
    margin-bottom: 22px;
}

.single-post .entry-content .wp-block-image,
.single-post .entry-content figure {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 32px auto !important;
    text-align: center !important;
}

.single-post .entry-content .wp-block-image img,
.single-post .entry-content figure img {
    border-radius: var(--nep-radius-lg) !important;
    max-height: 520px !important;
    width: auto !important;
    max-width: 100% !important;
    box-shadow: var(--nep-shadow-md) !important;
    transition: transform 0.3s ease;
}

.single-post .entry-content .wp-block-image img:hover {
    transform: scale(1.008);
}

/* ========================================================
   UPGRADED AI PROMPT BOX COMPONENT (SIGNATURE FEATURE)
   Supports both .nep-prompt-box and .ai-prompt-box
   ======================================================== */
.nep-prompt-box,
.ai-prompt-box {
    width: 100%;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid var(--nep-border);
    border-radius: var(--nep-radius-lg);
    padding: 24px;
    margin: 32px 0;
    box-shadow: var(--nep-shadow-sm);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.nep-prompt-box:hover,
.ai-prompt-box:hover {
    border-color: var(--nep-primary-border);
    box-shadow: var(--nep-shadow-md);
}

/* Top Meta & Badges */
.nep-prompt-header,
.ai-prompt-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--nep-border-light);
}

.nep-prompt-badge,
.ai-prompt-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--nep-primary-light);
    color: var(--nep-primary-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: var(--nep-radius-pill);
    border: 1px solid var(--nep-primary-border);
}

.nep-prompt-meta-tags {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nep-tag-ratio,
.nep-tag-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: var(--nep-radius-pill);
}

.nep-tag-ratio {
    background: var(--nep-surface-3);
    color: var(--nep-text-muted);
}

.nep-tag-verified {
    background: var(--nep-success-light);
    color: var(--nep-success-dark);
}

/* Prompt Preview Box (Monospace + Gradient Fade) */
.nep-prompt-preview,
.ai-prompt-preview {
    position: relative;
    max-height: 120px;
    overflow: hidden;
    margin-bottom: 18px;
    padding: 14px 16px;
    background: var(--nep-surface-2);
    border-radius: var(--nep-radius-md);
    border: 1px dashed var(--nep-border);
    font-family: var(--nep-font-mono);
    font-size: 14px;
    line-height: 1.75;
    color: #1e293b;
    white-space: pre-wrap;
    word-break: break-word;
}

.nep-prompt-preview::after,
.ai-prompt-preview::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 55px;
    background: linear-gradient(to bottom, rgba(248, 250, 252, 0), rgba(248, 250, 252, 1) 90%);
    pointer-events: none;
}

/* Prompt Action Buttons */
.nep-prompt-buttons,
.ai-prompt-buttons {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
}

.nep-btn,
.ai-prompt-buttons button,
.ai-view-btn,
.ai-copy-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 18px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    border-radius: var(--nep-radius-md) !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border: none !important;
}

/* View Prompt Button (Clean secondary aesthetic) */
.nep-view-btn,
.ai-view-btn {
    background: var(--nep-surface-3) !important;
    color: var(--nep-text-heading) !important;
    border: 1px solid var(--nep-border) !important;
}

.nep-view-btn:hover,
.ai-view-btn:hover {
    background: var(--nep-border) !important;
    color: var(--nep-dark) !important;
    transform: translateY(-2px);
}

/* Copy Prompt Button (Signature Electric Orange CTA) */
.nep-copy-btn,
.ai-copy-btn {
    background: var(--nep-primary-gradient) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px var(--nep-primary-glow) !important;
}

.nep-copy-btn:hover,
.ai-copy-btn:hover {
    background: var(--nep-primary-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px var(--nep-primary-glow) !important;
}

/* Copied Success State */
.nep-copy-btn.copied,
.ai-copy-btn.copied {
    background: var(--nep-success) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35) !important;
    animation: nepSuccessPulse 0.35s ease;
}

@keyframes nepSuccessPulse {
    0% { transform: scale(0.97); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

/* ========================================================
   MODAL LIGHTBOX VIEWER
   ======================================================== */
.nep-prompt-modal,
.ai-prompt-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.nep-prompt-modal.is-open,
.ai-prompt-modal.is-open {
    display: flex !important;
}

.nep-prompt-overlay,
.ai-prompt-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(6px);
}

.nep-prompt-modal-content,
.ai-prompt-modal-content {
    position: relative;
    z-index: 2;
    width: min(840px, 100%);
    max-height: 88vh;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 32px;
    background: #ffffff;
    border-radius: var(--nep-radius-xl);
    box-shadow: var(--nep-shadow-modal);
    animation: nepModalEnter 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes nepModalEnter {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.nep-prompt-close,
.ai-prompt-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--nep-surface-3);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: var(--nep-radius-pill);
    font-size: 18px;
    color: var(--nep-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.nep-prompt-close:hover,
.ai-prompt-close:hover {
    background: var(--nep-border);
    color: var(--nep-dark);
}

.nep-modal-title {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 16px;
    padding-right: 40px;
    color: var(--nep-text-heading);
}

.nep-modal-body {
    background: var(--nep-surface-2);
    padding: 20px;
    border-radius: var(--nep-radius-md);
    border: 1px solid var(--nep-border);
    font-family: var(--nep-font-mono);
    font-size: 14.5px;
    line-height: 1.8;
    color: var(--nep-dark);
    white-space: pre-wrap;
    word-break: break-word;
    user-select: all;
    max-height: 50vh;
    overflow-y: auto;
    margin-bottom: 24px;
}

/* ========================================================
   AUTHOR BOX COMPONENT
   ======================================================== */
.nep-author-card {
    background: #ffffff;
    border: 1px solid var(--nep-border);
    border-radius: var(--nep-radius-lg);
    padding: 26px;
    margin: 40px 0;
    box-shadow: var(--nep-shadow-sm);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.nep-author-avatar img {
    width: 72px;
    height: 72px;
    border-radius: var(--nep-radius-pill);
    object-fit: cover;
    border: 3px solid var(--nep-primary-light);
}

.nep-author-card .nep-author-avatar {
    overflow: hidden;
    text-decoration: none;
}

.nep-author-card .nep-author-avatar-image {
    display: block;
    width: 100%;
    height: 100%;
    border: 3px solid var(--nep-primary-light);
    border-radius: 50%;
    object-fit: cover;
}

.nep-author-card .nep-author-name a {
    color: inherit;
    text-decoration: none;
}

.nep-author-card .nep-author-name a:hover,
.nep-author-card .nep-author-name a:focus-visible {
    color: var(--nep-primary);
}

.nep-author-details {
    flex: 1;
}

.nep-author-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--nep-text-heading);
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nep-author-bio {
    font-size: 14px;
    color: var(--nep-text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
}

/* ========================================================
   MODERN FOOTER COMPONENT
   ======================================================== */
.nep-site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 60px 24px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nep-footer-inner {
    max-width: 1240px;
    margin: 0 auto;
}

.nep-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.nep-footer-col h3 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.nep-footer-col p {
    font-size: 14px;
    line-height: 1.7;
}

.nep-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nep-footer-col ul li {
    margin-bottom: 11px;
}

.nep-footer-col ul li a {
    color: #94a3b8;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    padding: 3px 0;
    text-decoration: none;
    transform: translateX(0);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease, text-shadow 0.25s ease;
    will-change: transform, color;
}

.nep-footer-col ul li a:hover {
    color: #ff8833 !important;
    transform: translateX(6px);
    text-shadow: 0 0 12px rgba(255, 136, 51, 0.3);
}

.nep-footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    flex-wrap: wrap;
    gap: 16px;
}

/* ========================================================
   RESPONSIVE DESIGN (MOBILE OPTIMIZATIONS)
   ======================================================== */
@media (max-width: 768px) {
    .nep-prompt-buttons,
    .ai-prompt-buttons {
        grid-template-columns: 1fr !important;
    }
    
    .nep-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .single-post .entry-content h2 {
        font-size: 23px;
    }
    
    .nep-author-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.nep-header-search-btn.nep-mobile-header-search {
    display: none !important;
}

.nep-mobile-drawer-root {
    display: none;
}

@media (max-width: 1024px) {
    .site-header .inside-header {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .site-header .site-logo,
    .site-header .site-branding {
        margin-right: auto;
    }

    .nep-header-search-btn.nep-mobile-header-search {
        display: inline-flex !important;
        flex: 0 0 42px;
        margin-left: auto;
    }

    #site-navigation .main-nav,
    #site-navigation.toggled .main-nav {
        display: none !important;
    }

    #site-navigation .menu-toggle {
        display: inline-flex;
        width: 42px;
        min-width: 42px;
        height: 42px;
        align-items: center;
        justify-content: center;
        padding: 0;
        color: #10203a;
        background: #f0f4f9;
        border: 1px solid #dbe4ef;
        border-radius: 50%;
        box-shadow: 0 4px 12px rgba(15, 23, 42, .08);
    }

    #site-navigation .menu-toggle .mobile-menu {
        width: 0;
        overflow: hidden;
        font-size: 0;
    }

    .nep-mobile-drawer-root {
        display: block;
    }

    .nep-mobile-drawer-overlay {
        position: fixed;
        z-index: 100000;
        inset: 0;
        width: 100%;
        height: 100%;
        padding: 0;
        visibility: hidden;
        opacity: 0;
        background: rgba(15, 23, 42, .58);
        border: 0;
        cursor: pointer;
        backdrop-filter: blur(2px);
        transition: opacity 220ms ease, visibility 220ms ease;
    }

    .nep-mobile-drawer {
        position: fixed;
        z-index: 100001;
        top: 0;
        right: 0;
        display: flex;
        width: min(86vw, 340px);
        height: 100dvh;
        flex-direction: column;
        padding: 22px 20px 18px;
        overflow-x: hidden;
        overflow-y: auto;
        visibility: hidden;
        color: #132039;
        background: #fff;
        box-shadow: -18px 0 48px rgba(15, 23, 42, .2);
        transform: translateX(105%);
        transition: transform 240ms cubic-bezier(.22, .61, .36, 1), visibility 0s linear 240ms;
        overscroll-behavior: contain;
    }

    .nep-mobile-drawer-open {
        overflow: hidden;
    }

    .nep-mobile-drawer-open .nep-mobile-drawer-root {
        visibility: visible;
    }

    .nep-mobile-drawer-open .nep-mobile-drawer-overlay {
        visibility: visible;
        opacity: 1;
    }

    .nep-mobile-drawer-open .nep-mobile-drawer {
        visibility: visible;
        transform: translateX(0);
        transition-delay: 0s;
    }

    .nep-mobile-drawer-header {
        display: flex;
        min-height: 58px;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding-bottom: 14px;
        border-bottom: 1px solid #e9eef4;
    }

    .nep-mobile-drawer-logo {
        display: inline-flex;
        max-width: 185px;
        align-items: center;
        color: #101b34;
        font-size: 18px;
        font-weight: 850;
        line-height: 1.1;
        text-decoration: none;
    }

    .nep-mobile-drawer-logo img {
        display: block;
        width: auto;
        max-width: 185px;
        max-height: 48px;
        object-fit: contain;
    }

    .nep-mobile-drawer-close {
        display: inline-flex;
        width: 42px;
        min-width: 42px;
        height: 42px;
        align-items: center;
        justify-content: center;
        padding: 0;
        color: #334155;
        background: #f3f6fa;
        border: 0;
        border-radius: 50%;
        cursor: pointer;
    }

    .nep-mobile-drawer-search.nep-header-search-btn {
        display: flex;
        width: 100%;
        min-width: 0;
        height: 46px;
        justify-content: flex-start;
        gap: 10px;
        margin: 18px 0 14px;
        padding: 0 14px;
        color: #64748b;
        background: #f8fafc;
        border: 1px solid #dce4ee;
        border-radius: 12px;
        box-shadow: none;
        font-size: 13px;
        font-weight: 650;
    }

    .nep-mobile-drawer-search.nep-header-search-btn:hover,
    .nep-mobile-drawer-search.nep-header-search-btn:focus-visible {
        color: #ea580c;
        background: #fff7ed;
        border-color: #fdba74;
        box-shadow: none;
        transform: none;
    }

    .nep-mobile-drawer-navigation {
        padding: 2px 0 14px;
        border-bottom: 1px solid #e9eef4;
    }

    .nep-mobile-drawer-menu,
    .nep-mobile-drawer-menu ul {
        display: block;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .nep-mobile-drawer-menu li {
        display: block;
        margin: 0;
    }

    .nep-mobile-drawer-menu a,
    .nep-mobile-drawer-legal a {
        display: flex;
        min-height: 48px;
        align-items: center;
        gap: 12px;
        padding: 10px 12px;
        color: #17233b;
        background: transparent;
        border-radius: 10px;
        font-size: 14px;
        font-weight: 750;
        line-height: 1.3;
        text-decoration: none;
        transition: color 160ms ease, background-color 160ms ease;
    }

    .nep-mobile-drawer-menu a::before,
    .nep-mobile-drawer-legal a::before {
        display: inline-flex;
        width: 20px;
        height: 20px;
        flex: 0 0 20px;
        align-items: center;
        justify-content: center;
        color: #475569;
        font-size: 17px;
        content: "\2726";
    }

    .nep-mobile-drawer-menu .menu-item-home > a::before {
        content: "\2302";
    }

    .nep-mobile-drawer-menu a[href*="gemini"]::before {
        content: "\2727";
    }

    .nep-mobile-drawer-menu a[href*="chatgpt"]::before {
        content: "\25C7";
    }

    .nep-mobile-drawer-menu a[href*="portrait"]::before,
    .nep-mobile-drawer-menu a[href*="couple"]::before {
        color: #e11d48;
        content: "\2661";
    }

    .nep-mobile-drawer-menu a[href*="festiv"]::before {
        color: #ea580c;
        content: "\2606";
    }

    .nep-mobile-drawer-menu a:hover,
    .nep-mobile-drawer-menu a:focus-visible,
    .nep-mobile-drawer-menu .current-menu-item > a,
    .nep-mobile-drawer-legal a:hover,
    .nep-mobile-drawer-legal a:focus-visible {
        color: #ea580c;
        background: #fff7ed;
    }

    .nep-mobile-drawer-menu .sub-menu {
        margin-left: 28px;
    }

    .nep-mobile-drawer-menu .sub-menu a {
        min-height: 42px;
        font-size: 13px;
        font-weight: 650;
    }

    .nep-mobile-drawer-menu .nep-header-search-item {
        display: none;
    }

    .nep-mobile-drawer-legal {
        padding: 14px 0;
    }

    .nep-mobile-drawer-legal a::before {
        content: "\24D8";
    }

    .nep-mobile-drawer-legal a[href*="contact"]::before {
        content: "\2709";
    }

    .nep-mobile-drawer-legal a[href*="privacy"]::before {
        content: "\25C8";
    }

    .nep-mobile-drawer-legal a[href*="terms"]::before {
        content: "\25A7";
    }

    .nep-mobile-drawer-credit {
        margin-top: auto;
        padding: 24px 8px 4px;
        color: #94a3b8;
        font-size: 12px;
        text-align: center;
    }

    .nep-mobile-drawer-credit span,
    .nep-mobile-drawer-credit strong {
        color: #ea580c;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nep-mobile-drawer,
    .nep-mobile-drawer-overlay {
        transition: none;
    }
}


/* ========================================================
   FRONT PAGE EXACT REPLICATION (PIXEL-PERFECT MOCKUP)
   ======================================================== */
body.home,
body.front-page {
    background-color: #fbf8f3 !important;
}

/* Force Full Width on Front Page - No Sidebar */
.home .site-content,
.front-page .site-content {
    display: block !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background-color: #fbf8f3 !important;
}

.home .site-content.grid-container,
.front-page .site-content.grid-container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.home .site-main,
.front-page .site-main {
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}

.home .content-area,
.front-page .content-area,
.nep-front-page-wrap {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.home #right-sidebar,
.front-page #right-sidebar,
.home .sidebar,
.front-page .sidebar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* 1. HERO SECTION */
.nep-hero-section {
    background-color: #fbf8f3;
    padding: 50px 24px 35px;
    width: 100%;
    box-sizing: border-box;
}

.nep-hero-container {
    max-width: 1220px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.nep-hero-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: #111827;
    margin: 0 0 18px;
}

.nep-hero-highlight {
    color: #d74c09;
}

.nep-hero-subtitle {
    font-size: 15px;
    line-height: 1.7;
    color: #4b5563;
    max-width: 560px;
    margin: 0 0 28px;
}

/* Search Box Form */
.nep-hero-search-form {
    max-width: 530px;
}

.nep-search-wrapper {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 6px 6px 6px 16px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.nep-search-wrapper:focus-within {
    border-color: #d74c09;
    box-shadow: 0 6px 20px rgba(215, 76, 9, 0.12);
}

.nep-search-icon-wrap {
    display: flex;
    align-items: center;
    margin-right: 12px;
}

.nep-search-input {
    flex: 1;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    font-size: 15px !important;
    color: #111827 !important;
    padding: 8px 0 !important;
    box-shadow: none !important;
}

.nep-search-input::placeholder {
    color: #9ca3af;
    font-size: 14.5px;
}

.nep-search-btn {
    background: #d74c09 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 28px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.nep-search-btn:hover {
    background: #c2410c !important;
    transform: translateY(-1px);
}

/* Right Visual Collage */
.nep-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nep-hero-collage-wrap {
    position: relative;
    max-width: 540px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nep-hero-collage-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.08));
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nep-hero-collage-img:hover {
    transform: translateY(-6px) scale(1.02);
}

/* 2. FILTER PILLS BAR */
.nep-filter-section {
    background-color: #fbf8f3;
    padding: 10px 24px 30px;
    width: 100%;
    box-sizing: border-box;
}

.nep-filter-container {
    max-width: 1220px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.nep-filter-pills {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
    padding-bottom: 8px !important;
    width: 100% !important;
    margin: 0 auto !important;
}

.nep-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 11px 24px !important;
    border-radius: 9999px !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    background: #ffffff !important;
    color: #374151 !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    white-space: nowrap !important;
    outline: none !important;
}

/* Hover: Keep Background Crisp Clean White (NO BLACK!), border & text become primary orange with subtle lift */
.nep-pill:hover,
.nep-pill:focus {
    background: #ffffff !important;
    color: #d74c09 !important;
    border-color: #d74c09 !important;
    box-shadow: 0 6px 16px rgba(215, 76, 9, 0.15) !important;
    transform: translateY(-2px) !important;
}

/* Active Pill */
.nep-pill.active {
    background: #d74c09 !important;
    color: #ffffff !important;
    border-color: #d74c09 !important;
    box-shadow: 0 4px 14px rgba(215, 76, 9, 0.28) !important;
}

.nep-pill.active:hover {
    background: #c2410c !important;
    color: #ffffff !important;
    border-color: #c2410c !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(215, 76, 9, 0.32) !important;
}

/* 3. LATEST PROMPTS GRID */
.nep-prompts-section {
    background-color: #fbf8f3;
    padding: 10px 24px 80px;
    width: 100%;
    box-sizing: border-box;
}

.nep-prompts-container {
    max-width: 1220px;
    margin: 0 auto;
}

.nep-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.nep-section-title {
    font-size: 32px;
    font-weight: 800;
    color: #111827;
    margin: 0;
    letter-spacing: -0.5px;
}

.nep-sort-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #4b5563;
}

.nep-select-box {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nep-sort-select {
    appearance: none;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 7px 32px 7px 14px;
    font-size: 13.5px;
    font-weight: 600;
    color: #1f2937;
    cursor: pointer;
}

.nep-select-arrow {
    position: absolute;
    right: 10px;
    pointer-events: none;
    color: #6b7280;
}

/* 3-Column Card Grid */
.nep-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.nep-card {
    background: #ffffff !important;
    border: 1px solid #f0eee9 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex;
    flex-direction: column !important;
    padding: 0 !important;
    margin: 0 !important;
}

.nep-card.is-hidden {
    display: none !important;
}

.nep-card.is-visible {
    display: flex !important;
}

.nep-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.07) !important;
    border-color: #fed7aa !important;
}

.nep-card-thumb-link {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    line-height: 0 !important;
    border-top-left-radius: 17px !important;
    border-top-right-radius: 17px !important;
}

.nep-card-thumb {
    width: 100% !important;
    height: 220px !important;
    aspect-ratio: 16 / 10 !important;
    overflow: hidden !important;
    background: #0f172a !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    border-top-left-radius: 17px !important;
    border-top-right-radius: 17px !important;
}

.nep-thumb-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border-top-left-radius: 17px !important;
    border-top-right-radius: 17px !important;
    transition: transform 0.5s ease !important;
}

.nep-card:hover .nep-thumb-img {
    transform: scale(1.05) !important;
}

.nep-card-content {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.nep-card-category {
    display: inline-flex;
    align-self: flex-start;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #c2410c;
    text-transform: uppercase;
    text-decoration: none;
    margin-bottom: 8px;
    border-radius: 6px;
    transition: color 180ms ease, background-color 180ms ease;
}

.nep-card-category:hover,
.nep-card-category:focus-visible {
    color: #e85d04;
    background: #fff7ed;
}

.nep-card-category:focus-visible {
    outline: 3px solid rgba(255, 107, 0, 0.3);
    outline-offset: 3px;
}

.nep-card-title {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.4;
    margin: 0 0 16px;
    flex-grow: 1;
}

.nep-card-title a {
    color: #111827;
}

.nep-card-title a:hover {
    color: #d74c09;
}

.nep-card-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-top: auto !important;
    padding-top: 14px !important;
    border-top: 1px solid #f3f4f6 !important;
}

.nep-card-author {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    text-decoration: none !important;
    border-radius: 8px;
    transition: color 180ms ease, background-color 180ms ease;
}

.nep-card-author:hover,
.nep-card-author:focus-visible {
    color: #e85d04 !important;
    background: #fff7ed;
}

.nep-card-author:focus-visible {
    outline: 3px solid rgba(255, 107, 0, 0.3);
    outline-offset: 3px;
}

.nep-card-author:hover .nep-card-author-name,
.nep-card-author:focus-visible .nep-card-author-name {
    color: #e85d04 !important;
}

.nep-card-author-avatar {
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    background: #ffedd5 !important;
    color: #d74c09 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #fed7aa !important;
}

.nep-card-author-name {
    color: #475569 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

.nep-card-action {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #d74c09 !important;
    transition: all 0.2s ease !important;
    margin-top: 0 !important;
}

.nep-card-action:hover {
    color: #9a3412 !important;
    gap: 9px !important;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 992px) {
    .nep-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .nep-hero-subtitle {
        margin: 0 auto 28px;
    }
    .nep-hero-search-form {
        margin: 0 auto;
    }
    .nep-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .nep-hero-title {
        font-size: 38px;
    }
    .nep-cards-grid {
        grid-template-columns: 1fr;
    }
}


/* ========================================================
   TRENDING AUTO-MARQUEE CAROUSEL SHOWCASE (LIKE THEPROMPTADDA)
   ======================================================== */
.nep-marquee-section {
    width: 100%;
    background-color: #fbf8f3;
    padding: 0 24px 20px 24px;
    overflow: hidden;
    box-sizing: border-box;
}

.trending-carousel-wrapper {
    position: relative !important;
    width: 100% !important;
    max-width: 1220px !important;
    margin: 0 auto !important;
    min-height: 228px !important;
    overflow: hidden !important;
    padding: 10px 0 !important;
    user-select: none !important;
    mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
}

.trending-carousel-track {
    display: flex !important;
    gap: 16px !important;
    width: max-content !important;
    animation: trendingCarouselScroll 24s linear infinite !important;
    -webkit-animation: trendingCarouselScroll 24s linear infinite !important;
    will-change: transform;
}

.trending-carousel-track:hover {
    animation-play-state: paused !important;
    -webkit-animation-play-state: paused !important;
}

.trending-carousel-card {
    display: block !important;
    flex-shrink: 0 !important;
    width: 155px !important;
    height: 228px !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    position: relative !important;
    text-decoration: none !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s ease !important;
    background: #f1f5f9 !important;
}

.trending-carousel-card:hover {
    transform: translateY(-6px) scale(1.04) !important;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16) !important;
    z-index: 10 !important;
}

.trending-card-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    border-radius: 18px !important;
    transition: transform 0.4s ease !important;
}

.trending-carousel-card:hover .trending-card-img {
    transform: scale(1.08) !important;
}

@keyframes trendingCarouselScroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@-webkit-keyframes trendingCarouselScroll {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
    }
    100% {
        -webkit-transform: translate3d(-50%, 0, 0);
    }
}

@media (max-width: 768px) {
    .nep-marquee-section {
        padding: 0 16px 15px 16px;
    }
    .trending-carousel-wrapper {
        min-height: 198px !important;
    }
    .trending-carousel-card {
        width: 130px !important;
        height: 195px !important;
        border-radius: 14px !important;
    }
    .trending-card-img {
        border-radius: 14px !important;
    }
    .trending-carousel-track {
        gap: 12px !important;
        animation-duration: 18s !important;
        -webkit-animation-duration: 18s !important;
    }
}


/* ========================================================
   PAGE NAVIGATION / PAGINATION (EXACTLY LIKE THEPROMPTADDA)
   ======================================================== */
.nep-pagination-wrapper,
.pagination-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin: 45px auto 35px auto !important;
    padding: 0 10px !important;
    text-align: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.pagination-item {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 44px !important;
    height: 44px !important;
    padding: 0 16px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    color: #1e293b !important;
    border: 1.5px solid #e2e8f0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    user-select: none !important;
}

.pagination-item:hover:not(.current) {
    background: #ffffff !important;
    color: #d74c09 !important;
    border-color: #d74c09 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(215, 76, 9, 0.18) !important;
}

.pagination-item.current {
    background: linear-gradient(135deg, #d74c09 0%, #c2410c 100%) !important;
    color: #ffffff !important;
    border-color: #c2410c !important;
    box-shadow: 0 4px 14px rgba(215, 76, 9, 0.35) !important;
    cursor: default !important;
}

.pagination-item.prev-page,
.pagination-item.next-page {
    font-weight: 800 !important;
    letter-spacing: 0.3px !important;
    padding: 0 20px !important;
}

@media (max-width: 600px) {
    .nep-pagination-wrapper,
    .pagination-container {
        margin: 30px auto 20px auto !important;
        gap: 8px !important;
    }
    .pagination-item {
        min-width: 40px !important;
        height: 40px !important;
        font-size: 14px !important;
        padding: 0 12px !important;
        border-radius: 10px !important;
    }
    .pagination-item.prev-page,
    .pagination-item.next-page {
        padding: 0 15px !important;
    }
}


/* ========================================================
   MODAL AI TOOLS BUTTONS (GEMINI, CHATGPT, GROK)
   ======================================================== */
.nep-modal-actions {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
}

.nep-modal-ai-tools {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}

.nep-tool-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    height: 44px !important;
    padding: 0 15px !important;
    border-radius: 12px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-decoration: none !important;
    user-select: none !important;
    outline: none !important;
}

.nep-tool-icon {
    display: inline-block !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
}

#nep-modal-badge {
    display: none !important;
}

/* Gemini Tool Button */
.nep-btn-gemini {
    background: #f0f4f9 !important;
    color: #1a73e8 !important;
    border: 1.5px solid #d2e3fc !important;
}

.nep-btn-gemini:hover {
    background: #e8f0fe !important;
    border-color: #4285f4 !important;
    color: #174ea6 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 14px rgba(66, 133, 244, 0.2) !important;
}

/* ChatGPT Tool Button */
.nep-btn-chatgpt {
    background: #f0fdf4 !important;
    color: #0d8262 !important;
    border: 1.5px solid #bbf7d0 !important;
}

.nep-btn-chatgpt:hover {
    background: #dcfce7 !important;
    border-color: #10a37f !important;
    color: #0a6c52 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 14px rgba(16, 163, 127, 0.2) !important;
}

/* Grok Tool Button */
.nep-btn-grok {
    background: #f8fafc !important;
    color: #0f172a !important;
    border: 1.5px solid #e2e8f0 !important;
}

.nep-btn-grok:hover {
    background: #0f172a !important;
    border-color: #0f172a !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25) !important;
}

@media (max-width: 680px) {
    .nep-modal-actions {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .nep-modal-ai-tools {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
        width: 100% !important;
    }
    .nep-tool-btn {
        padding: 0 8px !important;
        font-size: 12.5px !important;
    }
    #nep-modal-copy-btn {
        width: 100% !important;
    }
}

/* ========================================================
   SEARCH MODAL OVERLAY & POPUP (HERO TRIGGER)
   ======================================================== */
.nep-search-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 999999 !important;
    display: none !important;
    align-items: flex-start !important;
    justify-content: center !important;
    padding: 70px 20px 20px !important;
    box-sizing: border-box !important;
}

.nep-search-modal.is-open {
    display: flex !important;
}

.nep-search-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(15, 23, 42, 0.45) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    animation: nepFadeIn 0.2s ease-out forwards !important;
}

.nep-search-box {
    position: relative !important;
    width: 100% !important;
    max-width: 620px !important;
    background: #ffffff !important;
    border-radius: 22px !important;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(0, 0, 0, 0.05) !important;
    padding: 22px 24px 20px !important;
    z-index: 10 !important;
    animation: nepPopIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    box-sizing: border-box !important;
}

@keyframes nepFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes nepPopIn {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* SEARCH BOX HEADER */
.nep-search-box-header {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.nep-search-box-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ea580c !important;
    flex-shrink: 0 !important;
}

.nep-search-input-field {
    flex: 1 !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    color: #0f172a !important;
    padding: 6px 0 !important;
    box-shadow: none !important;
    font-family: inherit !important;
}

.nep-search-input-field:focus {
    outline: none !important;
    box-shadow: none !important;
}

.nep-search-input-field::placeholder {
    color: #94a3b8 !important;
    font-weight: 400 !important;
}

.nep-search-close-btn {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #64748b !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: all 0.15s ease !important;
    flex-shrink: 0 !important;
}

.nep-search-close-btn:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

/* POPULAR TAGS BAR */
.nep-search-popular-bar {
    border-top: 1px solid #f1f5f9 !important;
    margin-top: 14px !important;
    padding-top: 14px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}

.nep-popular-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    margin-right: 4px !important;
}

.nep-popular-tags {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}

.nep-search-tag {
    background: #f1f5f9 !important;
    color: #334155 !important;
    border: 1px solid transparent !important;
    border-radius: 9999px !important;
    padding: 4px 12px !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    line-height: 1.4 !important;
    transition: all 0.15s ease !important;
}

.nep-search-tag:hover {
    background: #fff7ed !important;
    color: #ea580c !important;
    border-color: #fed7aa !important;
}

.nep-search-tag.active {
    background: #ea580c !important;
    color: #ffffff !important;
    border-color: #ea580c !important;
}

/* SEARCH RESULTS LIST */
.nep-search-results-wrap {
    margin-top: 14px !important;
    max-height: 380px !important;
    overflow-y: auto !important;
    padding-right: 4px !important;
}

.nep-search-results-wrap::-webkit-scrollbar {
    width: 6px;
}
.nep-search-results-wrap::-webkit-scrollbar-track {
    background: #f8fafc;
    border-radius: 3px;
}
.nep-search-results-wrap::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}
.nep-search-results-wrap::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.nep-search-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.nep-search-result-row {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 9px 12px !important;
    border-radius: 14px !important;
    text-decoration: none !important;
    background: transparent !important;
    transition: background 0.15s ease, transform 0.15s ease !important;
}

.nep-search-result-row:hover,
.nep-search-result-row:focus {
    background: #f8fafc !important;
    transform: translateX(3px) !important;
    outline: none !important;
}

.nep-search-result-thumb {
    width: 52px !important;
    height: 52px !important;
    border-radius: 10px !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
    background: #f1f5f9 !important;
}

.nep-search-result-text {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
    overflow: hidden !important;
}

.nep-search-result-title {
    margin: 0 !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    line-height: 1.35 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.nep-search-result-cat {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #d74c09 !important;
    line-height: 1 !important;
}

.nep-search-highlight {
    background: #fef08a !important;
    color: #854d0e !important;
    padding: 0 2px !important;
    border-radius: 2px !important;
}

.nep-search-empty {
    display: none !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 38px 20px !important;
    text-align: center !important;
    color: #64748b !important;
    gap: 6px !important;
}

.nep-search-empty.is-visible {
    display: flex !important;
}

.nep-search-empty p {
    margin: 4px 0 0 !important;
    font-weight: 600 !important;
    color: #1e293b !important;
}

.nep-search-empty span {
    font-size: 13px !important;
    color: #64748b !important;
}

@media (max-width: 768px) {
    .nep-search-modal {
        padding: 30px 12px 12px !important;
    }
    .nep-search-box {
        padding: 16px 16px 14px !important;
        border-radius: 18px !important;
    }
    .nep-search-input-field {
        font-size: 15px !important;
    }
}

/* ========================================================
   ABOUT & FAQ HUB SECTION (MATCHING USER REFERENCE DESIGN)
   ======================================================== */
.nep-about-faq-section {
    background-color: #fbf8f3;
    padding: 20px 24px 70px;
    width: 100%;
    box-sizing: border-box;
}

.nep-about-faq-container {
    max-width: 1120px;
    margin: 0 auto;
}

.nep-about-faq-card {
    background: #ffffff;
    border: 1px solid #f0eee9;
    border-radius: 24px;
    padding: 52px 48px 56px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.nep-faq-header {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 40px;
}

.nep-faq-main-title {
    font-size: 26px;
    font-weight: 900;
    color: #111827;
    line-height: 1.35;
    margin: 0 0 16px;
}

.nep-faq-intro-text {
    font-size: 14.5px;
    line-height: 1.75;
    color: #64748b;
    margin: 0;
}

.nep-faq-intro-text strong {
    color: #1e293b;
    font-weight: 700;
}

/* 3 FEATURES GRID */
.nep-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 44px;
}

.nep-feature-box {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 18px;
    padding: 28px 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: all 0.25s ease;
}

.nep-feature-box:hover {
    transform: translateY(-3px);
    border-color: #fed7aa;
    box-shadow: 0 8px 24px rgba(234, 88, 12, 0.08);
}

.nep-feature-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.nep-feature-title {
    font-size: 16.5px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 10px;
}

.nep-feature-desc {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
}

.nep-faq-divider {
    height: 1px;
    background: #f1f5f9;
    margin: 40px 0 44px;
}

/* FAQ LIST */
.nep-faq-section-title {
    font-size: 22px;
    font-weight: 800;
    color: #111827;
    text-align: center;
    margin: 0 0 32px;
}

.nep-faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 960px;
    margin: 0 auto;
}

.nep-faq-item {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 14px;
    padding: 20px 26px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
}

.nep-faq-item:hover {
    border-color: #e2e8f0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.nep-faq-question {
    font-size: 15.5px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px;
    line-height: 1.4;
}

.nep-faq-answer {
    font-size: 13.8px;
    color: #475569;
    line-height: 1.7;
    margin: 0;
}

.nep-faq-answer strong {
    color: #0f172a;
}

@media (max-width: 900px) {
    .nep-features-grid {
        grid-template-columns: 1fr;
    }
    .nep-about-faq-card {
        padding: 32px 20px;
    }
    .nep-faq-main-title {
        font-size: 21px;
    }
}

/* ==========================================================================
   Essential Pages Styling (About, Contact, Privacy, Disclaimer, Terms)
   ========================================================================== */
/* Clean container styling on essential pages */
.page .entry-header {
    display: none;
}

.page:has(.nep-page-wrapper) .inside-article {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

.nep-page-wrapper {
    max-width: 920px;
    margin: 0 auto;
    padding: 10px 0 60px;
    font-family: inherit;
    color: #334155;
    line-height: 1.75;
}

.nep-page-hero {
    text-align: center;
    margin-bottom: 36px;
    padding: 10px 0;
}

.nep-page-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(217, 83, 30, 0.08);
    color: #d9531e;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 5px 15px;
    border-radius: 9999px;
    margin-bottom: 14px;
    border: 1px solid rgba(217, 83, 30, 0.16);
}

.nep-page-title {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin: 0 0 12px;
}

.nep-page-subtitle {
    font-size: 15.5px;
    color: #64748b;
    line-height: 1.65;
    max-width: 660px;
    margin: 0 auto;
}

.nep-page-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 18px;
    padding: 38px 40px;
    box-shadow: 0 3px 18px rgba(0, 0, 0, 0.025);
    margin-bottom: 28px;
}

.nep-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
    margin: 26px 0;
}

.nep-info-card {
    background: #fafbfc;
    border: 1px solid #edf2f7;
    border-radius: 14px;
    padding: 22px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nep-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

.nep-info-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(217, 83, 30, 0.1);
    color: #d9531e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 19px;
}

.nep-info-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px;
}

.nep-info-desc {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

.nep-stat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 28px 0;
    text-align: center;
}

.nep-stat-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 12px;
}

.nep-stat-number {
    font-size: 26px;
    font-weight: 900;
    color: #d9531e;
    margin-bottom: 4px;
}

.nep-stat-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nep-author-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fafbfc;
    border: 1px solid #edf2f7;
    border-radius: 16px;
    padding: 24px;
    margin: 28px 0;
}

.nep-author-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #d9531e;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(217, 83, 30, 0.25);
}

.nep-author-meta {
    flex: 1;
}

.nep-author-name {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
}

.nep-author-role {
    font-size: 13px;
    font-weight: 600;
    color: #d9531e;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nep-author-bio {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

.nep-legal-section {
    margin-bottom: 30px;
}

.nep-legal-section h2 {
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nep-legal-section h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 18px 0 8px;
}

.nep-legal-section p {
    font-size: 14.5px;
    color: #475569;
    line-height: 1.75;
    margin: 0 0 12px;
}

.nep-legal-section ul {
    padding-left: 22px;
    margin: 0 0 16px;
    color: #475569;
    font-size: 14.5px;
    line-height: 1.7;
}

.nep-legal-section li {
    margin-bottom: 8px;
}

.nep-callout-box {
    background: #fff8f5;
    border-left: 4px solid #d9531e;
    border-radius: 0 12px 12px 0;
    padding: 16px 20px;
    margin: 22px 0;
}

.nep-callout-title {
    font-weight: 800;
    color: #9a3412;
    margin-bottom: 4px;
    font-size: 14.5px;
}

.nep-callout-text {
    color: #7c2d12;
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .nep-page-card {
        padding: 26px 20px;
    }
    .nep-page-title {
        font-size: 26px;
    }
    .nep-stat-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .nep-author-box {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   Single Post Layout & Design (Breadcrumbs, Title, Meta, Sidebar)
   ========================================================================== */
.single-post #content.site-content {
    background: transparent !important;
    padding: 0 !important;
    max-width: 100% !important;
}

.nep-single-page-wrapper {
    background: #f8fafc;
    padding: 24px 0 60px;
    min-height: 80vh;
}

.nep-single-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
    align-items: start;
}

/* Main Single Card */
.nep-single-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 18px;
    padding: 34px 36px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.025);
}

/* Breadcrumbs Box */
.post-breadcrumbs {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    font-size: 13.5px !important;
    color: #64748b !important;
    margin: 0 0 18px 0 !important;
    padding: 10px 16px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    line-height: 1.4 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}

.post-breadcrumbs a {
    color: #2563eb !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: color 0.15s ease !important;
    display: inline-flex;
    align-items: center;
}

.post-breadcrumbs a:hover {
    color: #ea580c !important;
    text-decoration: underline !important;
}

.post-breadcrumbs .breadcrumb-sep {
    color: #94a3b8 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    user-select: none !important;
    margin: 0 2px !important;
}

.post-breadcrumbs .breadcrumb-current {
    color: #0f172a !important;
    font-weight: 700 !important;
    max-width: 440px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Post Header, Title & Meta */
.nep-single-card .entry-header {
    display: block !important;
    margin-bottom: 22px;
}

.nep-single-card .entry-title {
    font-size: 30px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin: 0 0 14px 0;
}

.nep-single-card .entry-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 13.5px;
    color: #64748b;
    margin-bottom: 0;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
}

.nep-single-card .entry-meta .meta-author {
    color: #64748b;
    font-weight: 500;
}

.nep-single-card .entry-meta .meta-author a {
    color: #0f172a;
    font-weight: 700;
    text-decoration: none;
}

.nep-single-card .entry-meta .meta-author a:hover {
    color: #ea580c;
}

.nep-single-card .entry-meta .meta-date {
    color: #64748b;
}

.nep-single-card .entry-meta .meta-sep {
    color: #cbd5e1;
    font-size: 14px;
}

.nep-single-card .entry-meta .meta-categories {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.nep-single-card .entry-meta .meta-category {
    background: #fff7ed;
    color: #ea580c;
    border: 1px solid rgba(234, 88, 12, 0.16);
    padding: 3px 12px;
    border-radius: 9999px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.15s ease;
}

.nep-single-card .entry-meta .meta-category:hover {
    background: #ea580c;
    color: #ffffff;
    border-color: #ea580c;
}

/* Featured Image */
.nep-single-featured-image {
    margin: 0 0 28px 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.nep-single-featured-image .nep-featured-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
}

/* Entry Content inside Single Post */
.nep-single-card .entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
}

.nep-single-card .entry-content h2 {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 30px 0 14px;
}

.nep-single-card .entry-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 24px 0 10px;
}

.nep-single-card .entry-content p {
    margin-bottom: 18px;
}

/* ==========================================================================
   Sidebar Widgets Styling
   ========================================================================== */
.nep-single-sidebar {
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: sticky;
    top: 24px;
}

.nep-sidebar-widget {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 18px;
    padding: 24px 22px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.025);
}

.sidebar-widget-title {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 18px 0 !important;
    padding-bottom: 8px !important;
    position: relative !important;
    display: block !important;
}

.sidebar-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 38px;
    height: 3px;
    background: #ea580c;
    border-radius: 2px;
}

/* Author Widget */
.nep-author-widget-body {
    text-align: center;
}

.nep-author-avatar-wrap {
    width: 78px;
    height: 78px;
    margin: 0 auto 12px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #f1f5f9;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.nep-widget-author-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nep-author-widget-name {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 8px;
}

.nep-verified-badge {
    display: inline-flex;
    align-items: center;
}

.nep-author-widget-bio {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 16px;
    text-align: center;
}

.nep-author-widget-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.nep-pill-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #ea580c;
    color: #ffffff !important;
    font-size: 12.5px;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 9999px;
    text-decoration: none !important;
    transition: background 0.15s ease, transform 0.15s ease;
}

.nep-pill-action-btn:hover {
    background: #c2410c;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25);
}

.nep-link-action {
    font-size: 13px;
    color: #ea580c !important;
    font-weight: 700;
    text-decoration: none !important;
    transition: color 0.15s ease;
}

.nep-link-action:hover {
    text-decoration: underline !important;
    color: #c2410c !important;
}

/* Trending Widget */
.nep-trending-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nep-trending-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #f8fafc;
}

.nep-trending-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.nep-trending-thumb-link {
    display: block;
    flex-shrink: 0;
}

.nep-trending-thumb {
    width: 62px;
    height: 62px;
    border-radius: 10px;
    object-fit: cover;
    display: block;
    border: 1px solid #f1f5f9;
    transition: opacity 0.15s ease;
}

.nep-trending-thumb:hover {
    opacity: 0.9;
}

.nep-trending-thumb-placeholder {
    width: 62px;
    height: 62px;
    border-radius: 10px;
    background: #fff7ed;
    color: #ea580c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.nep-trending-info {
    flex: 1;
    min-width: 0;
}

.nep-trending-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    text-decoration: none !important;
    margin: 0 0 4px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s ease;
}

.nep-trending-title:hover {
    color: #ea580c !important;
}

.nep-trending-date {
    font-size: 12px;
    color: #94a3b8;
    display: block;
}

@media (max-width: 960px) {
    .nep-single-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .nep-single-card {
        padding: 24px 18px;
    }
    .nep-single-card .entry-title {
        font-size: 23px;
    }
    .post-breadcrumbs {
        padding: 8px 12px !important;
        font-size: 12.5px !important;
    }
    .post-breadcrumbs .breadcrumb-current {
        max-width: 200px !important;
    }
}

/* ==========================================================================
   Header Navigation Menu Pill Buttons (Exact Match with Reference)
   Only affects the menu items without touching the container layout.
   ========================================================================== */
#site-navigation .main-nav > ul {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    list-style: none !important;
}

#site-navigation .main-nav > ul > li {
    margin: 0 !important;
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
}

#site-navigation .main-nav > ul > li > a {
    color: #1e293b !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    padding: 7px 16px !important;
    line-height: 1.4 !important;
    height: auto !important;
    border-radius: 9999px !important;
    background: #f1f5f9 !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    white-space: nowrap !important;
}

/* Hover Effect: Vibrant Solid Orange Pill Button */
#site-navigation .main-nav > ul > li > a:hover {
    color: #ffffff !important;
    background: #ea580c !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25) !important;
}

/* Active Menu Item: Solid Orange Pill */
#site-navigation .main-nav > ul > li.current-menu-item > a,
#site-navigation .main-nav > ul > li[class*="current-"] > a {
    color: #ffffff !important;
    background: #ea580c !important;
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.2) !important;
}

/* Sub-menu / Dropdown Styling */
#site-navigation .main-nav ul ul {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12) !important;
    padding: 8px !important;
    top: calc(100% + 8px) !important;
}

#site-navigation .main-nav ul ul li a {
    padding: 8px 14px !important;
    color: #334155 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    background: transparent !important;
    height: auto !important;
    line-height: 1.4 !important;
    transition: background 0.15s ease, color 0.15s ease !important;
}

#site-navigation .main-nav ul ul li a:hover {
    background: #fff7ed !important;
    color: #ea580c !important;
}

/* Related AI prompts */
.nep-related-prompts {
    margin: 36px 0 28px;
    padding: 28px 30px 30px;
    background: #ffffff;
    border: 1px solid #e6ebf2;
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.nep-related-prompts-title {
    position: relative;
    margin: 0 0 24px;
    padding-bottom: 12px;
    color: #0f1b35;
    font-size: clamp(1.3rem, 2vw, 1.55rem);
    font-weight: 800;
    line-height: 1.25;
}

.nep-related-prompts-title::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 54px;
    height: 4px;
    border-radius: 999px;
    background: #ff6b00;
    content: "";
}

.nep-related-prompts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.nep-related-prompt-card {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5eaf1;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.nep-related-prompt-card:hover {
    transform: translateY(-2px);
    border-color: #ff8a3d;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.1);
}

.nep-related-prompt-link {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 86px;
    padding: 12px 14px;
    color: inherit;
    text-decoration: none;
}

.nep-related-prompt-link:focus-visible {
    border-radius: 12px;
    outline: 3px solid rgba(255, 107, 0, 0.35);
    outline-offset: -3px;
}

.nep-related-prompt-thumb {
    flex: 0 0 100px;
    width: 100px;
    height: 64px;
    margin: 0;
    border-radius: 10px;
    object-fit: cover;
}

.nep-related-prompt-title {
    display: -webkit-box;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    color: #101c35;
    font-size: 0.92rem;
    font-weight: 750;
    line-height: 1.42;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.nep-related-prompt-card:hover .nep-related-prompt-title {
    color: #e85d04;
}

@media (max-width: 720px) {
    .nep-related-prompts {
        margin: 28px 0 22px;
        padding: 22px 18px 20px;
        border-radius: 16px;
    }

    .nep-related-prompts-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .nep-related-prompt-link {
        min-height: 82px;
        padding: 11px 12px;
    }

    .nep-related-prompt-thumb {
        flex-basis: 90px;
        width: 90px;
        height: 60px;
    }
}

@media (max-width: 360px) {
    .nep-related-prompts {
        padding-right: 14px;
        padding-left: 14px;
    }

    .nep-related-prompt-link {
        gap: 10px;
        padding-right: 10px;
        padding-left: 10px;
    }

    .nep-related-prompt-thumb {
        flex-basis: 78px;
        width: 78px;
        height: 56px;
    }

    .nep-related-prompt-title {
        font-size: 0.84rem;
    }
}

/* Category hero alignment and real search form. */
.nep-category-hero {
    text-align: center;
}

.nep-category-hero .nep-category-intro {
    margin-right: auto;
    margin-left: auto;
}

.nep-category-hero .nep-category-topics,
.nep-category-hero .nep-archive-category-pills {
    justify-content: center;
}

.nep-category-search-form {
    display: flex;
    width: min(680px, 100%);
    min-height: 54px;
    align-items: center;
    gap: 10px;
    margin: 24px auto 0;
    padding: 5px 6px 5px 17px;
    background: #fff;
    border: 1px solid #d7e0eb;
    border-radius: 15px;
    box-shadow: 0 8px 22px rgba(18, 35, 63, .07);
}

.nep-category-search-form:focus-within {
    border-color: #ff6b00;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, .13);
}

.nep-category-search-icon {
    flex: 0 0 auto;
    color: #16243c;
    font-size: 21px;
}

.nep-category-search-form input[type="search"] {
    min-width: 0;
    flex: 1;
    padding: 10px 2px;
    color: #15233d;
    font: inherit;
    border: 0;
    outline: 0;
    background: transparent;
    box-shadow: none;
}

.nep-category-search-form button {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 9px 20px;
    color: #fff;
    font-weight: 800;
    background: #ff6b00;
    border: 0;
    border-radius: 11px;
    cursor: pointer;
}

.nep-category-search-form button:hover,
.nep-category-search-form button:focus-visible {
    background: #e85f00;
}

.nep-card-date {
    display: none !important;
}

@media (max-width: 520px) {
    .nep-category-search-form {
        padding-left: 13px;
    }

    .nep-category-search-form button {
        padding-right: 14px;
        padding-left: 14px;
    }
}

/* Keep public archive templates full-width after legacy homepage grid rules. */
main.nep-category-archive,
main.nep-common-archive {
    display: block;
    width: 100%;
}

.nep-category-archive .nep-archive-shell,
.nep-common-archive .nep-archive-shell {
    width: calc(100% - 32px);
    max-width: 1180px;
    margin: 38px auto 70px;
}

.nep-category-archive .nep-post-grid,
.nep-common-archive .nep-post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
    .nep-category-archive .nep-post-grid,
    .nep-common-archive .nep-post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .nep-category-archive .nep-archive-shell,
    .nep-common-archive .nep-archive-shell {
        width: calc(100% - 20px);
        margin-top: 20px;
    }

    .nep-category-archive .nep-post-grid,
    .nep-common-archive .nep-post-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Header search trigger */
.main-navigation .main-nav ul li.nep-header-search-item {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.nep-header-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
    color: #10203a;
    background: #f0f4f9;
    border: 1px solid #dbe4ef;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    cursor: pointer;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.nep-header-search-btn:hover,
.nep-header-search-btn:focus-visible,
.nep-header-search-btn.is-active {
    color: #ffffff;
    background: #ff6b00;
    border-color: #ff6b00;
    box-shadow: 0 8px 18px rgba(255, 107, 0, 0.28);
    transform: translateY(-1px);
}

.nep-header-search-btn:focus-visible {
    outline: 3px solid rgba(255, 107, 0, 0.25);
    outline-offset: 3px;
}

.nep-header-search-btn svg {
    display: block;
    width: 20px;
    height: 20px;
}

.nep-search-status {
    padding: 20px;
    color: #64748b;
    text-align: center;
    font-size: 14px;
}

.nep-search-empty {
    display: none;
}

.nep-search-empty.is-visible {
    display: flex;
}

@media (max-width: 768px) {
    .main-navigation .main-nav ul li.nep-header-search-item {
        margin: 8px 14px 14px;
    }

    .nep-header-search-btn {
        width: 40px;
        min-width: 40px;
        height: 40px;
    }
}



/* Single-post sidebar: related posts and category pills */
.nep-sidebar-post-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nep-sidebar-post-item {
    margin: 0;
    border: 0;
}

.nep-sidebar-post-item:nth-child(even) {
    background: #f6f8fb;
}

.nep-sidebar-post-link {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-width: 0;
    padding: 10px 8px;
    color: #102038;
    text-decoration: none;
    border-radius: 10px;
    transition: background-color .2s ease, color .2s ease;
}

.nep-sidebar-post-link:hover {
    background: #fff3e9;
}

.nep-sidebar-post-link:focus-visible {
    outline: 3px solid rgba(255, 107, 0, .35);
    outline-offset: 2px;
}

.nep-sidebar-post-thumb {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    border-radius: 11px;
    object-fit: cover;
}

.nep-sidebar-post-content {
    display: block;
    min-width: 0;
}

.nep-sidebar-post-title {
    display: -webkit-box;
    overflow: hidden;
    color: #102038;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    transition: color .2s ease;
}

.nep-sidebar-post-link:hover .nep-sidebar-post-title {
    color: #ff5a00;
}

.nep-sidebar-post-category {
    display: block;
    margin-top: 3px;
    color: #ff5a00;
    font-size: 12px;
    line-height: 1.3;
}

.nep-sidebar-categories {
    margin-top: 24px;
}

.nep-sidebar-category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nep-sidebar-category-pill {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 8px 13px;
    color: #102038;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    overflow-wrap: anywhere;
    background: #f1f5f9;
    border: 1px solid #dbe4ee;
    border-radius: 999px;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.nep-sidebar-category-pill:hover {
    color: #fff;
    background: #ff6b00;
    border-color: #ff6b00;
}

.nep-sidebar-category-pill:focus-visible {
    outline: 3px solid rgba(255, 107, 0, .35);
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .nep-sidebar-post-link {
        gap: 12px;
        padding: 11px 8px;
    }

    .nep-sidebar-post-thumb {
        flex-basis: 58px;
        width: 58px;
        height: 58px;
    }

    .nep-sidebar-post-title {
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .nep-sidebar-post-link {
        gap: 10px;
        padding-right: 4px;
        padding-left: 4px;
    }

    .nep-sidebar-category-pill {
        padding: 7px 11px;
        font-size: 12px;
    }
}
