html {
	scroll-behavior: smooth;
}

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	background:
		linear-gradient(180deg, #ffffff 0, #ffffff 18rem, #f6fafc 18rem, #ffffff 100%);
}

:where(a, button, input, textarea, select, summary, .wp-block-button__link):focus-visible {
	outline: 3px solid #0f766e;
	outline-offset: 3px;
}

.pft-site-header {
	backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid #d8e4ea;
	position: sticky;
	top: 0;
	z-index: 20;
}

.pft-site-header.has-white-background-color {
	background-color: rgba(255, 255, 255, 0.92) !important;
}

.pft-logo-mark,
.pft-brand img {
	border-radius: 6px;
	display: block;
	height: 48px;
	width: 48px;
}

.pft-logo-mark {
	background: #fff url("../img/logo.png") center / cover no-repeat;
	flex: 0 0 48px;
}

.pft-brand-name {
	line-height: 1.1;
}

.pft-brand-subtitle {
	color: #5a6b78;
	font-size: 0.82rem;
	line-height: 1.2;
}

.pft-header-search .wp-block-search__inside-wrapper {
	border: 1px solid #d8e4ea;
	border-radius: 999px;
	overflow: hidden;
}

.pft-header-search .wp-block-search__input {
	min-width: 12rem;
}

.pft-header-search .wp-block-search__button {
	border-radius: 999px;
	margin: 3px;
	padding: 0.45rem 0.85rem;
}

