/*
 Theme Name:   Senevida
 Description:  Senevida Penta Hospitals
 Author:       @NAK
 Version:      1.0.0
 License:      Commercial
 Text Domain:  senevida
*/

/** OBSAH
 *  0 - VARIABLES
 * 	1 - TYPOGRAPHY
 * 	2 - GRID
 * 	3 - GENERAL PARTS
 * 	4 - SECTIONS
 * 	5 - MEDIA
 *  6 - ANIMACE
 */

/* 0 - VARIABLES */

:root {
	/* Burgundy */
	--burgundy: #8F134F;
	--pale: #EEE4E3;
	--white-sand: #F7F5F3;
	/* Gold */
	--dark-gold: #C9834F;
	--pale-gold: #F4C39B;
	--light-gold: #F2E4D0;
	/* Blue */
	--penta-blue: #004278;
	--pale-blue: #86AFC3;
	--light-blue: #B6C6D4;
	/* Beige */
	--dark-beige: #8E605D;
	--light-beige: #D4B7B5;
	/* Basic */
	--neutral: #393939;
	--slate: #C3CACB;
	--white: #FFFFFF;
	--system-error: #E44646;
	/* Grid */
	--grid-sm: 1010px;
	--grid-md: 1170px;
	--grid-lg: 1260px;
	/* Efekty */
	--radius: 16px;
	--shadow: 0px 4px 4px 0px #00000040;
	--animation: cubic-bezier(.23, 1, .32, 1);
}

::selection {
	background: var(--light-beige);
}

/* HTML */
html {
	-webkit-scroll-behavior: smooth;
    scroll-behavior: smooth;
	font-size: 16px;
}
html #wpadminbar {
	position: fixed!important;
}
.screen-reader-text {
	display: none!important;
}

/* 1 - TYPOGRAPHY */

/* Literata */
@font-face {
    font-family: Literata;
	font-weight: 100 900;
	font-stretch: 75% 125%;
	font-display: swap;
    src: url(assets/fonts/Literata.ttf) format("truetype");  
}

/* Gotham */
@font-face {
    font-family: Gotham;
	font-weight: 300;
	font-display: swap;
    src: url(assets/fonts/Gotham/Gotham-Light.otf) format("opentype");  
}
@font-face {
    font-family: Gotham;
	font-weight: 500;
	font-display: swap;
    src: url(assets/fonts/Gotham/Gotham-Medium.otf) format("opentype");  
}
@font-face {
    font-family: Gotham;
	font-weight: 700;
	font-display: swap;
    src: url(assets/fonts/Gotham/Gotham-Bold.otf) format("opentype");  
}

/* Text */
body {
	margin: 0;
    font-family: Gotham, sans-serif;
	font-size: 1rem;
	line-height: 1.5;	
    font-weight: 300;
	color: var(--penta-blue);
}
body.resized {
	font-size: 1.5rem;
}
button, input, select, textarea, .gm-style {
	font-family: Gotham, sans-serif;
}
h1, h2, h3, h4, h5, h6, .cislo {
	margin-top: 0;
	font-family: Literata, serif;
    font-weight: 600;
}
h1 {
    margin-bottom: 20px;
	font-size: clamp(2.25rem, 4vw, 3.375rem);
	line-height: 1.1;
}
h2, .prispevek h1 {
    margin-bottom: 20px;
	font-size: clamp(1.875rem, 3vw, 2.5rem);
	line-height: 1.2;
}
h1 strong, h2 strong {
	color: var(--burgundy);
}
h3 {
    margin-bottom: 16px;
	font-size: clamp(1.625rem, 2.5vw, 2rem);
}
h4 {
	margin-bottom: 13px;
	font-size: 1.125rem;
}
h5 {
	margin-bottom: 10px;
	font-size: 1.115rem;
}
h6 {
	margin-bottom: 6px;
	font-size: 1rem;
}
p {
	margin: 0;
}
p + p {
	margin-top: 24px;
}
small {
	font-size: 0.875rem;
	line-height: 1.5;
}
b, strong {
	font-weight: 600;
}
a {
	font-weight: 500;
	text-decoration: underline;
	color: inherit;
	transition: color 0.3s linear;
}

/* List */
main ul, main ol {
	margin: 24px 0 0;
	padding-left: 24px;
}
main ol {
	padding-left: 16px;
}
main ul > li::marker {
	font-size: 1.5rem;
	line-height: 0;
	color: var(--burgundy);
}
main li ul {
	margin-top: 4px;
	list-style: disc
}
main li > ul > li::marker {
	font-size: 1rem;
	color: var(--penta-blue);	
}
main li + li {
	margin-top: 8px;
}

/* Form */
label {
	display: block;
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--dark-beige);
}
label span {
	margin-top: 2px;
	font-weight: 300;
	color: var(--penta-blue);
}
button, input, select, textarea {
	-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
	margin: 0;
	padding: 0;
	background-clip: padding-box;
	border: none;
	box-shadow: none;
	cursor: pointer;	
}
input, select, textarea {
	width: calc(100% - 48px);
	padding: 19px 24px;
	background: var(--white);
	border: 1px solid var(--light-gold);
	border-radius: var(--radius);
	outline: none!important;
	transition: border-color 0.3s linear;
}
input:focus, select:focus, textarea:focus {
	border-color: var(--penta-blue);
}
input[type="checkbox"] {
	width: 24px;
	min-width: 24px;
	height: 24px;
	margin: 0 24px 0 0;
	padding: 0;
	cursor: pointer;
}
input[type="image"] {
	width: 16px;
	height: 16px;
	padding: 14px;
	border: 2px solid var(--burgundy);
}
select {
	width: 100%;
}
.gmw-field-type-select-wrapper {
	display: flex;
	flex-direction: row;
	align-items: center;
	position: relative;
}
.caret {
	position: relative;
}
.caret:after, .gmw-field-type-select-wrapper:after {
	content: "";
	width: 6px;
	height: 6px;
	margin-top: -4px;
	display: inline-block;
	position: absolute;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
}
.caret:after {
	top: 35px;
	left: 30px;
}
.caret.open:after {
	transform: rotate(225deg);
}
.gmw-field-type-select-wrapper:after {
	right: 12px;
}

