/* Layout helpers for the Pflegeteam site. Footer colors are intentionally untouched. */
.ptw-intro {
	max-width: 48rem;
	line-height: 1.45;
}

.ptw-action-row {
	gap: 0.75rem;
	margin-block: 1.5rem 2rem;
}

.ptw-action-row .wp-block-button__link {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.25rem;
}

.ptw-card-grid,
.ptw-service-grid,
.ptw-team-grid {
	align-items: stretch;
	gap: 1.25rem;
}

.ptw-contact-stack {
	display: grid;
	width: 100%;
	max-width: var(--wp--style--global--content-size);
	gap: 1.25rem;
}

.ptw-contact-intro {
	width: 100%;
	max-width: var(--wp--style--global--content-size);
}

.ptw-contact-notice {
	width: 100%;
	max-width: var(--wp--style--global--content-size);
	margin-top: 1.25rem;
	padding: 1rem 1.25rem;
	border-left: 4px solid #b51f63;
}

.ptw-contact-notice > :first-child {
	margin-top: 0;
}

.ptw-contact-notice > :last-child {
	margin-bottom: 0;
}

.ptw-contact-stack .ptw-card {
	height: auto;
}

.ptw-social-links {
	gap: 0.75rem;
	margin-top: 1rem;
}

.ptw-social-links .wp-block-social-link-anchor {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 0.625rem 0.875rem;
}

.ptw-map-link,
.ptw-map-link:visited {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	gap: 0.625rem;
	padding: 0.75rem 1rem;
	border-radius: 999px;
	background: #b51f63;
	color: #fff;
	font-size: 0.975rem;
	font-weight: 600;
	line-height: 1.25;
	text-decoration: none;
}

.ptw-map-link:hover {
	background: #8f174e;
	color: #fff;
}

.ptw-map-link svg {
	width: 24px;
	height: 24px;
	flex: 0 0 24px;
}

.ptw-card-grid,
.ptw-service-grid {
	width: min(100%, 60rem);
	max-width: 60rem !important;
}

.ptw-fact-grid {
	align-items: stretch;
	gap: 0;
	margin-block: 1.5rem;
	padding-block: 0.75rem;
	border: 1px solid rgba(95, 95, 95, 0.24);
	border-left: 4px solid #d12572;
	border-radius: 0.75rem;
}

.ptw-fact {
	display: flex;
	align-items: flex-start;
	padding: 0.5rem 1.25rem;
}

.ptw-fact + .ptw-fact {
	border-left: 1px solid rgba(95, 95, 95, 0.24);
}

.ptw-fact p {
	margin: 0;
	line-height: 1.45;
}

.ptw-fact strong {
	font-size: 1.125rem;
}

.ptw-section-action {
	margin-block: 1rem 2.5rem;
}

.ptw-section-action .wp-block-button__link {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.25rem;
}

.ptw-section-intro {
	margin-bottom: 1.5rem;
}

.ptw-steps {
	align-items: stretch;
	gap: 1.25rem;
	margin-bottom: 2.5rem;
}

.ptw-step {
	border: 1px solid rgba(95, 95, 95, 0.24);
	border-radius: 0.75rem;
	padding: clamp(1.25rem, 3vw, 2rem);
}

.ptw-step > :first-child {
	margin-top: 0;
}

.ptw-step > :last-child {
	margin-bottom: 0;
}

.ptw-step-number {
	display: grid;
	width: 2.5rem;
	height: 2.5rem;
	margin-inline: auto;
	place-items: center;
	border-radius: 50%;
	background: #d12572;
	color: #fff;
	font-weight: 700;
}

.ptw-quality-label {
	display: inline-block;
	margin-bottom: 0.75rem;
	padding: 0.375rem 0.75rem;
	border-radius: 999px;
	background: rgba(209, 37, 114, 0.12);
	color: #8f174e;
	font-size: 0.9375rem;
}

