/**
 * The Process Place - theme custom CSS.
 * (Enqueued with a filemtime() version - see inc/enqueue.php.)
 */

/* --------------------------------------------------------------------------
 * Mobile menu overlay.
 * ------------------------------------------------------------------------ */
.tpp-mobile-menu[hidden] {
	display: none;
}

/* --------------------------------------------------------------------------
 * Buttons (background colour set inline like the HTML; hover shade here).
 * ------------------------------------------------------------------------ */
.tpp-btn:hover {
	background-color: rgb(122, 143, 166) !important;
}

/* --------------------------------------------------------------------------
 * Contact Form 7 - match the original form styling.
 * ------------------------------------------------------------------------ */
.tpp-cf7 .wpcf7-form {
	font-family: Poppins, sans-serif;
}

.tpp-cf7 .wpcf7-form label {
	display: block;
	margin-bottom: 0.5rem;
	/* font-size: 0.875rem; */
	color: #374151;
}

.tpp-cf7 .wpcf7-form p {
	margin-bottom: 1.25rem;
}

.tpp-cf7 .wpcf7-form input[type="text"],
.tpp-cf7 .wpcf7-form input[type="email"],
.tpp-cf7 .wpcf7-form input[type="tel"],
.tpp-cf7 .wpcf7-form textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	border-radius: 0.375rem;
	border: 1px solid #e5e7eb;
	background-color: #fff;
	font-family: Poppins, sans-serif;
	font-size: 0.875rem;
}

.tpp-cf7 .wpcf7-form input:focus,
.tpp-cf7 .wpcf7-form textarea:focus {
	outline: none;
	box-shadow: 0 0 0 2px rgba(139, 159, 181, 0.5);
}

.tpp-cf7 .wpcf7-form textarea {
	resize: none;
	min-height: 9rem;
}

.tpp-cf7 .wpcf7-form input[type="submit"],
.tpp-cf7 .wpcf7-form button[type="submit"] {
	width: 100%;
	padding: 1rem 2rem;
	border: 0;
	border-radius: 0.375rem;
	color: #fff;
	background-color: rgb(139, 159, 181);
	font-family: Poppins, sans-serif;
	cursor: pointer;
	transition: all 0.2s ease;
}

.tpp-cf7 .wpcf7-form input[type="submit"]:hover,
.tpp-cf7 .wpcf7-form button[type="submit"]:hover {
	transform: scale(1.02);
	background-color: rgb(122, 143, 166);
}

.tpp-cf7 .wpcf7-not-valid-tip {
	font-size: 0.75rem;
	color: #b91c1c;
	margin-top: 0.25rem;
}

.tpp-cf7 .wpcf7-response-output {
	margin: 1rem 0 0;
	padding: 0.75rem 1rem;
	border-radius: 0.375rem;
	border: 1px solid rgb(201, 184, 168);
	font-size: 0.875rem;
	color: #374151;
}

.tpp-cf7 .wpcf7-spinner {
	display: block;
	margin: 0.5rem auto 0;
}

/* --------------------------------------------------------------------------
 * FAQ content paragraphs (rendered from CPT the_content).
 * ------------------------------------------------------------------------ */
.tpp-faq-content p {
	font-family: Poppins, sans-serif;
	font-size: 0.875rem;
	color: #4b5563;
	line-height: 1.625;
	margin-bottom: 1rem;
}

@media (min-width: 640px) {
	.tpp-faq-content p {
		font-size: 1rem;
	}
}

.tpp-faq-content p:last-child {
	margin-bottom: 0;
}

/* --------------------------------------------------------------------------
 * Generic entry content (page.php / single.php) and WP core classes.
 * ------------------------------------------------------------------------ */
.tpp-entry-content p {
	font-size: 1rem;
	line-height: 1.75;
	color: #374151;
	margin-bottom: 1.25rem;
}

.tpp-entry-content h1,
.tpp-entry-content h2,
.tpp-entry-content h3,
.tpp-entry-content h4 {
	font-family: "Playfair Display", serif;
	color: rgb(90, 107, 125);
	margin: 2rem 0 1rem;
}

.tpp-entry-content h2 {
	font-size: 1.875rem;
}

.tpp-entry-content h3 {
	font-size: 1.5rem;
}

.tpp-entry-content ul,
.tpp-entry-content ol {
	margin: 0 0 1.25rem 1.5rem;
	color: #374151;
}

.tpp-entry-content ul {
	list-style: disc;
}

.tpp-entry-content ol {
	list-style: decimal;
}

.tpp-entry-content a {
	color: rgb(139, 159, 181);
	text-decoration: underline;
}

.tpp-entry-content blockquote {
	border-left: 4px solid rgb(201, 184, 168);
	padding-left: 1rem;
	font-style: italic;
	margin: 1.5rem 0;
	color: #4b5563;
}

.tpp-entry-content img {
	max-width: 100%;
	height: auto;
	border-radius: 0.75rem;
}

/* WordPress core alignment classes. */
.alignleft {
	float: left;
	margin: 0.5rem 1.5rem 1rem 0;
}

.alignright {
	float: right;
	margin: 0.5rem 0 1rem 1.5rem;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text {
	font-size: 0.8125rem;
	color: #6b7280;
	text-align: center;
	margin-top: 0.5rem;
}

.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.sticky {
	display: block;
}

.bypostauthor {
	display: block;
}

/* Pagination. */
.tpp-pagination .nav-links {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.tpp-pagination .page-numbers {
	display: inline-block;
	padding: 0.5rem 1rem;
	border-radius: 0.375rem;
	border: 1px solid #e5e7eb;
	color: #374151;
	text-decoration: none;
}

.tpp-pagination .page-numbers.current,
.tpp-pagination .page-numbers:hover {
	background-color: rgb(139, 159, 181);
	border-color: rgb(139, 159, 181);
	color: #fff;
}

/* Header current menu item. */
header a.current-menu-item:not(.tpp-btn) {
	color: rgb(90, 107, 125);
	font-weight: 500;
}