/* Šipky */
.prev, .next {
	width: 40px;
	min-width: 40px;
	height: 40px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background: url(./assets/icons/arrow.svg) no-repeat center / 17px;
	border: 2px solid var(--burgundy);
	border-radius: 58px;
	opacity: 0.2;
	transition: opacity 0.3s linear;
}
.prev:hover, .next:hover {
	opacity: 1;
}
.prev {
	margin-right: 20px;
	transform: rotate(180deg);
}
.next {
	margin-left: 20px;
}

/* Kontakty */
.kontakty a, a[href^="mailto:"], a[href^="tel:"] {
	margin-top: 8px;
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	text-decoration: none;
}
a[href^="mailto:"]:before, a[href^="tel:"]:before {
	content: "";
	width: 20px;
	min-width: 20px;
	height: 20px;
	margin-right: 6px;
	display: block;	
}
/* Email */
a[href^="mailto:"]:before {
	background: url('./assets/icons/email.svg') no-repeat center / 20px;
}
/* Telefon */
a[href^="tel:"]:before {
	background: url('./assets/icons/contact.svg') no-repeat center / 20px;
}

/* Datum */
.datum {
	margin-bottom: 30px;
	display: inline-flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--dark-beige);
}
.datum:before {
	content: "";
	width: 20px;
	height: 20px;
	margin-right: 8px;
	display: block;
	background: url('./assets/icons/calendar.svg') no-repeat center / 20px;
}

/* Label */
.label {
	display: block;
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--dark-beige);
}

/* Link */
.link {
	margin-top: 20px;
	display: flex;
	flex-direction: row;
	align-items: center;
	font-size: 1.125rem;
	font-weight: 500;
	text-decoration: none;
	color: var(--burgundy);
	cursor: pointer;
}
.link:after {
	content: "";
	width: 18px;
	height: 18px;
	margin-left: 8px;
	display: block;
	background: url('./assets/icons/chevron-right.svg') no-repeat center / 18px;
	transition: transform 0.3s linear;
}
.link:hover:after {
	transform: translate(6px, 0);
}
.link.show-more:after {
	background: url('./assets/icons/chevron-down.svg') no-repeat center / 18px;
}
.link.show-less:after {
	background: url('./assets/icons/chevron-up.svg') no-repeat center / 18px;
}

/* Btn */
.btn, input[type="submit"] {
	font-size: 1.125rem;
	font-weight: 500;
	text-align: center;
	text-decoration: none;
	color: var(--white);
	border-radius: 32px;
	transition: all 0.3s linear;
}
header .btn, footer .btn {
	padding: 14px 24px;
	background: var(--penta-blue);
	border: 2px solid var(--penta-blue);
}
main .btn, input[type="submit"] {
	min-width: 146px;
	padding: 14px 45px;
	font-size: 1.125rem;
	background: var(--burgundy);
	border: 2px solid var(--burgundy);
}
main.senior, main.restaurant {
	color: var(--neutral);
}
.btn:hover, input[type="submit"]:hover {
	background: var(--dark-beige);
	border-color: var(--dark-beige);
}
main .btn:hover {
	transform: translate(0, -5px);
}
#fixedbtn {
    position: fixed;
    bottom: 12px;
    left: 70px;
    z-index: 99;
}

.close {
	width: 20px;
	height: 20px;
	background: url('./assets/icons/close.svg') no-repeat center / 20px;	
}

#burger {
	width: 63px;
	height: 52px;
	margin-left: 28px;
	background: var(--burgundy) url('./assets/icons/menu.svg') no-repeat center;
	border-radius: 500px 0 0 500px;
}

/* 2 - GRID */
main {
	max-width: 100vw;
	position: relative;
	overflow: hidden;
	background: var(--white-sand);
	z-index: 1;
}

/* Section */
section {
	padding-top: 60px;
	position: relative;
	z-index: 2;
}
section:not(.bg):not(:first-child) + section.bg {
	margin-top: 60px;
}
section.bg, section:first-child, main section:last-child {
	padding-bottom: 60px;
}
section .grid {
	max-width: var(--grid-md);
	margin: 0 auto;
	padding: 0 16px;
	position: relative;
	z-index: 3;
}
section .grid h1, section .grid h2, section .grid .label {
	text-align: center;
}
section .grid .tlacitka {
	justify-content: center;
}

/* Section - Uvod */
main.senevida section:first-child {
	background: var(--pale);
}
main.senior section:first-child {
	background: var(--light-gold);
}
main.restaurant section:first-child {
	background: var(--light-blue);
}
main.flex-col section:not(.bg):last-child {
	background: transparent;
}
section:first-child > .grid h1,
section:first-child > .grid .text {
	max-width: 670px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}
section:last-child > .grid .text {
	max-width: 100%;
	margin-left: 0;
	text-align: left;
}
section:first-child > .grid .tlacitka {
	justify-content: center;
}

/* Flex */
.flex-col, .flex-grid {
	display: flex;
	flex-direction: column;
}
.flex-row {
	display: flex;
	flex-direction: row;
}

