/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Startline dark palette: Elementor kit and page colors are maintained in
   tools/startline-dark-mode.php; these rules cover handcrafted HTML widgets. */
html,
body {
	background: #000;
	color: #c3c8cf;
	color-scheme: dark;
}

.sl-rides,
.sl-theory-card,
.sl-theory-schedule__empty {
	background: #1b1b1b;
	border-color: #ffffff26;
}

.sl-rides__number,
.sl-theory-card.is-next {
	background: #2454a6;
	border-color: #2454a6;
}

.sl-rides__content p,
.sl-rides__note,
.sl-theory-card__time,
.sl-theory-schedule__empty span {
	color: #c3c8cf;
}

.sl-rides__pill:not(.sl-rides__metro) {
	background: #303030;
	color: #f5f5f5;
}

.sl-theory-card__date,
.sl-theory-card__topic,
.sl-theory-schedule__empty strong {
	color: #f5f5f5;
}

.sl-theory-schedule__empty a {
	color: #6baaff;
}

.sl-theory-card__badge {
	background: #326ac2;
}

/* The reviews predate Startline; show their provenance both above the
   carousel and on every individual card. */
.sl-reviews-origin-intro {
	max-width: 760px;
	text-align: center;
	color: #c3c8cf;
}

.sl-review-card {
	position: relative;
}

.sl-review-origin {
	position: absolute;
	top: 12px;
	right: 18px;
	z-index: 2;
	width: auto;
	max-width: calc(100% - 36px);
}

.sl-review-origin .elementor-heading-title {
	display: inline-block;
	padding: 6px 10px;
	border: 1px solid #6baaff55;
	border-radius: 20px;
	background: #152238;
	color: #a9ceff;
	font: 600 11px/1.2 "Albert Sans", sans-serif;
	letter-spacing: 0;
}

/* The imported rating widget uses an icon font that is not available here. */
.sl-review-card .elementor-star-rating i.elementor-star-full {
	font-size: 0;
}

.sl-review-card .elementor-star-rating i.elementor-star-full::after {
	content: "★";
	color: #6baaff;
	font: normal 18px/1 Arial, sans-serif;
	margin-right: 2px;
}

@media (max-width: 767px) {
	.sl-review-card {
		padding-top: 58px !important;
	}

	.sl-review-origin {
		left: 18px;
		right: auto;
	}
}

.sl-simulator-widget {
	width: 100%;
	margin-top: 28px;
}

@media (max-width: 767px) {
	.sl-simulator-widget {
		width: calc(100% - 40px);
		margin-inline: 20px;
	}
}

.sl-simulator-info {
	padding: 24px;
	border: 1px solid #ffffff26;
	border-radius: 12px;
	background: #1b1b1b;
}

.sl-simulator-info__eyebrow {
	color: #6baaff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .09em;
}

.sl-simulator-info h3 {
	margin: 12px 0;
	color: #f5f5f5;
	font-size: clamp(21px, 2vw, 27px);
}

.sl-simulator-info p {
	margin: 0;
	color: #c3c8cf;
}

.sl-simulator-visual {
	margin: -24px -24px 22px;
	border-radius: 12px 12px 0 0;
	overflow: hidden;
}

.sl-simulator-visual img {
	display: block;
	width: 100%;
	height: 260px;
	object-fit: cover;
	object-position: center 38%;
}

@media (max-width: 767px) {
	.sl-simulator-visual img {
		height: 220px;
	}
}

/* About: keep the Fabia and its details within one card, then present the
   simulator as a separate companion card instead of a full-bleed collage. */
.elementor-19 .sl-vehicle-section {
	gap: 24px;
	padding: 88px 24px !important;
	background: #000;
}

.elementor-19 .sl-vehicle-panel {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	width: 100%;
	max-width: 1240px;
	gap: 0;
	padding: 0 !important;
	overflow: hidden;
	border: 1px solid #ffffff26;
	border-radius: 18px;
	background: #1b1b1b;
}

.elementor-19 .sl-vehicle-panel > .sl-vehicle-image,
.elementor-19 .sl-vehicle-panel > .sl-vehicle-copy {
	--width: 100%;
	width: 100% !important;
	min-width: 0;
	min-height: 430px;
}

.elementor-19 .sl-vehicle-panel > .sl-vehicle-image {
	padding: 0 !important;
	background-color: #141414;
	background-size: contain !important;
	background-position: center center !important;
	background-repeat: no-repeat;
}

.elementor-19 .sl-vehicle-panel > .sl-vehicle-copy {
	justify-content: center;
	padding: 44px 0 !important;
}

.elementor-19 .sl-vehicle-copy-inner {
	--width: 100%;
	width: 100% !important;
	padding: 0 48px !important;
}

