/*
 * Mandeville Daily — Custom CSS
 *
 * Sections:
 * 1. Global
 * 2. Typography
 * 3. Links
 * 4. Header & Navigation
 * 5. Post / Page Content
 * 6. Images & Captions
 * 7. Buttons & Forms
 * 8. Utility Classes
 * 9. Advertising
 * 10. Responsive Styles
 */


/* =========================================================
   1. GLOBAL
   ========================================================= */

body {
	background-color: #fff;
	font-family: 'Roboto Slab', serif;
	font-weight: 400 !important;
	color: #555;
}


/* =========================================================
   2. TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
		font-family: 'Oswald', sans-serif;
    font-weight: 600;
    letter-spacing: -.02em;
}

h3 {
	font-weight: 300;
	letter-spacing: 0em;
}

h1,
h2,
h4 {
	font-weight: bold;
}

.entry-content p {
	text-align: justify;
	text-justify: inter-word;
}


/* =========================================================
   3. LINKS
   ========================================================= */

p a,
a.customize-unpreviewable,
.entry-wrapper > a,
.wp-block-heading > a {
	color: #3366aa !important;
}

a:hover,
a:focus,
a:active {
	color: #4488cc !important;
	text-decoration: underline;
}


/* =========================================================
   4. HEADER & NAVIGATION
   ========================================================= */

.site-header {
	margin: 0 0 24px;
	padding: 0;
	border-bottom: 6px solid #234a80;
}

.main-navigation,
.main-navigation.toggled {
	font-family: Arial, sans-serif;
	font-weight: bold;
}

.main-navigation {
	border-top: 6px solid #234a80;
	margin-top: 0;
	margin-bottom: 0;
	padding-top: 0;
	padding-bottom: 0;
}

.nav-menu .menu-item {
	font-size: 1.45em;
}

.current_page_item a,
.current-menu-item a,
.current_page_item a:visited,
.current-menu-item a:visited {
	color: #234a80;
}


/* =========================================================
   5. POST / PAGE CONTENT
   ========================================================= */

/* Hide page title */
article.type-page header.entry-header h1.entry-title {
	display: none;
	font-size: 1.2em;
	font-style: italic;
	color: #999;
}

/* Post metadata */
span.byline {
	display: inline-block;
}

span.posted-on time.published,
time.updated {
	display: inline;
}

span.posted-on time.published::before {
	content: "Published: ";
}

span.posted-on time.published::after {
	content: " - ";
}

span.posted-on time.updated::before {
	content: " Updated: ";
}

/* Disclaimer */
.site-disclaimer {
	border-top: 1px solid gray;
	padding: 10px 0;
	font-size: 9pt;
	font-style: italic !important;
	line-height: 12pt;
	color: #999 !important;
}

/* Separator */
.wp-block-separator {
	width: 100% !important;
	max-width: unset !important;
	padding: 5px;
	color: #aaa;
}


/* =========================================================
   6. IMAGES & CAPTIONS
   ========================================================= */

div.wp-block-image > figure > img,
li > a > img.size-full,
li > img.size-full {
	border: 1px solid #777;
	border-radius: 4px !important;
	box-shadow: 0 0 6px 0 #999;
}

figure > figcaption {
	margin-top: 0 !important;
	font-family: sans-serif;
	line-height: 1.4em;
	color: #777 !important;
}


/* =========================================================
   7. BUTTONS & FORMS
   ========================================================= */

button {
	border: 1px solid #bbb;
	border-radius: 6px;
	padding: 8px 16px;
	background-color: #fff;
	font-family: sans-serif;
	color: #888;
}

.wp-block-button__link {
	border: 1px solid #aaa;
	border-radius: 10px !important;
	background: none !important;
	font-family: sans-serif;
}

.wp-element-button {
	font-family: sans-serif;
}

a.button-in-article {
	border: 1px solid #ccc;
	border-radius: 4px;
	padding: 6px 12px;
	font-family: sans-serif;
	font-size: 0.88em;
	color: #999;
}

a.button-in-article:hover {
	border-color: #4488cc;
	text-decoration: none;
}

.wp-block-search__input {
	border-radius: 5px !important;
}

.wp-block-search__label {
	font-family: sans-serif;
}


/* =========================================================
   8. UTILITY CLASSES
   ========================================================= */

.text-center {
	text-align: center;
}


/* =========================================================
   9. ADVERTISING
   ========================================================= */

.advert-local-wrapper {
	margin-bottom: 20px;
}

.advert-local-wrapper::before {
	content: "Sponsored:";
	display: block;
	font-size: 0.85em;
	font-weight: bold;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: #555;
}

.advert-local-container {
	border: 1px dotted gray;
	padding: 20px;
	background-color: #fff;
	font-family: sans-serif;
}


/* =========================================================
   10. RESPONSIVE STYLES
   ========================================================= */

/* Desktop */
@media screen and (min-width: 50em) {

	h1 {
		font-size: 40px;
		line-height: 46px;
	}

	h2 {
		font-size: 34px;
	}

	h3,
	#respond h3,
	.author-title {
		font-size: 30px;
	}

	h4 {
		font-size: 24px;
	}

	h5 {
		font-size: 20px;
	}

	h1.entry-title {
		font-size: 44px;
	}

	.entry-content .entry-wrapper > h2.entry-title {
		font-size: 26px;
		word-break: normal !important;
	}

	/* Front Page Lead Story Headline */
	.md-topstory article.category-news .entry-wrapper > h2.entry-title {
		font-size: 26px;
	}
}


/* Medium / Mobile */
@media screen and (max-width: 55em) {

	h1 {
		font-size: 40px !important;
		line-height: 44px !important;
		color: #444;
	}

	h2 {
		font-size: 30px !important;
		line-height: 38px !important;
	}

	h3,
	#respond h3,
	.author-title {
		font-size: 30px !important;
		line-height: 38px;
	}

	h4,
	#respond h4,
	.author-title {
		font-size: 24px !important;
		line-height: 38px;
	}

	.entry-content p {
		font-size: 1.1em;
		color: #555 !important;
		text-align: justify;
		text-justify: unset;
	}

	a.more-link {
		font-size: 20px !important;
	}

	.menu-toggle {
		border: none;
	}
}


/* Site width on larger screens */
@media screen and (min-width: 55em) {

	.no-sidebar .site {
		max-width: 872px;
		margin-right: auto;
		margin-left: auto;
		padding: 54px;
	}
}


/* Small phones */
@media screen and (max-width: 26em) {

	figure.post-thumbnail {
		display: none;
	}

	.entry-wrapper p {
		display: none;
	}

	.entry-wrapper span.byline {
		display: none;
	}
}