/*
Theme Name: Lumina Yoga
Theme URI: https://luminayoga.co.uk/
Author: Lumina Yoga & Retreats
Description: A calm, sanctuary-led theme for Lumina Yoga & Retreats. Built to carry the pages, classes, retreats and services of the original luminayoga.co.uk site into WordPress. Pairs with the Lumina Core plugin.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lumina-yoga
Tags: one-column, custom-menu, custom-logo, featured-images, translation-ready, accessibility-ready
*/

/* -------------------------------------------------------------------------
   Tokens
   ---------------------------------------------------------------------- */

:root {
	/* Palette: deep pine ink on a green-tinted light, with sunlight gold used
	   sparingly as the one bright mark on the page. */
	--ink: #22302c;
	--ink-soft: #4e5c58;
	--ink-faint: #77837f;
	--base: #eef1ec;
	--paper: #ffffff;
	--line: #d5dcd4;
	--sea: #3a6558;
	--sea-dark: #2c4d43;
	--gold: #b88235;
	--gold-soft: #f0e4d1;

	--wrap: 1160px;
	--narrow: 34rem;
	--gutter: clamp(1.25rem, 5vw, 3rem);

	/* Type scale, ~1.25 from a 1.0625rem body */
	--step--1: 0.833rem;
	--step-0: 1.0625rem;
	--step-1: 1.3rem;
	--step-2: clamp(1.5rem, 1.2rem + 1.2vw, 1.9rem);
	--step-3: clamp(1.9rem, 1.4rem + 2.2vw, 2.6rem);
	--step-4: clamp(2.4rem, 1.6rem + 3.6vw, 4rem);

	--display: "Fraunces", "Iowan Old Style", Georgia, serif;
	--sans: "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;

	/* Sanctuary arch: the one repeated shape in the design. */
	--arch: 48% 48% 3px 3px / 30% 30% 3px 3px;

	--shadow: 0 18px 45px -30px rgba(34, 48, 44, 0.55);
}

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

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

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--base);
	color: var(--ink);
	font-family: var(--sans);
	font-size: var(--step-0);
	font-weight: 300;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
	font-family: var(--display);
	font-weight: 300;
	line-height: 1.12;
	letter-spacing: -0.015em;
	margin: 0 0 0.5em;
	font-variation-settings: "SOFT" 20, "WONK" 1;
}

h1 {
	font-size: var(--step-4);
}

h2 {
	font-size: var(--step-3);
}

h3 {
	font-size: var(--step-2);
}

h4 {
	font-size: var(--step-1);
}

p {
	margin: 0 0 1.15em;
	max-width: 68ch;
}

a {
	color: var(--sea-dark);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.22em;
	text-decoration-color: rgba(58, 101, 88, 0.35);
	transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

a:hover {
	color: var(--gold);
	text-decoration-color: currentColor;
}

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

blockquote {
	margin: 0;
}

ul,
ol {
	max-width: 68ch;
}

:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 3px;
	border-radius: 2px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	background: var(--ink);
	color: var(--base);
	padding: 0.75rem 1.25rem;
}

.skip-link:focus {
	left: 0;
}

/* -------------------------------------------------------------------------
   Layout helpers
   ---------------------------------------------------------------------- */

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.wrap--narrow {
	max-width: 46rem;
}

.section {
	padding-block: clamp(3.5rem, 8vw, 7rem);
}

.section--paper {
	background: var(--paper);
}

.section-lead {
	max-width: 30rem;
}

.eyebrow {
	display: block;
	font-size: var(--step--1);
	letter-spacing: 0.14em;
	color: var(--gold);
	margin-bottom: 0.9rem;
	font-weight: 400;
}

.eyebrow::after {
	content: "";
	display: inline-block;
	width: 1.6rem;
	height: 1px;
	background: currentColor;
	vertical-align: middle;
	margin-left: 0.6rem;
	opacity: 0.6;
}

.lede {
	font-size: var(--step-1);
	line-height: 1.55;
	color: var(--ink-soft);
	font-weight: 300;
}

.arch {
	border-radius: var(--arch);
	overflow: hidden;
}

.ratio {
	position: relative;
	background: var(--gold-soft);
}

.ratio > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ratio--tall {
	aspect-ratio: 3 / 4;
}

.ratio--square {
	aspect-ratio: 1 / 1;
}

