/*
Theme Name: Salem Ottawa
Theme URI: https://salem-ottawa.org
Description: Production child theme for Église Baptiste Salem d'Ottawa, built on Astra.
Author: Église Baptiste Salem d'Ottawa
Template: astra
Version: 1.0.8
Text Domain: salem-ottawa
*/

:root {
	--ast-global-color-0: #113f34;
	--ast-global-color-1: #0f766e;
	--ast-global-color-2: #14231f;
	--ast-global-color-3: #586a63;
	--ast-global-color-4: #f8f7f1;
	--ast-global-color-5: #ffffff;
	--ast-global-color-6: #edf2ee;
	--ast-global-color-7: #c89a2b;
	--ast-global-color-8: #8f3a3f;
}

body {
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	letter-spacing: 0;
}

body,
button,
input,
select,
textarea {
	font-variant-ligatures: common-ligatures;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	letter-spacing: 0;
}

.site {
	background: #f8f7f1;
}

.salem-managed-page .site-content .ast-container {
	width: 100%;
	max-width: none;
	padding-right: 0;
	padding-left: 0;
}

.salem-managed-page .content-area,
.salem-managed-page .site-main,
.salem-managed-page .entry-content {
	margin: 0;
}

.salem-managed-page .ast-article-single,
.salem-managed-page.ast-separate-container .ast-article-single {
	padding: 0;
	background: transparent;
}

.salem-managed-page .entry-header,
.salem-managed-page .post-thumb-img-content {
	display: none;
}

.salem-language-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 112px;
	min-width: 112px;
	height: 44px;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid rgba(200, 154, 43, 0.68);
	border-radius: 999px;
	color: #ffffff;
	text-align: center;
	white-space: nowrap;
}

.ast-site-identity {
	padding-top: 14px;
	padding-bottom: 14px;
}

.site-logo-img img {
	width: auto;
	max-height: 72px;
}

.site-title,
.site-title a {
	color: #16231f;
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 700;
	letter-spacing: 0;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 999;
}

.admin-bar .site-header {
	top: 32px;
}

