/*
Theme Name: CIT
Theme URI: https://cit.vojtechbruk.cz
Author: Vojtěch Bruk
Description: Blokové téma pro Centrum inovativní terapie.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: cit
*/

html {
	overflow-x: clip;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	overflow-x: hidden;
}

body.admin-bar .cit-site-header {
	top: 32px;
}

#wp-skip-link {
	left: 0;
	margin: 0;
}

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

a,
button,
input,
textarea,
select {
	transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 3px solid var(--wp--preset--color--gold);
	outline-offset: 3px;
}

.cit-skip-link {
	background: var(--wp--preset--color--fresh-green);
	color: var(--wp--preset--color--deep-green);
	font-weight: 700;
	left: var(--wp--preset--spacing--30);
	padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30);
	position: fixed;
	top: -100px;
	z-index: 100001;
}

.cit-skip-link:focus {
	top: var(--wp--preset--spacing--30);
}

/* Header */
.cit-site-header {
	box-shadow: 0 1px 0 color-mix(in srgb, var(--wp--preset--color--deep-green) 14%, transparent);
	position: sticky;
	top: 0;
	z-index: 9999;
}

.cit-site-header > *,
.wp-site-blocks > .cit-site-header,
.wp-site-blocks > .cit-main,
.wp-site-blocks > .cit-site-footer {
	margin-block-start: 0;
}

.cit-utility-bar {
	background: var(--wp--preset--color--sand);
	box-sizing: border-box;
	height: 28px;
	min-height: 28px;
	padding: 0 20px;
}

.cit-utility-nav {
	font-size: 0.86rem;
	font-weight: 700;
	letter-spacing: 0.015em;
}

.cit-utility-nav .wp-block-navigation__container {
	column-gap: clamp(20px, 2.1vw, 32px);
}

.cit-utility-nav a {
	color: color-mix(in srgb, var(--wp--preset--color--gold) 62%, var(--wp--preset--color--deep-green));
	text-decoration: none;
}

.cit-utility-nav a:hover {
	color: var(--wp--preset--color--fresh-green);
}

.cit-header-main {
	background: var(--wp--preset--color--white);
	box-sizing: border-box;
	gap: clamp(16px, 2vw, 30px);
	height: 78px;
	max-height: 78px;
	min-height: 78px;
	padding: 0 20px;
}

.cit-header-main .wp-block-site-logo {
	flex: 0 0 352px;
	line-height: 0;
	margin: 0;
	width: 352px;
}

.cit-header-main .wp-block-site-logo a {
	display: block;
	width: 100%;
}

.cit-header-main .wp-block-site-logo img {
	display: block;
	height: 87px;
	max-width: none;
	max-height: 87px;
	object-fit: contain;
	object-position: left center;
	width: 100%;
}

.cit-main-nav {
	flex: 0 1 760px;
	font-size: clamp(0.82rem, 1vw, 0.94rem);
	font-weight: 700;
	justify-content: flex-end;
	letter-spacing: 0.015em;
	line-height: 1.2;
	text-transform: uppercase;
}

.cit-main-nav .wp-block-navigation__container {
	column-gap: clamp(16px, 1.6vw, 26px);
	justify-content: space-between;
	width: 100%;
}

.cit-main-nav a {
	color: var(--wp--preset--color--fresh-green);
	text-decoration: none;
}

.cit-main-nav a:hover,
.cit-main-nav .current-menu-item > a,
.cit-main-nav .current-menu-ancestor > a {
	color: var(--wp--preset--color--gold);
}

.cit-main-nav .wp-block-navigation__submenu-container {
	background: var(--wp--preset--color--white);
	border: 0;
	border-top: 3px solid var(--wp--preset--color--gold);
	box-shadow: 0 12px 32px color-mix(in srgb, var(--wp--preset--color--deep-green) 18%, transparent);
	min-width: 250px;
	padding: var(--wp--preset--spacing--20);
}

.cit-main-nav .wp-block-navigation__submenu-container a {
	font-size: 0.84rem;
	padding: 0.65rem 0.8rem;
	text-transform: none;
}

.cit-main-nav .wp-block-navigation__container > li:first-child,
.cit-main-nav .wp-block-navigation__container > li:nth-child(n + 5) {
	display: none;
}

