/*!
Theme Name: upropsa
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: upropsa
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

upropsa is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
	- Footer
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments
# Pages
	- Front page
	- About

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/* Uncomment one of the sample layouts below, or add your own. */

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.site-header {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1em;
	padding: 1em 1.5em;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.site-branding {
	order: 1;
}

.site-branding .site-title {
	margin: 0;
	font-size: 1.375rem;
	font-weight: 800;
}

.site-branding .site-title a {
	color: #111;
	text-decoration: none;
}

.site-branding .site-description {
	display: none;
}

.main-navigation {
	display: block;
	order: 2;
}

.menu-toggle {
	display: block;
	padding: 0.5em;
	background: none;
	border: none;
	cursor: pointer;
}

.menu-toggle__bars {
	display: flex;
	flex-direction: column;
	gap: 5px;
	width: 24px;
}

.menu-toggle__bar {
	display: block;
	height: 2px;
	background: #111;
	border-radius: 1px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.main-navigation__panel {
	display: none;
}

.main-navigation__cta {
	display: block;
	margin-top: 1em;
	padding: 0.65em 1.25em;
	background: #c0392b;
	border-radius: 4px;
	color: #fff !important;
	font-weight: 700;
	text-align: center;
	text-decoration: none !important;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	color: #111;
	text-decoration: none;
}

.main-navigation .current-menu-item > a {
	color: #c0392b;
	text-decoration: underline;
	text-decoration-color: #c0392b;
	text-underline-offset: 0.3em;
}

/* Small menu (toggled dropdown). */
.main-navigation.toggled .main-navigation__panel {
	display: block;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 100;
	padding: 1em 1.5em;
	background: #fff;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
}

.main-navigation.toggled .menu-toggle__bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.main-navigation.toggled .menu-toggle__bar:nth-child(2) {
	opacity: 0;
}

.main-navigation.toggled .menu-toggle__bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation__panel {
		display: flex !important;
		position: static;
		align-items: center;
		gap: 1.75em;
		padding: 0;
		background: none;
		box-shadow: none;
	}

	.main-navigation ul {
		display: flex;
		align-items: center;
		gap: 1.75em;
	}

	.main-navigation__cta {
		margin-top: 0;
	}
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Single post view
--------------------------------------------- */

/*
 * WordPress adds "single-post" to the body class automatically for
 * any singular post of type "post" - matches design/Single post
 * view.png. Content column on the left, share/related/newsletter
 * aside on the right.
 */
.single-post .single-post-article {
	max-width: 1200px;
	margin: 0 auto;
	padding: 3em 1.5em 4em;
}

.single-post .single-post__breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5em;
	margin-bottom: 1.5em;
	font-size: 0.8125rem;
	color: #777;
}

.single-post .single-post__breadcrumb a {
	color: #777;
	text-decoration: none;
}

.single-post .single-post__breadcrumb-sep {
	color: #bbb;
}

.single-post .single-post__breadcrumb-current {
	color: #111;
	font-weight: 700;
}

.single-post .single-post__layout {
	display: grid;
	gap: 2.5em;
	grid-template-columns: 1fr;
}

@media screen and (min-width: 56.875em) {

	.single-post .single-post__layout {
		grid-template-columns: 2fr 1fr;
		align-items: start;
	}
}

.single-post .single-post__badge {
	display: inline-block;
	margin-bottom: 1em;
	padding: 0.4em 0.8em;
	background: #c0392b;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.single-post .single-post__title {
	margin: 0 0 1em;
	font-size: 2.25rem;
	font-weight: 800;
	line-height: 1.2;
}

.single-post .single-post__byline {
	display: flex;
	align-items: center;
	gap: 0.75em;
	margin-bottom: 2em;
}

.single-post .single-post__byline-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	flex-shrink: 0;
	background: #eef0fc;
	border-radius: 50%;
	color: #555;
}

.single-post .single-post__byline-text {
	display: flex;
	flex-direction: column;
}

.single-post .single-post__byline-author {
	font-weight: 700;
	color: #111;
}

.single-post .single-post__byline-meta {
	font-size: 0.8125rem;
	color: #777;
}

.single-post .single-post__media {
	margin-bottom: 2em;
}

.single-post .single-post__media img {
	display: block;
	width: 100%;
	height: auto;
}

.single-post .single-post__content {
	margin-bottom: 2.5em;
	color: #333;
	line-height: 1.7;
}

.single-post .single-post__content > :last-child {
	margin-bottom: 0;
}

.single-post .single-post__back {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	padding: 0.85em 1.5em;
	background: #0a0a0a;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.single-post .single-post__back:hover {
	background: #c0392b;
}

.single-post .single-post__sidebar {
	display: flex;
	flex-direction: column;
	gap: 1.5em;
}

.single-post .single-post__sidebar-title {
	margin: 0 0 1.25em;
	padding-bottom: 0.75em;
	font-size: 1rem;
	font-weight: 800;
	border-bottom: 1px solid #e2e2e2;
}

.single-post .single-post__share,
.single-post .single-post__related {
	padding: 1.75em;
	background: #fff;
	border: 1px solid #e2e2e2;
}

.single-post .single-post__share-buttons {
	display: flex;
	gap: 0.75em;
}

.single-post .single-post__share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	background: #f5f4fa;
	border: none;
	color: #333;
	cursor: pointer;
}

.single-post .single-post__share-btn:hover {
	background: #eef0fc;
	color: #c0392b;
}

