/**
 * Homemade recipe-book accents — self-hosted Cedarville Cursive (no Google Fonts CDN).
 */

@font-face {
	font-family: "Cedarville Cursive";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/cedarville-cursive/cedarville-cursive-latin-400.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
		U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
		U+2212, U+2215, U+FEFF, U+FFFD;
}

/*
 * Title case for stored ALL CAPS (e.g. THE COOKS → The Cooks).
 * Acronyms: use periods in the widget title (I.B.M.), not bare IBM.
 */
.site-title a,
.entry-title,
.entry-header .entry-title a,
.widget .widget-title,
.widget h2.widget-title,
#secondary .widget-title,
#secondary h2.widget-title,
#tertiary .widget-title,
.site-footer .widget-title,
.wprm-recipe-name,
.wprm-recipe-ingredients-header,
.wprm-recipe-instructions-header,
.wprm-recipe-notes-header,
.wprm-recipe-equipment-header,
.wprm-recipe-video-header,
.wprm-recipe-nutrition-header,
.wprm-recipe-group-name,
.lmr-recipe-card .lmr-section-title,
.lmr-recipe-card .lmr-subsection-title {
	text-transform: capitalize;
}

/* Post author avatars (byline, entry-footer, author bio) — not comment avatars */
.site-content .entry-footer .avatar,
.site-content .author-avatar .avatar {
	display: none !important;
}

/* Author name larger than date, categories, tags in post meta */
.site-content .entry-footer .byline .author a {
	font-family: "Cedarville Cursive", cursive;
	font-size: 1.35rem;
	font-weight: 400;
	line-height: 1.3;
	color: #4d4843;
}

.site-content .entry-footer .byline .author a:hover,
.site-content .entry-footer .byline .author a:focus {
	color: #5a554f;
}

/* Pencil-style headings */
.site-title a,
.entry-title,
.entry-header .entry-title a {
	font-family: "Cedarville Cursive", cursive;
	font-weight: 400;
	color: #4d4843;
	letter-spacing: 0.02em;
	text-shadow: 0.4px 0.4px 0 rgba(0, 0, 0, 0.12);
}

/* Base color above loads after theme link hover; needs matching :hover specificity. */
.site-title a:hover,
.site-title a:focus,
.entry-header .entry-title a:hover,
.entry-header .entry-title a:focus {
	color: #b13a35;
}

/* Sidebar and footer widget titles (overrides theme uppercase) */
.widget .widget-title,
.widget h2.widget-title,
#secondary .widget-title,
#secondary h2.widget-title,
#tertiary .widget-title,
.site-footer .widget-title {
	font-family: "Cedarville Cursive", cursive;
	font-weight: 400;
	font-size: 1.75rem;
	color: #4d4843;
	letter-spacing: 0.02em;
	text-shadow: 0.4px 0.4px 0 rgba(0, 0, 0, 0.12);
	border-bottom: 1px dashed rgba(0, 0, 0, 0.2);
	padding-bottom: 0.2em;
}

/* WP Recipe Maker section labels */
.wprm-recipe-name,
.wprm-recipe-ingredients-header,
.wprm-recipe-instructions-header,
.wprm-recipe-notes-header,
.wprm-recipe-equipment-header,
.wprm-recipe-video-header,
.wprm-recipe-nutrition-header,
.wprm-recipe-group-name {
	font-family: "Cedarville Cursive", cursive;
	font-weight: 400;
	color: #4d4843;
}

/* LMR Recipe section labels — matches the WPRM headings above. */
.lmr-recipe-card .lmr-section-title,
.lmr-recipe-card .lmr-subsection-title {
	font-family: "Cedarville Cursive", cursive;
	font-weight: 400;
	color: #4d4843;
	letter-spacing: 0.02em;
}

/*
 * Compact masthead — ~75% less padding/margin than Twenty Sixteen defaults.
 */
.site-header {
	padding-top: 0.65625em;
	padding-bottom: 0.65625em;
}

.site-branding {
	margin-top: 0.21875em;
	margin-bottom: 0.21875em;
}

.site-description {
	padding-bottom: 0.75em;
}

@media screen and (min-width: 44.375em) {
	.site-header {
		padding-top: 0.984375em;
		padding-bottom: 0.984375em;
		padding-left: 1.923%;
		padding-right: 1.923%;
	}

	.site-branding {
		margin-top: 0.328125em;
		margin-bottom: 0.328125em;
	}
}

@media screen and (min-width: 56.875em) {
	.site-header {
		padding-left: 1.136%;
		padding-right: 1.136%;
	}
}

@media screen and (min-width: 61.5625em) {
	.site-header {
		padding-top: 1.3125em;
		padding-bottom: 1.3125em;
	}

	.site-branding,
	.site-header-menu,
	.header-image {
		margin-top: 0.4375em;
		margin-bottom: 0.4375em;
	}
}
