.slider-intro .slider-actions {
	z-index: 10 !important;
}

.button.action-button {
	min-width: 140px;
}

.ponukame-widget {
	background-color: white;
	margin-top: 2em;
	border-radius: 3ex;
	padding: 2ex;
	box-shadow: 0px 1px 1px rgba(3, 7, 18, 0.02),
  	  0px 5px 4px rgba(3, 7, 18, 0.03),
  	  0px 12px 9px rgba(3, 7, 18, 0.05),
  	  0px 20px 15px rgba(3, 7, 18, 0.06),
  	  0px 32px 24px rgba(3, 7, 18, 0.08);
	position: relative;
	min-height: 250px;
}

.ponukame-widget i {
	font-size: 2em;
  	background: linear-gradient(142deg, #b50f0e, #d81118);
  	padding: 0.7ex;
  	border-radius: 10px;
	margin-bottom: 0.5em;
	color: white;
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	align-self: center;
}

.ponukame-widget h3 {
	font-size: 1.5rem !important;
	text-align: center;
}

.ponukame-widget p {
	margin-bottom: 2em !important;
	text-align: center;
}

.ponukame-widget a {
	color: #d80719;
	text-decoration: none;
	position: absolute;
	bottom: 1em;
}

.ponukame-widget a:hover {
	color: #e01517;
}

.ponukame-widget a::before {
	content: "\f0a9";
    	font: normal normal normal 20px/1 FontAwesome;
    	margin-right: 5px;
}

.contact-container {
	margin-bottom: 5em;
}

.contacts .article-body {
	background-color: #000c;
	color: white !important;
	padding: 1em;
}

.contacts .article-body .subheader {
	color: #e5e5e5 !important;
}

.contacts input[type="text"],
.contacts input[type="email"],
.contacts textarea {
	background: none !important;
	border: solid 2px #d80719;
	border-radius: 15px;
}

footer {
	padding-top: 3em;
	padding-bottom: 1em;
	background-color: #1e2832;
	color: white;
}

footer p {
	color: white;
	font-size: 0.9rem;
}

footer a {
	text-decoration: none;
	color: white;
	font-weight: 700;
}

footer a:hover {
	color: #d80719;
}

footer ul {
	padding-left: 0;
	margin-left: 0;
}

footer ul li {
	list-style: none;
}

.about-us-block {
	margin-bottom: 2em;

}

.about-us-block-photo img {
	border-radius: 10px;
}

.schopnosti-tab {
	padding: 1em;
	text-align: center;
}

.schopnosti-tab h3 {
	font-size: 1.2rem;
}

.schopnosti-tab img {
	width: 25%;
	margin-bottom: 1em;
}

.team {
	background-color: #1e2832;
}

.contact-btn {
	margin: 1em auto;
}

.contact-btn a {
	text-decoration: none;
}

.partnership .cell {
	margin-top: 1em;
}
  
.partnership .grid-x {
	display: flex;
	justify-content: center;
}

.partnership h1 {
	color: white !important;
	text-align: center;
}

.bg-blue-visual {
	background-image: url(/images/pozadie_uvodna_stranka.png) !important;
	background-size: cover !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
}

.book-appointment .grid-container {
	background-color: white;
	border-radius: 3ex;
	margin-top: 2em;
	box-shadow: 0px 1px 1px rgba(3, 7, 18, 0.02),
  	  0px 5px 4px rgba(3, 7, 18, 0.03),
  	  0px 12px 9px rgba(3, 7, 18, 0.05),
  	  0px 20px 15px rgba(3, 7, 18, 0.06),
  	  0px 32px 24px rgba(3, 7, 18, 0.08);
}

.contacts {
	background-color: #f0f4f7;
}

.about-us-block-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.values {
	justify-content: center;
}

.contact-container .team-container {
	margin-top: 1em;
	justify-content: center;
	margin-bottom: 2em;
}

.contact-container .team-container .item {
	border-radius: 2ex;
	box-shadow: 0px 1px 1px rgba(3, 7, 18, 0.02),
  	  0px 5px 4px rgba(3, 7, 18, 0.03),
  	  0px 12px 9px rgba(3, 7, 18, 0.05),
  	  0px 20px 15px rgba(3, 7, 18, 0.06),
  	  0px 32px 24px rgba(3, 7, 18, 0.08);
}

.contact-container .team-container .item .no-image {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 2ex 2ex 0 0;
}

.contact-container .team-container .item .info {
	position: relative;
	border-radius: 2ex;
}

.contact-container .team-container .item .info .inner {
	padding: 0 1em;
}

.contact-container .team-container .item .info .inner .name {
	padding-top: 1em;
}

.sluzba-header {
	color: white;
	min-height: 500px;
	background-size: cover;
	background-position: top;
	background-repeat: no-repeat;
	padding-top: 100px;
}

.sluzba-header h1 {
	text-transform: uppercase;
	font-size: 3rem;
	color: white !important;
}

.sluzba-header p {
	font-size: 1.4rem;
	color: white;
}

.firmy-celia {
	padding-top: 3em;
}

.firmy-celia h2 {
	margin-bottom: 1.5em;
}

.firmy-celia .cell {
	padding: 1em 2em;
	background: linear-gradient(90deg, #1f377f, #0a1633);
	border-radius: 3ex;
	color: white;
	margin-bottom: 1em;
	font-size: 1.3rem;
}

.firmy-celia .cell p {
	margin: 0;
	position: relative;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: white;
}

.preco-si-vybrat-nas {
	padding-top: 3em;
}

.preco-si-vybrat-nas h2 {
	position: relative;
	color: white;
	font-size: 2rem;
	margin-bottom: 2em;
	padding: 1em 1em 1em 0;
	z-index: 1;
	background: #d80719;
	border-radius: 0 3ex 3ex 0;
	display: inline-block;
	overflow: visible;
}
  
.preco-si-vybrat-nas h2::before {
	content: "";
	position: absolute;
	left: calc(-1 * (var(--h2-left, 0px)));
	top: 0;
	height: 100%;
	width: var(--h2-left, 0px);
	background: #d80719;
	border-radius: 0 0 0 0;
	z-index: -1;
	pointer-events: none;
}

.preco-si-vybrat-nas .cell {
	position: relative;
	margin-bottom: 3em;
	border-radius: 3ex;
	border: 3px solid #1e3d87;
	padding: 1.5em 1em;
}

.preco-si-vybrat-nas .cell::before {
	content: attr(data-bubble);
	position: absolute;
	top: -1.2em;
	left: 1.2em;
	width: 2em;
	height: 2em;
	background: #1e3d87;
	color: #fff;
	font-weight: bold;
	font-size: 1.4em;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0,0,0,0.15);
	z-index: 2;
  }

.preco-si-vybrat-nas .cell p {
	font-size: 1.3rem;
	position: relative;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #1e3d87;
}

.preco-si-vybrat-nas strong {
	font-size: 1.5rem;
}

.sluzby-container .wrapper {
	padding: 1.5em 1em;
	margin-bottom: 2em;
	border-radius: 3ex;
	height: 370px;
	position: relative;
}

.sluzby-container .wrapper i {
	font-size: 5rem;
}

.sluzby-container .wrapper h3 {
	font-size: 1.5rem;
	margin-top: 1em;
	margin-bottom: 1em'
}

.know-more {
	color: #d80719;
	text-decoration: none;
	position: absolute;
	bottom: 1em;
}

.know-more::before {
	content: "\f0a9";
	font: normal normal normal 20px/1 FontAwesome;
	margin-right: 5px;
}

.clickable-cell {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s cubic-bezier(.4,2,.6,1), box-shadow 0.2s cubic-bezier(.4,2,.6,1);
}
.clickable-cell .wrapper {
  transition: inherit;
}
.clickable-cell:hover .wrapper,
.clickable-cell:focus .wrapper {
  transform: scale(1.04) translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 1.5px 6px rgba(179,22,24,0.10);
  z-index: 2;
}
.clickable-cell:hover i {
	color: #0e115b;
}

.blog-entry {
	margin-bottom: 2em;
	border-radius: 3ex;
	box-shadow: 0px 1px 1px rgba(3, 7, 18, 0.02),
  	  0px 5px 4px rgba(3, 7, 18, 0.03),
  	  0px 12px 9px rgba(3, 7, 18, 0.05),
  	  0px 20px 15px rgba(3, 7, 18, 0.06),
  	  0px 32px 24px rgba(3, 7, 18, 0.08);
}

.blog-entry h2 {
	font-size: 1.6rem;
}

.blog-entry>div {
	padding: 1em;
}

.blog-entry img {
	border-radius: 3ex 3ex 0 0;
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.blog-entry-featured img {
	height: 300px !important;
}

.blog-heading {
	margin: auto;
	margin-bottom: 2em;
}

#top-bar-attitude i {
	color: white;
}

#top-bar-attitude i:hover {
	color: #3a59a3;
}