.main-header-menu > .menu-item > .menu-link {
	position: relative;
	color: #14231f;
	font-weight: 700;
	letter-spacing: 0;
	min-height: 68px;
	padding-right: 14px;
	padding-left: 14px;
	transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.main-header-menu > .menu-item:last-child > .menu-link {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	width: 112px;
	min-width: 112px;
	height: 44px;
	min-height: 44px;
	padding-right: 0;
	padding-left: 0;
	text-align: center;
	white-space: nowrap;
	overflow: visible;
}

@media (min-width: 922px) {
	.site-header .ast-primary-header-bar .ast-container,
	.site-header .ast-primary-header-bar .site-primary-header-wrap {
		box-sizing: border-box;
		width: calc(100% - 24px);
		max-width: 1880px;
		margin-right: auto;
		margin-left: auto;
		padding-right: 0;
		padding-left: 0;
	}

	.site-header .ast-primary-header-bar .ast-builder-grid-row {
		display: flex;
		align-items: center;
		width: 100%;
		min-width: 0;
		grid-template-columns: none;
		flex-wrap: nowrap;
	}

	.site-header .site-header-primary-section-left {
		display: flex;
		align-items: center;
		flex: 0 0 auto;
		min-width: 0;
	}

	.site-header .site-header-primary-section-right {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		flex: 1 1 auto;
		min-width: 0;
		margin-left: auto;
		flex-wrap: nowrap;
	}

	.site-header .site-header-primary-section-right .ast-builder-menu-1,
	.site-header .site-header-primary-section-right .ast-main-header-bar-alignment,
	.site-header .site-header-primary-section-right .main-header-bar-navigation,
	.site-header .site-header-primary-section-right .main-navigation {
		display: flex;
		align-items: center;
		flex: 1 1 auto;
		min-width: 0;
		max-width: 100%;
	}

	.site-header .site-header-primary-section-right .main-header-menu {
		box-sizing: border-box;
		display: flex;
		align-items: center;
		justify-content: flex-end;
		flex: 1 1 auto;
		width: 100%;
		min-width: 0;
		max-width: 100%;
		padding-left: clamp(24px, 2.6vw, 48px);
		flex-wrap: nowrap;
	}

	.site-header .site-header-primary-section-right .main-header-menu > .menu-item {
		flex: 0 0 auto;
		white-space: nowrap;
	}

	.site-header .site-header-primary-section-right .main-header-menu > .menu-item:last-child {
		flex: 0 0 112px;
		margin-left: auto;
	}

	.site-header .site-header-primary-section-right .ast-header-button-1 {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		flex: 0 0 176px;
		width: 176px;
		min-width: 176px;
		margin-left: 18px;
		margin-right: 0;
		white-space: nowrap;
	}

	.site-header .site-header-primary-section-right .ast-header-button-1 .ast-builder-button-wrap,
	.site-header .site-header-primary-section-right .ast-header-button-1 .ast-custom-button-link,
	.site-header .site-header-primary-section-right .ast-header-button-1 .ast-custom-button {
		flex: 0 0 auto;
		white-space: nowrap;
	}

	body.salem-lang-fr .main-header-menu > .menu-item > .menu-link {
		padding-right: 6px;
		padding-left: 6px;
	}

	body.salem-lang-fr .main-header-menu > .menu-item > .menu-link::after {
		right: 6px;
		left: 6px;
	}

	body.salem-lang-fr .main-header-menu > .menu-item:last-child > .menu-link {
		width: 112px;
		min-width: 112px;
		padding-right: 0;
		padding-left: 0;
	}
}

.main-header-menu > .menu-item:last-child > .menu-link .salem-language-flag {
	display: block;
	flex: 0 0 auto;
	width: 18px;
	height: 12px;
	border-radius: 2px;
	box-shadow: 0 0 0 1px rgba(20, 35, 31, 0.16);
	pointer-events: none;
}

.main-header-menu > .menu-item:last-child > .menu-link .salem-language-label {
	display: block;
	flex: 0 0 auto;
	width: auto;
	text-align: center;
	line-height: 1;
	pointer-events: none;
}

.main-header-menu > .menu-item > .menu-link:hover,
.main-header-menu > .current-menu-item > .menu-link {
	color: #113f34;
}

.main-header-menu > .menu-item > .menu-link::after {
	position: absolute;
	right: 14px;
	bottom: 16px;
	left: 14px;
	height: 2px;
	background: #c89a2b;
	content: "";
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 180ms ease;
}

.main-header-menu > .menu-item > .menu-link:hover::after,
.main-header-menu > .current-menu-item > .menu-link::after {
	transform: scaleX(1);
}

.ast-header-button-2 {
	display: none !important;
}

.ast-header-button-1 .ast-builder-button-wrap {
	display: flex;
	align-items: center;
	width: 176px;
	min-width: 176px;
}

.ast-header-button-1 .ast-custom-button-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 176px;
	min-width: 176px;
	color: #ffffff !important;
	text-decoration: none;
}

.ast-header-button-1 .ast-custom-button-link:visited {
	color: #ffffff !important;
}

.ast-header-button-1 .menu-link {
	display: none !important;
}

.ast-header-button-1 .ast-custom-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 164px;
	min-width: 164px;
	height: 46px;
	min-height: 46px;
	margin-left: 12px;
	padding: 13px 16px;
	border: 2px solid #c89a2b !important;
	border-radius: 999px;
	background: #113f34 !important;
	color: #ffffff !important;
	font-size: 0.9rem;
	font-weight: 900;
	letter-spacing: 0.05em;
	line-height: 1.2;
	text-transform: uppercase;
	box-shadow: 0 14px 30px rgba(17, 63, 52, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.16);
	transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.ast-header-button-1 .ast-custom-button-link:hover .ast-custom-button,
.ast-header-button-1 .ast-custom-button-link:focus .ast-custom-button {
	background: #0b241f !important;
	border-color: #d7b45a !important;
	color: #ffffff !important;
	box-shadow: 0 18px 36px rgba(17, 63, 52, 0.34), 0 0 0 3px rgba(200, 154, 43, 0.18);
	transform: translateY(-1px);
}