/* 3 - GENERAL PARTS */

/* Header */
header {
	padding: 4px 0 4px 12px;
	position: relative;
	background: var(--white);
	z-index: 2;
}
header > * {
	margin: 0 auto;
	justify-content: space-between;	
}
header .flex-row {
	align-items: center;	
}
header .flex-row > .tlacitka {
	display: none;
}
header .logo {
	padding-left: 12px;
}
header nav {
	width: 100vw;
	height: 0;
	justify-content: space-between;
	background: var(--white);
	position: fixed;
	top: 0;
	left: 0;
	overflow: hidden;
	transition: height 0.3s var(--animation);
	z-index: 9;
}
header nav.open {
	height: 100vh;
}
.admin-bar header nav.open  {
	height: calc(100vh - 46px);
	top: 46px;
}
header nav > * {
	padding: 21px 16px;
}
header nav .flex-row {
	justify-content: space-between;
	border-bottom: 1px solid var(--light-gold);
}
header nav .menu {
	max-height: calc(100vh - 257px);
	overflow: auto;
}

/* Footer */
footer {
	padding-top: 70px;
	position: relative;
	text-align: center;
	background: var(--white);
	z-index: 2;
}
footer .logo {
	margin-bottom: 16px;
	display: block;
}
footer .logo svg {
	height: 47px;
}
footer .text {
	max-width: 240px;
}
footer .kontakty {
	gap: 16px;
}
footer > .flex-grid {
	max-width: var(--grid-lg);
	margin: 0 auto;
	padding: 0 16px;
	flex-direction: column;
	align-items: center;
	gap: 48px;
}

/* Copyright */
.copyright {
	margin-top: 40px;
	padding: 20px 0;
	background: var(--penta-blue);
	color: var(--white);
}
.copyright span {
	max-width: 180px;
	margin: 0 auto;
	display: block;
}

/* Logo */
.logo svg {
	width: auto;
	height: 37px;
	object-fit: contain;
}

/* Menu */
.menu, .sub-menu {
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	list-style: none;
}
.menu {
	align-items: center;
	gap: 24px;
}
.menu li {
	position: relative;
	cursor: pointer;
}
.menu li a {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	text-decoration: none;
	white-space: nowrap;
}
.menu li:hover > a {
	color: var(--burgundy);
}
.menu li.menu-item-has-children > a:after {
	content: "";
	width: 20px;
    height: 20px;
	margin-left: 10px;
    background: url(./assets/icons/chevron-down.svg) no-repeat center / 12px;
}
.menu > li.menu-item-has-children:has(.open) > a:after {
	transform: rotate(180deg);
}
.sub-menu {
	height: 0;
	position: relative;
	top: 120px;
	overflow: hidden;
	background: var(--white);
	transition: top 0.3s var(--animation);
	z-index: 3;
}
.sub-menu.open {
	height: auto;
	top: 12px;
	overflow: visible;
}
.sub-menu a {
	padding: 12px 24px;
}
.sub-menu li.menu-item-has-children > a {
	justify-content: space-between;
}
.sub-menu li.menu-item-has-children > a:after {
	transform: rotate(270deg);
}
.sub-menu li:hover > a {
	background: var(--white-sand);
}
.sub-menu .sub-menu a {
	padding: 6px 24px;
	font-weight: 300;
}

/* Socials */
.socials {
	justify-content: center;
	gap: 16px;
}
.socials a {
	width: 30px;
	height: 30px;
	display: block;
}
.socials a.youtube {
	background: url(./assets/icons/youtube.svg) no-repeat center / 30px;
}
.socials a.linkedin {
	background: url(./assets/icons/linkedin.svg) no-repeat center / 30px;
}
.socials a.facebook {
	background: url(./assets/icons/facebook.svg) no-repeat center / 30px;
}
.socials a.instagram {
	background: url(./assets/icons/instagram.svg) no-repeat center / 30px;
}

/* Stránkování */
.nav-links {
	margin-top: 40px;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	gap: 16px;
	position: relative;
}
.nav-links > * {
	font-weight: 500;
	text-decoration: none;
	color: var(--burgundy);
	opacity: 0.2;
	transition: opacity 0.3s linear;
}
.nav-links > .current, .nav-links > a:hover {
	opacity: 1;
}

/* Box */
.box {
	display: block;
	background: var(--white);
	border-radius: var(--radius);
}
.box > div {
	padding: 24px;
}

/* Embla */
.embla {
	width: 100%;
	overflow: hidden;
	cursor: pointer;
}
.embla__viewport {
	width: 100%;
	margin: 0 auto;
	overflow: hidden;
}
.embla__container {
	margin: 0;
	padding: 0;
	list-style: none;
}
.embla__slide {
	width: 100%;
	box-sizing: border-box;
	position: relative;
	flex-shrink: 0;
}
.embla__controls {
	padding: 16px 0;
	justify-content: center;
	align-items: center;
}
.embla__dots {
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px;
}
.embla__dots button {
	width: 28px;
	height: 0;
	border: 2px solid var(--burgundy);
	border-radius: 4px;
	opacity: 0.2;
	transition: opacity 0.3s linear;
}
.embla__dots button:hover, .embla__dots button.is-selected {
	opacity: 1;
}

