/* Bejegyzéskártyák: főoldali lista és a belső oldalak csúszkái. */

.thim-ekits-post.thim-ekits-sliders {
	padding: 8px 0 26px;
	box-sizing: border-box;
}

.thim-ekits-post .swiper-wrapper {
	align-items: flex-start;
}

.thim-ekits-post .thim-ekits-post__article {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	justify-content: flex-start !important;
	height: auto !important;
	min-width: 0;
	background: #fff;
	border: 1px solid rgba(28, 28, 28, 0.06);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(28, 28, 28, 0.08);
	transform: translateY(0);
	transition: box-shadow 0.45s ease-in-out, transform 0.45s ease-in-out, background-color 0.45s ease-in-out;
}

.thim-ekits-post .thim-ekits-post__article:hover {
	box-shadow: 0 16px 34px rgba(28, 28, 28, 0.12);
	transform: translateY(-5px);
	transition: box-shadow 0.45s ease-in-out, transform 0.45s ease-in-out, background-color 0.45s ease-in-out;
}

.thim-ekits-post .thim-ekits-post__thumbnail,
.thim-ekits-post .elementor-widget-thim-loop-item-featured-image {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	flex: 0 0 auto;
	overflow: hidden;
}

.thim-ekits-post .thim-ekits-post__thumbnail .post-thumbnail,
.thim-ekits-post .elementor-widget-thim-loop-item-featured-image .elementor-widget-container {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	line-height: 0;
	border-radius: 0;
}

.thim-ekits-post .thim-ekits-post__thumbnail .post-thumbnail,
.thim-ekits-post .elementor-widget-thim-loop-item-featured-image .elementor-widget-container > a {
	display: block;
	height: 100%;
}

.thim-ekits-post .thim-ekits-post__thumbnail img,
.thim-ekits-post .elementor-widget-thim-loop-item-featured-image img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
	object-position: center;
	border-radius: 0 !important;
	aspect-ratio: auto;
	transform: scale(1) !important;
	transition: transform 0.55s ease-in-out !important;
}

.thim-ekits-post .thim-ekits-post__article:hover .thim-ekits-post__thumbnail img,
.thim-ekits-post .thim-ekits-post__article:hover .elementor-widget-thim-loop-item-featured-image img,
.thim-ekits-post .elementor-widget-thim-loop-item-featured-image img:hover {
	transform: scale(1.045) !important;
	transition: transform 0.55s ease-in-out !important;
}

.thim-ekits-post .thim-ekits-post__content,
.thim-ekits-post .thim-ekits-post__article > .elementor {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	min-width: 0;
	min-height: 0;
}

.thim-ekits-post .thim-ekits-post__content {
	padding: 16px 18px 18px;
	box-sizing: border-box;
}

.thim-ekits-post .elementor-12704,
.thim-ekits-post .elementor-12704 > .e-con,
.thim-ekits-post .elementor-12704 .e-con-inner {
	display: flex !important;
	flex: 1 1 auto;
	flex-direction: column !important;
	align-items: stretch !important;
	width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
	gap: 6px !important;
	row-gap: 6px !important;
}

.thim-ekits-post .elementor-widget-thim-loop-item-info {
	padding: 14px 18px 0 !important;
}

.thim-ekits-post .elementor-widget-thim-loop-item-info .elementor-icon-list-items,
.thim-ekits-post .elementor-widget-thim-loop-item-info .elementor-icon-list-item {
	margin: 0 !important;
	padding: 0 !important;
}

.thim-ekits-post .elementor-widget-thim-loop-item-info .elementor-icon-list-item:after {
	content: none !important;
}

.thim-ekits-post .elementor-widget-thim-loop-item-info .elementor-icon-list-text,
.thim-ekits-post .elementor-widget-thim-loop-item-info .elementor-icon-list-text a {
	color: #5f6772 !important;
	font-size: 13px !important;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.35 !important;
	text-decoration: none;
}

.thim-ekits-post .elementor-widget-thim-loop-item-title,
.thim-ekits-post .elementor-widget-thim-loop-item-excerpt {
	padding-right: 18px !important;
	padding-left: 18px !important;
}