.ptw-team-grid--compact {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

.ptw-team-grid--compact .ptw-person-card {
	min-width: 0;
	padding: 1rem;
}

.ptw-team-grid--compact .ptw-person-card p {
	font-size: 0.9375rem;
	line-height: 1.45;
}

/* Give all home-page sections one shared desktop edge. Long copy stays readable. */
.home .wp-block-post-title,
.home .wp-block-post-content > * {
	box-sizing: border-box;
	width: min(100%, 60rem);
	max-width: 60rem !important;
	margin-inline: auto;
}

.home .wp-block-post-content > p {
	padding-right: 12rem;
}

.page-id-39 .wp-block-post-title,
.page-id-39 .wp-block-post-content > * {
	box-sizing: border-box;
	width: min(100%, 60rem);
	max-width: 60rem !important;
	margin-inline: auto;
}

.page-id-39 .wp-block-post-content > p {
	padding-right: 12rem;
}

.page-id-39 .ptw-intro + p {
	margin-top: 1rem;
}

/* Give every section of the privacy policy one consistent content edge. */
.page-id-13 .wp-block-post-title,
.page-id-13 .wp-block-post-content > * {
	box-sizing: border-box;
	width: min(100%, 60rem);
	max-width: 60rem !important;
	margin-inline: auto;
}

/* Keep the legal notice aligned with the other completed pages. */
.page-id-52 .wp-block-post-title,
.page-id-52 .wp-block-post-content > * {
	box-sizing: border-box;
	width: min(100%, 60rem);
	max-width: 60rem !important;
	margin-inline: auto;
}

/* Keep the About page aligned and turn its history into a readable timeline. */
.page-id-6 .wp-block-post-title,
.page-id-6 .wp-block-post-content > * {
	box-sizing: border-box;
	width: min(100%, 60rem);
	max-width: 60rem !important;
	margin-inline: auto;
}

.page-id-6 .ptw-intro + p {
	margin-top: 1rem;
}

.ptw-career-badge {
	display: flex;
	width: max-content;
	max-width: 100%;
	margin: 0 auto 1rem !important;
	padding: 0.5rem 0.875rem;
	border-radius: 999px;
	background: #d12572;
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-transform: uppercase;
	box-shadow: 0 0.35rem 0.8rem rgba(209, 37, 114, 0.22);
}

.ptw-career-badge + h2 {
	margin-top: 0;
}

.ptw-history-heading {
	margin-top: 3.5rem;
	margin-bottom: 0;
}

.ptw-history-intro {
	max-width: 48rem !important;
	margin-top: 0.75rem;
}

.ptw-timeline {
	position: relative;
	margin-block: 2rem 3.5rem;
}

.ptw-timeline::before {
	position: absolute;
	top: 1.25rem;
	bottom: 1.25rem;
	left: 1.3rem;
	width: 4px;
	border-radius: 999px;
	background: rgba(209, 37, 114, 0.25);
	content: "";
}

.ptw-timeline-item {
	position: relative;
	padding-left: 4.5rem;
	scroll-margin-top: 2rem;
}

.ptw-timeline > .ptw-timeline-item,
.ptw-timeline-item > .ptw-timeline-card {
	width: 100%;
	max-width: none !important;
	margin-inline: 0 !important;
}

.ptw-timeline-item > .ptw-timeline-year {
	margin-right: 0 !important;
	margin-left: 0 !important;
}

.ptw-timeline-item + .ptw-timeline-item {
	margin-top: 2rem;
}

.ptw-timeline-item::before {
	position: absolute;
	top: 1.25rem;
	left: 0.8rem;
	z-index: 1;
	width: 1.25rem;
	height: 1.25rem;
	box-sizing: border-box;
	border: 4px solid #fff;
	border-radius: 50%;
	background: #d12572;
	box-shadow: 0 0 0 2px #d12572;
	content: "";
}

.ptw-timeline-year {
	display: inline-block;
	margin: 0 0 0.75rem;
	padding: 0.375rem 0.75rem;
	border-radius: 999px;
	background: #d12572;
	color: #fff;
	font-family: var(--wp--preset--font-family--roboto-slab);
	font-size: 1.125rem;
	line-height: 1.25;
}

.ptw-timeline-card {
	padding: clamp(1.25rem, 3vw, 2rem);
	border: 1px solid rgba(95, 95, 95, 0.24);
	border-radius: 0.75rem;
	background: #fff;
	box-shadow: 0 0.5rem 1.5rem rgba(39, 39, 39, 0.06);
}

.ptw-timeline-card > :first-child,
.ptw-timeline-card .wp-block-column > :first-child {
	margin-top: 0;
}

.ptw-timeline-card > :last-child,
.ptw-timeline-card .wp-block-column > :last-child {
	margin-bottom: 0;
}

.ptw-timeline-card h3 {
	margin-bottom: 0;
	font-weight: 700;
	line-height: 1.25;
}

.ptw-timeline-card h3 + p,
.ptw-timeline-card h3 + .ptw-timeline-layout {
	margin-top: 1rem;
}

.ptw-timeline-layout,
.ptw-timeline-gallery {
	gap: 1.25rem;
}

.ptw-timeline-layout {
	margin-bottom: 0;
}

.ptw-timeline-gallery {
	margin-top: 1.5rem;
	margin-bottom: 0;
}

.ptw-timeline-card .wp-block-image {
	overflow: hidden;
	border-radius: 0.5rem;
}

.ptw-timeline-card .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
}