.main-header-menu .sub-menu {
	min-width: 240px;
	padding: 10px;
	border: 1px solid rgba(20, 35, 31, 0.12);
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 18px 42px rgba(20, 35, 31, 0.14);
}

.main-header-menu .sub-menu .menu-link {
	min-height: 42px;
	border-radius: 8px;
	color: #14231f;
	font-weight: 700;
	line-height: 1.25;
}

.main-header-menu .sub-menu .menu-link:hover,
.main-header-menu .sub-menu .menu-link:focus {
	background: #edf2ee;
	color: #113f34;
}

.site-header,
.ast-primary-header-bar {
	border-bottom-color: rgba(22, 35, 31, 0.12);
	background: rgba(248, 247, 241, 0.96);
	box-shadow: 0 10px 30px rgba(20, 35, 31, 0.08);
	backdrop-filter: saturate(160%) blur(10px);
}

.ast-builder-menu-1 .menu-item > .menu-link:focus-visible,
.main-header-menu > .menu-item > .menu-link:focus-visible,
.salem-footer a:focus-visible {
	outline: 3px solid #c89a2b;
	outline-offset: 3px;
}

.site-footer {
	background: #0b241f;
	color: #ffffff;
}

.salem-footer {
	overflow: hidden;
	background:
		radial-gradient(circle at 50% 0, rgba(200, 154, 43, 0.14), rgba(200, 154, 43, 0) 30%),
		#0b241f;
	color: #f8f7f1;
}

.salem-footer__main {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 64px;
	align-items: start;
	width: min(100% - 48px, 1240px);
	margin: 0 auto;
	padding: 84px 0 78px;
}

.salem-footer__column {
	min-width: 0;
}

.salem-footer__heading {
	position: relative;
	margin: 0 0 26px;
	padding-bottom: 14px;
	color: #d7b45a;
	font-size: 0.96rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-transform: uppercase;
}

.salem-footer__heading::after {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 72px;
	height: 3px;
	border-radius: 999px;
	background: #c89a2b;
	content: "";
}

.salem-footer a {
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
}

.salem-footer__nav ul {
	display: grid;
	gap: 11px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.salem-footer__nav a {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	color: rgba(255, 255, 255, 0.88);
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.4;
	transition: color 160ms ease, transform 160ms ease;
}

.salem-footer__nav a:hover,
.salem-footer__nav a:focus {
	color: #c89a2b;
	transform: translateX(6px);
}

.salem-footer__chevron {
	color: #c89a2b;
	font-size: 1.2rem;
	font-weight: 900;
	line-height: 1;
	transition: transform 160ms ease;
}

.salem-footer__nav a:hover .salem-footer__chevron,
.salem-footer__nav a:focus .salem-footer__chevron {
	transform: translateX(2px);
}

.salem-footer__brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	align-self: center;
	text-align: center;
}

.salem-footer__logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 132px;
	height: 132px;
	margin: 0 auto;
	border-radius: 50%;
	background: #f8f7f1;
	box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.salem-footer__logo img {
	width: 112px;
	height: 112px;
	object-fit: contain;
}

.salem-footer__church-name {
	max-width: 320px;
	margin: 22px auto 0;
	color: #ffffff;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.35rem, 2.2vw, 1.8rem);
	font-weight: 800;
	line-height: 1.18;
}

.salem-footer__mission-kicker {
	margin: 12px 0 0;
	color: #d7b45a;
	font-size: 0.82rem;
	font-weight: 900;
	letter-spacing: 0.06em;
	line-height: 1.35;
	text-transform: uppercase;
}

.salem-footer__brand-divider {
	width: 132px;
	height: 1px;
	margin: 24px auto;
	background: linear-gradient(90deg, transparent, #c89a2b, transparent);
}

.salem-footer__mission-list {
	display: grid;
	gap: 12px;
	width: min(100%, 330px);
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

.salem-footer__mission-list li {
	display: flex;
	gap: 10px;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.88);
	font-weight: 850;
	line-height: 1.35;
}

.salem-footer-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(200, 154, 43, 0.42);
	border-radius: 50%;
	background: rgba(200, 154, 43, 0.12);
	color: #d7b45a;
	flex: 0 0 auto;
}

