/* ==========================================================================
   Natural Spirituality — site styles
   One stylesheet replacing reset + bootstrap + font-awesome + contact +
   styles + fancybox + flexslider + responsive. Same look, same grid.

   1. Tokens          5. Tile grid          9. Slider
   2. Base            6. Tile contents     10. Article pagination
   3. Preloader       7. Hover states      11. Intro banner (Temple Q)
   4. Header + nav    8. Contact form      12. Footer   13. Responsive
   ========================================================================== */

/* 0. Fonts — hosted with the site (Lato: SIL Open Font License; Droid Serif: Apache License 2.0).
   The "-ext" files hold accented Latin letters and only download if a page uses them.
   -------------------------------------------------------------------------- */
@font-face {
	font-family: "Lato";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(../fonts/lato-400.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Lato";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(../fonts/lato-400-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Lato";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(../fonts/lato-700.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Lato";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(../fonts/lato-700-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Droid Serif";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(../fonts/droid-serif-400.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 1. Tokens
   -------------------------------------------------------------------------- */
:root {
	--paper: #f2f2f2;      /* page background */
	--tile: #e9e9e9;       /* text tiles */
	--ink: #2b2b2b;        /* headings, links */
	--ink-soft: #555;
	--text: #666;
	--muted: #888;
	--rule: #d8d8d8;
	--night: #1d1d1d;      /* slide-out menu */
	--accent: #89b32c;
	--error: #d31800;

	--sans: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
	--serif: "Droid Serif", Georgia, serif;

	--cell: 234px;         /* one grid cell, including its 10px gutter */
	--gutter: 10px;
	--menu-width: 200px;
	--ease-out: cubic-bezier(.19, 1, .22, 1);
}

/* 2. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
html {
	overflow-x: hidden;
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	-webkit-tap-highlight-color: transparent;
}
body {
	font: 14px/1.42857143 var(--sans);
	color: var(--text);
	background: var(--night);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6 {
	position: relative;
	display: block;
	margin: 10px 0;
	font-weight: 400;
	line-height: 1.3;
	color: var(--ink);
}
h1 { margin: 20px 0; font-size: 55px; line-height: 1.15; letter-spacing: -3px; }
h2 { margin-top: 20px; font-size: 36px; line-height: 1.2; letter-spacing: -2px; }
h3 { font-size: 28px; line-height: 1.25; letter-spacing: -1.5px; }
h4 { font-size: 20px; letter-spacing: -.5px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

p {
	position: relative;
	margin: 0 0 10px;
	line-height: 1.5;
	transition: color .2s ease, opacity .2s ease;
}
ul, ol { margin-bottom: 10px; list-style: none; }
ul ul { margin-bottom: 0; }
strong, b { font-weight: 700; }
p strong { color: var(--ink-soft); }
em { font-style: inherit; }

a { color: var(--ink); text-decoration: none; }
a, a * { transition: color .2s ease, background-color .2s ease, opacity .2s ease, right .2s ease; }
p a { color: var(--ink-soft); text-decoration: underline; }
p a:hover { color: var(--ink); }
a p { color: var(--ink-soft); }

img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	border: 0;
}
button, input, textarea {
	font: inherit;
	color: inherit;
	border: 0;
	border-radius: 0;
	background: none;
	appearance: none;
}
button { cursor: pointer; text-align: inherit; }
fieldset { min-width: 0; border: 0; }

:focus { outline: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.icon {
	display: inline-block;
	width: auto;
	height: 1em;
	margin-right: 3px;
	vertical-align: -.143em;
	fill: var(--ink);
}
p .icon { fill: var(--muted); }

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
.clear { clear: both; }
.centered { text-align: center; }
[hidden] { display: none !important; }

/* 3. Preloader (only shown when scripts are running)
   -------------------------------------------------------------------------- */
#preloader { display: none; }
.js #preloader {
	position: fixed;
	inset: 0;
	z-index: 9999999;
	display: grid;
	place-items: center;
	background: #fff;
	transition: opacity .2s ease .35s, visibility 0s linear .55s;
}
#preloader p {
	margin: 0 0 20px;
	color: var(--ink-soft);
	transition: opacity .35s ease;
}
.js.is-loaded #preloader { opacity: 0; visibility: hidden; }
.js.is-loaded #preloader p { opacity: 0; }

/* 4. Header + slide-out menu
   -------------------------------------------------------------------------- */
#wrap {
	position: relative;
	z-index: 1001;
	min-height: 100vh;
	background: var(--paper);
	transition: transform .33s cubic-bezier(.33, 0, .2, 1);
}
.pushed-left #wrap { transform: translate3d(calc(var(--menu-width) * -1), 0, 0); }

#header {
	position: relative;
	z-index: 155;
	display: flex;
	align-items: flex-start;
	width: 100%;
	min-height: 111px;
	padding: 23px 45px 13px 55px;
	background: var(--paper);
}
#logo {
	width: 121px;
	height: 70px;
	margin: 0 auto 0 0;
}
#logo a {
	display: block;
	width: 121px;
	height: 70px;
	overflow: hidden;
	text-indent: -9999px;
	background: url(../images/bg-logo2.png) center / 121px 70px no-repeat;
}
#menu-button {
	order: 2;
	display: block;
	width: 48px;
	height: 48px;
	margin: 13.5px 0;
	z-index: 1111;
}
#nav-button {
	display: block;
	width: 48px;
	height: 46px;
	padding: 16px 0 0 14px;
}
.nav-bar {
	position: relative;
	display: block;
	width: 19px;
	height: 2px;
	margin: 0 0 3px;
	border-radius: 1px;
	background-color: var(--ink);
	transition: transform .2s ease-in-out, top .2s ease-in-out, width .2s ease-in-out, margin .2s ease-in-out;
}
.nav-bar:nth-child(2) { width: 14px; margin-left: 5px; }
.nav-bar:nth-child(3) { width: 17px; margin-left: 2px; }
.pushed-left .nav-bar:nth-child(1) { top: 5px; transform: rotate(45deg); }
.pushed-left .nav-bar:nth-child(2) { width: 19px; margin-left: 0; transform: rotate(-45deg); }
.pushed-left .nav-bar:nth-child(3) { display: none; }

