/*
 * Faith Community Church — styles theme.json can't express.
 * Values reference theme.json tokens (--wp--preset--* / --wp--custom--*)
 * or literals from "design files/README.md".
 */

body {
	text-wrap: pretty;
}

/* Utility bar, header, main and footer sit flush: no root block gap between them. */
body .wp-site-blocks > * + * {
	margin-block-start: 0;
}

/* Focus ring: 3px Amber, offset 2px (README "Interaction defaults"). */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: var(--wp--custom--focus-ring--width) solid var(--wp--preset--color--amber);
	outline-offset: var(--wp--custom--focus-ring--offset);
}

/* Links inside prose get an underline so they don't rely on color alone (WCAG 1.4.1). */
:where(.wp-block-post-content) :where(p, li) a {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

/* ---------- Wordmark ---------- */

/* A Custom HTML block in the header and footer: <a class="faiththeme-wordmark"> holding FAITH over COMMUNITY CHURCH. */
.faiththeme-wordmark {
	color: var(--wp--preset--color--amber);
	display: inline-flex;
	flex-direction: column;
	font-family: var(--wp--preset--font-family--wordmark);
	font-weight: 600;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
}

a.faiththeme-wordmark,
a.faiththeme-wordmark:hover {
	color: var(--wp--preset--color--amber);
	text-decoration: none;
}

.faiththeme-wordmark__faith {
	font-size: 40px;
	letter-spacing: var(--wp--custom--letter-spacing--wordmark);
}

.faiththeme-wordmark__sub {
	font-size: 15px;
	letter-spacing: var(--wp--custom--letter-spacing--wordmark-sub);
}

/* The two-paragraph wordmark from theme 0.1.0 token-test pages. */
.wp-block-group.faiththeme-wordmark > * {
	margin: 0;
}

/* ---------- Paragraph and button block styles ---------- */

.is-style-eyebrow {
	color: var(--wp--preset--color--chapel-navy);
	font-size: var(--wp--preset--font-size--eyebrow);
	font-weight: 600;
	letter-spacing: var(--wp--custom--letter-spacing--eyebrow);
	line-height: 1.4;
	text-transform: uppercase;
}

/* The default button (Amber, white text: Jason's call over the README's Midnight) comes from theme.json. */
.wp-block-button.is-style-navy > .wp-block-button__link {
	background-color: var(--wp--preset--color--chapel-navy);
	color: var(--wp--preset--color--white);
}

.wp-block-button.is-style-navy > .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--navy-hover);
	color: var(--wp--preset--color--white);
}

.wp-block-button.is-style-outline-navy > .wp-block-button__link {
	background-color: transparent;
	border: 2px solid var(--wp--preset--color--chapel-navy);
	color: var(--wp--preset--color--chapel-navy);
	padding: 11px 26px;
}

.wp-block-button.is-style-outline-navy > .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--chapel-navy);
	color: var(--wp--preset--color--white);
}

.wp-block-button.is-style-outline-white > .wp-block-button__link {
	background-color: transparent;
	border: 2px solid rgba(255, 255, 255, 0.55);
	color: var(--wp--preset--color--white);
	padding: 11px 26px;
}

.wp-block-button.is-style-outline-white > .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--white);
	color: var(--wp--preset--color--chapel-navy);
}

/* ---------- Homepage hero ---------- */

/* Cover block: photo, navy wash (the gradient), then the welcome text in the 1200px container. */
.wp-block-cover.faiththeme-hero {
	/* Jason's call: the hero keeps the photo's 2:1 shape as the window widens, and never gets shorter than
	   the design's 560px, so narrower screens still fit the text. Both live here, not in the block's own
	   height setting: a block minimum height makes WordPress add an inline aspect-ratio: unset. */
	aspect-ratio: 2 / 1;
	background-color: var(--wp--preset--color--chapel-navy);
	min-height: 560px;
	/* An explicit full-bleed width, so the 2:1 ratio can only set the height. Left to width: auto,
	   the 560px minimum height becomes a 1120px minimum width through the ratio. */
	width: calc(100% + var(--wp--style--root--padding-left) + var(--wp--style--root--padding-right));
	/* Same side margin as the header, so the text lines up with the wordmark at every width. */
	padding-left: var(--wp--style--root--padding-left);
	padding-right: var(--wp--style--root--padding-right);
}

