/* Post Page Custom Styles - Sync with Category Design */

/* Import all category styles for consistency */
@import url('category-custom.css');

/* ================================================
   GLOBAL RULE - HIDE ALL POST COUNTS
   ================================================ */

.post-count,
span.post-count,
.widget_categories .post-count,
.category-stats .post-count {
    display: none !important;
}

/* Hide duplicate post thumbnail header */
.post-thumbnail-header,
.col-lg-4.col-md-4 .post-thumbnail-header {
    display: none !important;
}

/* ================================================
   HEADER BACKGROUND SYNC WITH INDEX - EXACT MATCH
   ================================================ */

/* Header sync with index - MAXIMUM PRIORITY */
html body .main-wrapper .header.axil-header,
html body .header.axil-header,
body .main-wrapper .header.axil-header,
body .header.axil-header,
.main-wrapper .header.axil-header,
.header.axil-header {
    background: transparent !important;
    background-color: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    border: none !important;
    padding: 20px 0 !important;
    margin: 0 !important;
    position: relative !important;
}

html body .main-wrapper .header.axil-header.header-sticky,
html body .header.axil-header.header-sticky,
body .main-wrapper .header.axil-header.header-sticky,
body .header.axil-header.header-sticky,
.main-wrapper .header.axil-header.header-sticky,
.header.axil-header.header-sticky {
    background: rgba(255, 255, 255, 0.95) !important;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    padding: 15px 0 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 999 !important;
    width: 100% !important;
}

/* Breadcrumb area compact spacing to match index */
.axil-breadcrumb-area {
    padding: 10px 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border-bottom: none !important;
}

/* ================================================
   BREADCRUMB AND POST HEADER LAYOUT
   ================================================ */

