/* WisdomPursuit site styles. Colors and fonts come from theme.json. */

/* Paper grain over the ivory background */
body {
	background-image: url(../images/grain.png);
	background-size: 360px 360px;
}

/* Space between the sections of a page */
.wp-block-post-content > * + * {
	margin-block-start: clamp(64px, 9vw, 112px);
}
.wp-site-blocks > main {
	padding-block: 48px 112px;
}
.wp-block-post-content p,
.wp-block-post-content li {
	max-width: 62ch;
}
.wp-block-post-content .wp-block-heading {
	text-wrap: balance;
}
:where(.wp-block-post-content) strong {
	font-weight: 600;
}

/* ---------- Header ---------- */
.site-header {
	padding-block: 26px;
	padding-inline: max(clamp(20px, 5vw, 80px), calc((100% - 1200px) / 2));
	gap: 16px 32px;
}
.wp-brand {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	text-decoration: none;
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--playfair);
	font-size: 29px;
	font-weight: 500;
	line-height: 1.1;
}
.wp-brand img { width: 42px; height: 55px; display: block; }
.wp-brand em { font-style: italic; font-weight: 400; }
.wp-brand:hover { color: var(--wp--preset--color--ink); }
.site-nav { gap: 8px 30px; }
.site-nav .wp-block-navigation-item__content { text-decoration: none; padding-block: 12px; }
.site-nav .current-menu-item > .wp-block-navigation-item__content,
.site-nav .wp-block-navigation-item__content[aria-current="page"] {
	border-bottom: 3px dotted var(--wp--preset--color--gold);
}
.site-header .wp-block-button__link { padding: 13px 24px; font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer { padding-block: 24px 56px; font-size: 16px; }
.site-footer p { margin: 0; }
.site-footer .footer-brand { position: relative; padding-left: 84px; min-height: 80px; }
.site-footer .footer-brand::before { content: ""; position: absolute; left: 0; top: 4px; width: 64px; height: 80px; background: url(../images/nautilus-gold.png) center / contain no-repeat; }
.site-footer .footer-brand > * + * { margin-block-start: 6px; }
.site-footer .wp-block-column > * + * { margin-block-start: 10px; }
.site-footer .footer-name { font-family: var(--wp--preset--font-family--playfair); font-size: 1.6rem; font-weight: 500; line-height: 1.2; }
.site-footer .footer-name em { font-style: italic; font-weight: 400; }

/* ---------- Paragraph styles ---------- */
.is-style-lede {
	font-family: var(--wp--preset--font-family--playfair);
	font-style: italic;
	font-size: clamp(1.25rem, 1.9vw, 1.5rem);
	line-height: 1.45;
	max-width: 38ch !important;
}
.is-style-label {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--mid-blue);
	line-height: 1.4;
}
.is-style-question {
	margin: 0;
	padding-top: 24px;
	border-top: 3px dotted var(--wp--preset--color--gold);
	font-family: var(--wp--preset--font-family--playfair);
	font-style: italic;
	font-size: clamp(1.5rem, 2.5vw, 2.1rem);
	line-height: 1.25;
}
.is-style-serif-quote {
	font-family: var(--wp--preset--font-family--playfair);
	font-style: italic;
	font-size: clamp(1.4rem, 2.5vw, 2.1rem);
	line-height: 1.4;
	max-width: 40ch !important;
}
.is-style-signature {
	font-family: var(--wp--preset--font-family--playfair);
	font-style: italic;
	font-size: 1.2rem;
}

/* ---------- Dividers ---------- */
.wp-block-separator.is-style-gold-dots {
	border: 0;
	border-top: 4px dotted var(--wp--preset--color--gold);
	background: none;
	width: 96px;
	max-width: 96px;
	margin-left: 0;
	margin-right: auto;
	opacity: 1;
	height: 0;
}
.wp-block-separator.is-style-nautilus {
	border: 0;
	background: url(../images/nautilus-gold.png) center / contain no-repeat;
	height: 98px;
	width: 78px;
	max-width: 78px;
	margin-left: auto !important;
	margin-right: auto !important;
	opacity: 1;
}

