/*
Theme Name: Astra Child — Propstrata
Template: astra
Description: Child theme of Astra implementing the Propstrata Advisory Figma design with ACF-driven sections. Ported from the Frost child theme.
Version: 1.0.0
Text Domain: astra-child
*/

/* Global Hero */
.atwds-global-hero {
	position: relative;
	background-size: cover;
	background-position: center;
	padding: 100px 0 50px;
}
	.atwds-gh-scrim {
		position: absolute;
		inset: 0;
		pointer-events: none;
		/* White at the top so the hero image blends into the white header,
		   fading to transparent lower down to reveal the image. */
		background: linear-gradient(
			180deg,
			#ffffff 0%,
			rgba(255, 255, 255, .85) 18%,
			rgba(255, 255, 255, 0) 60%
		);
	}
	.atwds-global-hero .atwds-gh-inner {
		position: relative; /* keep the content above the scrim */
	}
	.atwds-global-hero .atwds-gh-i-content {
		justify-items: center;
	}
		.atwds-global-hero .atwds-gh-i-content .atwds-gh-i-c-title {
			font-size: 52px;
			font-weight: 700;
			max-width: 800px;
			text-align: center;
				/* Soft white glow behind the title for legibility over the image. */
				text-shadow:
					0 0 16px rgba(255, 255, 255, .95),
					0 0 34px rgba(255, 255, 255, .8),
					0 0 60px rgba(255, 255, 255, .6);
		}

/* Default Template */
.atwds-default-main {
	padding: 50px 0;
}
	.atwds-default-main .container {
		margin: 0 auto;
		max-width: 1280px;
		padding: 0 24px;
	}

/* Scroll-to-top button. */
.ps-scroll-top {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 999;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	line-height: 1;
	border: 0;
	border-radius: 50%;
	background: #4675a4;
	color: #fff;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
	opacity: 0;
	visibility: hidden;
	transform: translateY(.5rem);
	transition: opacity .25s, visibility .25s, transform .25s;
}

.ps-scroll-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.ps-scroll-top:hover {
	background: #333;
}

/* ---------- Contact page main content ---------- */
/* Tokens (--ps-*) come from home.css :root, which is enqueued site-wide. */
.ps-contact {
	background: #fff;
	padding: 80px 0 100px;
}
.ps-contact__grid {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 56px;
	align-items: start;
}