.ptw-timeline-gallery .wp-block-image img {
	height: 15rem;
	object-fit: cover;
}

.ptw-timeline-portrait,
.ptw-timeline-poster {
	max-width: 18rem;
	margin-inline: auto;
}

.ptw-timeline-card figcaption,
.ptw-team-spirit figcaption {
	margin: 0;
	padding: 0.625rem 0.75rem;
	background: rgba(209, 37, 114, 0.08);
	color: #4d4d4d;
	font-size: 0.875rem;
	line-height: 1.4;
	text-align: left;
}

.ptw-team-spirit-heading {
	margin-top: 0;
	margin-bottom: 1.5rem;
}

.ptw-team-spirit {
	gap: 1.5rem;
	margin-bottom: 1.5rem;
}

.ptw-team-spirit .wp-block-image {
	overflow: hidden;
	border-radius: 0.75rem;
}

.ptw-team-spirit .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
}

.ptw-team-spirit .wp-block-quote {
	margin: 0;
	padding: 1.25rem 1.5rem;
	border-left: 4px solid #d12572;
	background: rgba(209, 37, 114, 0.08);
}

.ptw-team-spirit .wp-block-quote p {
	margin: 0;
	font-size: 1.125rem;
	line-height: 1.55;
}

/* News overview: consistent page edge and two clear article cards. */
.page-id-59 .wp-block-post-title,
.page-id-59 .wp-block-post-content > * {
	box-sizing: border-box;
	width: min(100%, 60rem);
	max-width: 60rem !important;
	margin-inline: auto;
}

.ptw-news-intro {
	width: 100%;
	max-width: 60rem !important;
}

.ptw-news-query {
	margin-top: 2rem;
}

.ptw-news-grid {
	grid-template-columns: 1fr !important;
	gap: 1.25rem;
	padding: 0;
}

.ptw-news-card {
	height: 100%;
	box-sizing: border-box;
	padding: 1.25rem;
	border: 1px solid rgba(95, 95, 95, 0.24);
	border-radius: 0.75rem;
}

.ptw-news-card > :first-child {
	margin-top: 0;
}

.ptw-news-card > :last-child {
	margin-bottom: 0;
}

.ptw-news-image {
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 0.5rem;
}

.ptw-news-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ptw-news-grid .post-1 .ptw-news-image img {
	display: block;
	width: 100%;
	height: auto !important;
	padding: 0;
	object-fit: contain !important;
}

.ptw-news-grid .post-1 .ptw-news-image {
	box-sizing: border-box;
	aspect-ratio: auto;
	padding: clamp(1.5rem, 4vw, 2.5rem);
	background: #fff;
}

.ptw-news-date {
	margin-top: 1rem;
	font-size: var(--wp--preset--font-size--small);
}

.ptw-news-card h2 {
	box-sizing: border-box;
	width: 100%;
	max-width: none !important;
	padding-inline: max(0px, calc((100% - var(--wp--style--global--content-size)) / 2));
	margin-top: 0.5rem;
	margin-bottom: 0;
	font-size: var(--wp--preset--font-size--large);
	font-weight: 700;
	line-height: 1.25;
}