.ratio--wide {
	aspect-ratio: 4 / 3;
}

/* -------------------------------------------------------------------------
   Buttons
   ---------------------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.85rem 1.6rem;
	border: 1px solid var(--sea);
	background: var(--sea);
	color: #fff;
	font-family: var(--sans);
	font-size: var(--step--1);
	letter-spacing: 0.08em;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	border-radius: 2px;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
	background: var(--sea-dark);
	border-color: var(--sea-dark);
	color: #fff;
}

.btn--ghost {
	background: transparent;
	color: var(--ink);
	border-color: var(--line);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
	background: transparent;
	color: var(--ink);
	border-color: var(--ink);
}

.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2rem;
}

.link-more {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: var(--step--1);
	letter-spacing: 0.08em;
	text-decoration: none;
	border-bottom: 1px solid var(--line);
	padding-bottom: 0.35rem;
	color: var(--ink);
}

.link-more:hover {
	color: var(--gold);
	border-color: var(--gold);
}

.icon {
	width: 1em;
	height: 1em;
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

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

.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: rgba(238, 241, 236, 0.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 4.75rem;
}

.site-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	text-decoration: none;
	color: var(--ink);
	font-family: var(--display);
	font-size: 1.2rem;
	letter-spacing: 0.02em;
}

.site-brand img {
	max-height: 44px;
	width: auto;
}

.nav-primary ul {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2.4vw, 2rem);
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-primary a {
	text-decoration: none;
	color: var(--ink);
	font-size: var(--step--1);
	letter-spacing: 0.06em;
	padding-block: 0.4rem;
	border-bottom: 1px solid transparent;
}

.nav-primary a:hover,
.nav-primary .current-menu-item > a,
.nav-primary .current_page_item > a {
	color: var(--ink);
	border-color: var(--gold);
}

.nav-toggle {
	display: none;
	align-items: center;
	gap: 0.5rem;
	background: none;
	border: 0;
	padding: 0.5rem;
	margin-right: -0.5rem;
	color: var(--ink);
	font-family: var(--sans);
	font-size: var(--step--1);
	letter-spacing: 0.08em;
	cursor: pointer;
}

.nav-drawer {
	position: fixed;
	inset: 0;
	z-index: 60;
	background: var(--base);
	padding: var(--gutter);
	display: flex;
	flex-direction: column;
	transform: translateY(-100%);
	visibility: hidden;
	transition: transform 0.35s ease, visibility 0.35s;
}

.nav-drawer[data-open="true"] {
	transform: translateY(0);
	visibility: visible;
}

.nav-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-family: var(--display);
	font-size: 1.2rem;
}

.nav-drawer ul {
	list-style: none;
	margin: auto 0;
	padding: 0;
	display: grid;
	gap: 1.25rem;
}

.nav-drawer a {
	font-family: var(--display);
	font-size: var(--step-2);
	text-decoration: none;
	color: var(--ink);
}

/* -------------------------------------------------------------------------
   Hero
   ---------------------------------------------------------------------- */

.hero {
	position: relative;
	background: var(--ink);
	color: #fff;
	overflow: hidden;
}

.hero__media {
	position: absolute;
	inset: 0;
}

.hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.62;
}

.hero__inner {
	position: relative;
	padding-block: clamp(5rem, 16vw, 9.5rem);
	max-width: 44rem;
}

.hero h1,
.hero p {
	color: #fff;
}

.hero .eyebrow {
	color: var(--gold-soft);
}

.hero p {
	color: rgba(255, 255, 255, 0.88);
	max-width: 40ch;
}

.hero--compact .hero__inner {
	padding-block: clamp(3.5rem, 10vw, 6rem);
}

.page-head {
	padding-block: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 4vw, 3rem);
}

.page-head h1 {
	max-width: 18ch;
}

/* -------------------------------------------------------------------------
   Editor content
   ---------------------------------------------------------------------- */

.entry-content > * {
	margin-inline: auto;
}

.entry-content h2 {
	margin-top: 2.2em;
}

.entry-content h3 {
	margin-top: 1.8em;
}

.entry-content figure,
.entry-content .wp-block-image {
	margin: clamp(2rem, 5vw, 3.5rem) auto;
}

.entry-content .wp-block-image img {
	border-radius: 3px;
}

.entry-content ol,
.entry-content ul {
	padding-left: 1.25rem;
}

