/*
 * PH – Městské stránky 1.1.0
 * Vše je schválně pod .phm-city-active / .phm-city-page, aby starší globální
 * CSS webu nemohlo nový vzhled rozhodit a plugin neovlivnil jiné stránky.
 */

:root {
	--phm-yellow: #f5b400;
	--phm-yellow-light: #ffc928;
	--phm-ink: #090909;
	--phm-ink-soft: #171717;
	--phm-paper: #f7f3ec;
	--phm-paper-dark: #e8dfd2;
	--phm-white: #fff;
	--phm-shadow: 10px 10px 0 rgba(9, 9, 9, .1);
}

body.phm-city-active {
	background: var(--phm-paper-dark) !important;
}

.phm-city-active .entry-hero.page-hero-section {
	display: none !important;
}

.phm-city-active .content-area {
	margin: 24px 0 72px !important;
	padding: 0 !important;
}

.phm-city-active .content-container.site-container {
	width: min(100%, 1240px) !important;
	max-width: 1240px !important;
	padding: 0 24px !important;
}

.phm-city-active .site-main,
.phm-city-active .content-wrap,
.phm-city-active .entry-content,
.phm-city-active .entry-content-wrap {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.phm-city-active article.single-entry {
	background: transparent !important;
	box-shadow: none !important;
}

.phm-city-page,
.phm-city-page * {
	box-sizing: border-box;
}

.phm-city-page {
	position: relative;
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	color: var(--phm-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Starší stránky mají jeden obal, Dvůr Králové dva. Oba se bezpečně rozpustí. */
.phm-city-page > .ph-city-page,
.phm-city-page .ph-city-page {
	display: contents !important;
	max-width: none !important;
	margin: 0 !important;
}

.phm-city-page a:focus-visible {
	outline: 3px solid var(--phm-yellow-light) !important;
	outline-offset: 4px;
}

/* =========================================================
   HERO – stejný rukopis jako úvodní stránka
   ========================================================= */

.phm-hero {
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-columns: minmax(0, 1.28fr) minmax(315px, .72fr);
	min-height: 500px;
	margin: 0 0 20px !important;
	padding: clamp(58px, 6vw, 78px) clamp(32px, 5vw, 62px) 44px;
	overflow: hidden;
	background: var(--phm-paper);
	border: 2px solid var(--phm-ink);
	box-shadow: var(--phm-shadow);
}

.phm-hero::before,
.phm-services::before,
.phm-city-nav::before {
	content: "";
	position: absolute;
	z-index: 8;
	top: 0;
	left: 0;
	right: 0;
	height: 12px;
	background: repeating-linear-gradient(135deg, var(--phm-yellow) 0 15px, var(--phm-ink) 15px 29px);
	border-bottom: 2px solid var(--phm-ink);
}

.phm-hero::after {
	content: "";
	position: absolute;
	z-index: -1;
	top: 12px;
	right: -80px;
	bottom: 0;
	width: 43%;
	background:
		linear-gradient(145deg, rgba(245, 180, 0, .12), transparent 42%),
		var(--phm-ink);
	clip-path: polygon(17% 0, 100% 0, 100% 100%, 0 100%);
}

.phm-hero-copy {
	position: relative;
	z-index: 3;
	align-self: center;
	padding-right: clamp(10px, 3vw, 44px);
}

.phm-kicker,
.phm-nav-kicker {
	display: inline-block;
	margin: 0 0 18px !important;
	padding: 9px 14px 8px;
	color: var(--phm-ink) !important;
	background: var(--phm-yellow);
	border: 2px solid var(--phm-ink);
	box-shadow: 5px 5px 0 rgba(9, 9, 9, .14);
	font-size: 13px !important;
	line-height: 1 !important;
	font-weight: 950 !important;
	letter-spacing: .055em !important;
	text-transform: uppercase !important;
	transform: rotate(-.7deg);
}

.phm-hero h1 {
	max-width: 760px;
	margin: 0 0 22px !important;
	color: var(--phm-ink) !important;
	font-size: clamp(40px, 5.4vw, 70px) !important;
	line-height: .91 !important;
	font-weight: 950 !important;
	letter-spacing: -.045em !important;
	text-transform: uppercase !important;
	text-wrap: balance;
	text-shadow: 3px 3px 0 rgba(245, 180, 0, .23);
}

.phm-hero-lead {
	max-width: 720px;
	margin: 0 !important;
	padding-left: 17px;
	border-left: 6px solid var(--phm-yellow);
	color: #262626 !important;
	font-size: clamp(16px, 1.5vw, 19px) !important;
	line-height: 1.55 !important;
	font-weight: 720 !important;
}

.phm-hero-lead p {
	margin: 0 !important;
	color: inherit !important;
	font: inherit !important;
}

.phm-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.phm-btn,
.phm-city-page .ph-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 54px !important;
	padding: 13px 23px !important;
	border: 2px solid var(--phm-ink) !important;
	border-radius: 0 !important;
	box-shadow: 6px 6px 0 rgba(9, 9, 9, .17) !important;
	font-size: 13px !important;
	line-height: 1.1 !important;
	font-weight: 950 !important;
	letter-spacing: .035em !important;
	text-decoration: none !important;
	text-transform: uppercase !important;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease !important;
}

.phm-btn::after {
	content: "→";
	margin-left: 13px;
	font-size: 18px;
	line-height: 1;
}

.phm-btn-primary,
.phm-city-page .ph-btn-main {
	color: var(--phm-ink) !important;
	background: var(--phm-yellow) !important;
}

.phm-btn-dark {
	color: var(--phm-yellow) !important;
	background: var(--phm-ink) !important;
}

.phm-btn:hover,
.phm-city-page .ph-btn:hover {
	transform: translate(-2px, -2px) !important;
	box-shadow: 9px 9px 0 rgba(9, 9, 9, .18) !important;
}

.phm-btn-dark:hover {
	color: var(--phm-ink) !important;
	background: var(--phm-yellow-light) !important;
}

.phm-hero-visual {
	position: relative;
	z-index: 2;
	min-height: 390px;
	align-self: end;
}

.phm-hero-visual img {
	position: absolute;
	z-index: 2;
	right: -46px;
	bottom: -52px;
	width: min(470px, 124%);
	height: auto;
	max-width: none !important;
	filter: drop-shadow(8px 10px 0 rgba(245, 180, 0, .16));
	transform: rotate(.5deg);
}

.phm-hero-stamp {
	position: absolute;
	z-index: 5;
	top: 8px;
	right: -20px;
	padding: 10px 15px 9px;
	color: var(--phm-ink);
	background: var(--phm-yellow);
	border: 2px solid var(--phm-ink);
	box-shadow: 6px 6px 0 rgba(245, 180, 0, .14);
	font-size: 12px;
	line-height: 1;
	font-weight: 950;
	letter-spacing: .05em;
	text-transform: uppercase;
	transform: rotate(1deg);
}

.phm-hero-proof {
	position: absolute;
	z-index: 5;
	right: -18px;
	bottom: 0;
	min-width: 235px;
	padding: 12px 16px 11px;
	color: var(--phm-ink);
	background: var(--phm-paper);
	border: 3px solid var(--phm-yellow);
	box-shadow: 7px 7px 0 rgba(9, 9, 9, .33);
	transform: rotate(-1deg);
}

.phm-hero-proof strong,
.phm-hero-proof span {
	display: block;
}

.phm-hero-proof strong {
	font-size: 18px;
	line-height: 1.08;
	font-weight: 950;
	text-transform: uppercase;
}

.phm-hero-proof span {
	margin-top: 3px;
	font-size: 11px;
	font-weight: 850;
	letter-spacing: .04em;
	text-transform: uppercase;
}

/* =========================================================
   REALIZACE – stejný živý třífotkový panel jako na úvodu
   ========================================================= */

.phm-realizace-showcase {
	position: relative;
	isolation: isolate;
	width: calc(100% - 72px);
	max-width: 860px;
	margin: clamp(40px, 4vw, 56px) auto clamp(204px, 17vw, 220px) !important;
	overflow: visible;
}

.phm-realizace-showcase::before,
.phm-realizace-showcase::after {
	content: "";
	position: absolute;
	z-index: 1;
	height: 18px;
	background: repeating-linear-gradient(135deg, var(--phm-yellow) 0 15px, var(--phm-ink) 15px 25px);
	border: 2px solid var(--phm-ink);
	box-shadow: 4px 4px 0 rgba(245, 180, 0, .22);
	pointer-events: none;
}

.phm-realizace-showcase::before {
	top: -10px;
	left: -10px;
	width: calc(100% + 20px);
	height: calc(100% + 20px);
	box-shadow: 6px 7px 0 rgba(245, 180, 0, .2);
	transform: rotate(-.75deg);
}

.phm-realizace-showcase::after {
	right: 6%;
	bottom: -19px;
	width: 116px;
	height: 15px;
	transform: rotate(-3deg);
}

.phm-realizace-frame {
	position: relative;
	z-index: 2;
	padding: 7px;
	overflow: visible;
	background: var(--phm-ink);
	border: 3px solid var(--phm-yellow);
	border-radius: 2px;
	box-shadow: 8px 10px 0 var(--phm-ink), 14px 16px 0 rgba(245, 180, 0, .24);
	transform: rotate(-1.7deg);
	transform-origin: center;
}

.phm-realizace-showcase .phras-story-slider {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	border: 0 !important;
	box-shadow: none !important;
	overflow: visible !important;
}

.phm-realizace-showcase :is(.phras-story-prev, .phras-story-next) {
	width: 52px;
	height: 58px;
	color: var(--phm-yellow);
	background: rgba(9, 9, 9, .82);
	border: 3px solid var(--phm-yellow);
	border-radius: 0;
}

.phm-realizace-showcase :is(.phras-story-prev, .phras-story-next):hover {
	color: var(--phm-ink);
	background: var(--phm-yellow);
}

.phm-realizace-showcase .phras-story-prev {
	clip-path: polygon(0 10px, 100% 0, 100% 100%, 0 calc(100% - 10px));
}

.phm-realizace-showcase .phras-story-next {
	clip-path: polygon(0 0, 100% 10px, 100% calc(100% - 10px), 0 100%);
}

/* =========================================================
   PŮVODNÍ MÍSTNÍ TEXT – obsah zůstává, mění se jen kabát
   ========================================================= */

.phm-city-page [data-phm-section="article"] {
	position: relative;
	margin: 34px 0 !important;
	padding: clamp(30px, 5vw, 58px) !important;
	background: var(--phm-paper) !important;
	border: 1px solid rgba(9, 9, 9, .15) !important;
	border-top: 7px solid var(--phm-yellow) !important;
	box-shadow: var(--phm-shadow) !important;
}

.phm-city-page [data-phm-section="article"] > :last-child {
	margin-bottom: 0 !important;
}

.phm-city-page [data-phm-section="article"] p {
	max-width: 990px;
	margin: 0 0 20px !important;
	color: #202020 !important;
	font-size: 17px !important;
	line-height: 1.72 !important;
}

.phm-city-page [data-phm-section="article"] strong {
	color: var(--phm-ink) !important;
	font-weight: 900 !important;
}

.phm-city-page [data-phm-section="article"] .ph-story-lead {
	max-width: none;
	margin: -10px 0 36px !important;
	padding: 24px 26px !important;
	color: var(--phm-white) !important;
	background: var(--phm-ink) !important;
	border: 0 !important;
	border-left: 8px solid var(--phm-yellow) !important;
	box-shadow: 7px 7px 0 rgba(245, 180, 0, .16) !important;
	font-size: clamp(18px, 2vw, 22px) !important;
	line-height: 1.5 !important;
	font-weight: 740 !important;
}

.phm-city-page [data-phm-section="article"] .ph-story-lead strong {
	color: var(--phm-yellow) !important;
}

.phm-city-page [data-phm-section="article"] h2 {
	display: table !important;
	max-width: 900px;
	margin: 44px 0 20px !important;
	padding: 10px 16px 11px !important;
	color: var(--phm-yellow) !important;
	background: var(--phm-ink) !important;
	border: 0 !important;
	box-shadow: 7px 7px 0 rgba(245, 180, 0, .2) !important;
	font-size: clamp(25px, 3vw, 36px) !important;
	line-height: 1.04 !important;
	font-weight: 950 !important;
	letter-spacing: -.025em !important;
	text-transform: uppercase !important;
	transform: rotate(-.45deg);
	text-wrap: balance;
}

.phm-city-page [data-phm-section="article"] h2:first-of-type {
	margin-top: 26px !important;
}

.phm-city-page [data-phm-section="article"] h3 {
	margin: 28px 0 10px !important;
	padding: 13px 16px !important;
	color: var(--phm-ink) !important;
	background: #fff6da !important;
	border: 1px solid rgba(9, 9, 9, .15) !important;
	border-left: 6px solid var(--phm-yellow) !important;
	font-size: 19px !important;
	line-height: 1.25 !important;
	font-weight: 900 !important;
}

.phm-city-page .ph-story-note {
	margin: 26px 0 32px !important;
	padding: 20px 22px !important;
	color: var(--phm-ink) !important;
	background: #fff1c0 !important;
	border: 1px solid rgba(9, 9, 9, .14) !important;
	border-left: 7px solid var(--phm-yellow) !important;
	box-shadow: 5px 5px 0 rgba(9, 9, 9, .07) !important;
	font-size: 16px !important;
	line-height: 1.6 !important;
	font-weight: 780 !important;
}

.phm-city-page .ph-process-list {
	display: grid !important;
	grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
	gap: 12px !important;
	counter-reset: phm-step;
	margin: 26px 0 42px !important;
	padding: 0 !important;
	list-style: none !important;
}

.phm-city-page .ph-process-list li {
	position: relative !important;
	min-height: 155px !important;
	margin: 0 !important;
	padding: 54px 15px 16px !important;
	color: rgba(255, 255, 255, .9) !important;
	background: var(--phm-ink) !important;
	border: 1px solid rgba(245, 180, 0, .44) !important;
	box-shadow: 5px 5px 0 rgba(9, 9, 9, .12) !important;
	font-size: 13px !important;
	line-height: 1.45 !important;
}

.phm-city-page .ph-process-list li::before {
	counter-increment: phm-step;
	content: "0" counter(phm-step);
	position: absolute;
	top: 13px;
	left: 14px;
	width: auto !important;
	height: auto !important;
	color: var(--phm-yellow) !important;
	background: transparent !important;
	border: 0 !important;
	font-size: 28px !important;
	line-height: 1 !important;
	font-weight: 950 !important;
	transform: none !important;
}

.phm-city-page .ph-process-list li strong {
	display: block !important;
	margin-bottom: 5px;
	color: var(--phm-yellow) !important;
	font-size: 14px !important;
	line-height: 1.15 !important;
	text-transform: uppercase;
}

/* =========================================================
   PROČ MY – skutečný blok z rukopisu úvodní stránky
   ========================================================= */

.phm-city-page [data-phm-section="why"] {
	position: relative !important;
	margin: 42px 0 !important;
	padding: 28px 32px 34px !important;
	overflow: visible !important;
	color: var(--phm-white) !important;
	background: var(--phm-ink) !important;
	border: 1px solid rgba(255, 255, 255, .1) !important;
	border-left: 9px solid var(--phm-yellow) !important;
	border-radius: 0 !important;
	box-shadow: 0 18px 35px rgba(9, 9, 9, .24) !important;
}

.phm-why-head {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	min-height: 218px;
	margin: -18px 0 12px;
}

.phm-why-head img {
	position: absolute;
	z-index: 1;
	top: -2px;
	left: 50%;
	width: min(580px, 96%);
	height: auto;
	max-width: none !important;
	transform: translateX(-50%);
	filter: drop-shadow(5px 7px 0 rgba(245, 180, 0, .12));
}

.phm-section-title {
	position: relative;
	z-index: 3;
	display: inline-flex;
	margin: 0 !important;
	transform: translateY(-38px);
}

.phm-section-title span {
	margin: 0 !important;
	padding: 10px 18px 11px !important;
	color: var(--phm-ink) !important;
	background: var(--phm-yellow) !important;
	border: 3px solid var(--phm-ink) !important;
	box-shadow: 7px 7px 0 rgba(245, 180, 0, .18) !important;
	font-size: 30px !important;
	line-height: 1 !important;
	font-weight: 950 !important;
	text-transform: uppercase !important;
	transform: rotate(-.6deg);
}

.phm-city-page [data-phm-section="why"] .ph-why-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 14px !important;
}

.phm-city-page [data-phm-section="why"] .ph-why-card {
	min-height: 145px !important;
	padding: 18px !important;
	color: var(--phm-white) !important;
	background: rgba(255, 255, 255, .06) !important;
	border: 1px solid rgba(255, 255, 255, .13) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	transition: transform .18s ease, background .18s ease, border-color .18s ease !important;
}

.phm-city-page [data-phm-section="why"] .ph-why-card:hover {
	background: rgba(255, 255, 255, .1) !important;
	border-color: rgba(245, 180, 0, .55) !important;
	transform: translateY(-3px) !important;
}

.phm-city-page [data-phm-section="why"] .ph-why-card h3 {
	margin: 0 0 8px !important;
	padding: 0 !important;
	color: var(--phm-yellow) !important;
	background: transparent !important;
	border: 0 !important;
	font-size: 16px !important;
	line-height: 1.15 !important;
	font-weight: 950 !important;
	text-transform: uppercase !important;
}

.phm-city-page [data-phm-section="why"] .ph-why-card p {
	margin: 0 !important;
	color: rgba(255, 255, 255, .88) !important;
	font-size: 14px !important;
	line-height: 1.5 !important;
}

/* =========================================================
   ROZSAH SLUŽEB – stejné kresby a stejný vizuál jako na úvodu
   ========================================================= */

.phm-services {
	position: relative;
	margin: 42px 0 !important;
	padding: 52px 34px 38px !important;
	overflow: hidden;
	background: var(--phm-paper) !important;
	border: 1px solid rgba(9, 9, 9, .14) !important;
	box-shadow: var(--phm-shadow) !important;
}

.phm-section-head h2 {
	display: table !important;
	margin: 0 0 20px !important;
	padding: 11px 18px 12px !important;
	color: var(--phm-yellow) !important;
	background: var(--phm-ink) !important;
	box-shadow: 8px 8px 0 rgba(245, 180, 0, .25) !important;
	font-size: clamp(28px, 4vw, 42px) !important;
	line-height: 1 !important;
	font-weight: 950 !important;
	letter-spacing: -.025em !important;
	text-transform: uppercase !important;
	transform: rotate(-.7deg);
}

.phm-section-head p {
	max-width: 820px;
	margin: 0 0 30px !important;
	padding-left: 15px;
	color: #222 !important;
	border-left: 6px solid var(--phm-yellow);
	font-size: 17px !important;
	line-height: 1.55 !important;
	font-weight: 800 !important;
}

.phm-service-grid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 16px !important;
}