.single-post .single-post__share-btn.is-copied {
	background: #c0392b;
	color: #fff;
}

.single-post .single-post__related-list {
	display: flex;
	flex-direction: column;
	gap: 1.5em;
	margin: 0;
	padding: 0;
	list-style: none;
}

.single-post .single-post__related-media {
	display: block;
	margin-bottom: 0.75em;
}

.single-post .single-post__related-media img {
	display: block;
	width: 100%;
	height: 140px;
	object-fit: cover;
}

.single-post .single-post__related-category {
	display: block;
	margin-bottom: 0.3em;
	color: #c0392b;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.single-post .single-post__related-title {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.4;
}

.single-post .single-post__related-title a {
	color: #111;
	text-decoration: none;
}

.single-post .single-post__newsletter {
	padding: 1.75em;
	background: #0a0a0a;
	color: #fff;
}

.single-post .single-post__newsletter-title {
	margin: 0 0 0.5em;
	font-size: 1.25rem;
	font-weight: 800;
}

.single-post .single-post__newsletter-text {
	margin: 0 0 1.25em;
	color: rgba(255, 255, 255, 0.7);
	line-height: 1.6;
}

.single-post .single-post__newsletter-label {
	display: block;
	margin-bottom: 0.4em;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	color: rgba(255, 255, 255, 0.7);
	text-transform: uppercase;
}

.single-post .single-post__newsletter-form input[type="email"] {
	display: block;
	width: 100%;
	margin-bottom: 1em;
	padding: 0.75em 1em;
	background: #1a1a1a;
	border: 1px solid #333;
	color: #fff;
	font: inherit;
}