.avatar-inner img {
	border-color: #d80719 !important;
}

.avatar-inner .overlay {
	background-color: #d80719 !important;
}

.blog-article-header {
	background-color: #1e2832;
	padding: 3em;
	min-height: 300px;
	width: 100vw;
	display: flex;
	align-items: center;
  	justify-content: center;
}

.blog-article-header h1 {
	text-transform: uppercase;
	text-align: center;
	font-weight: 700;
	margin-bottom: 0;
	color: white !important;
}

.blog-article-wrapper {
	margin-bottom: 2em;
}

.blog-article-wrapper h2 {
	width: 100%;
	text-transform: uppercase;
	font-weight: 700;
	color: #1e3d87;
	margin-top: 2em;
	margin-bottom: 1em;
}

.blog-article-wrapper h3 {
	width: 100%;
	margin-top: 1em;
	margin-bottom: 0.5em;
	color: #1e3d87 !important;
}

.blog-article-wrapper p {
	text-align: justify;
	font-size: 1.2rem;
	color: #1e3d87;
}

.blog-article-wrapper ul {
	margin-left: 1em;
}

.blog-article-wrapper ul li {
	margin-bottom: 0.5em;
	font-size: 1.2rem;
	color: #1e3d87;
}

.blog-article-wrapper ol {
	margin-left: 1em;
}