.elementor-19 .sl-vehicle-section .sl-simulator-widget {
	width: 100% !important;
	max-width: 960px !important;
	margin: 0 auto !important;
}

.elementor-19 .sl-simulator-info {
	display: grid;
	grid-template-columns: minmax(0, 60%) minmax(0, 40%);
	grid-template-rows: 270px;
	min-height: 270px;
	max-height: 270px;
	padding: 0;
	overflow: hidden;
	border-left: 3px solid #6baaff;
	border-radius: 16px;
	background: linear-gradient(115deg, #1b2636, #1b1b1b 65%);
}

.elementor-19 .sl-simulator-visual {
	position: relative;
	grid-column: 2;
	grid-row: 1;
	min-height: 0;
	height: 270px;
	margin: 0;
	border-radius: 0;
}

.elementor-19 .sl-simulator-visual img {
	height: 270px;
	object-position: center 38%;
}

.elementor-19 .sl-simulator-visual::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, #1b1b1b80, transparent 38%);
	pointer-events: none;
}

.elementor-19 .sl-simulator-copy {
	grid-column: 1;
	grid-row: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding: 30px 40px;
}

.elementor-19 .sl-simulator-info h3 {
	font-size: clamp(25px, 2.2vw, 32px);
	line-height: 1.2;
}

@media (max-width: 1024px) {
	.elementor-19 .sl-vehicle-panel {
		grid-template-columns: 1fr;
	}

	.elementor-19 .sl-vehicle-panel > .sl-vehicle-image {
		height: 320px;
		min-height: 0;
		background-position: center center !important;
	}

	.elementor-19 .sl-vehicle-panel > .sl-vehicle-copy {
		min-height: 0;
	}
}

@media (max-width: 767px) {
	.elementor-19 .sl-vehicle-section {
		padding: 68px 20px !important;
	}

	.elementor-19 .sl-vehicle-panel > .sl-vehicle-image {
		height: 225px;
		background-position: center center !important;
	}

	.elementor-19 .sl-vehicle-panel > .sl-vehicle-copy {
		padding: 30px 0 !important;
	}

	.elementor-19 .sl-vehicle-copy-inner {
		padding: 0 24px !important;
	}

	.elementor-19 .sl-vehicle-section > .sl-simulator-widget {
		width: 100%;
		margin: 0;
	}

	.elementor-19 .sl-simulator-info {
		display: flex;
		flex-direction: column;
		min-height: 0;
		max-height: none;
	}

	.elementor-19 .sl-simulator-visual {
		order: 1;
		width: calc(100% - 40px);
		min-height: 0;
		height: 150px;
		margin: 0 20px 20px;
		border-radius: 10px;
	}

	.elementor-19 .sl-simulator-visual img {
		height: 150px;
	}

	.elementor-19 .sl-simulator-visual::after {
		display: none;
	}

	.elementor-19 .sl-simulator-copy {
		order: 0;
		padding: 26px 24px 20px;
	}

	.elementor-19 .sl-simulator-info h3 {
		font-size: 23px;
	}
}

.sl-student-discount {
	width: 100%;
	max-width: 780px;
	margin: 18px auto 0;
	padding: 14px 20px;
	border: 1px solid #ffffff26;
	border-radius: 12px;
	background: #1b1b1b;
	color: #c3c8cf;
	text-align: center;
}

.sl-student-discount p {
	margin: 0;
}

.sl-student-discount p + p {
	margin-top: 7px;
}

.sl-student-discount .sl-price-english strong {
	color: #a9ceff;
}

.sl-student-discount strong {
	color: #f5f5f5;
}

.elementor-40 .sl-social-links {
	margin-top: 14px;
}

.elementor-40 .sl-social-links .elementor-icon-list-items {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.elementor-40 .sl-social-links .elementor-icon-list-item {
	margin: 0;
}

.elementor-40 .sl-social-links .elementor-icon-list-item a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid #ffffff26;
	border-radius: 50%;
	background: #ffffff0d;
	color: #f5f5f5;
	text-decoration: none;
}

.elementor-40 .sl-social-links .elementor-icon-list-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.elementor-40 .sl-social-links .elementor-icon-list-item a:hover,
.elementor-40 .sl-social-links .elementor-icon-list-item a:focus-visible {
	border-color: #6baaff;
	background: #1b2b43;
}

.elementor-40 .sl-social-links .elementor-icon-list-icon i {
	color: #6baaff;
}

.elementor-40 .sl-social-links .elementor-icon-list-icon svg {
	fill: #6baaff;
}

/* Center the glyph itself: Elementor reserves extra icon-list spacing. */
.elementor-40 .sl-social-links .elementor-icon-list-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 0;
	margin: 0;
	line-height: 1;
}