.single-post .single-post__newsletter-form button {
	width: 100%;
	padding: 0.85em 1.5em;
	background: #c0392b;
	border: none;
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.single-post .single-post__newsletter-form button:hover {
	background: #a3311f;
}

.single-post .single-post__newsletter-disclaimer {
	margin: 1em 0 0;
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.75rem;
	text-align: center;
}

/* Search results
--------------------------------------------- */

/*
 * WordPress adds "search-results" to the body class automatically
 * when a search has matches - matches design/Post search.png.
 * Filters (date/category) on the left, results list on the right.
 */
.search-results .search-results__header {
	max-width: 1200px;
	margin: 0 auto;
	padding: 3em 1.5em 2em;
}

.search-results .search-results__title {
	margin: 0 0 0.4em;
	font-size: 2rem;
	font-weight: 800;
	line-height: 1.25;
}

.search-results .search-results__subtitle {
	margin: 0 0 1.5em;
	color: #777;
}

.search-results .search-results__search {
	position: relative;
	display: flex;
	align-items: stretch;
	max-width: 700px;
}

.search-results .search-results__search-icon {
	position: absolute;
	top: 50%;
	left: 1em;
	display: inline-flex;
	color: #999;
	transform: translateY(-50%);
}

.search-results .search-results__search-input {
	flex: 1;
	padding: 0.85em 7em 0.85em 2.75em;
	border: 1px solid #ddd;
	border-radius: 0;
	font: inherit;
	appearance: none;
}

.search-results .search-results__search-submit {
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	padding: 0 1.75em;
	background: #0a0a0a;
	border: none;
	border-radius: 0;
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.search-results .search-results__search-submit:hover {
	background: #c0392b;
}

.search-results .search-results__layout {
	display: grid;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5em 4em;
	gap: 2.5em;
	grid-template-columns: 1fr;
}

@media screen and (min-width: 56.875em) {

	.search-results .search-results__layout {
		grid-template-columns: 240px 1fr;
		align-items: start;
	}
}

.search-results .search-results__filters {
	display: flex;
	flex-direction: column;
	gap: 2em;
}

.search-results .search-results__filter-title {
	margin: 0 0 0.9em;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	color: #777;
	text-transform: uppercase;
}

.search-results .search-results__filter-list {
	display: flex;
	flex-direction: column;
	gap: 0.7em;
	margin: 0;
	padding: 0;
	list-style: none;
}

.search-results .search-results__filter-option {
	display: flex;
	align-items: center;
	gap: 0.6em;
	color: #444;
	font-size: 0.9375rem;
	text-decoration: none;
}

.search-results .search-results__filter-option.is-active {
	color: #111;
	font-weight: 700;
}

.search-results .search-results__filter-indicator {
	position: relative;
	display: inline-block;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	border: 1px solid #ccc;
}

.search-results .search-results__filter-option--radio .search-results__filter-indicator {
	border-radius: 50%;
}

.search-results .search-results__filter-option--checkbox .search-results__filter-indicator {
	border-radius: 3px;
}

.search-results .search-results__filter-option.is-active .search-results__filter-indicator {
	border-color: #c0392b;
}

.search-results .search-results__filter-option--radio.is-active .search-results__filter-indicator::after {
	content: "";
	position: absolute;
	inset: 3px;
	background: #c0392b;
	border-radius: 50%;
}

.search-results .search-results__filter-option--checkbox.is-active .search-results__filter-indicator {
	background: #c0392b;
}

.search-results .search-results__filter-option--checkbox.is-active .search-results__filter-indicator::after {
	content: "";
	position: absolute;
	top: 1px;
	left: 4px;
	width: 5px;
	height: 9px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.search-results .search-results__list {
	display: flex;
	flex-direction: column;
	gap: 1.5em;
	margin-bottom: 2.5em;
}

.search-results .search-results__card {
	padding: 1.75em;
	background: #fff;
	border: 1px solid #e2e2e2;
}

.search-results .search-results__card--media {
	display: flex;
	gap: 1.5em;
	align-items: flex-start;
}

@media screen and (max-width: 37.5em) {

	.search-results .search-results__card--media {
		flex-direction: column;
	}
}

.search-results .search-results__card-media {
	display: block;
	flex: 0 0 220px;
}

.search-results .search-results__card-media img {
	display: block;
	width: 100%;
	height: 140px;
	object-fit: cover;
}

.search-results .search-results__card-body {
	flex: 1;
	min-width: 0;
}

.search-results .search-results__card-meta {
	display: flex;
	align-items: center;
	gap: 0.75em;
	margin-bottom: 0.75em;
}

.search-results .search-results__card-badge {
	display: inline-block;
	padding: 0.35em 0.7em;
	background: #eef0fc;
	color: #4a4fc4;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.search-results .search-results__card-date {
	font-size: 0.8125rem;
	color: #999;
}

.search-results .search-results__card-title {
	margin: 0 0 0.5em;
	font-size: 1.375rem;
	font-weight: 800;
	line-height: 1.3;
}

.search-results .search-results__card-title a {
	color: #111;
	text-decoration: none;
}

.search-results .search-results__card-excerpt {
	margin-bottom: 1em;
	color: #555;
	line-height: 1.6;
}

.search-results .search-results__card-excerpt p {
	margin: 0;
}

.search-results .search-results__card-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	font-weight: 700;
	color: #111;
	text-decoration: none;
}

.search-results .search-results__main .pagination {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.search-results .search-results__main .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	width: 100%;
}

.search-results .search-results__main .page-numbers {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	min-width: 2.25em;
	height: 2.25em;
	padding: 0 0.6em;
	justify-content: center;
	color: #111;
	text-decoration: none;
	border: 1px solid #e2e2e2;
}

.search-results .search-results__main .page-numbers.current {
	background: #0a0a0a;
	color: #fff;
	border-color: #0a0a0a;
}

.search-results .search-results__main .page-numbers.dots {
	border: none;
}

.search-results .search-results__main .page-numbers.prev,
.search-results .search-results__main .page-numbers.next {
	border: none;
}

.search-results .search-results__main .page-numbers:hover:not(.current):not(.dots) {
	border-color: #c0392b;
	color: #c0392b;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/* Footer
--------------------------------------------- */

/* Newsletter callout, matching design/footer.png (top black band). */
.footer-newsletter {
	padding: 4em 1.5em;
	background: #050505;
	color: #fff;
}

.footer-newsletter__content {
	max-width: 640px;
}

.footer-newsletter__title {
	margin: 0 0 0.6em;
	font-size: 2rem;
	font-weight: 800;
}

.footer-newsletter__text {
	margin: 0 0 1.5em;
	color: #b3b3b3;
	line-height: 1.6;
}

.footer-newsletter__form {
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
	margin-bottom: 0.75em;
}

.footer-newsletter__input {
	flex: 1 1 260px;
	padding: 0.85em 1em;
	border: 1px solid #333;
	border-radius: 4px;
	background: #1a1a1a;
	color: #fff;
}

.footer-newsletter__input::placeholder {
	color: #888;
}

.footer-newsletter__submit {
	flex: 0 0 auto;
	padding: 0.85em 1.75em;
	border: 0;
	border-radius: 4px;
	background: #c0392b;
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.footer-newsletter__disclaimer {
	margin: 0;
	font-size: 0.8125rem;
	color: #888;
}

.footer-newsletter__disclaimer a {
	color: #b3b3b3;
}

/* Main footer, matching design/footer.png (lower lavender band). */
.site-footer__main {
	padding: 4em 1.5em 2em;
	background: #dde4fb;
}

.footer-columns {
	display: grid;
	max-width: 1200px;
	margin: 0 auto 3em;
	gap: 2.5em;
	grid-template-columns: 1fr;
}

.footer-columns__logo {
	margin: 0 0 0.6em;
	font-size: 1.375rem;
	font-weight: 800;
	color: #111;
}

.footer-columns__description {
	max-width: 320px;
	margin: 0 0 1.25em;
	color: #555;
	line-height: 1.6;
}

.footer-columns__social {
	display: flex;
	gap: 0.75em;
}

.footer-columns__social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 8px;
	background: #111;
	color: #fff;
}

.footer-columns__heading {
	margin: 0 0 1em;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	color: #111;
	text-transform: uppercase;
}

.footer-columns__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-columns__list li {
	margin-bottom: 0.85em;
}

.footer-columns__list a {
	color: #444;
	text-decoration: none;
}

.site-info {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1em;
	max-width: 1200px;
	margin: 0 auto;
	padding-top: 2em;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.site-info__copyright {
	margin: 0;
	font-size: 0.875rem;
	color: #555;
}

.site-info__links-list {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5em;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-info__links-list a {
	font-size: 0.875rem;
	font-weight: 600;
	color: #333;
	text-decoration: none;
}

@media screen and (min-width: 56.875em) {

	.footer-columns {
		grid-template-columns: repeat(2, 1fr);
	}
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
# Pages
--------------------------------------------------------------*/

/*
 * Loaded last so page-specific rules can override components/utilities.
 * WordPress adds a "page-{slug}" class to every page (see
 * upropsa_body_classes() in inc/template-functions.php) - add one
 * partial per page here and scope its rules to that class, e.g.
 * "sass/pages/_about.scss" with a ".page-about { ... }" selector.
 */

/* Front page
--------------------------------------------- */

/*
 * .page-home-page is added by upropsa_body_classes() for the page
 * using the Home Page template.
 */
.page-home-page .site-main {
	margin-top: 0;
}

.page-home-page {

	/* Hero
  --------------------------------------------- */

	/*
   * Single background image (bg_image ACF field), art-directed per
   * breakpoint with background-size: cover + a different min-height,
   * matching design/desktop.png and design/mobile.png.
   */
}

.page-home-page .hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 60vh;
	padding: 3em 1.5em;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	color: #fff;
}

.page-home-page .hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.45) 60%, rgba(0, 0, 0, 0.3) 100%);
}

@media screen and (max-width: 37.5em) {

	.page-home-page .hero {
		min-height: 130vw;
		align-items: flex-start;
		padding-top: 4em;
	}
}

.page-home-page .hero__inner {
	position: relative;
	max-width: 700px;
	z-index: 1;
}

.page-home-page .hero__badge {
	display: inline-block;
	margin-bottom: 1em;
	padding: 0.4em 0.8em;
	background: #c0392b;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.page-home-page .hero__title {
	margin: 0 0 0.6em;
	font-size: 2.5rem;
	font-weight: 800;
	line-height: 1.15;
}

.page-home-page .hero__text {
	margin-bottom: 1.5em;
	font-size: 1.125rem;
	line-height: 1.6;
}

.page-home-page .hero__text p:last-child {
	margin-bottom: 0;
}

.page-home-page .hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
}

.page-home-page .hero__cta {
	display: inline-block;
	padding: 0.85em 1.75em;
	border-radius: 4px;
	font-weight: 700;
	text-decoration: none;
}

.page-home-page .hero__cta--primary {
	background: #c0392b;
	color: #fff;
}

.page-home-page .hero__cta--secondary {
	background: rgba(0, 0, 0, 0.4);
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: #fff;
}

.page-home-page {

	/* About
  --------------------------------------------- */

	/* "March Toward November" section, adapted from design/about.png
     (stats row and volunteer-hours bar dropped; photo swapped in). */
}

.page-home-page .about {
	padding: 4em 1.5em;
	background: #d8e3fa;
}

.page-home-page .about__inner {
	display: grid;
	max-width: 1200px;
	margin: 0 auto;
	gap: 2em;
	grid-template-columns: 1fr;
	align-items: center;
}

@media screen and (min-width: 56.875em) {

	.page-home-page .about__inner {
		grid-template-columns: 1fr 1fr;
		gap: 3em;
	}
}

.page-home-page .about__title {
	margin: 0 0 0.6em;
	font-size: 2rem;
	font-weight: 800;
}

.page-home-page .about__text {
	margin: 0;
	color: #555;
	line-height: 1.6;
}

.page-home-page .about__media img {
	display: block;
	width: 100%;
	height: auto;
}

.page-home-page {

	/* Carousel
  --------------------------------------------- */

	/* Image carousel populated from the "carousel-images" ACF field group.
     Shows 3 images at a time (kept in sync with $carousel-per-page in
     page-templates/home-page.php and VISIBLE_COUNT in js/carousel.js);
     the container is deliberately small and images are letterboxed
     (object-fit: contain) so each keeps its native aspect ratio instead
     of being cropped or blown up. */
}

.page-home-page .carousel {
	padding: 4em 1.5em;
}

.page-home-page .carousel__inner {
	position: relative;
	max-width: 640px;
	margin: 0 auto;
}

.page-home-page .carousel__viewport {
	overflow: hidden;
}

.page-home-page .carousel__track {
	display: flex;
	gap: 1em;
	margin: 0;
	padding: 0;
	list-style: none;
	transition: transform 0.4s ease;
}

.page-home-page .carousel__slide {
	display: flex;
	flex: 0 0 calc((100% - 2em) / 3);
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	height: 220px;
}

@media screen and (max-width: 37.5em) {

	.page-home-page .carousel__slide {
		height: 130px;
	}
}

.page-home-page .carousel__slide img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

.page-home-page .carousel__arrow {
	position: absolute;
	top: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	background: #0a0a0a;
	border: none;
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	transform: translateY(-50%);
}

.page-home-page .carousel__arrow:hover {
	background: #c0392b;
}

.page-home-page .carousel__arrow--prev {
	left: -22px;
}

.page-home-page .carousel__arrow--next {
	right: -22px;
}

@media screen and (max-width: 37.5em) {

	.page-home-page .carousel__arrow {
		width: 36px;
		height: 36px;
	}

	.page-home-page .carousel__arrow--prev {
		left: 0.5em;
	}

	.page-home-page .carousel__arrow--next {
		right: 0.5em;
	}
}

.page-home-page .carousel__dots {
	display: flex;
	justify-content: center;
	gap: 0.5em;
	margin-top: 1.5em;
}

.page-home-page .carousel__dot {
	width: 10px;
	height: 10px;
	padding: 0;
	background: #d8d8d8;
	border: none;
	border-radius: 50%;
	cursor: pointer;
}

.page-home-page .carousel__dot.is-active {
	background: #c0392b;
}

.page-home-page {

	/* Articles
  --------------------------------------------- */

	/* "Latest News & Updates" section, matching design/articles.png. */
}

.page-home-page .articles {
	padding: 4em 1.5em;
	background: #f5f4fa;
}

.page-home-page .articles__header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1em;
	max-width: 1200px;
	margin: 0 auto 2.5em;
}