.pft-hero {
	background:
		radial-gradient(circle at 88% 18%, rgba(15, 118, 110, 0.18), transparent 26rem),
		radial-gradient(circle at 8% 85%, rgba(18, 48, 71, 0.09), transparent 30rem),
		linear-gradient(135deg, #ffffff 0%, #f3f7fa 50%, #e6f7f8 100%);
	border-bottom: 1px solid #d8e4ea;
	overflow: hidden;
	position: relative;
}

.pft-hero::before {
	background-image:
		linear-gradient(rgba(18, 48, 71, 0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(18, 48, 71, 0.06) 1px, transparent 1px);
	background-size: 44px 44px;
	content: "";
	inset: 0;
	mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
	opacity: 0.6;
	pointer-events: none;
	position: absolute;
}

.pft-hero > * {
	position: relative;
	z-index: 1;
}

.pft-hero-copy {
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(216, 228, 234, 0.82);
	border-radius: 14px;
	box-shadow: 0 24px 80px rgba(18, 48, 71, 0.09);
	padding: clamp(1.25rem, 3vw, 2.5rem);
}

.pft-hero-copy h1 {
	font-size: 2.45rem !important;
	letter-spacing: 0;
	hyphens: none;
	overflow-wrap: normal;
	word-break: normal;
}

.pft-hero-visual {
	border-radius: 18px;
	box-shadow: 0 28px 80px rgba(18, 48, 71, 0.16);
	overflow: hidden;
	transform: rotate(0.8deg);
}

.pft-hero-visual img {
	aspect-ratio: 16 / 10;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.pft-card,
.pft-topic-card,
.pft-practice-card,
.pft-ai-card,
.pft-download-card {
	border: 1px solid #d8e4ea;
	border-radius: 8px;
	background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 252, 0.72));
	box-shadow: 0 14px 36px rgba(18, 48, 71, 0.07);
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.pft-card-image {
	border-radius: 8px;
	overflow: hidden;
}

.pft-card-image img {
	display: block;
	object-fit: cover;
	transition: transform 220ms ease;
	width: 100%;
}

.pft-card:hover .pft-card-image img {
	transform: scale(1.025);
}

/* Keep compact article-card titles readable without splitting Dutch compounds. */
.pft-card .wp-block-post-title {
	font-size: 1rem !important;
	hyphens: none !important;
	overflow-wrap: normal !important;
	word-break: normal !important;
}

.pft-topic-card:hover,
.pft-practice-card:hover,
.pft-card:hover {
	border-color: #9fcbd0;
	box-shadow: 0 16px 36px rgba(18, 48, 71, 0.09);
	transform: translateY(-2px);
}

.pft-topic-icon {
	align-items: center;
	background:
		linear-gradient(135deg, #e6f7f8, #ffffff);
	border: 1px solid rgba(15, 118, 110, 0.16);
	border-radius: 999px;
	color: #0f766e;
	display: inline-flex;
	font-weight: 760;
	height: 2.4rem;
	justify-content: center;
	width: 2.4rem;
}

.pft-section-kicker,
.pft-badge,
.taxonomy-category a,
.taxonomy-post_tag a {
	background: #e6f7f8;
	border-radius: 999px;
	color: #0f766e;
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 760;
	letter-spacing: 0.02em;
	padding: 0.22rem 0.58rem;
	text-transform: uppercase;
}

.pft-practical-band {
	background:
		radial-gradient(circle at 12% 18%, rgba(230, 247, 248, 0.16), transparent 22rem),
		linear-gradient(135deg, #123047, #0d263a 58%, #0f766e);
	color: #fff;
}

.pft-practical-band a {
	color: #fff;
}

.pft-practical-band .pft-practice-card {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.18);
	box-shadow: none;
}

.pft-meta,
.wp-block-post-date,
.wp-block-post-terms {
	color: #5a6b78;
	font-size: 0.92rem;
}

.pft-archive-back-link {
	font-size: 0.95rem;
	margin-bottom: 1rem !important;
}

.pft-archive-back-link a {
	color: #123047;
	font-weight: 700;
}

.pft-article-shell {
	padding-bottom: clamp(3rem, 6vw, 5rem);
	padding-top: clamp(2rem, 5vw, 4rem);
}

.pft-article-content :where(p, li) {
	max-width: 800px;
}

.pft-article-content table {
	display: block;
	max-width: 100%;
	overflow-x: auto;
	white-space: nowrap;
}

.pft-article-content th {
	background: #f3f7fa;
}

.pft-article-content th,
.pft-article-content td {
	border: 1px solid #d8e4ea;
	padding: 0.65rem 0.8rem;
}

.pft-formula,
.pft-source-note,
.pft-practice-point,
.pft-warning,
.pft-clinical-relevance,
.pft-ai-summary,
.pft-disclaimer {
	border: 1px solid #d8e4ea;
	border-left-width: 5px;
	border-radius: 8px;
	padding: 1rem 1.15rem;
}

.pft-practice-point {
	background: #e6f7f8;
	border-left-color: #0f766e;
}

.pft-warning {
	background: #fff7e6;
	border-left-color: #b7791f;
}

.pft-source-note {
	background: #f3f7fa;
	border-left-color: #5a6b78;
	color: #40515d;
}

.pft-clinical-relevance {
	background: #ffffff;
	border-left-color: #123047;
}

.pft-ai-summary,
.pft-disclaimer {
	background: #f3fbfd;
	border-left-color: #2b8ab3;
}

.pft-ai-meta {
	display: grid;
	gap: 0.75rem;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.pft-ai-meta div {
	background: #fff;
	border: 1px solid #d8e4ea;
	border-radius: 6px;
	padding: 0.75rem;
}

.pft-footer {
	border-top: 1px solid #d8e4ea;
}

.pft-knowledge-image {
	border: 1px solid #d8e4ea;
	border-radius: 14px;
	box-shadow: 0 22px 60px rgba(18, 48, 71, 0.12);
	overflow: hidden;
}

.pft-knowledge-image img {
	aspect-ratio: 3 / 2;
	display: block;
	object-fit: cover;
	width: 100%;
}

.pft-external-sources {
	border-top: 1px solid #d8e4ea;
	margin-top: clamp(3rem, 6vw, 5rem);
	padding-top: clamp(3rem, 6vw, 5rem);
}

.pft-external-source-card {
	background: #f3f7fa;
	border: 1px solid #d8e4ea;
	border-left: 4px solid #0f766e;
	border-radius: 8px;
	margin-bottom: 1rem;
	padding: 1.15rem;
}

.pft-external-source-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.pft-external-source-meta {
	color: #5a6b78;
	font-size: 0.84rem;
	font-weight: 700;
	margin: 0 0 0.45rem;
}

.pft-external-source-card h3 {
	font-size: 1.15rem !important;
	margin-top: 0;
}

.pft-external-source-card li + li {
	margin-top: 0.9rem;
}

.pft-external-source-card small {
	color: #5a6b78;
	font-size: 0.84rem;
}

.pft-resource-card {
	background: #ffffff;
	border: 1px solid #d8e4ea;
	border-radius: 8px;
	margin-bottom: 0.9rem;
	padding: 1rem 1.15rem;
}

.pft-resource-card h4 {
	font-size: 1.02rem !important;
	line-height: 1.3;
	margin: 0 0 0.35rem;
}

.pft-resource-card p {
	color: #40515d;
	font-size: 0.94rem;
	margin: 0;
}

.pft-contact-card,
.pft-contact-about {
	height: 100%;
}

.pft-contact-about {
	background: #e6f7f8;
	border-left: 5px solid #0f766e;
	border-radius: 8px;
	padding: clamp(1.5rem, 3vw, 2.5rem);
}

.pft-contact-art {
	margin-top: 1rem;
}

.pft-profile-image {
	margin: 0;
}

.pft-profile-image img {
	aspect-ratio: 1;
	border: 1px solid #d8e4ea;
	border-radius: 8px;
	display: block;
	object-fit: cover;
	width: 100%;
}

.pft-contact-section {
	max-width: 760px;
}

@media (max-width: 780px) {
	.pft-site-header {
		position: static;
	}

	.pft-header-search {
		width: 100%;
	}

	.pft-header-search .wp-block-search__input {
		min-width: 0;
	}

	.pft-hero-copy {
		padding: 1.1rem;
	}

	.pft-hero-copy h1 {
		font-size: 2rem !important;
	}

	.pft-hero-visual {
		transform: none;
	}

	/* The core Navigation overlay must remain fully usable on short screens. */
	.wp-block-navigation__responsive-container.is-menu-open {
		padding: 1rem;
	}

	.wp-block-navigation__responsive-container-content {
		align-items: stretch;
		max-height: calc(100dvh - 2rem);
		overflow-y: auto;
		padding: 3.5rem 0 1.5rem;
	}

	.wp-block-navigation__responsive-container-content .wp-block-navigation__container {
		align-items: stretch;
		gap: 0.35rem;
		width: 100%;
	}

	.wp-block-navigation__responsive-container-content .wp-block-navigation-item {
		width: 100%;
	}

	.wp-block-navigation__responsive-container-content .wp-block-navigation-item__content {
		display: block;
		padding: 0.75rem 0;
	}
}