.blog-article-wrapper ol li {
	margin-bottom: 0.5em;
	font-size: 1.2rem;
	color: #1e3d87;
}

.blog-article-wrapper img {
	border-radius: 3ex;
	margin: auto;
	display: block;
	width: 100%;
	height: auto;
}

.blog-article-wrapper .list-checked {
	list-style-type: none;
}

.blog-article-wrapper .list-checked>li::before {
	content: "✅";
	font: normal normal normal 20px/1 FontAwesome;
	position: absolute;
	translate: -1.5em 0.3em;
}

.blog-article-wrapper .list-arrows {
	list-style-type: none;
}

.blog-article-wrapper .list-arrows>li::before {
	content: "➡️";
	font: normal normal normal 20px/1 FontAwesome;
	position: absolute;
	translate: -1.5em 0.3em;
}

.presentation-button {
	color: #d80719 !important;
	text-decoration: none !important;
	font-weight: 700 !important;
	font-size: 4rem !important;
}

.presentation-button:hover {
	color: #f25c6b !important;
}

.team-container .item .info .inner .avatar .avatar-inner {
	width: 140px !important;
	top: -64px !important;
}

.team-container .item:hover .info .avatar .avatar-inner .overlay {
	border-radius: 70px !important;
}

.team-container .item .info .inner .avatar .avatar-inner .overlay i {
	font-size: 3rem !important;
	margin-top: 48px !important;
}

.submenu-toggle {
	display: none !important;
}

/* Cookie Popup Styles */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(30, 40, 50, 0.95);
    color: white;
    padding: 20px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    backdrop-filter: blur(10px);
}

.cookie-popup.show {
    transform: translateY(0);
}

.cookie-popup-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-popup-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-popup-text p {
    margin: 0 0 10px 0;
}

.cookie-popup-text p:last-child {
    margin-bottom: 0;
}

.cookie-popup-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-popup-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.cookie-popup-btn:hover {
    background: #0056b3;
}

.cookie-popup-btn.cookie-popup-decline {
    background: transparent;
    border: 1px solid #ccc;
    color: #ccc;
}

