/*
Theme Name: Tranent Podiatry
Theme URI: http://localhost:8080
Author: Marn Esquivo
Description: A local redesign theme for Tranent Podiatry.
Version: 0.2.2
Text Domain: tranent-podiatry
*/

:root {
	--tp-purple: #934e9d;
	--tp-purple-dark: #5e2d67;
	--tp-teal: #67c8ce;
	--tp-teal-dark: #277f87;
	--tp-ink: #25313d;
	--tp-muted: #596773;
	--tp-line: #d9e4e7;
	--tp-soft: #f5fbfb;
	--tp-white: #ffffff;
	--tp-focus: #f0c84b;
	--tp-max: 1180px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 18px;
	line-height: 1.6;
	color: var(--tp-ink);
	background: var(--tp-white);
	overflow-x: hidden;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: var(--tp-purple-dark);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

a:hover,
a:focus {
	color: var(--tp-teal-dark);
}

a:focus-visible,
button:focus-visible {
	outline: 3px solid var(--tp-focus);
	outline-offset: 3px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.tp-shell {
	width: calc(100% - 40px);
	max-width: var(--tp-max);
	margin: 0 auto;
	min-width: 0;
}

.tp-site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--tp-line);
	backdrop-filter: blur(12px);
}

.tp-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
	min-height: 88px;
	min-width: 0;
}

.tp-brand {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	color: var(--tp-purple-dark);
	text-decoration: none;
	min-width: 0;
}

.tp-brand img {
	width: 64px;
	height: 64px;
}

.tp-brand-name {
	display: block;
	font-size: 1.25rem;
	font-weight: 800;
	letter-spacing: 0;
}

.tp-brand-tagline {
	display: block;
	margin-top: 2px;
	color: var(--tp-muted);
	font-size: 0.9rem;
}

.tp-menu-toggle {
	display: none;
	align-items: center;
	gap: 9px;
	min-height: 44px;
	padding: 10px 13px;
	border: 1px solid var(--tp-line);
	border-radius: 6px;
	background: var(--tp-white);
	color: var(--tp-purple-dark);
	font: inherit;
	font-size: 0.92rem;
	font-weight: 800;
	cursor: pointer;
}

.tp-menu-toggle-lines,
.tp-menu-toggle-lines::before,
.tp-menu-toggle-lines::after {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
}

.tp-menu-toggle-lines {
	position: relative;
}

.tp-menu-toggle-lines::before,
.tp-menu-toggle-lines::after {
	content: "";
	position: absolute;
	left: 0;
}

.tp-menu-toggle-lines::before {
	top: -6px;
}

.tp-menu-toggle-lines::after {
	top: 6px;
}

.tp-nav {
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 100%;
	min-width: 0;
}

.tp-nav ul {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
	min-width: 0;
	max-width: 100%;
}

.tp-nav li {
	min-width: 0;
}

.tp-nav a {
	display: block;
	padding: 9px 10px;
	border-radius: 6px;
	color: var(--tp-ink);
	font-size: 0.9rem;
	font-weight: 700;
	white-space: nowrap;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.tp-nav a:hover,
.tp-nav .current-menu-item > a,
.tp-nav .current_page_item > a {
	background: var(--tp-soft);
	color: var(--tp-purple-dark);
}

.tp-nav .menu-item:last-child > a,
.tp-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 11px 16px;
	border: 0;
	border-radius: 6px;
	background: var(--tp-purple);
	color: var(--tp-white);
	font-weight: 800;
	text-decoration: none;
	box-shadow: 0 10px 24px rgba(94, 45, 103, 0.22);
}

.tp-nav .menu-item:last-child > a:hover,
.tp-button:hover,
.tp-button:focus {
	background: var(--tp-teal-dark);
	color: var(--tp-white);
}

