/*
 * enneagramway.com: the Current look, from the live Site's Showcase Pro theme.
 * What it keeps and drops, and why: "The look" in CLAUDE.md.
 */

/* Fonts (self-hosted, OFL: see the licence file beside them)
--------------------------------------------- */

@font-face {
	font-family: Hind;
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url("/assets/fonts/hind-300-latin.woff2") format("woff2");
}

@font-face {
	font-family: Hind;
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("/assets/fonts/hind-400-latin.woff2") format("woff2");
}

@font-face {
	font-family: Hind;
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("/assets/fonts/hind-500-latin.woff2") format("woff2");
}

@font-face {
	font-family: Hind;
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("/assets/fonts/hind-700-latin.woff2") format("woff2");
}

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

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	font-size: 62.5%;
	-webkit-text-size-adjust: 100%;
}

body {
	background: #1a1a1a;
	color: #1a1a1a;
	font-family: Hind, Avenir, Helvetica, Arial, sans-serif;
	font-size: 1.6rem;
	font-weight: 400;
	line-height: 1.612;
	margin: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

ul,
ol {
	margin: 0;
	padding: 0;
}

li {
	list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 300;
	letter-spacing: -0.02em;
	margin: 0 0 2rem;
}

h1 {
	font-size: 4rem;
	line-height: 1.2;
}

h2 {
	font-size: 3.2rem;
	line-height: 1.4;
}

h3 {
	font-size: 2rem;
	font-weight: 400;
	line-height: 1.4;
}

h4 {
	font-size: 1.8rem;
	font-weight: 400;
	letter-spacing: 0.05em;
	line-height: 1.5;
	text-transform: uppercase;
}

p {
	margin: 0 0 1.625em;
	padding: 0;
}

strong {
	font-weight: 700;
}

a {
	color: #1db3e2;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a {
	transition: all .75s cubic-bezier(0, 1, .5, 1);
}

:focus {
	outline: 1px dotted rgba(0, 0, 0, 0.2);
}

::selection {
	background-color: rgba(0, 0, 0, 0.5);
	color: #fff;
}

img {
	height: auto;
	max-width: 100%;
}

svg {
	fill: currentColor;
}

@media (min-width: 800px) {
	h1 {
		font-size: 5rem;
	}

	h2 {
		font-size: 4rem;
	}

	h3 {
		font-size: 2.5rem;
	}
}

/* Accessibility
--------------------------------------------- */

.screen-reader-text,
.skip-link {
	clip: rect(0, 0, 0, 0);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
}

.skip-link:focus {
	background-color: #fff;
	border: 1px solid #5b5e5e;
	clip: auto;
	color: #1a1a1a;
	display: block;
	font-size: 1.8rem;
	font-weight: 700;
	height: auto;
	padding: 2rem;
	width: auto;
	z-index: 100000;
}

/* Buttons: the home page's "Join Today" and the "Contact Jocelyn" buttons on Retreats & Workshops
--------------------------------------------- */

.button {
	background-color: #1db3e2;
	border: 0;
	border-radius: 5px;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	font-size: 1.4rem;
	font-weight: 500;
	letter-spacing: 0.1rem;
	line-height: 2em;
	padding: 1.1rem 2rem 1rem;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

.button:hover {
	box-shadow: inset 0 0 0 20rem rgba(0, 0, 0, 0.1), 0 2rem 2rem rgba(0, 0, 0, 0.1);
	color: #fff;
	text-decoration: none;
}

/* Containers
--------------------------------------------- */

.wrap {
	margin: 0 auto;
	padding: 0 5%;
}

.site-inner {
	background: #fff;
	overflow: hidden;
	padding: 4rem 0;
}

/* From 800 px the header sits over the top of the page, so the content starts below it. */
@media (min-width: 800px) {
	.site-inner {
		padding-top: 18rem;
	}
}

@media (min-width: 1100px) {
	.wrap {
		max-width: 120rem;
	}

	.site-inner {
		padding: 18rem 0 8rem;
	}

	.content {
		width: 70%;
	}
}

@media (min-width: 1500px) {
	.wrap {
		max-width: 160rem;
	}
}

/* Site header
--------------------------------------------- */

.site-header {
	background: #fff;
	padding: 2rem 0;
	position: relative;
	z-index: 999;
}

.site-header .wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
}

.title-area {
	width: 14rem;
}

.site-title {
	margin: 0;
}

/* The logo stands in for the title's text, which stays for screen readers. */
.site-title a {
	background: url("/media/Dark-png.png") center / contain no-repeat;
	display: block;
	height: 5rem;
	overflow: hidden;
	text-indent: -9999px;
	width: 14rem;
}

.site-description {
	display: none;
}

@media (min-width: 800px) {
	.site-header {
		background: transparent;
		left: 0;
		padding: 3rem 0 2.5rem;
		position: absolute;
		right: 0;
		top: 0;
	}

	.site-header .wrap {
		align-items: flex-start;
		flex-wrap: nowrap;
		max-width: none;
	}

	.title-area,
	.site-title a {
		height: 7.5rem;
		width: 20rem;
	}

	/* Over the home page's dark hero, the logo is white, as the live theme's light logo was. */
	.with-page-header .site-title a {
		filter: invert(1);
	}
}

/* Menu
--------------------------------------------- */

.nav-primary a {
	color: #1a1a1a;
	display: block;
	font-size: 1.4rem;
	font-weight: 500;
	letter-spacing: 0.1rem;
	line-height: 1.8;
	opacity: 0.8;
	text-transform: uppercase;
}

.nav-primary a:hover,
.nav-primary a[aria-current="page"] {
	opacity: 1;
	text-decoration: none;
}

.menu-toggle {
	display: none;
}

@media (max-width: 799px) {
	.js .menu-toggle {
		background: transparent;
		border: 0;
		color: #1a1a1a;
		cursor: pointer;
		display: block;
		height: 50px;
		padding: 10px;
		width: 50px;
	}

	.menu-toggle svg {
		display: block;
		height: 30px;
		width: 30px;
	}

	.menu-toggle .icon-close,
	.menu-toggle[aria-expanded="true"] .icon-menu {
		display: none;
	}

	.menu-toggle[aria-expanded="true"] .icon-close {
		display: block;
	}

	.nav-primary {
		width: 100%;
	}

	.js .nav-primary {
		display: none;
	}

	.js .menu-toggle[aria-expanded="true"] + .nav-primary {
		display: block;
	}

	.nav-primary li:first-child {
		margin-top: 20px;
	}

	.nav-primary a {
		margin: 0 4rem 0 0;
		padding: 1rem 0;
	}
}

@media (min-width: 800px) {
	.nav-primary {
		text-align: right;
	}

	.nav-primary li {
		display: inline-block;
	}

	.nav-primary a {
		margin: 0 0 0 24px;
		padding: 3rem 0;
	}

	/* The live menu's last item ("Join Today") was a bordered button. */
	.nav-primary .highlight a {
		border: 2px solid #1a1a1a;
		border-radius: 5px;
		line-height: 1;
		padding: 1rem 2rem 0.8rem;
	}

	.nav-primary .highlight a:hover {
		background: #fff;
		color: #1a1a1a;
	}

	.with-page-header .nav-primary a {
		color: #fff;
	}

	.with-page-header .nav-primary .highlight a {
		border-color: #fff;
	}

	.with-page-header .nav-primary .highlight a:hover {
		color: #1a1a1a;
	}
}

@media (min-width: 1100px) {
	.nav-primary a {
		margin: -2px 0 0 36px;
	}
}

/* Content
--------------------------------------------- */

.entry-content p,
.entry-content ul,
.entry-content ol {
	line-height: 2;
	margin-bottom: 2em;
}

.entry-content ul {
	margin-left: 4rem;
}

.entry-content ul li {
	list-style-type: disc;
}

.entry-content blockquote {
	border-left: 2px solid #1a1a1a;
	margin: 2rem 0;
	overflow-wrap: break-word;
	padding-left: 5rem;
}

/* Live, the title sat outside .entry-content, whose clearfix kept the two margins apart. */
.entry-content h1 + blockquote {
	margin-top: 4rem;
}

.entry-content blockquote p:last-of-type {
	margin: 0;
}

/* Contact form (#73): WPForms' classic look, as the 2018 draft and relichealth.com's form use
--------------------------------------------- */

.contact-form label {
	display: block;
	font-weight: 700;
	line-height: 1.3;
	margin: 2rem 0 0.4rem;
}

.contact-form .required {
	color: #f00;
	font-weight: 400;
}

.contact-form input,
.contact-form textarea {
	appearance: none;
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 2px;
	color: #333;
	display: block;
	font: inherit;
	line-height: 1.3;
	padding: 6px 10px;
	width: 100%;
}

.contact-form input {
	height: 38px;
}

@media (min-width: 800px) {
	.contact-form input {
		max-width: 60%;
	}
}

.contact-form textarea {
	height: 120px;
	resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
	border-color: #999;
	outline: none;
}

.contact-form .cf-turnstile {
	margin-top: 2rem;
}

.contact-form button {
	background-color: #eee;
	border: 1px solid #ddd;
	color: #333;
	cursor: pointer;
	font: inherit;
	margin-top: 2rem;
	padding: 10px 15px;
}

.contact-form button:hover {
	background-color: #ddd;
	border-color: #ccc;
}

.contact-form button:disabled {
	cursor: default;
	opacity: 0.5;
}

#form-status {
	margin: 1rem 0 0;
}

