/* TEG-THERAPIST, the public page and the client portal.

   Restrained on purpose. This sits inside somebody else's theme, and a
   plugin that imposes its own typography on a practice's website is a
   plugin that gets styled out again by the first person who looks at it.
   Layout and spacing here; colour and type come from the theme. */

.ttp-public,
.ttp-portal {
	max-width: 46rem;
	margin: 0 auto;
}

/* The crisis notice. The one element that does insist on being noticed,
   because it is the one that matters if somebody is reading this page at
   three in the morning. */
.ttp-crisis {
	border: 2px solid currentColor;
	padding: .75rem 1rem;
	margin: 1rem 0 1.5rem;
	line-height: 1.5;
}

.ttp-people {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: 1fr;
}

@media (min-width: 40rem) {
	.ttp-people {
		grid-template-columns: 1fr 1fr;
	}
}

.ttp-person h4 {
	margin: 0 0 .25rem;
}

.ttp-pronouns {
	font-weight: normal;
	opacity: .75;
}

.ttp-specialisms {
	margin: .25rem 0;
}

.ttp-languages,
.ttp-licensed {
	margin: .25rem 0;
	font-size: .9em;
	opacity: .8;
}

.ttp-fees {
	width: 100%;
	border-collapse: collapse;
	margin: 1rem 0;
}

.ttp-fees th,
.ttp-fees td {
	text-align: left;
	padding: .4rem .6rem;
	border-bottom: 1px solid rgba(0, 0, 0, .12);
}

.ttp-fees td {
	text-align: right;
	white-space: nowrap;
}

/* The line about the fee being a barrier. Set quietly rather than as a
   banner, because somebody who needs to read it is already embarrassed and
   a box with a border around it does not help. */
.ttp-sliding {
	font-size: .95em;
	opacity: .85;
}

.ttp-enquiry label {
	display: block;
	margin-bottom: .75rem;
}

.ttp-enquiry input[type="text"],
.ttp-enquiry input[type="email"],
.ttp-enquiry input[type="tel"],
.ttp-enquiry select,
.ttp-enquiry textarea {
	width: 100%;
	box-sizing: border-box;
	padding: .5rem;
}

.ttp-enquiry small {
	display: block;
	margin-top: .25rem;
	opacity: .8;
}

.ttp-terms {
	font-size: .9em;
	opacity: .85;
	margin: 1rem 0;
}

.ttp-msg {
	border-left: 3px solid rgba(0, 0, 0, .2);
	padding-left: .75rem;
	margin: .75rem 0;
}

.ttp-note {
	font-size: .9em;
	opacity: .8;
	margin-top: 2rem;
}
