/*
 * Design 4, Open letter (src/lib/designs.ts). Loaded after main_style.css and
 * site.css. The home page is a letter to members, so the site is set like
 * one: Source Serif 4 at 19px in a narrow column on a cool grey page, IBM Plex
 * Sans for the logo and menu, navy ink, and a star from the caucus's name.
 */

html body { font-family: 'Source Serif 4', Georgia, serif; font-size: 19px; color: #1f2a3a; background-color: #eef1f5; }
#wrapper { background: #eef1f5; }
body.full-width-off #wrapper-content, body.full-width-off #header { max-width: 1040px; }
p, .paragraph { line-height: 1.62; }
a { color: #14213d; text-decoration-thickness: 1px; text-underline-offset: 2px; }

/* Header */
#header-wrap { background: transparent; }
#header { background: #ffffff; border-bottom: 2px solid #14213d; }
#logo .wsite-logo, #logo .wsite-logo a { font: 600 0.95em/1.2 'IBM Plex Sans', Arial, sans-serif; letter-spacing: 0.22em; color: #14213d; }
#wsite-title::before { content: '\2605'; margin-right: 0.5em; letter-spacing: 0; }
.nav li a { font-family: 'IBM Plex Sans', Arial, sans-serif; font-size: 0.68em; letter-spacing: 0.06em; color: #14213d; }
.nav li.active > a { color: #14213d !important; font-weight: 600; }
.nav li a:hover, .nav li a:focus { color: #14213d !important; }
#nav .wsite-menu { border-color: #c9d1dc; }
#navmobile { background: #eef1f5; font-family: 'IBM Plex Sans', Arial, sans-serif; }
#nav-trigger { color: #14213d; }

/* Home: the caucus name as the letter's italic heading. */
body.home-page #wsite-content h1.sr-only {
	position: static !important; width: auto; height: auto; margin: 0 0 1em; overflow: visible; clip: auto;
	white-space: normal; font: italic 400 1.5em/1.25 'Source Serif 4', Georgia, serif; color: #14213d; text-wrap: balance;
}

/* Content */
.wsite-body-section .container { max-width: calc(62ch + 100px); }
.wsite-content-title, .blog-title { font-family: 'Source Serif 4', Georgia, serif; font-weight: 600; font-size: 1.5em; line-height: 1.2; color: #14213d; text-wrap: balance; }
.content-heading { font-family: 'IBM Plex Sans', Arial, sans-serif; font-size: 0.9em; font-weight: 600; letter-spacing: 0.04em; color: #14213d; }
.wsite-button, .blog-button {
	font-family: 'IBM Plex Sans', Arial, sans-serif; font-weight: 500 !important; font-size: 0.72em !important;
	letter-spacing: 0.06em; padding: 11px 20px !important;
	background: transparent !important; color: #14213d !important; box-shadow: inset 0 0 0 1.5px #14213d;
}
.wsite-button-highlight { background: transparent !important; color: #14213d !important; }
.wsite-button:hover, .blog-button:hover, .wsite-button-highlight:hover, .comment-form .blog-button:hover { background: #14213d !important; color: #ffffff !important; }
/* Real list markers, coloured: list-style: none would make Safari stop announcing the list. */
.paragraph li::marker { color: #14213d; }

/* Blog */
.blog-date, .comment-date, .comment-note { color: #46536a; font-family: 'IBM Plex Sans', Arial, sans-serif; font-size: 0.8em; }
.blog-post-separator, hr.styled-hr { border-color: #c9d1dc; }
.comment { border-left-color: #c9d1dc; }
.comments-heading, .comments-subheading, .comment-author { color: #14213d; }
.blog-sidebar .paragraph, .blog-sidebar p { font-size: 0.85em; }

/* Footer */
#footer-wrap { font-family: 'IBM Plex Sans', Arial, sans-serif; font-size: 0.75em; color: #46536a; border-top: 1px solid #c9d1dc; }
#footer-wrap a { color: #14213d; }

@media (max-width: 767px) {
	html body { font-size: 18px; }
}

/* The theme's 1px corner shows as a seam against coloured header bands. */
#header { border-radius: 0; }
/* The theme caps the logo at 300px, which wraps larger logos; keep it on one line where the menu sits beside it. */
@media (min-width: 1061px) {
	#logo { max-width: none; white-space: nowrap; }
}