.faiththeme-hero .is-style-eyebrow {
	color: var(--wp--preset--color--amber);
	letter-spacing: var(--wp--custom--letter-spacing--eyebrow-wide);
	line-height: normal;
}

.faiththeme-hero__content > h1 {
	margin-block-start: 18px;
}

.faiththeme-hero__content > .faiththeme-hero__lede {
	color: var(--wp--custom--color--hero-body);
	line-height: 1.65;
	margin-block-start: 20px;
	max-width: 500px;
}

.faiththeme-hero__content > .faiththeme-hero__buttons {
	gap: 14px;
	margin-block-start: 32px;
}

.faiththeme-hero__buttons .wp-block-button__link {
	font-size: 16px;
	padding: 16px 32px;
}

.faiththeme-hero__buttons .wp-block-button.is-style-outline-white > .wp-block-button__link {
	padding: 14px 30px;
}

.faiththeme-hero__buttons .wp-block-button.is-style-outline-white > .wp-block-button__link:hover {
	border-color: var(--wp--preset--color--white);
}

/* ---------- Homepage sections ---------- */

/* Section heading row: eyebrow over H2 on the left, a text link on the right (README section 7). */
.wp-block-group.faiththeme-section {
	margin-block-start: 0;
	padding-top: 84px;
}

.faiththeme-section__header {
	gap: 24px;
}

.faiththeme-section__header .is-style-eyebrow {
	line-height: normal;
}

.faiththeme-section__header h2.wp-block-heading {
	margin-block-start: 10px;
}

.faiththeme-section__link {
	font-size: var(--wp--preset--font-size--ui);
	font-weight: 600;
	line-height: normal;
	white-space: nowrap;
}

.wp-block-group.faiththeme-section > .wp-block-faiththeme-events-list {
	margin-block-start: 28px;
}

/* ---------- Events list ---------- */

.faiththeme-events {
	background-color: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--preset--border-radius--card);
	line-height: normal;
	overflow: hidden;
}

.faiththeme-events__row,
.faiththeme-events__row:hover {
	color: var(--wp--preset--color--midnight);
	text-decoration: none;
}

.faiththeme-events__row {
	align-items: center;
	border-bottom: 1px solid var(--wp--preset--color--rule);
	display: grid;
	gap: 24px;
	grid-template-columns: 96px 1fr auto;
	padding: 20px 26px;
}

.faiththeme-events__row:hover {
	background-color: var(--wp--preset--color--porcelain);
}

.faiththeme-events__date {
	background-color: var(--wp--preset--color--mist);
	border-radius: var(--wp--preset--border-radius--panel);
	padding: 10px 0;
	text-align: center;
}

.faiththeme-events__month {
	color: var(--wp--preset--color--chapel-navy);
	display: block;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.faiththeme-events__day {
	display: block;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 28px;
	font-weight: 700;
	line-height: 1.05;
	margin-top: 2px;
}

.faiththeme-events__title {
	display: block;
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--card-title);
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.2;
}

.faiththeme-events__detail {
	color: var(--wp--preset--color--slate);
	display: block;
	font-size: 14.5px;
	margin-top: 5px;
}

.faiththeme-events__more {
	color: var(--wp--preset--color--chapel-navy);
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
}

.faiththeme-events__empty {
	color: var(--wp--preset--color--slate);
	margin: 0;
	padding: 20px 26px;
}

.faiththeme-events__month-heading {
	font-size: var(--wp--preset--font-size--card-title);
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.2;
	margin: 40px 0 16px;
}

.faiththeme-events__month-heading:first-child {
	margin-top: 0;
}