#main-nav {
	position: absolute;
	top: 0;
	right: 0;
	width: var(--menu-width);
	padding: 39px 34px 20px;
	background-color: var(--night);
}
#main-nav :focus-visible { outline-color: #fff; }
#main-nav ul { position: relative; line-height: 1.4; }
#main-nav a,
#main-nav .sub-nav-toggle,
#main-nav .soon {
	position: relative;
	display: block;
	width: 100%;
	padding: 9px 0 10px;
	font-size: 15px;
	color: rgba(255, 255, 255, .6);
}
#main-nav a:hover,
#main-nav a.selected,
#main-nav .sub-nav-toggle:hover,
#main-nav .sub-nav-toggle.selected { color: #fff; }

#main-nav .sub-nav-wrap {
	display: grid;
	grid-template-rows: 0fr;
	visibility: hidden;
	transition: grid-template-rows .42s ease, visibility 0s linear .42s;
}
#main-nav .sub-nav-toggle[aria-expanded="true"] + .sub-nav-wrap {
	grid-template-rows: 1fr;
	visibility: visible;
	transition-delay: 0s;
}
#main-nav .sub-nav { min-height: 0; overflow: hidden; }
#main-nav .sub-nav li:first-child { padding-top: 6px; }
#main-nav .sub-nav a,
#main-nav .sub-nav .soon {
	padding: 3px 0 3px 15px;
	font-size: 13px;
}
#main-nav .sub-nav li:last-child > * { padding-bottom: 8px; }
#main-nav .soon { cursor: default; }

