.granxok-tg {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: #4e5b6d;
}

.granxok-tg__swiper {
	position: relative;
	width: 100%;
	overflow: hidden;
	padding: 0 0 36px;
}

.granxok-tg__swiper .swiper-wrapper {
	align-items: stretch;
}

.granxok-tg__swiper .swiper-slide {
	height: auto;
	box-sizing: border-box;
}

.granxok-tg__card {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-width: 0;
	background: #fff;
	border: 1px solid #e8eaed;
	border-radius: 8px;
	overflow: hidden;
}

.granxok-tg__media {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 5;
	background: #f3f5f6;
	overflow: hidden;
}

.granxok-tg__photo,
.granxok-tg__video {
	display: block;
	width: 100%;
	height: 100%;
	position: relative;
	text-decoration: none;
}

.granxok-tg__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.granxok-tg__badge,
.granxok-tg__duration {
	position: absolute;
	right: 10px;
	bottom: 10px;
	padding: 4px 8px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.62);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
}

.granxok-tg__play {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 56px;
	height: 56px;
	margin: -28px 0 0 -28px;
	border-radius: 50%;
	background: rgba(37, 119, 133, 0.92);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.granxok-tg__play:before {
	content: "";
	position: absolute;
	left: 22px;
	top: 18px;
	border-style: solid;
	border-width: 10px 0 10px 16px;
	border-color: transparent transparent transparent #fff;
}

.granxok-tg__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 14px 16px 16px;
	flex: 1 1 auto;
}

.granxok-tg__date {
	font-size: 13px;
	font-weight: 600;
	color: #8a94a3;
}

.granxok-tg__text {
	font-size: 15px;
	line-height: 1.45;
	color: #1e1d1b;
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.granxok-tg__text:hover,
.granxok-tg__text:focus-visible {
	color: #257785;
}

.granxok-tg__nav {
	position: absolute;
	top: 42%;
	z-index: 5;
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 50%;
	background: #257785;
	color: #fff;
	cursor: pointer;
	transform: translateY(-50%);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

.granxok-tg__nav:after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 10px;
	height: 10px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	box-sizing: border-box;
}

.granxok-tg__nav--prev {
	left: 8px;
}

.granxok-tg__nav--prev:after {
	transform: translate(-30%, -50%) rotate(-135deg);
}

.granxok-tg__nav--next {
	right: 8px;
}

.granxok-tg__nav--next:after {
	transform: translate(-70%, -50%) rotate(45deg);
}

.granxok-tg__nav.swiper-button-disabled {
	opacity: 0.35;
	cursor: default;
}

.granxok-tg__dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 8px;
	display: flex;
	justify-content: center;
	gap: 6px;
	z-index: 4;
}

.granxok-tg__dots .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	margin: 0 !important;
	background: #c5ced6;
	opacity: 1;
}

.granxok-tg__dots .swiper-pagination-bullet-active {
	background: #257785;
}

.granxok-tg__cta-wrap {
	display: flex;
	justify-content: center;
	margin-top: 8px;
}

.granxok-tg__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 220px;
	padding: 14px 28px;
	border-radius: 14px;
	background: #257785;
	color: #fff !important;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.granxok-tg__cta:hover,
.granxok-tg__cta:focus-visible {
	background: #1e606b;
	color: #fff !important;
}

.granxok-tg--empty {
	padding: 16px;
	border: 1px dashed #cfd6dc;
	border-radius: 8px;
}

.granxok-tg-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.86);
	padding: 24px;
}

.granxok-tg-lightbox.is-open {
	display: flex;
}

.granxok-tg-lightbox img {
	max-width: min(92vw, 1100px);
	max-height: 88vh;
	object-fit: contain;
}

.granxok-tg-lightbox__close,
.granxok-tg-lightbox__nav {
	position: absolute;
	border: 0;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	cursor: pointer;
	font-size: 28px;
	line-height: 1;
	width: 44px;
	height: 44px;
	border-radius: 50%;
}

.granxok-tg-lightbox__close {
	top: 16px;
	right: 16px;
}

.granxok-tg-lightbox__nav.is-prev {
	left: 16px;
}

.granxok-tg-lightbox__nav.is-next {
	right: 16px;
}

@media (max-width: 767px) {
	.granxok-tg__swiper {
		padding-bottom: 40px;
	}

	.granxok-tg__media {
		aspect-ratio: 3 / 4;
	}

	.granxok-tg__nav {
		width: 36px;
		height: 36px;
	}

	.granxok-tg__nav--prev {
		left: 4px;
	}

	.granxok-tg__nav--next {
		right: 4px;
	}

	.granxok-tg__cta {
		width: 100%;
		min-width: 0;
	}

	.elementor-section:has(.granxok-tg),
	.elementor-container:has(.granxok-tg),
	.e-con:has(.granxok-tg),
	.e-con-inner:has(.granxok-tg) {
		height: auto !important;
		overflow: visible !important;
	}
}