/* Phones: a smaller date tile, and no "Details" label (the whole row is the link). */
@media (max-width: 599.98px) {
	.faiththeme-section__header {
		flex-wrap: wrap;
	}

	.faiththeme-events__row {
		gap: 16px;
		grid-template-columns: 64px 1fr;
		padding: 16px 18px;
	}

	.faiththeme-events__day {
		font-size: 24px;
	}

	.faiththeme-events__more {
		display: none;
	}
}

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

.wp-block-group.faiththeme-section > .wp-block-faiththeme-news-posts {
	margin-block-start: 40px;
}

.faiththeme-news {
	display: flex;
	flex-direction: column;
	gap: 34px;
}

/* Two equal columns; the photo swaps sides on every other post (README section 6). */
.faiththeme-news__item {
	align-items: center;
	display: grid;
	gap: 48px;
	grid-template-columns: 1fr 1fr;
}

.faiththeme-news__item:nth-child(even) .faiththeme-news__image {
	order: 2;
}

.faiththeme-news__image {
	aspect-ratio: 4 / 3;
	background-color: var(--wp--preset--color--mist);
	border-radius: var(--wp--preset--border-radius--card);
	display: block;
	overflow: hidden;
}

.faiththeme-news__image img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.faiththeme-news .faiththeme-news__title {
	font-size: var(--wp--preset--font-size--article);
	letter-spacing: -0.02em;
	line-height: 1.15;
	margin: 0 0 14px;
}

.faiththeme-news__title a,
.faiththeme-news__title a:hover {
	color: inherit;
}

.faiththeme-news .faiththeme-news__excerpt {
	color: var(--wp--preset--color--slate);
	font-size: var(--wp--preset--font-size--body);
	line-height: 1.7;
	margin: 0 0 22px;
}

.faiththeme-news .faiththeme-news__more {
	background-color: var(--wp--preset--color--chapel-navy);
	color: var(--wp--preset--color--white);
	display: inline-block;
	font-size: var(--wp--preset--font-size--ui);
}

.faiththeme-news .faiththeme-news__more:hover {
	background-color: var(--wp--preset--color--navy-hover);
	color: var(--wp--preset--color--white);
}

.faiththeme-news__empty {
	color: var(--wp--preset--color--slate);
	margin: 0;
}

/* The list of every post (home.html): /?post_type=post, or the Posts page if one is set in Settings → Reading. */
.faiththeme-news-page__header h1.wp-block-heading {
	font-size: var(--wp--preset--font-size--section);
	letter-spacing: -0.02em;
	line-height: 1.15;
	margin-block-start: 10px;
}

.faiththeme-news-page__header .is-style-eyebrow {
	line-height: normal;
}

main > .wp-block-faiththeme-news-posts {
	margin-block-start: 40px;
}

.faiththeme-news-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin-top: 56px;
}

.faiththeme-news-pagination .page-numbers {
	border-radius: var(--wp--preset--border-radius--pill);
	font-size: var(--wp--preset--font-size--ui);
	font-weight: 600;
	line-height: normal;
	padding: 10px 16px;
}

.faiththeme-news-pagination .page-numbers.current {
	background-color: var(--wp--preset--color--chapel-navy);
	color: var(--wp--preset--color--white);
}

/* Below 900px each post stacks: photo, then text. */
@media (max-width: 899.98px) {
	.faiththeme-news {
		gap: 48px;
	}

	.faiththeme-news__item {
		gap: 20px;
		grid-template-columns: 1fr;
	}

	.faiththeme-news__item:nth-child(even) .faiththeme-news__image {
		order: 0;
	}

	.faiththeme-news .faiththeme-news__title {
		font-size: 26px;
	}
}

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

/* One card split in two: the footer's navy contact block on the left, the form on white on the right. */
.wp-block-columns.faiththeme-contact {
	align-items: stretch;
	margin-block-start: 40px;
}

.faiththeme-contact > .wp-block-column {
	box-sizing: border-box;
	padding: 48px;
}