/* arrow that slides in beside a menu link on hover */
#options a::before {
	content: "";
	position: absolute;
	top: 10px;
	right: 24px;
	width: 30px;
	height: 20px;
	background: url(../images/arrow.png) right center / 30px 20px no-repeat;
	opacity: 0;
	transition: right .5s var(--ease-out), opacity .5s var(--ease-out);
}
#options a:hover::before { right: 0; opacity: 1; }
#options .sub-nav a::before { top: 4px; width: 27px; height: 18px; background-size: 27px 18px; }

.social-list { margin: 0; padding: 10px 0 15px; font-size: 0; }
.social-list li { position: relative; display: inline-block; padding: 0 3px; }
.social-list .icon { height: 17px; margin: 0; fill: var(--muted); transition: fill .2s ease; }
.social-list a:hover .icon { fill: var(--ink); }
#header .social-list { order: 1; padding-top: 27px; }
#main-nav .social-list { display: none; }
#main-nav .social-list li { padding: 0; }
#main-nav .social-list a { width: auto; margin-right: 15px; }
#main-nav .social-list .icon { fill: rgba(255, 255, 255, .6); }
#main-nav .social-list a:hover .icon { fill: #fff; }

/* 5. Tile grid — every tile is a multiple of one 234px cell
   -------------------------------------------------------------------------- */
#content {
	position: relative;
	z-index: 55;
	width: 100%;
	background: var(--paper);
}
.container {
	position: relative;
	width: calc(var(--cell) * 5);
	margin: 0 auto;
}
#container {
	display: flow-root;
	padding-bottom: 20px;
}
.element {
	position: relative;
	float: left;
	padding: var(--gutter);
	overflow: hidden;
}
.col--1-1 { width: var(--cell); height: var(--cell); }
.col--1-2 { width: var(--cell); height: calc(var(--cell) * 2); }
.col--2-1 { width: calc(var(--cell) * 2); height: var(--cell); }
.col--2-2 { width: calc(var(--cell) * 2); height: calc(var(--cell) * 2); }
.col--3-2 { width: calc(var(--cell) * 3); height: calc(var(--cell) * 2); }
.col--2-3 { width: calc(var(--cell) * 2); height: calc(var(--cell) * 3); }
.col--4-1 { width: calc(var(--cell) * 4); height: var(--cell); } /* a strip: 4 cells wide, 1 tall */
.col--5 { float: none; width: 100%; height: auto; }
.element.auto { height: auto; }

/* 6. Tile contents
   -------------------------------------------------------------------------- */
.greyed {
	position: relative;
	width: 100%;
	height: 100%;
	padding: 45px 50px 44px;
	overflow: hidden;
	background: var(--tile);
}
.col--1-1 .greyed, .col--1-2 .greyed { padding: 30px 35px 29px; }