.elementor-40 .sl-social-links .elementor-icon-list-icon svg,
.elementor-40 .sl-social-links .elementor-icon-list-icon i {
	display: block;
	width: 17px;
	height: 17px;
	margin: 0;
	text-align: center;
}

.elementor-12 .sl-theory-home .elementor-widget-shortcode,
.elementor-17 .elementor-element-74bcc1fa {
	width: 100%;
	min-width: 0;
}

#online-prihlaska,
#online-prihlaska-form {
	scroll-margin-top: 100px;
}

.sl-hero-image img {
	object-position: 70% center;
}

@media (max-width: 1024px) {
	.elementor-12 .sl-hero {
		padding-bottom: 64px;
		gap: 32px;
	}

	.elementor-12 .sl-chip {
		position: relative;
		inset: auto;
		width: 100%;
		margin-top: 14px;
		text-align: center;
		align-items: center;
	}

	.elementor-12 .sl-chip p {
		margin-bottom: 0;
	}

	.elementor-12 .sl-hero-visual::before {
		display: none;
	}

	.elementor-12 .sl-hero-image img {
		height: 360px !important;
		object-position: 70% center;
	}

	.elementor-19 .elementor-element-71bb68d2 > .e-con-inner {
		flex-direction: column;
		gap: 32px;
	}

	.elementor-19 .elementor-element-4768a5db,
	.elementor-19 .elementor-element-be4a5af {
		width: 100%;
		order: initial;
	}

	.elementor-19 .elementor-element-2893e4cd {
		margin-top: 0;
		min-height: 360px;
	}

	.elementor-40 .sl-social-links .elementor-icon-list-items {
		justify-content: center;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.elementor-40 .elementor-element.elementor-element-691126ca {
		width: 40%;
	}

	.elementor-40 .elementor-element.elementor-element-d0ae3ba {
		width: 24%;
	}

	.elementor-40 .elementor-element.elementor-element-74ed3bca {
		width: 30%;
	}
}

@media (max-width: 767px) {
	.elementor-12 .sl-hero-image img {
		height: 260px !important;
	}

	.elementor-12 .sl-theory-home {
		padding: 56px 20px !important;
	}

	.elementor-19 .elementor-element-2893e4cd {
		min-height: 280px;
	}
}

.sl-aktualita[hidden] {
	display: none !important;
}

/* Keep the language widget clear of the consent panel, especially on phones. */
body:has(.cmplz-cookiebanner.cmplz-show) #gt_float_wrapper {
	visibility: hidden;
}

/* Reserve space below the last footer links for the fixed language switcher. */
.elementor-40 .elementor-element.elementor-element-7914908d {
	padding-bottom: 100px !important;
}

/* The client's evening photograph should show the complete vehicle. */
.elementor-12 .elementor-element.sl-hero-image img {
	height: auto !important;
	aspect-ratio: 1672 / 941;
	object-fit: contain !important;
	object-position: center;
}

/* Show the complete, correctly oriented simulator screen, including the crossing. */
.elementor-19 .sl-simulator-info {
	grid-template-columns: minmax(0, 60%) minmax(0, 40%);
	grid-template-rows: 400px;
	min-height: 400px;
	max-height: none;
}

.elementor-19 .sl-simulator-visual,
.elementor-19 .sl-simulator-visual img {
	height: 400px;
}

.elementor-19 .sl-simulator-visual {
	background: #111;
}

.elementor-19 .sl-simulator-visual img {
	object-fit: contain;
	object-position: center;
}

.elementor-19 .sl-simulator-copy p + p {
	margin-top: 12px;
}

@media (max-width: 767px) {
	.elementor-19 .sl-simulator-info {
		min-height: 0;
	}

	.elementor-19 .sl-simulator-visual,
	.elementor-19 .sl-simulator-visual img {
		height: 380px;
	}
}

@media (max-width: 767px) {
	html.sl-has-aktualita .elementor-33 .elementor-element.elementor-element-28e48239.elementor-hidden-mobile {
		display: flex !important;
		padding: 8px 16px !important;
		background: #171717;
	}

	html.sl-has-aktualita .elementor-33 .elementor-element-745d7a15 {
		display: none !important;
	}

	html.sl-has-aktualita .elementor-33 .elementor-element-409259b1 {
		width: 100%;
	}

	html.sl-has-aktualita .elementor-33 .sl-aktualita {
		flex-wrap: wrap;
		justify-content: center;
		gap: 4px 8px;
	}

	html.sl-has-aktualita .elementor-33 .sl-aktualita__text {
		overflow: visible;
		white-space: normal;
		text-align: center;
		text-overflow: clip;
		line-height: 1.45;
	}
}