.ptw-news-card .wp-block-post-excerpt {
	margin-top: 0.875rem;
}

.ptw-news-card .wp-block-post-excerpt__more-link {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	margin-top: 0.5rem;
	font-weight: 600;
}

/* Individual news posts: remove theme whitespace and repeated post lists. */
.ptw-single {
	margin-top: 0 !important;
	padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.ptw-single-inner {
	width: min(100%, 52rem);
	max-width: 52rem !important;
	margin-inline: auto;
}

.ptw-single-inner > * {
	width: 100%;
	max-width: none !important;
}

.ptw-single-inner > .wp-block-post-title {
	margin-bottom: 0;
}

.ptw-post-meta {
	gap: 0.75rem 1.25rem;
	margin-top: 1rem;
	font-size: var(--wp--preset--font-size--small);
}

.ptw-post-meta p {
	margin: 0;
}

.ptw-single-featured {
	margin-block: 1.75rem 2rem;
	overflow: hidden;
	border-radius: 0.75rem;
}

.ptw-single-featured img {
	display: block;
	width: 100%;
	height: auto;
}

.postid-1 .ptw-single-featured {
	box-sizing: border-box;
	padding: clamp(1rem, 4vw, 2rem);
	background: #fff;
}

.postid-1 .ptw-single-featured img {
	max-width: 38rem;
	max-height: 16rem;
	margin-inline: auto;
	object-fit: contain;
}

.postid-79 .ptw-single-featured img {
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.ptw-single-content h2 {
	margin-top: 2.5rem;
}

.ptw-single-content .ptw-more-note {
	margin-bottom: 0;
}

.ptw-single-navigation {
	gap: 1.25rem;
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(95, 95, 95, 0.24);
}

/* Footer structure. Corporate background and text colors stay theme-controlled. */
.ptw-footer-inner {
	width: min(100%, 60rem);
	max-width: 60rem !important;
	margin-inline: auto;
}

.ptw-footer-grid {
	display: grid !important;
	grid-template-columns: 1fr 1.3fr 0.9fr;
	gap: clamp(1.75rem, 4vw, 3.25rem);
	margin: 0;
}

.ptw-footer-grid > .wp-block-column {
	min-width: 0;
}

.ptw-footer h3 {
	margin-top: 0;
	margin-bottom: 0.875rem;
	color: inherit;
	font-weight: 700;
	line-height: 1.25;
}

.ptw-footer-brand {
	font-size: var(--wp--preset--font-size--large);
}

.ptw-footer-grid p {
	line-height: 1.5;
}

.ptw-footer-contact-list {
	display: grid;
	gap: 0.625rem;
	margin: 0;
	font-style: normal;
}

.ptw-footer-contact-list a,
.ptw-footer-contact-list > span {
	display: flex;
	align-items: center;
	gap: 0.5625rem;
}

.ptw-footer-contact-list a::before,
.ptw-footer-social a::before {
	display: block;
	width: 1.125rem;
	height: 1.125rem;
	flex: 0 0 1.125rem;
	background: currentColor;
	content: "";
	-webkit-mask-position: center;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-position: center;
	mask-repeat: no-repeat;
	mask-size: contain;
}

.ptw-footer-contact-list a:first-child::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a8 8 0 0 0-8 8c0 5 8 12 8 12s8-7 8-12a8 8 0 0 0-8-8Zm0 11.2A3.2 3.2 0 1 1 12 6a3.2 3.2 0 0 1 0 6.4Z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a8 8 0 0 0-8 8c0 5 8 12 8 12s8-7 8-12a8 8 0 0 0-8-8Zm0 11.2A3.2 3.2 0 1 1 12 6a3.2 3.2 0 0 1 0 6.4Z'/%3E%3C/svg%3E");
}

.ptw-footer-contact-list a:nth-child(2)::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2H4.5A2.5 2.5 0 0 0 2 4.5C2 14.2 9.8 22 19.5 22a2.5 2.5 0 0 0 2.5-2.5V17l-6-1.2-1.4 2.3a15.4 15.4 0 0 1-8.7-8.7L8.2 8 7 2Z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2H4.5A2.5 2.5 0 0 0 2 4.5C2 14.2 9.8 22 19.5 22a2.5 2.5 0 0 0 2.5-2.5V17l-6-1.2-1.4 2.3a15.4 15.4 0 0 1-8.7-8.7L8.2 8 7 2Z'/%3E%3C/svg%3E");
}

