/* ================================================================== */
/* Details Layout  -  Anchor Nav + Cards + Expand                        */
/* ================================================================== */

/* Anchor pill navigation */
.tb-services__detail-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: clamp(32px, 5vw, 48px);
}

.tb-services__detail-nav-pill {
	display: inline-block;
	padding: 7px 16px;
	border-radius: 999px;
	border: 1.5px solid var(--tb-primary, #5a7a5e);
	font-size: .8rem;
	font-weight: 600;
	color: var(--tb-primary, #5a7a5e);
	text-decoration: none;
	transition: background .18s ease, color .18s ease;
	white-space: nowrap;
}

.tb-services__detail-nav-pill:hover {
	background: var(--tb-primary, #5a7a5e);
	color: var(--tb-bg,#faf9f6);
	text-decoration: none;
}

/* Stack of detail cards */
.tb-services__detail-stack {
	display: flex;
	flex-direction: column;
	gap: clamp(20px, 3vw, 28px);
}

/* Individual detail card */
.tb-services__detail-card {
	background: var(--tb-bg,#faf9f6);
	border: 1px solid rgba(0,0,0,.07);
	border-radius: 16px;
	overflow: hidden;
	scroll-margin-top: 80px;
}

/* Card header bar */
.tb-services__detail-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: clamp(20px, 2.5vw, 28px) clamp(24px, 3vw, 36px);
	border-bottom: 1px solid rgba(0,0,0,.06);
	background: color-mix(in srgb, var(--tb-primary, #5a7a5e) 4%, #fff);
}

.tb-services__detail-card-identity {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.tb-services__detail-card-icon {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: color-mix(in srgb, var(--tb-primary, #5a7a5e) 14%, transparent);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--tb-primary, #5a7a5e);
}

.tb-services__detail-card-icon svg {
	width: 24px;
	height: 24px;
}

.tb-services__detail-card-name {
	font-size: clamp(1.1rem, 2vw, 1.35rem);
	font-weight: 700;
	color: var(--tb-heading, #111827);
	margin: 0 0 2px;
	line-height: 1.25;
	letter-spacing: -.02em;
}

.tb-services__detail-card-populations {
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--tb-primary, #5a7a5e);
	margin: 0;
}

.tb-services__detail-card-cta {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 18px;
	border-radius: 8px;
	background: var(--tb-primary, #5a7a5e);
	color: var(--tb-bg,#faf9f6);
	font-size: .85rem;
	font-weight: 600;
	text-decoration: none;
	transition: opacity .18s ease, gap .18s ease;
	white-space: nowrap;
}

.tb-services__detail-card-cta:hover {
	opacity: .88;
	gap: 10px;
	text-decoration: none;
	color: var(--tb-bg,#faf9f6);
}

/* Optional full-bleed photo below header */
.tb-services__detail-card-photo {
	width: 100%;
	max-height: 380px;
	overflow: hidden;
}

.tb-services__detail-card-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Content area */
.tb-services__detail-card-content {
	padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 36px) clamp(28px, 3.5vw, 40px);
}

.tb-services__detail-card-preview p,
.tb-services__detail-expand-body p {
	font-size: clamp(.95rem, 1.2vw, 1.05rem);
	line-height: 1.85;
	color: var(--tb-text, #1f2937);
	margin: 0 0 1.1rem;
}

.tb-services__detail-card-preview p:last-child,
.tb-services__detail-expand-body p:last-child {
	margin-bottom: 0;
}

.tb-services__detail-card-preview h3,
.tb-services__detail-card-preview h4,
.tb-services__detail-expand-body h3,
.tb-services__detail-expand-body h4 {
	font-weight: 700;
	color: var(--tb-heading, #111827);
	margin: 1.5rem 0 .6rem;
	line-height: 1.3;
}

.tb-services__detail-card-preview img,
.tb-services__detail-expand-body img {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
	margin: 1.5rem 0;
	display: block;
}

.tb-services__detail-card-preview a,
.tb-services__detail-expand-body a {
	color: var(--tb-primary, #5a7a5e);
}

/* Expand / collapse  -  native <details> */
.tb-services__detail-expand {
	margin-top: 1.25rem;
}

.tb-services__detail-expand summary {
	list-style: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	user-select: none;
	font-size: .875rem;
	font-weight: 600;
	color: var(--tb-primary, #5a7a5e);
	padding: 4px 0;
}

.tb-services__detail-expand summary::-webkit-details-marker { display: none; }
.tb-services__detail-expand summary::marker { display: none; }

.tb-services__detail-expand-label--less { display: none; }
.tb-services__detail-expand[open] .tb-services__detail-expand-label--more { display: none; }
.tb-services__detail-expand[open] .tb-services__detail-expand-label--less { display: inline; }

.tb-services__detail-expand-arrow {
	display: inline-block;
	width: 14px;
	height: 14px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform .2s ease;
	flex-shrink: 0;
}

.tb-services__detail-expand[open] .tb-services__detail-expand-arrow {
	transform: rotate(225deg) translateY(-2px);
}

.tb-services__detail-expand-body {
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(0,0,0,.07);
}

.tb-services__detail-extended {
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(0,0,0,.07);
}

@media (max-width: 640px) {
	.tb-services__detail-card-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
	.tb-services__detail-card-cta {
		width: 100%;
		justify-content: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tb-services__detail-expand-arrow,
	.tb-services__detail-nav-pill,
	.tb-services__detail-card-cta { transition: none; }
}

/* ------------------------------------------------------------------ */
/* Services section                                                     */
/* ------------------------------------------------------------------ */

.tb-services {
	padding: clamp(64px,10vw,120px) clamp(24px,5vw,64px);
	background: var(--tb-bg, #f6f0ec);
}
.tb-services--page { padding-top: clamp(32px,4vw,48px); }

.tb-services__inner {
	max-width: 1200px;
	margin: 0 auto;
}

.tb-services__header {
	text-align: center;
	max-width: 720px;
	margin: 0 auto clamp(40px,6vw,72px);
}

.tb-services__eyebrow {
	display: inline-block;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--tb-primary, #5a7a5e);
	margin: 0 0 .75em;
}

.tb-services__headline {
	font-size: clamp(1.75rem,4vw,2.75rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.02em;
	color: var(--tb-text, #2c3e35);
	margin: 0 0 .6em;
}

.tb-services__subheadline {
	font-size: clamp(.95rem,1.6vw,1.1rem);
	line-height: 1.7;
	color: var(--tb-text-muted, #5a6a5e);
	margin: 0;
}

/* ------------------------------------------------------------------ */
/* Services Introduction                                               */
/* ------------------------------------------------------------------ */

.tb-services__introduction {
	margin: 0 0 clamp(32px, 5vw, 48px);
	padding: clamp(28px, 4vw, 40px) clamp(28px, 4vw, 48px);
	background: color-mix(in srgb, var(--tb-bg, #f6f0ec) 60%, transparent);
	border-radius: 12px;
	font-size: clamp(.9rem, 1.4vw, 1rem);
	line-height: 1.75;
	color: var(--tb-text-muted, #5a6a5e);
}

.tb-services__introduction p {
	margin: 0 0 1rem;
	max-width: 72ch;
}

.tb-services__introduction p:last-child {
	margin-bottom: 0;
}

.tb-services__introduction h3,
.tb-services__introduction h4,
.tb-services__introduction h5 {
	margin: 1.5rem 0 .75rem;
	font-weight: 700;
	color: var(--tb-text, #2c3e35);
}

.tb-services__introduction img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin: 1rem 0;
}

.tb-services__introduction a {
	color: var(--tb-primary, #5a7a5e);
	text-decoration: none;
}

.tb-services__introduction a:hover {
	text-decoration: underline;
}

/* ------------------------------------------------------------------ */
/* Grid layout                                                          */
/* ------------------------------------------------------------------ */

.tb-services__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(16px,2.5vw,24px);
	list-style: none;
	margin: 0;
	padding: 0;
	align-items: stretch;
}

@media (max-width: 900px) {
	.tb-services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.tb-services__grid { grid-template-columns: 1fr; }
}

/* Card shell */
.tb-services__card {
	background: var(--tb-bg,#faf9f6);
	border: 1px solid rgba(0,0,0,.07);
	border-radius: 14px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow .25s ease, transform .25s ease;
}

.tb-services__card:hover {
	box-shadow: 0 8px 32px rgba(0,0,0,.09);
	transform: translateY(-3px);
}

/* Full-bleed top image for image-mode cards */
.tb-services__card-image {
	width: 100%;
	aspect-ratio: 16/9;
	overflow: hidden;
	flex-shrink: 0;
}

.tb-services__card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .4s ease;
}

.tb-services__card:hover .tb-services__card-image img {
	transform: scale(1.03);
}

/* Body  -  flex-1 so footer pins to bottom */
.tb-services__card-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: clamp(20px,2.5vw,28px);
	gap: 10px;
}

/* Icon badge */
.tb-services__card-icon {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: color-mix(in srgb, var(--tb-primary, #5a7a5e) 12%, transparent);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.tb-services__card-icon svg {
	width: 22px;
	height: 22px;
	color: var(--tb-primary, #5a7a5e);
}

/* Name */
.tb-services__card-name {
	font-size: clamp(.95rem, 1.3vw, 1.05rem);
	font-weight: 700;
	color: var(--tb-heading, #1f2937);
	margin: 0;
	line-height: 1.3;
}

/* Description  -  clamped to 3 lines, always consistent */
.tb-services__card-desc {
	font-size: clamp(.875rem, 1.1vw, .95rem);
	line-height: 1.7;
	color: var(--tb-text-muted, #6b7280);
	margin: 0;
	flex: 1;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Populations tag */
.tb-services__card-populations {
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--tb-primary, #5a7a5e);
	margin: 0;
	margin-top: auto;
	padding-top: 4px;
}

/* Footer  -  link pinned to bottom */
.tb-services__card-footer {
	padding: 14px clamp(20px,2.5vw,28px);
	border-top: 1px solid rgba(0,0,0,.06);
	background: color-mix(in srgb, var(--tb-primary, #5a7a5e) 3%, transparent);
}

.tb-services__card-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: .85rem;
	font-weight: 600;
	color: var(--tb-primary, #5a7a5e);
	text-decoration: none;
	transition: gap .2s ease;
}

.tb-services__card-link:hover {
	gap: 10px;
	text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
	.tb-services__card,
	.tb-services__card-image img {
		transition: none;
	}
}


/* ------------------------------------------------------------------ */
/* List layout                                                          */
/* ------------------------------------------------------------------ */

.tb-services__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: clamp(16px,2vw,20px);
}

.tb-services__list-item {
	display: flex;
	align-items: stretch;
	background: var(--tb-bg,#faf9f6);
	border: 1px solid rgba(0,0,0,.07);
	border-radius: 12px;
	overflow: hidden;
	transition: box-shadow .2s ease;
}

.tb-services__list-item:hover {
	box-shadow: 0 4px 18px rgba(0,0,0,.07);
}

/* Photo panel  -  left side */
.tb-services__list-photo {
	width: 180px;
	flex-shrink: 0;
	overflow: hidden;
}

.tb-services__list-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Icon block  -  used when no photo */
.tb-services__list-icon-block {
	width: 100px;
	flex-shrink: 0;
	background: color-mix(in srgb, var(--tb-primary, #5a7a5e) 10%, transparent);
	display: flex;
	align-items: center;
	justify-content: center;
}

.tb-services__list-icon-block svg {
	width: 28px;
	height: 28px;
	color: var(--tb-primary, #5a7a5e);
}

/* Body */
.tb-services__list-body {
	flex: 1;
	padding: clamp(20px,2.5vw,28px);
	display: flex;
	flex-direction: column;
	gap: 8px;
	justify-content: center;
}

.tb-services__list-item-name {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--tb-text, #2c3e35);
	margin: 0;
	line-height: 1.3;
}

.tb-services__list-item-desc {
	font-size: .9rem;
	line-height: 1.65;
	color: var(--tb-text-muted, #5a6a5e);
	margin: 0;
}

.tb-services__list-item-populations {
	font-size: .78rem;
	font-weight: 600;
	color: var(--tb-primary, #5a7a5e);
	margin: 0;
}

.tb-services__list-item-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: .85rem;
	font-weight: 600;
	color: var(--tb-primary, #5a7a5e);
	text-decoration: none;
	margin-top: 4px;
}
.tb-services__list-item-link:hover { text-decoration: underline; }

/* Specialty archive link  -  appears after service description in all layouts */
.tb-services__specialty-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: .82rem;
	font-weight: 600;
	color: var(--tb-primary, #5a7a5e);
	text-decoration: none;
	margin-top: 6px;
	opacity: .85;
}
.tb-services__specialty-link:hover {
	text-decoration: underline;
	opacity: 1;
}
.tb-services__specialty-cta {
	padding: 12px 0 4px;
	border-top: 1px solid rgba(0,0,0,.06);
	margin-top: 12px;
}

@media (max-width: 600px) {
	.tb-services__list-photo  { width: 110px; }
	.tb-services__list-icon-block { width: 72px; }
}

@media (max-width: 460px) {
	.tb-services__list-photo,
	.tb-services__list-icon-block { display: none; }
}

/* ------------------------------------------------------------------ */
/* CTA                                                                  */
/* ------------------------------------------------------------------ */

.tb-services__cta {
	text-align: center;
	margin-top: clamp(40px,6vw,64px);
}

.tb-services__cta-btn {
	display: inline-flex;
	align-items: center;
	padding: 14px 32px;
	border-radius: 8px;
	font-size: .95rem;
	font-weight: 600;
	text-decoration: none;
	background: var(--tb-primary, #5a7a5e);
	color: var(--tb-bg,#faf9f6);
	border: 2px solid var(--tb-primary, #5a7a5e);
	transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}

.tb-services__cta-btn:hover,
.tb-services__cta-btn:focus-visible {
	background: color-mix(in srgb, var(--tb-primary, #5a7a5e) 85%, #000);
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(0,0,0,.15);
	text-decoration: none;
	color: var(--tb-bg,#faf9f6);
}

@media (prefers-reduced-motion: reduce) {
	.tb-services__card,
	.tb-services__list-item,
	.tb-services__cta-btn { transition: none; }
}

/* ------------------------------------------------------------------ */
/* Clinician strip  -  shows matching clinicians inside detail cards      */
/* ------------------------------------------------------------------ */

.tb-services__clinician-strip {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--tb-border, #d8d4cc);
}

.tb-services__clinician-strip-label {
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--tb-primary, #5a7a5e);
	margin: 0 0 14px;
}

.tb-services__clinician-strip-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.tb-services__clinician-card {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	border-radius: 8px;
	background: var(--tb-bg, #faf9f6);
	border: 1px solid var(--tb-border, #d8d4cc);
	transition: border-color .15s ease, box-shadow .15s ease;
}

.tb-services__clinician-card:hover {
	border-color: var(--tb-primary, #5a7a5e);
	box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

.tb-services__clinician-card-photo {
	width: 52px;
	height: 52px;
	border-radius: 10px;
	overflow: hidden;
	flex-shrink: 0;
	background: color-mix(in srgb, var(--tb-primary, #5a7a5e) 15%, transparent);
	display: flex;
	align-items: center;
	justify-content: center;
}

.tb-services__clinician-card-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
}

.tb-services__clinician-card-initials {
	font-size: 1rem;
	font-weight: 800;
	color: var(--tb-primary, #5a7a5e);
	font-family: var(--tb-font-heading, system-ui, sans-serif);
}

.tb-services__clinician-card-body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.tb-services__clinician-card-name {
	font-size: .9rem;
	font-weight: 700;
	color: var(--tb-heading, #2a2e2a);
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-family: var(--tb-font-heading, system-ui, sans-serif);
}

.tb-services__clinician-card-creds {
	font-size: .72rem;
	font-weight: 500;
	color: var(--tb-text-muted, #6b7069);
	display: block;
}

/* Availability badge  -  semantic colours */
.tb-services__clinician-avail {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: .62rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	padding: 3px 8px;
	border-radius: 99px;
	line-height: 1;
	white-space: nowrap;
	font-family: var(--tb-font-body, system-ui, sans-serif);
	margin-top: 2px;
	width: fit-content;
}

.tb-services__clinician-avail-dot {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	flex-shrink: 0;
}

.tb-services__clinician-avail--open {
	background: color-mix(in srgb, #4ade80 12%, transparent);
	color: #15803d;
	border: 1px solid color-mix(in srgb, #4ade80 30%, transparent);
}

.tb-services__clinician-avail--open .tb-services__clinician-avail-dot {
	background: #16a34a;
}

.tb-services__clinician-avail--urgent {
	background: color-mix(in srgb, #facc15 12%, transparent);
	color: #854f0b;
	border: 1px solid color-mix(in srgb, #facc15 30%, transparent);
}

.tb-services__clinician-avail--urgent .tb-services__clinician-avail-dot {
	background: #ca8a04;
}

.tb-services__clinician-avail--waitlist {
	background: var(--tb-surface-2, #e8e4dc);
	color: var(--tb-text-muted, #6b7069);
	border: 1px solid var(--tb-border, #d8d4cc);
}

.tb-services__clinician-avail--waitlist .tb-services__clinician-avail-dot {
	background: var(--tb-text-muted, #6b7069);
	opacity: .5;
}

.tb-services__clinician-card-cta {
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	border-radius: 8px;
	font-size: .78rem;
	font-weight: 700;
	text-decoration: none;
	background: var(--tb-primary, #5a7a5e);
	color: var(--tb-bg,#faf9f6);
	border: none;
	white-space: nowrap;
	flex-shrink: 0;
	transition: background .15s ease, transform .15s ease;
	font-family: var(--tb-font-body, system-ui, sans-serif);
}

.tb-services__clinician-card-cta:hover,
.tb-services__clinician-card-cta:focus-visible {
	background: var(--tb-primary-dark, #3f5941);
	color: var(--tb-bg,#faf9f6);
	transform: translateY(-1px);
	text-decoration: none;
}

@media (max-width: 560px) {
	.tb-services__clinician-card {
		flex-wrap: wrap;
	}
	.tb-services__clinician-card-cta {
		width: 100%;
		justify-content: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tb-services__clinician-card,
	.tb-services__clinician-card-cta { transition: none; }
}

/* ---- Linked service name ---------------------------------------- */
.tb-services__card-name-link {
	color: inherit;
	text-decoration: underline;
	text-decoration-style: dotted;
	text-decoration-color: color-mix(in srgb, var(--tb-text,#2c3e35) 30%, transparent);
	text-underline-offset: 3px;
	transition: color .15s, text-decoration-color .15s;
}
.tb-services__card-name-link:hover {
	color: var(--tb-primary, #5a7a5e);
	text-decoration-style: solid;
	text-decoration-color: var(--tb-primary, #5a7a5e);
	text-decoration: underline;
}

/* ---- Clinician photo link --------------------------------------- */
.tb-services__clinician-card-photo-link {
	display: block;
	flex-shrink: 0;
}
.tb-services__clinician-card-name {
	font-size: .875rem;
	font-weight: 700;
	color: var(--tb-text, #2c3e35);
	text-decoration: underline;
	text-decoration-style: dotted;
	text-decoration-color: color-mix(in srgb, var(--tb-text,#2c3e35) 30%, transparent);
	text-underline-offset: 2px;
	transition: color .15s;
	display: block;
	margin-bottom: 2px;
	line-height: 1.3;
}
.tb-services__clinician-card-name:hover {
	color: var(--tb-primary, #5a7a5e);
	text-decoration-style: solid;
	text-decoration-color: var(--tb-primary, #5a7a5e);
}

/* ---- Population tags on card ------------------------------------ */
.tb-services__card-pops {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin-top: 8px;
}

/* ---- Availability notice on card -------------------------------- */
.tb-services__card-avail-notice {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: .75rem;
	color: var(--tb-text-muted, #6b7069);
	margin: 8px 0 0;
	font-style: italic;
}
.tb-services__card-avail-notice svg {
	flex-shrink: 0;
	opacity: .6;
}

/* ---- On leave availability variant ----------------------------- */
.tb-services__clinician-avail--leave {
	background: rgba(245,243,255,.92);
	color: #6d28d9;
}
.tb-services__clinician-avail--leave .tb-services__clinician-avail-dot {
	background: #7c3aed;
}

/* ---- Not sure where to start block ----------------------------- */
.tb-services-notsure {
	padding: clamp(32px,5vw,56px) 0;
}
.tb-services-notsure__inner {
	background: var(--tb-surface, #f6f2ee);
	border: 1px solid var(--tb-border, #e8e2db);
	border-radius: 16px;
	padding: clamp(28px,4vw,48px);
	text-align: center;
}
.tb-services-notsure__eyebrow {
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--tb-primary, #5a7a5e);
	margin: 0 0 10px;
}
.tb-services-notsure__body {
	font-size: clamp(1rem, 1.6vw, 1.1rem);
	line-height: 1.75;
	color: var(--tb-text, #3d4039);
	margin: 0 0 24px;
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
}
@media (prefers-reduced-motion: reduce) {
	.tb-services__card-name-link,
	.tb-services__clinician-card-name { transition: none; }
}

/* ================================================================ */
/* Homepage entry layouts (rows / cards / compact)                   */
/* ================================================================ */

/* -- Shared wrapper -------------------------------------------- */
.tb-services__entries { width: 100%; }

.tb-services__entry-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	padding-top: 24px;
}
.tb-services__entry-avail {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: .8rem;
	font-weight: 600;
	color: var(--tb-text-muted,#6b7069);
	margin: 0;
}
.tb-services__entry-avail-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--tb-primary,#5a7a5e);
	flex-shrink: 0;
}
.tb-services__entry-all {
	font-size: .875rem;
	font-weight: 600;
	color: var(--tb-primary,#5a7a5e);
	text-decoration: none;
}
.tb-services__entry-all:hover { text-decoration: underline; }

/* -- ROWS layout ----------------------------------------------- */
.tb-services__entry-list--rows {
	list-style: none;
	margin: 0 0 4px;
	padding: 0;
}
.tb-services__entry--rows {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0;
	border-bottom: 1px solid var(--tb-border,#e8e2db);
	border-left: 3px solid transparent;
	transition: border-left-color .18s ease, background .18s ease;
	cursor: pointer;
}
.tb-services__entry--rows:first-child { border-top: 1px solid var(--tb-border,#e8e2db); }
.tb-services__entry--rows:hover {
	border-left-color: var(--tb-primary,#5a7a5e);
	background: color-mix(in srgb, var(--tb-primary,#5a7a5e) 4%, transparent);
}
.tb-services__entry--rows .tb-services__entry-inner {
	flex: 1;
	padding: clamp(18px,2.5vw,26px) clamp(16px,2.5vw,28px);
}
.tb-services__entry--rows .tb-services__entry-name {
	font-size: clamp(1rem,1.6vw,1.125rem);
	font-weight: 700;
	margin: 0 0 5px;
	line-height: 1.25;
}
.tb-services__entry--rows .tb-services__entry-link {
	color: var(--tb-text,#3d4039);
	text-decoration: none;
}
/* Cover-link  -  makes entire row clickable */
.tb-services__entry--rows .tb-services__entry-link::after {
	content: '';
	position: absolute;
	inset: 0;
}
.tb-services__entry--rows .tb-services__entry-desc {
	font-size: .875rem;
	line-height: 1.6;
	color: var(--tb-text-muted,#6b7069);
	margin: 0;
	max-width: 580px;
}
.tb-services__entry--rows .tb-services__entry-arrow {
	padding: 0 clamp(16px,2.5vw,28px) 0 0;
	color: var(--tb-text-muted,#6b7069);
	flex-shrink: 0;
	transition: color .15s ease, transform .15s ease;
	pointer-events: none;
}
.tb-services__entry--rows:hover .tb-services__entry-arrow {
	color: var(--tb-primary,#5a7a5e);
	transform: translateX(4px);
}

/* -- CARDS layout ---------------------------------------------- */
.tb-services__entry-list--cards {
	list-style: none;
	margin: 0 0 4px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2,1fr);
	gap: clamp(12px,2vw,20px);
}
.tb-services__entry--cards {
	position: relative;
	background: var(--tb-bg,#faf9f6);
	border: 1.5px solid var(--tb-border,#e8e2db);
	border-radius: 14px;
	padding: clamp(20px,3vw,28px);
	cursor: pointer;
	transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease;
}
.tb-services__entry--cards:hover {
	box-shadow: 0 6px 24px rgba(0,0,0,.08);
	border-color: var(--tb-primary,#5a7a5e);
	transform: translateY(-2px);
}
.tb-services__entry--cards .tb-services__entry-name {
	font-size: 1.05rem;
	font-weight: 700;
	margin: 0 0 10px;
	line-height: 1.25;
}
.tb-services__entry--cards .tb-services__entry-link {
	color: var(--tb-text,#3d4039);
	text-decoration: none;
}
.tb-services__entry--cards .tb-services__entry-link::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 14px;
}
.tb-services__entry--cards .tb-services__entry-desc {
	font-size: .855rem;
	line-height: 1.65;
	color: var(--tb-text-muted,#6b7069);
	margin: 0 0 16px;
}
.tb-services__entry--cards .tb-services__entry-arrow {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: .8rem;
	font-weight: 600;
	color: var(--tb-primary,#5a7a5e);
	pointer-events: none;
	transition: gap .15s ease;
}
.tb-services__entry--cards:hover .tb-services__entry-arrow { gap: 9px; }
@media (max-width: 600px) {
	.tb-services__entry-list--cards { grid-template-columns: 1fr; }
}

/* -- COMPACT layout -------------------------------------------- */
.tb-services__entry-list--compact {
	list-style: none;
	margin: 0 0 4px;
	padding: 0;
}
.tb-services__entry--compact {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: clamp(12px,1.5vw,16px) 0;
	border-bottom: 1px solid var(--tb-border,#e8e2db);
	cursor: pointer;
	transition: background .15s ease;
}
.tb-services__entry--compact:first-child { border-top: 1px solid var(--tb-border,#e8e2db); }
.tb-services__entry--compact:hover { background: color-mix(in srgb, var(--tb-primary,#5a7a5e) 3%, transparent); }
.tb-services__entry--compact .tb-services__entry-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--tb-primary,#5a7a5e);
	flex-shrink: 0;
	transition: transform .15s ease;
}
.tb-services__entry--compact:hover .tb-services__entry-dot { transform: scale(1.5); }
.tb-services__entry--compact .tb-services__entry-name {
	flex: 1;
	font-size: .975rem;
	font-weight: 700;
	margin: 0;
	line-height: 1.3;
}
.tb-services__entry--compact .tb-services__entry-link {
	color: var(--tb-text,#3d4039);
	text-decoration: none;
}
.tb-services__entry--compact .tb-services__entry-link::after {
	content: '';
	position: absolute;
	inset: 0;
}
.tb-services__entry--compact .tb-services__entry-teaser {
	font-size: .82rem;
	color: var(--tb-text-muted,#6b7069);
	margin: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 300px;
}
.tb-services__entry--compact .tb-services__entry-arrow {
	color: var(--tb-text-muted,#6b7069);
	flex-shrink: 0;
	transition: color .15s ease, transform .15s ease;
	pointer-events: none;
}
.tb-services__entry--compact:hover .tb-services__entry-arrow {
	color: var(--tb-primary,#5a7a5e);
	transform: translateX(3px);
}
@media (max-width: 520px) {
	.tb-services__entry--compact .tb-services__entry-teaser { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.tb-services__entry--rows,
	.tb-services__entry--cards,
	.tb-services__entry--compact,
	.tb-services__entry-arrow { transition: none; transform: none; }
}