/* Modal */
.modal {
	width: 100vw;
	height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: fixed;
	top: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.7);
	z-index: 999;
}
.modal > * {
	max-width: var(--grid-md);
	align-items: center;
	position: relative;
}
.modal img {
	max-width: 80vw;
	max-height: 80vh;
	object-fit: contain;
}
.modal nav {
	margin-top: 24px;
	padding: 2px;
	align-items: center;
	gap: 8px;
	background: var(--white-sand);
	border-radius: 50px;
}
.modal .mode-reference nav {
	position: absolute;
	right: 24px;
}
.modal nav > div {
	margin-right: 12px;
}
.modal nav > button {
	margin: 0;
	min-width: 40px;
	min-height: 40px;	
}

/* Motiv */
.motiv {
	content: "";
	width: auto;
	height: auto;
	position: absolute;
	bottom: 0;
	left: -50%;
	opacity: 0.4;
	z-index: 1;	
}
.motiv svg {
	height: 300px;
}
.motiv svg, .senevida .motiv svg {
	fill: var(--white-sand);
}
.restaurant .motiv svg, .restaurant .motiv svg {
	fill: var(--white);
}

/* Vyhledávání */
#search {
	width: 30px;
	height: 30px;
	background: url('./assets/icons/search.svg') no-repeat center / 30px;
}
#search.close {
	background-image: url('./assets/icons/close.svg');
}
#searchbar {
	width: 100%;
	max-width: 400px;
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
	background: var(--white);
	box-shadow: var(--shadow);
}
#searchbar > * {
	padding: 16px;
}
#searchbar input[type="image"] {
	position: absolute;
	top: 20px;
	right: 20px;
}
#vysledky a {
	text-decoration: none;
}
#vysledky .list {
	gap: 24px;
}

/* 4 - SECTIONS */

.left {
	align-items: flex-start;
	text-align: left;
}
.center {
	align-items: center;
	text-align: center;
}

/* Časová osa */
.kroky .grid {
	align-items: center;
}
.kroky .polozky {
	gap: 64px;
	align-items: center;
}
.kroky .polozky > * {
	gap: 16px;
}
.kroky .flex-row {
	align-items: center;
}
.kroky h3 {
	margin-bottom: 0;
}
.kroky img {
	width: 371px;
	max-width: 100%;
	height: auto;
	object-fit: contain;
}
.kroky .krok {
	width: 54px;
	height: 40px;
	margin-right: 16px;
	justify-content: center;
	align-items: center;
	font-size: clamp(1.875rem, 3vw, 2.5rem);
	background: var(--pale-blue);
	color: var(--white);
	border-radius: 0 33px 33px 0;
}

/* CTA */
.cta {
	background: var(--pale);
}
main.senevida .cta {
	background: var(--pale);
}
main.senior .cta {
	background: var(--light-gold);
}
main.restaurant .cta {
	background: var(--light-blue);
}
.cta .kapacita {
	display: grid;
	justify-content: center;
	align-content: flex-start;
	gap: 24px;
}
.cta .kapacita h4 {
	font-weight: 400;
}
.cta .kapacita .cislo {
	width: 112px;
	height: 48px;
	margin-bottom: 8px;
	justify-content: center;
	align-items: center;
	font-size: clamp(2.25rem, 4vw, 3.375rem);
	line-height: 1.2;
	background: var(--white);
	border-radius: 100px;
}
.cta .kapacita .cislo + h4 {
	max-width: 200px;
}

/* Dlaždice */
.dlazdice {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(370px, 1fr));
	gap: 28px;
}
.dlazdice svg {
	width: 100px;
	height: 83px;
	margin: 0 auto 24px;
	object-fit: contain;
	fill: var(--pale);
}
.dlazdice > * {
	background: var(--pale-blue);
	color: var(--white);
}
.dlazdice ul > li::marker {
	color: var(--white);
}
.dlazdice > *:nth-child(2n) {
	background: var(--dark-beige);
}
.dlazdice > *:nth-child(3n) {
	background: var(--light-beige);
}

/* Dokumenty */
.dokumenty h4 {
	margin-bottom: 0;
	font-weight: 400;
}
.dokumenty .link {
	margin-top: 0;
}
.dokumenty .dokumenty-sekce {
	padding: 40px 0;
	border-bottom: 1px solid var(--light-gold);
}
.dokumenty .dokumenty-heading {
	min-height: 64px;
	justify-content: flex-end;
	align-items: center;
	cursor: pointer;
}
.dokumenty .dokumenty-heading.dokumenty-nadpis {
	justify-content: space-between;
}
.dokumenty .dokumenty-list {
	height: 0;
	display: flex;
	gap: 16px;
	position: relative;
	top: 200px;
	overflow: hidden;
	transition: top 0.3s var(--animation);
}
.dokumenty .show-less,
.dokumenty .dokumenty-sekce.show .show-more,
.dokumenty .dokumenty-list .dokumenty-list:not(.tab-active) {
	display: none;
}
.dokumenty .dokumenty-sekce.show .show-less {
	display: flex;
}
.dokumenty .dokumenty-sekce.show .dokumenty-list {
	height: auto;
	top: 0;
	overflow: visible;
}
.dokumenty a > .flex-row {
	justify-content: space-between;
	align-items: center;
}
.dokumenty a > .flex-row > small {
	align-items: center;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}
.dokumenty a > .flex-row > small:after {
	content: "";
	width: 16px;
	min-width: 16px;
	height: 16px;
	margin-left: 8px;
	display: block;
	background: url(./assets/icons/download.svg) no-repeat center / 16px;
}
.senior .dokumenty a > .flex-row > small:after,
.restaurant .dokumenty a > .flex-row > small:after {
	background: url(./assets/icons/download-alt.svg) no-repeat center / 16px;
}
.dokumenty .tabs {
	margin-bottom: 4px;
	gap: 16px;
}
.dokumenty .tabs > .tab {
	cursor: pointer;
}
.dokumenty .tabs > .tab:after {
	content: "";
	width: 100%;
	height: 3px;
	display: block;
	background: transparent;
	transition: background 0.3s linear;
}
.dokumenty .tabs > .tab-active {
	font-weight: 500;
}
.dokumenty .tabs > .tab-active:after {
	background: var(--penta-blue);
}

