/* =========================================================================
   Twinco Case Studies — port of components/sections/CaseStudies.tsx
   ========================================================================= */
.elementor-widget-twinco_case_studies .elementor-widget-container { padding: 0; }

.twinco-cs { width: 100%; background-color: var(--twinco-surface); font-family: var(--twinco-font-sans); }
.twinco-cs__frame { margin-inline: auto; width: 100%; max-width: 1440px; padding: 100px 80px; }

.twinco-cs__card {
	display: flex;
	width: 100%;
	flex-direction: column;
	align-items: flex-start;
	gap: 50px;
	border-radius: var(--twinco-radius-card);
	background: #fff;
	padding: 24px;
	filter: drop-shadow(0 8px 6px rgba(0, 0, 0, 0.1));
	transition: transform 0.3s ease, filter 0.3s ease;
	will-change: transform;
}
.twinco-cs__card:hover {
	transform: translateY(-4px);
	filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.15));
}

/* ---- Heading ---- */
.twinco-cs__head { display: flex; width: 100%; flex-direction: column; align-items: center; }
.twinco-cs__heading {
	width: 100%;
	text-align: center;
	line-height: 1;
	font-size: var(--twinco-text-h1);
	color: var(--twinco-navy);
}
.twinco-cs__heading-bold { display: block; font-weight: 700; color: var(--twinco-blue); line-height: 1; }
.twinco-cs__heading-rest { display: block; font-weight: 400; color: var(--twinco-navy); line-height: 1; }

/* ---- Detail row ---- */
.twinco-cs__detail {
	display: flex;
	width: 100%;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	row-gap: 32px;
}
.twinco-cs__col {
	display: flex;
	width: 551px;
	max-width: 100%;
	flex-shrink: 0;
	flex-direction: column;
	align-items: flex-start;
	gap: 32px;
}
.twinco-cs__body { width: 100%; font-weight: 500; color: var(--twinco-navy); word-break: break-word; }
.twinco-cs__body-p { font-size: var(--twinco-text-body); line-height: 1.3; margin: 0; }
/* 0,3,0 so it beats the shared `.twinco-w .font-inter :is(…p)` rule (0,2,1) that
   would otherwise force Inter on this Afacad pull-quote (Inter is wider → extra line). */
.twinco-cs .twinco-cs__body .twinco-cs__pullquote {
	font-family: var(--twinco-font-sans);
	font-size: var(--twinco-text-title);
	font-weight: 700;
	line-height: 1.2;
}
.twinco-cs__bold { font-weight: 700; }

.twinco-cs__cta {
	display: flex;
	height: 40px;
	width: 372px;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	border-radius: var(--twinco-radius-pill);
	border: 1px solid var(--twinco-steel);
	padding: 10px 24px;
	font-size: var(--twinco-text-button);
	font-weight: 600;
	color: #fff;
	text-decoration: none;
	background-image: linear-gradient(154.753deg, #021b79 1.0434%, #68e8ff 149.94%);
	transition: filter 0.2s ease;
}
.twinco-cs__cta:hover { filter: brightness(1.1); }
.twinco-cs__cta span { white-space: nowrap; text-align: center; line-height: 1; }

/* ---- Image ---- */
.twinco-cs__media {
	position: relative;
	height: 614px;
	width: 669px;
	max-width: 100%;
	flex-shrink: 0;
	overflow: hidden;
	border-radius: 16px;
}
.twinco-cs .twinco-cs__cube-el {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.1876);
	transform-origin: center;
}

/* ---- Responsive ---- */
@media (max-width: 1023.98px) {
	.twinco-cs__detail { flex-direction: column; align-items: center; }
	.twinco-cs__col { width: 100%; }
	.twinco-cs__media { width: 100%; }
}
@media (max-width: 767.98px) {
	.twinco-cs__frame { padding: 48px 24px; }
	.twinco-cs__media { height: 360px; }
}
@media (max-width: 639.98px) {
	.twinco-cs__frame { padding-left: 16px; padding-right: 16px; }
	.twinco-cs__cta { width: 100%; }
}