.ptw-footer-contact-list a:last-child::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Zm0 3v11h16V7l-8 6L4 7Zm1.3-1L12 11l6.7-5H5.3Z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Zm0 3v11h16V7l-8 6L4 7Zm1.3-1L12 11l6.7-5H5.3Z'/%3E%3C/svg%3E");
}

.ptw-footer-contact-list .ptw-footer-hours {
	padding-left: 1.6875rem;
	font-size: 1rem;
	line-height: 1.45;
}

.ptw-footer-quicklinks {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ptw-footer-quicklinks li + li {
	margin-top: 0.5rem;
}

.ptw-footer-social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem;
	margin-top: 1.25rem;
}

.ptw-footer-social a {
	display: inline-flex;
	width: 44px;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid rgba(223, 220, 215, 0.38);
	border-radius: 999px;
	line-height: 1.2;
	text-decoration: none;
}

.ptw-footer-social a:first-child::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M14 22v-8h3l.5-3H14V9.4c0-1 .4-1.6 1.8-1.6H18V5a18 18 0 0 0-2.8-.2c-2.8 0-4.7 1.7-4.7 4.8V11H8v3h2.5v8H14Z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M14 22v-8h3l.5-3H14V9.4c0-1 .4-1.6 1.8-1.6H18V5a18 18 0 0 0-2.8-.2c-2.8 0-4.7 1.7-4.7 4.8V11H8v3h2.5v8H14Z'/%3E%3C/svg%3E");
}

.ptw-footer-social a:last-child::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' fill-rule='evenodd' d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5Zm0 2a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3H7Zm5 3a5 5 0 1 1 0 10 5 5 0 0 1 0-10Zm0 2a3 3 0 1 0 0 6 3 3 0 0 0 0-6Zm5.4-3.2a1.2 1.2 0 1 1 0 2.4 1.2 1.2 0 0 1 0-2.4Z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' fill-rule='evenodd' d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5Zm0 2a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3H7Zm5 3a5 5 0 1 1 0 10 5 5 0 0 1 0-10Zm0 2a3 3 0 1 0 0 6 3 3 0 0 0 0-6Zm5.4-3.2a1.2 1.2 0 1 1 0 2.4 1.2 1.2 0 0 1 0-2.4Z'/%3E%3C/svg%3E");
}

.ptw-footer-bottom {
	gap: 1rem;
	margin-top: 2rem;
	padding-top: 1.125rem;
	border-top: 1px solid rgba(223, 220, 215, 0.38);
}

.ptw-footer-bottom > p {
	margin: 0;
}

.ptw-footer-legal .wp-block-navigation__container {
	gap: 0.625rem 1.125rem;
}

.ptw-footer a:focus-visible {
	outline-color: currentColor;
}

.ptw-service-jump-links {
	gap: 0.75rem;
	margin-top: 1.5rem;
	margin-bottom: 0;
}

.ptw-service-jump-links .wp-block-button__link {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	padding: 0.625rem 1rem;
}

.page-id-39 .ptw-services-heading {
	margin-top: 3.5rem;
	margin-bottom: 0;
	scroll-margin-top: 2rem;
}

.page-id-39 #grundpflege,
.page-id-39 #behandlungspflege {
	scroll-margin-top: 2rem;
}

.page-id-39 .ptw-services-heading + .ptw-services-lead {
	margin-top: 0.75rem;
}

.page-id-39 .ptw-services-lead + .ptw-service-detail-grid,
.page-id-39 .ptw-services-lead + .ptw-service-detail-card,
.page-id-39 .ptw-services-heading + .ptw-card-grid {
	margin-top: 1.5rem;
}

.ptw-service-detail-grid {
	align-items: stretch;
	gap: 1.25rem;
	margin-bottom: 0;
}

.ptw-service-detail-card {
	border: 1px solid rgba(95, 95, 95, 0.24);
	border-radius: 0.75rem;
	padding: clamp(1.25rem, 3vw, 2rem);
}