.salem-footer-icon svg {
	width: 19px;
	height: 19px;
}

.salem-footer__contact-list {
	display: grid;
	gap: 16px;
}

.salem-footer__contact-item {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
	color: rgba(255, 255, 255, 0.88);
	text-decoration: none;
}

.salem-footer__contact-item .salem-footer-icon {
	margin-top: 0;
}

.salem-footer__contact-item p {
	display: grid;
	gap: 4px;
	margin: 0;
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.45;
}

.salem-footer__contact-item strong {
	color: #d7b45a;
	font-size: 0.92rem;
	font-weight: 900;
}

.salem-footer__contact-item span {
	color: rgba(255, 255, 255, 0.76);
	font-weight: 650;
}

.salem-footer__contact-item:hover strong,
.salem-footer__contact-item:focus strong {
	color: #c89a2b;
}

.salem-footer__social {
	margin-top: 26px;
}

.salem-footer__social h3 {
	margin: 0 0 12px;
	color: #d7b45a;
	font-size: 0.9rem;
	font-weight: 900;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.salem-footer__social-icons {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.salem-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin: 0;
	color: rgba(255, 255, 255, 0.9);
	font-weight: 800;
	transition: color 160ms ease, transform 160ms ease;
}

.salem-footer__social-link:hover,
.salem-footer__social-link:focus {
	color: #c89a2b;
	transform: translateY(-1px);
}

.salem-footer__social-link--static {
	cursor: default;
	pointer-events: none;
}

.salem-footer__social-link--static:hover,
.salem-footer__social-link--static:focus {
	color: rgba(255, 255, 255, 0.9);
	transform: none;
}

.salem-footer__social-link .salem-footer-icon {
	width: 30px;
	height: 30px;
}

.salem-footer__social-link .salem-footer-icon svg {
	width: 15px;
	height: 15px;
}

.salem-footer__bottom-band {
	position: relative;
	z-index: 1;
	padding: 34px 24px 32px;
	border-radius: 42px 42px 0 0;
	background: #061a16;
	color: #ffffff;
	box-shadow: 0 -18px 42px rgba(0, 0, 0, 0.18);
}

.salem-footer__bottom-inner {
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: center;
	width: min(100% - 48px, 1240px);
	margin: 0 auto;
	text-align: center;
}

.salem-footer__bottom-inner .salem-footer-icon {
	width: 34px;
	height: 34px;
	border-color: rgba(200, 154, 43, 0.55);
	background: rgba(200, 154, 43, 0.12);
	color: #d7b45a;
}

.salem-footer__bottom-inner p {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	align-items: center;
	justify-content: center;
	margin: 0;
	color: #ffffff;
	font-weight: 750;
	line-height: 1.4;
}

.salem-footer__bottom-inner p span + span {
	color: rgba(255, 255, 255, 0.78);
}

.salem-managed-page .entry-content .wp-block-group.salem-page .wp-block-group.salem-hero .salem-hero__content > .salem-eyebrow,
.salem-managed-page .entry-content .wp-block-group.salem-page .wp-block-group.salem-hero .salem-hero__content > h1,
.salem-managed-page .entry-content .wp-block-group.salem-page .wp-block-group.salem-hero .salem-hero__content > .salem-lede,
.salem-managed-page .entry-content .wp-block-group.salem-page .wp-block-group.salem-spotlight .salem-spotlight__copy > .salem-eyebrow,
.salem-managed-page .entry-content .wp-block-group.salem-page .wp-block-group.salem-spotlight .salem-spotlight__copy > h2,
.salem-managed-page .entry-content .wp-block-group.salem-page .wp-block-group.salem-spotlight .salem-spotlight__copy > p,
.salem-managed-page .entry-content .wp-block-group.salem-page .wp-block-group.salem-spotlight .salem-check-list > li {
	background: transparent;
	background-color: transparent;
	background-image: none;
	box-shadow: none;
	opacity: 1;
	mix-blend-mode: normal;
	-webkit-box-decoration-break: slice;
	box-decoration-break: slice;
	-webkit-background-clip: border-box;
	background-clip: border-box;
}

.salem-managed-page .entry-content .wp-block-group.salem-page .wp-block-group.salem-hero .salem-hero__content > .salem-eyebrow {
	color: #ead8a4 !important;
	-webkit-text-fill-color: #ead8a4 !important;
}

.salem-managed-page .entry-content .wp-block-group.salem-page .wp-block-group.salem-hero .salem-hero__content > h1 {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

.salem-managed-page .entry-content .wp-block-group.salem-page .wp-block-group.salem-hero .salem-hero__content > .salem-lede {
	color: rgba(255, 255, 255, 0.93) !important;
	-webkit-text-fill-color: rgba(255, 255, 255, 0.93) !important;
}

.salem-managed-page .entry-content .wp-block-group.salem-page .wp-block-group.salem-spotlight .salem-spotlight__copy > .salem-eyebrow {
	color: #123b33 !important;
	-webkit-text-fill-color: #123b33 !important;
}

.salem-managed-page .entry-content .wp-block-group.salem-page .wp-block-group.salem-spotlight .salem-spotlight__copy > h2 {
	color: #123b33 !important;
	-webkit-text-fill-color: #123b33 !important;
}

.salem-managed-page .entry-content .wp-block-group.salem-page .wp-block-group.salem-spotlight .salem-spotlight__copy > p,
.salem-managed-page .entry-content .wp-block-group.salem-page .wp-block-group.salem-spotlight .salem-check-list > li {
	color: #123b33 !important;
	-webkit-text-fill-color: #123b33 !important;
}

.salem-managed-page .entry-content .wp-block-group.salem-page .wp-block-group.salem-spotlight:hover .salem-spotlight__copy > h2,
.salem-managed-page .entry-content .wp-block-group.salem-page .wp-block-group.salem-spotlight:focus-within .salem-spotlight__copy > h2 {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

.salem-managed-page .entry-content .wp-block-group.salem-page .wp-block-group.salem-spotlight:hover .salem-spotlight__copy > .salem-eyebrow,
.salem-managed-page .entry-content .wp-block-group.salem-page .wp-block-group.salem-spotlight:focus-within .salem-spotlight__copy > .salem-eyebrow {
	color: #f1dfab !important;
	-webkit-text-fill-color: #f1dfab !important;
}

.salem-managed-page .entry-content .wp-block-group.salem-page .wp-block-group.salem-spotlight:hover .salem-spotlight__copy > p,
.salem-managed-page .entry-content .wp-block-group.salem-page .wp-block-group.salem-spotlight:focus-within .salem-spotlight__copy > p,
.salem-managed-page .entry-content .wp-block-group.salem-page .wp-block-group.salem-spotlight:hover .salem-check-list > li,
.salem-managed-page .entry-content .wp-block-group.salem-page .wp-block-group.salem-spotlight:focus-within .salem-check-list > li {
	color: rgba(255, 255, 255, 0.88) !important;
	-webkit-text-fill-color: rgba(255, 255, 255, 0.88) !important;
}

@media (max-width: 921px) {
	.admin-bar .site-header {
		top: 46px;
	}

	.site-logo-img img {
		max-height: 58px;
	}

	.ast-header-button-1 .ast-custom-button {
		margin: 8px 0 0;
	}

	.main-header-menu > .menu-item > .menu-link::after {
		right: 0;
		bottom: 8px;
		left: 0;
	}

	.salem-footer__main {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 34px 28px;
	}

	.salem-footer__brand {
		grid-column: 1 / -1;
		order: -1;
	}
}

@media (max-width: 640px) {
	.salem-footer__main,
	.salem-footer__bottom-inner {
		width: min(100% - 32px, 1200px);
	}

	.salem-footer__main {
		grid-template-columns: 1fr;
		padding-top: 52px;
		padding-bottom: 48px;
	}

	.salem-footer__brand {
		grid-column: auto;
	}

	.salem-footer__bottom-inner,
	.salem-footer__bottom-inner p {
		flex-direction: column;
	}
}
