/**
 * Team member profile (Page – Author) template.
 */

.tm-profile {
	--tm-olive: #45483b;
	--tm-olive-soft: #767a4c;
	--tm-tan: #f5f0e8;
	--tm-yellow: #ffd26c;
	--tm-white: #fff;
	--tm-text: #2f3329;
	--tm-muted: #5c6154;
	font-family: 'Montserrat', sans-serif;
	background: var(--tm-tan);
	color: var(--tm-text);
}

main.tm-profile.addiction-treatment {
	overflow: visible;
}

.tm-profile [id] {
	scroll-margin-top: var(--tm-profile-scroll-offset, var(--scroll-offset, 160px));
}

/* Profile page: keep in-page links olive, not addiction-template yellow. */
.tm-profile a:not(.at-hero__cta) {
	color: inherit;
}

.tm-profile .tm-team__all,
.tm-profile .tm-profile-links a,
.tm-profile .tm-prose a {
	color: var(--tm-olive-soft) !important;
}

.tm-profile .tm-cta-panel__phone {
	color: var(--tm-yellow) !important;
}

.tm-profile .at-breadcrumb__item a {
	color: var(--tm-yellow) !important;
}

/* Hero */
.tm-profile-hero {
	background: var(--tm-olive, #45483b);
	color: var(--tm-white);
	padding: 48px 24px 40px;
	overflow-x: clip;
}

.tm-profile-hero__inner {
	max-width: 1200px;
	margin: 0 auto;
}

.tm-profile-hero__grid {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 40px;
	align-items: start;
}

.tm-profile-hero__photo {
	width: 100%;
	max-width: 280px;
	aspect-ratio: 1;
	border-radius: 50%;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.08);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.tm-profile-hero__photo-stack {
	position: relative;
	width: 100%;
	height: 100%;
	aspect-ratio: 1;
}

.tm-profile-hero__photo--dual .tm-profile-hero__img {
	position: absolute;
	inset: 0;
	transition: opacity 0.45s ease;
}

.tm-profile-hero__photo--dual .tm-profile-hero__img--hover {
	opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
	.tm-profile-hero__photo--dual:hover .tm-profile-hero__img--primary,
	.tm-profile-hero__photo--dual:focus-within .tm-profile-hero__img--primary {
		opacity: 0;
	}

	.tm-profile-hero__photo--dual:hover .tm-profile-hero__img--hover,
	.tm-profile-hero__photo--dual:focus-within .tm-profile-hero__img--hover {
		opacity: 1;
	}
}

.tm-profile-hero__photo--dual.is-show-hover .tm-profile-hero__img--primary {
	opacity: 0;
}

.tm-profile-hero__photo--dual.is-show-hover .tm-profile-hero__img--hover {
	opacity: 1;
}

.tm-profile-hero__photo--dual {
	touch-action: manipulation;
	-webkit-touch-callout: none;
	user-select: none;
}

@media (prefers-reduced-motion: reduce) {
	.tm-profile-hero__photo--dual .tm-profile-hero__img {
		transition: none;
	}
}

.tm-profile-hero__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.tm-profile-hero__group {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--tm-yellow);
}

.tm-profile-hero__name {
	margin: 0 0 8px;
	font-size: clamp(32px, 4vw, 48px);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.4px;
	color: #fff;
}

.tm-profile-hero__role {
	margin: 0 0 16px;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.92);
}

.tm-profile-hero__registrations {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
}

.tm-profile-hero__registration {
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.3;
	color: #fff;
	background: rgba(255, 255, 255, 0.08);
}

.tm-profile-hero__years {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px;
	margin: 0 0 18px;
}

.tm-profile-hero__years-value {
	font-size: 28px;
	font-weight: 600;
	color: var(--tm-yellow);
	line-height: 1;
}

.tm-profile-hero__years-label {
	font-size: 14px;
	opacity: 0.85;
}

.tm-profile-hero__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
}

.tm-profile-tag {
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.18);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	color: #fff;
}

.tm-profile .tm-profile-hero__quote {
	margin: 0 0 20px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
}

.tm-profile .tm-profile-hero__quote p {
	margin: 0;
	font-size: 17px !important;
	font-weight: 400;
	line-height: 1.65;
	font-style: italic;
	color: #fff;
	opacity: 1;
}

.tm-profile .tm-profile-hero__quote p::before {
	content: '\201C';
}