/* Exactly half each: the form side's border would otherwise make it a pixel wider. */
@media (min-width: 782px) {
	.wp-block-columns.faiththeme-contact:not(.is-not-stacked-on-mobile) > .wp-block-column {
		flex: 0 0 50%;
	}
}

.faiththeme-contact__info {
	border-radius: var(--wp--preset--border-radius--card) 0 0 var(--wp--preset--border-radius--card);
	color: var(--wp--custom--color--footer-text);
	font-size: 15px;
	line-height: 1.6;
}

.faiththeme-contact__info :where(a) {
	color: var(--wp--custom--color--footer-text);
}

.faiththeme-contact__info :where(a):hover {
	color: var(--wp--preset--color--amber);
}

.faiththeme-contact__lines p {
	margin: 0;
}

.faiththeme-contact__form {
	border: 1px solid var(--wp--preset--color--line);
	border-left: 0;
	border-radius: 0 var(--wp--preset--border-radius--card) var(--wp--preset--border-radius--card) 0;
}

.faiththeme-contact__form h2.wp-block-heading {
	font-size: var(--wp--preset--font-size--article);
	margin: 0 0 24px;
}

/* Contact Form 7 fields: labels above full-width fields, 48px tall, the Amber focus ring. */
.faithcc-contact-form p {
	margin: 0;
}

.faithcc-contact__field {
	margin-bottom: 20px;
}

.faithcc-contact__field label {
	color: var(--wp--preset--color--midnight);
	display: block;
	font-size: var(--wp--preset--font-size--meta);
	font-weight: 600;
	line-height: normal;
	margin-bottom: 8px;
}

.faithcc-contact__field .wpcf7-form-control-wrap {
	display: block;
}

.faithcc-contact-form .wpcf7-text,
.faithcc-contact-form .wpcf7-email,
.faithcc-contact-form .wpcf7-tel,
.faithcc-contact-form .wpcf7-textarea {
	background-color: var(--wp--preset--color--white);
	border: 1px solid var(--wp--custom--color--dot-inactive);
	border-radius: 14px;
	box-sizing: border-box;
	color: var(--wp--preset--color--midnight);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.4;
	min-height: 48px;
	padding: 12px 16px;
	width: 100%;
}

.faithcc-contact-form .wpcf7-textarea {
	display: block;
	min-height: 160px;
	resize: vertical;
}

.faithcc-contact-form .wpcf7-form-control:focus-visible {
	outline: 3px solid var(--wp--preset--color--amber);
	outline-offset: 2px;
}

.faithcc-contact-form .wpcf7-form-control[aria-invalid="true"] {
	border-color: #b42318;
}

.faithcc-contact-form .wpcf7-not-valid-tip {
	color: #b42318;
	font-size: 14px;
	margin-top: 6px;
}

.faithcc-contact__submit {
	margin-top: 4px;
}

