/* Visit Us page — intro, contact cards, map and contact form (matches Services / Testimonials) */

body.thsc-visit-page {
	--thsc-vs-serif: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
	--thsc-vs-sans: "Source Sans Pro", "Segoe UI", sans-serif;
	--thsc-vs-ink: #1c1916;
	--thsc-vs-body: #4d4741;
	--thsc-vs-muted: #8a8178;
	--thsc-vs-accent: #c4783a;
	--thsc-vs-accent-deep: #8a4b24;
	--thsc-vs-line: #ebe3d9;
}

body.thsc-visit-page #page-title {
	display: none;
}

body.thsc-visit-page .block-content {
	padding-top: 0;
	padding-bottom: 0;
}

/* The page sits flush between the header and the footer bands. */
body.thsc-visit-page .vc_row:has(.thsc-visit) .wpb_content_element,
body.thsc-visit-page .vc_row:has(.thsc-visit) .vc_column-inner {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

body.thsc-visit-page .vc_row:has(.thsc-visit) {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

body.thsc-visit-page .vc_row:has(.thsc-visit) > .vc_column_container > .vc_column-inner {
	padding-top: 0 !important;
}

.thsc-visit {
	font-family: var(--thsc-vs-sans);
	color: var(--thsc-vs-ink);
}

:where(.thsc-visit) :where(p, ul, li) {
	margin: 0;
	padding: 0;
}

.thsc-visit ul,
.thsc-visit li {
	list-style: none;
}

.thsc-visit li::before,
.thsc-visit li::after {
	content: none;
}

/* Intro ---------------------------------------------------------------- */

.thsc-visit-intro {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
	gap: 40px clamp(32px, 5vw, 72px);
	align-items: center;
	padding: 56px 0 64px;
	/* Full-bleed band, a shade darker than the page background. */
	background: #f7f1ee;
	box-shadow: 0 0 0 100vmax #f7f1ee;
	clip-path: inset(0 -100vmax);
}

.thsc-visit-intro__kicker {
	display: inline-block;
	margin: 0 0 22px !important;
	padding-bottom: 6px;
	border-bottom: 1px solid #d9cfc3;
	color: #7a5a3c;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1;
	text-transform: uppercase;
}

.thsc-visit-intro__title {
	margin: 0;
	color: var(--thsc-vs-ink);
	font-family: var(--thsc-vs-serif);
	font-size: clamp(36px, 4.4vw, 58px);
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.1;
	text-transform: none;
	text-wrap: balance;
}

.thsc-visit-intro__lead {
	max-width: 54ch;
	margin: 24px 0 0 !important;
	color: var(--thsc-vs-body);
	font-size: 17px;
	line-height: 1.65;
}

.thsc-visit-intro__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 32px;
}

.thsc-visit-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 16px 26px;
	border: 1px solid var(--thsc-vs-ink);
	border-radius: 2px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.thsc-visit-btn--solid {
	background: var(--thsc-vs-ink);
	color: #fff;
}

.thsc-visit-btn--ghost {
	background: transparent;
	color: var(--thsc-vs-ink);
}

.thsc-visit-btn:hover,
.thsc-visit-btn:focus-visible {
	border-color: var(--thsc-vs-accent-deep);
	background: var(--thsc-vs-accent-deep);
	color: #fff;
	outline: none;
}

/* Hours card ------------------------------------------------------------ */

.thsc-visit-hours {
	padding: 34px clamp(22px, 2.6vw, 34px) 28px;
	border: 1px solid var(--thsc-vs-line);
	border-radius: 4px;
	background: #f1ebe4;
	box-shadow: 0 10px 30px rgba(60, 40, 20, 0.07);
}

.thsc-visit-hours__title {
	margin: 0 0 8px;
	color: var(--thsc-vs-ink);
	font-family: var(--thsc-vs-serif);
	font-size: 26px;
	font-weight: 500;
	letter-spacing: -0.01em;
	line-height: 1.2;
	text-transform: none;
}

.thsc-visit-hours__list li {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 15px 0;
	border-bottom: 1px solid #ddd2c6;
	color: var(--thsc-vs-body);
	font-size: 15px;
	line-height: 1.4;
}

.thsc-visit-hours__list li span:last-child {
	color: var(--thsc-vs-ink);
	font-weight: 700;
	text-align: right;
}

.thsc-visit-hours__note {
	margin-top: 18px !important;
	color: var(--thsc-vs-muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

/* Contact cards --------------------------------------------------------- */

.thsc-visit-contact {
	padding: 64px 0 0;
}

.thsc-visit-contact__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.thsc-visit-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding: 28px clamp(20px, 2vw, 28px) 26px;
	border: 1px solid var(--thsc-vs-line);
	border-radius: 4px;
	background: #fdf9f6;
	box-shadow: 0 1px 2px rgba(60, 40, 20, 0.04);
	margin: 0;
}

.thsc-visit-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-bottom: 6px;
	border-radius: 50%;
	background: #f2e4d9;
	color: var(--thsc-vs-accent-deep);
}

.thsc-visit-card__svg {
	width: 22px;
	height: 22px;
}

.thsc-visit .thsc-visit-card__label {
	margin: 0 0 2px !important;
	padding: 0;
	color: var(--thsc-vs-ink);
	font-family: var(--thsc-vs-sans);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1.3;
	text-transform: uppercase;
}

.thsc-visit-card__line {
	display: block;
	color: var(--thsc-vs-body);
	font-size: 15px;
	line-height: 1.55;
	overflow-wrap: anywhere;
}

.thsc-visit-card__link {
	text-decoration: none;
	transition: color 160ms ease;
}

.thsc-visit-card__link:hover,
.thsc-visit-card__link:focus-visible {
	color: var(--thsc-vs-accent-deep);
	text-decoration: underline;
	text-underline-offset: 3px;
	outline: none;
}

.thsc-visit-card__note {
	margin-top: auto !important;
	padding-top: 10px !important;
	color: var(--thsc-vs-muted);
	font-size: 13px;
	line-height: 1.4;
}

/* Map + form ------------------------------------------------------------ */

.thsc-visit-map {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr);
	gap: 24px;
	padding: 24px 0 72px;
	scroll-margin-top: 90px;
}