.phm-service-card {
	position: relative;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: space-between !important;
	min-height: 205px !important;
	padding: 14px 12px 17px !important;
	overflow: hidden;
	text-align: center !important;
	background: linear-gradient(180deg, var(--phm-paper) 0%, #f2eadc 100%) !important;
	border: 2px solid rgba(9, 9, 9, .14) !important;
	border-bottom: 5px solid var(--phm-yellow) !important;
	box-shadow: 6px 6px 0 rgba(9, 9, 9, .08) !important;
	transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease !important;
}

.phm-service-card img {
	display: block !important;
	width: 140px !important;
	height: 140px !important;
	max-width: 140px !important;
	margin: -5px auto 4px !important;
	object-fit: contain !important;
	filter: drop-shadow(4px 5px 0 rgba(9, 9, 9, .16));
	transition: transform .22s ease, filter .22s ease !important;
}

.phm-service-card h3 {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	color: var(--phm-ink) !important;
	background: transparent !important;
	border: 0 !important;
	font-size: 14px !important;
	line-height: 1.18 !important;
	font-weight: 950 !important;
	letter-spacing: .01em !important;
	text-transform: uppercase !important;
}

.phm-service-card:hover {
	background: var(--phm-ink) !important;
	border-color: var(--phm-yellow) !important;
	box-shadow: 9px 9px 0 rgba(245, 180, 0, .35) !important;
	transform: translateY(-4px) rotate(-.35deg) !important;
}

.phm-service-card:hover img {
	filter: drop-shadow(5px 6px 0 rgba(245, 180, 0, .22));
	transform: scale(1.08) rotate(-2deg) !important;
}

.phm-service-card:hover h3 {
	color: var(--phm-yellow) !important;
}

/* =========================================================
   PROPOJENÍ MĚST – interní odkazy zůstávají přehledné
   ========================================================= */

.phm-city-nav {
	position: relative;
	margin: 42px 0 !important;
	padding: 52px 30px 32px !important;
	color: var(--phm-white);
	background: var(--phm-ink);
	border: 2px solid var(--phm-ink);
	box-shadow: 10px 10px 0 rgba(9, 9, 9, .11);
}

.phm-city-nav-copy {
	display: grid;
	grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
	column-gap: 32px;
	align-items: end;
	margin-bottom: 24px;
}

.phm-city-nav .phm-nav-kicker {
	grid-column: 1 / -1;
	justify-self: start;
	margin-bottom: 13px !important;
}

.phm-city-nav h2 {
	margin: 0 !important;
	color: var(--phm-white) !important;
	font-size: clamp(27px, 3.6vw, 42px) !important;
	line-height: 1 !important;
	font-weight: 950 !important;
	letter-spacing: -.025em !important;
	text-transform: uppercase !important;
	text-wrap: balance;
}

.phm-city-nav p {
	margin: 0 !important;
	padding-left: 16px;
	color: rgba(255, 255, 255, .82) !important;
	border-left: 5px solid var(--phm-yellow);
	font-size: 15px !important;
	line-height: 1.55 !important;
}

.phm-city-links {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}

.phm-city-links a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 9px 10px;
	color: var(--phm-ink) !important;
	background: var(--phm-yellow) !important;
	border: 2px solid var(--phm-yellow) !important;
	box-shadow: 4px 4px 0 rgba(255, 255, 255, .11);
	font-size: 12px !important;
	line-height: 1.15 !important;
	font-weight: 950 !important;
	text-align: center !important;
	text-decoration: none !important;
	transition: transform .17s ease, background .17s ease, color .17s ease !important;
}

