/*
 * Design 5, Union hall (src/lib/designs.ts). Loaded after main_style.css and
 * site.css. A picket-sign poster: black header, the caucus name on the home
 * page in tall condensed capitals on black, red buttons. Barlow for text,
 * Barlow Condensed for the logo, menu and headings. Content stays on white.
 */

html body { font-family: 'Barlow', Arial, sans-serif; font-size: 18px; color: #111111; background-color: #ffffff; }
#wrapper { background: #ffffff; }
body.full-width-off #wrapper-content { max-width: none; }
p, .paragraph { line-height: 1.6; }
a { color: #a00e1c; }

/* Header */
#header-wrap { background: #111111; }
#header { background: transparent; }
body.collapse #header { box-shadow: none; }
#logo .wsite-logo, #logo .wsite-logo a { font: 800 1.8em/1 'Barlow Condensed', 'Arial Narrow', sans-serif; letter-spacing: 0.02em; color: #ffffff; }
#header .nav li a { font: 600 0.9em 'Barlow Condensed', 'Arial Narrow', sans-serif; letter-spacing: 0.06em; color: #ffffff; }
#header .nav li.active > a { color: #ffffff !important; box-shadow: inset 0 -4px 0 #b0101f; }
#header .nav li a:hover, #header .nav li a:focus { color: #ffffff !important; text-decoration: underline; text-underline-offset: 5px; }
#nav .wsite-menu { border-color: #111111; }
#nav .wsite-menu li a { color: #111111 !important; }
#nav .wsite-menu li a:hover, #nav .wsite-menu li a:focus { color: #a00e1c !important; }
#nav-trigger { color: #ffffff; }
#header-wrap :focus-visible { outline-color: #ffffff !important; }
#header-wrap #nav .wsite-menu :focus-visible { outline-color: #131916 !important; }
#navmobile { background: #111111; }
#navmobile a { color: #ffffff; font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; text-transform: uppercase; letter-spacing: 0.04em; }
#navmobile :focus-visible { outline-color: #ffffff !important; }

/* Home: the caucus name as a poster headline on black. */
body.home-page .wsite-body-section .container { padding-top: 0; }
body.home-page #wsite-content h1.sr-only {
	position: static !important; width: auto; height: auto; margin: 0 0 1.2em; overflow: visible; clip: auto;
	white-space: normal; padding: 0.5em 0 0.9em; margin-top: -1px; color: #ffffff;
	/* Full-width band without widening the page: the border image paints 100vmax past each side. */
	border-image: linear-gradient(#111111, #111111) fill 0 / 0 / 0 100vmax;
	font: 800 clamp(2.2em, 6vw, 4em)/0.95 'Barlow Condensed', 'Arial Narrow', sans-serif; text-transform: uppercase; text-wrap: balance;
}

/* Content */
.wsite-body-section .container { max-width: calc(66ch + 100px); }
.wsite-content-title, .blog-title { font: 800 1.7em/1.05 'Barlow Condensed', 'Arial Narrow', sans-serif; text-transform: uppercase; color: #111111; text-wrap: balance; }
.content-heading { font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-size: 1.25em; text-transform: uppercase; letter-spacing: 0.02em; color: #111111; }
.wsite-button, .blog-button {
	font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 800 !important; font-size: 1em !important;
	letter-spacing: 0.08em; background: #b0101f !important; color: #ffffff !important; padding: 14px 28px !important;
}
.wsite-button-highlight { background: #b0101f !important; color: #ffffff !important; }
.wsite-button:hover, .blog-button:hover, .wsite-button-highlight:hover, .comment-form .blog-button:hover { background: #111111 !important; }
.paragraph li::marker { color: #b0101f; }

/* Blog */
.blog-date, .comment-date, .comment-note { color: #575757; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.8em; }
.blog-post-separator, hr.styled-hr { border-color: #111111; }
.blog-post-separator { border-bottom-width: 3px; }
.comment { border-left-color: #b0101f; }
.comments-heading { font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; text-transform: uppercase; color: #111111; }

/* Footer */
#footer-wrap { background: #111111; color: #bdbdbd; border-top: 6px solid #b0101f; }
#footer-wrap a { color: #ffffff; }
.footer-social .wsite-social-item { color: #bdbdbd !important; }
.footer-social .wsite-social-item:hover { color: #ffffff !important; }
#footer-wrap :focus-visible { outline-color: #ffffff !important; }

@media (max-width: 767px) {
	html body { font-size: 17px; }
	#logo .wsite-logo, #logo .wsite-logo a { font-size: 1.45em; }
}

/* 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; }
}
