.vtx-case-section,
.vtx-case-card {
	font-family: "Be Vietnam Pro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.vtx-case-section {
	position: relative;
	overflow: hidden;
	background: #fbf0db;
	color: #404040;
}

.vtx-case-section::before,
.vtx-case-section::after {
	display: none;
}

.vtx-case-section > img.vtx-case-section__pattern {
	position: absolute;
	right: 0;
	bottom: 0;
	display: block;
	width: 416px;
	max-width: none;
	aspect-ratio: 28334 / 18334;
	object-fit: contain;
	object-position: right bottom;
	opacity: 0.75;
	mix-blend-mode: multiply;
	pointer-events: none;
}

.vtx-case-section__inner {
	position: relative;
	z-index: 1;
	width: min(100%, 1280px);
	margin: 0 auto;
	padding: 64px 24px;
}

.vtx-case-section__eyebrow {
	margin: 0;
	color: #ff6214;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.26em;
	line-height: 16px;
	text-transform: uppercase;
}

.vtx-case-section__heading {
	max-width: 980px;
	margin: 16px 0 0;
	color: #404040;
	font-size: 36px;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.25;
}

.vtx-case-section__body {
	max-width: 760px;
	margin: 16px 0 0;
	color: #5f5f63;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.78;
	letter-spacing: 0;
}

.vtx-case-section__grid {
	margin-top: 32px;
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

.vtx-case-section__results {
	position: relative;
}

.vtx-case-section--loading .vtx-case-section__results {
	pointer-events: none;
	opacity: 0.58;
	transition: opacity 180ms ease;
}

.vtx-case-section__empty {
	margin: 32px 0 0;
	color: #5f5f63;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.6;
}

.vtx-case-section__pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 40px;
}

.vtx-case-section__page-link {
	position: relative;
	display: inline-flex;
	min-width: 40px;
	min-height: 40px;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border: 1px solid rgba(64, 64, 64, 0.14);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.8);
	isolation: isolate;
	color: #4c4b4b;
	font-size: 12px;
	font-weight: 500;
	line-height: 20px;
	padding: 0 16px;
	text-decoration: none;
	box-shadow: 0 12px 30px rgba(64, 64, 64, 0.08);
	transition: transform 420ms ease, box-shadow 420ms ease, background 420ms ease, border-color 420ms ease, color 420ms ease;
}

.vtx-case-section__page-link--number {
	width: 40px;
	min-width: 40px;
	padding-right: 0;
	padding-left: 0;
}

.vtx-case-section__page-label,
.vtx-case-section__page-overlay {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	white-space: nowrap;
	transition: transform 420ms ease, opacity 420ms ease;
}

.vtx-case-section__page-label {
	position: relative;
	z-index: 1;
	transform: translateY(0);
	opacity: 1;
}

.vtx-case-section__page-overlay {
	position: absolute;
	inset: -1px;
	z-index: 2;
	border-radius: inherit;
	transform: translateY(48px);
	opacity: 0;
	pointer-events: none;
}

.vtx-case-section__page-overlay--secondary {
	background: #404040;
	color: #fff;
}

.vtx-case-section__page-overlay--primary {
	background: #ffb217;
	color: #404040;
}

.vtx-case-section__page-link:hover,
.vtx-case-section__page-link:focus-visible {
	text-decoration: none;
	transform: translateY(-2px);
}

.vtx-case-section__page-link:hover .vtx-case-section__page-label,
.vtx-case-section__page-link:focus-visible .vtx-case-section__page-label {
	transform: translateY(-48px);
	opacity: 0;
}

.vtx-case-section__page-link:hover .vtx-case-section__page-overlay,
.vtx-case-section__page-link:focus-visible .vtx-case-section__page-overlay {
	transform: translateY(0);
	opacity: 1;
}