.phm-city-links a:hover,
.phm-city-links a.is-current {
	color: var(--phm-yellow) !important;
	background: var(--phm-ink) !important;
	transform: translateY(-2px);
}

.phm-city-links a.is-current {
	border-color: var(--phm-white) !important;
	box-shadow: inset 0 0 0 1px var(--phm-yellow), 4px 4px 0 rgba(245, 180, 0, .18);
}

/* =========================================================
   ZÁVĚREČNÁ VÝZVA
   ========================================================= */

.phm-city-page [data-phm-section="contact"] {
	position: relative !important;
	margin: 42px 0 0 !important;
	padding: clamp(30px, 5vw, 54px) !important;
	overflow: hidden;
	color: var(--phm-white) !important;
	background:
		linear-gradient(135deg, rgba(245, 180, 0, .07), transparent 45%),
		var(--phm-ink) !important;
	border: 2px solid var(--phm-ink) !important;
	border-left: 11px solid var(--phm-yellow) !important;
	border-radius: 0 !important;
	box-shadow: 0 20px 44px rgba(9, 9, 9, .24) !important;
	text-align: left !important;
}

.phm-city-page [data-phm-section="contact"]::after {
	content: "PH";
	position: absolute;
	right: -14px;
	bottom: -48px;
	color: rgba(245, 180, 0, .07);
	font-size: 180px;
	line-height: 1;
	font-weight: 950;
	pointer-events: none;
}