/* Formulář */
.formular form {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 24px;
}
.formular form br {
	display: none;
}
.formular form > * {
	width: 100%;
	margin: 0;
	display: block;
}
.formular input[type="submit"] {
	width: auto;
	margin-top: 44px;
}
.formular .wpcf7-form-control-wrap {
	margin-top: 4px;
	display: block;
}
.formular .wpcf7-list-item {
	margin-left: 0;
}
.formular .wpcf7-list-item:before {
    content: "";
    width: 18px;
    height: 18px;
    display: block;
    position: absolute;
    top: 3px;
    left: 4px;
    background-color: var(--white);
    border-radius: 100%;
    transition: left 0.3s linear;
    z-index: 2;	
}
.formular .wpcf7-list-item:has(input:checked):before {
    left: 22px;
}
.formular .wpcf7-list-item input[type="checkbox"] {
	width: 44px;
	min-width: 44px;
	background: var(--slate);
	border: none;
}
.formular .wpcf7-list-item input[type="checkbox"]:checked {
	background: var(--penta-blue);
}
.formular .wpcf7-list-item label {
	display: flex;
	flex-direction: row;
}
.formular .wpcf7-not-valid-tip {
	position: absolute;
	left: 0;
	font-size: 0.75rem;
	color: var(--system-error);
}
.formular .wpcf7-not-valid {
	border-color: var(--system-error);
}
.formular .wpcf7 form .wpcf7-response-output {
	margin: 0;
	padding: 24px;
	text-align: center;
	background: var(--white);
	border-radius: var(--radius);
	border: 1px solid var(--burgundy);
}

/* Galerie */
.galerie.bg {
	background: var(--pale);
}
.galerie a {
	display: block;
}
.galerie a:after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    bottom: 0;
    right: 0;
    pointer-events: none;
    transition: width 0.2s linear, height 0.2s linear;
}
.galerie a:hover:after {
    width: 60px;
    height: 60px;
    background: url(./assets/icons/search.svg) no-repeat 12px center;
}
.galerie img {
	width: 100%;
	height: 215px;
	object-fit: cover;
	border-radius: var(--radius);
	opacity: 1;
	transition: opacity 0.3s linear;
}
.galerie a:hover img {
	opacity: 0.5;
}
.galerie .embla__viewport {
	width: calc(100% + 16px);
	margin-right: -16px;
}
.galerie .embla__container {
   gap: 8px;
}
.galerie .embla__slide {
	width: calc(45% - 8px);
}
.galerie .embla__slide:last-child {
	margin-right: 8px;
}

/* Mapa */
.mapa h3 {
	margin-bottom: 8px;
	font-family: Gotham, sans-serif;
	font-size: 1.125rem;
}
.mapa a {
	text-decoration: none;
}
.mapa .gmw-form-wrapper form {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 4px;
	color: var(--white);
}
.mapa .gmw-form-wrapper .gmw-form-field-wrapper {
	margin: 0;
}
.mapa .gmw-form-wrapper input::placeholder {
	color: var(--white);
}
.mapa .gmw-form-field-wrapper.gmw-locator-enabled .gmw-field-inner .gmw-address-field, 
.mapa .gmw-form-wrapper select {
	height: 45px;
	padding: 0 25px 0 20px;
	background: var(--burgundy);
	font-size: clamp(0.625rem, 3vw, 1rem);
	font-weight: 500;
	color: var(--white);
	border-radius: 500px 0 0 0;
}
.mapa .gmw-map {
	border: 1px solid var(--pale);
}
.mapa .gmw-map .gm-style > div > div:first-child {
	filter: grayscale(1);
}
.mapa .gm-style-iw-chr {
	position: absolute;
	right: 0;
}
.mapa .gm-style .gm-style-iw-c {
	box-shadow: var(--shadow);	
}
.mapa .gm-style .gm-style-iw {
	max-width: 318px!important;
	margin-left: 24px;
	font-size: 1rem;
	-webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}
.mapa .gm-style .gm-style-iw-d {
	min-height: 59px;
	padding: 12px 18px 0 3px;
	text-align: left;
}
.mapa .gmw-item-address, .mapa .gmw-sl-address a {
	font-weight: 300;
}
.mapa .gmw-standard-info-window .gmw-info-window-inner {
	width: auto;
	padding-bottom: 0;
	overflow: visible;
}
.mapa gmp-advanced-marker {
	height: 38px;
	margin-top: 2px;
	border-radius: 100%;
	box-shadow: var(--shadow);
}
.mapa .gmw-is-hidden,
.mapa .gm-style .gm-style-iw-tc::after,
.mapa .gmw-element-template .gmw-item-header,
.mapa .gmw-standard-info-window .gmw-info-window-inner i {
	display: none;
}

/* Partneři */
.partneri {
	padding: 60px 0;
	background: var(--white);
}
.partneri h3 {
	margin-top: 70px;
	text-align: center;
}
.partneri .loga {
	display: grid;
	justify-content: center;
    grid-template-columns: repeat(auto-fit, 200px);
    gap: 16px;
}
.partneri .loga > * {
	justify-content: flex-start;
	font-weight: 300;
	text-decoration: none;
	transition: transform 0.3s linear;
}
.partneri .loga a:hover {
	transform: translate(0, 8px);
}
.partneri .loga small {
	margin-top: 16px;
}
.partneri .loga img {
	width: auto;
	max-width: 200px;
	height: auto;
	max-height: 102px;
	object-fit: contain;
}

