/*
Theme Name: Astral Synastry
Description: Child theme of Twenty Twenty-Five for Astral Synastry. Midnight-and-gold celestial design system: tokens in theme.json, decorative block styles here, sections as patterns.
Author: Astral Synastry
Template: twentytwentyfive
Version: 0.9.7
Requires at least: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astral-synastry
*/

/* ------------------------------------------------------------------
   Dark contexts: sections on midnight/navy/night-sky backgrounds.
   theme.json colours headings midnight globally, so re-inherit here.
------------------------------------------------------------------ */
:root {
	--as-gold: var(--wp--preset--color--gold);
	--as-hairline: rgba(201, 163, 94, 0.45);
}

.as-dark,
.is-style-as-starfield,
.is-style-as-wave,
.has-midnight-background-color,
.has-navy-background-color,
.has-night-sky-gradient-background {
	color-scheme: dark;
}

:is(.as-dark, .is-style-as-starfield, .is-style-as-wave, .has-midnight-background-color, .has-navy-background-color, .has-night-sky-gradient-background) :is(h1, h2, h3, h4, h5, h6) {
	color: inherit;
}

:is(.as-dark, .is-style-as-starfield, .is-style-as-wave, .has-midnight-background-color, .has-navy-background-color, .has-night-sky-gradient-background) a:where(:not(.wp-element-button)) {
	color: var(--wp--preset--color--gold-light);
}

/* ------------------------------------------------------------------
   Group: starfield + wave
------------------------------------------------------------------ */
.is-style-as-starfield,
.is-style-as-wave {
	position: relative;
	isolation: isolate;
}

.is-style-as-starfield::before,
.is-style-as-wave::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background-image:
		radial-gradient(1px 1px at 23px 41px, #fff 50%, transparent 51%),
		radial-gradient(1px 1px at 131px 97px, rgba(255, 255, 255, 0.8) 50%, transparent 51%),
		radial-gradient(1.5px 1.5px at 207px 19px, #f3dfb0 50%, transparent 51%),
		radial-gradient(1px 1px at 61px 173px, rgba(255, 255, 255, 0.7) 50%, transparent 51%),
		radial-gradient(1px 1px at 173px 211px, #fff 50%, transparent 51%),
		radial-gradient(1px 1px at 97px 263px, rgba(255, 255, 255, 0.6) 50%, transparent 51%),
		radial-gradient(1.5px 1.5px at 311px 139px, #fff 50%, transparent 51%),
		radial-gradient(1px 1px at 263px 301px, rgba(243, 223, 176, 0.9) 50%, transparent 51%);
	background-size: 340px 340px;
	opacity: 0.75;
}

.is-style-as-wave {
	padding-bottom: max(var(--wp--preset--spacing--80), 7rem) !important;
}

/* Cream wave + gold hairline + star medallion at the dip. */
.is-style-as-wave::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -38px;
	height: 118px;
	z-index: 2;
	pointer-events: none;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 76 76'%3E%3Ccircle cx='38' cy='38' r='36' fill='%230A1226' stroke='%23C9A35E' stroke-width='1.5'/%3E%3Ccircle cx='38' cy='38' r='30' fill='none' stroke='%23C9A35E' stroke-width='0.75' stroke-dasharray='1 3'/%3E%3Cpath d='M38 15 L40.6 35.4 L61 38 L40.6 40.6 L38 61 L35.4 40.6 L15 38 L35.4 35.4 Z' fill='%23E6CC95'/%3E%3Cpath d='M38 27 L39.2 36.8 L49 38 L39.2 39.2 L38 49 L36.8 39.2 L27 38 L36.8 36.8 Z' fill='%23C9A35E' transform='rotate(45 38 38)'/%3E%3C/svg%3E") center bottom / 76px 76px no-repeat,
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 10 C420 10 560 79 720 79 C880 79 1020 10 1440 10 L1440 80 L0 80 Z' fill='%23F8F3EA'/%3E%3Cpath d='M0 10 C420 10 560 79 720 79 C880 79 1020 10 1440 10' fill='none' stroke='%23C9A35E' stroke-width='1.5' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") 0 0 / 100% 80px no-repeat,
		linear-gradient(var(--wp--preset--color--cream), var(--wp--preset--color--cream)) 0 80px / 100% 38px no-repeat;
}

/* ------------------------------------------------------------------
   Group: card + frame
------------------------------------------------------------------ */
.is-style-as-card {
	background: rgba(255, 255, 255, 0.55);
	border: 1px solid var(--as-hairline);
	border-radius: 6px;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 10px 30px -18px rgba(10, 18, 38, 0.35);
	padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--30);
	height: 100%;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.is-style-as-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 16px 36px -18px rgba(10, 18, 38, 0.45);
}

.is-style-as-frame {
	position: relative;
	border: 1px solid var(--as-gold);
	outline: 1px solid var(--as-hairline);
	outline-offset: -7px;
	border-radius: 4px;
	padding: var(--wp--preset--spacing--50);
}

/* ------------------------------------------------------------------
   Typography helpers
------------------------------------------------------------------ */
p.is-style-as-eyebrow {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 500;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--wp--preset--color--bronze);
	margin-bottom: 0;
}