.entry-content li {
	margin-bottom: 0.5rem;
}

.entry-content li::marker {
	color: var(--gold);
}

.entry-content strong {
	font-weight: 500;
}

.entry-content > p:first-of-type {
	font-size: var(--step-1);
	line-height: 1.6;
	color: var(--ink-soft);
}

/* Two-column story block used on the About page */
.split {
	display: grid;
	gap: clamp(2rem, 6vw, 4.5rem);
	align-items: center;
}

@media (min-width: 62rem) {
	.split {
		grid-template-columns: 1fr 1fr;
	}

	.split--media-first > :first-child {
		order: 2;
	}
}

/* -------------------------------------------------------------------------
   Quote
   ---------------------------------------------------------------------- */

.quote {
	background: var(--ink);
	color: #fff;
	text-align: center;
}

.quote blockquote p {
	font-family: var(--display);
	font-size: var(--step-3);
	line-height: 1.3;
	font-weight: 300;
	margin: 0 auto 1.2rem;
	max-width: 24ch;
	color: #fff;
}

.quote cite {
	font-style: normal;
	font-size: var(--step--1);
	letter-spacing: 0.14em;
	color: var(--gold-soft);
}

/* -------------------------------------------------------------------------
   Cards: classes, retreats, services
   ---------------------------------------------------------------------- */

.card-grid {
	display: grid;
	gap: clamp(1.75rem, 4vw, 3rem);
	margin-top: clamp(2rem, 5vw, 3.5rem);
}

@media (min-width: 48rem) {
	.card-grid--3 {
		grid-template-columns: repeat(3, 1fr);
	}

	.card-grid--2 {
		grid-template-columns: repeat(2, 1fr);
	}
}

.card {
	display: flex;
	flex-direction: column;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 3px;
	overflow: hidden;
}

.card__media {
	border-bottom: 1px solid var(--line);
}

.card__body {
	padding: clamp(1.5rem, 3vw, 2rem);
	display: flex;
	flex-direction: column;
	flex: 1;
}

.card__label {
	font-size: var(--step--1);
	letter-spacing: 0.12em;
	color: var(--gold);
	margin-bottom: 0.6rem;
}

.card__title {
	font-size: var(--step-2);
	margin-bottom: 0.75rem;
}

.card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	align-items: center;
	font-size: var(--step--1);
	color: var(--ink-soft);
	letter-spacing: 0.04em;
	margin-bottom: 1.1rem;
}

.card__meta span {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.card__text {
	color: var(--ink-soft);
}

.card__text p:last-child {
	margin-bottom: 0;
}

.card__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: auto;
	padding-top: 1.5rem;
}

.card__price {
	font-family: var(--display);
	font-size: var(--step-1);
}

.card__price small {
	font-family: var(--sans);
	font-size: var(--step--1);
	color: var(--ink-faint);
	letter-spacing: 0.06em;
}

/* Retreat cards are the showpiece: wider, arched, side-by-side on desktop */
.retreat {
	display: grid;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 3px;
	overflow: hidden;
}

@media (min-width: 56rem) {
	.retreat {
		grid-template-columns: 5fr 6fr;
	}
}

.retreat__media {
	position: relative;
	min-height: 18rem;
}

.retreat__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.retreat__body {
	padding: clamp(1.75rem, 4vw, 3rem);
	display: flex;
	flex-direction: column;
}

.retreat + .retreat {
	margin-top: clamp(1.75rem, 4vw, 3rem);
}

/* -------------------------------------------------------------------------
   Steps
   ---------------------------------------------------------------------- */

.steps {
	counter-reset: step;
	display: grid;
	gap: clamp(1.5rem, 4vw, 2.5rem);
	margin-top: clamp(2rem, 5vw, 3rem);
	padding: 0;
	list-style: none;
	max-width: none;
}

@media (min-width: 48rem) {
	.steps {
		grid-template-columns: repeat(3, 1fr);
	}
}

.steps li {
	counter-increment: step;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
}

.steps li::before {
	content: counter(step, decimal-leading-zero);
	display: block;
	font-family: var(--display);
	font-size: var(--step-1);
	color: var(--gold);
	margin-bottom: 0.6rem;
}

.steps h3 {
	font-size: var(--step-1);
	margin-bottom: 0.4rem;
}