/* Personál */
.personal strong + a {
	margin-top: 16px;
}
.personal .funkce {
	margin: 4px 0 8px;
	display: block;
}
.personal .kontakty {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
    gap: 32px;
}

/* Poradna */
.poradna h4 {
	margin-bottom: 0;
}
.poradna {
	gap: 20px;
}
.poradna .dotaz {
	padding: 24px 20px 24px 73px;
	background: var(--white);
	border-radius: var(--radius);
	cursor: pointer;
	transition: background 0.3s linear, color 0.3s linear;
}
.poradna .dotaz:not(.open):hover {
	background: var(--burgundy);
	color: var(--white);
}
.poradna .dotaz > div {
	margin-top: 24px;
	padding: 0;
	display: none;
}
.poradna .dotaz > div > * + * {
	margin-top: 24px;
}

/* Příspěvky */
.prispevky .flex-row {
	gap: 16px;
}
.prispevky .list {
	margin-top: 60px;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
	gap: 24px;
}
.prispevky .box {
	font-weight: 300;
	text-decoration: none;
}
.prispevky img {
	width: 100%;
	height: 215px;
	object-fit: cover;
	object-position: 50% 30%;
	border-radius: var(--radius) var(--radius) 0 0;
}
.prispevky img.placeholder {
	height: 157px;
	padding: 29px 0;
	object-fit: contain;
	background: var(--light-gold);
}

/* Reference */
.reference .embla__container {
	align-items: flex-start;
}
.reference .embla__slide {
	text-align: left;
	background: var(--white);
	border-radius: var(--radius);
}
.reference .embla__slide > * {
	padding: 24px;
}
.reference .embla__slide > strong {
	padding-top: 0;
	display: block;
}
.reference .text-full {
	width: 100%;
	height: 100%;
	max-width: var(--grid-md);
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9;
}
.reference .text-full .close {
	position: absolute;
	top: 24px;
	right: 24px;
}

/* Regiony */
.regiony a {
	font-weight: 300;
}

/* Slider */
section.slider:first-child {
	padding-top: 0;
	padding-bottom: 0;
}

/* Text */
.text p + *, .text ul + * {
	margin-top: 24px;	
}
.text img {
	max-height: 52px;
}
.text .flex-row {
	justify-content: center;
	gap: 18px;
}

/* Text a obrazek */
.text-obrazek {
	display: flex;
	flex-direction: column-reverse;
	justify-content: flex-end;
	gap: 36px;
}
.text-obrazek.prispevek {
	padding-bottom: 0;
}
.text-obrazek.prispevek + section:not(.text-full) {
	margin-top: 60px;
}
.text-obrazek.uvod {
	padding-top: 0;
	padding-bottom: 0;
	align-items: center;
}
.text-obrazek.senevida {
	background: var(--pale);
	color: var(--penta-blue);
}
.text-obrazek.senior {
	background: var(--light-gold);
	color: var(--neutral);
}
.text-obrazek.restaurant {
	background: var(--light-blue);
	color: var(--neutral);
}
.text-obrazek + .text-full {
	padding-top: 0;
}
.text-obrazek > .flex-col {
	width: calc(100% - 32px);
	padding: 24px 16px;
	position: relative;
	z-index: 3;
}
.text-obrazek .logo {
	width: 146px;
	height: 71px;
	margin-bottom: 20px;
	justify-content: center;
	align-items: center;
}
.text-obrazek h2 .logo {
	position: absolute;
	top: -81px;	
	background: var(--white);
	border: 1px solid var(--light-beige);
	border-radius: 42px;
	z-index: 4;
}
.text-obrazek:nth-child(odd) .logo {
	left: 23px;
}
.text-obrazek:nth-child(even) .logo {
	right: 39px;
}
.text-obrazek .logo img {
	width: auto;
	max-width: 100%;
	height: 60px;
	object-fit: contain;
}
.text-obrazek .text .text-full {
	height: 0;
	position: relative;
	top: 200px;
	overflow: hidden;
	transition: top 0.3s linear;
}
.text-obrazek .text .text-full.text-show {
	height: auto;
	margin-top: 24px;
	top: 0;
}
.text-obrazek .kontakty {
	margin-top: 28px;
	gap: 20px;
}
.text-obrazek > img {
	width: calc(100vw - 16px);
	max-height: 224px;
	object-fit: cover;
	object-position: 20% 50%;
}
.text-obrazek.prispevek > img {
	object-position: 50% 20%;
}
.text-obrazek.uvod > img {
	max-height: 335px;
}
section.text-obrazek:nth-child(odd) > img {
	margin-left: 16px;
	border-radius: 500px 0 0 500px;	
}
section.text-obrazek:nth-child(even) > img {
	margin-right: 16px;
	border-radius: 0 500px 500px 0;
}

/* Tlačítka */
.tlacitka {
	align-items: center;
	gap: 16px;
}
main div + .tlacitka {
	margin-top: 32px;
}
.tlacitka a.btn:nth-child(even) {
	background: var(--transparent);
	color: var(--burgundy);
}
.tlacitka a.btn:nth-child(even):hover {
	color: var(--dark-beige);
	border-color: var(--dark-beige);
}
main > section.text-obrazek.uvod:first-child .tlacitka a.btn:nth-child(even) {
	background: var(--penta-blue);
	border-color: var(--penta-blue);
	color: var(--white);
}
main > section.text-obrazek.uvod:first-child .tlacitka a.btn:nth-child(even):hover {
    background: var(--dark-beige);
    border-color: var(--dark-beige);
}