.phm-city-page [data-phm-section="contact"] h2 {
	position: relative;
	z-index: 2;
	max-width: 800px;
	margin: 0 0 14px !important;
	color: var(--phm-white) !important;
	font-size: clamp(30px, 4.4vw, 48px) !important;
	line-height: .98 !important;
	font-weight: 950 !important;
	letter-spacing: -.035em !important;
	text-transform: uppercase !important;
	text-wrap: balance;
	text-shadow: 3px 3px 0 rgba(245, 180, 0, .15);
}

.phm-city-page [data-phm-section="contact"] p {
	position: relative;
	z-index: 2;
	max-width: 760px;
	margin: 0 0 24px !important;
	color: rgba(255, 255, 255, .87) !important;
	font-size: 17px !important;
	line-height: 1.55 !important;
}

.phm-city-page [data-phm-section="contact"] .ph-btn {
	position: relative;
	z-index: 2;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1020px) {
	.phm-hero {
		grid-template-columns: minmax(0, 1.15fr) minmax(270px, .85fr);
		min-height: 480px;
		padding-right: 34px;
	}

	.phm-hero h1 {
		font-size: clamp(38px, 6vw, 58px) !important;
	}

	.phm-hero-visual img {
		right: -62px;
		width: 430px;
	}

	.phm-city-page .ph-process-list {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}

	.phm-city-page [data-phm-section="why"] .ph-why-grid,
	.phm-service-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}

	.phm-city-links {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* =========================================================
   MOBIL
   ========================================================= */

@media (max-width: 760px) {
	.phm-city-active .content-area {
		margin-top: 10px !important;
		margin-bottom: 40px !important;
	}

	.phm-city-active .content-container.site-container {
		padding: 0 12px !important;
	}

	.phm-hero {
		grid-template-columns: 1fr;
		min-height: 0;
		padding: 48px 20px 0;
	}

	.phm-hero::after {
		top: auto;
		right: 0;
		bottom: 0;
		left: 0;
		width: auto;
		height: 315px;
		clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%);
	}

	.phm-hero-copy {
		padding: 0;
	}

	.phm-kicker {
		font-size: 11px !important;
	}

	.phm-hero h1 {
		font-size: clamp(36px, 11vw, 54px) !important;
		line-height: .94 !important;
	}

	.phm-hero-lead {
		font-size: 15px !important;
	}

	.phm-hero-actions {
		display: grid;
		grid-template-columns: 1fr;
		gap: 9px;
	}

	.phm-btn {
		width: 100% !important;
	}

	.phm-hero-visual {
		min-height: 330px;
		margin-top: 18px;
	}

	.phm-hero-visual img {
		right: 50%;
		bottom: -42px;
		width: min(420px, 118vw);
		transform: translateX(50%);
	}

	.phm-hero-stamp {
		top: 24px;
		right: 2px;
	}

	.phm-hero-proof {
		right: 0;
		bottom: 8px;
		min-width: 205px;
	}

	.phm-realizace-showcase {
		width: calc(100% - 24px);
		margin-top: 30px !important;
		margin-bottom: 210px !important;
	}

	.phm-realizace-showcase::before {
		top: -8px;
		left: -8px;
		width: calc(100% + 16px);
		height: calc(100% + 16px);
		box-shadow: 5px 6px 0 rgba(245, 180, 0, .2);
		transform: rotate(.6deg);
	}

	.phm-realizace-showcase::after {
		right: 5%;
		bottom: -15px;
		width: 82px;
		height: 13px;
	}

	.phm-realizace-frame {
		padding: 5px;
		border-width: 2px;
		box-shadow: 6px 7px 0 var(--phm-ink), 10px 11px 0 rgba(245, 180, 0, .23);
		transform: rotate(-1.25deg);
	}

	.phm-realizace-showcase :is(.phras-story-prev, .phras-story-next) {
		width: 42px;
		height: 50px;
		border-width: 2px;
	}

	.phm-city-page [data-phm-section="article"] {
		margin: 26px 0 !important;
		padding: 26px 18px !important;
	}

	.phm-city-page [data-phm-section="article"] p {
		font-size: 15.5px !important;
		line-height: 1.65 !important;
	}

	.phm-city-page [data-phm-section="article"] .ph-story-lead {
		padding: 18px !important;
		font-size: 17px !important;
	}

	.phm-city-page [data-phm-section="article"] h2 {
		margin-top: 34px !important;
		padding: 9px 12px 10px !important;
		font-size: 24px !important;
	}

	.phm-city-page .ph-process-list {
		grid-template-columns: 1fr !important;
	}

	.phm-city-page .ph-process-list li {
		min-height: 105px !important;
		padding: 20px 16px 18px 68px !important;
	}

	.phm-city-page .ph-process-list li::before {
		top: 23px;
		left: 15px;
	}

	.phm-city-page [data-phm-section="why"] {
		margin: 34px 0 !important;
		padding: 22px 17px 24px !important;
		border-left-width: 7px !important;
	}

	.phm-why-head {
		min-height: 148px;
		margin-top: -8px;
	}

	.phm-why-head img {
		top: 0;
		width: min(390px, 106%);
	}

	.phm-section-title {
		transform: translateY(-20px);
	}

	.phm-section-title span {
		padding: 8px 11px 9px !important;
		font-size: 22px !important;
	}

	.phm-city-page [data-phm-section="why"] .ph-why-grid {
		grid-template-columns: 1fr !important;
		gap: 10px !important;
	}

	.phm-city-page [data-phm-section="why"] .ph-why-card {
		min-height: 0 !important;
		padding: 16px !important;
	}

	.phm-services {
		margin: 34px 0 !important;
		padding: 45px 16px 24px !important;
	}

	.phm-section-head h2 {
		font-size: 25px !important;
		padding: 9px 12px 10px !important;
	}

	.phm-section-head p {
		font-size: 14.5px !important;
	}

	.phm-service-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 10px !important;
	}

	.phm-service-card {
		min-height: 165px !important;
		padding: 10px 8px 12px !important;
	}

	.phm-service-card img {
		width: 104px !important;
		height: 104px !important;
		max-width: 104px !important;
	}

	.phm-service-card h3 {
		font-size: 10.5px !important;
	}

	.phm-city-nav {
		margin: 34px 0 !important;
		padding: 46px 17px 22px !important;
	}

	.phm-city-nav-copy {
		display: block;
	}

	.phm-city-nav h2 {
		font-size: 27px !important;
	}

	.phm-city-nav p {
		margin-top: 16px !important;
		font-size: 14px !important;
	}

	.phm-city-links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.phm-city-links a {
		min-height: 44px;
		font-size: 10.5px !important;
	}

	.phm-city-page [data-phm-section="contact"] {
		margin-top: 34px !important;
		padding: 28px 20px !important;
	}

	.phm-city-page [data-phm-section="contact"] h2 {
		font-size: 29px !important;
	}

	.phm-city-page [data-phm-section="contact"] p {
		font-size: 15px !important;
	}
}

@media (max-width: 390px) {
	.phm-city-links {
		grid-template-columns: 1fr;
	}

	.phm-hero h1 {
		font-size: 34px !important;
	}

	.phm-service-card img {
		width: 92px !important;
		height: 92px !important;
		max-width: 92px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.phm-city-page *,
	.phm-city-page *::before,
	.phm-city-page *::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}
}
