/*
Theme Name: Men of S.A.L.T.
Description: A responsive ministry homepage with an editable WordPress block pattern.
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: men-of-salt
*/
@font-face {
	font-family: "DM Sans";
	src: url("assets/dm-sans.woff2") format("woff2");
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
}
:root {
	--mos-ink: #181817;
	--mos-muted: #454442;
	--mos-orange: #b9400b;
	--mos-dark: #343638;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--mos-ink); background: #fff; font: 400 1rem/1.6 "DM Sans", sans-serif; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid #c35822; outline-offset: 4px; }
.mos-skip { position: absolute; z-index: 10; top: .5rem; left: .5rem; padding: .5rem 1rem; background: #fff; transform: translateY(-160%); }
.mos-skip:focus { transform: none; }
.mos-header { border-bottom: 1px solid #e8e6e4; }
.mos-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; width: min(90%, 1260px); margin: auto; min-height: 92px; padding: .45rem 0; }
.mos-brand { display: inline-flex; flex-direction: column; align-items: center; flex-shrink: 0; text-decoration: none; font-size: .63rem; font-weight: 800; line-height: 1.05; letter-spacing: .14em; }
.mos-brand img { width: 46px; height: 51px; object-fit: contain; }
.mos-brand strong { display: block; font-size: 1rem; }
.custom-logo-link img { width: auto; max-width: 118px; max-height: 70px; }
.mos-menu { display: flex; flex-wrap: wrap; gap: .6rem clamp(.9rem, 2.4vw, 2.6rem); align-items: center; padding: 0; margin: 0; list-style: none; font-size: .9rem; font-weight: 700; }
.mos-menu a { text-decoration: none; }
.mos-menu a:hover { text-decoration: underline; text-underline-offset: .28em; }
.mos-menu .sub-menu { padding-left: 1rem; }
.mos-header-action, .mos-home .wp-block-button__link, .mos-toggle { display: inline-block; border: 0; border-radius: 2px; padding: .66rem 1.1rem; background: var(--mos-dark); color: #fff; font: 700 .88rem/1.35 "DM Sans", sans-serif; text-decoration: none; }
.mos-toggle { display: none; }
.mos-home .mos-accent .wp-block-button__link { background: var(--mos-orange); }
.mos-header-action:hover, .mos-home .wp-block-button__link:hover { filter: brightness(1.18); }
.mos-home { container-type: inline-size; line-height: 1.58; }
.mos-home h1, .mos-home h2, .mos-home h3, .mos-home p, .mos-home figure { margin: 0; }
.mos-home h1, .mos-home h2, .mos-home h3 { font-weight: 800; line-height: 1.05; letter-spacing: -.045em; }
.mos-home h1 { font-size: clamp(2.3rem, 4.4cqw, 4.8rem); }
.mos-home h2 { font-size: clamp(1.95rem, 4.1cqw, 4.15rem); }
.mos-home h3 { font-size: clamp(1.2rem, 2cqw, 1.8rem); }
.mos-home p { color: var(--mos-muted); }
.mos-home .wp-block-image img { width: 100%; display: block; }
.mos-home .wp-block-buttons { gap: .6rem; }
.mos-home .wp-block-button { margin: 0; }
.mos-home .mos-brow { display: table; border: 1px solid #aaa6a0; border-radius: 99px; color: #34322e; padding: .15rem .75rem; font-size: .875rem; line-height: 1.25; font-weight: 700; }
.mos-hero { width: min(94%, 1500px); min-height: clamp(490px, 46cqw, 700px); margin: .65rem auto 0; border-radius: 24px; position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; background: #222722; color: white; text-align: center; }
.mos-hero .mos-hero-photo, .mos-hero::after { position: absolute; inset: 0; z-index: -1; }
.mos-hero .mos-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 46%; }
.mos-hero::after { content: ""; background: linear-gradient(180deg, #0b100e48, #0b100ebd 90%), #0b100e35; }
.mos-hero-copy { max-width: 860px; padding: 3rem 1.4rem; }
.mos-hero-copy p { max-width: 650px; margin: 1rem auto 1.25rem; color: #f6f5f3; font-size: clamp(1rem, 1.45cqw, 1.25rem); }
.mos-hero .wp-block-buttons, .mos-retreat .wp-block-buttons { justify-content: center; }
.mos-split { width: min(100%, 1600px); margin: clamp(2.8rem, 5cqw, 5rem) auto 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
.mos-split-photo, .mos-split-copy { grid-row: 1; }
.mos-right .mos-split-photo { grid-column: 6 / -1; }
.mos-left .mos-split-photo { grid-column: 1 / 8; }
.mos-home .mos-split-photo img { height: clamp(440px, 51cqw, 680px); object-fit: cover; }
.mos-split-copy { position: relative; background: #fff; display: grid; justify-items: start; gap: .85rem; padding: clamp(1.3rem, 3.2cqw, 3rem); }
.mos-right .mos-split-copy { grid-column: 1 / 7; padding-left: clamp(1.5rem, 8.7cqw, 9rem); }
.mos-left .mos-split-copy { grid-column: 7 / -1; padding-right: clamp(1.5rem, 7cqw, 7rem); text-align: right; justify-items: end; }
.mos-split-copy > p:not(.mos-brow) { max-width: 48ch; }
.mos-home .mos-split-copy h2 { max-width: 16ch; }
.mos-value { display: flex; align-items: center; gap: .85rem; }
.mos-value p { font-size: .9rem; }
.mos-home .mos-value-letter { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; flex: 0 0 2.2rem; border-radius: 50%; color: white; background: var(--mos-orange); font-weight: 800; }
.mos-purpose { width: min(86%, 1280px); margin: clamp(4.5rem, 10cqw, 10rem) auto; text-align: center; }
.mos-purpose-grid { display: grid; grid-template-columns: 1fr minmax(180px, 1.05fr) 1fr; align-items: center; gap: clamp(1rem, 3cqw, 3rem); margin-top: 1.6rem; }
.mos-purpose-grid .mos-arm:first-child { text-align: left; }
.mos-purpose-grid .mos-arm:last-child { text-align: right; }
.mos-arm p { margin-top: .65rem; }
.mos-home .mos-purpose-crest img { max-height: 430px; object-fit: contain; }
.mos-card { width: min(84%, 1270px); margin: 0 auto; padding: clamp(1.25rem, 3.1cqw, 3.1rem); background: #eeeded; border-radius: 24px; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(1.4rem, 4cqw, 4rem); }
.mos-card-copy { display: grid; justify-items: start; gap: .95rem; }
.mos-card img { border-radius: 15px; aspect-ratio: 1.27; object-fit: cover; }
.mos-banner { display: flex; justify-content: center; align-items: center; gap: clamp(.8rem, 2.6cqw, 2.6rem); margin-top: clamp(3.5rem, 9cqw, 8rem); padding: 1.6rem 4%; text-align: center; background: #bc410c; color: white; }
.mos-home .mos-banner h2 { font-size: clamp(1.6rem, 4.25cqw, 4.1rem); }
.mos-home .mos-banner img { width: clamp(30px, 5cqw, 68px); filter: grayscale(1) brightness(0) invert(1); }
.mos-workshops { width: min(84%, 1260px); text-align: center; margin: clamp(3.8rem, 9cqw, 8rem) auto; }
.mos-workshops .mos-brow, .mos-workshops > p { margin: .65rem auto; }
.mos-workshop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.6rem, 1.6cqw, 1.5rem); margin-top: 2rem; }
.mos-workshop-grid img { aspect-ratio: .87; object-fit: cover; border-radius: 15px; filter: grayscale(1); }
.mos-resources { width: min(94%, 1420px); }
.mos-retreat { margin-top: clamp(4.5rem, 10cqw, 9rem); text-align: center; }
.mos-retreat-copy { position: relative; z-index: 1; margin: auto; padding: 0 1.25rem 1.5rem; max-width: 720px; }
.mos-retreat-copy p { margin: .75rem 0 1.25rem; }
.mos-retreat > figure { position: relative; }
.mos-retreat > figure::after { content: ""; position: absolute; inset: 0 0 auto; height: 29%; background: linear-gradient(white, #ffffff00); pointer-events: none; }
.mos-home .mos-retreat img { height: clamp(470px, 67cqw, 940px); object-fit: cover; object-position: center 43%; }
.mos-footer { overflow: hidden; background: #181818; color: #fff; text-align: center; padding: 2.6rem 5% 0; }
.mos-footer-inner { width: min(100%, 960px); margin: auto; display: grid; grid-template-columns: 1fr 1.2fr 1fr; align-items: center; gap: 1.5rem; }
.mos-footer .mos-menu { display: grid; text-align: left; gap: .3rem; }
.mos-footer .mos-brand { justify-self: center; font-size: 1rem; }
.mos-footer .mos-brand img { width: 110px; height: 110px; }
.mos-footer .mos-brand strong { font-size: 1.9rem; }
.mos-footer .custom-logo-link { justify-self: center; }
.mos-footer-values { text-align: right; font-size: .92rem; }
.mos-copyright { width: min(100%, 960px); border-top: 1px solid #696766; margin: 2rem auto 0; padding: 1rem; font-size: .85rem; color: #ddd; }
.mos-footer-wordmark { font-weight: 800; font-size: 12vw; line-height: .8; letter-spacing: -.06em; white-space: nowrap; color: #323232; }
.mos-standard { width: min(90%, 780px); min-height: 50vh; margin: 3rem auto; }
.editor-styles-wrapper .mos-home { font-family: "DM Sans", sans-serif; }
@media (max-width: 800px) {
	.mos-header-inner { flex-wrap: wrap; min-height: 72px; width: 92%; gap: .75rem; }
	.mos-header-action { display: none; }
	.mos-toggle:not([hidden]) { display: block; }
	#mos-primary { flex-basis: 100%; padding: .75rem 0; }
	.mos-toggle:not([hidden]) + #mos-primary:not(.is-open) { display: none; }
	#mos-primary .mos-menu { align-items: flex-start; flex-direction: column; gap: .65rem; }
	.mos-hero { min-height: 460px; border-radius: 16px; }
	.mos-split { display: flex; flex-direction: column; align-items: stretch; width: 92%; }
	.mos-home .mos-split-photo img { height: clamp(240px, 58cqw, 430px); border-radius: 16px; }
	.mos-right .mos-split-copy, .mos-left .mos-split-copy { text-align: left; justify-items: start; padding: 1.4rem .3rem 0; }
	.mos-value { flex-direction: row-reverse; }
	.mos-purpose-grid { grid-template-columns: 1fr; }
	.mos-purpose-grid .mos-arm:first-child, .mos-purpose-grid .mos-arm:last-child { text-align: center; }
	.mos-purpose-crest { grid-row: 1; }
	.mos-home .mos-purpose-crest img { height: 175px; }
	.mos-card { width: 92%; grid-template-columns: 1fr; border-radius: 16px; }
	.mos-card img { aspect-ratio: 1.55; }
	.mos-workshops { width: 92%; }
	.mos-workshop-grid img { border-radius: 8px; }
	.mos-home .mos-retreat img { height: clamp(460px, 110cqw, 640px); }
	.mos-footer-inner { grid-template-columns: 1fr 1fr; }
	.mos-footer-inner > :nth-child(2) { grid-row: 1; grid-column: 1 / -1; }
}