.steps p {
	color: var(--ink-soft);
	margin: 0;
}

/* -------------------------------------------------------------------------
   Contact
   ---------------------------------------------------------------------- */

.contact-grid {
	display: grid;
	gap: clamp(2rem, 6vw, 4rem);
	align-items: start;
}

@media (min-width: 60rem) {
	.contact-grid {
		grid-template-columns: 5fr 7fr;
	}
}

.contact-details {
	display: grid;
	gap: 1.5rem;
	margin: 0 0 2.5rem;
	padding: 0;
	list-style: none;
}

.contact-details div {
	display: flex;
	gap: 0.9rem;
	align-items: flex-start;
}

.contact-details .icon {
	width: 1.25rem;
	height: 1.25rem;
	margin-top: 0.35rem;
	color: var(--gold);
}

.contact-details dt {
	font-size: var(--step--1);
	letter-spacing: 0.12em;
	color: var(--ink-faint);
}

.contact-details dd {
	margin: 0;
	font-size: var(--step-1);
}

.form {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 3px;
	padding: clamp(1.5rem, 4vw, 2.5rem);
}

.field-row {
	display: grid;
	gap: 1.25rem;
}

@media (min-width: 34rem) {
	.field-row--2 {
		grid-template-columns: 1fr 1fr;
	}
}

.field {
	display: grid;
	gap: 0.4rem;
	margin-bottom: 1.25rem;
}

.field label {
	font-size: var(--step--1);
	letter-spacing: 0.08em;
	color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
	width: 100%;
	font-family: var(--sans);
	font-size: var(--step-0);
	font-weight: 300;
	color: var(--ink);
	background: var(--base);
	border: 1px solid var(--line);
	border-radius: 2px;
	padding: 0.75rem 0.9rem;
}

.field textarea {
	min-height: 8.5rem;
	resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
	border-color: var(--sea);
	outline: 2px solid rgba(58, 101, 88, 0.18);
	outline-offset: 0;
}

.field--hp {
	position: absolute;
	left: -9999px;
}

.form__note {
	font-size: var(--step--1);
	color: var(--ink-faint);
	margin-top: 1rem;
}

.notice {
	border-left: 3px solid var(--sea);
	background: var(--paper);
	padding: 1rem 1.25rem;
	margin-bottom: 1.75rem;
}

.notice--error {
	border-color: #a5482f;
}

.notice p {
	margin: 0;
}

.faq {
	display: grid;
	gap: 0;
	margin-top: clamp(2rem, 5vw, 3rem);
	border-top: 1px solid var(--line);
}

.faq details {
	border-bottom: 1px solid var(--line);
}

.faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.35rem 0;
	cursor: pointer;
	font-family: var(--display);
	font-size: var(--step-1);
	list-style: none;
}

.faq summary::-webkit-details-marker {
	display: none;
}

.faq summary .icon {
	width: 1.1rem;
	height: 1.1rem;
	color: var(--gold);
	transition: transform 0.25s ease;
}

.faq details[open] summary .icon {
	transform: rotate(45deg);
}

.faq p {
	color: var(--ink-soft);
	padding-bottom: 1.35rem;
	margin: 0;
}

/* -------------------------------------------------------------------------
   Retreat detail dialog
   ---------------------------------------------------------------------- */

.retreat-dialog {
	width: min(46rem, calc(100vw - 2rem));
	max-height: 85vh;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 4px;
	background: var(--paper);
	color: var(--ink);
	box-shadow: var(--shadow);
}

.retreat-dialog::backdrop {
	background: rgba(34, 48, 44, 0.55);
}

.retreat-dialog__head {
	position: sticky;
	top: 0;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.5rem clamp(1.25rem, 4vw, 2.25rem);
	background: var(--paper);
	border-bottom: 1px solid var(--line);
}

.retreat-dialog__head h2 {
	margin: 0;
	font-size: var(--step-2);
}

.retreat-dialog__close {
	background: none;
	border: 0;
	cursor: pointer;
	color: var(--ink-soft);
	padding: 0.25rem;
	line-height: 0;
}

.retreat-dialog__body {
	padding: clamp(1.25rem, 4vw, 2.25rem);
	overflow-y: auto;
	max-height: calc(85vh - 5.5rem);
}

.retreat-dialog__body p,
.retreat-dialog__body li {
	color: var(--ink-soft);
}