:is(.as-dark, .is-style-as-starfield, .is-style-as-wave, .has-midnight-background-color, .has-navy-background-color, .has-night-sky-gradient-background) p.is-style-as-eyebrow {
	color: var(--wp--preset--color--gold);
}

.is-style-as-spaced {
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: clamp(1.15rem, 1rem + 0.8vw, 1.6rem) !important;
}

p.is-style-as-stars {
	color: var(--wp--preset--color--gold);
	letter-spacing: 0.25em;
	font-size: 1.05rem;
}

/* Pill tag, e.g. "Written report"; add .as-tag-live for the filled variant. */
p.is-style-as-tag {
	width: fit-content;
	margin-inline: auto;
	padding: 0.2rem 0.75rem;
	border: 1px solid var(--as-hairline);
	border-radius: 999px;
	background: rgba(201, 163, 94, 0.1);
	color: var(--wp--preset--color--bronze);
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	line-height: 1.6;
	text-transform: uppercase;
}

p.is-style-as-tag.as-tag-live {
	background: var(--wp--preset--color--midnight);
	border-color: var(--wp--preset--color--midnight);
	color: var(--wp--preset--color--gold-light);
}

/* Checklist with gold tick discs. */
ul.as-checklist {
	list-style: none;
	padding-left: 0;
}

ul.as-checklist li {
	position: relative;
	padding-left: 2rem;
	margin-bottom: 0.6rem;
}

ul.as-checklist li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: 0.15em;
	width: 1.3rem;
	height: 1.3rem;
	border-radius: 50%;
	background: var(--as-gold);
	color: var(--wp--preset--color--white);
	font-size: 0.75rem;
	line-height: 1.3rem;
	text-align: center;
}

/* Large gold symbol used as a line-art icon stand-in. */
p.is-style-as-glyph {
	color: var(--as-gold);
	font-family: "Segoe UI Symbol", "Noto Sans Symbols", "DejaVu Sans", "Apple Symbols", var(--wp--preset--font-family--display);
	font-variant-emoji: text;
	font-size: 3rem;
	line-height: 1;
	text-align: center;
	margin-bottom: 0.5rem;
}