.cit-header-cta {
	flex: 0 0 auto;
}

.cit-header-cta .wp-block-button__link {
	font-size: 1rem;
	padding: 0.68rem 3.4rem;
	white-space: nowrap;
}

.cit-header-cta .wp-block-button__link:hover,
.wp-element-button:hover,
.wp-block-button__link:hover {
	background: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--deep-green);
}

/* Shared content */
.cit-main {
	min-height: 56vh;
}

.cit-entry-content {
	margin-block: 0;
}

.cit-entry-content > :where(h1, h2, h3, h4, h5, h6) {
	text-wrap: balance;
}

.cit-entry-content > h1:first-child {
	background: var(--wp--preset--color--deep-green);
	box-sizing: border-box;
	color: var(--wp--preset--color--cream);
	margin-bottom: var(--wp--preset--spacing--60);
	max-width: none !important;
	padding: clamp(3.5rem, 8vw, 7.5rem) max(24px, calc((100vw - 1080px) / 2));
	width: 100%;
}

.cit-entry-content > :last-child {
	margin-bottom: var(--wp--preset--spacing--70);
}

.cit-entry-content figure.wp-block-image img:not([src$=".svg"]) {
	border-radius: 2px;
}

.cit-entry-content .wp-block-table {
	overflow-x: auto;
}

.cit-entry-content .wp-block-table table {
	border-collapse: collapse;
	width: 100%;
}

.cit-entry-content .wp-block-table td,
.cit-entry-content .wp-block-table th {
	border-color: color-mix(in srgb, var(--wp--preset--color--deep-green) 22%, transparent);
	padding: 0.75rem;
}

.cit-entry-content ul:not(.wp-block-navigation__container) li::marker {
	color: var(--wp--preset--color--fresh-green);
}

/* Imported homepage sections */
.home .cit-entry-content > .cit-migrated-content,
.cit-migrated-content {
	margin: 0 !important;
	max-width: none !important;
	width: 100%;
}

.cit-section {
	box-sizing: border-box;
	padding: clamp(3.75rem, 7vw, 6.5rem) clamp(24px, 5vw, 64px);
}

.cit-section__inner {
	margin-inline: auto;
	max-width: var(--wp--style--global--wide-size);
}

.cit-section__inner::after {
	clear: both;
	content: "";
	display: table;
}

.cit-section__inner > :first-child {
	margin-top: 0;
}

.cit-section__inner > :last-child {
	margin-bottom: 0;
}

.cit-section--hero {
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--deep-green);
	min-height: 0;
	padding: 0;
}

.cit-section--hero .cit-section__inner {
	display: grid;
	grid-template-columns: minmax(24px, 1fr) repeat(15, minmax(0, 72px)) minmax(24px, 1fr);
	grid-template-rows: auto auto auto 125px 70px 340px;
	max-width: none;
	row-gap: 0;
	width: 100%;
}

.cit-section--hero .cit-section__inner::before {
	background: var(--wp--preset--color--deep-green);
	content: "";
	display: block;
	grid-column: 1 / -1;
	grid-row: 4 / 6;
	height: 100%;
	width: 100%;
	z-index: 0;
}

.cit-section--hero .cit-section__inner::after {
	background-image: linear-gradient(color-mix(in srgb, var(--wp--preset--color--deep-green) 14%, transparent), color-mix(in srgb, var(--wp--preset--color--deep-green) 14%, transparent)), url("/wp-content/uploads/2025/08/luis-del-rio-camacho-nadEf7Yjb_Q-unsplash-1.jpg");
	background-position: center 58%;
	background-size: cover;
	clear: none;
	content: "";
	display: block;
	grid-column: 1 / -1;
	grid-row: 6;
	height: 340px;
	width: 100%;
}

