/*
 * Site-specific additions for the static HDPBN replica.
 * Base design (colors, typography, grid, widgets) comes from theme-base.css
 * (the original "Dynamic News Lite" theme stylesheet) - untouched.
 */

/* Site logo image sizing (theme used a text title by default) */
#logo .custom-logo-link {
	float: left;
	margin-right: 1.5em;
}
#logo .custom-logo-link img {
	max-width: 220px;
	height: auto;
	vertical-align: middle;
}

/* Frontpage magazine widgets: 3 equal columns, like the theme demo */
#frontpage-magazine-widgets {
	display: flex;
	flex-wrap: wrap;
	gap: 0 1.5em;
	margin-bottom: 0;
}
#frontpage-magazine-widgets .widget {
	flex: 1 1 0;
	min-width: 0;
}

/* News grid on the homepage / novosti listing */
.news-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5em;
	margin: 0 0 1.5em;
}
.news-grid .type-post {
	flex: 1 1 calc(50% - 0.75em);
	margin: 0;
}
.news-grid .entry-title {
	font-size: 1.2em;
}

/* Popular Posts / Tabbed widget thumbnails already styled via themezee-widget-bundle.css */

/* Simple pill used to flag pages we could not restore from the (unavailable) database */
.static-note {
	display: inline-block;
	margin: 0 0 1em;
	padding: 0.6em 1em;
	background: #fff8e1;
	border: 1px solid #e8d977;
	color: #6b5a00;
	font-size: 0.85em;
	line-height: 1.5em;
}

@media only screen and (max-width: 60em) {
	#frontpage-magazine-widgets {
		flex-direction: column;
	}
	.news-grid .type-post {
		flex: 1 1 100%;
	}
}