/* ------------------------------------------------------------------
   Separator: gold rule with a star in the middle
------------------------------------------------------------------ */
hr.wp-block-separator.is-style-as-ornament {
	border: 0 !important;
	height: 14px;
	width: 100%;
	max-width: 260px;
	margin-inline: auto;
	opacity: 1;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 0 L8.2 5.8 L14 7 L8.2 8.2 L7 14 L5.8 8.2 L0 7 L5.8 5.8 Z' fill='%23C9A35E'/%3E%3C/svg%3E") center / 14px 14px no-repeat,
		linear-gradient(to right, transparent, var(--as-gold)) left center / calc(50% - 14px) 1px no-repeat,
		linear-gradient(to left, transparent, var(--as-gold)) right center / calc(50% - 14px) 1px no-repeat !important;
}

hr.wp-block-separator.is-style-as-ornament.as-left {
	margin-left: 0;
	max-width: 360px;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 0 L8.2 5.8 L14 7 L8.2 8.2 L7 14 L5.8 8.2 L0 7 L5.8 5.8 Z' fill='%23C9A35E'/%3E%3C/svg%3E") center / 14px 14px no-repeat,
		linear-gradient(var(--as-gold), var(--as-gold)) left center / calc(50% - 14px) 1px no-repeat,
		linear-gradient(to left, transparent, var(--as-gold)) right center / calc(50% - 14px) 1px no-repeat !important;
}

/* ------------------------------------------------------------------
   Paragraph: medallion icon (glyph inside a gold-ringed night disc)
------------------------------------------------------------------ */
p.is-style-as-medallion {
	--as-medallion-size: 96px;
	display: grid;
	place-items: center;
	width: var(--as-medallion-size);
	height: var(--as-medallion-size);
	margin-inline: auto;
	border-radius: 50%;
	background: radial-gradient(circle at 50% 35%, #1E2D57, var(--wp--preset--color--midnight) 70%);
	border: 2px solid var(--as-gold);
	box-shadow: inset 0 0 0 5px var(--wp--preset--color--midnight), inset 0 0 0 6px var(--as-hairline), 0 6px 18px -8px rgba(10, 18, 38, 0.6);
	color: var(--wp--preset--color--gold-light);
	font-family: "Segoe UI Symbol", "Noto Sans Symbols", "DejaVu Sans", "Apple Symbols", var(--wp--preset--font-family--display);
	font-variant-emoji: text;
	font-size: calc(var(--as-medallion-size) * 0.42);
	line-height: 1;
	text-align: center;
}

p.is-style-as-medallion.as-small {
	--as-medallion-size: 52px;
	margin-inline: 0;
}

/* ------------------------------------------------------------------
   Buttons
------------------------------------------------------------------ */
.wp-block-button.is-style-as-outline .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--bronze);
	border-color: var(--as-gold);
}

.wp-block-button.is-style-as-outline .wp-block-button__link:hover {
	background: var(--as-gold);
	color: var(--wp--preset--color--midnight);
}

:is(.as-dark, .is-style-as-starfield, .is-style-as-wave, .has-midnight-background-color, .has-navy-background-color, .has-night-sky-gradient-background) .wp-block-button.is-style-as-outline .wp-block-button__link:not(:hover) {
	color: var(--wp--preset--color--gold-light);
}

.wp-block-button.is-style-as-dark .wp-block-button__link {
	background: var(--wp--preset--color--midnight);
	color: var(--wp--preset--color--cream);
	border-color: var(--wp--preset--color--midnight);
}

.wp-block-button.is-style-as-dark .wp-block-button__link:hover {
	background: var(--wp--preset--color--navy);
	border-color: var(--as-gold);
	color: var(--wp--preset--color--gold-light);
}

/* ------------------------------------------------------------------
   Image: arch frame
------------------------------------------------------------------ */
.wp-block-image.is-style-as-arch {
	max-width: 420px;
	margin-inline: auto;
}