.cit-section--hero h1 {
	align-items: flex-end;
	background-image: linear-gradient(90deg, color-mix(in srgb, var(--wp--preset--color--deep-green) 50%, transparent) 0%, color-mix(in srgb, var(--wp--preset--color--deep-green) 15%, transparent) 48%, transparent 78%), url("/wp-content/uploads/2025/08/Nove-Elysium-hero-sekce-scaled-1.webp");
	background-position: center;
	background-size: cover;
	box-sizing: border-box;
	color: var(--wp--preset--color--cream);
	display: flex;
	font-size: clamp(3.25rem, 5vw, 4.5rem);
	font-weight: 500;
	grid-column: 1 / -1;
	grid-row: 1;
	margin: 0;
	max-width: none;
	min-height: 709px;
	padding: 0 max(24px, calc((100vw - 1152px) / 2)) 202px;
	padding-right: max(24px, calc((100vw - 1152px) / 2 + 540px));
	width: 100%;
}

.cit-section--hero h2 {
	font-size: clamp(1.4rem, 2vw, 1.85rem);
	margin: 0;
	text-transform: uppercase;
	width: 330px;
}

.cit-section--hero h2:nth-of-type(1) {
	color: var(--wp--preset--color--fresh-green);
	grid-column: 2 / span 5;
	grid-row: 2;
	padding-top: 2.25rem;
	transform: translateX(-36px);
}

.cit-section--hero h2:nth-of-type(2) {
	color: var(--wp--preset--color--gold);
	grid-column: 2 / span 5;
	grid-row: 3;
	padding-bottom: 1.5rem;
	padding-top: 1.35rem;
	transform: translateX(-36px);
}

.cit-section--hero p {
	font-size: clamp(0.96rem, 1.15vw, 1.08rem);
	line-height: 1.6;
	margin: 0;
	padding-top: 2.25rem;
}

.cit-section--hero p:nth-of-type(1) {
	grid-column: 7 / span 5;
	grid-row: 2 / span 2;
}

.cit-section--hero p:nth-of-type(2) {
	grid-column: 12 / span 5;
	grid-row: 2 / span 2;
	transform: translateX(54px);
}

.cit-section--hero figure {
	align-self: end;
	grid-row: 4;
	margin: 3.5rem 0 0;
	text-align: center;
	z-index: 1;
}

.cit-section--hero figure img {
	filter: brightness(0) invert(1);
	height: 90px;
	object-fit: contain;
	width: 90px;
}

.cit-section--hero h3 {
	align-self: start;
	color: var(--wp--preset--color--cream);
	font-size: 1rem;
	grid-row: 5;
	margin: 0;
	text-align: center;
	text-transform: uppercase;
	z-index: 1;
}

.cit-section--hero figure:nth-of-type(1),
.cit-section--hero h3:nth-of-type(1) {
	grid-column: 2 / span 3;
}

.cit-section--hero figure:nth-of-type(2),
.cit-section--hero h3:nth-of-type(2) {
	grid-column: 5 / span 3;
}

.cit-section--hero figure:nth-of-type(3),
.cit-section--hero h3:nth-of-type(3) {
	grid-column: 8 / span 3;
}

.cit-section--hero figure:nth-of-type(4),
.cit-section--hero h3:nth-of-type(4) {
	grid-column: 11 / span 3;
}

.cit-section--hero figure:nth-of-type(5),
.cit-section--hero h3:nth-of-type(5) {
	grid-column: 14 / span 3;
}

.cit-section--pece-o-klienta {
	background: var(--wp--preset--color--cream);
}

.cit-section--pece-o-klienta .cit-section__inner {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--30) clamp(2.5rem, 7vw, 6rem);
}

.cit-section--pece-o-klienta h2:first-child {
	grid-column: 1 / -1;
}

.cit-section--pece-o-klienta h2:nth-of-type(2),
.cit-section--pece-o-klienta p:nth-of-type(n + 3),
.cit-section--pece-o-klienta figure,
.cit-section--pece-o-klienta ul {
	grid-column: 2;
}

.cit-section--pece-o-klienta h2:nth-of-type(2) {
	grid-row: 2;
}

.cit-section--pece-o-klienta p:nth-of-type(1),
.cit-section--pece-o-klienta p:nth-of-type(2) {
	grid-column: 1;
}

.cit-section--pece-o-klienta figure {
	margin: 1rem auto;
	max-width: 120px;
}

.cit-section--vize {
	background: var(--wp--preset--color--deep-green);
	color: var(--wp--preset--color--cream);
}

