/*
Theme Name: FreightExpress
Theme URI: https://freightexpress.qodeinteractive.com
Description: Transport & Logistics WordPress Theme
Author: Edge Themes
Author URI: https://qodeinteractive.com
Text Domain: freightexpress
Tags: one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-menu, featured-images, flexible-header, post-formats, sticky-post, threaded-comments, translation-ready
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/


/* ============================================================
   MUTEKI BLOG — COMPLETE PROFESSIONAL REDESIGN
   ============================================================ */

/* ---- Global Page Background ---- */
body.blog,
body.archive,
body.search {
    background-color: #f0f2f5 !important;
}

/* ============================================================
   1. HIDE OLD PAGE TITLE BANNER
   ============================================================ */

.blog .qodef-page-title,
.archive .qodef-page-title,
.search .qodef-page-title,
.single-post .qodef-page-title {
    display: none !important;
}

/* ============================================================
   2. CUSTOM HERO HEADER
   ============================================================ */

.muteki-blog-hero {
    position: relative;
    width: 100%;
    padding: 70px 20px 90px 20px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: #ffffff;
    text-align: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.muteki-hero-title {
    font-family: 'Sora', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin: 0 !important;
    color: #ffffff !important;
}

/* Decorative accent line under hero */
.muteki-hero-accent {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #0284c7, #0ea5e9);
    border-radius: 4px;
    margin: 20px auto 0 auto;
}

/* RTL Hero Support */
html[dir="rtl"] .muteki-hero-title {
    font-family: 'Cairo', sans-serif !important;
}


/* ============================================================
   3. CATEGORY FILTER BAR
   ============================================================ */

.muteki-category-filter {
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px 30px 10px 30px;
}

.muteki-filter-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 16px 24px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0,0,0,0.04);
}

.muteki-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 50px;
    background: #f1f5f9;
    color: #475569;
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.muteki-filter-pill:hover {
    background: #e0f2fe;
    color: #075985;
    border-color: #bae6fd;
}

.muteki-filter-pill.active {
    background: linear-gradient(135deg, #0284c7, #0ea5e9);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.muteki-filter-pill.active .muteki-pill-count {
    background: rgba(255,255,255,0.25);
    color: #ffffff;
}

.muteki-pill-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 50px;
    background: #e2e8f0;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
}

/* ============================================================
   4. MAIN CONTENT AREA — Constrain & Center
   ============================================================ */

body.blog #qodef-page-content,
body.archive #qodef-page-content {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 10px 30px 80px 30px !important;
}

/* ============================================================
   5. BLOG GRID CONTAINER
   ============================================================ */

.qodef-blog .qodef-grid-inner,
.qodef-blog.qodef-m {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)) !important;
    gap: 35px !important;
    padding: 20px 0 !important;
    margin: 0 !important;
}

/* Override the parent blog wrapper default block display */
.qodef-blog {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}

/* ============================================================
   6. INDIVIDUAL POST CARD
   ============================================================ */

.qodef-blog-item {
    background: #ffffff !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(0,0,0,0.04) !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}

.qodef-blog-item:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12) !important;
}

.qodef-blog-item .qodef-e-inner {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* ============================================================
   7. POST FEATURED IMAGE
   ============================================================ */

.qodef-blog-item .qodef-e-media {
    position: relative !important;
    overflow: hidden !important;
    aspect-ratio: 16 / 10 !important;
    width: 100% !important;
    flex-shrink: 0 !important;
}

.qodef-blog-item .qodef-e-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.6s ease !important;
    display: block !important;
}

.qodef-blog-item:hover .qodef-e-media img {
    transform: scale(1.06) !important;
}

/* ============================================================
   8. POST CONTENT AREA
   ============================================================ */

