/**
 * PowerX Native Fallback Templates Stylesheet
 * ⚡ COMPILED ASSET - DO NOT EDIT DIRECTLY.
 * Source file: assets/css/src/conditional/fallback.css
 * Run build via: php bin/build-theme-css.php
 *
 * @package PowerX
 * @version 0.0.1
 */

/* ==========================================================================
   PowerX Native Hero Header (Archive & Single Fallback Banner)
   ========================================================================== */
.powerx-native-hero-header {
    background: var(--powerx-neutral-900, #212134);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 70px 0;
    text-align: center;
    color: var(--powerx-neutral-0, #ffffff);
    position: relative;
    width: 100%;
}
.powerx-native-hero-header .site-container {
    position: relative;
    z-index: var(--powerx-z-card, 2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.powerx-hero-title {
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--powerx-neutral-0, #ffffff);
    margin: 0 0 12px;
    letter-spacing: 0.5px;
    line-height: 1.3;
}
.powerx-hero-breadcrumb {
    font-size: 13.5px;
    color: var(--powerx-neutral-400, #94a3b8);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0;
}
.powerx-hero-breadcrumb a {
    color: var(--powerx-neutral-200, #cbd5e1);
    text-decoration: none;
    transition: color 0.2s ease;
}
.powerx-hero-breadcrumb a:hover {
    color: var(--powerx-neutral-0, #ffffff);
}
.powerx-hero-breadcrumb .powerx-sep {
    color: var(--powerx-neutral-600, #64748b);
    font-size: 14px;
}
.powerx-hero-breadcrumb .powerx-current {
    color: var(--powerx-neutral-0, #ffffff);
    font-weight: 600;
    max-width: 450px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}



/* ==========================================================================
   PowerX Native Blog Archive (Horizontal Post Cards)
   ========================================================================== */
.powerx-blog-archive-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}
/* Post Card Layout Variants */

/* 1. Horizontal List Layout (.powerx-blog-archive-list) */
.powerx-blog-archive-list .powerx-post-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 200px;
}
.powerx-blog-archive-list .powerx-post-card .powerx-post-thumbnail {
    flex: 0 0 320px;
    width: 320px;
    max-width: 320px;
    min-height: 200px;
    overflow: hidden;
    background: var(--powerx-neutral-100, #f1f5f9);
    position: relative;
}
.powerx-blog-archive-list .powerx-post-card .powerx-post-thumbnail a {
    display: block;
    width: 100%;
    height: 100%;
}
.powerx-blog-archive-list .powerx-post-card .powerx-post-thumbnail img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    display: block;
}
.powerx-blog-archive-list .powerx-post-card .powerx-post-content {
    flex: 1 1 auto;
    min-width: 0;
    padding: 24px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 768px) {
    .powerx-blog-archive-list .powerx-post-card {
        flex-direction: column;
    }
    .powerx-blog-archive-list .powerx-post-card .powerx-post-thumbnail {
        flex: none;
        width: 100%;
        max-width: 100%;
        height: 220px;
        min-height: unset;
    }
    .powerx-blog-archive-list .powerx-post-card .powerx-post-content {
        padding: 20px 20px;
    }
}

/* 2. Vertical Grid Layout (.powerx-posts-grid) */
.powerx-posts-grid .powerx-post-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 100%;
}
.powerx-posts-grid .powerx-post-card .powerx-post-thumbnail {
    width: 100%;
    max-width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--powerx-neutral-100, #f1f5f9);
    position: relative;
    flex: 0 0 220px;
}
.powerx-posts-grid .powerx-post-card .powerx-post-thumbnail a {
    display: block;
    width: 100%;
    height: 100%;
}
.powerx-posts-grid .powerx-post-card .powerx-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.powerx-posts-grid .powerx-post-card .powerx-post-content {
    flex: 1 1 auto;
    min-width: 0;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Common Typography & Elements for Post Cards */
.powerx-post-card .powerx-entry-header {
    margin: 0 0 10px;
}
.powerx-post-card .powerx-entry-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}
.powerx-post-card .powerx-entry-title a {
    color: var(--powerx-neutral-900, #212134);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.powerx-post-card .powerx-entry-title a:hover {
    color: var(--powerx-primary-color, var(--powerx-primary-500, #4945ff));
}
.powerx-post-card .powerx-entry-summary {
    font-size: 13.5px;
    color: var(--powerx-neutral-600, #64748b);
    line-height: 1.6;
    margin: 0 0 16px;
}
.powerx-post-card .powerx-entry-summary p {
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.powerx-post-card .powerx-post-footer {
    margin-top: auto;
}
.powerx-post-card .powerx-read-more a {
    color: var(--powerx-primary-color, var(--powerx-primary-500, #4945ff));
    font-weight: 600;
    font-size: 13.5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.powerx-recent-posts-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.powerx-recent-post-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.powerx-recent-post-thumb {
    flex: 0 0 54px;
    width: 54px;
    height: 42px;
    border-radius: var(--powerx-radius-sm, 4px);
    overflow: hidden;
    background: var(--powerx-neutral-100, #f1f5f9);
}
.powerx-recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.powerx-recent-post-title {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--powerx-neutral-800, #334155);
    text-decoration: none;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.powerx-recent-post-title:hover {
    color: var(--powerx-primary-color, var(--powerx-primary-500, #4945ff));
}



/* ==========================================================================
   PowerX Single Blog Post (Clean Card & Typography)
   ========================================================================== */
.powerx-single-card {
    background: var(--powerx-neutral-0, #ffffff);
    border: 1px solid var(--powerx-neutral-150, #e2e8f0);
    border-radius: var(--powerx-card-radius, var(--powerx-radius-sm, 4px));
    padding: 32px;
}
.powerx-single-thumbnail {
    width: 100%;
    border-radius: var(--powerx-radius-sm, 4px);
    overflow: hidden;
    margin-bottom: 28px;
    background: var(--powerx-neutral-100, #f8fafc);
}
.powerx-single-thumbnail img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    display: block;
}
.powerx-single-post:not(.is-elementor-page) .powerx-entry-content {
    color: var(--powerx-neutral-800, #334155);
    font-size: 15px;
    line-height: 1.75;
}
.powerx-single-post:not(.is-elementor-page) .powerx-entry-content h2,
.powerx-single-post:not(.is-elementor-page) .powerx-entry-content h3,
.powerx-single-post:not(.is-elementor-page) .powerx-entry-content h4 {
    color: var(--powerx-neutral-900, #212134);
    font-weight: 700;
    margin: 28px 0 12px;
    line-height: 1.35;
}
.powerx-single-post:not(.is-elementor-page) .powerx-entry-content h2 {
    font-size: 20px;
}
.powerx-single-post:not(.is-elementor-page) .powerx-entry-content h3 {
    font-size: 17px;
}
.powerx-single-post:not(.is-elementor-page) .powerx-entry-content p {
    margin: 0 0 18px;
    line-height: 1.7;
}
.powerx-single-post:not(.is-elementor-page) .powerx-entry-content ul,
.powerx-single-post:not(.is-elementor-page) .powerx-entry-content ol {
    margin: 0 0 18px 24px;
    padding: 0;
}
.powerx-single-post:not(.is-elementor-page) .powerx-entry-content li {
    margin-bottom: 8px;
}
.powerx-single-post:not(.is-elementor-page) .powerx-entry-content a {
    color: var(--powerx-primary-color, var(--powerx-primary-500, #4945ff));
    text-decoration: underline;
    font-weight: 500;
}

/* Mobile Responsiveness for Blog Archive */
@media (max-width: 768px) {
    .powerx-native-hero-header {
        padding: 45px 0;
    }
    .powerx-hero-title {
        font-size: 22px;
    }
    .powerx-post-card {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }
    .powerx-post-card .powerx-post-thumbnail {
        width: 100%;
        max-width: 100%;
        aspect-ratio: 16/9;
    }
    .powerx-single-card {
        padding: 20px 16px;
    }
}



/* ==========================================================================
   PowerX Native Fallback Footer & Widgets Grid (Light Design Set)
   ========================================================================== */
.site-footer {
    background-color: var(--powerx-footer-bg, #ffffff);
    color: var(--powerx-footer-text, var(--powerx-neutral-600, #666687));
    border-top: 1px solid var(--powerx-border-color, #eaeaef);
    padding: 30px 0;
    font-family: var(--powerx-font-family, inherit);
}
.site-footer .site-container {
    max-width: var(--powerx-container-width, 1440px);
    margin: 0 auto;
    padding: 0 var(--powerx-container-padding-x, 24px);
}
.powerx-footer-widgets-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.powerx-footer-col .widget-title {
    color: var(--powerx-heading-color, var(--powerx-neutral-900, #212134));
    font-family: var(--powerx-font-primary, inherit);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}
.powerx-footer-col .widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--powerx-primary-color, var(--powerx-primary-500, #4945ff));
}
.powerx-footer-col a {
    color: var(--powerx-text-color, var(--powerx-neutral-700, #4a4a6a));
    text-decoration: none;
    transition: color 0.2s ease;
}
.powerx-footer-col a:hover {
    color: var(--powerx-primary-color, var(--powerx-primary-500, #4945ff));
}
.site-footer .site-info {
    text-align: center;
    font-size: 14px;
    color: var(--powerx-neutral-500, #8e8ea9);
    font-family: var(--powerx-font-family, inherit);
}
.powerx-footer-widgets-row + .site-info {
    border-top: 1px solid var(--powerx-border-color, #eaeaef);
    padding-top: 20px;
}
.site-footer .site-info a {
    color: var(--powerx-heading-color, var(--powerx-neutral-800, #32324d));
    text-decoration: none;
    font-weight: 500;
}
.site-footer .site-info a:hover {
    color: var(--powerx-primary-color, var(--powerx-primary-500, #4945ff));
}




/* ==========================================================================
   404 Error Page & Search Fallback (ThemeForest Standard)
   ========================================================================== */
.powerx-404-page {
    padding: 80px 0;
    text-align: center;
}
.powerx-404-section {
    max-width: 600px;
    margin: 0 auto;
}
.powerx-404-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--powerx-danger-50, #fee2e2);
    color: var(--powerx-danger-500, #dc2626);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}
.powerx-404-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--powerx-heading-color, var(--powerx-neutral-900, #212134));
    margin-bottom: 12px;
    line-height: 1.25;
}
.powerx-404-desc {
    font-size: 15px;
    color: var(--powerx-text-muted, #64748b);
    margin-bottom: 28px;
    line-height: 1.6;
}
.powerx-404-search {
    margin-bottom: 24px;
}
.powerx-404-search .search-form {
    display: flex;
    justify-content: center;
}
.powerx-404-action {
    margin-top: 20px;
}