.cit-section--vize .cit-section__inner {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: clamp(2.5rem, 8vw, 7rem);
	max-width: var(--wp--style--global--wide-size);
}

.cit-section--vize h2 {
	color: var(--wp--preset--color--gold);
	grid-column: 1 / -1;
}

.cit-section--vize h3 {
	color: var(--wp--preset--color--fresh-green);
	font-size: clamp(1.2rem, 2vw, 1.65rem);
	grid-row: 2;
}

.cit-section--vize h3:nth-of-type(1),
.cit-section--vize p:nth-of-type(1),
.cit-section--vize p:nth-of-type(2) {
	grid-column: 1;
}

.cit-section--vize h3:nth-of-type(2),
.cit-section--vize p:nth-of-type(n + 3) {
	grid-column: 2;
}

.cit-section--vize p {
	margin-block: 0.4rem;
}

.cit-section--nas-tym {
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--deep-green);
}

.cit-section--nas-tym h2 {
	color: var(--wp--preset--color--gold);
}

.cit-section--nas-tym h3 {
	color: var(--wp--preset--color--fresh-green);
}

.cit-section--nas-tym h4 {
	color: var(--wp--preset--color--fresh-green);
	font-size: clamp(1.05rem, 1.55vw, 1.3rem);
	margin: var(--wp--preset--spacing--30) 0 var(--wp--preset--spacing--10);
}

.cit-section--nas-tym .cit-section__inner > p,
.cit-section--nas-tym .cit-section__inner > h3 {
	max-width: 660px;
}

.cit-team-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: clamp(3rem, 7vw, 6rem);
}

.cit-team-card {
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--fresh-green) 32%, transparent);
	border-right: 1px solid color-mix(in srgb, var(--wp--preset--color--fresh-green) 32%, transparent);
	box-sizing: border-box;
	padding: 0 clamp(1.25rem, 3vw, 2.6rem) clamp(3rem, 6vw, 5rem);
}

.cit-team-card:nth-child(3n) {
	border-right: 0;
}

.cit-team-card figure {
	margin: 0;
}

.cit-team-card figure img:not([src$=".svg"]) {
	aspect-ratio: 4 / 5;
	object-fit: cover;
	width: 100%;
}

.cit-team-card > p {
	font-size: 0.92rem;
	line-height: 1.5;
	margin-block: 0.4rem;
}

.cit-team-card > p:first-of-type {
	font-weight: 700;
}

.cit-team-details {
	font-size: 0.88rem;
	margin-top: var(--wp--preset--spacing--30);
}

.cit-team-details summary {
	color: var(--wp--preset--color--fresh-green);
	cursor: pointer;
	font-weight: 700;
	list-style-position: inside;
}

.cit-team-biography {
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--fresh-green) 32%, transparent);
	margin-top: var(--wp--preset--spacing--20);
	padding-top: var(--wp--preset--spacing--20);
}

.cit-team-biography p {
	margin-block: 0.65rem;
}

.cit-section--jak-se-objednat {
	background: var(--wp--preset--color--deep-green);
	color: var(--wp--preset--color--cream);
}

.cit-section--jak-se-objednat .cit-section__inner {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 0;
}

.cit-section--jak-se-objednat h2,
.cit-section--jak-se-objednat > h2 {
	color: var(--wp--preset--color--gold);
	grid-column: 1 / -1;
	text-transform: uppercase;
}

.cit-section--jak-se-objednat .cit-section__inner > p:first-of-type {
	grid-column: 1 / -1;
	max-width: none;
}

.cit-section--jak-se-objednat figure {
	display: none;
}

.cit-section--jak-se-objednat h3 {
	border-left: 1px solid color-mix(in srgb, var(--wp--preset--color--fresh-green) 48%, transparent);
	color: var(--wp--preset--color--cream);
	font-size: 1.05rem;
	grid-row: 3;
	margin: clamp(2.5rem, 5vw, 4.5rem) 0 0;
	padding: 0 clamp(1.25rem, 4vw, 3.75rem);
	text-transform: uppercase;
}

.cit-section--jak-se-objednat h3:nth-of-type(1) {
	grid-column: 1;
}