.tm-profile .tm-profile-hero__quote p::after {
	content: '\201D';
}

.tm-profile-hero__actions {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

.tm-profile-hero__actions .at-hero__cta {
	width: 100%;
	max-width: 100%;
	min-height: 54px;
	height: auto;
	white-space: normal;
	line-height: 1.25;
	padding: 14px 24px;
}

/* Mobile jump nav */
.tm-profile-jump {
	display: none;
	background: #fff;
	border-bottom: 1px solid rgba(69, 72, 59, 0.1);
}

.tm-profile-jump__inner {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 12px 16px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.tm-profile-jump__inner::-webkit-scrollbar {
	display: none;
}

.tm-profile-jump__link {
	flex: 0 0 auto;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--tm-tan);
	color: var(--tm-olive) !important;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.tm-profile-jump__link.is-active {
	background: var(--tm-olive);
	color: #fff !important;
}

/* Body layout */
.tm-profile-body {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 24px 64px;
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 48px;
	align-items: start;
	overflow: visible;
}

.tm-profile-aside {
	position: sticky;
	top: var(--tm-profile-aside-top, calc(var(--header-offset, 112px) + 24px));
	align-self: start;
	height: max-content;
	z-index: 5;
}

@media (min-width: 1025px) {
	.tm-profile-aside {
		display: flex;
		flex-direction: column;
		max-height: calc(100vh - var(--tm-profile-aside-top, calc(var(--header-offset, 112px) + 24px)) - 24px);
		overflow: hidden;
	}

	.tm-profile-nav {
		flex: 0 0 auto;
	}

	.tm-profile-social--aside {
		flex: 1 1 auto;
		min-height: 0;
		overflow-y: auto;
		overscroll-behavior: contain;
		scrollbar-width: thin;
		scrollbar-color: rgba(118, 122, 76, 0.45) transparent;
	}

	.tm-profile-social--aside::-webkit-scrollbar {
		width: 6px;
	}

	.tm-profile-social--aside::-webkit-scrollbar-thumb {
		background: rgba(118, 122, 76, 0.45);
		border-radius: 999px;
	}

	.tm-profile [id] {
		scroll-margin-top: var(--tm-profile-scroll-offset, var(--scroll-offset, 160px));
	}
}

.tm-profile-nav {
	background: #fff;
	border-radius: 12px;
	padding: 20px 18px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.tm-profile-nav__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.tm-profile-nav__link {
	display: block;
	padding: 8px 10px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.35;
	color: var(--tm-muted) !important;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.tm-profile-nav__link:hover,
.tm-profile-nav__link:focus {
	background: var(--tm-tan);
	color: var(--tm-olive) !important;
	outline: none;
}

.tm-profile-nav__link.is-active {
	background: rgba(118, 122, 76, 0.14);
	color: var(--tm-olive) !important;
	font-weight: 600;
}

.tm-profile-social {
	margin-top: 16px;
	background: #fff;
	border-radius: 12px;
	padding: 20px 18px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.tm-profile-social--hero {
	display: none;
	margin-top: 24px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	box-shadow: none;
}

.tm-profile-social--hero .tm-profile-social__title {
	color: rgba(255, 255, 255, 0.78);
}

.tm-profile-social--aside {
	display: block;
}

.tm-profile-social__title {
	margin: 0 0 12px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--tm-olive-soft);
}

.tm-profile-social__list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tm-profile-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 8px;
	background: var(--tm-olive);
	transition: background 0.15s ease, transform 0.15s ease, filter 0.15s ease;
}

.tm-profile-social__link--linkedin {
	background: #0a66c2;
}

.tm-profile-social__link--linkedin:hover,
.tm-profile-social__link--linkedin:focus {
	background: #004182;
}

.tm-profile-social__link--facebook {
	background: #1877f2;
}

.tm-profile-social__link--facebook:hover,
.tm-profile-social__link--facebook:focus {
	background: #0d65d9;
}

.tm-profile-social__link--instagram {
	background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.tm-profile-social__link--instagram:hover,
.tm-profile-social__link--instagram:focus {
	filter: brightness(0.95);
}

.tm-profile-social__link--twitter,
.tm-profile-social__link--x {
	background: #000;
}

.tm-profile-social__link--twitter:hover,
.tm-profile-social__link--twitter:focus,
.tm-profile-social__link--x:hover,
.tm-profile-social__link--x:focus {
	background: #262626;
}

.tm-profile-social__link--custom {
	background: var(--tm-olive);
}

.tm-profile-social__link--custom:hover,
.tm-profile-social__link--custom:focus {
	background: #3d4235;
}

.tm-profile-social__link:hover,
.tm-profile-social__link:focus {
	outline: none;
	transform: translateY(-1px);
}

.tm-profile-social__link--linkedin img,
.tm-profile-social__link--facebook img,
.tm-profile-social__link--instagram img,
.tm-profile-social__link--twitter img,
.tm-profile-social__link--x img {
	filter: brightness(0) invert(1);
}

.tm-profile-social__link img {
	display: block;
	width: 24px;
	height: 24px;
}

/* Quick facts */
.tm-facts {
	margin-bottom: 0;
}

.tm-section-heading {
	margin: 0 0 24px;
	font-size: clamp(26px, 3vw, 32px);
	font-weight: 600;
	line-height: 1.2;
	color: var(--tm-text);
}

/* Collapsible profile sections */
.tm-profile .tm-accordion {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 48px;
}

.tm-profile .tm-accordion .tm-section,
.tm-profile .tm-accordion .tm-facts {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

.tm-profile .tm-accordion .tm-accordion__heading,
.tm-profile .tm-accordion .tm-section-heading {
	margin: 0;
}

.tm-profile .tm-accordion .tm-accordion__item {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid rgba(69, 72, 59, 0.12);
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
	overflow: hidden;
	transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.tm-profile .tm-accordion .tm-accordion__item:hover {
	border-color: rgba(118, 122, 76, 0.35);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.tm-profile .tm-accordion .tm-accordion__item.active {
	border-color: rgba(118, 122, 76, 0.28);
}

.tm-profile .tm-accordion .faqs__question,
.tm-profile .tm-accordion .tm-accordion__trigger {
	width: 100%;
	margin: 0;
	padding: 20px 24px !important;
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: var(--tm-text) !important;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(20px, 2.5vw, 28px);
	font-weight: 600 !important;
	line-height: 1.25 !important;
	min-height: 0 !important;
	height: auto !important;
	text-align: left !important;
	white-space: normal !important;
	transition: color 0.2s ease, background 0.2s ease;
}

.tm-profile .tm-accordion .faqs__question:hover,
.tm-profile .tm-accordion .faqs__question:focus,
.tm-profile .tm-accordion .tm-accordion__trigger:hover,
.tm-profile .tm-accordion .tm-accordion__trigger:focus {
	background: rgba(245, 240, 232, 0.45) !important;
	color: var(--tm-olive-soft) !important;
	outline: none;
}

.tm-profile .tm-accordion .tm-accordion__item.active .faqs__question,
.tm-profile .tm-accordion .tm-accordion__item.active .faqs__question:hover,
.tm-profile .tm-accordion .tm-accordion__item.active .faqs__question:focus,
.tm-profile .tm-accordion .tm-accordion__item.active .tm-accordion__trigger,
.tm-profile .tm-accordion .tm-accordion__item.active .tm-accordion__trigger:hover,
.tm-profile .tm-accordion .tm-accordion__item.active .tm-accordion__trigger:focus {
	background: transparent !important;
	color: var(--tm-text) !important;
}

.tm-profile .tm-accordion .tm-accordion__item.active .faqs__question,
.tm-profile .tm-accordion .tm-accordion__item.active .tm-accordion__trigger {
	border-bottom: 1px solid rgba(69, 72, 59, 0.1) !important;
}

.tm-profile .tm-accordion .faqs__question:focus-visible,
.tm-profile .tm-accordion .tm-accordion__trigger:focus-visible {
	outline: 2px solid var(--tm-olive-soft);
	outline-offset: -2px;
}

.tm-profile .tm-accordion .faqs__question-text {
	flex: 1;
	min-width: 0;
	color: inherit;
}

.tm-profile .tm-accordion .faqs__icon {
	flex-shrink: 0;
	font-size: 28px;
	font-weight: 300;
	line-height: 1;
	color: var(--tm-olive-soft);
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tm-profile .tm-accordion .tm-accordion__item.active .faqs__icon {
	transform: rotate(45deg);
}

.tm-profile .tm-accordion .tm-accordion__panel {
	display: grid;
	grid-template-rows: 0fr;
	max-height: none !important;
	overflow: hidden;
	padding: 0 !important;
	background: transparent;
	border: none;
	border-radius: 0;
	box-shadow: none !important;
	transition: grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.tm-profile .tm-accordion .tm-accordion__item.active .tm-accordion__panel {
	grid-template-rows: 1fr;
}

.tm-profile .tm-accordion .tm-accordion__panel-inner {
	overflow: hidden;
	min-height: 0;
	padding: 0 24px;
	opacity: 0;
	transform: translateY(-8px);
	transition:
		opacity 0.22s ease,
		transform 0.22s ease,
		padding 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.tm-profile .tm-accordion .tm-accordion__item.active .tm-accordion__panel-inner {
	padding: 12px 24px 24px;
	opacity: 1;
	transform: translateY(0);
	transition:
		opacity 0.35s ease 0.1s,
		transform 0.45s cubic-bezier(0.4, 0, 0.2, 1) 0.06s,
		padding 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.tm-profile.tm-profile--nav-scrolling .tm-accordion .tm-accordion__panel,
.tm-profile.tm-profile--nav-scrolling .tm-accordion .tm-accordion__panel-inner,
.tm-profile.tm-profile--nav-scrolling .tm-accordion .faqs__question,
.tm-profile.tm-profile--nav-scrolling .tm-accordion .tm-accordion__trigger,
.tm-profile.tm-profile--nav-scrolling .tm-accordion .faqs__icon,
.tm-profile.tm-profile--nav-scrolling .tm-accordion .tm-accordion__item {
	transition: none !important;
}

.tm-profile.tm-profile--nav-scrolling .tm-accordion .tm-accordion__panel-inner {
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.tm-profile .tm-accordion .faqs__question,
	.tm-profile .tm-accordion .tm-accordion__trigger,
	.tm-profile .tm-accordion .faqs__icon,
	.tm-profile .tm-accordion .tm-accordion__panel,
	.tm-profile .tm-accordion .tm-accordion__panel-inner,
	.tm-profile .tm-accordion .tm-accordion__item {
		transition: none;
	}

	.tm-profile .tm-accordion .tm-accordion__panel-inner {
		transform: none;
	}
}

.tm-facts__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tm-facts__card {
	background: #fff;
	border-radius: 12px;
	padding: 20px 18px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-height: 120px;
}

.tm-facts__value {
	font-size: 32px;
	font-weight: 600;
	line-height: 1;
	color: var(--tm-olive-soft);
}

.tm-facts__label {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--tm-text);
}

.tm-facts__detail {
	font-size: 12px;
	line-height: 1.45;
	color: var(--tm-muted);
}

/* Content sections */
.tm-section {
	margin-bottom: 48px;
	padding-bottom: 48px;
	border-bottom: 1px solid rgba(69, 72, 59, 0.1);
}

.tm-section:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

.tm-prose {
	font-size: 16px;
	line-height: 1.7;
	color: var(--tm-muted);
}

.tm-prose > :first-child {
	margin-top: 0;
}

.tm-prose > :last-child {
	margin-bottom: 0;
}

.tm-prose h2,
.tm-prose h3,
.tm-prose h4 {
	color: var(--tm-text);
	font-weight: 600;
	margin: 1.5em 0 0.75em;
}

.tm-prose p {
	margin: 0 0 1em;
}

.tm-prose ul,
.tm-prose ol {
	margin: 0 0 1em;
	padding-left: 1.25em;
}

.tm-prose a {
	color: var(--tm-olive-soft);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.tm-profile-list {
	margin: 0;
	padding-left: 1.2em;
}

.tm-prose .tm-profile-list {
	margin-bottom: 0;
}

.tm-prose .tm-profile-list + .tm-profile-experience {
	margin-top: 0;
}

.tm-prose .tm-profile-list + .tm-profile-experience > :first-child {
	margin-top: 0;
}

.tm-profile-tags--list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tm-profile-tags--list .tm-profile-tag {
	background: rgba(118, 122, 76, 0.12);
	border-color: transparent;
	color: var(--tm-olive);
}

.tm-profile-links {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.tm-profile-links a {
	font-weight: 600;
}

/* Article / treatment cards */
.tm-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tm-article-card,
.tm-treatment-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 140px;
	padding: 20px;
	background: #fff;
	border-radius: 12px;
	text-decoration: none;
	color: inherit;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tm-article-card:hover,
.tm-article-card:focus,
.tm-treatment-card:hover,
.tm-treatment-card:focus {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	outline: none;
}

.tm-article-card__date {
	font-size: 12px;
	font-weight: 600;
	color: var(--tm-olive-soft);
	margin-bottom: 8px;
}

.tm-article-card__title,
.tm-treatment-card__title {
	font-size: 17px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--tm-text);
	margin-bottom: auto;
}

.tm-article-card__cta,
.tm-treatment-card__cta {
	margin-top: 16px;
	font-size: 13px;
	font-weight: 700;
	color: var(--tm-olive-soft);
}

/* CTA panel */
.tm-section--cta {
	border-bottom: 0;
	padding-bottom: 0;
}

.tm-cta-panel {
	background: var(--tm-olive);
	color: #fff;
	border-radius: 16px;
	padding: 32px 28px;
}

.tm-cta-panel__title {
	margin: 0 0 10px;
	font-size: 28px;
	font-weight: 600;
	color: #fff;
}

.tm-cta-panel__text {
	margin: 0 0 24px;
	font-size: 16px;
	line-height: 1.6;
	opacity: 0.92;
	max-width: 520px;
}

.tm-cta-panel__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 24px;
}

.tm-cta-panel__phone {
	color: var(--tm-yellow) !important;
	font-size: 20px;
	font-weight: 700;
	text-decoration: none;
}

/* Related team */
.tm-team {
	background: #fff;
	padding: 56px 24px 64px;
	border-top: 1px solid rgba(69, 72, 59, 0.08);
}

.tm-team__inner {
	max-width: 1200px;
	margin: 0 auto;
}

.tm-team__header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	margin-bottom: 28px;
}

.tm-team__all {
	font-size: 14px;
	font-weight: 600;
	color: var(--tm-olive-soft) !important;
	text-decoration: none;
}

.tm-team__all:hover {
	text-decoration: underline;
}

.tm-team__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tm-team-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 20px 16px;
	background: var(--tm-tan);
	border-radius: 12px;
	text-decoration: none;
	color: inherit;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tm-team-card:hover,
.tm-team-card:focus {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
	outline: none;
}

.tm-team-card__photo {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	overflow: hidden;
	margin-bottom: 14px;
	background: #ece8e0;
}

.tm-team-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tm-team-card__name {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--tm-text);
	margin-bottom: 4px;
}

.tm-team-card__role {
	font-size: 12px;
	line-height: 1.4;
	color: var(--tm-olive-soft);
}

/* Responsive */
@media (max-width: 1024px) {
	.tm-profile-body {
		grid-template-columns: 1fr;
		gap: 0;
		padding-top: 32px;
	}

	.tm-profile-aside {
		display: none;
	}

	.tm-profile-social--hero {
		display: block;
	}

	.tm-profile [id] {
		scroll-margin-top: var(--scroll-offset, var(--at-sticky-header-height, 160px));
	}
}

@media (max-width: 768px) {
	.tm-profile-hero {
		padding-top: 32px;
	}

	.tm-profile-hero__grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.tm-profile-hero__media {
		display: flex;
		justify-content: center;
	}

	.tm-profile-hero__photo {
		max-width: 200px;
	}

	.tm-profile-hero__actions {
		align-items: stretch;
	}

	.tm-profile-hero__actions .at-hero__cta {
		max-width: none;
	}

	.tm-profile-body {
		padding: 28px 16px 48px;
	}

	.tm-facts__grid {
		gap: 8px;
	}

	.tm-facts__card {
		padding: 14px 10px;
		min-height: 96px;
	}

	.tm-facts__value {
		font-size: clamp(20px, 5vw, 28px);
	}

	.tm-facts__label {
		font-size: 11px;
	}

	.tm-facts__detail {
		font-size: 10px;
		line-height: 1.35;
	}

	.tm-cards {
		grid-template-columns: 1fr;
	}

	.tm-team {
		padding: 40px 16px 48px;
	}

	.tm-team__header {
		flex-direction: column;
		align-items: flex-start;
	}

	.tm-team__grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.tm-team-card {
		flex-direction: row;
		align-items: center;
		text-align: left;
		padding: 16px;
		gap: 16px;
	}

	.tm-team-card__photo {
		width: 72px;
		height: 72px;
		margin-bottom: 0;
		flex-shrink: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tm-article-card,
	.tm-treatment-card,
	.tm-team-card,
	.tm-profile-nav__link {
		transition: none;
	}
}