/* Contact Form 7 wraps the button (and the spinner it adds) in a paragraph. */
.faithcc-contact__submit p {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.faithcc-contact-form .wpcf7-submit {
	border: 0;
	cursor: pointer;
	font-size: 16px;
	min-height: 48px;
	padding: 14px 30px;
}

.faithcc-contact-form .wpcf7-spinner {
	margin: 0;
}

/* Contact Form 7's own rule is .wpcf7 form .wpcf7-response-output, so this one needs the extra class. */
.wpcf7 form.faithcc-contact-form .wpcf7-response-output {
	border-radius: 14px;
	border-width: 1px;
	font-size: 15px;
	line-height: 1.5;
	margin: 20px 0 0;
	padding: 12px 16px;
}

/* Below 782px the columns stack: navy on top, form below. */
@media (max-width: 781.98px) {
	.faiththeme-contact > .wp-block-column {
		padding: 32px 24px;
	}

	.faiththeme-contact__info {
		border-radius: var(--wp--preset--border-radius--card) var(--wp--preset--border-radius--card) 0 0;
	}

	.faiththeme-contact__form {
		border-left: 1px solid var(--wp--preset--color--line);
		border-radius: 0 0 var(--wp--preset--border-radius--card) var(--wp--preset--border-radius--card);
		border-top: 0;
	}

	.faiththeme-contact__form h2.wp-block-heading {
		font-size: 26px;
	}
}

/* ---------- Staff grid ---------- */

.wp-block-group.faiththeme-section > .wp-block-faiththeme-staff-grid {
	margin-block-start: 34px;
}

.faiththeme-staff {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(4, 1fr);
	list-style: none;
	margin: 0;
	padding: 0;
}

.faiththeme-staff__portrait {
	aspect-ratio: 1 / 1;
	background-color: var(--wp--preset--color--mist);
	border-radius: var(--wp--preset--border-radius--card);
	overflow: hidden;
}

.faiththeme-staff__portrait img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.faiththeme-staff .faiththeme-staff__name {
	color: var(--wp--preset--color--midnight);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: normal;
	margin: 14px 0 0;
}

.faiththeme-staff .faiththeme-staff__role {
	color: var(--wp--preset--color--slate);
	font-size: 14px;
	line-height: normal;
	margin: 3px 0 0;
}

.faiththeme-staff__empty {
	color: var(--wp--preset--color--slate);
	margin: 0;
}

@media (max-width: 899.98px) {
	.faiththeme-staff {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ---------- Utility bar ---------- */

.faiththeme-utility {
	color: var(--wp--custom--color--utility-text);
	font-size: 13.5px;
	line-height: normal;
}

/* The "|" divider between service time and address. */
.faiththeme-utility__info > p + p::before {
	background-color: var(--wp--custom--color--utility-divider);
	content: "";
	display: inline-block;
	height: 1em;
	margin-right: 22px;
	vertical-align: -0.125em;
	width: 1px;
}

.wp-block-social-links.faiththeme-social.is-style-logos-only .wp-social-link {
	color: var(--wp--custom--color--utility-text);
}

.wp-block-social-links.faiththeme-social.is-style-logos-only .wp-social-link:hover {
	color: var(--wp--preset--color--amber);
}

.wp-block-social-links.faiththeme-social.is-style-logos-only .wp-social-link svg {
	height: 17px;
	width: 17px;
}

.wp-block-social-links.faiththeme-social.is-style-logos-only .wp-social-link-youtube svg {
	height: 19px;
	width: 19px;
}

@media (max-width: 599.98px) {
	/* Phones: service time over address, social icons beside them. */
	.faiththeme-utility .faiththeme-utility__row {
		flex-wrap: nowrap;
	}

	.faiththeme-utility .faiththeme-utility__info {
		align-items: flex-start;
		flex-direction: column;
		gap: 2px;
	}

	.faiththeme-utility__info > p + p::before {
		display: none;
	}
}

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

/* Sticky header; the utility bar above it scrolls away. */
.wp-site-blocks > header.wp-block-template-part {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 40;
}

@media (max-width: 600px) {
	/* The admin bar scrolls away on phones, so the header sticks to the very top. */
	.wp-site-blocks > header.wp-block-template-part {
		top: 0;
	}
}

.faiththeme-header {
	line-height: normal;
}

.faiththeme-header .faiththeme-wordmark,
.faiththeme-header .wp-block-buttons {
	flex-shrink: 0;
}

/* Bold menu: Jason's call (the design uses 500). 600 is the heaviest Instrument Sans weight the theme loads. */
.faiththeme-nav {
	font-weight: 600;
}

/* Top-level items keep 14px above and below so the dropdown stays reachable on hover. */
.faiththeme-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .wp-block-navigation-item {
	padding-block: 14px;
}

.faiththeme-nav .wp-block-navigation-item__content:hover,
.faiththeme-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .has-child:is(:hover, :focus-within) > .wp-block-navigation-item__content,
.faiththeme-nav .has-child:is(:hover, :focus-within) > .wp-block-navigation__submenu-icon,
.faiththeme-nav .has-child:has(> [aria-expanded="true"]) > .wp-block-navigation-item__content {
	color: var(--wp--preset--color--amber);
}

/* Down-arrow: the design's 10px "▾" character, 6px after the label, at 55% opacity. */
.faiththeme-nav.wp-block-navigation .wp-block-navigation__submenu-icon {
	height: auto;
	margin-left: 6px;
	opacity: 0.55;
	width: auto;
}

.faiththeme-nav.wp-block-navigation .wp-block-navigation__submenu-icon svg {
	display: none;
}

.faiththeme-nav.wp-block-navigation .wp-block-navigation__submenu-icon::before {
	content: "\25BE";
	font-size: 10px;
	line-height: 1;
}

/* Items without a dropdown carry an invisible arrow so spacing matches, as the design does. */
.faiththeme-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .wp-block-navigation-item:not(.has-child) > .wp-block-navigation-item__content::after {
	content: "\25BE" / "";
	font-size: 10px;
	line-height: 1;
	margin-left: 6px;
	opacity: 0;
}

/* Dropdown panel. */
.faiththeme-nav.wp-block-navigation .wp-block-navigation__responsive-container:not(.is-menu-open) .has-child > .wp-block-navigation__submenu-container {
	background-color: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--preset--border-radius--panel);
	box-shadow: var(--wp--preset--shadow--dropdown);
	box-sizing: content-box;
	gap: 2px;
	left: -18px;
	min-width: 250px;
	padding: 10px;
}

.faiththeme-nav.wp-block-navigation .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	border-radius: var(--wp--preset--border-radius--item);
	color: var(--wp--preset--color--midnight);
	font-size: 15px;
	padding: 10px 14px;
	white-space: nowrap;
}

.faiththeme-nav.wp-block-navigation .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	background-color: var(--wp--preset--color--porcelain);
	color: var(--wp--preset--color--chapel-navy);
}

