/* Core ships `.wp-block-columns { align-items: normal !important; }`, which
   blocks the verticalAlignment attribute's own centering class regardless of
   which WP mechanism sets it. Needs matching !important to win. */
.fph-valign-center {
	align-items: center !important;
}

/* Continues the header/footer accent-8 border down both sides of the
   content area between them, so the frame reads as one continuous line. */
.fph-content-frame {
	border-left: 1px solid var(--wp--preset--color--accent-8);
	border-right: 1px solid var(--wp--preset--color--accent-8);
}

.fph-photo-frame {
	overflow: hidden;
	position: relative;
}

.fph-photo-frame img {
	width: 100%;
	height: auto;
}

.fph-text-center {
	text-align: center;
}

.fph-photo-placeholder {
	aspect-ratio: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.fph-home ::selection {
	background: var(--wp--preset--color--accent-1);
	color: var(--wp--preset--color--accent-9);
}

/* Restyle the NettMail [nettmail_subscribe] shortcode form to match the
   compact single-line "Stay Informed" design. The Name field is optional
   server-side, so it's hidden rather than removed — keeps the shortcode as
   the single source of truth for the form instead of hand-rolling markup
   that would need its own nonce/list-id wiring. */
.nettmail-subscribe-form {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.nettmail-subscribe-form p {
	margin: 0;
}

.nettmail-subscribe-form p:has(input[name="nettmail_name"]) {
	display: none;
}

.nettmail-subscribe-form label {
	font-size: 0;
}

.nettmail-subscribe-form input[type="email"] {
	flex: 1;
	min-width: 0;
	padding: 12px 14px;
	border-radius: 3px;
	border: none;
	font-size: 14px;
	font-family: var(--wp--preset--font-family--work-sans);
}

.nettmail-subscribe-form button[type="submit"] {
	background: var(--wp--preset--color--accent-1);
	color: var(--wp--preset--color--accent-9);
	border: none;
	padding: 12px 18px;
	border-radius: 3px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	flex-shrink: 0;
}

.nettmail-subscribe-message {
	margin: 0;
	font-size: 14px;
	color: var(--wp--preset--color--accent-10);
}