.qodef-blog-item .qodef-e-content {
    padding: 32px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

/* ============================================================
   9. TOP META (Date, Category)
   ============================================================ */

.qodef-blog-item .qodef-e-top-holder {
    margin-bottom: 16px !important;
}

.qodef-blog-item .qodef-e-top-holder .qodef-e-info,
.qodef-blog-item .qodef-e-info--top {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    color: #94a3b8 !important;
    font-family: 'Inter Tight', sans-serif !important;
    font-weight: 600 !important;
    margin-bottom: 4px !important;
}

.qodef-blog-item .qodef-e-info--top a,
.qodef-blog-item .qodef-e-top-holder a {
    color: #0284c7 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.qodef-blog-item .qodef-e-info--top a:hover,
.qodef-blog-item .qodef-e-top-holder a:hover {
    color: #075985 !important;
}

/* Category pill badge */
.qodef-blog-item .qodef-e-info-category a {
    background: linear-gradient(135deg, #e0f2fe, #e0f2fe) !important;
    color: #0369a1 !important;
    padding: 4px 12px !important;
    border-radius: 50px !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    display: inline-block !important;
}

/* ============================================================
   10. POST TITLE
   ============================================================ */

.qodef-blog-item .qodef-e-title {
    font-size: 1.35rem !important;
    line-height: 1.45 !important;
    font-weight: 700 !important;
    margin-bottom: 14px !important;
    margin-top: 4px !important;
    color: #0f172a !important;
    font-family: 'Sora', sans-serif !important;
}

.qodef-blog-item .qodef-e-title a {
    color: inherit !important;
    text-decoration: none !important;
    transition: color 0.25s ease !important;
}

.qodef-blog-item .qodef-e-title a:hover {
    color: #0284c7 !important;
}

/* ============================================================
   11. EXCERPT
   ============================================================ */

.qodef-blog-item .qodef-e-excerpt {
    font-size: 0.95rem !important;
    color: #64748b !important;
    line-height: 1.7 !important;
    margin-bottom: 20px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    font-family: 'Inter Tight', sans-serif !important;
}

.qodef-blog-item .qodef-e-text {
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

/* ============================================================
   12. READ MORE / VIEW MORE BUTTON
   ============================================================ */

/* The wrapper div */
.qodef-blog-item .qodef-e-read-more {
    margin-top: auto !important;
    padding-top: 8px !important;
    display: flex !important;
    align-items: center !important;
}

/* The actual clickable element (a tag or button shortcode) */
.qodef-blog-item .qodef-e-read-more a,
.qodef-blog-item a.qodef-theme-button,
.qodef-blog-item .qodef-shortcode.qodef-m.qodef-button {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 12px 24px !important;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9) !important;
    color: #334155 !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    font-family: 'Inter Tight', sans-serif !important;
    border: 1px solid rgba(0,0,0,0.06) !important;
}

.qodef-blog-item .qodef-e-read-more a:hover,
.qodef-blog-item a.qodef-theme-button:hover,
.qodef-blog-item .qodef-shortcode.qodef-m.qodef-button:hover {
    background: linear-gradient(135deg, #0284c7, #0ea5e9) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35) !important;
}

/* Arrow SVG inside button */
.qodef-blog-item .qodef-e-read-more svg,
.qodef-blog-item .qodef-m-arrow {
    transition: transform 0.3s ease !important;
    fill: currentColor !important;
    width: 16px !important;
    height: 16px !important;
}

.qodef-blog-item .qodef-e-read-more a:hover svg,
.qodef-blog-item a.qodef-theme-button:hover svg {
    transform: translateX(4px) !important;
}

/* ============================================================
   13. BOTTOM META (Author, Comments, Tags)
   ============================================================ */

.qodef-blog-item .qodef-e-bottom-holder {
    margin-top: 24px !important;
    padding-top: 20px !important;
    border-top: 1px solid #f1f5f9 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 0.82rem !important;
    color: #94a3b8 !important;
    font-family: 'Inter Tight', sans-serif !important;
}

.qodef-blog-item .qodef-e-info--bottom {
    margin-top: 24px !important;
    padding-top: 20px !important;
    border-top: 1px solid #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    font-size: 0.82rem !important;
    color: #94a3b8 !important;
    font-family: 'Inter Tight', sans-serif !important;
}

.qodef-blog-item .qodef-e-bottom-holder a,
.qodef-blog-item .qodef-e-info--bottom a {
    color: #64748b !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.qodef-blog-item .qodef-e-bottom-holder a:hover,
.qodef-blog-item .qodef-e-info--bottom a:hover {
    color: #0f172a !important;
}

.qodef-blog-item .qodef-e-bottom-holder .qodef-e-info {
    display: flex !important;
    gap: 15px !important;
}

/* ============================================================
   14. NO-IMAGE CARD ACCENT
   ============================================================ */

.qodef-blog-item .qodef-e-media:empty {
    display: none !important;
}

.qodef-blog-item:not(.has-post-thumbnail) {
    border-top: 4px solid #0284c7 !important;
}

.qodef-blog-item:not(.has-post-thumbnail) .qodef-e-content {
    padding-top: 36px !important;
}

/* ============================================================
   15. PAGINATION
   ============================================================ */

.qodef-pagination,
.qodef-blog-pagination,
nav.navigation.pagination {
    margin-top: 50px !important;
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
    padding-bottom: 40px !important;
}

.qodef-pagination a,
.qodef-pagination span,
.page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    color: #334155 !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
    transition: all 0.25s ease !important;
    font-family: 'Inter Tight', sans-serif !important;
    border: 1px solid rgba(0,0,0,0.04) !important;
}

.qodef-pagination a:hover,
.page-numbers:hover,
.qodef-pagination span.current,
.page-numbers.current {
    background: linear-gradient(135deg, #0284c7, #0ea5e9) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.3) !important;
}

/* ============================================================
   16. RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
    .qodef-blog .qodef-grid-inner,
    .qodef-blog.qodef-m {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    body.blog #qodef-page-outer::before,
    body.archive #qodef-page-outer::before {
        font-size: 2rem !important;
        padding: 50px 20px 70px 20px !important;
    }

    .qodef-blog-item .qodef-e-title {
        font-size: 1.15rem !important;
    }

    .qodef-blog-item .qodef-e-content {
        padding: 24px !important;
    }

    .muteki-category-filter {
        padding: 20px 16px 10px 16px;
    }

    .muteki-filter-inner {
        padding: 12px 16px;
        gap: 8px;
    }

    .muteki-filter-pill {
        padding: 8px 16px;
        font-size: 0.82rem;
    }
}

@media (max-width: 480px) {
    body.blog #qodef-page-outer::before,
    body.archive #qodef-page-outer::before {
        font-size: 1.6rem !important;
        padding: 40px 16px 60px 16px !important;
    }

    .qodef-blog-item .qodef-e-title {
        font-size: 1.05rem !important;
    }
}


/* ============================================================
   SINGLE POST PAGE DESIGN
   ============================================================ */

.single-post .qodef-blog-item {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    border: none !important;
    transition: none !important;
    margin-bottom: 60px !important;
    max-width: 100% !important;
    border-top: none !important;
}

.single-post .qodef-blog-item:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Feature Image */
.single-post .qodef-blog-item .qodef-e-media {
    border-radius: 24px !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
    margin-bottom: 40px !important;
    aspect-ratio: 21 / 9 !important;
    width: 100% !important;
}

.single-post .qodef-blog-item .qodef-e-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Content Container */
.single-post .qodef-blog-item .qodef-e-content {
    max-width: 800px !important;
    margin: 0 auto !important;
    padding: 50px 40px !important;
    background: #ffffff !important;
    border-radius: 24px !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04) !important;
    margin-top: -100px !important;
    position: relative !important;
    z-index: 2 !important;
}

/* Single Post Top Meta */
.single-post .qodef-blog-item .qodef-e-top-holder,
.single-post .qodef-blog-item .qodef-e-info--top {
    justify-content: center !important;
    margin-bottom: 20px !important;
    font-size: 0.85rem !important;
}

/* Single Post Title */
.single-post .qodef-blog-item .qodef-e-title {
    font-size: 2.8rem !important;
    line-height: 1.2 !important;
    text-align: center !important;
    margin-bottom: 30px !important;
    color: #0f172a !important;
}

/* Single Post Body Text */
.single-post .qodef-blog-item .qodef-e-text {
    font-size: 1.15rem !important;
    line-height: 1.85 !important;
    color: #374151 !important;
    font-family: 'Inter Tight', sans-serif !important;
}

/* Headings within Content */
.single-post .qodef-blog-item .qodef-e-text h1,
.single-post .qodef-blog-item .qodef-e-text h2,
.single-post .qodef-blog-item .qodef-e-text h3,
.single-post .qodef-blog-item .qodef-e-text h4 {
    margin-top: 50px !important;
    margin-bottom: 25px !important;
    color: #0f172a !important;
    font-family: 'Sora', sans-serif !important;
    font-weight: 700 !important;
}

/* Blockquotes */
.single-post .qodef-blog-item .qodef-e-text blockquote {
    border-left: 5px solid #0284c7 !important;
    font-size: 1.3rem !important;
    font-style: italic !important;
    color: #1e293b !important;
    margin: 40px 0 !important;
    background: #f8fafc !important;
    padding: 30px 30px 30px 35px !important;
    border-radius: 0 16px 16px 0 !important;
    font-weight: 500 !important;
}

/* Images inside content */
.single-post .qodef-blog-item .qodef-e-text img {
    border-radius: 16px !important;
    margin: 40px 0 !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06) !important;
    max-width: 100% !important;
    height: auto !important;
}

/* Single Post Bottom */
.single-post .qodef-blog-item .qodef-e-bottom-holder,
.single-post .qodef-blog-item .qodef-e-info--bottom {
    border-top: 1px solid #e2e8f0 !important;
    margin-top: 60px !important;
    padding-top: 30px !important;
}

/* Single Post Responsive */
@media (max-width: 768px) {
    .single-post .qodef-blog-item .qodef-e-content {
        padding: 30px 20px !important;
        margin-top: -50px !important;
    }

    .single-post .qodef-blog-item .qodef-e-title {
        font-size: 1.8rem !important;
    }

    .single-post .qodef-blog-item .qodef-e-media {
        aspect-ratio: 16 / 9 !important;
        border-radius: 16px !important;
    }
}


/* ============================================================
   CUSTOM FOOTER DESIGN
   ============================================================ */

.muteki-footer {
    background-color: #0f172a;
    color: #94a3b8;
    font-family: 'Inter Tight', sans-serif;
    position: relative;
    overflow: hidden;
    border-top: 4px solid #0284c7;
}

/* Background dot pattern */
.muteki-footer .footer-bg-pattern {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
}

.muteki-footer .footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 30px 20px 30px;
    position: relative;
    z-index: 2;
}

/* 4-column grid */
.muteki-footer .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.muteki-footer .footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* --- Brand Column --- */
.muteki-footer .footer-logo-link {
    display: inline-block;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    max-width: 200px;
}

.muteki-footer .footer-logo-link:hover {
    transform: scale(1.02);
}

.muteki-footer .footer-logo-img {
    width: 100%;
    max-width: 200px;
    height: auto;
    display: block;
    filter: brightness(0) invert(1); /* Make logo white */
}

.muteki-footer .footer-site-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Sora', sans-serif;
    letter-spacing: -0.5px;
}

.muteki-footer .footer-desc {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #cbd5e1;
    margin-bottom: 25px;
}

/* Social Icons */
.muteki-footer .footer-socials {
    display: flex;
    gap: 12px;
}

.muteki-footer .social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e0f2fe;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.muteki-footer .social-link:hover {
    background: #0284c7;
    border-color: #0284c7;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(2, 132, 199, 0.4);
}

/* --- Link Columns --- */
.muteki-footer .footer-heading {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    width: fit-content;
    font-family: 'Sora', sans-serif;
}

.muteki-footer .footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #0284c7;
    border-radius: 2px;
}