/* Hamburger and close buttons: 44px touch target without changing the layout. */
.faiththeme-nav .wp-block-navigation__responsive-container-open,
.faiththeme-nav .wp-block-navigation__responsive-container-close {
	margin: -10px;
	padding: 10px;
}

/* Mobile drawer. Colors live here, not in the block's overlay settings, which would also tint the desktop dropdowns. */
.faiththeme-nav.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open {
	background-color: var(--wp--preset--color--vespers);
	color: var(--wp--preset--color--white);
}

/* Left-align the drawer; otherwise it inherits the desktop menu's right alignment. */
.faiththeme-nav.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open :is(.wp-block-navigation__responsive-container-content, .wp-block-navigation__container, .wp-block-navigation-item, .wp-block-navigation__submenu-container) {
	align-items: flex-start;
	text-align: left;
}

.faiththeme-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-size: 20px;
}

.faiththeme-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	color: var(--wp--custom--color--utility-text);
	font-size: 17px;
}

/* Core switches to the hamburger at 600px; the design switches at 900px. */
@media (min-width: 600px) and (max-width: 899.98px) {
	.faiththeme-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}

	.faiththeme-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}
}

@media (max-width: 899.98px) {
	.faiththeme-header .faiththeme-header__actions {
		gap: 16px;
	}

	/* Give sits before the hamburger so the menu icon is at the edge. */
	.faiththeme-header__actions .faiththeme-nav {
		order: 2;
	}
}

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

.faiththeme-footer {
	color: var(--wp--custom--color--footer-text);
	font-size: 15px;
	line-height: 1.6;
}

.faiththeme-footer :where(a) {
	color: var(--wp--custom--color--footer-text);
}

.faiththeme-footer :where(a):hover {
	color: var(--wp--preset--color--amber);
}

.faiththeme-footer__top {
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.faiththeme-footer__eyebrow {
	color: var(--wp--preset--color--amber);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: var(--wp--custom--letter-spacing--eyebrow);
	line-height: normal;
	text-transform: uppercase;
}

.faiththeme-footer__links {
	display: flex;
	flex-direction: column;
	gap: 10px;
	line-height: normal;
	list-style: none;
	padding: 0;
}

.faiththeme-footer__copyright {
	color: var(--wp--custom--color--footer-copyright);
	font-size: 13.5px;
}