.tp-hero {
	position: relative;
	min-height: 520px;
	display: grid;
	align-items: end;
	padding: 110px 0 70px;
	color: var(--tp-white);
	background:
		linear-gradient(90deg, rgba(37, 49, 61, 0.97), rgba(37, 49, 61, 0.82) 50%, rgba(37, 49, 61, 0.62)),
		linear-gradient(180deg, rgba(37, 49, 61, 0.28), rgba(37, 49, 61, 0.42)),
		var(--tp-hero-image) center / cover no-repeat;
}

.tp-hero::after {
	content: "";
	position: absolute;
	right: clamp(18px, 6vw, 90px);
	bottom: clamp(18px, 6vw, 70px);
	width: clamp(130px, 22vw, 280px);
	aspect-ratio: 1;
	background: var(--tp-logo-image) center / contain no-repeat;
	opacity: 0.08;
	pointer-events: none;
}

.tp-hero-content {
	position: relative;
	z-index: 1;
	max-width: 760px;
	min-width: 0;
}

.tp-kicker {
	margin: 0 0 12px;
	color: var(--tp-teal);
	font-size: 0.92rem;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: uppercase;
}

.tp-hero h1 {
	margin: 0;
	font-size: clamp(2.15rem, 5.5vw, 4.4rem);
	line-height: 1.02;
	letter-spacing: 0;
}

.tp-hero p {
	max-width: 650px;
	margin: 24px 0 0;
	font-size: 1.2rem;
}

.tp-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 30px;
}

.tp-button-secondary {
	background: var(--tp-white);
	color: var(--tp-purple-dark);
	box-shadow: none;
}

.tp-button-secondary:hover,
.tp-button-secondary:focus {
	background: var(--tp-soft);
	color: var(--tp-teal-dark);
}

.tp-band {
	padding: 72px 0;
}

.tp-band-soft {
	background:
		linear-gradient(180deg, rgba(245, 251, 251, 0.95), rgba(255, 255, 255, 0.95)),
		var(--tp-logo-image) right 8% center / 220px auto no-repeat;
}

.tp-section-heading {
	max-width: 760px;
	margin-bottom: 34px;
}

.tp-section-heading .tp-kicker,
.tp-page-header .tp-kicker {
	margin-bottom: 18px;
}

.tp-section-heading h2,
.tp-page-title {
	margin: 0 0 12px;
	color: var(--tp-purple-dark);
	font-size: clamp(1.8rem, 4vw, 3rem);
	line-height: 1.12;
	letter-spacing: 0;
}

.tp-section-heading p {
	margin: 0;
	color: var(--tp-muted);
	font-size: 1.08rem;
}

.tp-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.tp-card {
	min-height: 100%;
	padding: 24px;
	border: 1px solid var(--tp-line);
	border-radius: 8px;
	background: var(--tp-white);
}

.tp-card h3 {
	margin: 0 0 10px;
	color: var(--tp-purple-dark);
	font-size: 1.2rem;
	line-height: 1.25;
	letter-spacing: 0;
}

.tp-card p,
.tp-card ul {
	margin-top: 0;
	margin-bottom: 0;
	color: var(--tp-muted);
}

.tp-card ul {
	padding-left: 22px;
}

.tp-split {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
	gap: 36px;
	align-items: center;
}

.tp-photo {
	overflow: hidden;
	border-radius: 8px;
	border: 1px solid var(--tp-line);
	background: var(--tp-soft);
}

.tp-photo img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.tp-credential {
	display: grid;
	place-items: center;
	min-height: 320px;
	padding: 34px;
}

.tp-credential img {
	width: min(100%, 320px);
	aspect-ratio: auto;
	object-fit: contain;
}

.tp-cta {
	padding: 46px;
	border-radius: 8px;
	background: var(--tp-teal);
	color: var(--tp-ink);
}

.tp-cta h2 {
	margin: 0 0 12px;
	color: var(--tp-ink);
	font-size: clamp(1.8rem, 4vw, 2.8rem);
	line-height: 1.12;
	letter-spacing: 0;
}

.tp-cta p {
	margin: 0 0 22px;
	font-size: 1.12rem;
}