.vtx-case-section__page-link--active {
	border-width: 0;
	background: linear-gradient(135deg, #ff4c2c 0%, #ff6214 23%, #ff8417 52%, #ffb217 77%, #ffda52 100%);
	color: #fff;
	box-shadow: 0 18px 38px rgba(255, 98, 20, 0.18);
}

.vtx-case-section__page-link--disabled {
	cursor: not-allowed;
	opacity: 0.6;
}

.vtx-case-section__page-link--disabled:hover,
.vtx-case-section__page-link--disabled:focus-visible {
	transform: none;
	box-shadow: none;
}

.vtx-case-section__page-link--disabled:hover .vtx-case-section__page-label,
.vtx-case-section__page-link--disabled:focus-visible .vtx-case-section__page-label {
	transform: translateY(0);
	opacity: 1;
}

.vtx-case-section__page-link--disabled:hover .vtx-case-section__page-overlay,
.vtx-case-section__page-link--disabled:focus-visible .vtx-case-section__page-overlay {
	transform: translateY(48px);
	opacity: 0;
}

.vtx-case-section__action {
	margin-top: 40px;
	display: flex;
	justify-content: center;
}

.vtx-case-section--list {
	overflow: hidden;
}

.vtx-case-section--list::before,
.vtx-case-section--list::after {
	display: none;
}

.vtx-case-section--white {
	background: #fff;
}

.vtx-case-section--gray {
	background: #f6f3ea;
}

.vtx-video-case-section {
	background: #f8f6f5;
}

.vtx-case-section--cream {
	background: #fff3df;
}

.vtx-case-section--list .vtx-case-section__inner {
	padding-top: 64px;
	padding-bottom: 64px;
}

.vtx-case-section__button {
	position: relative;
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	overflow: hidden;
	border-radius: 999px;
	background: linear-gradient(135deg, #ff4c2c 0%, #ff6214 23%, #ff8417 52%, #ffb217 77%, #ffda52 100%);
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	padding: 10px 20px;
	text-decoration: none;
	box-shadow: 0 18px 38px rgba(255, 98, 20, 0.18);
	transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.vtx-case-section__button:hover,
.vtx-case-section__button:focus-visible {
	color: #fff;
	transform: translateY(-2px);
}

.vtx-case-section__button-icon {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
}

.vtx-case-card {
	display: block;
	height: 100%;
	min-width: 0;
	color: inherit;
	text-decoration: none;
	border-radius: 18px;
	box-shadow: 0 24px 60px rgba(64, 64, 64, 0.1);
	transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.vtx-case-card:hover,
.vtx-case-card:focus-visible {
	color: inherit;
	text-decoration: none;
	transform: translateY(-4px);
	box-shadow: 0 32px 70px rgba(64, 64, 64, 0.16);
}

.vtx-case-card__surface {
	position: relative;
	display: flex;
	height: 100%;
	flex-direction: column;
	min-height: 100%;
	overflow: hidden;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.8);
	padding: 16px;
	color: #4c4b4b;
	box-shadow: 0 24px 60px rgba(64, 64, 64, 0.1);
	backdrop-filter: blur(8px);
}

.vtx-case-card__surface::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 0;
	height: 52%;
	background: linear-gradient(135deg, #ff4c2c 0%, #ff6214 30%, #ff8417 60%, #ffb217 88%, #ffda52 100%);
}

.vtx-case-card__media {
	position: relative;
	z-index: 1;
	margin: -16px -16px 0;
	background: #fff;
}

.vtx-case-card__image {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.vtx-case-card__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	overflow: hidden;
	min-height: 0;
	margin: 0 -16px -16px;
	padding: 16px 56px 16px 20px;
	border-bottom-right-radius: 120px;
	background: #fff;
}

.vtx-case-card__title {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0;
	color: #404040;
	font-size: 20px;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.375;
}

.vtx-case-card__summary {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	flex: 1 1 auto;
	margin: 8px 0 0;
	color: #5a5959;
	font-size: 16px;
	font-weight: 400;
	line-height: 28px;
}

.vtx-case-card__corner {
	display: none;
}

.vtx-case-card__arrow {
	position: absolute;
	right: 8px;
	bottom: 8px;
	z-index: 3;
	width: 24px;
	height: 24px;
	color: #fff;
	transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.vtx-case-card:hover .vtx-case-card__arrow,
.vtx-case-card:focus-visible .vtx-case-card__arrow {
	transform: translateX(2px);
}

@media (min-width: 1024px) {
	.vtx-case-section__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.vtx-case-section__inner {
		padding-right: 40px;
		padding-left: 40px;
	}
}
