/*
 * site-fixes.css — site-specific corrections for theanimalbible.net.
 * Enqueued last, after style_dynamic.css, and versioned with filemtime().
 *
 * FIX: invisible (dark-grey-on-black) card in the homepage "Innovation" strip
 *
 * The Innovation row is the VC row `.vc_custom_1458822345547`, which sets
 * `background-color: #070707`. It holds an `mkdf_post_layout_five` module
 * (4 columns, category 261).
 *
 * In assets/css/modules.css every white/yellow colour in that module is gated
 * behind the ADJACENT SIBLING selector
 *     .mkdf-pt-five-image-holder + .mkdf-pt-five-content-holder
 * (modules.css lines 8312–8351):
 *     … .mkdf-pt-five-title            { color: #ffffff; }
 *     … .mkdf-pt-info-section > div    { color: #ffffff !important; }
 *     … .mkdf-post-info-author-link    { color: #ffff00 !important; }
 * and what reads as the card's dark "background" is really
 * .mkdf-pt-five-image-link-holder — a 50%-opacity black overlay laid on the
 * featured image.
 *
 * When a post has NO featured image, hashmag omits the whole
 * <div class="mkdf-pt-five-image-holder"> (which also carries the category
 * badge). The sibling selector then no longer matches, the content holder
 * falls back to the ungated base rule, and its title/byline inherit the page's
 * default dark body colour — on a #070707 background. That is the fourth card,
 * "Some good reasons to buy N95 Masks": no badge, no card background, text
 * effectively invisible. Exactly one card on the homepage is in this state.
 *
 * With the image holder absent, .mkdf-pt-five-content-holder becomes the FIRST
 * child of .mkdf-pt-five-item-inner, which gives a precise selector for the
 * broken case that needs no :has(). Scoped to the dark row so that pt-five
 * cards elsewhere on the site (e.g. related posts on single-post pages, which
 * sit on a light background) are untouched.
 *
 * Colours below are copied verbatim from modules.css lines 8319/8337/8348 —
 * the same white and the same #ffff00 the three working cards already use. No
 * new palette.
 *
 * NOTE: `.vc_custom_1458822345547` is generated by WPBakery from that row's
 * design settings. If the row is ever re-saved in the editor the class may be
 * regenerated; re-point the selector at the new one if the card goes dark again.
 */

.vc_custom_1458822345547 .mkdf-pt-five-item .mkdf-pt-five-item-inner > .mkdf-pt-five-content-holder:first-child {
	padding: 30px 30px 25px;
}

.vc_custom_1458822345547 .mkdf-pt-five-item .mkdf-pt-five-item-inner > .mkdf-pt-five-content-holder:first-child .mkdf-pt-five-title {
	color: #ffffff;
}

.vc_custom_1458822345547 .mkdf-pt-five-item .mkdf-pt-five-item-inner > .mkdf-pt-five-content-holder:first-child .mkdf-pt-five-title a {
	color: inherit;
}

.vc_custom_1458822345547 .mkdf-pt-five-item .mkdf-pt-five-item-inner > .mkdf-pt-five-content-holder:first-child .mkdf-pt-info-section > div {
	color: #ffffff !important;
}

.vc_custom_1458822345547 .mkdf-pt-five-item .mkdf-pt-five-item-inner > .mkdf-pt-five-content-holder:first-child .mkdf-pt-info-section > div:after {
	color: #ffffff !important;
}

.vc_custom_1458822345547 .mkdf-pt-five-item .mkdf-pt-five-item-inner > .mkdf-pt-five-content-holder:first-child .mkdf-pt-info-section > div .mkdf-post-info-author-link {
	color: #ffff00 !important;
}