/* ---------- Images ---------- */
.wp-block-image.is-style-arch {
	padding: 14px 14px 0;
	border: 1.5px solid var(--wp--preset--color--gold);
	border-bottom: 0;
	border-radius: 999px 999px 0 0;
	box-sizing: border-box;
	max-width: 470px;
	margin-left: auto;
	margin-right: auto;
}
.wp-block-image.is-style-arch img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 999px 999px 24px 24px;
	display: block;
}
.wp-block-image.is-style-wide-arch {
	padding: 14px 14px 0;
	border: 1.5px solid var(--wp--preset--color--gold);
	border-bottom: 0;
	border-radius: 360px 360px 0 0;
}
.wp-block-image.is-style-wide-arch img {
	width: 100%;
	aspect-ratio: 16 / 7;
	object-fit: cover;
	object-position: 70% 40%;
	border-radius: 360px 360px 24px 24px;
	display: block;
}
.wp-block-image.is-style-rounded-photo img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: 24px;
	display: block;
}
.wp-block-image.is-style-small-arch {
	padding: 10px 10px 0;
	border: 1.5px solid var(--wp--preset--color--gold);
	border-bottom: 0;
	border-radius: 999px 999px 0 0;
	max-width: 310px;
	margin-left: auto;
	margin-right: auto;
}
.wp-block-image.is-style-small-arch img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: 50% 30%;
	border-radius: 999px 999px 24px 24px;
	display: block;
}

/* ---------- Panels ---------- */
.wp-block-group.is-style-dark-panel {
	position: relative;
	overflow: hidden;
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--ivory);
	border-radius: 40px;
	padding: clamp(44px, 7vw, 96px) clamp(24px, 6vw, 88px);
}
.wp-block-group.is-style-dark-panel::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url(../images/weave.png);
	background-size: 240px 240px;
	pointer-events: none;
}
.wp-block-group.is-style-dark-panel > * { position: relative; }
.is-style-dark-panel :is(h1, h2, h3, h4, p, li, a, cite) { color: var(--wp--preset--color--ivory); }
.is-style-dark-panel .is-style-label { color: var(--wp--preset--color--light-gold); }
.is-style-dark-panel .wp-block-button__link {
	background: var(--wp--preset--color--ivory);
	color: var(--wp--preset--color--ink) !important;
}
.is-style-dark-panel .wp-block-button__link:hover { background: var(--wp--preset--color--light-gold); }

.wp-block-group.is-style-sand-panel {
	background: var(--wp--preset--color--sand);
	border-radius: 24px;
	padding: clamp(28px, 4.5vw, 56px);
}
.wp-block-column.is-style-card,
.wp-block-column.is-style-sand-card {
	background: var(--wp--preset--color--paper);
	border-radius: 24px;
	padding: clamp(28px, 3.5vw, 44px);
	box-sizing: border-box;
}
.wp-block-column.is-style-sand-card { background: var(--wp--preset--color--sand); }
.is-style-card > * + *, .is-style-sand-card > * + * { margin-block-start: 14px; }
.is-style-card p, .is-style-sand-card p { font-size: 17px; }

/* Soft watercolor wash behind a section */
.wp-block-group.is-style-wash { position: relative; }
.wp-block-group.is-style-wash::before {
	content: "";
	position: absolute;
	top: -40px;
	right: 0;
	width: min(640px, 70%);
	height: 480px;
	background: url(../images/wash.png) center / contain no-repeat;
	pointer-events: none;
}
.wp-block-group.is-style-wash > * { position: relative; }

/* ---------- Rows with dotted rules ---------- */
.wp-block-group.is-style-dotted-rows > .wp-block-columns {
	margin: 0;
	padding: 36px 0;
	border-top: 3px dotted var(--wp--preset--color--gold);
}
.wp-block-group.is-style-dotted-rows > .wp-block-columns:last-child {
	border-bottom: 3px dotted var(--wp--preset--color--gold);
}
.is-style-dotted-rows h3 { margin: 0; }
.is-style-dotted-rows .wp-block-column > * + * { margin-block-start: 10px; }

.wp-block-group.is-style-dotted-top {
	padding-top: 36px;
	border-top: 3px dotted var(--wp--preset--color--gold);
}

