/*
Theme Name: Yubakami
Theme URI: https://yubakami.com
Author: Dexter
Description: Block theme for Yubakami.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: yubakami
*/
/*
 * Featured news section (templates/home.html).
 *
 * The featured article is laid out as two columns: featured image beside the
 * headline. Core renders nothing at all for wp:post-featured-image when an
 * article has no featured image, leaving an empty 58% column and a headline
 * stranded in the right-hand third. These rules let the text reclaim the full
 * width in that case, so a featured article without an image still reads
 * correctly rather than looking broken.
 *
 * The flex-basis override needs !important because the column widths are inline
 * styles emitted by the columns block.
 */
.yubakami-featured-news .wp-block-column:empty {
	display: none;
}

.yubakami-featured-news .wp-block-column:empty + .wp-block-column {
	flex-basis: 100% !important;
}