.cit-section--jak-se-objednat h3:nth-of-type(2) {
	grid-column: 2;
}

.cit-section--jak-se-objednat h3:nth-of-type(3) {
	grid-column: 3;
}

.cit-section--jak-se-objednat .cit-section__inner > p:nth-of-type(n + 2) {
	border-left: 1px solid color-mix(in srgb, var(--wp--preset--color--fresh-green) 48%, transparent);
	font-size: 0.94rem;
	margin: 0;
	padding: 0.7rem clamp(1.25rem, 4vw, 3.75rem) 0;
}

.cit-section--jak-se-objednat .cit-section__inner > p:nth-of-type(2),
.cit-section--jak-se-objednat .cit-section__inner > p:nth-of-type(3) {
	grid-column: 1;
}

.cit-section--jak-se-objednat .cit-section__inner > p:nth-of-type(4),
.cit-section--jak-se-objednat .cit-section__inner > p:nth-of-type(5) {
	grid-column: 2;
}

.cit-section--jak-se-objednat .cit-section__inner > p:nth-of-type(6),
.cit-section--jak-se-objednat .cit-section__inner > p:nth-of-type(7) {
	grid-column: 3;
}

.cit-section--jak-se-objednat .cit-section__inner > p:nth-of-type(2),
.cit-section--jak-se-objednat .cit-section__inner > p:nth-of-type(4),
.cit-section--jak-se-objednat .cit-section__inner > p:nth-of-type(6) {
	grid-row: 4;
}

.cit-section--jak-se-objednat .cit-section__inner > p:nth-of-type(3),
.cit-section--jak-se-objednat .cit-section__inner > p:nth-of-type(5),
.cit-section--jak-se-objednat .cit-section__inner > p:nth-of-type(7) {
	grid-row: 5;
}

.cit-section--jak-se-objednat a {
	color: var(--wp--preset--color--cream);
}

.cit-section--ordinacni-doba {
	background: var(--wp--preset--color--white);
}

.cit-section--ordinacni-doba .cit-section__inner {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: var(--wp--preset--spacing--50);
}

.cit-section--ordinacni-doba h2,
.cit-section--ordinacni-doba .wp-block-table {
	grid-column: 1 / -1;
}

.cit-section--ordinacni-doba .wp-block-buttons:nth-of-type(1) {
	grid-column: 1;
}

.cit-section--ordinacni-doba .wp-block-buttons:nth-of-type(2) {
	grid-column: 2;
	justify-content: flex-end;
}

.cit-section--ordinacni-doba .wp-block-table {
	background: var(--wp--preset--color--cream);
	padding: var(--wp--preset--spacing--30);
}

/* Posts, archives and search-style listings */
.cit-singular,
.cit-archive,
.cit-index,
.cit-not-found {
	box-sizing: border-box;
	padding: clamp(3.5rem, 7vw, 6.5rem) 24px;
}

.cit-single-header,
.cit-archive-header {
	margin-bottom: var(--wp--preset--spacing--50);
}

.cit-post-meta {
	color: color-mix(in srgb, var(--wp--preset--color--deep-green) 72%, var(--wp--preset--color--white));
	font-size: var(--wp--preset--font-size--small);
}

.cit-card {
	border-top: 2px solid var(--wp--preset--color--fresh-green);
	padding-top: var(--wp--preset--spacing--30);
}

.cit-card .wp-block-post-title {
	font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.cit-card .wp-block-post-title a {
	color: var(--wp--preset--color--deep-green);
	text-decoration: none;
}

.cit-card .wp-block-post-title a:hover {
	color: var(--wp--preset--color--gold);
}

.cit-pagination {
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--deep-green) 18%, transparent);
	margin-top: var(--wp--preset--spacing--50);
	padding-top: var(--wp--preset--spacing--30);
}

/* Footer */
.cit-site-footer {
	margin-top: 0;
}

.cit-footer-main {
	background: var(--wp--preset--color--deep-green);
	color: var(--wp--preset--color--cream);
	padding: clamp(3.75rem, 7vw, 6rem) clamp(24px, 5vw, 64px);
}

.cit-footer-grid {
	column-gap: clamp(2rem, 6vw, 5rem);
	margin-inline: auto;
	max-width: var(--wp--style--global--wide-size);
}