.page-home-page .articles__title {
	margin: 0 0 0.3em;
	font-size: 2rem;
	font-weight: 800;
}

.page-home-page .articles__subtitle {
	margin: 0;
	color: #555;
}

.page-home-page .articles__view-all {
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	white-space: nowrap;
	color: #111;
	text-decoration: none;
	text-transform: uppercase;
}

.page-home-page .articles__grid {
	display: grid;
	max-width: 1200px;
	margin: 0 auto;
	gap: 2em;
	grid-template-columns: 1fr;
}

@media screen and (min-width: 56.875em) {

	.page-home-page .articles__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.page-home-page .articles__card {
	display: flex;
	flex-direction: column;
	background: #fff;
}

.page-home-page .articles__card-media {
	display: block;
}

.page-home-page .articles__card-media img {
	display: block;
	width: 100%;
	height: 220px;
	object-fit: cover;
}

.page-home-page .articles__card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1.5em;
}

.page-home-page .articles__card-date {
	margin-bottom: 0.5em;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	color: #c0392b;
	text-transform: uppercase;
}

.page-home-page .articles__card-title {
	margin: 0 0 0.6em;
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1.3;
}

.page-home-page .articles__card-title a {
	color: #111;
	text-decoration: none;
}

.page-home-page .articles__card-excerpt {
	margin: 0 0 1.5em;
	color: #555;
	line-height: 1.6;
}