.ptw-service-detail-grid > .ptw-service-detail-card {
	height: auto;
}

.ptw-service-detail-card > :first-child {
	margin-top: 0;
}

.ptw-service-detail-card > :last-child {
	margin-bottom: 0;
}

.ptw-service-detail-card h3 {
	font-weight: 700;
	line-height: 1.25;
}

.ptw-service-detail-card h3 + p {
	margin-top: 0.75rem;
}

.ptw-service-detail-card .wp-block-list {
	max-width: none !important;
}

.ptw-service-detail-card li + li {
	margin-top: 0.625rem;
}

.ptw-service-detail-card li::marker {
	color: #d12572;
}

.ptw-service-list--two-column {
	columns: 2;
	column-gap: 3rem;
}

.ptw-service-list--two-column li {
	break-inside: avoid;
}

.ptw-more-note {
	margin-block: 2.5rem;
	padding: clamp(1.25rem, 3vw, 2rem);
	border-left: 4px solid #d12572;
	border-radius: 0.25rem 0.75rem 0.75rem 0.25rem;
	background: rgba(209, 37, 114, 0.08);
}

.ptw-more-note > :first-child {
	margin-top: 0;
}

.ptw-more-note > :last-child {
	margin-bottom: 0;
}

.page-id-39 .ptw-more-note {
	margin-top: 3.5rem;
	margin-bottom: 0;
}

.ptw-more-title {
	margin-bottom: 0;
}

.ptw-more-title + p {
	margin-top: 0.5rem;
}

.page-id-39 .ptw-more-note + .ptw-cta {
	margin-top: 1.25rem;
	margin-bottom: 0;
}

.ptw-card,
.ptw-service-grid .wp-block-column,
.ptw-person-card,
.ptw-quality,
.ptw-cta {
	border: 1px solid rgba(95, 95, 95, 0.24);
	border-radius: 0.75rem;
	padding: clamp(1.25rem, 3vw, 2rem);
}

.ptw-card,
.ptw-service-grid .wp-block-column,
.ptw-person-card {
	height: 100%;
}

.ptw-card-grid > .wp-block-column,
.ptw-service-grid > .wp-block-column {
	height: auto;
}

.ptw-card > :first-child,
.ptw-service-grid .wp-block-column > :first-child,
.ptw-person-card > :first-child,
.ptw-quality > :first-child,
.ptw-cta > :first-child {
	margin-top: 0;
}

.ptw-card > :last-child,
.ptw-service-grid .wp-block-column > :last-child,
.ptw-person-card > :last-child,
.ptw-quality > :last-child,
.ptw-cta > :last-child {
	margin-bottom: 0;
}

.ptw-quality,
.ptw-cta {
	margin-block: 2.5rem;
}

.ptw-404 {
	min-height: 50vh;
	padding-block: clamp(2.5rem, 7vw, 5rem);
}

.ptw-404 > .ptw-404-card {
	position: relative;
	width: min(100%, 60rem);
	max-width: 60rem !important;
	box-sizing: border-box;
	margin-inline: auto;
	padding: clamp(1.5rem, 4vw, 3rem);
	overflow: hidden;
	border: 1px solid rgba(95, 95, 95, 0.2);
	border-radius: 1.25rem;
	background: rgba(255, 255, 255, 0.18);
	box-shadow: 0 1rem 2.5rem rgba(25, 25, 25, 0.07);
	text-align: center;
}

.ptw-404-card > * {
	width: 100%;
	max-width: 52rem !important;
	margin-inline: auto !important;
}

.ptw-404-card > .ptw-404-badge {
	width: max-content;
	max-width: 100% !important;
	margin-bottom: 0.9rem !important;
	padding: 0.45rem 0.8rem;
	border-radius: 999px;
	background: rgba(209, 37, 114, 0.12);
	color: #8f174e;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.05em;
}

.ptw-404-card h1 {
	max-width: 46rem !important;
	margin-top: 0;
	margin-bottom: 0;
}

.ptw-404-lead {
	max-width: 46rem !important;
	margin-top: 1rem !important;
}

