/*
 * Design 3, DSA rose (src/lib/designs.ts). Loaded after main_style.css and
 * site.css. A red header and, on the home page, a red banner with the caucus
 * name (the page's h1, otherwise visually hidden). Public Sans for text,
 * Archivo for the logo, menu and headings. Red #b0101f carries white text at 7.1:1.
 */

html body { font-family: 'Public Sans', Arial, sans-serif; font-size: 18px; color: #222222; 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: #b0101f; }
#header { background: transparent; }
body.collapse #header { box-shadow: none; }
#logo .wsite-logo, #logo .wsite-logo a { font-family: 'Archivo', Arial, sans-serif; font-weight: 800; font-size: 1.4em; color: #ffffff; letter-spacing: 0.02em; }
#header .nav li a { font-family: 'Archivo', Arial, sans-serif; font-weight: 500; font-size: 0.75em; color: #ffffff; }
#header .nav li.active > a, #header .nav li a:hover, #header .nav li a:focus { color: #ffffff !important; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
#nav .wsite-menu { border-color: #e5c4c8; }
#nav .wsite-menu li a { color: #222222 !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; }
/* The dropdowns are white, so their focus outline goes back to dark. */
#header-wrap #nav .wsite-menu :focus-visible { outline-color: #131916 !important; }
#navmobile { background: #fbeaec; }
#navmobile a { color: #222222; }

/* Home: the caucus name as a banner that continues the header's red. */
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: 1.4em 0 1.6em; margin-top: -1px; color: #ffffff;
	/* Full-width band without widening the page: the border image paints 100vmax past each side. */
	border-image: linear-gradient(#b0101f, #b0101f) fill 0 / 0 / 0 100vmax;
	font: 800 clamp(1.8em, 4vw, 2.8em)/1.1 'Archivo', Arial, sans-serif; text-wrap: balance;
}

/* Content */
.wsite-body-section .container { max-width: calc(66ch + 100px); }
.wsite-content-title, .blog-title { font-family: 'Archivo', Arial, sans-serif; font-weight: 800; font-size: 1.5em; line-height: 1.2; color: #111111; text-wrap: balance; }
.content-heading { font-family: 'Archivo', Arial, sans-serif; color: #111111; }
.wsite-button, .blog-button {
	font-family: 'Archivo', Arial, sans-serif; font-weight: 800 !important; font-size: 0.8em !important;
	letter-spacing: 0.08em; background: #b0101f !important; color: #ffffff !important; padding: 15px 28px !important;
}
.wsite-button:hover, .blog-button:hover, .wsite-button-highlight:hover, .comment-form .blog-button:hover { background: #7f0b16 !important; }
.wsite-button-highlight { background: #b0101f !important; color: #ffffff !important; }
.paragraph li::marker { color: #b0101f; }

/* Blog */
.blog-date, .comment-date, .comment-note { color: #595959; }
.blog-post-separator { border-bottom-color: #e5c4c8; }
.comment { border-left-color: #b0101f; }
hr.styled-hr { border-top-color: #e5c4c8; }

/* Footer */
#footer-wrap { background: #1c1c1c; color: #d9d9d9; border-top: 0; }
#footer-wrap a { color: #ffffff; }
.footer-social .wsite-social-item { color: #d9d9d9 !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.15em; }
}

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