.wp-block-image.is-style-as-arch img {
	border-radius: 999px 999px 10px 10px;
	outline: 1px solid var(--as-gold);
	outline-offset: 8px;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

/* Square arch for square portraits (keeps the whole picture, e.g. the crow at the edge). */
.wp-block-image.is-style-as-arch.as-square {
	max-width: 460px;
}

.wp-block-image.is-style-as-arch.as-square img {
	aspect-ratio: 1 / 1;
}

/* ------------------------------------------------------------------
   Header
------------------------------------------------------------------ */
.as-site-header .wp-block-navigation a {
	color: var(--wp--preset--color--cream);
	text-decoration: none;
	padding-block: 0.35rem;
	position: relative;
}

.as-site-header .wp-block-navigation a:hover,
.as-site-header .wp-block-navigation .current-menu-item > a {
	color: var(--wp--preset--color--gold);
}

.as-site-header .wp-block-navigation .current-menu-item > a::after {
	content: "\2726";
	position: absolute;
	left: 50%;
	bottom: -0.85rem;
	transform: translateX(-50%);
	font-size: 0.55rem;
	color: var(--as-gold);
	background: linear-gradient(var(--as-gold), var(--as-gold)) center / 100% 1px no-repeat;
	width: 100%;
	text-align: center;
}

.as-header-cta .wp-block-button__link {
	white-space: nowrap;
}

/* On small screens the hamburger menu carries navigation; drop the header CTA. */
@media (max-width: 599px) {
	.as-site-header .as-header-cta {
		display: none;
	}

	.as-site-header .wp-block-site-title {
		font-size: 1.35rem !important;
	}
}

.as-site-header .wp-block-site-tagline {
	color: var(--wp--preset--color--gold);
}

.as-site-header .as-logo img,
.as-site-footer .as-logo img {
	width: 72px;
	height: auto;
}

/* ------------------------------------------------------------------
   Footer
------------------------------------------------------------------ */
.as-site-footer ul.as-link-list {
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: var(--wp--preset--font-size--x-small);
	line-height: 2;
}

.as-site-footer a {
	text-decoration: none;
}

.as-site-footer .as-link-list a {
	color: var(--wp--preset--color--cream) !important;
	opacity: 0.85;
}

.as-site-footer .as-link-list a:hover {
	color: var(--wp--preset--color--gold-light) !important;
	opacity: 1;
}

.as-site-footer .wp-block-social-links .wp-social-link {
	color: var(--wp--preset--color--gold);
}

/* ------------------------------------------------------------------
   Sections
------------------------------------------------------------------ */

/* Landing template: full-bleed sections sit flush against each other. */
.as-landing > * + * {
	margin-block-start: 0;
}

/* "How it works": arrow between steps on wide screens. */
@media (min-width: 782px) {
	.as-steps > .wp-block-column {
		position: relative;
	}

	.as-steps > .wp-block-column:not(:last-child)::after {
		content: "";
		position: absolute;
		top: 48px;
		right: calc(-1 * var(--wp--style--block-gap, 2em) / 2 - 22px);
		width: 44px;
		height: 10px;
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 10'%3E%3Cpath d='M0 5 H42 M37 1 L42 5 L37 9' fill='none' stroke='%23C9A35E' stroke-width='1.2'/%3E%3C/svg%3E") center / contain no-repeat;
	}

	/* Thin gold dividers between testimonial columns. */
	.as-testimonials > .wp-block-column + .wp-block-column,
	.as-divided > .wp-block-column + .wp-block-column {
		border-left: 1px solid var(--as-hairline);
		padding-left: var(--wp--preset--spacing--40);
	}
}

.as-feature-list .wp-block-group.is-nowrap {
	align-items: flex-start;
}

.as-feature-list p.is-style-as-medallion.as-small {
	flex-shrink: 0;
}

/* ------------------------------------------------------------------
   Artwork
------------------------------------------------------------------ */

/* Circular medallion icons (services, steps). */
.wp-block-image.as-icon {
	margin-bottom: var(--wp--preset--spacing--30);
}

.wp-block-image.as-icon img {
	filter: drop-shadow(0 6px 14px rgba(10, 18, 38, 0.35));
}

/* Gold line-art icons: normalise their differing aspect ratios to one height. */
.wp-block-image.as-line-icon img {
	display: block;
	height: 88px;
	width: auto;
	margin-inline: auto;
	object-fit: contain;
}

/* Square painting on a dark panel: fade the edges into the background. */
.wp-block-image.as-soft-edge img {
	-webkit-mask-image: radial-gradient(circle at 50% 50%, #000 52%, transparent 72%);
	mask-image: radial-gradient(circle at 50% 50%, #000 52%, transparent 72%);
}

.wp-block-image.as-rounded img {
	border-radius: 8px;
	box-shadow: 0 18px 40px -24px rgba(10, 18, 38, 0.55);
}

/* Inner-page hero with the crow/moon painting as backdrop; text sits over the open sky. */
.as-hero-clouds {
	background-image:
		linear-gradient(90deg, rgba(10, 18, 38, 0.92) 0%, rgba(10, 18, 38, 0.55) 40%, rgba(10, 18, 38, 0) 65%),
		url("assets/images/hero-services-clouds.webp");
	background-size: cover;
	background-position: right center;
	background-repeat: no-repeat;
}

@media (max-width: 781px) {
	.as-hero-clouds {
		background-image:
			linear-gradient(rgba(10, 18, 38, 0.78), rgba(10, 18, 38, 0.78)),
			url("assets/images/hero-services-clouds.webp");
		background-position: 75% center;
	}
}

/* Crystals + crescent tucked into the bottom-right corner of a band. */
.as-corner-crystals {
	position: relative;
	overflow: hidden;
}

.as-corner-crystals::after {
	content: "";
	position: absolute;
	right: 2%;
	bottom: 0;
	width: clamp(110px, 14vw, 200px);
	aspect-ratio: 520 / 629;
	background: url("assets/images/crystals-moon-corner.webp") right bottom / contain no-repeat;
	pointer-events: none;
}

@media (max-width: 781px) {
	.as-corner-crystals::after {
		display: none;
	}
}

/* Service "At a glance" card. */
.as-glance {
	height: auto;
	position: sticky;
	top: var(--wp--preset--spacing--40);
}

.as-glance:hover {
	transform: none;
}

.as-glance .as-glance-row {
	border-top: 1px solid var(--as-hairline);
	padding-top: 0.75rem;
}

.as-glance .as-glance-row p {
	margin: 0;
}

/* Hero artwork floats softly. */
.as-hero-art img {
	filter: drop-shadow(0 20px 60px rgba(201, 163, 94, 0.18));
}

@media (prefers-reduced-motion: reduce) {
	.is-style-as-card {
		transition: none;
	}

	.is-style-as-card:hover {
		transform: none;
	}
}

/* ------------------------------------------------------------------
   WooCommerce (block templates: shop, product, cart, checkout, account)
------------------------------------------------------------------ */

/* Page titles on store templates use the display face. */
.woocommerce-page main h1,
.wp-block-query-title,
.wp-block-woocommerce-product-collection .wp-block-post-title {
	font-family: var(--wp--preset--font-family--display);
}

/* Product cards in the shop grid. */
.wp-block-woocommerce-product-collection .wc-block-product,
.wp-block-woocommerce-product-template > li {
	background: rgba(255, 255, 255, 0.55);
	border: 1px solid var(--as-hairline);
	border-radius: 6px;
	padding: var(--wp--preset--spacing--30);
	text-align: center;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wp-block-woocommerce-product-collection .wc-block-product:hover,
.wp-block-woocommerce-product-template > li:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 36px -18px rgba(10, 18, 38, 0.45);
}

.wp-block-woocommerce-product-collection .wp-block-post-title a {
	color: var(--wp--preset--color--midnight);
	text-decoration: none;
}

/* Prices in gold-bronze serif. */
.wc-block-components-product-price,
.wp-block-woocommerce-product-price,
.woocommerce-Price-amount {
	color: var(--wp--preset--color--bronze);
	font-family: var(--wp--preset--font-family--display);
	font-weight: 600;
}

.wp-block-woocommerce-product-price {
	font-size: 1.35rem;
}

/* Sale badge. */
.wc-block-components-product-sale-badge {
	background: var(--wp--preset--color--midnight);
	border-color: var(--as-gold);
	color: var(--wp--preset--color--gold-light);
	border-radius: 999px;
}

/* Block buttons that WooCommerce styles itself (add to cart, place order). */
.wc-block-components-button:not(.is-link),
.wp-block-woocommerce-product-button .wp-block-button__link,
.single_add_to_cart_button {
	background: var(--wp--preset--color--gold) !important;
	color: var(--wp--preset--color--midnight) !important;
	border: 1px solid var(--wp--preset--color--gold) !important;
	border-radius: 3px !important;
	font-family: var(--wp--preset--font-family--body);
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.wc-block-components-button:not(.is-link):hover,
.wp-block-woocommerce-product-button .wp-block-button__link:hover,
.single_add_to_cart_button:hover {
	background: var(--wp--preset--color--gold-light) !important;
	border-color: var(--wp--preset--color--gold-light) !important;
}

/* Form fields: cream inputs with a gold hairline and gold focus ring. */
.wc-block-components-text-input input,
.wc-block-components-textarea,
.wc-blocks-components-select .wc-blocks-components-select__select,
.wc-block-components-combobox .wc-block-components-combobox-control input {
	background: var(--wp--preset--color--white) !important;
	border: 1px solid var(--as-hairline) !important;
	border-radius: 4px !important;
	color: var(--wp--preset--color--ink) !important;
}

.wc-block-components-text-input input:focus,
.wc-block-components-textarea:focus,
.wc-blocks-components-select .wc-blocks-components-select__select:focus {
	border-color: var(--as-gold) !important;
	box-shadow: 0 0 0 1px var(--as-gold) !important;
	outline: none;
}

/* Checkout and cart: section headings in spaced caps, sidebar as a card. */
.wc-block-components-checkout-step__title,
.wc-block-cart__totals-title,
.wc-block-components-title {
	font-family: var(--wp--preset--font-family--display) !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.wc-block-checkout__sidebar,
.wc-block-cart__sidebar {
	background: rgba(255, 255, 255, 0.55);
	border: 1px solid var(--as-hairline);
	border-radius: 6px;
	padding: var(--wp--preset--spacing--30) !important;
}

/* Notices. */
.wc-block-components-notice-banner {
	border-radius: 6px;
	border-color: var(--as-hairline);
}

.wc-block-components-notice-banner.is-error {
	border-color: #b3261e;
}

/* Breadcrumbs and result count in small, muted type. */
.woocommerce-breadcrumb,
.wc-block-breadcrumbs,
.woocommerce-result-count {
	font-size: var(--wp--preset--font-size--x-small);
	color: var(--wp--preset--color--muted);
}

/* Book page session cards: keep the button and links at the bottom. */
.as-session {
	display: flex;
	flex-direction: column;
}

.as-session > .wp-block-buttons,
.as-session > p.is-style-as-tag:last-of-type {
	margin-top: auto;
}

/* My Readings (astral-synastry-intake plugin): list buttons and the details form. */
.astral-readings td:last-child {
	text-align: right;
	white-space: nowrap;
}

.astral-readings .button,
.astral-reading .button {
	white-space: nowrap;
}

.astral-details-form fieldset {
	border: 1px solid var(--as-hairline);
	border-radius: 6px;
	padding: var(--wp--preset--spacing--30);
	margin: 0 0 var(--wp--preset--spacing--30);
	background: rgba(255, 255, 255, 0.55);
}

.astral-details-form legend {
	padding: 0 0.5em;
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 500;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--wp--preset--color--bronze);
}

.astral-details-form .astral-unknown {
	display: block;
	margin-top: 0.4em;
	font-size: var(--wp--preset--font-size--small);
}

.astral-details-form .astral-help {
	display: block;
	margin-top: 0.3em;
	color: var(--wp--preset--color--muted);
}

.astral-details th {
	width: 40%;
	text-align: left;
}

/* ------------------------------------------------------------------
   Offerings: cards for what's on sale, a quiet strip for what's coming
------------------------------------------------------------------ */
.as-offerings.as-offerings-single {
	grid-template-columns: minmax(0, 1fr) !important;
	max-width: 28rem;
	margin-inline: auto !important;
}

.as-coming-soon-item {
	align-items: center;
	padding: 0.35rem 0.9rem 0.35rem 0.4rem;
	border: 1px solid var(--as-hairline);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.4);
}

.as-coming-soon-item > * {
	margin: 0 !important;
}

.as-coming-soon-item img {
	filter: saturate(0.6);
	opacity: 0.85;
}

.as-coming-soon-item p {
	color: var(--wp--preset--color--muted);
	letter-spacing: 0.04em;
}

/* "Coming soon" pill in a left-aligned service hero. */
p.is-style-as-tag.as-tag-soon {
	margin-inline: 0;
}

:is(.has-midnight-background-color, .has-night-sky-gradient-background) p.is-style-as-tag.as-tag-soon {
	color: var(--wp--preset--color--gold-light);
	border-color: var(--wp--preset--color--gold);
}

/* ------------------------------------------------------------------
   FAQ (core Details block)
------------------------------------------------------------------ */
.as-faq details.wp-block-details {
	border-bottom: 1px solid var(--as-hairline);
	padding: var(--wp--preset--spacing--30) 0;
	margin: 0;
}

.as-faq details.wp-block-details summary {
	cursor: pointer;
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.35;
	list-style: none;
	padding-right: 2rem;
	position: relative;
}

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

.as-faq details.wp-block-details summary::after {
	content: "+";
	position: absolute;
	right: 0.25rem;
	top: 0;
	color: var(--as-gold);
	font-family: var(--wp--preset--font-family--body);
	transition: transform 0.2s ease;
}

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

.as-faq details.wp-block-details > :not(summary) {
	margin-top: var(--wp--preset--spacing--20);
	line-height: 1.75;
}

/* ------------------------------------------------------------------
   Contact form (astral-synastry-intake plugin)
------------------------------------------------------------------ */
.astral-contact-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 var(--wp--preset--spacing--40);
}

.astral-contact-form > p {
	margin: 0 0 var(--wp--preset--spacing--30);
}

.astral-contact-form .astral-contact-wide,
.astral-contact-form .astral-contact-note,
.astral-contact-form > p:last-child {
	grid-column: 1 / -1;
}

.astral-contact-form label {
	display: block;
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--bronze);
	margin-bottom: 0.35rem;
}

.astral-contact-form :is(input[type="text"], input[type="email"], select, textarea) {
	width: 100%;
	box-sizing: border-box;
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--as-hairline);
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.8);
	font: inherit;
	color: inherit;
}

.astral-contact-form :is(input, select, textarea):focus {
	outline: 2px solid var(--as-gold);
	outline-offset: 1px;
}

.astral-contact-form .astral-contact-note {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--x-small);
}

/* Honeypot: off-screen for people, present for bots. */
.astral-contact-form .astral-contact-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.astral-contact-thanks,
.astral-contact-errors {
	border: 1px solid var(--as-gold);
	border-radius: 6px;
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
	margin-bottom: var(--wp--preset--spacing--40);
	background: rgba(201, 163, 94, 0.08);
}

.astral-contact-errors ul {
	margin: 0;
	padding-left: 1.2rem;
}

@media (max-width: 600px) {
	.astral-contact-form {
		grid-template-columns: minmax(0, 1fr);
	}
}