.ptw-404-illustration {
	aspect-ratio: 16 / 9;
	margin-top: 0.75rem !important;
	margin-bottom: clamp(1.5rem, 4vw, 2.5rem) !important;
	overflow: hidden;
	border-radius: 1rem;
	background: #f1efec;
}

.ptw-404-illustration img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center bottom;
}

.ptw-404-punchline {
	box-sizing: border-box;
	padding: 1rem 1.25rem;
	border-left: 4px solid #d12572;
	border-radius: 0.25rem 0.75rem 0.75rem 0.25rem;
	background: rgba(209, 37, 114, 0.08);
	text-align: left;
}

.ptw-404-punchline p {
	margin: 0;
}

.ptw-404-actions {
	justify-content: center;
	margin-bottom: 1.25rem !important;
}

.ptw-404-routes {
	padding-top: 1.25rem;
	border-top: 1px solid rgba(95, 95, 95, 0.2);
}

.ptw-404-routes h2,
.ptw-404-routes p {
	margin-block: 0;
}

.ptw-404-routes p {
	margin-top: 0.625rem;
}

.ptw-404-routes a {
	font-weight: 600;
}

.ptw-person-card .wp-block-image {
	width: 100%;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 0.5rem;
}

.ptw-person-card .wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.ptw-person-card h3 {
	margin-top: 1rem;
	margin-bottom: 0.5rem;
}

.ptw-fact strong,
.ptw-card h3,
.ptw-step h3,
.ptw-service-grid h3,
.ptw-person-card h3 {
	font-weight: 700;
}

.ptw-card h3,
.ptw-step h3,
.ptw-service-grid h3,
.ptw-person-card h3 {
	line-height: 1.25;
}

.ptw-card h3 + p,
.ptw-step h3 + p,
.ptw-service-grid h3 + p,
.ptw-person-card h3 + p {
	margin-top: 0.75rem;
}

.ptw-fact strong {
	display: inline-block;
	margin-bottom: 0.375rem;
	color: var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--roboto-slab);
	font-size: var(--wp--preset--font-size--large);
	font-style: normal;
	font-weight: 700;
	letter-spacing: -0.5px;
	line-height: 1.25;
}

/* Compact site header. The original logo asset and aspect ratio stay unchanged. */
.ptw-header-bar {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	border-bottom: 1px solid rgba(25, 25, 25, 0.12);
}

.ptw-header-inner {
	width: min(100%, 60rem);
	max-width: 60rem !important;
	min-height: 8.5rem;
	box-sizing: border-box;
	margin-inline: auto;
	padding-block: 0.75rem !important;
}

.ptw-header-logo {
	flex: 0 0 auto;
}

.ptw-header-logo img {
	display: block;
	width: 10.9375rem;
	max-width: 100%;
	height: auto;
}

.ptw-header-nav-wrap {
	min-width: 0;
}

.ptw-header-nav {
	font-size: 1rem;
	font-weight: 500;
	text-transform: uppercase;
}

.ptw-header-nav .wp-block-navigation__container {
	gap: clamp(0.75rem, 1.6vw, 1.25rem);
}

.ptw-header-nav .wp-block-navigation-item__content {
	position: relative;
	display: inline-flex;
	min-height: 44px;
	box-sizing: border-box;
	align-items: center;
	border-radius: 0.5rem;
	transition: background-color 160ms ease, color 160ms ease;
	white-space: nowrap;
}

.ptw-header-nav .wp-block-navigation-item:not(:last-child) > .wp-block-navigation-item__content {
	padding-inline: 0.45rem;
	text-decoration: none !important;
}

.ptw-header-nav .wp-block-navigation-item:not(:last-child) > .wp-block-navigation-item__content:hover {
	background: rgba(209, 37, 114, 0.13);
	color: #8f174e;
	text-decoration: none !important;
}

.ptw-header-nav .current-menu-item:not(:last-child) > .wp-block-navigation-item__content::after,
.ptw-header-nav .wp-block-navigation-item:not(:last-child) > .wp-block-navigation-item__content[aria-current="page"]::after {
	position: absolute;
	right: 0;
	bottom: 0.25rem;
	left: 0;
	height: 3px;
	border-radius: 999px;
	background: #d12572;
	content: "";
}

