/* ============ The Nub — newsprint/editorial brand ============ */

/* Paper + ink */
body {
	background: #FAF7F0;
	color: #1A1712;
	font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
}

/* Masthead */
.site-branding .site-title a {
	font-family: 'Fraunces', Georgia, serif;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: #1A1712;
}
.site-description, .site-branding .site-description {
	color: #6F675C;
	font-family: 'Archivo', Arial, sans-serif;
	letter-spacing: 0.01em;
}

/* Headlines */
h1, h2, h3, h4, h5, h6,
.entry-title,
.wp-block-heading {
	font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
	color: #1A1712;
}

/* Homepage section titles read as newspaper section rules */
.home .wp-block-group.alignfull:not(.masthead) .wp-block-heading {
	border-top: 3px solid #1A1712;
	padding-top: 0.45em;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

/* Links */
a { color: #0F4C81; }
a:hover, a:focus { color: #C23A2B; }
.entry-content a { text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }

/* Card titles on the homepage */
.wp-block-latest-posts__post-title a { color: #1A1712; }
.wp-block-latest-posts__post-title a:hover { color: #0F4C81; }

/* Buttons */
.wp-element-button, .ct-button, input[type='submit'], .wp-block-button__link {
	background: #0F4C81;
	color: #fff;
	border-radius: 3px;
	font-family: 'Archivo', Arial, sans-serif;
}
.wp-element-button:hover, .wp-block-button__link:hover, input[type='submit']:hover {
	background: #C23A2B;
	color: #fff;
}

/* Primary nav */
.header-menu-1.menu-container a.ct-menu-link {
	font-family: 'Archivo', Arial, sans-serif;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	font-size: 12px;
	color: #1A1712;
}
.header-menu-1.menu-container a.ct-menu-link:hover {
	color: #0F4C81;
}
.header-menu-1.menu-container li.current-menu-item > a.ct-menu-link {
	color: #0F4C81 !important;
}

/* Dropdowns & the overflow "More" menu: paper background, readable ink text */
.ct-menu-container .sub-menu,
.header-menu-1 .sub-menu,
.ct-header [data-dropdown*="solid"] .sub-menu,
[data-dropdown] .sub-menu {
	background-color: #FAF7F0 !important;
	color: #1A1712 !important;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
}
.ct-menu-container .sub-menu .ct-menu-link,
.header-menu-1 .sub-menu .ct-menu-link,
[data-dropdown] .sub-menu .ct-menu-link {
	color: #1A1712 !important;
}
.ct-menu-container .sub-menu .ct-menu-link:hover,
.header-menu-1 .sub-menu .ct-menu-link:hover,
[data-dropdown] .sub-menu .ct-menu-link:hover {
	color: #0F4C81 !important;
	background: rgba(0, 0, 0, 0.04) !important;
}

/* Long-form reading */
.entry-content {
	font-size: 18px;
	line-height: 1.75;
}

/* ============ About page ============ */
.page-intro {
	padding: 40px 0 8px;
}
.page-intro > p:first-of-type {
	font-family: 'Archivo', Arial, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 13px;
	font-weight: 600;
	color: #0F4C81;
	margin: 0 0 10px;
}
.page-intro > p:last-of-type {
	color: #6F675C;
	font-size: 19px;
	margin: 0;
}
.pull-quote {
	font-size: 22px;
	color: #0F4C81;
	font-style: italic;
}
.newsletter-placeholder {
	background: #F1EBDF;
	border: 1px dashed #0F4C81;
	border-radius: 4px;
	padding: 20px 22px;
	color: #6F675C;
}

/* ============ Homepage masthead ============ */
/* Tighten the top of the homepage: remove the redundant "Home" page title
   and the large default top spacing so THE NUB sits close under the nav. */
.home .hero-section {
	display: none;
}
.home .ct-container-full {
	padding-top: 0;
}
.masthead {
	text-align: center;
	padding: 26px var(--wp--custom--nub--pad, 24px) 10px;
}
.masthead > p:first-of-type {
	font-family: 'Archivo', Arial, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 13px;
	font-weight: 600;
	color: #0F4C81;
	margin: 0 0 18px;
}
.masthead h1 {
	font-family: 'Fraunces', Georgia, serif;
	font-weight: 700;
	font-size: clamp(3rem, 8vw, 5rem);
	line-height: 0.98;
	letter-spacing: 0.01em;
	text-transform: none;
	color: #1A1712;
	margin: 0 0 18px;
}
.masthead .wp-block-separator {
	max-width: 120px;
	margin: 0 auto 18px;
	border-top: 3px solid #1A1712;
}
.masthead > p:last-of-type {
	font-family: 'Archivo', Arial, sans-serif;
	font-size: 15px;
	letter-spacing: 0.02em;
	color: #6F675C;
	margin: 0;
}