/* Form column */
.ps-contact__form {
	background: #fff;
	border: 1px solid rgba(17, 34, 64, .1);
	border-radius: var(--ps-radius, 12px);
	padding: 38px 36px;
	box-shadow: 0 20px 50px rgba(17, 34, 64, .07);
}
.ps-contact__form .gform_title,
.ps-contact__form h2,
.ps-contact__form h3 {
	font-size: 24px;
	color: var(--ps-navy, #112240);
	margin: 0 0 6px;
}
.ps-contact__form label,
.ps-contact__form .gfield_label {
	font-weight: 600;
	color: var(--ps-navy, #112240);
	font-size: 14px;
}
/* Override Gravity Forms' "orbital" theme (scoped to this form only). */
.ps-contact__form .gform_wrapper input[type="text"],
.ps-contact__form .gform_wrapper input[type="email"],
.ps-contact__form .gform_wrapper input[type="tel"],
.ps-contact__form .gform_wrapper input[type="url"],
.ps-contact__form .gform_wrapper input[type="number"],
.ps-contact__form .gform_wrapper textarea,
.ps-contact__form .gform_wrapper select {
	width: 100% !important;
	box-sizing: border-box;
	border: 1px solid rgba(17, 34, 64, .18) !important;
	border-radius: 8px !important;
	padding: 12px 14px !important;
	font-size: 15px !important;
	font-family: inherit;
	background: #fff !important;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.ps-contact__form .gform_wrapper input:focus,
.ps-contact__form .gform_wrapper textarea:focus,
.ps-contact__form .gform_wrapper select:focus {
	outline: 0;
	border-color: var(--ps-blue, #4272a2) !important;
	box-shadow: 0 0 0 3px rgba(66, 114, 162, .15) !important;
}
.ps-contact__form .gform_wrapper textarea { min-height: 130px !important; resize: vertical; }
.ps-contact__form .gform_wrapper .gform_footer input[type="submit"],
.ps-contact__form .gform_wrapper .gform_footer button,
.ps-contact__form .gform_wrapper .gform_button {
	background: var(--ps-blue-mid, #4675a4) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 999px !important;
	padding: 14px 32px !important;
	width: auto !important;
	font-weight: 600 !important;
	font-size: 16px !important;
	line-height: 1;
	cursor: pointer;
	transition: opacity .15s ease;
}
.ps-contact__form .gform_wrapper .gform_footer input[type="submit"]:hover,
.ps-contact__form .gform_wrapper .gform_button:hover { opacity: .88; }

/* Info column (Business Hours, contact details, map) */
.ps-contact__info {
	background: var(--ps-light, #f4f7fa);
	border-radius: var(--ps-radius, 12px);
	padding: 38px 34px;
}
.ps-contact__heading {
	font-size: 26px;
	color: var(--ps-navy, #112240);
	margin: 0 0 16px;
}
.ps-contact__details {
	color: var(--ps-text, #333);
	font-size: 15px;
	line-height: 1.6;
}
.ps-contact__details ul {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
}
.ps-contact__details li {
	padding: 12px 0;
	border-bottom: 1px solid rgba(17, 34, 64, .1);
}
.ps-contact__details li:last-child { border-bottom: 0; }
.ps-contact__details strong {
	color: var(--ps-navy, #112240);
	font-weight: 600;
	margin-right: 6px;
}
.ps-contact__map {
	margin-top: 24px;
	border-radius: var(--ps-radius, 12px);
	overflow: hidden;
}
.ps-contact__map iframe {
	width: 100%;
	min-height: 260px;
	display: block;
	border: 0;
}

@media (max-width: 900px) {
	.ps-contact__grid { grid-template-columns: 1fr; gap: 32px; }
	.ps-contact { padding: 56px 0 72px; }
}

/* ---------- Archive (post listing + categories sidebar) ---------- */
/* Tokens (--ps-*) come from home.css :root, which is enqueued site-wide. */
.ps-archive {
	background: #fff;
	padding: 70px 0 90px;
}
.ps-archive__inner {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 48px;
	align-items: start;
}
.ps-archive__head {
	margin-bottom: 30px;
}
.ps-archive__title {
	font-size: 34px;
	color: var(--ps-navy, #112240);
	margin: 0 0 8px;
}
.ps-archive__desc {
	color: var(--ps-muted, #5a7a99);
	font-size: 16px;
}

/* Post list */
.ps-archive__list {
	display: grid;
	gap: 26px;
}
.ps-post-card {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 24px;
	background: #fff;
	border: 1px solid rgba(17, 34, 64, .1);
	border-radius: var(--ps-radius, 12px);
	overflow: hidden;
}
/* Posts without a featured image use the full width for text. */
.ps-post-card:not(:has(.ps-post-card__media)) {
	grid-template-columns: 1fr;
}
.ps-post-card__media {
	display: block;
}
.ps-post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	aspect-ratio: 4 / 3;
}
.ps-post-card__body {
	padding: 24px 26px;
	min-width: 0;
}
.ps-post-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	font-size: 13px;
	color: var(--ps-muted, #5a7a99);
	margin-bottom: 10px;
}
.ps-post-card__cats a {
	color: var(--ps-blue, #4272a2);
	text-decoration: none;
}
.ps-post-card__title {
	font-size: 21px;
	margin: 0 0 10px;
	line-height: 1.3;
}
.ps-post-card__title a {
	color: var(--ps-navy, #112240);
	text-decoration: none;
}
.ps-post-card__title a:hover {
	color: var(--ps-blue, #4272a2);
}
.ps-post-card__excerpt {
	font-size: 15px;
	color: var(--ps-text, #333);
	margin: 0 0 14px;
}

/* Sidebar */
.ps-widget {
	background: var(--ps-light, #f4f7fa);
	border-radius: var(--ps-radius, 12px);
	padding: 24px 26px;
}
.ps-widget__title {
	font-size: 18px;
	color: var(--ps-navy, #112240);
	margin: 0 0 12px;
}
.ps-widget__list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ps-widget__list li {
	padding: 9px 0;
	border-bottom: 1px solid rgba(17, 34, 64, .08);
	font-size: 15px;
}
.ps-widget__list li:last-child {
	border-bottom: 0;
}
.ps-widget__list a {
	color: var(--ps-text, #333);
	text-decoration: none;
}
.ps-widget__list a:hover {
	color: var(--ps-blue, #4272a2);
}

/* Pagination */
.ps-archive__pagination {
	margin-top: 38px;
}
.ps-archive__pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.ps-archive__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: 8px;
	border: 1px solid rgba(17, 34, 64, .12);
	color: var(--ps-navy, #112240);
	text-decoration: none;
	font-size: 15px;
}
.ps-archive__pagination .page-numbers.current {
	background: var(--ps-blue-mid, #4675a4);
	color: #fff;
	border-color: transparent;
}
.ps-archive__pagination .page-numbers:hover:not(.current) {
	border-color: var(--ps-blue, #4272a2);
}

@media (max-width: 900px) {
	.ps-archive__inner { grid-template-columns: 1fr; gap: 36px; }
	.ps-post-card { grid-template-columns: 1fr; }
}

/* ---------- Single post ---------- */
/* Tokens (--ps-*) come from home.css :root, which is enqueued site-wide. */

/* Breadcrumbs (below the banner) */
.ps-crumbs {
	background: #fff;
	border-bottom: 1px solid rgba(17, 34, 64, .08);
	padding: 16px 0;
}
.ps-crumbs__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: var(--ps-muted, #5a7a99);
}
.ps-crumbs a {
	color: var(--ps-blue, #4272a2);
	text-decoration: none;
}
.ps-crumbs a:hover { text-decoration: underline; }
.ps-crumbs__sep { color: rgba(17, 34, 64, .3); }
.ps-crumbs__current { color: var(--ps-navy, #112240); font-weight: 500; }

/* Article — full width, no sidebar, readable measure */
.ps-single {
	background: #fff;
	padding: 48px 0 88px;
}
.ps-single__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 56px;
	align-items: start;
}
.ps-single__main { min-width: 0; }
.ps-single__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	font-size: 14px;
	color: var(--ps-muted, #5a7a99);
	margin-bottom: 24px;
}
.ps-single__meta a { color: var(--ps-blue, #4272a2); text-decoration: none; }
.ps-single__media {
	margin: 0 0 34px;
	border-radius: var(--ps-radius, 12px);
	overflow: hidden;
}
.ps-single__media img { width: 100%; height: auto; display: block; }

/* Post body typography */
.ps-single__content {
	color: var(--ps-text, #333);
	font-size: 17px;
	line-height: 1.8;
}
.ps-single__content > * + * { margin-top: 1.3em; }
.ps-single__content h2 {
	font-size: 30px;
	color: var(--ps-navy, #112240);
	margin-top: 1.6em;
	line-height: 1.25;
}
.ps-single__content h3 {
	font-size: 23px;
	color: var(--ps-navy, #112240);
	margin-top: 1.4em;
	line-height: 1.3;
}
.ps-single__content p { margin: 0; }
.ps-single__content a {
	color: var(--ps-blue, #4272a2);
	text-decoration: underline;
}
.ps-single__content ul,
.ps-single__content ol { padding-left: 1.4em; margin: 0; }
.ps-single__content li { margin: .5em 0; }
.ps-single__content img {
	max-width: 100%;
	height: auto;
	border-radius: var(--ps-radius, 12px);
}
.ps-single__content blockquote {
	margin: 1.6em 0;
	padding: 18px 24px;
	border-left: 4px solid var(--ps-blue, #4272a2);
	background: var(--ps-light, #f4f7fa);
	border-radius: 0 8px 8px 0;
	font-style: normal;
	color: var(--ps-navy, #112240);
}

/* Related posts */
.ps-related {
	background: var(--ps-light, #f4f7fa);
	padding: 70px 0 80px;
}
.ps-related__heading {
	font-size: 30px;
	color: var(--ps-navy, #112240);
	text-align: center;
	margin: 0 0 42px;
}
.ps-related__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}
.ps-related__card {
	background: #fff;
	border: 1px solid rgba(17, 34, 64, .1);
	border-radius: var(--ps-radius, 12px);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.ps-related__media {
	display: block;
	aspect-ratio: 16 / 10;
	background: #eaf0f8;
	overflow: hidden;
}
.ps-related__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.ps-related__body { padding: 20px 22px; }
.ps-related__date { font-size: 13px; color: var(--ps-muted, #5a7a99); }
.ps-related__title {
	font-size: 18px;
	margin: 8px 0 0;
	line-height: 1.35;
}
.ps-related__title a {
	color: var(--ps-navy, #112240);
	text-decoration: none;
}
.ps-related__title a:hover { color: var(--ps-blue, #4272a2); }

@media (max-width: 900px) {
	.ps-related__grid { grid-template-columns: 1fr; }
	.ps-single__grid { grid-template-columns: 1fr; gap: 40px; }
}


/* atwds responsive title scaling (global hero) - the 52px title had no mobile size and overflowed at phone widths. 2026-08-21 */
@media (max-width: 1024px) {
	.atwds-global-hero .atwds-gh-i-content .atwds-gh-i-c-title { font-size: 42px; }
}
@media (max-width: 782px) {
	.atwds-global-hero { padding: 70px 0 36px; }
	.atwds-global-hero .atwds-gh-i-content .atwds-gh-i-c-title { font-size: 30px; overflow-wrap: break-word; }
}