.page-home-page .articles__card-link {
	margin-top: auto;
	font-weight: 700;
	color: #111;
	text-decoration: none;
}

.page-home-page {

	/* Core priorities blocks
  --------------------------------------------- */

	/* "Our Core Priorities" section, matching design/blocks.png. */
}

.page-home-page .blocks {
	padding: 4em 1.5em;
}

.page-home-page .blocks__header {
	max-width: 640px;
	margin: 0 auto 3em;
	text-align: center;
}

.page-home-page .blocks__title {
	position: relative;
	display: inline-block;
	margin: 0 0 1em;
	padding-bottom: 0.6em;
	font-size: 2rem;
	font-weight: 800;
}

.page-home-page .blocks__title::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 48px;
	height: 3px;
	background: #c0392b;
	transform: translateX(-50%);
}

.page-home-page .blocks__subtitle {
	margin: 0;
	color: #555;
	line-height: 1.6;
}

.page-home-page .blocks__grid {
	display: grid;
	max-width: 1200px;
	margin: 0 auto;
	gap: 1.5em;
	grid-template-columns: 1fr;
}

@media screen and (min-width: 56.875em) {

	.page-home-page .blocks__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.page-home-page .long-block,
.page-home-page .short-block {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 2.5em;
}

@media screen and (min-width: 56.875em) {

	.page-home-page .long-block {
		grid-column: span 2;
	}

	.page-home-page .short-block {
		grid-column: span 1;
	}
}

.page-home-page .block__icon {
	display: inline-flex;
	margin-bottom: 1.5em;
	color: #c0392b;
}

.page-home-page .block__content p {
	margin: 0 0 1.5em;
	line-height: 1.6;
}

.page-home-page .block__content p:last-child {
	margin-bottom: 0;
}

.page-home-page .block__link {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	margin-top: 1.5em;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	color: #111;
	text-decoration: none;
	text-transform: uppercase;
}

.page-home-page .long-block {
	background: #eef0fc;
}

.page-home-page .long-block .block__content p {
	color: #444;
}

.page-home-page .long-block--media {
	position: relative;
	color: #fff;
	background-position: center;
	background-size: cover;
	background-color: #0a0a0a;
	background-blend-mode: darken;
}

.page-home-page .long-block--media::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
}

.page-home-page .long-block--media .block__content {
	position: relative;
	z-index: 1;
}

.page-home-page .long-block--media .block__content p {
	color: #eee;
}

.page-home-page .short-block {
	background: #fff;
	border: 1px solid #e2e2e2;
}

.page-home-page .short-block .block__content p {
	color: #444;
}

.page-home-page .short-block--dark {
	background: #0a0a0a;
	border: none;
	color: #fff;
}

.page-home-page .short-block--dark .block__content p {
	color: #ccc;
}

/* About page
--------------------------------------------- */
.page-about-page {
	outline: 10px solid #f00;
}

/* Manifesto
--------------------------------------------- */

/*
 * .page-manifesto is added by upropsa_body_classes() for the page
 * using the Manifesto template. The image (image ACF field) sits in
 * the left column and stays pinned in view as the content scrolls;
 * the left column is hidden on mobile since there's no room to
 * spare next to the content.
 */
.page-manifesto .manifesto {
	display: grid;
	max-width: 1200px;
	margin: 0 auto;
	padding: 4em 1.5em;
	gap: 2em;
	grid-template-columns: 1fr;
}

@media screen and (min-width: 56.875em) {

	.page-manifesto .manifesto {
		grid-template-columns: 1fr 1fr;
		align-items: start;
	}
}

.page-manifesto .manifesto__media {
	display: none;
}

@media screen and (min-width: 56.875em) {

	.page-manifesto .manifesto__media {
		position: sticky;
		top: 2em;
		display: block;
	}
}

.page-manifesto .manifesto__image {
	display: block;
	width: 50%;
	height: auto;
	margin: auto;
	padding-top: 2rem;
}

.page-manifesto .manifesto__content {
	color: #444;
	line-height: 1.6;
}

/* Get Involved
--------------------------------------------- */