.cit-site-footer h2,
.cit-site-footer h3 {
	color: var(--wp--preset--color--gold);
}

.cit-site-footer a {
	color: var(--wp--preset--color--cream);
}

.cit-site-footer a:hover {
	color: var(--wp--preset--color--fresh-green);
}

.cit-footer-nav p {
	margin-block: 0.45rem;
}

.cit-footer-visit {
	background: var(--wp--preset--color--white);
	padding: clamp(2.5rem, 5vw, 4.5rem) 24px;
}

.cit-footer-bottom {
	background: var(--wp--preset--color--deep-green);
	border-top: 1px solid var(--wp--preset--color--fresh-green);
	color: var(--wp--preset--color--cream);
	font-size: var(--wp--preset--font-size--small);
	gap: var(--wp--preset--spacing--30);
	padding: var(--wp--preset--spacing--20) clamp(24px, 5vw, 64px);
}

.cit-footer-bottom p {
	margin: 0;
}

@media (max-width: 1180px) {
	.cit-main-nav {
		flex: 1 1 auto;
	}

	.cit-header-main .wp-block-site-logo {
		flex-basis: 260px;
		width: 260px;
	}

	.cit-header-main .wp-block-site-logo img {
		height: 66px;
		max-height: 66px;
	}
}

@media (max-width: 980px) {
	body.admin-bar .cit-site-header {
		top: 46px;
	}

	.cit-site-header .cit-utility-bar {
		display: none;
	}

	.cit-header-main {
		min-height: 76px;
	}

	.cit-header-main .cit-main-nav {
		flex: 0 0 auto;
		margin-left: auto;
		order: 3;
	}

	.cit-header-main .cit-header-cta {
		display: none;
	}

	.cit-main-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}

	.cit-main-nav .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none;
	}

	.cit-main-nav .wp-block-navigation__responsive-container.is-menu-open {
		background: var(--wp--preset--color--cream);
		box-sizing: border-box;
		color: var(--wp--preset--color--deep-green);
		height: 100dvh;
		overflow-y: auto;
		padding: 2rem;
		width: 100vw;
	}

	.cit-main-nav .wp-block-navigation__responsive-container.is-menu-open li {
		display: flex;
	}

	.cit-main-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
		background: transparent;
		border: 0;
		box-shadow: none;
		padding-left: 1rem;
	}

	.cit-section--hero h2:nth-of-type(1),
	.cit-section--hero h2:nth-of-type(2),
	.cit-section--hero p:nth-of-type(2) {
		transform: none;
	}

	.cit-section--hero h2 {
		width: auto;
	}

	.cit-section--pece-o-klienta .cit-section__inner {
		grid-template-columns: 1fr;
	}

	.cit-section--pece-o-klienta h2,
	.cit-section--pece-o-klienta p,
	.cit-section--pece-o-klienta figure,
	.cit-section--pece-o-klienta ul {
		grid-column: 1 !important;
		grid-row: auto !important;
	}

	.cit-section--vize .cit-section__inner {
		column-gap: var(--wp--preset--spacing--50);
	}

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

	.cit-team-card,
	.cit-team-card:nth-child(3n) {
		border-right: 1px solid color-mix(in srgb, var(--wp--preset--color--fresh-green) 32%, transparent);
	}

	.cit-team-card:nth-child(2n) {
		border-right: 0;
	}
}

@media (max-width: 800px) and (min-width: 601px) {
	.cit-main-nav .wp-block-navigation__container > li:nth-child(4) {
		display: none;
	}
}

@media (max-width: 800px) and (min-width: 721px) {
	.cit-section--hero h2 {
		font-size: 1.2rem;
	}
}

