/* ============================================
   TANTU CUSTOM PAGE HEADER — Breadcrumb + Title
   v7.0 — Hide duplicate post meta & +16px padding
   ============================================ */

/* ---- Set Body and Main Containers Background to Pure White ---- */
body,
body.single-post,
#page,
#content,
#primary,
.site-main,
.elementor-1697,
.elementor-element-651bcb5c,
.tantu-content-bg {
    background-color: #ffffff !important;
    background: #ffffff !important;
}

/* ---- Hide old Elementor gradient hero section ---- */
.elementor-element-689066fa {
    display: none !important;
}

/* ---- Hide duplicate post meta widget inside Elementor content ---- */
.elementor-widget-eel-post-meta,
.elementor-element-64c48e83,
.eel--blog-meta {
    display: none !important;
}

/* ====================================================
   PAGE HEADER WRAPPER (+16px Padding)
   ==================================================== */
.tantu-page-header {
    background: #ffffff !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 20px 0 18px !important;
    width: 100% !important;
    margin: 0 !important;
}

/* Align 100% flush with Elementor .e-con-boxed > .e-con-inner container and post image */
.tantu-page-header-inner {
    max-width: var(--container-widget-width, 1320px) !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important; /* Zero padding so text starts exactly at 108px, flush with image */
    box-sizing: border-box !important;
}

/* ====================================================
   BREADCRUMB TRAIL
   ==================================================== */
.tantu-breadcrumb-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 12.5px;
    margin-bottom: 6px !important;
}

.tantu-bc-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s;
    white-space: nowrap;
    padding: 1px 0px;
    border-radius: 4px;
}

.tantu-bc-link:hover {
    color: #1d4ed8;
    background: #eff6ff;
}

.tantu-bc-home-icon {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

.tantu-bc-sep {
    width: 13px;
    height: 13px;
    color: #cbd5e1;
    flex-shrink: 0;
    margin: 0 2px;
}

.tantu-bc-current {
    color: #334155;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 550px;
    display: inline-block;
}

/* ====================================================
   PAGE TITLE (h1)
   ==================================================== */
.tantu-page-header-title {
    font-family: 'Inter', 'Segoe UI', sans-serif !important;
    font-size: clamp(20px, 2.4vw, 28px) !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.25 !important;
    margin: 0 0 8px 0 !important;
    letter-spacing: -0.02em !important;
}

/* ====================================================
   META ROW (date · author · category badge)
   ==================================================== */
.tantu-page-header-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin: 0 !important;
}

.tantu-page-header-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12.5px;
    color: #64748b;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.tantu-page-header-meta-item svg {
    width: 13px;
    height: 13px;
    color: #94a3b8;
    flex-shrink: 0;
}

.tantu-page-header-meta-sep {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1;
    font-weight: 300;
}

.tantu-page-header-cat-badge {
    display: inline-block;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
}

/* ====================================================
   MINIMIZE TOP SPACING FOR MAIN CONTENT CONTAINER
   ==================================================== */
.elementor-element-651bcb5c {
    padding-top: 16px !important;
    margin-top: 0 !important;
}

.elementor-element-651bcb5c > .elementor-element,
.elementor-element-651bcb5c > .e-con-inner {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