/* Video */
.video .grid {
	max-width: var(--grid-sm);
}
.video video {
	max-width: 100%;
	max-height: 600px;
	margin: 0 auto;
	display: block;
	border-radius: var(--radius);
}
.video .embed-container {
	height: 0;
    padding-bottom: 56.25%;
    padding-top: 30px;
    position: relative;
}
.video .embed-container iframe {
	width: 100%;
	height: calc(100% - 30px);
    position: absolute;
    top: 0;
    left: 0;
	border-radius: var(--radius);
}

/* Virtuální prohlídka */
.virtualni-prohlidka iframe {
	width: 100%;
	border-radius: var(--radius);
}

/* Zpravodaj */
.zpravodaj .grid {
	max-width: 890px;
	position: relative;
}
.zpravodaj .embla__slide {
	height: 1118px;
	justify-content: space-between;
	background: var(--white);
}
.zpravodaj .embla__slide:first-child {
	background: var(--pale);
}
.zpravodaj .embla__slide > * {
	width: calc(100% - 48px);
	padding: 16px 24px;
	justify-content: space-between;
}
.zpravodaj .cover h1 {
	min-height: 120px;
}
.zpravodaj .cover img {
	width: 100%;
	max-width: 100%;
	height: 800px;
	object-fit: cover;
}
.zpravodaj .heading {
	align-items: center;
    font-weight: 700;
    color: var(--dark-beige);
	border-bottom: 1px solid var(--light-gold);
}
.zpravodaj .heading .logo svg {
	height: 24px;
}
.zpravodaj .cover .logo svg {
	height: 66px;
	margin-bottom: 16px;
}
.zpravodaj .content {
	height: calc(100% - 68px);
    justify-content: flex-start;
}
.zpravodaj .obrazky {
	margin-top: 40px;
    display: block;
	column-count: 3;
}
.zpravodaj .obrazky img {
	max-width: 100%;
	max-height: 340px;
	margin-bottom: 16px;
	display: block;
	object-fit: contain;
}
.zpravodaj .strankovani {
	background: var(--penta-blue);
	color: var(--white);
}
.zpravodaj .cover .strankovani {
	width: 100%;
	padding: 0 0 24px;
}
#zpravodaj .jubilea {
	text-align: center;
}
#zpravodaj .grafika img {
	width: auto;
	max-height: 320px;
	margin: 0 auto;
	display: block;
}
#zpravodaj .strankovani {
	padding: 10px 15px;
	justify-content: space-between;
	border-top: 1px dashed #E8E8E8;
}
#zpravodaj .strankovani strong {
	font-size: 24px;
}
.zpravodaj #tisk {
	position: absolute;
	left: 100%;
	top: 0;
	z-index: 9;
}

/* Tisk */
@media print {
	header, footer, .feedbot-wrapper, .embla__controls {
		display: none!important;
	}
	.zpravodaj, .zpravodaj .grid {
		margin: 0!important;
		padding: 0!important;
	}
	.zpravodaj .embla-slide {
		height: 1120px;
		margin: 2px 0 0!important;
		display: flex!important;
		font-size: 14px;
		line-height: 24px;
		border: none;
		opacity: 1!important;
	}
	.zpravodaj .embla__container {
		flex-direction: column;
	}
}
@page {
	margin: 0;
	size: A4 portrait;
}

/* 5 - MEDIA */

/* Phone S */
@media (min-width: 600px) {
	#search {
		width: 24px;
    	height: 24px;
		background-size: 24px;
	}
	#type {
		width: 24px;
    	height: 24px;
		margin-left: 16px;
		background: url(./assets/icons/type.svg) no-repeat center / 24px;
	}
	.motiv {
		left: -25%;
	}
	header .logo {
		padding-left: 20px;
	}
	header .flex-row > .tlacitka {
		margin-right: 20px;
		display: flex;
	}
	header nav .menu {
		max-height: calc(100vh - 157px);
	}
	header nav > .tlacitka .btn {
		display: none;
	}
	.admin-bar header nav.open {
		height: calc(100vh - 32px);
		top: 32px;
	}
	.mapa .gmw-form-field-wrapper.gmw-locator-enabled .gmw-field-inner .gmw-address-field, 
	.mapa .gmw-form-wrapper select {
		height: 62px;
		padding: 0 48px 0 39px;
	}
	.prispevky.embla .embla__slide {
		width: calc(50% - 8px);
	}
}