@media (max-width: 720px) {
	body.admin-bar .cit-site-header {
		top: 0;
	}

	.cit-header-main {
		padding-inline: 18px;
	}

	.cit-header-main .wp-block-site-logo {
		flex-basis: 155px;
		width: 155px;
	}

	.cit-header-main .wp-block-site-logo img {
		height: 52px;
		max-height: 52px;
	}

	.cit-section--hero .cit-section__inner {
		display: block;
	}

	.cit-section--hero .cit-section__inner::before,
	.cit-section--hero .cit-section__inner::after {
		display: none;
	}

	.cit-section--hero h1 {
		font-size: clamp(2.8rem, 12vw, 4.25rem);
		min-height: 500px;
		padding: 0 24px 4.5rem;
	}

	.cit-section--hero h2,
	.cit-section--hero p {
		margin-inline: 24px;
		transform: none;
		width: auto;
	}

	.cit-section--hero h2:nth-of-type(1),
	.cit-section--hero p {
		padding-top: 2.5rem;
	}

	.cit-section--hero figure {
		display: inline-block;
		margin: 1.25rem 0 0;
		vertical-align: top;
		width: 19%;
	}

	.cit-section--hero figure img {
		filter: none;
		height: 52px;
		width: 52px;
	}

	.cit-section--hero h3 {
		display: none;
	}

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

	.cit-team-card,
	.cit-team-card:nth-child(2n),
	.cit-team-card:nth-child(3n) {
		border-right: 0;
		padding-inline: 0;
	}

	.cit-section--jak-se-objednat .cit-section__inner,
	.cit-section--ordinacni-doba .cit-section__inner,
	.cit-section--vize .cit-section__inner {
		grid-template-columns: 1fr;
	}

	.cit-section--jak-se-objednat h2,
	.cit-section--jak-se-objednat h3,
	.cit-section--jak-se-objednat .cit-section__inner > p,
	.cit-section--ordinacni-doba h2,
	.cit-section--ordinacni-doba .wp-block-table,
	.cit-section--ordinacni-doba .wp-block-buttons,
	.cit-section--vize h2,
	.cit-section--vize h3,
	.cit-section--vize p {
		grid-column: 1 !important;
		grid-row: auto !important;
	}

	.cit-section--jak-se-objednat h3,
	.cit-section--jak-se-objednat .cit-section__inner > p:nth-of-type(n + 2) {
		border-left: 0;
		padding-inline: 0;
	}

	.cit-section--ordinacni-doba .wp-block-buttons:nth-of-type(2) {
		justify-content: flex-start;
	}

	.cit-section--ordinacni-doba .wp-block-table {
		box-sizing: border-box;
		max-width: 100%;
	}

	.cit-section--ordinacni-doba .wp-block-table table,
	.cit-section--ordinacni-doba .wp-block-table tbody,
	.cit-section--ordinacni-doba .wp-block-table tr,
	.cit-section--ordinacni-doba .wp-block-table td {
		display: block;
		max-width: 100%;
		width: 100%;
	}

	.cit-section--ordinacni-doba .wp-block-table thead {
		display: none;
	}

	.cit-section--ordinacni-doba .wp-block-table tr {
		border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--deep-green) 22%, transparent);
		padding-block: 0.75rem;
	}

	.cit-section--ordinacni-doba .wp-block-table tr:last-child {
		border-bottom: 0;
	}

	.cit-section--ordinacni-doba .wp-block-table td {
		border: 0;
		box-sizing: border-box;
		display: grid;
		gap: 0.75rem;
		grid-template-columns: minmax(5.5rem, 0.8fr) minmax(0, 1fr);
		overflow-wrap: anywhere;
		padding: 0.45rem 0;
	}

	.cit-section--ordinacni-doba .wp-block-table td:first-child {
		display: block;
		font-weight: 700;
		padding-top: 0;
	}

	.cit-section--ordinacni-doba .wp-block-table td:nth-child(2)::before {
		content: "Pondělí";
	}

	.cit-section--ordinacni-doba .wp-block-table td:nth-child(3)::before {
		content: "Úterý";
	}

	.cit-section--ordinacni-doba .wp-block-table td:nth-child(4)::before {
		content: "Středa";
	}

	.cit-section--ordinacni-doba .wp-block-table td:nth-child(5)::before {
		content: "Čtvrtek";
	}

	.cit-section--ordinacni-doba .wp-block-table td:nth-child(6)::before {
		content: "Pátek";
	}

	.cit-section--ordinacni-doba .wp-block-table td::before {
		color: var(--wp--preset--color--gold);
		font-weight: 700;
	}

	.cit-footer-bottom {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
