/* === Taima OrganicBio Fixes - 2026-08-31 === */

/* --- Fix 1: Search icon in header - replace missing Vantage webfont with Font Awesome --- */
#search-icon #search-icon-icon {
    background-color: #303134 !important;
    position: relative !important;
}
#search-icon #search-icon-icon .vantage-icon-search {
    font-family: "FontAwesome" !important;
    font-size: 18px !important;
    color: #ffffff !important;
    line-height: 1 !important;
    width: 22px !important;
    height: 22px !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
#search-icon #search-icon-icon .vantage-icon-search:before {
    content: "\f002" !important;
    font-family: "FontAwesome" !important;
    color: #ffffff !important;
}

/* --- Fix 2: News & Product single detail images unified to 600x375 --- */
/* News single: featured image (entry-thumbnail) + content images */
.single-post .entry-thumbnail img,
.single-post .wp-post-image,
.single-post .entry-content img.size-large,
.single-post .entry-content img.size-full,
.single-post .entry-content img.alignnone,
.single-post .entry-content p > img,
.single-post .entry-content p > a > img {
    width: 600px !important;
    height: 375px !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 0 20px 0 !important;
    border-radius: 10px;
    max-width: 100% !important;
}
/* Product single: custom template ta-sp-img + description images */
.single-product .ta-sp-img,
.single-product .ta-sp-img-wrap img,
.single-product .ta-sp-desc img,
.single-product .ta-sp-desc p > img,
.single-product .ta-sp-desc p > a > img,
.single-product .ta-sp-section img {
    width: 600px !important;
    height: 375px !important;
    object-fit: cover !important;
    max-width: 100% !important;
    border-radius: 10px;
    display: block !important;
    margin: 0 0 20px 0 !important;
}

/* --- Fix 3: Emergency hide - force dark vc_row backgrounds to white --- */
body .vc_row.wpb_row.vc_row-fluid.vc_row-has-fill,
body .vc_row.wpb_row.vc_row-fluid.wide-background.vc_row-has-fill {
    background-color: #ffffff !important;
    background-image: none !important;
}
body .vc_row.wpb_row.vc_row-fluid.bs-img.vc_custom_1509616662283 {
    background-color: #ffffff !important;
    background-image: none !important;
}

/* --- Fix 4: News list thumb styling --- */
.taima-news-thumb-wrap { margin-bottom: 16px; }
.taima-news-thumb-wrap img { width: 100% !important; height: auto !important; border-radius: 12px; display: block; }
.wp-block-post-template li { list-style: none; }
/* --- Fix 5 (2026-09-10): Pagination inline on one line --- */
.wp-block-query-pagination {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 10px 14px !important;
    margin: 30px 0 !important;
}
.wp-block-query-pagination > .wp-block-query-pagination-numbers {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
}
.wp-block-query-pagination .page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 36px !important;
    height: 36px !important;
    padding: 0 12px !important;
    border: 1px solid #e1e7ee !important;
    border-radius: 6px !important;
    color: #2e7d32 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    text-decoration: none !important;
    background: #fff !important;
    transition: all .2s ease !important;
}
.wp-block-query-pagination .page-numbers:hover {
    background: #2e7d32 !important;
    color: #fff !important;
    border-color: #2e7d32 !important;
}
.wp-block-query-pagination .page-numbers.current {
    background: #2e7d32 !important;
    color: #fff !important;
    border-color: #2e7d32 !important;
}
.wp-block-query-pagination .wp-block-query-pagination-next {
    display: inline-flex !important;
    align-items: center !important;
    height: 36px !important;
    padding: 0 18px !important;
    border-radius: 6px !important;
    background: #2e7d32 !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    margin: 0 !important;
    transition: all .2s ease !important;
}
.wp-block-query-pagination .wp-block-query-pagination-next:hover {
    background: #1b5e20 !important;
    transform: translateY(-1px) !important;
}
