/* Super moto layout fixes */

/* Header: give date room so menu no longer overlaps */
#masthead {
	height: auto;
	min-height: 170px;
	overflow: visible;
}

#top {
	height: auto;
	min-height: 125px;
	padding-bottom: 12px;
	box-sizing: border-box;
}

.date-stamp {
	top: 22px;
	left: 24px;
	width: 120px;
	overflow: visible;
	line-height: 1.05;
}

.date-stamp .day {
	font-size: 52px;
	line-height: 0.95;
	float: none;
	display: block;
	margin: 0 0 2px;
}

.date-stamp .mony,
.date-stamp .dname {
	float: none;
	display: block;
	font-size: 18px;
	letter-spacing: 2px;
	margin: 0;
	line-height: 1.15;
}

/* Logo must stay centered on both home (h1) and inner pages (h2) */
h1.logo,
h2.logo {
	display: block;
	width: 600px;
	max-width: calc(100% - 280px);
	margin: 0 auto;
	padding-top: 28px;
	font-size: 52px;
	font-weight: normal;
	line-height: 1.1;
	text-align: center;
	text-shadow: 2px 2px 0 #ddd;
	position: relative;
	z-index: 1;
}

h1.logo a:link,
h1.logo a:visited,
h2.logo a:link,
h2.logo a:visited {
	color: #333 !important;
	text-decoration: none;
}

h1.logo a:hover,
h2.logo a:hover {
	color: #000 !important;
}

.date-stamp,
.topfeed {
	z-index: 2;
}

.topfeed {
	top: 28px;
	right: 24px;
}

.topfeed ul li {
	font-size: 18px;
}

/* Menu bar: taller, clearer separation from date */
#botmenu {
	height: auto;
	min-height: 48px;
	margin-top: 8px;
	background-color: #252525;
	background-image: url(/wp-content/themes/Reporter/images/menu.png);
	background-size: 100% 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
	padding: 0 8px;
}

#submenu {
	width: auto;
	flex: 1 1 auto;
	min-width: 0;
}

#submenu ul.sf-menu,
#submenu > nav,
#romli-main-nav {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 6px;
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	list-style: none;
}

#submenu li a,
#romli-main-nav a {
	padding: 14px 14px !important;
	font-size: 15px !important;
	line-height: 1.2;
}

#search {
	float: none;
	margin: 6px 8px 6px 12px;
	flex: 0 0 auto;
}

/* Hide bulky archive / meta footer strip site-wide */
.bottomcover,
#bottom,
aside#archives-2,
.widget_archive {
	display: none !important;
}

/* Keep footer compact aside from sitewide block */
#footer {
	padding: 18px 0 !important;
}

@media (max-width: 800px) {
	.date-stamp {
		position: static;
		margin: 10px 0 0 16px;
	}
	h1.logo,
	h2.logo {
		font-size: 36px;
		padding-top: 10px;
		width: auto;
		max-width: 100%;
		text-align: center;
	}
	.topfeed {
		position: static;
		text-align: center;
		margin-bottom: 8px;
	}
	#botmenu {
		flex-wrap: wrap;
	}
}
