/* Hide "People are viewing this right now" */
.product-info-view {
    display: none !important;
}

.tf-page-title {
    /* background: #757575 !important;
    background: linear-gradient(7deg, rgba(43, 43, 43, 1) 0%, rgba(64, 64, 64, 1) 50%, rgba(77, 77, 77, 1) 100%) !important; */
    background: url('../assets/images/bg-header.jpg') repeat-x center !important;
    background-size: auto 100% !important;
}

.tf-page-title .page-title-heading .title,
.tf-page-title .page-title-heading .title a,
.tf-page-title .page-title-heading .title span,
.tf-page-title .page-title-heading .title a span,
.tf-page-title .box-title h4,
.tf-page-title .breadcrumbs span,
.tf-page-title .breadcrumbs span a,
.tf-page-title .breadcrumbs a,
.tf-page-title .breadcrumbs span i,
.tf-page-title .breadcrumbs span.trail-browse i {
    color: #ffffff !important;
}

.tf-topbar.bg-dark-5.topbar-bg,
body.elementor-page-6130 .tf-topbar.bg-dark-5.topbar-bg,
body.elementor-page-6256 .tf-topbar.bg-dark-5.topbar-bg {
    z-index: 999;
    background-color: #0e0e0e !important;
    left: 0 !important;
    right: 0 !important;
}

.tf-topbar .overflow-hidden::before,
.tf-topbar .overflow-hidden::after {
    display: none !important;
}

@media (min-width: 1200px) {
    .tf-topbar {
        display: flex;
        height: auto !important;
    }
}

.tf-topbar.bg-dark-5.topbar-bg .container {
    max-width: 100% !important;
}

/* ==========================================================================
   BLOG REDESIGN - SINGLE POST
   ========================================================================== */

/* 1. Hide Theme Defaults on Single Post */
body.wikaz-blog-redesign .tf-page-title,
body.wikaz-blog-redesign .entry-title,
body.wikaz-blog-redesign .post-details .featured-post,
body.wikaz-blog-redesign .post-details .entry-meta,
body.wikaz-blog-redesign .post-thumbnail,
body.wikaz-blog-redesign .post-title,
body.wikaz-blog-redesign .post-meta {
    display: none !important;
}

/* 2. Container Structure */
.wikaz-blog-container,
.wikaz-blog-container *,
.wikaz-blog-container *::before,
.wikaz-blog-container *::after {
    box-sizing: border-box !important;
}

.wikaz-blog-container {
    max-width: 1400px;
    margin: 0 auto;
    background: #fff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    overflow-x: hidden;
    /* Prevent horizontal scroll within the container */
}

/* 3. Hero Section (Split Layout) */
.wikaz-blog-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 85vh;
    align-items: stretch;
    background: #f9f9f9;
    border-bottom: 1px solid #f0f0f0;
}

.wikaz-blog-hero-image {
    padding: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
}

.wikaz-portrait-frame {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    background: #eee;
    transform: rotate(-1deg);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.wikaz-blog-container:hover .wikaz-portrait-frame {
    transform: rotate(0deg);
}

.wikaz-portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 1.2s ease;
}

.wikaz-blog-container:hover .wikaz-portrait-img {
    transform: scale(1);
}

/* 4. Hero Details (Text Side) */
.wikaz-blog-hero-details {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    width: 100%;
}

.wikaz-blog-meta-top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    /* NEW: Allow cats to wrap */
    gap: 10px;
    margin-bottom: 25px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.wikaz-blog-cat {
    color: #000;
    font-weight: 700;
    background: #eee;
    padding: 4px 12px;
    border-radius: 4px;
    white-space: nowrap;
}

.wikaz-blog-date {
    color: #999;
}

.wikaz-blog-title {
    font-size: clamp(28px, 4vw, 56px) !important;
    line-height: 1.15 !important;
    font-weight: 300 !important;
    color: #000 !important;
    margin: 0 0 30px 0 !important;
    font-family: "Playfair Display", serif !important;
    /* Elegant serif fallback */
    overflow-wrap: break-word;
    /* NEW: Prevent clipping */
    word-wrap: break-word;
    hyphens: auto;
}

