/*
 * Fundchaser: site styles.
 *
 * Decisions this file carries out (see readme.txt):
 *   1. Campaign results are funding bars on one shared scale; a notch marks the goal.
 *   2. Ultramarine is the ink, red is for action and "pledged", peach is a band colour.
 *   3. Everything hangs from the left edge of the container; prose keeps a 68ch column.
 *   4. Gabarito for headlines, numbers and interface; Literata for prose.
 *   5. Campaign photos stay in colour; every other photo is an ultramarine duotone.
 *   6. Buttons and bars are pills, the red dot is the list marker; nothing else is rounded.
 *
 * Colours and fonts come from the theme (Customizer > Colors, Typography).
 * Breakpoints: 544 / 782 (block columns stack below it) / 1024 (mobile header).
 *
 * Contents: tokens, base, header, title band, bands, home, about, services,
 * careers, contact, partners, articles, blog list, sidebar, footer.
 */

/* ---------- Tokens ---------- */

:root {
	--fc-red: var(--global-palette1, #ff194c);
	--fc-red-dark: var(--global-palette2, #d4083a);
	--fc-ink: var(--global-palette3, #000096);
	--fc-text: var(--global-palette4, #1e1e4b);
	--fc-muted: var(--global-palette5, #4b4b7a);
	--fc-peach: var(--global-palette7, #ffd3bc);
	--fc-peach-light: var(--global-palette8, #fff1e6);
	--fc-white: var(--global-palette9, #fff);
	--fc-display: var(--global-heading-font-family, "Gabarito", sans-serif);
	--fc-edge: var(--global-content-edge-padding, 1.5rem);
	--fc-gutter: max(var(--fc-edge), calc((100% - var(--global-content-width, 1200px)) / 2 + var(--fc-edge)));
	--fc-section: clamp(3.5rem, 8vw, 7rem);
	--fc-gap: clamp(2rem, 5vw, 5rem);
	--fc-measure: 64ch;
	--fc-rule: 1px solid var(--fc-peach);
}

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

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
	text-wrap: balance;
}

:focus-visible,
body.hide-focus-outline :focus-visible {
	outline: 3px solid var(--fc-red);
	outline-offset: 3px;
}

.fc-statement :focus-visible,
.site-footer :focus-visible,
#mobile-drawer :focus-visible {
	outline-color: var(--fc-peach);
}

.entry-content ul.wp-block-list li::marker {
	color: var(--fc-red);
}

.entry-content a {
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

.wp-block-button__link,
.header-button {
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.wp-block-buttons .wp-block-button.is-style-outline > .wp-block-button__link {
	padding: calc(16px - 2px) calc(30px - 2px);
	border: 2px solid var(--fc-ink);
	background: transparent;
	color: var(--fc-ink);
}

.wp-block-buttons .wp-block-button.is-style-outline > .wp-block-button__link:hover,
.wp-block-buttons .wp-block-button.is-style-outline > .wp-block-button__link:focus-visible {
	background: var(--fc-ink);
	color: var(--fc-white);
}

.wp-block-buttons {
	gap: 0.75rem 1rem;
}

.fc-lead {
	color: var(--fc-ink);
	font-size: 1.24em;
	line-height: 1.5;
}

.fc-defs {
	position: absolute;
	width: 0;
	height: 0;
}

/* Photos that are not campaign material: ultramarine duotone (filter is printed by the plugin). */
.fc-duo img,
.post-thumbnail img {
	filter: url(#fc-duotone);
}

.wp-block-image figcaption,
.wp-block-image .wp-element-caption {
	margin-top: 0.75rem;
	color: var(--fc-muted);
	font-family: var(--fc-display);
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.4;
	text-align: left;
}

/* ---------- Header ---------- */

.site-branding a.brand img {
	display: block;
}

.header-navigation .menu > li > a {
	text-decoration: none;
}

.header-navigation .sub-menu {
	box-shadow: none;
}

.header-navigation .sub-menu a {
	padding-block: 0.8em;
}

/* ---------- Title band (pages, articles, blog) ---------- */

.entry-hero .entry-hero-container-inner {
	background-image: linear-gradient(100deg, var(--fc-peach) 0%, var(--fc-peach-light) 62%);
}

.entry-hero .hero-container {
	align-items: flex-end;
}

.entry-hero .entry-header {
	padding-block: clamp(2rem, 5vw, 3.5rem) clamp(1.75rem, 4vw, 3rem);
}

.entry-hero .entry-title {
	max-width: 20ch;
	margin: 0;
}

.single-post .entry-hero .entry-title {
	max-width: 24ch;
}

.entry-hero .kadence-breadcrumbs {
	margin: 0 0 1rem;
	font-family: var(--fc-display);
	font-size: 1rem;
	font-weight: 500;
}

.entry-hero .kadence-breadcrumbs a {
	text-decoration: none;
}

.entry-hero .kadence-breadcrumbs a:hover {
	text-decoration: underline;
}

/* In an article the last crumb would repeat the headline right below it. */
.single-post .entry-hero .breadcrumb_last {
	display: none;
}

.entry-hero .entry-meta {
	margin: 1.25rem 0 0;
}

/* ---------- Bands: the unit every designed page is made of ---------- */

.fc-band {
	margin: 0;
	padding: var(--fc-section) var(--fc-gutter);
}

.entry-content > .fc-band,
.entry-content > .fc-band:last-child {
	margin: 0;
}

.fc-band > :first-child {
	margin-top: 0;
}

.fc-band > :last-child {
	margin-bottom: 0;
}

.fc-band h2 {
	margin: 0 0 0.6em;
}

.fc-band p,
.fc-band h3,
.fc-band h4 {
	max-width: var(--fc-measure);
}

.fc-band > .wp-block-columns {
	gap: var(--fc-gap);
	margin-bottom: 0;
}

.fc-band .wp-block-image {
	margin: 0;
}

.fc-band .wp-block-image img {
	display: block;
	width: 100%;
}

.fc-band .wp-block-buttons {
	margin-top: 2rem;
}

/* Opening band of an inner page: text left, picture right. */
.fc-intro > .wp-block-columns > .wp-block-column:first-child {
	flex: 7 1 0;
}

.fc-intro > .wp-block-columns > .wp-block-column:last-child {
	flex: 5 1 0;
}

.fc-intro .wp-block-image img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

/* Ultramarine band: one statement, set large. */
.fc-statement {
	background: var(--fc-ink);
	color: var(--fc-white);
}

.fc-statement h2 {
	color: var(--fc-peach);
}

.fc-band.fc-statement p {
	max-width: 34em;
	color: var(--fc-white);
	font-size: clamp(1.4rem, 2.7vw, 2.2rem);
	line-height: 1.36;
}

.fc-band.fc-statement .wp-block-quote {
	margin: 0;
	padding: 0;
	border: 0;
	color: var(--fc-white);
	font-size: inherit;
	font-style: normal;
}

.fc-band.fc-statement .wp-block-quote p {
	margin: 0;
}

.fc-statement a {
	color: var(--fc-white);
}

.fc-statement a:hover {
	color: var(--fc-peach);
}

/* Peach band that ends a page: one sentence and one button. */
.fc-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem 3rem;
	padding-block: clamp(3rem, 6vw, 5rem);
	background: linear-gradient(100deg, var(--fc-peach) 0%, var(--fc-peach-light) 62%);
}

.fc-band.fc-cta h2 {
	flex: 1 1 24ch;
	max-width: 24ch;
	margin: 0;
}

.fc-band.fc-cta .wp-block-buttons {
	margin: 0;
}

/* ---------- Home ---------- */

.fc-hero {
	padding-block: clamp(2rem, 4vw, 3.5rem) clamp(3rem, 6vw, 5rem);
}

.fc-hero > .wp-block-columns {
	align-items: stretch;
}

.fc-hero > .wp-block-columns > .wp-block-column:first-child {
	flex: 7 1 0;
	align-self: center;
}

.fc-hero > .wp-block-columns > .wp-block-column:last-child {
	display: flex;
	flex: 5 1 0;
}

.fc-hero h1 {
	max-width: 13ch;
	margin: 0 0 0.35em;
	font-size: clamp(2.75rem, 5.8vw, 5.25rem);
	line-height: 0.96;
}

.fc-total {
	max-width: 22ch;
	color: var(--fc-ink);
	font-family: var(--fc-display);
	font-size: clamp(1.3rem, 2.3vw, 1.9rem);
	font-weight: 600;
	line-height: 1.2;
}

.fc-hero .wp-block-image {
	display: flex;
	flex: 1;
}

.fc-hero .wp-block-image img {
	height: 100%;
	min-height: 18rem;
	object-fit: cover;
}

/* Results: every bar shares one scale, the notch is the goal. */
.fc-results {
	padding-top: 0;
}

.fc-campaign {
	position: relative;
	display: grid;
	grid-template-columns: clamp(6.5rem, 17vw, 14rem) minmax(0, 1fr);
	grid-template-areas:
		"photo name"
		"photo pledged"
		"photo goal"
		"photo bar";
	column-gap: clamp(1rem, 3vw, 2.75rem);
	align-items: end;
	padding-block: clamp(1.5rem, 3vw, 2.25rem);
	border-top: var(--fc-rule);
}

.fc-campaign > .wp-block-image {
	grid-area: photo;
	align-self: stretch;
}

.fc-campaign > .wp-block-image img {
	height: 100%;
	min-height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.fc-campaign > h3 {
	grid-area: name;
	margin: 0 0 0.5rem;
}

.fc-campaign > p {
	margin: 0;
	color: var(--fc-muted);
	font-family: var(--fc-display);
	font-size: 1.0625rem;
	font-weight: 500;
	line-height: 1.2;
}

.fc-campaign > p strong {
	color: var(--fc-ink);
	font-weight: 700;
}

.fc-pledged {
	grid-area: pledged;
}

.fc-campaign > .fc-pledged strong {
	display: inline-block;
	margin-right: 0.12em;
	font-size: clamp(2.25rem, 6.4vw, 5rem);
	font-weight: 900;
	letter-spacing: -0.03em;
	line-height: 0.92;
}

.fc-goal {
	grid-area: goal;
	padding-top: 0.5rem;
}

.fc-campaign::after {
	content: "";
	grid-area: bar;
	width: calc(var(--fc-share, 1) * 100%);
	min-width: 1.25rem;
	height: 1.25rem;
	margin-top: 1.5rem;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--fc-red), #ff9a8b);
}

.fc-campaign::before {
	content: "";
	grid-area: bar;
	z-index: 1;
	align-self: end;
	justify-self: start;
	width: 3px;
	height: 2.25rem;
	margin-bottom: -0.5rem;
	margin-left: max(0.5rem, calc(var(--fc-goal, 0) * 100%));
	background: var(--fc-ink);
}

@media (prefers-reduced-motion: no-preference) and (scripting: enabled) {
	.entry-content .fc-campaign::after {
		clip-path: inset(0 0 0 0 round 999px);
		transition: clip-path 1.1s cubic-bezier(0.2, 0.7, 0.1, 1);
	}

	.entry-content .fc-results:not(.is-in) .fc-campaign::after {
		clip-path: inset(0 100% 0 0 round 999px);
	}

	.entry-content .fc-campaign:nth-of-type(2)::after {
		transition-delay: 0.1s;
	}

	.entry-content .fc-campaign:nth-of-type(3)::after {
		transition-delay: 0.2s;
	}

	.entry-content .fc-campaign:nth-of-type(4)::after {
		transition-delay: 0.3s;
	}
}

/* The seven phases, as a numbered index. */
.fc-steps > .wp-block-columns > .wp-block-column:first-child {
	flex: 5 1 0;
}

.fc-steps > .wp-block-columns > .wp-block-column:last-child {
	flex: 6 1 0;
}

.fc-steps ol {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: fc-step;
}

.fc-steps ol li {
	display: grid;
	grid-template-columns: 3.25rem minmax(0, 1fr);
	align-items: baseline;
	padding-block: 0.8rem;
	border-top: var(--fc-rule);
	color: var(--fc-ink);
	font-family: var(--fc-display);
	font-size: clamp(1.25rem, 2vw, 1.625rem);
	font-weight: 700;
	line-height: 1.2;
	counter-increment: fc-step;
}

.fc-steps ol li:last-child {
	border-bottom: var(--fc-rule);
}

.fc-steps ol li::before {
	content: counter(fc-step);
	color: var(--fc-red);
	font-weight: 900;
}

/* Three articles. */
.fc-teasers {
	padding-top: 0;
}

.fc-teasers > .wp-block-columns {
	gap: clamp(1.5rem, 3vw, 2.5rem);
}

.fc-teasers .wp-block-image img {
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.fc-teasers h3 {
	margin: 1.1rem 0 0.5rem;
	font-size: 1.5rem;
	line-height: 1.15;
}

.fc-teasers h3 a,
.fc-more a {
	color: var(--fc-ink);
	text-decoration: none;
}

.fc-teasers h3 a:hover,
.fc-more a:hover {
	color: var(--fc-red);
	text-decoration: underline;
}

.fc-teasers .wp-block-column p {
	margin: 0;
	font-size: 1rem;
	line-height: 1.55;
}

.fc-band .fc-more {
	margin: 2.5rem 0 0;
	font-family: var(--fc-display);
	font-size: 1.125rem;
	font-weight: 700;
}

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

.fc-reasons > .wp-block-columns > .wp-block-column:first-child {
	flex: 5 1 0;
}

.fc-reasons > .wp-block-columns > .wp-block-column:last-child {
	flex: 7 1 0;
}

.fc-reasons .wp-block-image {
	position: sticky;
	top: 2rem;
}

.fc-reasons .wp-block-image img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.fc-reasons h3 {
	margin: 2.25rem 0 0.6rem;
}

.fc-reasons h3:first-child {
	margin-top: 0;
}

/* ---------- Services ---------- */

.fc-phases {
	padding-top: 0;
	counter-reset: fc-phase;
}

.fc-phase {
	display: grid;
	grid-template-columns: clamp(3.5rem, 15vw, 12rem) minmax(0, var(--fc-measure));
	column-gap: clamp(1rem, 3vw, 2.75rem);
	padding-block: clamp(1.75rem, 3.5vw, 2.75rem);
	border-top: var(--fc-rule);
	counter-increment: fc-phase;
}

.fc-phase::before {
	content: counter(fc-phase);
	grid-row: 1 / span 3;
	color: var(--fc-ink);
	font-family: var(--fc-display);
	font-size: clamp(3rem, 9vw, 7rem);
	font-weight: 900;
	letter-spacing: -0.04em;
	line-height: 0.8;
}

.fc-phase > * {
	grid-column: 2;
}

.fc-phase > h3 {
	margin: 0 0 0.6rem;
}

.fc-phase > p {
	margin: 0;
}

.fc-phase > .fc-fact {
	margin-top: 1.5rem;
	padding-left: 1.25rem;
	border-left: 6px solid var(--fc-red);
	color: var(--fc-ink);
	font-family: var(--fc-display);
	font-size: clamp(1.25rem, 2vw, 1.5rem);
	font-weight: 700;
	line-height: 1.25;
}

.fc-services {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(2rem, 4vw, 3.5rem) var(--fc-gap);
	padding-top: 0;
}

.fc-band.fc-services > h2 {
	grid-column: 1 / -1;
	margin: 0;
	padding-top: clamp(2.5rem, 5vw, 4rem);
	border-top: 2px solid var(--fc-ink);
}

.fc-service > h3 {
	margin: 0 0 0.6rem;
}

.fc-service > p {
	margin: 0 0 0.9em;
}

.fc-service > p:last-child {
	margin-bottom: 0;
}

/* ---------- Careers ---------- */

.fc-jobs {
	padding-top: 0;
}

.fc-job {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
	column-gap: var(--fc-gap);
	padding-block: clamp(2rem, 4vw, 3rem);
	border-top: 2px solid var(--fc-ink);
}

.fc-job > h3 {
	grid-row: 1 / span 3;
	margin: 0;
	font-size: clamp(1.5rem, 2.6vw, 2rem);
	font-weight: 800;
	line-height: 1.1;
}

.fc-job > :not(h3) {
	grid-column: 2;
}

.fc-job > p {
	margin: 0 0 1.5rem;
}

.fc-band .fc-job .wp-block-buttons {
	margin-top: 1.5rem;
}

.entry-content .wp-block-table {
	margin: 0;
}

.entry-content .wp-block-table table {
	border: 0;
	border-collapse: collapse;
	font-family: var(--fc-display);
	font-size: 1.0625rem;
	line-height: 1.3;
}

.entry-content .wp-block-table th,
.entry-content .wp-block-table td {
	padding: 0.7rem 1rem 0.7rem 0;
	border: 0;
	border-bottom: var(--fc-rule);
	text-align: left;
	vertical-align: top;
}

.entry-content .wp-block-table th {
	border-bottom: 2px solid var(--fc-ink);
	color: var(--fc-ink);
	font-weight: 700;
}

.entry-content .wp-block-table td {
	color: var(--fc-text);
	font-weight: 500;
}

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

.fc-contact > .wp-block-columns {
	align-items: stretch;
}

.fc-contact > .wp-block-columns > .wp-block-column:first-child {
	flex: 7 1 0;
}

.fc-contact > .wp-block-columns > .wp-block-column:last-child {
	display: flex;
	flex: 4 1 0;
}

.fc-reach {
	margin: 0;
	font-family: var(--fc-display);
	font-size: clamp(1.5rem, 3.6vw, 2.75rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.15;
	overflow-wrap: anywhere;
}

.fc-lead + .fc-reach {
	margin-top: 2.5rem;
}

.fc-reach a {
	color: var(--fc-ink);
	text-decoration: none;
}

.fc-reach a:hover {
	color: var(--fc-red);
}

.fc-contact h3 {
	margin: 3rem 0 1rem;
	padding-top: 1.5rem;
	border-top: 2px solid var(--fc-ink);
}

.fc-contact h4 {
	margin: 0 0 0.3rem;
}

.fc-contact .wp-block-columns .wp-block-columns {
	gap: 1.5rem 3rem;
	margin: 0;
}

.fc-contact .wp-block-columns .wp-block-columns p {
	margin: 0;
}

.fc-contact .wp-block-image {
	display: flex;
	flex: 1;
	align-items: flex-end;
	justify-content: center;
	padding: 2.5rem 1.5rem 0;
	background: linear-gradient(180deg, var(--fc-peach) 0%, var(--fc-peach-light) 100%);
}

.fc-contact .wp-block-image img {
	width: auto;
	max-width: min(100%, 300px);
}

/* ---------- Partners ---------- */

.fc-partner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
	min-height: 6.5rem;
	padding-block: 1.25rem;
	border-top: var(--fc-rule);
}

.fc-partner:last-child {
	border-bottom: var(--fc-rule);
}

.fc-band .fc-partner h2 {
	margin: 0;
	font-size: clamp(1.4rem, 3vw, 2.25rem);
	line-height: 1.1;
}

.fc-band .fc-partner .wp-block-image {
	flex: 0 0 auto;
}

.fc-band .fc-partner .wp-block-image img {
	width: auto;
	max-width: min(11rem, 34vw);
	max-height: 3.5rem;
	filter: grayscale(1);
	mix-blend-mode: multiply;
}

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

.single-post .single-content > * {
	max-width: var(--fc-measure);
}

.single-post .single-content > .wp-block-image:not(.fc-inset) {
	max-width: none;
	margin-block: 2.5rem;
}

.single-post .single-content > .wp-block-image img {
	display: block;
}

.single-post .single-content h2 {
	margin: 2.2em 0 0.55em;
	font-size: clamp(1.6rem, 2.6vw, 2.125rem);
	line-height: 1.12;
}

.single-post .single-content h3 {
	margin: 1.9em 0 0.5em;
	font-size: clamp(1.3rem, 2vw, 1.5rem);
}

.fc-byline {
	color: var(--fc-muted);
	font-family: var(--fc-display);
	font-size: 1.0625rem;
	font-weight: 600;
}

.single-content .wp-block-quote {
	margin: 1.75rem 0;
	padding: 0.25rem 0 0.25rem 1.5rem;
	border-left: 6px solid var(--fc-red);
	color: var(--fc-ink);
	font-size: 1.1em;
	font-style: italic;
	line-height: 1.5;
}

.single-content .wp-block-quote p {
	margin: 0;
}

.single-content .wp-block-quote cite {
	display: block;
	margin-top: 0.6rem;
	color: var(--fc-muted);
	font-family: var(--fc-display);
	font-size: 1rem;
	font-style: normal;
	font-weight: 600;
}

/* Small pictures kept from the old site: shown at their own size, never stretched. */
.single-content .wp-block-image.fc-inset {
	display: table;
	float: right;
	max-width: min(300px, 46%);
	margin: 0.4rem 0 1.25rem 2rem;
}

.single-content .wp-block-image.fc-inset img {
	width: auto;
	max-width: 100%;
}

.single-content .wp-block-image.fc-inset figcaption {
	display: table-caption;
	caption-side: bottom;
}

.single-content h2 {
	clear: both;
}

.single-content .fc-refs {
	padding-left: 1.1em;
	font-family: var(--fc-display);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.4;
}

.single-content .fc-refs li {
	margin-bottom: 0.5em;
}

/* Data may run wider than the prose column. */
.single-post .single-content > .wp-block-table {
	max-width: none;
	margin-block: 1.5rem 2.5rem;
}

/* In an article the first column names the row. */
.single-post .single-content .wp-block-table td:first-child {
	color: var(--fc-ink);
	font-weight: 700;
}

.single-post .post-thumbnail.article-post-thumbnail {
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.post-navigation {
	margin-top: 3.5rem;
	padding-top: 1.5rem;
	border-top: 2px solid var(--fc-ink);
	font-family: var(--fc-display);
}

.post-navigation .nav-links a {
	color: var(--fc-ink);
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.25;
	text-decoration: none;
}

.post-navigation .nav-links a:hover {
	color: var(--fc-red);
}

.post-navigation .post-navigation-sub {
	color: var(--fc-muted);
	font-size: 0.9375rem;
	font-weight: 500;
}

/* ---------- Blog list ---------- */

.post-archive .entry-list-item {
	padding-block: clamp(1.75rem, 3.5vw, 2.5rem);
	border-top: var(--fc-rule);
}

.post-archive .entry-list-item:first-child {
	padding-top: 0;
	border-top: 0;
}

.post-archive.grid-cols {
	row-gap: 0;
}

.post-archive .loop-entry {
	box-shadow: none;
}

.post-archive .loop-entry .entry-title a {
	color: var(--fc-ink);
	text-decoration: none;
}

.post-archive .loop-entry .entry-title a:hover {
	color: var(--fc-red);
	text-decoration: underline;
}

.post-archive .loop-entry .entry-content-wrap {
	max-width: var(--fc-measure);
}

.post-archive .loop-entry .entry-summary {
	margin-top: 0.75rem;
}

/* ---------- Article sidebar ---------- */

.primary-sidebar .widget {
	margin-bottom: 2.5rem;
}

.primary-sidebar .widget-title,
.primary-sidebar h2 {
	margin: 0 0 1rem;
	padding-top: 1rem;
	border-top: 2px solid var(--fc-ink);
	font-size: 1.125rem;
	letter-spacing: 0;
}

.primary-sidebar .wp-block-latest-posts {
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-sidebar .wp-block-latest-posts li {
	padding-block: 0.7rem;
	border-bottom: var(--fc-rule);
	font-weight: 600;
	line-height: 1.25;
}

.primary-sidebar .wp-block-latest-posts a {
	text-decoration: none;
}

.primary-sidebar p {
	font-family: var(--global-body-font-family, serif);
	font-size: 1.0625rem;
	font-weight: 400;
	line-height: 1.5;
}

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

.site-footer .footer-widget-area .wp-block-image {
	margin: 0 0 1.25rem;
}

.site-footer .footer-widget-area .wp-block-image img {
	width: 190px;
	height: auto;
}

.site-footer .footer-widget-area p {
	max-width: 34ch;
}

.site-footer .footer-widget-area ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer .footer-widget-area li {
	margin-bottom: 0.45rem;
	font-family: var(--fc-display);
	font-size: 1.0625rem;
	font-weight: 600;
}

.site-footer .footer-widget-area a {
	text-decoration: none;
}

.site-footer .footer-widget-area a:hover {
	text-decoration: underline;
}

.site-footer .site-bottom-footer-inner-wrap {
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* ---------- Narrow screens ---------- */

@media (max-width: 781px) {
	.fc-teasers > .wp-block-columns {
		gap: 2.75rem;
	}

	.fc-hero > .wp-block-columns > .wp-block-column:last-child {
		margin-inline: calc(var(--fc-edge) * -1);
	}

	.fc-intro .wp-block-image img,
	.fc-reasons .wp-block-image img {
		aspect-ratio: 3 / 2;
	}

	.fc-services {
		grid-template-columns: minmax(0, 1fr);
	}

	.fc-job {
		grid-template-columns: minmax(0, 1fr);
	}

	.fc-job > h3 {
		grid-row: auto;
		margin-bottom: 1rem;
	}

	.fc-job > :not(h3) {
		grid-column: 1;
	}

	.fc-contact .wp-block-image {
		padding-top: 2rem;
	}
}

@media (max-width: 544px) {
	.fc-campaign {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"photo"
			"name"
			"pledged"
			"goal"
			"bar";
	}

	.fc-campaign > .wp-block-image {
		margin-bottom: 1rem;
	}

	.fc-campaign > .wp-block-image img {
		aspect-ratio: 16 / 9;
	}

	.fc-phase {
		grid-template-columns: minmax(0, 1fr);
	}

	.fc-phase::before {
		grid-row: auto;
		margin-bottom: 0.75rem;
		font-size: 3rem;
	}

	.fc-phase > * {
		grid-column: 1;
	}

	.single-content .wp-block-image.fc-inset {
		float: none;
		max-width: min(300px, 100%);
		margin: 1.5rem 0;
	}

	.entry-content .wp-block-table {
		overflow-x: auto;
	}

	.entry-content .wp-block-table table {
		table-layout: auto;
		font-size: 0.9375rem;
	}

	.entry-content .wp-block-table th,
	.entry-content .wp-block-table td {
		padding-right: 0.75rem;
		overflow-wrap: normal;
		word-break: normal;
	}

	.fc-partner {
		min-height: 0;
	}
}
