.ztech-tv-gallery,
.ztech-tv-gallery * {
	box-sizing: border-box;
}

.ztech-tv-gallery {
	--ztech-gallery-accent: #f6b900;
	--ztech-gallery-dark: #101828;
	--ztech-gallery-muted: #667085;
	width: 100%;
	padding: 70px 20px;
	background: #f5f7fb;
	font-family: inherit;
}

.ztech-tv-gallery__container {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
}

.ztech-tv-gallery__header {
	display: grid;
	margin-bottom: 34px;
	grid-template-columns: minmax(0, .85fr) minmax(280px, .55fr);
	gap: 28px;
	align-items: end;
}

.ztech-tv-gallery__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
	color: var(--ztech-gallery-accent);
	font-size: 13px;
	font-weight: 850;
	line-height: 1.25;
	letter-spacing: .11em;
	text-transform: uppercase;
}

.ztech-tv-gallery__eyebrow::before {
	content: "";
	width: 34px;
	height: 2px;
	border-radius: 99px;
	background: currentColor;
}

.ztech-tv-gallery__heading {
	max-width: 720px;
	margin: 0;
	color: var(--ztech-gallery-dark);
	font-size: clamp(34px, 4vw, 52px);
	font-weight: 900;
	line-height: 1.08;
	letter-spacing: 0;
	text-transform: capitalize;
}

.ztech-tv-gallery__description {
	margin: 0;
	color: var(--ztech-gallery-muted);
	font-size: 16.5px;
	line-height: 1.72;
}

.ztech-tv-gallery__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-flow: dense;
	gap: 16px;
}

.ztech-tv-gallery__item {
	position: relative;
	min-width: 0;
	overflow: hidden;
	border: 1px solid rgba(16, 24, 40, .08);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 14px 34px rgba(16, 24, 40, .08);
}

.ztech-tv-gallery__item.is-large {
	grid-column: span 2;
	grid-row: span 2;
}

.ztech-tv-gallery__image-link {
	position: relative;
	display: block;
	overflow: hidden;
	min-height: 100%;
	color: inherit;
	text-decoration: none !important;
}

.ztech-tv-gallery__image-link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(16, 24, 40, 0) 28%, rgba(16, 24, 40, .78) 100%);
	pointer-events: none;
}

.ztech-tv-gallery__image-link img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	transform: scale(1.001);
	transition: transform .32s ease;
}

.ztech-tv-gallery__item.is-large .ztech-tv-gallery__image-link img {
	aspect-ratio: 1 / 1;
}

.ztech-tv-gallery__item:hover .ztech-tv-gallery__image-link img {
	transform: scale(1.045);
}

.ztech-tv-gallery__zoom {
	position: absolute;
	z-index: 3;
	top: 14px;
	right: 14px;
	display: grid;
	width: 38px;
	height: 38px;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, .42);
	border-radius: 50%;
	background: rgba(16, 24, 40, .72);
	color: #fff;
	opacity: 0;
	transform: translateY(-4px);
	transition: opacity .22s ease, transform .22s ease;
}

.ztech-tv-gallery__item:hover .ztech-tv-gallery__zoom {
	opacity: 1;
	transform: translateY(0);
}

.ztech-tv-gallery__zoom svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ztech-tv-gallery__meta {
	position: absolute;
	z-index: 2;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 18px;
	color: #fff;
}

.ztech-tv-gallery__tag {
	display: inline-flex;
	max-width: 100%;
	margin-bottom: 9px;
	padding: 6px 9px;
	border-radius: 999px;
	background: var(--ztech-gallery-accent);
	color: var(--ztech-gallery-dark);
	font-size: 12px;
	font-weight: 900;
	line-height: 1.15;
	text-transform: uppercase;
}

.ztech-tv-gallery__title {
	margin: 0;
	color: #fff;
	font-size: 20px;
	font-weight: 900;
	line-height: 1.16;
	letter-spacing: 0;
}

.ztech-tv-gallery__location {
	display: block;
	margin-top: 7px;
	color: rgba(255, 255, 255, .82);
	font-size: 14px;
	font-weight: 750;
	line-height: 1.3;
}

.ztech-tv-gallery__footer {
	display: flex;
	margin-top: 22px;
	padding: 18px 20px;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	border: 1px solid rgba(16, 24, 40, .08);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 12px 28px rgba(16, 24, 40, .07);
}

.ztech-tv-gallery__footer strong {
	color: var(--ztech-gallery-dark);
	font-size: 18px;
	font-weight: 900;
	line-height: 1.25;
}

.ztech-tv-gallery__button {
	display: inline-flex;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 12px 16px;
	border-radius: 8px;
	background: var(--ztech-gallery-dark);
	box-shadow: 0 12px 26px rgba(16, 24, 40, .17);
	color: #fff;
	font-size: 14px;
	font-weight: 850;
	line-height: 1.2;
	text-decoration: none !important;
	transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.ztech-tv-gallery__button:hover,
.ztech-tv-gallery__button:focus {
	transform: translateY(-2px);
	background: #202a3a;
	box-shadow: 0 16px 32px rgba(16, 24, 40, .22);
	color: #fff;
}

.ztech-tv-gallery__button svg {
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

@media (max-width: 980px) {
	.ztech-tv-gallery__header {
		grid-template-columns: 1fr;
		align-items: start;
	}

	.ztech-tv-gallery__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.ztech-tv-gallery {
		padding: 52px 15px;
	}

	.ztech-tv-gallery__heading {
		font-size: 34px;
	}

	.ztech-tv-gallery__grid {
		grid-template-columns: 1fr;
	}

	.ztech-tv-gallery__item.is-large {
		grid-column: span 1;
		grid-row: span 1;
	}

	.ztech-tv-gallery__footer {
		align-items: stretch;
		flex-direction: column;
	}

	.ztech-tv-gallery__button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ztech-tv-gallery *,
	.ztech-tv-gallery *::before,
	.ztech-tv-gallery *::after {
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}
}
