/* Pypeline Web (Homestead) — signature flourishes that go beyond block supports */

/* Garden-row divider between hero and content */
.ph-divider {
	line-height: 0;
}
.ph-divider svg {
	width: 100%;
	height: 34px;
	display: block;
}

/* Arch-top photo shape */
.ph-arch-photo {
	margin: 0;
	border-radius: 220px 220px 24px 24px;
	border: 1px solid var(--wp--preset--color--border-light);
	overflow: hidden;
	aspect-ratio: 3 / 4;
}
.ph-arch-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
/* Placeholder (pre-photo) state: centers the "Photo — ..." text */
.ph-arch-photo.wp-block-group {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

/* Trust strip pills (link out to the client-type pages) */
.ph-trust-pill {
	display: inline-flex;
	align-items: center;
	border-radius: 100px;
	border: 1px solid var(--wp--preset--color--border-light);
	background: var(--wp--preset--color--tertiary);
	padding: 8px 16px;
	font-size: 0.9rem;
	color: var(--wp--preset--color--main) !important;
	text-decoration: none;
	transition: background-color .15s ease, border-color .15s ease;
}
.ph-trust-pill:hover {
	background: var(--wp--preset--color--primary-accent);
	border-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--main) !important;
}

/* Wordmark lockup in the header */
.ph-wordmark {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}
.ph-wordmark svg {
	width: 30px;
	height: 30px;
	flex: none;
}
.ph-wordmark span {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.3rem;
	font-weight: 500;
	color: var(--wp--preset--color--main);
}

/* Service card icon circle */
.ph-service-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--wp--preset--color--primary-alt);
}
.ph-service-icon svg {
	width: 20px;
	height: 20px;
}

/* Outline ("ghost") button hover fill, on top of Ollie's core outline style */
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--main);
	color: var(--wp--preset--color--tertiary);
	outline-color: var(--wp--preset--color--main);
}

/* WPForms contact form, restyled to sit inside the moss card */
.ph-contact-card .wpforms-container {
	margin: 1.5rem 0 0;
}
.ph-contact-card .wpforms-field {
	padding: 0 0 0.9rem;
}
.ph-contact-card .wpforms-field-label {
	font-family: var(--wp--preset--font-family--primary);
	font-size: 0.85rem;
	font-weight: 400;
	color: var(--wp--preset--color--cream-text);
	margin-bottom: 0.35rem;
}
.ph-contact-card .wpforms-field-required {
	color: var(--wp--preset--color--cream-text);
}
.ph-contact-card .wpforms-field input[type="text"],
.ph-contact-card .wpforms-field input[type="email"],
.ph-contact-card .wpforms-field textarea {
	font-family: var(--wp--preset--font-family--primary);
	font-size: 1rem;
	color: var(--wp--preset--color--main);
	background: var(--wp--preset--color--tertiary);
	border: 1px solid var(--wp--preset--color--primary-alt-accent);
	border-radius: 10px;
	padding: 0.65rem 0.85rem;
	width: 100%;
}
.ph-contact-card .wpforms-field textarea {
	resize: vertical;
}
.ph-contact-card .wpforms-submit-container {
	text-align: center;
	margin-top: 0.5rem;
}
.ph-contact-card .wpforms-submit {
	-webkit-appearance: none;
	appearance: none;
	font-family: var(--wp--preset--font-family--primary);
	font-weight: 600;
	font-size: var(--wp--preset--font-size--small);
	border: none !important;
	border-radius: 100px;
	padding: 13px 26px;
	cursor: pointer;
	background: var(--wp--preset--color--tertiary) !important;
	color: var(--wp--preset--color--primary-alt) !important;
}
.ph-contact-card .wpforms-submit:hover {
	background: #fff !important;
}
.ph-contact-card .wpforms-confirmation-container-full,
.ph-contact-card .wpforms-confirmation-scroll {
	font-family: var(--wp--preset--font-family--primary);
	background: var(--wp--preset--color--tertiary) !important;
	color: var(--wp--preset--color--primary-alt-accent) !important;
	border: none !important;
	border-radius: 10px;
	padding: 0.9rem 1.1rem;
	text-align: center;
}
.ph-contact-card .wpforms-error-container,
.ph-contact-card .wpforms-field-description.wpforms-error,
.ph-contact-card label.wpforms-error {
	color: #F1E3D8;
}