/* Breadcrumb - stick to left edge */
@media only screen and (min-width: 992px) {
    .axil-breadcrumb-area .container {
        max-width: 800px !important;
        margin: 0 auto !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .axil-breadcrumb {
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important;
    }
    
    .axil-breadcrumb li {
        display: inline-flex !important;
        align-items: center !important;
        font-size: 12px !important;
        color: #6c757d !important;
    }
    
    .axil-breadcrumb .separator {
        margin: 0 8px !important;
        color: #6c757d !important;
    }
    
    .axil-breadcrumb .separator::before {
        content: "/" !important;
    }
    
    .axil-breadcrumb .axil-breadcrumb-item a {
        color: #667eea !important;
        text-decoration: none !important;
        font-weight: 500 !important;
    }
    
    .axil-breadcrumb .axil-breadcrumb-item.active {
        color: #2c3e50 !important;
        font-weight: 600 !important;
        max-width: 300px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }
}

/* Post header compact spacing to match index */
.post-header {
    padding: 15px 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border-bottom: none !important;
}

/* Post header title compact */
.post-header .title,
.post-header h1 {
    font-size: 24px !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    font-weight: 600 !important;
    color: #333 !important;
}

/* ================================================
   BREADCRUMB AREA LAYOUT - BREADCRUMB LEFT, DATE RIGHT
   ================================================ */

@media only screen and (min-width: 992px) {
    /* Breadcrumb area row - spread content between left and right */
    html body .axil-breadcrumb-area .row,
    .axil-breadcrumb-area .row {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Left column - breadcrumb */
    html body .axil-breadcrumb-area .col-lg-8,
    .axil-breadcrumb-area .col-lg-8 {
        flex: 1 !important;
        max-width: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* Right column - date */
    html body .axil-breadcrumb-area .col-lg-4,
    .axil-breadcrumb-area .col-lg-4 {
        flex-shrink: 0 !important;
        max-width: none !important;
        padding: 0 !important;
        margin: 0 !important;
        width: auto !important;
    }
    
    /* Post meta info - right aligned */
    html body .post-meta-info,
    .post-meta-info {
        text-align: right !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Post date styling */
    html body .post-meta-info .post-date,
    .post-meta-info .post-date {
        color: #8a8a8a !important;
        font-size: 14px !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px !important;
    }
    
    html body .post-meta-info .post-date i,
    .post-meta-info .post-date i {
        color: #667eea !important;
    }
}

/* ================================================
   BALANCED TITLE TYPOGRAPHY
   ================================================ */

@media only screen and (min-width: 992px) {
    /* Title - balanced spacing and centered */
    .post-single-wrapper .post-title {
        font-size: 32px !important;
        line-height: 1.4 !important;
        margin: 30px auto 25px auto !important;
        max-width: 700px !important;
        text-align: center !important;
        padding: 0 20px !important;
        color: #2c3e50 !important;
        font-weight: 700 !important;
    }
}

/* Category header consistent spacing */  
.category-header {
    padding: 30px 0 !important;
    margin: 0 !important;
    background: #fff !important;
    border-bottom: 1px solid #e9ecef !important;
}

/* ================================================
   WIDGET STYLING - CLEAN BORDERS
   ================================================ */

/* Widget borders - 微細な区切り線 */
.axil-single-widget {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    padding: 25px 0 !important;
    margin-bottom: 0 !important;
}

.axil-single-widget:last-child {
    border-bottom: none !important;
}

.widget-title {
    color: #2c3e50 !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    font-size: 18px !important;
}

/* ================================================
   FOOTER BLACK BACKGROUND
   ================================================ */

/* Footer must be black like index - HIGHEST PRIORITY + NO WHITE BORDERS */
body .footer,
.footer,
footer.footer,
.footer.footer {
    background: #1a1a1a !important;
    background-color: #1a1a1a !important;
    color: #ffffff !important;
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
    margin: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}

body .footer *,
.footer *,
footer.footer *,
.footer.footer * {
    color: #ffffff !important;
    border: none !important;
    outline: none !important;
}

body .footer a,
.footer a,
footer.footer a,
.footer.footer a {
    color: #ffffff !important;
}

body .footer a:hover,
.footer a:hover,
footer.footer a:hover,
.footer.footer a:hover {
    color: #cccccc !important;
}

/* Footer container - remove all white space */
body .footer .container,
.footer .container,
footer.footer .container,
.footer.footer .container {
    background: #1a1a1a !important;
    border: none !important;
    margin: 0 auto !important;
    padding: 0 15px !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Ensure no wrapper has white background around footer */
body,
html {
    background: #fff !important;
}

body .main-wrapper {
    background: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Footer sections - no white borders */
body .footer-main,
.footer-main,
body .footer-grid,
.footer-grid,
body .footer-section,
.footer-section {
    background: #1a1a1a !important;
    border: none !important;
    outline: none !important;
}

/* Footer bottom - no white borders */
body .footer-bottom,
.footer-bottom {
    background: #1a1a1a !important;
    border-top: 1px solid #333333 !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
    margin: 0 !important;
    padding-top: 20px !important;
    padding-bottom: 0 !important;
}

/* ================================================
   DESKTOP WIDTH OPTIMIZATION FOR BETTER READING
   ================================================ */

/* Desktop layout - centered single column with sidebar below */
@media only screen and (min-width: 992px) {
    /* Main container - centered with max-width */
    .container,
    .container-fluid {
        max-width: 800px !important;
        margin: 0 auto !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    /* Row - stack vertically instead of side by side */
    .row {
        flex-direction: column !important;
        gap: 40px !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Post content area - full width centered */
    .col-lg-8 {
        max-width: 100% !important;
        flex: none !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }
    
    /* Sidebar - full width below content */
    .col-lg-4 {
        max-width: 100% !important;
        flex: none !important;
        margin: 0 auto !important;
        padding: 0 !important;
        order: 2 !important;
    }
    
    /* Main wrapper spacing */
    .axil-main-wrapper {
        padding: 40px 0 !important;
        background: #f8f9fa !important;
    }
    
    /* Sidebar styling for desktop - grid layout */
    .sidebar-widget-area {
        padding-top: 0 !important;
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
        gap: 30px !important;
        margin-top: 20px !important;
    }
    
    .sidebar-widget-area .axil-single-widget {
        background: #fff !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
        border: 1px solid rgba(102, 126, 234, 0.1) !important;
        margin-bottom: 0 !important;
        padding: 30px !important;
        height: fit-content !important;
    }
    
    /* Post wrapper - centered with breathing room */
    .post-single-wrapper {
        max-width: 750px !important;
        margin: 0 auto !important;
        padding: 50px 60px !important;
    }
    
    /* Typography optimization for desktop */
    .post-single-wrapper .post-title {
        font-size: 32px !important;
        line-height: 1.3 !important;
        margin-bottom: 25px !important;
        max-width: 700px !important;
    }
    
    .post-single-wrapper .post-content {
        font-size: 17px !important;
        line-height: 1.8 !important;
        max-width: 700px !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
        text-align: left !important;
    }
    
    /* Content headers - consistent with title */
    .post-single-wrapper .post-content h2 {
        font-size: 26px !important;
        margin: 40px auto 25px auto !important;
        max-width: 700px !important;
        text-align: left !important;
        padding: 0 !important;
    }
    
    .post-single-wrapper .post-content h3 {
        font-size: 22px !important;
        margin: 35px auto 20px auto !important;
        max-width: 700px !important;
        text-align: left !important;
        padding: 0 !important;
    }
    
    /* Content paragraphs and elements */
    .post-single-wrapper .post-content p,
    .post-single-wrapper .post-content ul,
    .post-single-wrapper .post-content ol,
    .post-single-wrapper .post-content table,
    .post-single-wrapper .post-content blockquote,
    .post-single-wrapper .post-content div {
        max-width: 700px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
}

/* Extra large screens - maintain readable width */
@media only screen and (min-width: 1400px) {
    .container,
    .container-fluid {
        max-width: 900px !important;
        padding-left: 40px !important;
        padding-right: 40px !important;
    }
    
    .post-single-wrapper {
        max-width: 800px !important;
        padding: 60px 80px !important;
    }
    
    /* Enhanced typography for large screens */
    .post-single-wrapper .post-title {
        font-size: 36px !important;
        max-width: 750px !important;
    }
    
    .post-single-wrapper .post-content {
        font-size: 18px !important;
        line-height: 1.9 !important;
        max-width: 750px !important;
    }
    
    /* Sidebar grid - more columns on large screens */
    .sidebar-widget-area {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
        gap: 40px !important;
    }
}

/* ================================================
   POST PAGE SPECIFIC STYLES
   ================================================ */

/* Post Content Area */
.post-single-wrapper {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(102, 126, 234, 0.1);
    margin-bottom: 30px;
}

.post-single-wrapper .post-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    color: #2c3e50;
    margin-bottom: 20px;
}

.post-single-wrapper .post-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f2f5;
}

.post-single-wrapper .post-meta .category-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 12px;
}

.post-single-wrapper .post-meta .post-date {
    color: #8a8a8a;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.post-single-wrapper .post-meta .post-date i {
    color: #667eea;
}

.post-single-wrapper .post-content {
    font-size: 16px;
    line-height: 1.8;
    color: #495057;
}

.post-single-wrapper .post-content h1,
.post-single-wrapper .post-content h2,
.post-single-wrapper .post-content h3,
.post-single-wrapper .post-content h4,
.post-single-wrapper .post-content h5,
.post-single-wrapper .post-content h6 {
    color: #2c3e50;
    font-weight: 700;
    margin: 30px 0 20px 0;
}

.post-single-wrapper .post-content h2 {
    font-size: 24px;
    padding-left: 15px;
    border-left: 4px solid #667eea;
}

.post-single-wrapper .post-content h3 {
    font-size: 20px;
}

.post-single-wrapper .post-content p {
    margin-bottom: 20px;
}

.post-single-wrapper .post-content ul,
.post-single-wrapper .post-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.post-single-wrapper .post-content li {
    margin-bottom: 10px;
}

.post-single-wrapper .post-content blockquote {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-left: 4px solid #667eea;
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.post-single-wrapper .post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Featured Image */
.post-featured-image {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.post-featured-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Desktop image sizing - more proportional */
@media only screen and (min-width: 992px) {
    .post-featured-image img {
        height: 350px;
    }
    
    /* Content images - better proportions */
    .post-single-wrapper .post-content img {
        max-width: 100%;
        height: auto;
        max-height: 400px;
        object-fit: contain;
        border-radius: 8px;
        margin: 30px 0;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Related Posts Section */
.related-posts-section {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
    margin-top: 40px;
}

.related-posts-section h3 {
    color: #2c3e50;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.related-post-item {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.related-post-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    text-decoration: none;
    color: inherit;
}

.related-post-item .post-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    line-height: 1.4;
}

.related-post-item:hover .post-title {
    color: #667eea;
}

.related-post-item .post-excerpt {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Post Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0;
    gap: 20px;
}

.post-nav-item {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid rgba(102, 126, 234, 0.1);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.post-nav-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
    text-decoration: none;
    color: inherit;
}

.post-nav-item.prev {
    text-align: left;
}

.post-nav-item.next {
    text-align: right;
}

.post-nav-item .nav-label {
    font-size: 12px;
    color: #8a8a8a;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 8px;
}

.post-nav-item .nav-title {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.4;
}

.post-nav-item:hover .nav-title {
    color: #667eea;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .post-single-wrapper {
        padding: 30px;
    }
    
    .post-single-wrapper .post-title {
        font-size: 24px;
    }
    
    .post-featured-image img {
        height: 250px;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .post-single-wrapper {
        padding: 20px;
    }
    
    .post-single-wrapper .post-title {
        font-size: 22px;
    }
    
    .post-single-wrapper .post-meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .post-nav-item {
        width: 100%;
        text-align: center;
    }
    
    .related-posts-section {
        padding: 25px;
    }
    
    .post-featured-image img {
        height: 200px;
    }
}

/* ================================================
   TAG SECTION STYLING  
   ================================================ */

.post-meta-text {
    font-weight: 600;
    color: #2c3e50;
    margin-right: 10px;
    flex-shrink: 0;
    align-self: flex-start;
    line-height: 1.6;
    font-size: 14px;
}

.tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.tagcloud a {
    display: inline-block;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: #667eea;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
    line-height: 1.4;
}

.tagcloud a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Mobile responsive for tags and social share */
@media (max-width: 767.98px) {
    .post-single-wrapper .d-flex.align-items-center {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px;
    }
    
    .post-meta-text {
        margin-right: 0;
        margin-bottom: 5px;
        font-size: 13px;
        font-weight: 600;
        color: #2c3e50;
    }
    
    .tagcloud {
        width: 100%;
        justify-content: flex-start;
        gap: 6px;
    }
    
    .tagcloud a {
        font-size: 11px;
        padding: 3px 10px;
    }
    
    /* Social Share Mobile Styling */
    .social-share-transparent {
        width: 100% !important;
        justify-content: flex-start !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        gap: 10px !important;
    }
    
    .social-share-transparent li {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .social-share-transparent li a {
        width: 35px !important;
        height: 35px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
        color: white !important;
        font-size: 14px !important;
        transition: all 0.3s ease !important;
    }
    
    .social-share-transparent li a:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3) !important;
    }
    
    /* Mobile full-screen layout sync with category page */
    .container {
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .container-fluid {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* Post content mobile padding */
    .post-single-wrapper {
        margin-left: 15px !important;
        margin-right: 15px !important;
        padding: 20px 15px !important;
    }
    
    /* Sidebar widgets mobile */
    .sidebar-widget-area .axil-single-widget {
        margin-left: 15px !important;
        margin-right: 15px !important;
        padding: 20px 15px !important;
    }
    
    /* Mobile breadcrumb sync */
    .axil-breadcrumb {
        display: flex !important;
        flex-wrap: nowrap !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        align-items: center !important;
        max-width: 100% !important;
        line-height: 1.2 !important;
    }
    
    .axil-breadcrumb li {
        display: inline-flex !important;
        align-items: center !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        font-size: 13px !important;
    }
    
    .axil-breadcrumb .axil-breadcrumb-item {
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 80px !important;
        flex-shrink: 1 !important;
        display: inline-block !important;
    }
    
    /* Enterprise-level mobile sidebar layout */
    .sidebar-widget-area {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .axil-single-widget {
        background: #fff !important;
        border-radius: 12px !important;
        margin: 0 15px 20px 15px !important;
        padding: 20px !important;
        box-shadow: 0 2px 15px rgba(0,0,0,0.08) !important;
        border: 1px solid rgba(102, 126, 234, 0.1) !important;
    }
    
    .widget-title {
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #2c3e50 !important;
        margin-bottom: 15px !important;
        padding-bottom: 10px !important;
        border-bottom: 2px solid #f0f2f5 !important;
        position: relative !important;
    }
    
    .widget-title::after {
        content: '' !important;
        position: absolute !important;
        bottom: -2px !important;
        left: 0 !important;
        width: 30px !important;
        height: 2px !important;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    }
    
    /* Search widget mobile optimization */
    .widget_search .axil-search {
        display: flex !important;
        gap: 10px !important;
        align-items: center !important;
    }
    
    .widget_search .form-control {
        flex: 1 !important;
        height: 40px !important;
        border-radius: 20px !important;
        border: 2px solid #e9ecef !important;
        padding: 8px 15px !important;
        font-size: 14px !important;
    }
    
    .widget_search .search-button {
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
        border: none !important;
        color: white !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }
    
    /* Categories widget mobile - GRID LAYOUT FOR HORIZONTAL SPACE */
    .widget_categories ul {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }
    
    .widget_categories li {
        margin-bottom: 0 !important;
        background: rgba(102, 126, 234, 0.05) !important;
        border-radius: 8px !important;
        overflow: hidden !important;
    }
    
    .widget_categories li a {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding: 12px 8px !important;
        color: #495057 !important;
        text-decoration: none !important;
        border: none !important;
        transition: all 0.3s ease !important;
        height: 100% !important;
        min-height: 65px !important;
        justify-content: center !important;
        text-align: center !important;
    }
    
    .widget_categories li a:hover {
        color: #667eea !important;
        background: rgba(102, 126, 234, 0.1) !important;
        transform: translateY(-2px) !important;
    }
    
    .widget_categories .cat-name {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        font-size: 12px !important;
        line-height: 1.3 !important;
        font-weight: 600 !important;
    }
    
    .widget_categories .cat-name i {
        margin-right: 0 !important;
        margin-bottom: 4px !important;
        font-size: 16px !important;
    }
    
    .widget_categories .post-count {
        background: #667eea !important;
        color: #fff !important;
        padding: 2px 6px !important;
        border-radius: 10px !important;
        font-size: 10px !important;
        font-weight: 600 !important;
        margin-top: 4px !important;
    }
    
    /* Recent posts widget mobile */
    .widget_postlist .post-tiny {
        display: flex !important;
        gap: 12px !important;
        padding: 10px 0 !important;
        border-bottom: 1px solid #f0f2f5 !important;
    }
    
    .widget_postlist .post-thumbnail {
        flex-shrink: 0 !important;
        width: 60px !important;
        height: 60px !important;
        border-radius: 8px !important;
        overflow: hidden !important;
    }
    
    .widget_postlist .post-thumbnail img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    
    .widget_postlist .post-content {
        flex: 1 !important;
        min-width: 0 !important;
    }
    
    .widget_postlist .post-content .title {
        font-size: 13px !important;
        font-weight: 600 !important;
        line-height: 1.4 !important;
        margin-bottom: 5px !important;
    }
    
    .widget_postlist .post-content .title a {
        color: #2c3e50 !important;
        text-decoration: none !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
    
    .widget_postlist .post-meta {
        font-size: 11px !important;
        color: #8a8a8a !important;
    }
    
    /* Category tag in recent posts */
    .widget_postlist .category-tag {
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%) !important;
        color: #667eea !important;
        padding: 2px 8px !important;
        border-radius: 10px !important;
        font-size: 10px !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        margin-bottom: 5px !important;
        display: inline-block !important;
    }
    
    /* Enterprise-level mobile main content */
    .axil-main-wrapper {
        padding: 20px 0 !important;
        background: #f8f9fa !important;
    }
    
    .post-single-wrapper {
        background: #fff !important;
        border-radius: 12px !important;
        box-shadow: 0 2px 20px rgba(0,0,0,0.06) !important;
        border: 1px solid rgba(102, 126, 234, 0.08) !important;
        overflow: hidden !important;
    }
    
    /* Mobile typography refinements */
    .post-single-wrapper .post-title {
        font-size: 20px !important;
        line-height: 1.4 !important;
        margin-bottom: 15px !important;
    }
    
    .post-single-wrapper .post-meta {
        margin-bottom: 20px !important;
        padding-bottom: 15px !important;
    }
    
    .post-single-wrapper .post-content {
        font-size: 15px !important;
        line-height: 1.7 !important;
    }
    
    .post-single-wrapper .post-content h2 {
        font-size: 18px !important;
        margin: 25px 0 15px 0 !important;
        padding-left: 12px !important;
    }
    
    .post-single-wrapper .post-content h3 {
        font-size: 16px !important;
        margin: 20px 0 12px 0 !important;
    }
    
    /* Mobile featured image */
    .post-featured-image {
        margin: -20px -15px 20px -15px !important;
        border-radius: 0 !important;
    }
    
    .post-featured-image img {
        height: 220px !important;
        border-radius: 0 !important;
    }
    
    /* Mobile post navigation */
    .post-navigation {
        margin: 30px -15px -15px -15px !important;
        background: #f8f9fa !important;
        padding: 20px 15px !important;
        border-top: 1px solid rgba(102, 126, 234, 0.1) !important;
    }
    
    .post-nav-item {
        margin-bottom: 15px !important;
        padding: 15px !important;
        border-radius: 8px !important;
    }
    
    .post-nav-item .nav-title {
        font-size: 14px !important;
    }
    
    /* Related posts seamless */
    .related-posts-section {
        margin: 0 !important;
        padding: 20px 15px !important;
        border-radius: 0 !important;
        background: #fff !important;
        border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    }
    
    .related-post-item {
        padding: 15px 0 !important;
        margin-bottom: 15px !important;
        background: #fff !important;
        border: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    }
    
    .related-post-item:last-child {
        border-bottom: none !important;
    }
    
    .related-post-item .post-title {
        font-size: 15px !important;
    }
    
    .related-post-item .post-excerpt {
        font-size: 13px !important;
    }
    
    /* Post navigation seamless */
    .post-navigation {
        margin: 0 !important;
        padding: 20px 15px !important;
        background: #fff !important;
        border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    }
    
    .post-nav-item {
        margin-bottom: 15px !important;
        padding: 15px 0 !important;
        border-radius: 0 !important;
        background: #fff !important;
        border: none !important;
        box-shadow: none !important;
    }
    
    /* Mobile seamless layout - tất cả liền khối */
    body {
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
    }
    
    /* EXCEPTION: Footer must stay black */
    body .footer,
    .footer {
        background: #1a1a1a !important;
        background-color: #1a1a1a !important;
        color: #ffffff !important;
    }
    
    .container,
    .container-fluid {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        background: #fff !important;
    }
    
    /* Main wrapper - no spacing */
    .axil-main-wrapper {
        padding: 0 !important;
        margin: 0 !important;
        background: #fff !important;
    }
    
    /* Row and columns - seamless */
    .row {
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
    }
    
    .col-lg-8,
    .col-lg-4,
    .col-md-8,
    .col-md-4 {
        padding: 0 !important;
        margin: 0 !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        background: #fff !important;
    }
    
    /* Post content - liền với sidebar */
    .post-single-wrapper {
        margin: 0 !important;
        padding: 20px 15px !important;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
        background: #fff !important;
    }
    
    /* Sidebar - liền với post content */
    .sidebar-widget-area {
        padding: 0 !important;
        margin: 0 !important;
        background: #fff !important;
    }
    
    /* Widgets - liền khối không khoảng cách */
    .axil-single-widget {
        margin: 0 !important;
        padding: 20px 15px !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: #fff !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    }
    
    .axil-single-widget:last-child {
        border-bottom: none !important;
    }
    
    /* Post content - full width mobile */
    .post-single-wrapper {
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius: 0 !important;
        padding: 20px 15px !important;
    }
    
    /* Main container - 完全full screen */
    .axil-main-wrapper {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .container-fluid,
    .container {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* Sidebar full width */
    .sidebar-widget-area {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* Column adjustments */
    .col-lg-8,
    .col-lg-4 {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100% !important;
    }
    
    /* Social share fix */
    .social-share-transparent {
        justify-content: flex-start !important;
        gap: 10px !important;
    }
    
    .social-share-transparent li a {
        width: 32px !important;
        height: 32px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
    }
    
    /* Breadcrumb seamless - liền với content */
    .axil-breadcrumb-area {
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    }
    
    .axil-breadcrumb {
        display: flex !important;
        flex-wrap: nowrap !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        padding: 15px !important;
        align-items: center !important;
        margin: 0 !important;
        background: #fff !important;
    }
    
    .axil-breadcrumb li {
        display: inline-flex !important;
        align-items: center !important;
        white-space: nowrap !important;
        font-size: 12px !important;
        flex-shrink: 0 !important;
    }
    
    .axil-breadcrumb .axil-breadcrumb-item {
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        max-width: 60px !important;
        display: inline-block !important;
        flex-shrink: 1 !important;
    }
    
    .axil-breadcrumb .axil-breadcrumb-item.active {
        max-width: 80px !important;
        color: #667eea !important;
        font-weight: 600 !important;
        flex-shrink: 1 !important;
    }
    
    .axil-breadcrumb .axil-breadcrumb-item a {
        text-decoration: none !important;
        color: #6c757d !important;
        font-size: 12px !important;
    }
    
    .axil-breadcrumb .separator {
        margin: 0 4px !important;
        flex-shrink: 0 !important;
        font-size: 12px !important;
    }
    
    /* Header sync with index on mobile */
    .header.axil-header {
        background: transparent !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
        border: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .header.axil-header.header-sticky {
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(10px) !important;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
    }
    
    /* Footer sync with index - MAXIMUM PRIORITY + NO WHITE BORDERS MOBILE */
    body .footer,
    .footer,
    footer.footer,
    .footer.footer {
        margin: 0 !important;
        padding: 40px 15px 20px !important;
        background: #1a1a1a !important;
        background-color: #1a1a1a !important;
        color: #ffffff !important;
        border: none !important;
        border-top: none !important;
        border-bottom: none !important;
        border-left: none !important;
        border-right: none !important;
        outline: none !important;
        box-shadow: none !important;
    }
    
    body .footer *,
    .footer *,
    footer.footer *,
    .footer.footer * {
        color: #ffffff !important;
        border: none !important;
        outline: none !important;
    }
    
    body .footer a,
    .footer a,
    footer.footer a,
    .footer.footer a {
        color: #ffffff !important;
    }
    
    body .footer a:hover,
    .footer a:hover,
    footer.footer a:hover,
    .footer.footer a:hover {
        color: #cccccc !important;
    }
    
    /* Mobile footer container - no white background */
    body .footer .container,
    .footer .container,
    footer.footer .container,
    .footer.footer .container {
        background: #1a1a1a !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
        margin: 0 auto !important;
        padding: 0 15px !important;
    }
    
    /* Mobile footer sections - no white borders */
    body .footer-brand,
    .footer-brand,
    body .footer-main,
    .footer-main,
    body .footer-grid,
    .footer-grid,
    body .footer-section,
    .footer-section,
    body .footer-bottom,
    .footer-bottom {
        background: #1a1a1a !important;
        border: none !important;
        outline: none !important;
    }
    
    /* NUCLEAR OPTION - OVERRIDE EVERYTHING */
    html body .footer[class*="footer"],
    html body footer[class*="footer"] {
        background: #1a1a1a !important;
        background-color: #1a1a1a !important;
        color: #ffffff !important;
    }
}