.thsc-visit-map__frame {
	min-height: 460px;
	overflow: hidden;
	border: 1px solid var(--thsc-vs-line);
	border-radius: 4px;
	background: #eee7df;
}

.thsc-visit-map__frame iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 460px;
	border: 0;
	/* Soften Google's palette toward the page's warm tones. */
	filter: saturate(0.75) sepia(0.12);
}

.thsc-visit-form {
	padding: 34px clamp(22px, 2.6vw, 34px) 30px;
	border: 1px solid var(--thsc-vs-line);
	border-radius: 4px;
	background: #fdf9f6;
	box-shadow: 0 1px 2px rgba(60, 40, 20, 0.04);
}

.thsc-visit-form__kicker {
	margin: 0 0 14px !important;
	color: #7a5a3c;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1;
	text-transform: uppercase;
}

.thsc-visit-form__title {
	margin: 0;
	color: var(--thsc-vs-ink);
	font-family: var(--thsc-vs-serif);
	font-size: clamp(24px, 2.4vw, 30px);
	font-weight: 500;
	letter-spacing: -0.01em;
	line-height: 1.2;
	text-transform: none;
}

.thsc-visit-form__lead {
	margin: 12px 0 24px !important;
	color: var(--thsc-vs-body);
	font-size: 15px;
	line-height: 1.6;
}

/* Contact Form 7 */
.thsc-visit-form .wpcf7 p {
	margin: 0 0 14px;
}

.thsc-visit-form .wpcf7-form-control-wrap {
	display: block;
}

.thsc-visit-form input[type="text"],
.thsc-visit-form input[type="email"],
.thsc-visit-form input[type="tel"],
.thsc-visit-form textarea {
	display: block;
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 14px 16px;
	border: 1px solid #d9cfc3;
	border-radius: 2px;
	background: #fff;
	box-shadow: none;
	color: var(--thsc-vs-ink);
	font-family: var(--thsc-vs-sans);
	font-size: 15px;
	line-height: 1.4;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.thsc-visit-form textarea {
	min-height: 140px;
	resize: vertical;
}

.thsc-visit-form input::placeholder,
.thsc-visit-form textarea::placeholder {
	color: var(--thsc-vs-muted);
	opacity: 1;
}

.thsc-visit-form input[type="text"]:focus,
.thsc-visit-form input[type="email"]:focus,
.thsc-visit-form input[type="tel"]:focus,
.thsc-visit-form textarea:focus {
	border-color: var(--thsc-vs-accent);
	box-shadow: 0 0 0 3px rgba(196, 120, 58, 0.18);
	outline: none;
}

body.thsc-visit-page .thsc-visit-form input[type="submit"],
body.thsc-visit-page .thsc-visit-form button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	height: auto;
	padding: 17px 26px;
	border: 1px solid var(--thsc-vs-ink) !important;
	border-radius: 2px;
	background: var(--thsc-vs-ink) !important;
	box-shadow: none;
	color: #fff !important;
	cursor: pointer;
	font-family: var(--thsc-vs-sans);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1;
	text-transform: uppercase;
	transition: background-color 160ms ease, border-color 160ms ease;
}

body.thsc-visit-page .thsc-visit-form input[type="submit"]:hover,
body.thsc-visit-page .thsc-visit-form input[type="submit"]:focus-visible,
body.thsc-visit-page .thsc-visit-form button[type="submit"]:hover,
body.thsc-visit-page .thsc-visit-form button[type="submit"]:focus-visible {
	border-color: var(--thsc-vs-accent-deep) !important;
	background: var(--thsc-vs-accent-deep) !important;
	outline: none;
}

.thsc-visit-form .wpcf7-not-valid-tip {
	margin-top: 6px;
	color: #a63d2a;
	font-size: 13px;
}

.thsc-visit-form .wpcf7 form .wpcf7-response-output {
	margin: 18px 0 0;
	padding: 12px 16px;
	border: 1px solid var(--thsc-vs-line);
	border-radius: 2px;
	background: #f7f1ee;
	color: var(--thsc-vs-body);
	font-size: 14px;
}

.thsc-visit-form .wpcf7 form.sent .wpcf7-response-output {
	border-color: #9bb89a;
	background: #eef4ec;
}

.thsc-visit-form .wpcf7 form.invalid .wpcf7-response-output,
.thsc-visit-form .wpcf7 form.failed .wpcf7-response-output {
	border-color: #d9a89d;
	background: #faeeea;
}

/* reCAPTCHA badge is fixed-position; keep the inline widget from overflowing. */
.thsc-visit-form .g-recaptcha {
	max-width: 100%;
	overflow: hidden;
}

@media (max-width: 1024px) {
	.thsc-visit-contact__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.thsc-visit-map {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 860px) {
	.thsc-visit-intro {
		grid-template-columns: 1fr;
		padding: 40px 0 48px;
	}
}

@media (max-width: 600px) {
	.thsc-visit-contact {
		padding-top: 40px;
	}

	.thsc-visit-contact__grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.thsc-visit-map {
		padding-bottom: 48px;
	}

	.thsc-visit-map__frame,
	.thsc-visit-map__frame iframe {
		min-height: 340px;
	}

	.thsc-visit-btn {
		justify-content: center;
		width: 100%;
	}
}