.muteki-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.muteki-footer .footer-links li {
    list-style: none;
}

.muteki-footer .footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.muteki-footer .footer-links a::before {
    content: "›";
    color: #0284c7;
    font-size: 1.2rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.muteki-footer .footer-links a:hover {
    color: #7dd3fc;
    transform: translateX(5px);
}

.muteki-footer .footer-placeholder {
    color: #64748b;
    font-size: 0.85rem;
    font-style: italic;
    line-height: 1.6;
}

/* --- Contact Column --- */
.muteki-footer .footer-contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.muteki-footer .footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.muteki-footer .contact-icon {
    width: 42px;
    height: 42px;
    background: rgba(2, 132, 199, 0.15);
    color: #7dd3fc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.muteki-footer .contact-text {
    display: flex;
    flex-direction: column;
}

.muteki-footer .contact-text span {
    font-size: 0.82rem;
    color: #94a3b8;
    margin-bottom: 3px;
}

.muteki-footer .contact-text a,
.muteki-footer .contact-text strong {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.muteki-footer .contact-text a:hover {
    color: #7dd3fc;
}

/* --- Bottom Bar --- */
.muteki-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.muteki-footer .copyright-text {
    font-size: 0.9rem;
    color: #94a3b8;
}

.muteki-footer .copyright-text strong {
    color: #ffffff;
}

/* Legal menu links inline */
.muteki-footer .legal-links .legal-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.muteki-footer .legal-links .legal-menu li {
    display: inline;
}

.muteki-footer .legal-links .legal-menu li + li::before {
    content: "|";
    color: #475569;
    margin-right: 8px;
}

.muteki-footer .legal-links .legal-menu a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.muteki-footer .legal-links .legal-menu a:hover {
    color: #ffffff;
}

/* --- Footer Responsive --- */
@media (max-width: 1024px) {
    .muteki-footer .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .muteki-footer .footer-container {
        padding: 60px 20px 20px 20px;
    }

    .muteki-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .muteki-footer .footer-col {
        align-items: center;
        text-align: center;
    }

    .muteki-footer .footer-desc {
        text-align: center;
    }

    .muteki-footer .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .muteki-footer .footer-socials {
        justify-content: center;
    }

    .muteki-footer .contact-text {
        align-items: center;
        text-align: center;
    }

    .muteki-footer .footer-bottom {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .muteki-footer .legal-links .legal-menu {
        justify-content: center;
    }
}


/* ============================================================
   RTL SUPPORT (ARABIC)
   ============================================================ */

html[dir="rtl"] body.blog,
html[dir="rtl"] body.archive,
html[dir="rtl"] body.search,
html[dir="rtl"] body.single-post {
    direction: rtl;
    text-align: right;
    font-family: 'Cairo', sans-serif !important;
}

/* --- Blog Cards RTL --- */
html[dir="rtl"] .qodef-blog-item .qodef-e-title,
html[dir="rtl"] .qodef-blog-item .qodef-e-excerpt,
html[dir="rtl"] .qodef-blog-item .qodef-e-text,
html[dir="rtl"] .qodef-blog-item .qodef-e-content,
html[dir="rtl"] .qodef-blog-item .qodef-e-title a {
    text-align: right !important;
    font-family: 'Cairo', sans-serif !important;
}

html[dir="rtl"] .qodef-blog-item .qodef-e-top-holder .qodef-e-info,
html[dir="rtl"] .qodef-blog-item .qodef-e-info--top {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

html[dir="rtl"] .qodef-blog-item .qodef-e-bottom-holder,
html[dir="rtl"] .qodef-blog-item .qodef-e-info--bottom {
    flex-direction: row-reverse;
}

html[dir="rtl"] .qodef-blog-item .qodef-e-read-more {
    justify-content: flex-start;
}

html[dir="rtl"] .qodef-blog-item .qodef-e-read-more a:hover svg {
    transform: translateX(-4px) !important;
}

/* --- Footer RTL --- */
html[dir="rtl"] .muteki-footer {
    direction: rtl;
    text-align: right;
    font-family: 'Cairo', sans-serif !important;
}

html[dir="rtl"] .muteki-footer .footer-heading,
html[dir="rtl"] .muteki-footer .footer-site-name {
    font-family: 'Cairo', sans-serif !important;
}

html[dir="rtl"] .muteki-footer .footer-col {
    align-items: flex-start; /* flex-start on RTL is right */
}

html[dir="rtl"] .muteki-footer .footer-heading::after {
    left: auto;
    right: 0;
}

html[dir="rtl"] .muteki-footer .footer-links a::before {
    content: "‹"; /* Use left arrow for RTL */
}

html[dir="rtl"] .muteki-footer .footer-links a:hover {
    transform: translateX(-5px);
}

html[dir="rtl"] .muteki-footer .contact-icon {
    margin-left: 0;
}

html[dir="rtl"] .muteki-footer .footer-bottom {
    flex-direction: row-reverse;
}

html[dir="rtl"] .muteki-footer .legal-links .legal-menu li + li::before {
    margin-right: 0;
    margin-left: 8px;
}

/* --- Single Post RTL --- */
html[dir="rtl"] .single-post .qodef-blog-item .qodef-e-title,
html[dir="rtl"] .single-post .qodef-blog-item .qodef-e-text {
    text-align: right !important;
}

html[dir="rtl"] .single-post .qodef-blog-item .qodef-e-text blockquote {
    border-left: none !important;
    border-right: 5px solid #0284c7 !important;
    padding: 30px 35px 30px 30px !important;
    border-radius: 16px 0 0 16px !important;
}