/* Tablet M */
@media (min-width: 960px) {
	main li + li {
		margin-top: 16px;
	}
	main:after {
		content: "";
		width: 100vw;
		height: 100%;
		position: absolute;
		top: 0;
		left: 0;
		background: transparent url(./assets/decors/pattern.svg) repeat-y top / 100%;
		z-index: 1;
	}
	.archive main:after, .blog main:after, .search main:after {
		background-position: center;
	}
	.flex-grid {
		flex-direction: row;
	}
	.motiv {
		left: 0;
	}
	section.text-obrazek:nth-child(even) .motiv {
		left: auto;
		right: 0;
	}
	.motiv svg {
		height: 380px;
	}
	header {
		padding: 19px 0;
	}
	.cta .kapacita {
		 grid-template-columns: repeat(auto-fit, 252px);
	}
	.cta .kapacita .cislo {
		width: 180px;
		height: 72px;
	}
	.formular .flex-grid {
		justify-content: space-between;
	}
	.formular .flex-grid > * {
		max-width: 50%;
	}
	.formular .flex-grid h2, .formular .flex-grid .label {
		text-align: left;
	}
	.formular form > p {
		width: calc(50% - 12px);
	}
	.galerie ul {
		gap: 16px;
	}
	.galerie .embla__slide {
		width: calc(25% - 8px);
	}
	.mapa .gmw-form-wrapper form {
		display: flex;
		flex-direction: row;
		justify-content: flex-end;
		gap: 16px;
	}
	.mapa .gmw-form-wrapper form > * {
		max-width: 190px;
	}
	.mapa .gmw-form-field-wrapper.gmw-locator-enabled .gmw-field-inner .gmw-address-field {
		max-width: 101px;
	}
	.kroky .polozky {
		gap: 140px;
		position: relative;
	}
	.kroky .polozky > * {
		position: relative;
		z-index: 2;
	}
	.kroky .polozky > *:nth-child(even) {
		flex-direction: row-reverse;
	}
	.kroky .polozky:after {
		content: "";
		width: calc(100% - 59px);
		height: calc(100% - 334px);
		display: block;
		position: absolute;
		top: 76px;
		left: 43px;
		background: transparent url(./assets/decors/line.svg) repeat-y top left / contain;
		z-index: 1;
	}
	.kroky .krok {
		width: 89px;
		height: 66px;
	}
	.kroky .polozky > *:nth-child(even) .krok {
		border-radius: 33px 0 0 33px;
	}
	.kroky .flex-row {
		align-items: flex-start;
	}
	.kroky h3  + div {
		margin-left: 105px;
	}
	.kroky ul {
		margin-top: 0;
	}
	.reference .embla__container {
		gap: 28px;
	}
	.reference .embla__slide:last-child:not(:nth-child(3)) {
		margin-right: 28px;
	}
	.prispevky .flex-row {
		gap: 32px;
	}
	.prispevky.embla .embla__slide {
		width: calc(33.33% - 22px);
	}
	.reference .embla__slide {
		width: calc(50% - 14px);
	}
	.slider .embla__controls {
		width: calc(40vw - 16px);
		float: right;
	}
	.text-obrazek {
		flex-direction: row;
		gap: 40px;
	}
	.text-obrazek > .flex-col {
		max-width: calc(50vw - 32px);
	}
	section.text-obrazek:nth-child(even) {
		flex-direction: row-reverse;
	}
	.text-obrazek:nth-child(odd) .logo {
		top: 81px;
		left: 50vw;
	}
	.text-obrazek:nth-child(even) .logo {
		top: 58px;
		right: calc(50vw + 48px);
	}
	.text-obrazek > img {
		width: calc(50vw - 16px);
		max-height: 410px;
	}
	.text-obrazek.prispevek > img {
		margin-bottom: 16px;
	}
	.text-obrazek.uvod > img {
		width: calc(40vw - 16px);
		max-height: 570px;
	}
	.video.embla .embla__container {
		gap: 16px;
	}
	.video.embla .embla__slide {
		width: calc(33.33% - 10px);
	}
	.video.embla .embla__slide:last-child {
		margin-right: 16px;
	}
}

/* Desktop L */
@media (min-width: 1280px) {
	.grid h1 + div:not(.text) {
		margin-top: 60px;
	}
	.grid h2 + div:not(.text) {
		margin-top: 40px;
	}
	#burger {
		display: none;
	}
	.menu li a {
		justify-content: space-between;
	}
	.sub-menu {
		position: absolute;
		left: -24px;
	}
	.sub-menu.open {
		top: 66px;
	}
	.sub-menu .sub-menu {
		top: 0;
		left: 100%;
	}
	.prev {
		margin-right: 80px;
	}
	.next {
		margin-left: 80px;
	}
	.embla__dots button {
		width: 40px;
	}
	header {
		padding: 21px 45px 21px 0;
	}
	header nav {
		width: auto;
		height: auto;
		display: block;
		position: static;
		overflow: visible;
	}
	header nav .flex-row,
	header nav > .tlacitka {
		display: none;
	}
	header nav .menu {
		flex-direction: row;
		gap: 32px;
		overflow: visible;
	}
	footer .socials {
		justify-content: flex-start;
	}
	footer .tlacitka {
		align-items: flex-start;
	}
	footer .flex-grid {
		flex-direction: row;
		justify-content: space-between;
		align-items: flex-start;
		text-align: left;
	}
	footer .logo svg {
		height: 66px;
	}
	footer .menu {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 30px;
	}
	.copyright {
		margin-top: 100px;
		padding: 32px 0;
	}
	.copyright span {
		max-width: 100%;
	}
	.cta.bg {
		padding-top: 90px;
		padding-bottom: 90px;
	}
	.personal .kontakty {
		gap: 60px;
	}
	.prispevky.embla .embla__slide {
		width: calc(25% - 24px);
	}
	.prispevky.embla .embla__controls {
		display: none;
	}
	.reference .embla__slide {
		width: calc(33.33% - 18px);
	}
	.text-obrazek > .flex-col {
		max-width: 520px;
		align-items: flex-start;
	}
	.text-obrazek.uvod > .flex-col {
		max-width: 504px;
	}
	.text-obrazek h1, .text-obrazek h2 {
		position: relative;
	}
	.text-obrazek:nth-child(odd) .logo, .text-obrazek:nth-child(even) .logo {
		top: -20px;
		left: calc(100% + 10px);
		right: auto;
	}
	.text-obrazek.uvod > img {
		width: 50vw;
	}
}

/* Extra */
body .feedbot-wrapper {
	bottom: 12px!important;
	right: 12px!important;
}