/*
 * .page-get-involved is added by upropsa_body_classes() for the page
 * using the Get Involved template, matching design/getinvolved.png.
 * The volunteer form on the right comes from the "contact_form_shortcode"
 * ACF field (a Contact Form 7 shortcode) - this file only styles the
 * card it sits in, not the form markup itself.
 */
.page-get-involved .involved-intro {
	padding: 4em 1.5em 3em;
	text-align: center;
}

.page-get-involved .involved-intro__inner {
	max-width: 700px;
	margin: 0 auto;
}

.page-get-involved .involved-intro__eyebrow {
	display: block;
	margin-bottom: 0.75em;
	color: #c0392b;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.page-get-involved .involved-intro__title {
	margin: 0 0 0.6em;
	font-size: 2.5rem;
	font-weight: 800;
	line-height: 1.15;
}

.page-get-involved .involved-intro__text {
	margin: 0;
	color: #555;
	line-height: 1.6;
}

.page-get-involved .involved-intro__text p:last-child {
	margin-bottom: 0;
}

.page-get-involved .involved-media {
	padding: 0 1.5em;
}

.page-get-involved .involved-media__image {
	display: block;
	width: 100%;
	max-width: 1200px;
	height: 380px;
	margin: 0 auto;
	border-radius: 8px;
	object-fit: cover;
}

@media screen and (max-width: 37.5em) {

	.page-get-involved .involved-media__image {
		height: 220px;
	}
}

.page-get-involved .involved {
	padding: 4em 1.5em;
}

.page-get-involved .involved__inner {
	display: grid;
	max-width: 1200px;
	margin: 0 auto;
	gap: 2em;
	grid-template-columns: 1fr;
	align-items: center;
}

@media screen and (min-width: 56.875em) {

	.page-get-involved .involved__inner {
		grid-template-columns: 1fr 1fr;
		gap: 4em;
	}
}

.page-get-involved .involved__content p {
	margin: 0 0 1.25em;
	color: #444;
	line-height: 1.6;
}

.page-get-involved .involved__content p:last-child {
	margin-bottom: 0;
}

.page-get-involved .involved__form {
	padding: 2.5em;
	background: #fff;
	border: 1px solid #e2e2e2;
}

.page-get-involved .involved__form label {
	display: block;
	margin-bottom: 0.4em;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.page-get-involved .involved__form {

	/*
   * CF7 only line-breaks a field onto its own line when the form
   * template includes a literal <br /> after the label text (as it
   * does for "Your name"/"Your email"). Force every field wrapper
   * onto its own line here instead, so fields render consistently
   * under their labels regardless of how the form template is written.
   */
}

.page-get-involved .involved__form .wpcf7-form-control-wrap {
	display: block;
	margin-top: 0.4em;
}

.page-get-involved .involved__form input[type="text"],
.page-get-involved .involved__form input[type="email"],
.page-get-involved .involved__form input[type="tel"],
.page-get-involved .involved__form input[type="url"],
.page-get-involved .involved__form input[type="number"],
.page-get-involved .involved__form textarea,
.page-get-involved .involved__form select {
	display: block;
	width: 100%;
	margin-bottom: 1.25em;
	padding: 0.75em 1em;
	border: 1px solid #ddd;
	font: inherit;
}

.page-get-involved .involved__form input[type="submit"],
.page-get-involved .involved__form button {
	padding: 0.85em 1.75em;
	background: #0a0a0a;
	border: none;
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.page-get-involved .involved__form input[type="submit"]:hover,
.page-get-involved .involved__form button:hover {
	background: #c0392b;
}

/* News
--------------------------------------------- */

/*
 * .page-updates is added by upropsa_body_classes() for the "Updates"
 * page (slug "updates"), which uses the News template
 * (page-templates/news.php), matching design/News.png. Featured post
 * on the left, next 3 posts as a "Breaking News" list on the right.
 */
.page-updates .news {
	max-width: 1200px;
	margin: 0 auto;
	padding: 3em 1.5em 4em;
}

.page-updates .news__breadcrumb {
	display: flex;
	align-items: center;
	gap: 0.5em;
	margin-bottom: 2em;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.page-updates .news__breadcrumb a {
	color: #777;
	text-decoration: none;
}

.page-updates .news__breadcrumb-sep {
	color: #bbb;
}

.page-updates .news__breadcrumb-current {
	color: #c0392b;
}

.page-updates .news__grid {
	display: grid;
	gap: 2em;
	grid-template-columns: 1fr;
}

@media screen and (min-width: 56.875em) {

	.page-updates .news__grid {
		grid-template-columns: 2fr 1fr;
		align-items: start;
	}
}

.page-updates .news__featured {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 480px;
	padding: 2.5em;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	background-color: #0a0a0a;
	color: #fff;
}

.page-updates .news__featured::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.1) 65%);
}

.page-updates .news__featured-content {
	position: relative;
	z-index: 1;
	max-width: 560px;
}

.page-updates .news__badge {
	display: inline-block;
	margin-bottom: 1em;
	padding: 0.4em 0.8em;
	background: #c0392b;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.page-updates .news__featured-title {
	margin: 0 0 0.5em;
	font-size: 2rem;
	font-weight: 800;
	line-height: 1.2;
}

.page-updates .news__featured-title a {
	color: inherit;
	text-decoration: none;
}

.page-updates .news__featured-excerpt {
	margin: 0 0 1.5em;
	color: rgba(255, 255, 255, 0.85);
	line-height: 1.6;
}