#form-status.sent {
	color: #2e7d32;
}

#form-status.failed {
	color: #c00;
}

/* Home page: its front-page sections
--------------------------------------------- */

.front-page .site-inner {
	padding: 0;
}

/* The hero: a plain dark band (see CLAUDE.md). */
.front-page-1 {
	background-color: #1a1a1a;
	color: #fff;
	padding: 8rem 0;
	text-align: center;
}

/* The hero's heading looks like the live one, an h2. */
.front-page-1 h1 {
	font-size: 3.2rem;
	line-height: 1.4;
}

.front-page-1 p {
	font-size: 2.4rem;
	margin-left: auto;
	margin-right: auto;
	max-width: 74rem;
}

.front-page-1 p:last-child {
	margin-bottom: 0;
}

/* The welcome section: J. R. Larsen's photo beside her introduction. */
/* front-page-3 is the theme's name; this Site has no front-page-2. */
.front-page-3 {
	background-color: #f7f6f7;
	overflow: hidden;
}

.front-page-3 > .wrap {
	padding-bottom: 6rem;
	padding-top: 6rem;
}

.front-page-3 .widget-area {
	display: flex;
	flex-wrap: wrap;
}

.front-page-3 .widget {
	margin-bottom: 2rem;
}

.front-page-3 .widget:last-child {
	margin-bottom: 0;
}

@media (min-width: 800px) {
	.front-page-1 {
		padding: calc(10% + 10.8rem) 0 10%;
	}

	.front-page-1 h1 {
		font-size: 4rem;
	}

	.front-page-3 > .wrap {
		padding-bottom: 10%;
		padding-top: 10%;
	}

	.front-page-3 .widget-area {
		margin: 0 -2rem;
		width: calc(100% + 4rem);
	}

	.front-page-3 .widget {
		align-self: center;
		padding: 0 2rem;
		width: 50%;
	}
}

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

.site-footer {
	background: #1a1a1a;
	color: #fff;
	opacity: 0.5;
	padding: 4rem 0;
	text-align: center;
}

.site-footer p {
	font-size: 1.2rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 1.6;
	margin: 0;
	text-transform: uppercase;
}