.tp-contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: 28px;
	align-items: start;
}

.tp-detail-list {
	display: grid;
	gap: 16px;
	margin: 0;
}

.tp-detail-list div {
	padding: 18px 0;
	border-bottom: 1px solid var(--tp-line);
}

.tp-detail-list dt {
	color: var(--tp-purple-dark);
	font-weight: 800;
}

.tp-detail-list dd {
	margin: 4px 0 0;
	color: var(--tp-muted);
}

.tp-map img {
	width: 100%;
	border: 1px solid var(--tp-line);
	border-radius: 8px;
}

.tp-page-main {
	padding: 64px 0;
}

.tp-page-content {
	max-width: 820px;
}

.tp-page-header {
	max-width: 840px;
	margin-bottom: 32px;
	min-width: 0;
}

.tp-page-header p {
	margin: 0;
	color: var(--tp-muted);
	font-size: 1.08rem;
	overflow-wrap: anywhere;
}

.tp-page-content h2,
.tp-page-content h3 {
	color: var(--tp-purple-dark);
	letter-spacing: 0;
}

.tp-page-content p,
.tp-page-content li {
	color: var(--tp-muted);
}

.tp-page-content img {
	margin: 24px 0;
	border-radius: 8px;
}

.tp-page-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 24px 0 0;
}

.tp-notice {
	margin: 22px 0 0;
	padding: 16px 18px;
	border-left: 4px solid var(--tp-teal);
	border-radius: 8px;
	background: var(--tp-soft);
	color: var(--tp-ink);
}

.tp-notice strong {
	display: block;
	margin-bottom: 4px;
	color: var(--tp-purple-dark);
	font-size: 1rem;
}

.tp-notice p {
	margin: 0;
	color: var(--tp-muted);
	font-size: 1rem;
}

.tp-notice-compact {
	margin-top: 18px;
}

.tp-feature-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.tp-feature-list li {
	padding: 14px 16px;
	border: 1px solid var(--tp-line);
	border-radius: 8px;
	background: var(--tp-soft);
	color: var(--tp-ink);
	font-weight: 700;
}

.tp-price-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin-top: 28px;
	min-width: 0;
}

.tp-price-card {
	padding: 22px;
	border: 1px solid var(--tp-line);
	border-radius: 8px;
	background: var(--tp-white);
	min-width: 0;
}

.tp-price-card h2 {
	margin: 0 0 16px;
	color: var(--tp-purple-dark);
	font-size: 1.25rem;
	letter-spacing: 0;
}

.tp-price-list {
	display: grid;
	gap: 0;
	margin: 0;
}

.tp-price-row,
.tp-hours-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid var(--tp-line);
}

.tp-price-row dt,
.tp-hours-row dt {
	font-weight: 800;
	color: var(--tp-ink);
	min-width: 0;
	overflow-wrap: anywhere;
}

.tp-price-row dd,
.tp-hours-row dd {
	margin: 0;
	color: var(--tp-purple-dark);
	font-weight: 800;
	text-align: right;
}

.tp-note {
	margin-top: 18px;
	color: var(--tp-muted);
	font-size: 0.95rem;
}

.tp-hours-card {
	max-width: 620px;
	padding: 24px;
	border: 1px solid var(--tp-line);
	border-radius: 8px;
	background: var(--tp-soft);
}

.tp-profile {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
	gap: 48px;
	align-items: start;
	min-width: 0;
}

.tp-profile-aside {
	display: grid;
	gap: 18px;
	min-width: 0;
}

.tp-profile-aside > img {
	width: 100%;
	aspect-ratio: auto;
	object-fit: contain;
	border: 1px solid var(--tp-line);
	border-radius: 8px;
}

.tp-registration-badge {
	display: grid;
	grid-template-columns: 82px minmax(0, 1fr);
	align-items: center;
	gap: 16px;
	margin: 0;
	padding: 16px;
	border: 1px solid var(--tp-line);
	border-radius: 8px;
	background: var(--tp-soft);
}

