/**
 * simplydwell/post-connect — single-post "Connect With Us / Join Our Community" band.
 *
 * Original blog-post content (phones + socials on the left, subscribe form on the right)
 * styled like contact-band: a cream section with a white form panel. The Gravity Forms
 * rules below mirror contact-band/style.css, re-scoped under this block's wrapper class
 * so the form looks identical (underlined inputs, gold focus, pill submit button).
 */

/* ── Section / layout ────────────────────────────────────────────────────────── */
.pc-section {
	width: 100%;
	box-sizing: border-box;
	background: #f5f0e8;
	padding: clamp( 48px, 9vw, 120px ) clamp( 24px, 6vw, 120px );
}

.pc-section * {
	box-sizing: border-box;
}

.pc-body {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 10%;
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
}

/* ── Left column — contact rows + Follow Us ──────────────────────────────────── */
.pc-left {
	flex: 0 0 38%;
	display: flex;
	flex-direction: column;
	gap: 48px;
}

/* Contact rows: circular icon + text, both recolour to orange on hover. */
.pc-info {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pc-info__row {
	margin: 0;
	padding: 0;
}

.pc-info__link {
	display: inline-flex;
	align-items: center;
	gap: 18px;
	color: #1f242e;
	text-decoration: none;
	transition: color 0.15s ease;
}

.pc-info__icon {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid #c8c8c8;
	border-radius: 50%;
	color: #1f242e;
	transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.pc-info__icon svg {
	width: 20px;
	height: 20px;
	display: block;
}

.pc-info__text {
	font-size: 16px;
	line-height: 1.4;
	color: inherit;
}

.pc-info__link:hover,
.pc-info__link:focus-visible {
	color: #ea6e24;
}

.pc-info__link:hover .pc-info__icon,
.pc-info__link:focus-visible .pc-info__icon {
	color: #fff;
	background: #ea6e24;
	border-color: #ea6e24;
}

/* Follow Us */
.pc-follow {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.pc-follow__label {
	margin: 0;
	font-family: 'Lexend', sans-serif;
	font-size: clamp( 22px, 2.2vw, 30px );
	font-weight: 700;
	line-height: 1.1;
	color: #1f242e;
}

.pc-social {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pc-social__item {
	margin: 0;
	padding: 0;
}

/* Circular bordered social icons; fill orange on hover. */
.pc-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid #c8c8c8;
	border-radius: 50%;
	color: #1f242e;
	transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.pc-social__link svg {
	width: 20px;
	height: 20px;
	display: block;
}

.pc-social__link:hover,
.pc-social__link:focus-visible {
	color: #fff;
	background: #ea6e24;
	border-color: #ea6e24;
	transform: translateY( -2px );
}

/* ── Right column — white form panel ─────────────────────────────────────────── */
.pc-right {
	flex: 1;
	min-width: 0;
	background: #ffffff;
	border: 1px solid #c8c8c8;
	border-radius: 6px;
	padding: 32px 36px;
}

.pc-privacy {
	margin: 30px 0 0;
	color: #636569;
	font-size: 14px;
	line-height: 20px;
}

.pc-form-notice {
	margin: 0;
	font-size: 13px;
	color: #999;
}

/* ── Gravity Forms styling (mirrors contact-band, re-scoped to this block) ────── */
.wp-block-simplydwell-post-connect .gform_wrapper,
.wp-block-simplydwell-post-connect .gform_wrapper.gravity-theme {
	margin: 0 !important;
}

.wp-block-simplydwell-post-connect .gform-body,
.wp-block-simplydwell-post-connect .gform_body {
	margin: 0 !important;
}

.wp-block-simplydwell-post-connect .gform_fields,
.wp-block-simplydwell-post-connect .gfields {
	gap: 30px 28px !important;
}

.wp-block-simplydwell-post-connect .gfield {
	margin: 0 !important;
	padding: 0 !important;
}

.wp-block-simplydwell-post-connect .gfield--width-full {
	grid-column: 1 / -1 !important;
}

.wp-block-simplydwell-post-connect .gfield_label {
	display: block !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	letter-spacing: 0.14em !important;
	text-transform: uppercase !important;
	color: #737a87 !important;
	margin: 0 0 6px !important;
}

.wp-block-simplydwell-post-connect .ginput_container {
	margin: 0 !important;
}

.wp-block-simplydwell-post-connect .pc-right input[type="text"],
.wp-block-simplydwell-post-connect .pc-right input[type="email"],
.wp-block-simplydwell-post-connect .pc-right input[type="tel"],
.wp-block-simplydwell-post-connect .pc-right input[type="number"] {
	background: transparent !important;
	border: none !important;
	border-bottom: 1.5px solid #c8c8c8 !important;
	border-radius: 0 !important;
	padding: 6px 0 !important;
	font-size: 14px !important;
	color: #737a87 !important;
	width: 100% !important;
	box-sizing: border-box !important;
	outline: none !important;
	box-shadow: none !important;
	transition: border-color 0.2s !important;
}

.wp-block-simplydwell-post-connect .pc-right select {
	background-color: #fff !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 4px center !important;
	border: 1px solid #c8c8c8 !important;
	border-radius: 3px !important;
	padding: 9px 32px 9px 10px !important;
	font-size: 14px !important;
	color: #737a87 !important;
	width: 100% !important;
	box-sizing: border-box !important;
	outline: none !important;
	box-shadow: none !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	transition: border-color 0.2s !important;
	line-height: 30px;
}

.wp-block-simplydwell-post-connect .pc-right textarea {
	background: transparent !important;
	border: 1.5px solid #c8c8c8 !important;
	border-radius: 3px !important;
	padding: 10px 12px !important;
	font-size: 14px !important;
	color: #737a87 !important;
	width: 100% !important;
	min-height: 120px !important;
	box-sizing: border-box !important;
	outline: none !important;
	box-shadow: none !important;
	resize: vertical !important;
	transition: border-color 0.2s !important;
}

.wp-block-simplydwell-post-connect .pc-right input::placeholder,
.wp-block-simplydwell-post-connect .pc-right textarea::placeholder {
	color: #737a87 !important;
}

.wp-block-simplydwell-post-connect .pc-right input[type="text"]:focus,
.wp-block-simplydwell-post-connect .pc-right input[type="email"]:focus,
.wp-block-simplydwell-post-connect .pc-right input[type="tel"]:focus,
.wp-block-simplydwell-post-connect .pc-right input[type="number"]:focus,
.wp-block-simplydwell-post-connect .pc-right select:focus,
.wp-block-simplydwell-post-connect .pc-right textarea:focus {
	border-color: #ea6e24 !important;
}

.wp-block-simplydwell-post-connect .gform_wrapper input.gform_button,
.wp-block-simplydwell-post-connect input[type="submit"],
.wp-block-simplydwell-post-connect button[type="submit"] {
	display: block !important;
	width: 100% !important;
	padding: 16px !important;
	background: #fff !important;
	border: 2px solid #ea6e24 !important;
	border-radius: 30px !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: 0.18em !important;
	color: #ea6e24 !important;
	text-transform: uppercase !important;
	cursor: pointer !important;
	text-align: center !important;
	transition: background 0.2s, color 0.2s !important;
	margin-top: 8px !important;
	box-shadow: none !important;
}

.wp-block-simplydwell-post-connect .gform-footer.gform_footer {
	padding: 30px 0;
}

.wp-block-simplydwell-post-connect .gform_button:hover,
.wp-block-simplydwell-post-connect input[type="submit"]:hover,
.wp-block-simplydwell-post-connect button[type="submit"]:hover {
	background: #ea6e24 !important;
	color: #fff !important;
}

.wp-block-simplydwell-post-connect .gform_footer,
.wp-block-simplydwell-post-connect .gform_page_footer {
	margin: 0 !important;
	padding: 0 !important;
}

.wp-block-simplydwell-post-connect .gform_wrapper .validation_message,
.wp-block-simplydwell-post-connect .gform_wrapper .gfield_description {
	font-size: 12px !important;
	padding: 4px 0 0 !important;
}

/* ── Responsive ──────────────────────────────────────────────────────────────── */
@media ( max-width: 900px ) {
	.pc-body {
		flex-direction: column;
		gap: 40px;
	}
	.pc-left {
		flex: none;
		width: 100%;
	}
}

@media ( max-width: 640px ) {
	.pc-right {
		padding: 24px 20px;
	}
	.pc-right .gform_fields {
		grid-template-columns: 1fr !important;
	}
	.pc-right .gfield--width-full {
		grid-column: 1 !important;
	}
}
