/*
Theme Name: Informer
Theme URI: https://stepfoxthemes.com/themes/informer/
Author: Stepfox
Author URI: https://stepfoxthemes.com
Description: Informer is a professional responsive news magazine block theme. It rebuilds the classic Informer Magazine layout - full width hero slider, breaking news ticker, combinator category blocks, mega menu and a dark footer - entirely with the WordPress block editor and full site editing.
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: informer
Domain Path: /languages
Network: false
Tags: blog, news, two-columns, right-sidebar, custom-colors, custom-logo, custom-menu, editor-style, featured-images, full-width-template, block-styles, wide-blocks, accessibility-ready
*/

/* -------------------------------------------------------------------------
   informer-2 is a zero-CSS block theme: every visual decision lives in a
   stepfox-looks `responsiveStyles` attribute on the block itself, or in
   theme.json. The only rules here are the ones no block attribute can express.

   The ported classic stylesheet chain that used to drive this theme is kept
   for reference in tools/backup/ and css/, but nothing enqueues it.
   ------------------------------------------------------------------------- */

/* theme.json font families resolve through these. */
:root {
	--primary-font: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--secondary-font: "Asap", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--small-text: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* The block-template root must add nothing of its own. */
.wp-site-blocks {
	padding: 0;
	margin: 0;
}
.wp-site-blocks > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

/* core/post-template renders <ul><li>; the <li> cannot be given a customId,
   so its list chrome has to be reset here. */
ul.wp-block-post-template {
	max-width: none;
	margin: 0;
	padding: 0;
	list-style: none;
}
ul.wp-block-post-template > li {
	margin: 0;
	list-style: none;
}

/* stepfox does not id a core/post-featured-image <figure>, so the crop is set
   on a wrapper group and the figure itself just has to get out of the way. */
figure.wp-block-post-featured-image {
	margin: 0;
	padding: 0;
	line-height: 0;
	height: 100%;
}
figure.wp-block-post-featured-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Flex/grid children must be allowed to shrink below their content width. */
.wp-block-group {
	min-width: 0;
}

/* Leaf blocks sit inside styled wrappers; drop their own vertical rhythm. */
h1.wp-block-post-title,
h2.wp-block-post-title,
h3.wp-block-post-title,
h4.wp-block-post-title {
	margin: 0;
}