.ptw-header-nav .wp-block-navigation-item:last-child > .wp-block-navigation-item__content {
	height: 46px;
	min-height: 46px;
	padding: 0.625rem 1rem;
	border-radius: 999px;
	background: #d12572;
	color: #fff;
	text-decoration: none;
}

.ptw-header-nav .wp-block-navigation-item:last-child > .wp-block-navigation-item__content:hover {
	background: #b51f63;
	color: #fff;
	text-decoration: none !important;
}

.home .ptw-cta:has(+ .ptw-steps) {
	margin-bottom: 0;
}

header .wp-block-navigation__responsive-container-open {
	display: inline-flex;
	min-width: 44px;
	min-height: 44px;
	align-items: center;
	justify-content: center;
}

main a:focus-visible,
main button:focus-visible,
header a:focus-visible,
header button:focus-visible {
	outline: 3px solid #191919;
	outline-offset: 3px;
}

@media (max-width: 781px) {
	.home .wp-block-post-content > p {
		padding-right: 0;
	}

	.ptw-footer-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.ptw-footer-bottom {
		align-items: flex-start !important;
		flex-direction: column;
	}

	.ptw-footer-legal .wp-block-navigation__container {
		align-items: flex-start;
		justify-content: flex-start;
	}

	.ptw-news-grid {
		grid-template-columns: 1fr !important;
	}

	.ptw-single-navigation {
		align-items: stretch;
		flex-direction: column;
	}

	.page-id-39 .wp-block-post-content > p {
		padding-right: 0;
	}

	.ptw-timeline::before {
		left: 0.7rem;
	}

	.ptw-timeline-item {
		padding-left: 2.5rem;
	}

	.ptw-timeline-item::before {
		left: 0.2rem;
	}

	.ptw-timeline-card {
		padding: 1.25rem;
	}

	.ptw-timeline-gallery .wp-block-image img {
		height: auto;
	}

	.ptw-service-jump-links .wp-block-button,
	.ptw-service-jump-links .wp-block-button__link {
		width: 100%;
	}

	.ptw-service-list--two-column {
		columns: 1;
	}

	.ptw-fact-grid {
		gap: 0;
	}

	.ptw-fact + .ptw-fact {
		border-top: 1px solid rgba(95, 95, 95, 0.24);
		border-left: 0;
	}

	.ptw-action-row {
		align-items: stretch;
	}

	.ptw-action-row .wp-block-button,
	.ptw-action-row .wp-block-button__link {
		width: 100%;
	}

	header .wp-block-image img {
		max-width: 220px;
		height: auto;
	}
}

@media (max-width: 900px) {
	.ptw-header-inner {
		min-height: 7rem;
	}

	.ptw-header-logo img {
		width: 9.25rem;
	}

	.ptw-header-nav-wrap {
		flex: 0 0 auto !important;
	}

	.ptw-header-nav .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none !important;
	}

	.ptw-header-nav .wp-block-navigation__responsive-container-open {
		display: inline-flex !important;
		min-height: 44px;
		align-items: center;
		gap: 0.5rem;
		padding: 0.5625rem 0.75rem;
		border: 1px solid #191919;
		border-radius: 999px;
		font-size: 1rem;
		font-weight: 500;
		text-transform: none;
	}

	.ptw-header-nav .wp-block-navigation__responsive-container-open::after {
		content: "Menü";
	}

	.ptw-header-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
		align-items: flex-start;
		gap: 1rem;
	}

	.ptw-header-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:last-child,
	.ptw-header-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:last-child > .wp-block-navigation-item__content {
		width: 100%;
	}

	.ptw-header-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:last-child > .wp-block-navigation-item__content {
		justify-content: center;
	}

	.ptw-team-grid--compact {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.ptw-header-inner {
		min-height: 6rem;
		padding-block: 0.625rem !important;
	}

	.ptw-header-logo img {
		width: 8.25rem;
	}

	.ptw-team-grid--compact {
		grid-template-columns: 1fr;
	}

	.ptw-section-action .wp-block-button,
	.ptw-section-action .wp-block-button__link {
		width: 100%;
	}
}