/* ---------- Lists ---------- */
.wp-block-list.is-style-dotted {
	list-style: none;
	padding: 0;
	margin: 0;
}
.wp-block-list.is-style-dotted li {
	padding: 17px 0;
	border-top: 2px dotted var(--wp--preset--color--gold);
	margin: 0;
}
.wp-block-list.is-style-dotted li:last-child { border-bottom: 2px dotted var(--wp--preset--color--gold); }
.wp-block-list.is-style-serif-dotted { list-style: none; padding: 0; margin: 0; font-family: var(--wp--preset--font-family--playfair); font-size: 1.35rem; line-height: 1.3; }
.wp-block-list.is-style-serif-dotted li { padding: 16px 0; border-top: 2px dotted var(--wp--preset--color--gold); margin: 0; }
.wp-block-list.is-style-serif-dotted li:last-child { border-bottom: 2px dotted var(--wp--preset--color--gold); }
.wp-block-list.is-style-numbered-steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.wp-block-list.is-style-numbered-steps li {
	counter-increment: step;
	position: relative;
	padding: 22px 0 22px 52px;
	border-top: 2px dotted var(--wp--preset--color--gold);
	margin: 0;
}
.wp-block-list.is-style-numbered-steps li:last-child { border-bottom: 2px dotted var(--wp--preset--color--gold); }
.wp-block-list.is-style-numbered-steps li::before {
	content: counter(step);
	position: absolute;
	left: 0;
	top: 18px;
	font-family: var(--wp--preset--font-family--playfair);
	font-style: italic;
	font-size: 2.2rem;
	line-height: 1;
	color: var(--wp--preset--color--dark-gold);
}

/* ---------- Quote ---------- */
.wp-block-quote.is-style-dotted {
	border: 0;
	border-top: 4px dotted var(--wp--preset--color--gold);
	padding: 40px 0 0;
	margin-left: auto;
	margin-right: auto;
	max-width: 940px;
}
.wp-block-quote.is-style-dotted p {
	font-family: var(--wp--preset--font-family--playfair);
	font-style: italic;
	font-size: clamp(1.4rem, 2.5vw, 2.05rem);
	line-height: 1.45;
	max-width: none;
}
.wp-block-quote.is-style-dotted.is-long p { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.wp-block-quote.is-style-dotted cite {
	display: block;
	margin-top: 22px;
	font-family: var(--wp--preset--font-family--montserrat);
	font-style: normal;
	font-size: 16px;
	font-weight: 500;
}

/* ---------- Buttons ---------- */
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--ink);
	border: 1.5px solid var(--wp--preset--color--ink);
	padding: 14.5px 28px;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--ivory);
}

/* ---------- Columns ---------- */
.wp-block-columns { gap: 32px clamp(32px, 6vw, 80px); }
.wp-block-columns.is-style-tight { gap: 20px; }

/* ---------- Sign-up form area ---------- */
.signup-placeholder {
	border: 2px dashed var(--wp--preset--color--mid-blue);
	border-radius: 14px;
	padding: 24px;
	background: var(--wp--preset--color--paper);
	font-size: 16px;
}
/* Gentle styling for an embedded Kajabi form */
.is-style-sand-panel input[type="text"],
.is-style-sand-panel input[type="email"] {
	box-sizing: border-box;
	width: 100%;
	max-width: 480px;
	padding: 15px 18px;
	font: inherit;
	font-size: 17px;
	color: var(--wp--preset--color--ink);
	background: var(--wp--preset--color--paper);
	border: 1.5px solid var(--wp--preset--color--mid-blue);
	border-radius: 14px;
}
.is-style-sand-panel button,
.is-style-sand-panel input[type="submit"] {
	font: inherit;
	font-weight: 600;
	font-size: 16px;
	padding: 16px 30px;
	border: 0;
	border-radius: 999px;
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--ivory);
	cursor: pointer;
}

/* ---------- Highlight for text still to fill in ---------- */
mark.to-confirm { background: var(--wp--preset--color--light-gold); color: var(--wp--preset--color--ink); padding: 0 4px; border-radius: 4px; }

/* ---------- Keyboard focus ---------- */
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--wp--preset--color--teal); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; animation: none !important; }
}

@media (max-width: 781px) {
	.wp-block-image.is-style-arch { max-width: 420px; }
	.wp-block-group.is-style-dark-panel { border-radius: 28px; }
	.wp-block-image.is-style-wide-arch img { aspect-ratio: 4 / 3; }
}