.retreat-dialog__body ol,
.retreat-dialog__body ul {
	padding-left: 1.25rem;
}

/* The old site's saved copy uses Quill's bullet convention. */
.retreat-dialog__body li[data-list="bullet"] {
	list-style: disc;
}

.retreat-dialog__body .ql-ui {
	display: none;
}

.retreat-dialog__body .ql-align-center {
	text-align: center;
}

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

.site-footer {
	background: var(--ink);
	color: rgba(255, 255, 255, 0.75);
	padding-block: clamp(3rem, 7vw, 5rem) 2rem;
}

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

.site-footer a:hover {
	color: #fff;
}

.footer-grid {
	display: grid;
	gap: clamp(2rem, 5vw, 3rem);
}

@media (min-width: 48rem) {
	.footer-grid {
		grid-template-columns: 2fr 1fr 1fr 1fr;
	}
}

.footer-brand {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	color: #fff;
	font-family: var(--display);
	font-size: 1.25rem;
	margin-bottom: 1rem;
	text-decoration: none;
}

.footer-brand img {
	max-height: 40px;
	width: auto;
}

.site-footer h2 {
	font-family: var(--sans);
	font-size: var(--step--1);
	letter-spacing: 0.14em;
	color: #fff;
	margin-bottom: 1.1rem;
	font-weight: 400;
}

.site-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.6rem;
	font-size: var(--step--1);
	letter-spacing: 0.04em;
}

.footer-note {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	margin-top: clamp(2.5rem, 6vw, 4rem);
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	font-size: var(--step--1);
	color: rgba(255, 255, 255, 0.55);
}

/* -------------------------------------------------------------------------
   Responsive switches
   ---------------------------------------------------------------------- */

@media (max-width: 60rem) {
	.nav-primary {
		display: none;
	}

	.nav-toggle {
		display: inline-flex;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		transition-duration: 0.001ms !important;
	}
}

/* -------------------------------------------------------------------------
   Editor + WordPress core classes
   ---------------------------------------------------------------------- */

.alignwide {
	max-width: min(100%, 1100px);
}

.alignfull {
	max-width: none;
}

.aligncenter {
	margin-inline: auto;
}

.wp-caption-text,
.wp-block-image figcaption {
	font-size: var(--step--1);
	color: var(--ink-faint);
	text-align: center;
	margin-top: 0.75rem;
}

.wp-block-quote {
	border-left: 2px solid var(--gold);
	padding-left: 1.5rem;
	font-family: var(--display);
	font-size: var(--step-1);
}

.wp-block-button__link {
	background: var(--sea);
	color: #fff;
	border-radius: 2px;
	padding: 0.85rem 1.6rem;
	font-size: var(--step--1);
	letter-spacing: 0.08em;
	text-decoration: none;
}

/* -------------------------------------------------------------------------
   Editor blocks that need theme treatment
   ---------------------------------------------------------------------- */

/* A list given the "steps" class in the editor becomes the booking sequence. */
.entry-content .steps,
.entry-content ol.steps,
.entry-content ul.steps {
	padding-left: 0;
	list-style: none;
	max-width: none;
}

.steps li strong {
	display: block;
	font-family: var(--display);
	font-size: var(--step-1);
	font-weight: 300;
	line-height: 1.2;
	margin-bottom: 0.4rem;
}

.steps li {
	color: var(--ink-soft);
}

/* Core details block, used for the contact page questions. */
.wp-block-details {
	border-bottom: 1px solid var(--line);
	padding: 0;
	max-width: none;
}

.wp-block-details:first-of-type {
	border-top: 1px solid var(--line);
}

.wp-block-details summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.35rem 0;
	cursor: pointer;
	font-family: var(--display);
	font-size: var(--step-1);
	list-style: none;
}

.wp-block-details summary::-webkit-details-marker,
.wp-block-details summary::marker {
	display: none;
	content: "";
}

.wp-block-details summary::after {
	content: "+";
	font-family: var(--sans);
	font-size: 1.4rem;
	line-height: 1;
	color: var(--gold);
	transition: transform 0.25s ease;
}

.wp-block-details[open] summary::after {
	transform: rotate(45deg);
}

.wp-block-details > *:not(summary) {
	color: var(--ink-soft);
	padding-bottom: 1.35rem;
	margin-block: 0;
}