.page-updates .news__featured-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	padding-bottom: 0.3em;
	border-bottom: 2px solid #fff;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.page-updates .news__sidebar {
	padding: 2em;
	background: #eef0fc;
	border: 1px solid #dcdff2;
}

.page-updates .news__sidebar-title {
	display: flex;
	align-items: center;
	gap: 0.5em;
	margin: 0 0 1.25em;
	font-size: 1.5rem;
	font-weight: 800;
	color: #c0392b;
}

.page-updates .news__sidebar-title svg {
	flex-shrink: 0;
}

.page-updates .news__sidebar-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.page-updates .news__sidebar-item {
	padding-bottom: 1.25em;
	margin-bottom: 1.25em;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.page-updates .news__sidebar-item:last-child {
	padding-bottom: 0;
	margin-bottom: 0;
	border-bottom: none;
}

.page-updates .news__sidebar-category {
	display: block;
	margin-bottom: 0.4em;
	color: #c0392b;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.page-updates .news__sidebar-headline {
	margin: 0 0 0.3em;
	font-size: 1.0625rem;
	font-weight: 800;
	line-height: 1.35;
	color: #111;
}

.page-updates .news__sidebar-headline a {
	color: inherit;
	text-decoration: none;
}

.page-updates .news__sidebar-date {
	font-size: 0.8125rem;
	color: #777;
}

.page-updates {

	/* News archive/filter grid, matching design/news view.png. */
}

.page-updates .news-view {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5em 4em;
}

.page-updates .news-view__toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5em;
	margin-bottom: 2.5em;
	padding-bottom: 1.5em;
	border-bottom: 1px solid #e2e2e2;
}

.page-updates .news-view__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 1.75em;
}

.page-updates .news-view__tab {
	padding-bottom: 0.5em;
	color: #777;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 2px solid transparent;
}

.page-updates .news-view__tab.is-active {
	color: #111;
	border-bottom-color: #c0392b;
}

.page-updates .news-view__tab:hover {
	color: #111;
}

.page-updates .news-view__search {
	position: relative;
	display: flex;
	align-items: center;
}

.page-updates .news-view__search-input {
	width: 220px;
	padding: 0.6em 2.5em 0.6em 1em;
	border: 1px solid #ddd;
	border-radius: 999px;
	font: inherit;
}

.page-updates .news-view__search-submit {
	position: absolute;
	right: 0.6em;
	display: inline-flex;
	padding: 0;
	background: none;
	border: none;
	color: #777;
	cursor: pointer;
}

.page-updates .news-view__grid {
	display: grid;
	gap: 2em;
	grid-template-columns: 1fr;
	margin-bottom: 2.5em;
}

@media screen and (min-width: 56.875em) {

	.page-updates .news-view__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.page-updates .news-view__card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e2e2e2;
}

.page-updates .news-view__card-media {
	position: relative;
	display: block;
}

.page-updates .news-view__card-media img {
	display: block;
	width: 100%;
	height: 220px;
	object-fit: cover;
}

.page-updates .news-view__card-badge {
	position: absolute;
	top: 1em;
	left: 1em;
	padding: 0.4em 0.8em;
	background: #c0392b;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.page-updates .news-view__card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1.5em;
}

.page-updates .news-view__card-date {
	margin-bottom: 0.5em;
	font-size: 0.8125rem;
	color: #777;
}

.page-updates .news-view__card-title {
	margin: 0 0 0.6em;
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1.3;
}

.page-updates .news-view__card-title a {
	color: #111;
	text-decoration: none;
}

.page-updates .news-view__card-excerpt {
	margin: 0 0 1.5em;
	color: #555;
	line-height: 1.6;
}

.page-updates .news-view__card-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	margin-top: auto;
	font-weight: 700;
	color: #111;
	text-decoration: none;
}

.page-updates .news-view__pagination {
	display: flex;
	justify-content: center;
	gap: 0.5em;
}

.page-updates .news-view__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25em;
	height: 2.25em;
	padding: 0 0.5em;
	color: #111;
	text-decoration: none;
	border: 1px solid #e2e2e2;
}

.page-updates .news-view__pagination .page-numbers.current {
	background: #0a0a0a;
	color: #fff;
	border-color: #0a0a0a;
}

.page-updates .news-view__pagination .page-numbers.dots {
	border: none;
}

.page-updates .news-view__pagination .page-numbers:hover:not(.current):not(.dots) {
	border-color: #c0392b;
	color: #c0392b;
}

/* Donate
--------------------------------------------- */

/*
 * .page-donate is added by upropsa_body_classes() for the page using
 * the Donate template, matching design/Dontate.png. Bank transfer
 * details are centered rather than the label-left/value-right rows
 * shown in the mockup.
 */
.page-donate .donate-section {
	padding: 4em 1.5em;
}

.page-donate .donate-section__inner {
	max-width: 700px;
	margin: 0 auto;
	text-align: center;
}

.page-donate .donate-section__title {
	margin: 0 0 0.6em;
	font-size: 2.5rem;
	font-weight: 800;
	line-height: 1.2;
}

.page-donate .donate-section__text {
	margin: 0 0 3em;
	color: #555;
	line-height: 1.6;
}

.page-donate .donate-section__text p {
	margin: 0;
}

.page-donate .donate-card {
	max-width: 560px;
	margin: 0 auto;
	padding: 2.5em;
	background: #fff;
	border: 1px solid #e2e2e2;
	text-align: center;
}