.borders {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
.borders > img {
	min-height: 100%;
	object-fit: cover;
	object-position: 50% 0;
}
.element > a { display: block; height: 100%; }

.with-bg { position: relative; text-shadow: 0 0 30px rgba(0, 0, 0, .2); }
.with-bg p { color: #fff; }
.with-bg p.small { opacity: .8; }
.with-bg .icon { fill: #fff; }
.with-bg h1, .with-bg h2, .with-bg h3, .with-bg h4, .with-bg h5, .with-bg h6 {
	display: inline-block;
	max-width: calc(100% - 80px);
	margin-bottom: 8px;
	font-weight: 700;
	color: #fff;
}
.with-bg h1 { font-weight: 400; }
.with-bg ul, .with-bg ol { color: #fff; }

/* text laid over an image: .parent fills the tile, .top/.bottom/.child pin it */
.parent {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 11;
	display: table;
	width: 100%;
	height: 100%;
	padding: 17px 35px;
}
.child { display: table-cell; vertical-align: middle; }
.parent .top { display: table-cell; vertical-align: top; }
.parent .bottom { display: table-cell; vertical-align: bottom; padding-bottom: 3px; }

.overlay {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
	background-color: rgba(29, 29, 29, .2);
	transition: background-color .2s ease;
}
.overlay.darker { background-color: rgba(29, 29, 29, .4); }

p.small {
	margin-bottom: -5px;
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.col--1-1 p.small, .col--1-2 p.small { margin-bottom: 0; font-size: 10px; }
.col--1-1.with-bg h4, .col--1-1.with-bg p {
	display: block;
	max-width: 100%;
	text-align: right;
}
.col--1-1.with-bg p { margin-bottom: -3px; }
p.large { padding-top: 5px; font-size: 20px; }
.with-bg p.large { max-width: 574px; }
p.details { opacity: .7; font-size: 77%; }
span.serif { font-family: var(--serif); font-size: 110%; }

.header { margin-top: 0; }
.extra-padding-top { padding-top: 10px; }
.social-header { position: absolute; bottom: 20px; }
.social-header .icon { opacity: .5; }
.line {
	position: relative;
	top: -6px;
	display: inline-block;
	width: 19px;
	height: 1px;
	margin: 0 5px;
	background: var(--ink);
}
.borderline {
	position: relative;
	width: 100%;
	height: 1px;
	margin: 19px 0 13px;
	border-bottom: 2px solid var(--rule);
	opacity: .85;
}

ul.unordered-list, ol {
	margin-bottom: 0;
	padding: 0 0 10px 14px;
	line-height: 1.5;
	list-style: disc;
}
ol { list-style: decimal; }
ul.unordered-list li, ol li { padding-bottom: 7px; }
ul.unordered-list li:last-child, ol li:last-child { padding-bottom: 0; }

/* 7. Hover states
   -------------------------------------------------------------------------- */
a:hover .greyed { background: #fff; }
a:hover .overlay { background-color: rgba(29, 29, 29, .4); }

.arrow-right {
	position: absolute;
	right: 55px;
	bottom: 26px;
	width: 54px;
	height: 36px;
	background: url(../images/arrow.png) right center / 54px 36px no-repeat;
	opacity: 0;
}
a:hover .arrow-right { right: 34px; opacity: 1; }
.arrow-right.dark {
	bottom: 29px;
	width: 30px;
	height: 20px;
	background: url(../images/arrow2.png) right center / 30px 20px no-repeat;
	transition: right .2s ease, opacity .2s ease;
}
.col--1-1.with-bg .arrow-right { width: 45px; height: 30px; background-size: 45px 30px; }

.display-on-hover:hover .overlay, .display-on-hover a:hover .overlay { background-color: rgba(29, 29, 29, .4); }
.display-on-hover p.small {
	display: block;
	text-align: right;
	opacity: 0;
	transition: opacity .2s ease;
}
.display-on-hover:hover p.small,
.display-on-hover a:focus-visible p.small { opacity: 1; }

/* keyboard focus rings for tiles that are links */
.element > a:focus-visible { outline-offset: 3px; }
.borders > a:focus-visible .overlay { outline: 2px solid #fff; outline-offset: -5px; }

/* 8. Contact form
   -------------------------------------------------------------------------- */
.form-part {
	position: relative;
	height: 100%;
	margin: -15px 0 8px;
}
.form-part > input, .form-part > textarea {
	display: block;
	width: 100%;
	padding: 12px 0;
	border-bottom: 2px solid var(--rule);
	line-height: 20px;
	transition: border-color .2s ease;
}
.form-part > input:focus, .form-part > textarea:focus { border-bottom-color: var(--muted); outline: 0; }
.form-part > textarea { height: 200px; resize: none; overflow: auto; }
.form-part ::placeholder { color: var(--text); opacity: 1; }
.form-part .trap { position: absolute; left: -9999px; }

#message { display: block; }
.error_message, #success_page {
	position: relative;
	display: block;
	margin-bottom: -10px;
	padding-top: 10px;
	font-size: 12px;
	font-style: italic;
	line-height: 1.5;
	color: var(--error);
}
#success_page, #success_page p { color: var(--ink); }

.send-btn {
	position: absolute;
	bottom: -15px;
	left: 0;
	z-index: 100;
	display: block;
	width: 100%;
	height: 26px;
	overflow: hidden;
	text-indent: -9999px;
}
.send-btn[disabled] { cursor: progress; }
.holder .social-header { bottom: -25px; }
.holder .arrow-right.dark { right: 20px; bottom: -15px; }
.holder:hover .arrow-right.dark, .holder:focus-within .arrow-right.dark { right: -1px; opacity: 1; }

/* 9. Slider (scroll-snap; arrows appear on hover or keyboard focus)
   -------------------------------------------------------------------------- */
.slider { position: relative; }
.slides {
	display: flex;
	margin: 0;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.slides::-webkit-scrollbar { display: none; }
.slides > li { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.slider-prev, .slider-next {
	position: absolute;
	top: 50%;
	z-index: 20;
	width: 54px;
	height: 54px;
	margin-top: -27px;
	overflow: hidden;
	text-indent: -9999px;
	background: #fff center / 24px 24px no-repeat;
	opacity: 0;
	transition: opacity .2s ease-in-out, left .2s ease-in-out, right .2s ease-in-out;
}
.slider-prev { left: 55px; background-image: url(../images/bg-prev.png); }
.slider-next { right: 55px; background-image: url(../images/bg-next.png); }
.slider:hover .slider-prev, .slider-prev:focus-visible { left: 35px; opacity: 1; }
.slider:hover .slider-next, .slider-next:focus-visible { right: 35px; opacity: 1; }

/* 10. Article pagination
   -------------------------------------------------------------------------- */
#project-pagination { display: flow-root; }
#project-pagination .rule { padding: var(--gutter); }
#project-pagination .pager {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}
#project-pagination .pager::after { content: ""; display: block; clear: both; }
#project-pagination .pager > div { min-height: 1px; padding: var(--gutter); }
#project-pagination .pager > div:last-child > a { float: right; }
#project-pagination a { display: inline-block; opacity: .65; }
#project-pagination a:hover { opacity: 1; }
.prev-project {
	padding-left: 35px;
	background: url(../images/arrow4.png) left 2px / 30px 20px no-repeat;
}
.next-project {
	padding-right: 35px;
	text-align: right;
	background: url(../images/arrow2.png) right 2px / 30px 20px no-repeat;
}

/* 11. Intro banner (Temple Q page)
   -------------------------------------------------------------------------- */
.with-intro #header { padding-bottom: 23px; min-height: 121px; }
.with-intro #content { padding-top: 50px; }
.container.full-width { width: 100%; }
.height-500px { height: 550px; }
.banner-fixed {
	position: fixed;
	top: 0;
	z-index: -1;
	width: 100%;
	height: 750px;
	backface-visibility: hidden;
}
.banner-image {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
	background: url(../images/web/temple-q-banner.webp) center / cover no-repeat;
}
@media (hover: none) {
	.banner-fixed { position: absolute; }
}
.full-height-wrapper { width: 100%; height: 100%; overflow: hidden; }
.intro .col--5 { padding: 0 50px 80px; }
.banner-textblock { position: relative; }

/* 12. Footer
   -------------------------------------------------------------------------- */
#footer {
	position: relative;
	z-index: 1;
	width: 100%;
	background: var(--paper);
}
#footer .container {
	display: flex;
	justify-content: space-between;
	width: 100%;
	padding: 20px 55px 41px;
}
#footer p { font-size: 13px; color: var(--muted); }
#footer .icon { fill: var(--accent); }

/* 13. Responsive — the grid drops a column at a time, then stacks
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
	.container { width: calc(var(--cell) * 4); }
}
@media (max-width: 948px) {
	.container { width: calc(var(--cell) * 3); }
	.col--4-1 { width: calc(var(--cell) * 3); }
}
@media (max-width: 767px) {
	#project-pagination .pager { display: block; }
}
@media (max-width: 714px) {
	.container { width: calc(var(--cell) * 2); }
	.col--3-2 { float: none; width: calc(var(--cell) * 2); height: auto; }
	.col--4-1 { width: calc(var(--cell) * 2); height: auto; min-height: var(--cell); }
	h1 { font-size: 36px; line-height: 1.2; letter-spacing: -2px; }
	.full-height-wrapper { height: var(--cell); }
}
@media (max-width: 480px) {
	.container { width: 100%; }
	.col--1-1, .col--1-2, .col--2-1, .col--2-2, .col--2-3, .col--3-2, .col--4-1, .col--5 {
		float: none;
		width: 100%;
		height: auto;
		padding: 10px 25px;
	}
	.display-on-hover { height: var(--cell) !important; }
	.greyed { padding: 30px 35px 29px !important; }
	.greyed .parent { position: relative; padding: 0; }
	.borders { border-bottom: 1px solid var(--rule); }
	.with-bg .borders { border: 0; }
	.arrow-right { display: none !important; }
	.social-header { position: relative; bottom: auto; padding-top: 10px; }
	.holder .social-header { padding-bottom: 25px; }
	.send-btn { bottom: -5px; height: 60px; }

	h1 { margin-bottom: 20px; }
	h2 { font-size: 26px; line-height: 1.25; letter-spacing: -1px; }
	h3 { font-size: 20px; letter-spacing: -.5px; }
	.with-bg h3, .with-bg h4 { font-size: 20px; letter-spacing: -1px; }

	#header .social-list { display: none; }
	#main-nav .social-list { display: block; }
	#project-pagination .rule, #project-pagination .pager > div { padding: 10px 25px; }

	.intro h1 { max-width: 100% !important; }
	.intro .col--5 { padding: 17px 25px; }
	.height-500px { height: calc(100vh - 150px); max-height: 400px; }

	#footer .container { display: block; }
	#footer p { padding: 0 15px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}
@media print {
	#preloader, #main-nav, #menu-button, .slider-prev, .slider-next { display: none !important; }
	body { background: #fff; }
}

/* 14. Update of 2026-12-01 — new card shapes and layouts
   Added to the site in its "Natural Spirituality Website" folder: the 3x1 Path banner,
   4x2 article blocks, 1x3 and 2x3 tiles, course stages, facility and paired cards, and
   cards that show only at some widths so each view's grid stays a complete rectangle.
   Copied as written there; only the width where five columns become four is moved to
   1199/1200px, the point at which this stylesheet's grid changes (the original used 1182).
   -------------------------------------------------------------------------- */
/* Three columns wide, one row tall: used for the Path statement banner */
.col--3-1 {
	width: 702px;
	height: 234px;
	margin: 0px;
	float: left;
	padding: 10px;
}
.col--3-1 .greyed {
	padding: 30px 35px 29px 35px;
}

/* Path banner: a little larger than a standard h3, with the same gap under
   the label as the "one course" card. 30px is the largest size that keeps
   the first sentence on one line. */
.col--3-1 h3 {
	margin-top: 20px;
}
@media only screen and (min-width: 715px) {
.col--3-1 h3 {
	font-size: 30px;
	line-height: 38px;
}
}

/* Educational path: stage cards.
   Each course is a numbered heading in the site's own "number, hairline, title"
   style with one line of description, set out in columns so a stage reads
   left to right. */
.path-stage .path-items {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	column-gap: 26px;
	row-gap: 18px;
	margin-top: 22px;
}
.path-stage--four .path-items {
	grid-template-columns: repeat(4, 1fr);
	column-gap: 22px;
	margin-top: 18px;
}
.path-stage--one .path-items {
	grid-template-columns: 1fr;
	row-gap: 11px;
	margin-top: 18px;
}
/* The Becoming card is two rows tall, so its nine courses can run at the
   site's full h5 and body sizes. */
.path-stage--three .path-items {
	row-gap: 24px;
}
.path-stage--three .path-item h5.header {
	font-size: 18px;
	line-height: 23px;
}
.path-stage--three .path-item p {
	font-size: 14px;
	line-height: 20px;
}
.path-item h5.header {
	font-size: 16px;
	line-height: 21px;
	margin: 0 0 4px 0;
}
.path-item h5.header .line {
	top: -5px;
	width: 16px;
}
.path-item h5.header--plain .line {
	margin-left: 0;
}
.path-item p {
	font-size: 13px;
	line-height: 18px;
	margin: 0;
}

/* "The Path of the One": twelve courses in three columns */
.path-stage--path h4 {
	margin-top: 0;
}
.path-stage--path .path-items {
	row-gap: 16px;
	margin-top: 20px;
}

/* Path of the One: each course is a bullet, with its name and description
   sharing one left edge. */
.path-stage--path .path-item {
	position: relative;
	padding-left: 15px;
}
.path-stage--path .path-item:before {
	content: "\2022";
	position: absolute;
	left: 0;
	top: 0;
	font-size: 16px;
	line-height: 21px;
	color: #2b2b2b;
}

/* A text card whose content is centred top to bottom, for cards whose text
   nearly fills the tile and would otherwise sit against the bottom edge. */
.card-centered .greyed {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-top: 12px;
	padding-bottom: 12px;
}
.card-centered .greyed > p:not(.small) {
	margin-bottom: 0;
}

/* Facility picture cards (Uni-Que Dojo, the Sanctuary): the photo fills the
   tile, with the name and one line over a soft dark fade at the bottom. */
.facility-card .borders img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.facility-card .borders:after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 70%;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));
	pointer-events: none;
}
.facility-card .parent {
	z-index: 2;
}
.facility-card .bottom h4 {
	margin-bottom: 4px;
}
.facility-card .bottom p.small {
	color: #fff;
	opacity: 0.85;
	margin: 0;
}

/* Photo and Collective card joined in one three-column tile. Inside it they
   keep the grid's usual 20px gap, so they still read as two tiles. */
.pair-card .pair-photo {
	float: left;
	width: 448px;
	height: 100%;
}
.pair-card .pair-photo .borders img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.pair-card .pair-text {
	float: right;
	display: block;
	width: 214px;
	height: 100%;
}
.pair-card .pair-text .greyed {
	padding: 30px 35px 29px 35px;
}

/* A photo tile whose image always fills the whole tile */
.photo-fill .borders img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* The Sanctuary photo is wide; keep the fire and the tree in the square crop */
.facility-card .borders img.facility-photo--sanctuary {
	object-position: 46% center;
}

/* The praying-couple photo is wider than its square tile; keep the woman's face in the crop */
.photo-fill--que .borders img {
	object-position: 62% center;
}

/* One column wide, three rows tall */
.col--1-3 {
	width: 234px;
	height: 702px;
	margin: 0px;
	float: left;
	padding: 10px;
}
.col--1-3 .greyed {
	padding: 30px 35px 29px 35px;
}
.col--1-3 p.small {
	font-size: 10px !important;
	margin-bottom: 0;
}

/* Q logo with a photo directly beneath it, in one tile one column wide and two rows tall */
.logo-stack .stack-cell {
	height: 214px;
	overflow: hidden;
}
.logo-stack .stack-cell + .stack-cell {
	margin-top: 20px;
}
.logo-stack .stack-cell h4,
.logo-stack .stack-cell p {
	max-width: 100%;
	text-align: right;
	display: block;
}

/* Blog article card: the photo half is a link too */
.pair-card a.pair-photo {
	display: block;
}

/* Blog article block: photo, title panel and intro side by side, 4 columns x 2 rows */
.col--4-2 {
	width: 936px;
	height: 468px;
	margin: 0px;
	float: left;
	position: relative;
	padding: 10px;
}
.article-card--joined .pair-text {
	float: left;
	margin-left: 20px;
}

/* Home view only: the extra "Que" photo completes the five-column grid.
   Below that width the grid has fewer columns and is complete without it. */
@media only screen and (max-width: 1199px) {
.element.home-wide-only {
	display: none !important;
}
}

/* Filler tiles that keep a view's grid a complete rectangle.
   The number of columns changes with page width, so each filler shows only
   at the widths where its view needs it. */
@media only screen and (max-width: 1199px) {
.element.grid-desktop-only {
	display: none !important;
}
}
@media only screen and (min-width: 1200px), only screen and (max-width: 714px) {
.element.grid-tablet-only {
	display: none !important;
}
}

@media only screen and (min-width: 1200px), only screen and (max-width: 948px) {
.element.grid-landscape-only {
	display: none !important;
}
}
@media only screen and (min-width: 949px), only screen and (max-width: 714px) {
.element.grid-portrait-only {
	display: none !important;
}
}

@media only screen and (max-width: 714px) {
.col--3-1 {
	width: 468px;
	height: auto;
	float: none;
}
}
@media only screen and (max-width: 480px) {
.col--3-1 {
	width: 100%;
}
}

/* Hidden at tablet widths only (a tablet-only copy of the tile takes its place) */
@media only screen and (min-width: 715px) and (max-width: 1199px) {
.element.grid-not-tablet {
	display: none !important;
}
}

@media only screen and (max-width: 714px) {
.path-stage .path-items,
.path-stage--four .path-items {
	grid-template-columns: repeat(2, 1fr);
}
}
@media only screen and (max-width: 480px) {
.path-stage .path-items,
.path-stage--four .path-items {
	grid-template-columns: 1fr;
}
}

/* Below three columns the joined photo and Collective card stack */
@media only screen and (max-width: 714px) {
.pair-card .pair-photo,
.pair-card .pair-text {
	float: none;
	width: 100%;
	height: auto;
}
.pair-card .pair-photo {
	margin-bottom: 20px;
}
}

@media only screen and (max-width: 480px) {
.col--1-3 {
	width: 100%;
	height: auto;
	float: none;
}
}

@media only screen and (max-width: 480px) {
.logo-stack .stack-cell {
	height: auto;
}
}

/* Hidden at tablet landscape only (four columns), where the view is complete without it */
@media only screen and (min-width: 949px) and (max-width: 1199px) {
.element.grid-not-landscape {
	display: none !important;
}
}

/* Hidden at desktop width (five columns) only; a desktop copy takes its place */
@media only screen and (min-width: 1200px) {
.element.grid-not-desktop {
	display: none !important;
}
}

/* Four-column-wide tiles show only where four or more columns fit; their narrow copies take over below */
@media only screen and (max-width: 948px) {
.element.grid-wide-only {
	display: none !important;
}
}
@media only screen and (min-width: 949px) {
.element.grid-narrow-only {
	display: none !important;
}
}

/* Quotations (the Que Collective articles use them). The original theme's quote style,
   with the parts Bootstrap supplied there: 20px words under a large opening quote mark,
   and the source in small serif type beside the mark. */
blockquote {
	position: relative;
	margin: 57px 0 20px;
	padding: 0;
	border: 0;
	font-size: 20px;
	line-height: 1.42857143;
}
blockquote p { font-size: inherit; line-height: 1.5; }
blockquote p:last-child { margin-bottom: 0; }
blockquote::before {
	content: "\201C";
	position: absolute;
	top: -45px;
	left: 0;
	display: block;
	width: 50px;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 46px;
	font-weight: 600;
	letter-spacing: .1em;
	color: var(--ink-soft);
}
blockquote footer {
	position: absolute;
	top: -30px;
	left: 40px;
	display: block;
	font-family: var(--serif);
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	line-height: 1.42857143;
	letter-spacing: 0;
	color: var(--muted);
}
blockquote footer::before { content: "\2014\00A0"; }
