/* ============================================
   TANTU SIDEBAR / WIDGET AREA — PREMIUM STYLE
   v5.0 — Fixed parent gap + negative margin removal
   ============================================ */

/* ---- Fix parent sidebar container row-gap (Elementor sets 40px, we need 12px) ---- */
.elementor-element-43b029d2 {
    row-gap: 12px !important;
    gap: 12px !important;
}

/* ---- Kill ALL Elementor-injected margin/padding on the outer widget wrappers ---- */
.elementor-element-1f521f4c,
.elementor-element-674dd2c9,
.elementor-element-619a5772 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* ---- Container card shared by all sidebar widgets ---- */
.elementor-element-1f521f4c .elementor-widget-container,
.elementor-element-674dd2c9 .elementor-widget-container,
.elementor-element-619a5772 .elementor-widget-container {
    background: #ffffff !important;
    border: 1px solid #e8edf3 !important;
    border-radius: 12px !important;
    padding: 16px 18px !important;
    margin: 0 !important;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05) !important;
}

/* ---- Widget headings (h5) ---- */
.elementor-element-1f521f4c .elementor-widget-container h5,
.elementor-element-674dd2c9 .elementor-widget-container h5,
.elementor-element-619a5772 .elementor-widget-container h5 {
    font-family: 'Inter', 'Segoe UI', sans-serif !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: #94a3b8 !important;
    margin: 0 0 10px 0 !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

/* ---- Search form layout ---- */
.elementor-element-1f521f4c .search-form {
    display: flex !important;
    gap: 8px !important;
    align-items: center !important;
}

.elementor-element-1f521f4c .search-form label {
    flex: 1 !important;
    margin: 0 !important;
}

.elementor-element-1f521f4c .search-field {
    width: 100% !important;
    padding: 9px 13px !important;
    font-size: 13px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 8px !important;
    background: #f8fafc !important;
    color: #1e293b !important;
    outline: none !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    font-family: 'Inter', sans-serif !important;
    box-shadow: none !important;
}

.elementor-element-1f521f4c .search-field:focus {
    border-color: #3b82f6 !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.10) !important;
}

.elementor-element-1f521f4c .search-submit {
    padding: 9px 16px !important;
    background: #1e293b !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    font-family: 'Inter', sans-serif !important;
    transition: background 0.2s !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.elementor-element-1f521f4c .search-submit:hover {
    background: #0f172a !important;
}

/* ---- Categories list ---- */
.elementor-element-674dd2c9 ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

.elementor-element-674dd2c9 ul li {
    padding: 0 !important;
    border: none !important;
    margin: 0 !important;
}

.elementor-element-674dd2c9 ul li a {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 6px 8px !important;
    border-radius: 7px !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    color: #334155 !important;
    text-decoration: none !important;
    transition: background 0.15s, color 0.15s !important;
    font-family: 'Inter', sans-serif !important;
    line-height: 1.4 !important;
}

.elementor-element-674dd2c9 ul li a::before {
    content: '' !important;
    display: inline-block !important;
    width: 5px !important;
    height: 5px !important;
    background: #3b82f6 !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
}

.elementor-element-674dd2c9 ul li a:hover {
    background: #f0f6ff !important;
    color: #1d4ed8 !important;
}

/* ---- Tag cloud ---- */
.elementor-element-619a5772 .tagcloud {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin: 0 !important;
}

.elementor-element-619a5772 .tagcloud a {
    display: inline-block !important;
    padding: 4px 12px !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #475569 !important;
    text-decoration: none !important;
    transition: background 0.15s, color 0.15s, border-color 0.15s !important;
    font-family: 'Inter', sans-serif !important;
    line-height: 1.5 !important;
}

.elementor-element-619a5772 .tagcloud a:hover {
    background: #1e293b !important;
    color: #fff !important;
    border-color: #1e293b !important;
}

/* ---- "You May Also Like" heading ---- */
.elementor-element-5c8697a0 .elementor-heading-title {
    font-family: 'Inter', 'Segoe UI', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 8px 0 12px 0 !important;
    padding-bottom: 10px !important;
    border-bottom: 2px solid #e2e8f0 !important;
}