.tp-registration-badge img {
	width: 82px;
	aspect-ratio: auto;
	object-fit: contain;
	border: 0;
	border-radius: 0;
}

.tp-registration-badge figcaption {
	color: var(--tp-purple-dark);
	font-weight: 800;
}

.tp-article {
	max-width: 860px;
	min-width: 0;
}

.tp-article p {
	overflow-wrap: break-word;
}

.tp-article h2 {
	margin-top: 0;
}

.tp-inline-cta {
	margin-top: 32px;
	padding: 24px;
	border-radius: 8px;
	background: var(--tp-soft);
	border: 1px solid var(--tp-line);
}

.tp-site-footer {
	padding: 38px 0;
	border-top: 1px solid var(--tp-line);
	background: var(--tp-ink);
	color: rgba(255, 255, 255, 0.82);
}

.tp-footer-inner {
	display: flex;
	justify-content: space-between;
	gap: 28px;
}

.tp-footer-inner a {
	color: var(--tp-teal);
}

@media (max-width: 980px) {
	.tp-footer-inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.tp-header-inner {
		display: flex;
		align-items: center;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: space-between;
		gap: 12px;
		min-height: auto;
		position: relative;
		padding: 12px 0;
		padding-right: 96px;
	}

	.tp-brand {
		flex: 1 1 auto;
		max-width: 100%;
	}

	.tp-nav ul {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		width: 100%;
	}

	.tp-nav {
		display: none;
		flex: 0 0 100%;
		width: 100%;
	}

	.tp-nav.is-open {
		display: block;
	}

	.tp-menu-toggle {
		display: inline-flex;
		flex: 0 0 auto;
		position: fixed;
		top: 17px;
		right: 14px;
		z-index: 40;
	}

	.tp-nav a {
		white-space: normal;
		text-align: center;
	}

	.tp-grid,
	.tp-split,
	.tp-contact-grid,
	.tp-price-grid,
	.tp-profile {
		grid-template-columns: 1fr;
	}

	.tp-feature-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tp-hero {
		min-height: 520px;
		padding-top: 100px;
	}
}

@media (max-width: 620px) {
	body {
		font-size: 16px;
	}

	.tp-shell {
		width: calc(100% - 28px);
	}

	.tp-brand {
		grid-template-columns: 54px minmax(0, 1fr);
	}

	.tp-brand img {
		width: 54px;
		height: 54px;
	}

	.tp-brand-name {
		font-size: 1rem;
	}

	.tp-brand-tagline {
		display: none;
	}

	.tp-nav a {
		min-height: 42px;
		padding: 8px 9px;
		font-size: 0.86rem;
		line-height: 1.25;
	}

	.tp-nav ul {
		grid-template-columns: 1fr;
		gap: 6px;
	}

	.tp-nav .menu-item:last-child {
		grid-column: auto;
	}

	.tp-nav .menu-item:last-child > a {
		width: 100%;
		max-width: 100%;
	}

	.tp-hero {
		min-height: 480px;
		padding: 62px 0 46px;
	}

	.tp-hero h1 {
		font-size: 2rem;
	}

	.tp-hero p {
		font-size: 1.05rem;
	}

	.tp-page-header,
	.tp-section-heading,
	.tp-hero-content,
	.tp-profile .tp-article {
		max-width: 32ch;
	}

	.tp-page-header p,
	.tp-section-heading p,
	.tp-hero p {
		overflow-wrap: break-word;
	}

	.tp-band,
	.tp-page-main {
		padding: 50px 0;
	}

	.tp-cta {
		padding: 28px;
	}

	.tp-feature-list {
		grid-template-columns: 1fr;
	}

	.tp-price-row,
	.tp-hours-row {
		grid-template-columns: 1fr;
		gap: 4px;
	}

	.tp-price-row dd,
	.tp-hours-row dd {
		text-align: left;
	}
}