.page-donate .donate-card__icon {
	display: inline-flex;
	margin-bottom: 0.75em;
	color: #111;
}

.page-donate .donate-card__title {
	margin: 0 0 1.5em;
	font-size: 1.5rem;
	font-weight: 800;
}

.page-donate .donate-card__details {
	margin: 0 0 1.5em;
	padding: 0 1.5em;
	background: #eef0fc;
}

.page-donate .donate-card__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.3em;
	padding: 0.85em 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.page-donate .donate-card__row:last-child {
	border-bottom: none;
}

.page-donate .donate-card__label {
	margin: 0;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	color: #777;
	text-transform: uppercase;
}

.page-donate .donate-card__value {
	margin: 0;
	font-weight: 700;
	color: #111;
}

.page-donate .donate-card__disclaimer {
	margin: 0;
	color: #777;
	font-size: 0.8125rem;
	font-style: italic;
}

/* Contact Us
--------------------------------------------- */

/*
 * .page-contact-us is added by upropsa_body_classes() for the page
 * using the Contact Us template, matching design/contact.png. The
 * "Send a Message" form comes from the "contact_us_shortcode" ACF
 * field (a Contact Form 7 shortcode) - this file only styles the
 * card it sits in, not the form markup itself.
 */
.page-contact-us .contact-hero {
	padding: 4em 1.5em;
	background: #0a0e1f;
	color: #fff;
}

.page-contact-us .contact-hero__inner {
	max-width: 1200px;
	margin: 0 auto;
}

.page-contact-us .contact-hero__title {
	margin: 0 0 0.5em;
	font-size: 2.5rem;
	font-weight: 800;
	line-height: 1.2;
}

.page-contact-us .contact-hero__text {
	max-width: 600px;
	margin: 0;
	color: rgba(255, 255, 255, 0.75);
	line-height: 1.6;
}

.page-contact-us .contact-hero__text p {
	margin: 0;
}

.page-contact-us .contact {
	padding: 4em 1.5em;
	background: #f5f4fa;
}

.page-contact-us .contact__inner {
	display: grid;
	max-width: 1200px;
	margin: 0 auto;
	gap: 2.5em;
	grid-template-columns: 1fr;
}

@media screen and (min-width: 56.875em) {

	.page-contact-us .contact__inner {
		grid-template-columns: 2fr 1fr;
		align-items: start;
	}
}

.page-contact-us .contact__form {
	padding: 2.5em;
	background: #fff;
	border: 1px solid #e2e2e2;
}

.page-contact-us .contact__form label {
	display: block;
	margin-bottom: 0.4em;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.page-contact-us .contact__form {

	/*
   * CF7 only line-breaks a field onto its own line when the form
   * template includes a literal <br /> after the label text. Force
   * every field wrapper onto its own line here instead.
   */
}

.page-contact-us .contact__form .wpcf7-form-control-wrap {
	display: block;
	margin-top: 0.4em;
}

.page-contact-us .contact__form input[type="text"],
.page-contact-us .contact__form input[type="email"],
.page-contact-us .contact__form input[type="tel"],
.page-contact-us .contact__form input[type="url"],
.page-contact-us .contact__form input[type="number"],
.page-contact-us .contact__form textarea,
.page-contact-us .contact__form select {
	display: block;
	width: 100%;
	margin-bottom: 1.25em;
	padding: 0.75em 1em;
	border: 1px solid #ddd;
	font: inherit;
}

.page-contact-us .contact__form textarea {
	min-height: 140px;
	resize: vertical;
}

.page-contact-us .contact__form input[type="submit"],
.page-contact-us .contact__form button {
	padding: 0.85em 1.75em;
	background: #0a0a0a;
	border: none;
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.page-contact-us .contact__form input[type="submit"]:hover,
.page-contact-us .contact__form button:hover {
	background: #c0392b;
}

.page-contact-us .contact__form-title {
	margin: 0 0 1.5em;
	font-size: 1.5rem;
	font-weight: 800;
}

.page-contact-us .contact__sidebar {
	display: flex;
	flex-direction: column;
	gap: 1.5em;
}

.page-contact-us .contact__channels {
	padding: 2em;
	background: #fff;
	border: 1px solid #e2e2e2;
}

.page-contact-us .contact__channels-title {
	position: relative;
	display: inline-block;
	margin: 0 0 1.5em;
	padding-bottom: 0.5em;
	font-size: 1.25rem;
	font-weight: 800;
}

.page-contact-us .contact__channels-title::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background: #c0392b;
}

.page-contact-us .contact__channel-group {
	display: flex;
	gap: 0.9em;
	margin-bottom: 1.5em;
}

.page-contact-us .contact__channel-group:last-child {
	margin-bottom: 0;
}

.page-contact-us .contact__channel-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	flex-shrink: 0;
	background: #f5f4fa;
	border-radius: 50%;
	color: #c0392b;
}

.page-contact-us .contact__channel-label {
	margin: 0 0 0.35em;
	font-size: 0.9375rem;
	font-weight: 700;
	color: #111;
}

.page-contact-us .contact__channel-value {
	display: block;
	font-size: 0.9375rem;
	color: #555;
}

.page-contact-us .contact__channel-value--link {
	color: #c0392b;
	text-decoration: none;
}

.page-contact-us .contact__channel-value--link:hover {
	text-decoration: underline;
}

.page-contact-us .contact__map {
	min-height: 180px;
	background: #dbe1f7;
	border: 1px solid #cdd4f0;
}