.wikaz-blog-author {
    font-style: italic;
    font-size: 16px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-name {
    font-weight: 600;
    color: #000;
    font-style: normal;
}

.wikaz-blog-scroll-hint {
    position: absolute;
    bottom: 60px;
    right: 80px;
    display: flex;
    align-items: center;
    gap: 15px;
    transform: rotate(90deg);
    transform-origin: right center;
}

.scroll-text {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ccc;
}

.scroll-line {
    width: 40px;
    height: 1px;
    background: #ccc;
}

/* 5. Body Content */
.wikaz-blog-body {
    padding: 80px 0;
    background: #fff;
}

.wikaz-blog-content-inner {
    max-width: 1000px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    padding: 0 20px;
}

.wikaz-blog-content-inner p {
    margin-bottom: 30px;
}

.wikaz-blog-content-inner p:empty {
    min-height: 1em !important;
}

.wikaz-blog-content-inner h2,
.wikaz-blog-content-inner h3 {
    color: #000;
    margin: 20px 0 16px 0;
    font-family: inherit;
    font-weight: 700;
}

/* 6. Footer & Tags */
.wikaz-blog-footer {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px 80px;
    border-top: 1px solid #eee;
}

.wikaz-blog-tags a {
    display: inline-block;
    padding: 8px 16px;
    background: #f5f5f5;
    color: #666;
    text-decoration: none;
    border-radius: 50px;
    font-size: 13px;
    margin: 0 8px 8px 0;
    transition: all 0.2s ease;
}

.wikaz-blog-tags a:hover {
    background: #000;
    color: #fff;
}

/* 7. Mobile Responsive */
@media (max-width: 1024px) {
    .wikaz-blog-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .wikaz-blog-hero-image {
        padding: 40px 20px;
        order: 1;
        background: #f9f9f9;
        min-height: 50vh;
    }

    .wikaz-blog-hero-details {
        padding: 40px 20px 60px;
        order: 2;
        text-align: center;
        align-items: center;
    }

    .wikaz-blog-scroll-hint {
        display: none !important;
    }

    .wikaz-blog-title {
        font-size: clamp(28px, 6vw, 42px) !important;
        margin-bottom: 25px !important;
    }

    .wikaz-portrait-frame {
        max-width: 400px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 768px) {
    .wikaz-blog-body {
        padding: 40px 0;
    }

    .wikaz-blog-content-inner {
        font-size: 16px;
        line-height: 1.7;
    }

    .wikaz-portrait-frame {
        max-width: 90%;
        margin: 0 auto;
    }

    .wikaz-blog-meta-top {
        margin-bottom: 15px;
        gap: 8px;
        justify-content: center;
    }

    .wikaz-blog-cat {
        font-size: 9px;
        padding: 3px 10px;
    }

    .wikaz-blog-date {
        width: 100%;
        /* Force to new line */
        font-size: 11px;
        margin-top: 5px;
    }

    .wikaz-blog-author {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .wikaz-blog-hero-image {
        padding: 20px 15px;
    }

    .wikaz-blog-hero-details {
        padding: 30px 15px 50px;
    }

    .wikaz-blog-title {
        font-size: 26px !important;
    }

    .wikaz-blog-content-inner {
        padding: 0 15px;
    }
}

.heading.blog-post-item {
    display: none !important;
}

.blog-post .featured-post,
.blog-post .main-post {
    text-align: unset !important;
}

.wikaz-blog-content-inner p {
    text-align: justify;
}

.wikaz-blog-content-inner img {
    margin-bottom: 12px !important;
    margin-top: 12px !important;
}

.wikaz-blog-content-inner img.note-float-left {
    margin-right: 20px !important;
    border-radius: 5px !important;
}

.wikaz-blog-content-inner img.note-float-right {
    margin-left: 20px !important;
    border-radius: 5px !important;
}

.featured-post.entry_image {
    display: none !important;
}

/* .woocommerce-product-gallery__image video,
.woocommerce-product-gallery__item video {
    aspect-ratio: unset !important;
} */

/* Product Short Description */
.wikaz-product-short-description {
    margin-top: 5px;
    margin-bottom: 25px;
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}

.wikaz-product-short-description p {
    margin-bottom: 0;
}

p[style*="text-align: center"] img,
p[align="center"] {
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
}

video.rsfv-video {
    aspect-ratio: 9/16 !important;
}

.offcanvas {
    z-index: 99999 !important;
}