/**
 * HTML Page Manager — Final Blog Page Stylesheet (Pure White Background Design)
 *
 * Visual Reference: Premium Online Magazine Style
 * Features:
 * 1. 100% Pure White Background (#FFFFFF) throughout the entire page and containers.
 * 2. Elegant Breadcrumb navigation (Home > Blog) with purple home icon.
 * 3. Magazine-style Blog Heading with dark plum typography, purple-to-orange gradient highlight, and decorative underline.
 * 4. Modern Category Pill Navigation: Pure white background, subtle lavender border, purple icons, solid purple active state, and mobile horizontal scroll.
 * 5. 3-Column Magazine Post Cards with 16:9.5 widescreen images, floating category badges, clean typography, bottom meta & Read More link.
 * 6. Radiant Purple-to-Orange Gradient "Load More Posts" button centered between elegant horizontal divider lines.
 * 7. Fully responsive layout: 3 columns on desktop, 2 columns on tablet, 1 column on mobile.
 */

/* ═══════════════════════════════════════════════
   1. GLOBAL CONTAINER & PURE WHITE RESET
═══════════════════════════════════════════════ */
html,
body.hpm-magazine-blog-body,
body.blog,
body.page-slug-blog,
.hpm-blog-standalone-main,
.hpm-blog-page-wrapper {
    background-color: #ffffff !important;
    background: #ffffff !important;
}

.hpm-blog-standalone-main {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background-color: #ffffff !important;
    box-sizing: border-box;
}