.cookie-popup-btn.cookie-popup-decline:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 639px) {

	#top-main-menu > li > a::after {
		display: none;
	}

	#masthead #top-bar-attitude {
		padding-top: 95px !important;
	}
	
	.primary.navigation {
		border-radius: 6px;
		background-color: #1e2832;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		z-index: 1000;
		transform: translateY(-100%);
		opacity: 0;
		visibility: hidden;
		transition: all 0.4s ease-in-out;
	}

	.primary.navigation.menu-open {
		transform: translateY(0);
		opacity: 1;
		visibility: visible;
	}
	
	.site-header {
		position: relative;
	}
	
	#top-main-menu {
		display: block;
		padding: 0;
		margin: 0;
		width: 100%;
	}

	#top-main-menu > li {
		border-top: 1px solid #1e2832;
		margin-right: 0 !important;
	}

	#top-main-menu > li > a {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 14px 16px;
		color: white;
		text-decoration: none;
		font-weight: 500;
	}

	.sub-menu {
		visibility: hidden;
		padding-left: 1rem;
		background-color: #1e2832;
		max-height: 0;
		overflow: hidden;
		opacity: 0;
		transform: translateY(-20px);
		transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
		pointer-events: none;
	}

	.sub-menu.submenu-open {
		visibility: visible;
		max-height: 500px;
		opacity: 1;
		transform: translateY(0);
		pointer-events: auto;
	}

	.sub-menu li a {
		padding: 10px 14px;
		display: block;
		font-size: 0.95rem;
		color: white;
	}

	.sub-menu li a::before {
		content: "\f0a9";
		font: normal normal normal 20px/1 FontAwesome;
		margin-right: 5px;
	}

	.submenu-toggle {
		display: inline-block !important;
		font: normal normal normal 20px/1 FontAwesome;
		margin-right: 1em !important;
		margin-top: 4px !important;
		transition: transform 0.3s ease-in-out;
		transform-origin: center center;
	}

	.submenu-toggle i {
		transform-origin: center center;
		transition: transform 0.3s ease-in-out;
	}

	.submenu-toggle.rotated i {
		transform: rotate(180deg);
	}

	.ponukame-widget p {
		margin-bottom: 4em !important;
	}

	.ponukame-widget a {
		width: 100%;
		text-align: center;
		padding-right: 2em !important;
	}

	.clickable-cell .wrapper {
		padding-bottom: 0 !important;
	}

	.know-more { 
		width: 100%;
		text-align: center;
		position: relative;
		margin-top: 3em;
	}

	.button.action-button {
		font-size: 13px !important;	
		padding-left: 20px !important;
		padding-right: 20px !important;
	}

	.button.action-button {
		min-width: 100px !important;
	}

	.slider-intro .slide-alt .slide-title {
		font-size: 13px !important;
	}

	.menu-logo-holder {
		min-height: 100px;
		position: relative;
	}

	.site-header h1 {
		width: 120px;	
		position: absolute;
		bottom: 10%;
		right: 1em;
		transform: translateY(-15%);
	}

	.title-bars {
		position: absolute;
		transform: translateY(-75%);
		bottom: 0;
		left: 1em;
	}

	.title-bars i {
		font-size: 2.5rem;
	}

	.slide-title {
		display: inline-block;
		margin-bottom: 2em !important;
	}

	footer h2 {
		text-align: center;
		margin-bottom: 1.5em;
	}

	footer img {
		width: 200px;
	}

	.sluzby-container .wrapper {
		height: auto;
		padding-bottom: 3em;
	}

	.sluzba-header {
		padding-top: 100px !important;
		padding: 1em;
	}

	.sluzba-header h1 {
		font-size: 2rem !important;
	}

	.sluzba-header p {
		font-size: 1rem !important;
	}

	.firmy-celia h2 {
		font-size: 1.5rem !important;
	}

	.firmy-celia .cell p {
		font-size: 1.2rem !important;
	}

	.preco-si-vybrat-nas h2 {
		font-size: 1.5rem !important;
	}

	.preco-si-vybrat-nas .cell p {
		font-size: 1.2rem !important;
	}

	.preco-si-vybrat-nas strong {
		font-size: 1.3rem !important;
	}

	.about-us-block-photo {
		margin-bottom: 2em;
	}

	.schopnosti-tab img {
		width: 15%;
	}

	.team-container {
		padding: 0 1em;
	}

	.team-container .item {
		margin-bottom: 2em;
	}

	section.key-benefits .benefit {
		min-height: 0;
	}

	.blog-outer-wrapper {
		padding: 0 2em;
	}

	.blog-article-wrapper {
		padding: 0 1em;
	}

	.slider-intro .slide-alt .slide-content .slide-content-inner {
		max-width: 70%;
	}

	#top-main-menu > li > a {
		font-size: 1.2rem;
	}

	#top-main-menu .sub-menu li a {
		font-size: 1.05rem !important;
		color: white !important;
		margin-left: 1em;
		line-height: 1.4;
	}

	.sluzby-article {
		padding: 0 1em;
	}

	.sluzba-header h1 {
		font-size: 2.7rem;
	}

	.features {
		padding: 0 1em;
	}

	section.action-bar {
		padding: 0 1em;
	}

	.cookie-popup-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-popup-actions {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-popup-text {
        font-size: 13px;
    }
}

@media (min-width: 640px) and (max-width: 1023px) {
	.slide-title {
		display: inline-block;
	}

	.seventyfiveHeight {
		height: 40vh !important;
	}

	.clickable-cell .wrapper {
		height: 450px !important;
	}

	.blog-outer-wrapper {
		padding: 0 2em;
	}

	.blog-article-wrapper {
		padding: 0 1em;
	}

	.team-container {
		padding: 0 1em;
	}

	.team-container .item {
		margin-bottom: 2em;
	}
}

@media (min-width: 1024px) and (max-width: 1199px) {
	.clickable-cell .wrapper {
		height: 430px !important;
	}

	.blog-outer-wrapper {
		padding: 0 2em;
	}

	.blog-article-wrapper {
		padding: 0 1em;
	}
}