.thim-ekits-post .elementor-widget-thim-loop-item-title {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.thim-ekits-post .elementor-widget-thim-loop-item-excerpt {
	padding-top: 0 !important;
	padding-bottom: 16px !important;
	margin-top: 2px;
}

.thim-ekits-post .thim-ekits-post__title,
.thim-ekits-post .elementor-widget-thim-loop-item-title .elementor-heading-title {
	margin: 0 0 8px;
	color: #cc0025;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.35;
}

.thim-ekits-post .thim-ekits-post__title a,
.thim-ekits-post .elementor-widget-thim-loop-item-title .elementor-heading-title,
.thim-ekits-post .elementor-widget-thim-loop-item-title .elementor-heading-title a {
	display: -webkit-box;
	overflow: hidden;
	color: #cc0025 !important;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none;
	transition: color 0.35s ease-in-out;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.thim-ekits-post .thim-ekits-post__title a:hover,
.thim-ekits-post .elementor-widget-thim-loop-item-title .elementor-heading-title a:hover {
	color: #9a001c !important;
	transition: color 0.35s ease-in-out;
}

.thim-ekits-post .thim-ekits-post__excerpt:empty {
	display: none;
	margin: 0;
}

.thim-ekits-post .thim-ekits-post__excerpt,
.thim-ekits-post .elementor-widget-thim-loop-item-excerpt,
.thim-ekits-post .elementor-widget-thim-loop-item-excerpt .elementor-widget-container {
	color: #5b5b5b;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.55;
}

.thim-ekits-post .thim-ekits-post__excerpt,
.thim-ekits-post .elementor-widget-thim-loop-item-excerpt .elementor-widget-container {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.thim-ekits-post .thim-ekits-post__read-more {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	margin-top: 12px;
	color: #cc0025;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	transition: color 0.35s ease-in-out;
}

.thim-ekits-post .thim-ekits-post__read-more:hover {
	color: #9a001c;
	transition: color 0.35s ease-in-out;
}

.thim-ekits-post .thim-ekits-post__article a:focus-visible {
	outline: 2px solid #cc0025;
	outline-offset: 2px;
}

@media (max-width: 767px) {
	.thim-ekits-post .thim-ekits-post__title,
	.thim-ekits-post .thim-ekits-post__title a,
	.thim-ekits-post .elementor-widget-thim-loop-item-title .elementor-heading-title,
	.thim-ekits-post .elementor-widget-thim-loop-item-title .elementor-heading-title a {
		font-size: 16px;
	}

	.thim-ekits-post .thim-ekits-post__content,
	.thim-ekits-post .elementor-widget-thim-loop-item-info,
	.thim-ekits-post .elementor-widget-thim-loop-item-title,
	.thim-ekits-post .elementor-widget-thim-loop-item-excerpt {
		padding-right: 12px !important;
		padding-left: 12px !important;
	}
}

/* Szakértő csúszka: középre zárt avatar, egyforma magas kártyák. */

.instructor-slider > .swiper-wrapper {
	align-items: stretch;
}

.instructor-slider > .swiper-wrapper > .swiper-slide {
	display: flex;
	align-items: stretch;
	align-self: stretch;
	height: auto !important;
}

.instructor-slider .instructor-card {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	height: auto;
	min-height: 100%;
	box-sizing: border-box;
	text-align: center;
}

.instructor-slider .instructor-avatar {
	display: block;
	align-self: center;
	width: 250px;
	height: 250px;
	max-width: 100%;
	margin-right: auto;
	margin-left: auto;
	object-fit: cover;
	object-position: center center;
	flex: 0 0 auto;
}

.instructor-slider .instructor-card__meta {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	justify-content: flex-start;
	width: 100%;
	text-align: center;
}

@media (prefers-reduced-motion: reduce) {
	.thim-ekits-post .thim-ekits-post__article,
	.thim-ekits-post .thim-ekits-post__thumbnail img,
	.thim-ekits-post .elementor-widget-thim-loop-item-featured-image img,
	.thim-ekits-post .thim-ekits-post__title a,
	.thim-ekits-post .elementor-widget-thim-loop-item-title .elementor-heading-title a,
	.thim-ekits-post .thim-ekits-post__read-more {
		transition: none !important;
	}
}