.hpm-blog-page-wrapper {
    width: 100%;
    max-width: var(--hpm-container-max-width, 1240px);
    margin-left: auto;
    margin-right: auto;
    padding: 32px 24px 72px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1e1b4b;
    background: #ffffff !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Breakout overrides for aggressive WordPress theme wrappers */
.entry-content:has(.hpm-blog-page-wrapper),
.post-content:has(.hpm-blog-page-wrapper),
.site-content:has(.hpm-blog-page-wrapper),
.wp-site-blocks:has(.hpm-blog-page-wrapper) {
    max-width: 100% !important;
    width: 100% !important;
    background: #ffffff !important;
}

/* ═══════════════════════════════════════════════
   HIDE THEME DEFAULT PAGE / ARCHIVE TITLE
   Cleanly hides only default theme page headers outside .hpm-blog-page-wrapper
   without hiding post titles, post cards, or theme footers.
═══════════════════════════════════════════════ */
body.hpm-blog-page-active > #page > header.entry-header,
body.hpm-blog-page-active header.page-header:not(.hpm-blog-page-wrapper *),
body.hpm-blog-page-active .ast-archive-description,
body.hpm-blog-page-active .site-main > header.page-header,
body.hpm-blog-page-active .site-main > header.entry-header:not(:has(.hpm-blog-page-wrapper)),
body.hpm-blog-page-active .content-area > header.entry-header:not(:has(.hpm-blog-page-wrapper)),
body.hpm-blog-page-active h1.page-title:not(.hpm-blog-page-wrapper *),
body.hpm-hide-theme-title.hpm-blog-page-active header.page-header:not(.hpm-blog-page-wrapper *),
body.hpm-hide-theme-title.hpm-blog-page-active .site-main > header.entry-header:not(:has(.hpm-blog-page-wrapper)) {
    display: none !important;
}

/* ═══════════════════════════════════════════════
   2. ELEGANT CENTERED BREADCRUMB NAVIGATION
═══════════════════════════════════════════════ */
.hpm-breadcrumb-bar {
    width: 100%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important; /* CENTERED HORIZONTALLY */
    text-align: center !important;
    margin: 0 auto 24px auto !important;
    padding: 0 !important;
    background: transparent !important;
}

.hpm-breadcrumb {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    color: #4b5563;
    padding: 4px 12px;
}

.hpm-breadcrumb-home {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: #4f46e5 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: color 0.18s ease, transform 0.18s ease !important;
}

.hpm-breadcrumb-home:hover {
    color: #7c3aed !important;
    transform: translateY(-1px);
}

.hpm-breadcrumb-icon {
    display: inline-block !important;
    stroke: currentColor !important;
    flex-shrink: 0 !important;
    vertical-align: middle !important;
    width: 16px;
    height: 16px;
}

.hpm-breadcrumb-sep {
    color: #94a3b8 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    user-select: none !important;
    margin: 0 2px !important;
}

.hpm-breadcrumb-current {
    color: #4338ca !important;
    font-weight: 700 !important;
}

/* ═══════════════════════════════════════════════
   3. MAGAZINE BLOG HEADING
═══════════════════════════════════════════════ */
.hpm-blog-header {
    width: 100%;
    margin: 0 0 32px 0;
    box-sizing: border-box;
    text-align: center;
    background: #ffffff !important;
}

.hpm-blog-title-wrap {
    margin-bottom: 12px;
    background: transparent !important;
}
.hpm-blog-title-wrap.hpm-align--center { text-align: center; }
.hpm-blog-title-wrap.hpm-align--left   { text-align: left; }
.hpm-blog-title-wrap.hpm-align--right  { text-align: right; }

.hpm-blog-title {
    font-family: var(--hpm-title-font, inherit);
    font-size: var(--hpm-title-size-desktop, 48px);
    font-weight: var(--hpm-title-weight, 800);
    font-style: var(--hpm-title-style, normal);
    line-height: var(--hpm-title-line-height, 1.2);
    letter-spacing: var(--hpm-title-letter-spacing, -0.025em);
    color: var(--hpm-title-color, #1e1b4b);
    margin: 0;
    padding: 0;
}

@media (max-width: 1024px) {
    .hpm-blog-title {
        font-size: var(--hpm-title-size-tablet, 38px);
    }
}
@media (max-width: 680px) {
    .hpm-blog-title {
        font-size: var(--hpm-title-size-mobile, 30px);
    }
}

.hpm-title-prefix {
    display: block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--hpm-title-highlight-color, #7c3aed);
    margin-bottom: 8px;
}

.hpm-title-highlight {
    display: inline-block;
    color: var(--hpm-title-highlight-color, #7c3aed);
}

/* Gradient highlight on specified word (e.g. "Blog") */
.hpm-title-gradient,
.hpm-title-gradient em {
    font-style: italic !important;
    background: linear-gradient(135deg, #7c3aed 0%, #ec4899 45%, #f97316 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    display: inline-block;
}

/* Decorative Gradient Underline */
.hpm-title-underline {
    display: block;
    height: var(--hpm-underline-thickness, 3.5px);
    width: var(--hpm-underline-width, 90px);
    margin: 12px auto 0;
    border-radius: 9999px;
    background: linear-gradient(90deg, #7c3aed 0%, #f97316 100%);
}

.hpm-underline--solid {
    background: var(--hpm-underline-color, #7c3aed) !important;
}

.hpm-underline--gradient {
    background: linear-gradient(90deg, #7c3aed 0%, #f97316 100%) !important;
}

.hpm-underline--dashed {
    background: transparent !important;
    border-bottom: 3px dashed #7c3aed !important;
}

/* Blog Description */
.hpm-blog-description-wrap {
    margin: 14px auto 0;
    max-width: var(--hpm-desc-max-width, 680px);
    background: transparent !important;
}
.hpm-blog-description-wrap.hpm-align--center { text-align: center; margin-left: auto; margin-right: auto; }
.hpm-blog-description-wrap.hpm-align--left   { text-align: left; margin-left: 0; }
.hpm-blog-description-wrap.hpm-align--right  { text-align: right; margin-right: 0; }

.hpm-blog-description {
    font-family: var(--hpm-desc-font, inherit);
    font-size: var(--hpm-desc-size-desktop, 16.5px);
    font-weight: var(--hpm-desc-weight, 400);
    color: var(--hpm-desc-color, #4b5563);
    line-height: var(--hpm-desc-line-height, 1.6);
    margin: 0;
}

@media (max-width: 1024px) {
    .hpm-blog-description {
        font-size: var(--hpm-desc-size-tablet, 15.5px);
    }
}
@media (max-width: 680px) {
    .hpm-blog-description {
        font-size: var(--hpm-desc-size-mobile, 14.5px);
    }
}

/* ═══════════════════════════════════════════════
   4. ONE-LINE HORIZONTAL SCROLLABLE CATEGORY NAVIGATION
   Strictly single row across Desktop, Laptop, Tablet, Mobile.
   Smooth horizontal scroll, desktop navigation arrows, hidden scrollbars.
═══════════════════════════════════════════════ */
.hpm-pill-nav-container {
    width: 100%;
    margin: 28px 0 36px 0;
    position: relative;
    box-sizing: border-box;
    background: #ffffff !important;
}

.hpm-pill-nav-slider-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    background: #ffffff !important;
    gap: 8px;
    box-sizing: border-box;
}

.hpm-pill-nav-track {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important; /* CRITICAL: STRICTLY ONE ROW ON ALL DEVICES */
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: var(--hpm-pill-gap, 12px) !important;
    padding: 8px 4px !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    width: 100% !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important; /* IE/Edge */
    cursor: grab;
}

.hpm-pill-nav-track.is-dragging {
    cursor: grabbing;
    user-select: none;
}

.hpm-pill-nav-track.no-overflow {
    justify-content: center !important;
}

/* Hide scrollbar completely across Chrome, Safari, Edge, Opera */
.hpm-pill-nav-track::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Navigation Scroll Arrows for Desktop & Laptop */
.hpm-nav-scroll-arrow {
    all: unset;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: #ffffff !important;
    border: 1.5px solid #ddd6fe !important;
    color: #7c3aed !important;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.08);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 5;
    flex-shrink: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}

.hpm-nav-scroll-arrow:hover {
    background: #7c3aed !important;
    color: #ffffff !important;
    border-color: #7c3aed !important;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.24);
    transform: scale(1.08);
}

.hpm-nav-scroll-arrow:active {
    transform: scale(0.95);
}

.hpm-nav-scroll-arrow.is-disabled {
    opacity: 0.25;
    cursor: default;
    pointer-events: none;
    box-shadow: none;
}

.hpm-nav-scroll-arrow svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
    display: block;
}

/* Theme reset for category pills */
.hpm-pill-btn {
    all: unset !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap !important; /* CRITICAL: NEVER WRAP TEXT */
    border-radius: var(--hpm-pill-radius, 9999px) !important;
    padding: var(--hpm-pill-padding-v, 10px) var(--hpm-pill-padding-h, 22px) !important;
    background-color: var(--hpm-pill-bg, #ffffff) !important;
    color: var(--hpm-pill-text, #1e1b4b) !important;
    border: 1.5px solid var(--hpm-pill-border, #ddd6fe) !important;
    box-shadow: 0 1px 3px rgba(124, 58, 237, 0.04) !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    flex-shrink: 0 !important; /* CRITICAL: NEVER SHRINK PILLS */
    min-height: 42px !important;
}

.hpm-pill-btn .hpm-pill-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    flex-shrink: 0;
    width: var(--hpm-pill-icon-size, 17px);
    height: var(--hpm-pill-icon-size, 17px);
    color: #7c3aed !important;
    transition: color 0.2s ease;
}

.hpm-pill-btn .hpm-pill-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: currentColor;
}

.hpm-pill-btn .hpm-pill-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.hpm-pill-btn .hpm-pill-label {
    display: inline-block;
    line-height: 1;
}

.hpm-pill-btn:hover {
    background-color: var(--hpm-pill-hover-bg, #f5f3ff) !important;
    color: var(--hpm-pill-hover-text, #4c1d95) !important;
    border-color: #a78bfa !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.12) !important;
}

.hpm-pill-btn:hover .hpm-pill-icon {
    color: #6d28d9 !important;
}

.hpm-pill-btn:active {
    transform: translateY(0) !important;
}

/* Active Highlight Pill (Solid Rich Purple) */
.hpm-pill-btn.is-active {
    background-color: var(--hpm-pill-active-bg, #4f46e5) !important;
    background: var(--hpm-pill-active-bg, #4f46e5) !important;
    color: var(--hpm-pill-active-text, #ffffff) !important;
    border-color: var(--hpm-pill-active-border, #4f46e5) !important;
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.32) !important;
    transform: translateY(-1px) !important;
}

.hpm-pill-btn.is-active .hpm-pill-icon {
    color: #ffffff !important;
}

.hpm-pill-btn.is-active .hpm-pill-icon svg {
    fill: #ffffff !important;
}

/* Mobile & Tablet Responsiveness for One-Line Category Navigation */
@media (max-width: 768px) {
    .hpm-nav-scroll-arrow {
        display: none !important; /* Hide arrows on touch screens to maximize width */
    }
    .hpm-pill-nav-container {
        margin: 20px -20px 28px -20px;
        width: calc(100% + 40px);
    }
    .hpm-pill-nav-track {
        padding: 6px 20px 12px 20px !important;
        gap: 10px !important;
    }
    .hpm-pill-btn {
        font-size: 13.5px !important;
        padding: 9px 18px !important;
    }
}

/* ═══════════════════════════════════════════════
   5. BLOG POSTS CONTAINER & 3-COLUMN GRID
═══════════════════════════════════════════════ */
.hpm-blog-posts-wrap {
    position: relative;
    width: 100%;
    margin: 12px 0 0 0;
    box-sizing: border-box;
    background: #ffffff !important;
}

.hpm-blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(var(--hpm-post-cols-desktop, 3), minmax(0, 1fr));
    gap: var(--hpm-post-gap, 28px);
    transition: opacity 0.25s ease;
    box-sizing: border-box;
    background: #ffffff !important;
}

.hpm-blog-posts-grid.is-loading {
    opacity: 0.45;
    pointer-events: none;
}

@media (max-width: 1024px) {
    .hpm-blog-posts-grid {
        grid-template-columns: repeat(var(--hpm-post-cols-tablet, 2), minmax(0, 1fr));
        gap: 22px;
    }
}
@media (max-width: 680px) {
    .hpm-blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}

/* Loading Overlay */
.hpm-posts-loading-overlay {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 14px 28px;
    border-radius: 9999px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid #e2e8f0;
}
.hpm-spinner-box {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #4f46e5;
    font-weight: 700;
    font-size: 14px;
}
.hpm-spinner-svg {
    animation: hpmRotate 1s linear infinite;
}
.hpm-spinner-circle {
    stroke-dasharray: 60;
    stroke-dashoffset: 20;
    stroke-linecap: round;
}

@keyframes hpmRotate {
    100% { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════════
   6. MAGAZINE POST CARDS (PURE WHITE)
═══════════════════════════════════════════════ */
.hpm-post-card {
    display: flex;
    flex-direction: column;
    background: #ffffff !important;
    border: 1px solid var(--hpm-post-border, #ede9fe);
    border-radius: var(--hpm-post-radius, 20px);
    overflow: hidden;
    box-shadow: var(--hpm-card-shadow, 0 4px 20px -2px rgba(99, 102, 241, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.03));
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease;
    box-sizing: border-box;
}

.hpm-post-visible {
    animation: hpmCardEnter 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes hpmCardEnter {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card Hover Lift */
.hpm-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px -4px rgba(99, 102, 241, 0.12), 0 4px 12px -2px rgba(0, 0, 0, 0.04);
    border-color: #c4b5fd;
}

/* Featured Media & Aspect Ratio */
.hpm-post-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9.5;
    overflow: hidden;
    background-color: #f1f5f9;
}
.hpm-aspect--16-9   { aspect-ratio: 16 / 9; }
.hpm-aspect--16-9-5 { aspect-ratio: 16 / 9.5; }
.hpm-aspect--4-3    { aspect-ratio: 4 / 3; }
.hpm-aspect--1-1    { aspect-ratio: 1 / 1; }

.hpm-media-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.hpm-post-media img.hpm-post-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hpm-post-card:hover img.hpm-post-img {
    transform: scale(1.05);
}

/* Fallback Placeholder Media */
.hpm-placeholder-media {
    width: 100%;
    height: 100%;
    min-height: 190px;
    background: linear-gradient(135deg, #312e81 0%, #1e1b4b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.hpm-placeholder-icon {
    color: rgba(255, 255, 255, 0.4);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, color 0.3s ease;
}
.hpm-post-card:hover .hpm-placeholder-icon {
    transform: scale(1.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Floating Category Badge over image */
.hpm-post-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 13px;
    border-radius: 9999px;
    background: #4338ca;
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.hpm-post-badge .hpm-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    color: #ffffff;
}

.hpm-post-badge .hpm-badge-icon svg {
    width: 13px;
    height: 13px;
    fill: #ffffff;
}

.hpm-post-badge .hpm-badge-name {
    display: inline-block;
    line-height: 1;
}

.hpm-post-card:hover .hpm-post-badge {
    background: #3730a3;
    transform: scale(1.03);
}

/* Post Content Body */
.hpm-post-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 20px 22px;
    background: #ffffff !important;
    box-sizing: border-box;
}

.hpm-post-title {
    margin: 0 0 8px 0;
    font-size: var(--hpm-post-title-size, 18px);
    font-weight: var(--hpm-post-title-weight, 700);
    line-height: 1.35;
    color: var(--hpm-post-title-color, #1e1b4b);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hpm-post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.18s ease;
}

.hpm-post-title a:hover {
    color: #4f46e5;
}

.hpm-post-excerpt {
    margin: 0 0 16px 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--hpm-post-excerpt-color, #64748b);
    flex: 1 1 auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Post Footer: Meta on Left, Read More on Right */
.hpm-post-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff !important;
}

.hpm-post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--hpm-post-meta-color, #64748b);
    line-height: 1;
}

.hpm-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.hpm-meta-svg {
    stroke: currentColor;
    flex-shrink: 0;
}

.hpm-meta-separator {
    color: #cbd5e1;
    font-size: 11px;
}

.hpm-read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13.5px;
    font-weight: 700;
    color: #4338ca;
    text-decoration: none;
    transition: color 0.18s ease;
    flex-shrink: 0;
}

.hpm-read-more-link:hover {
    color: #6366f1;
}

.hpm-arrow-svg {
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hpm-post-card:hover .hpm-arrow-svg {
    transform: translateX(4px);
}

/* ═══════════════════════════════════════════════
   7. EMPTY STATE
═══════════════════════════════════════════════ */
.hpm-no-posts-filtered {
    padding: 60px 24px;
    text-align: center;
    background: #ffffff !important;
    border: 1.5px dashed #cbd5e1;
    border-radius: 20px;
    margin: 20px 0;
}
.hpm-empty-icon {
    font-size: 42px;
    line-height: 1;
    margin-bottom: 12px;
}
.hpm-no-posts-filtered h3 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
    color: #1e1b4b;
}
.hpm-no-posts-filtered p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
}

/* ═══════════════════════════════════════════════
   8. RADIANT PURPLE-TO-ORANGE LOAD MORE BUTTON
═══════════════════════════════════════════════ */
.hpm-load-more-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin: 48px auto 0;
    width: 100%;
    box-sizing: border-box;
    background: #ffffff !important;
}

.hpm-load-more-line {
    flex: 1 1 0%;
    height: 1.5px;
    background: #e2e8f0;
}

.hpm-load-more-btn {
    all: unset !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    padding: 14px 36px !important;
    border-radius: 9999px !important;
    background: linear-gradient(90deg, #7c3aed 0%, #9333ea 35%, #f97316 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 18px rgba(124, 58, 237, 0.35) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    flex-shrink: 0 !important;
}

.hpm-load-more-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.45) !important;
    filter: brightness(1.04) !important;
}

.hpm-load-more-btn:disabled {
    opacity: 0.65 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.hpm-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.hpm-sync-svg {
    display: block;
    stroke: #ffffff;
}

.hpm-btn-spinner-svg {
    animation: hpmRotate 1s linear infinite;
    display: block;
}
.hpm-btn-spinner-circle {
    stroke-dasharray: 50;
    stroke-dashoffset: 15;
    stroke-linecap: round;
}

.hpm-no-more-posts {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 600;
    margin: 16px auto 0;
}
