/* =========================================================================
   Twinco Solutions Carousel — port of components/sections/SolutionsCarousel.tsx
   ========================================================================= */
.elementor-widget-twinco_solutions_carousel .elementor-widget-container { padding: 0; }

.twinco-sol {
	position: relative;
	width: 100%;
	padding: 100px 0;
	overflow: hidden;
	background-color: var(--twinco-ink);
	font-family: var(--twinco-font-sans);
}
.twinco-sol__frame {
	position: relative;
	z-index: 1;
	margin-inline: auto;
	width: 100%;
	max-width: 1440px;
	padding: 0 80px;
}
.twinco-sol__inner {
	position: relative;
	display: flex;
	width: 100%;
	flex-direction: column;
	align-items: flex-start;
	gap: 60px;
}
.twinco-sol__head { display: flex; width: 100%; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.twinco-sol__heading { width: 100%; font-size: var(--twinco-text-h1); font-weight: 700; line-height: 1; color: var(--twinco-gold); }
.twinco-sol__subhead { width: 100%; font-size: var(--twinco-text-title); color: #fff; }
.twinco-sol__sub-normal { font-weight: 400; line-height: 1.2; }
.twinco-sol__sub-bold { font-weight: 700; line-height: 1.2; }

/* Decorative ChatGPT swirl behind the block (desktop only). */
/* Anchored to the right edge of the full-width section with a negative offset so it
   always bleeds off the right, on any screen width. */
.twinco-sol__swirl { pointer-events: none; position: absolute; right: -400px; top: 285px; z-index: 0; display: flex; height: 1390.394px; width: 1434.231px; align-items: center; justify-content: center; }
.twinco-sol__swirl-rot { flex: none; transform: rotate(138.18deg); }
.twinco-sol__swirl-box { position: relative; height: 720.383px; width: 1280px; }
.twinco-sol .twinco-sol__swirl-box img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
/* Overlay removed — BK.png is a transparent PNG; a dark tint painted a visible box edge. */

.twinco-sol__card {
	display: flex;
	width: 100%;
	flex-direction: column;
	align-items: flex-start;
	overflow: hidden;
	border-radius: var(--twinco-radius-card);
	padding: 24px;
	background-image:
		linear-gradient(-14.0061deg, rgba(20, 123, 254, 0.2) 2.4415%, rgba(0, 0, 0, 0.2) 73.352%),
		linear-gradient(90deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);
}
.twinco-sol__row { display: flex; width: 100%; flex-direction: column; align-items: center; justify-content: space-between; gap: 40px; }

.twinco-sol__copy { display: flex; width: 100%; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 32px; }
.twinco-sol__desc { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 32px; color: #fff; }
.twinco-sol__desc.is-active { display: flex; }
.twinco-sol__titles { width: 100%; word-break: break-word; }
.twinco-sol__title1 { font-size: 44px; font-weight: 400; line-height: 1.2; }
.twinco-sol__title2 { font-size: 44px; font-weight: 700; line-height: 1.2; color: var(--twinco-gold); }
.twinco-sol__descp { width: 100%; font-size: var(--twinco-text-body); font-weight: 400; line-height: 1.3; }

.twinco-sol__controls { display: flex; align-items: center; gap: 16px; }
/* These controls are bare <button>s. The active block theme + Elementor paint bare
   buttons with a gradient/border/outline/min-size (0,1,1) — which hid the dots and
   gave the next arrow a purple gradient. Force at (0,2,0) + !important across states,
   and kill background-image so the gradient can't tint them. */
.twinco-sol .twinco-sol__arrow,
.twinco-sol .twinco-sol__arrow:hover,
.twinco-sol .twinco-sol__arrow:focus,
.twinco-sol .twinco-sol__arrow:active,
.twinco-sol .twinco-sol__arrow:focus-visible {
	flex-shrink: 0;
	cursor: pointer;
	background: none !important;
	background-image: none !important;
	border: 0 !important;
	box-shadow: none !important;
	outline: none !important;
	padding: 0 !important;
	min-width: 0 !important;
	min-height: 0 !important;
}
.twinco-sol .twinco-sol__arrow img { width: 32px; height: 32px; display: block; transition: filter 0.2s ease; }
.twinco-sol .twinco-sol__arrow img:hover { filter: brightness(1.1); }
.twinco-sol__arrow-prev { transform: rotate(90deg); }
.twinco-sol__arrow-next { transform: rotate(-90deg); }
.twinco-sol__dots { display: flex; align-items: center; gap: 8px; }
.twinco-sol .twinco-sol__dots .twinco-sol__dot,
.twinco-sol .twinco-sol__dots .twinco-sol__dot:focus,
.twinco-sol .twinco-sol__dots .twinco-sol__dot:active,
.twinco-sol .twinco-sol__dots .twinco-sol__dot:focus-visible {
	width: 10px !important;
	height: 10px !important;
	min-width: 0 !important;
	min-height: 0 !important;
	flex: 0 0 auto !important;
	border-radius: 9999px;
	background-color: rgba(255, 255, 255, 0.25) !important;
	background-image: none !important;
	border: 0 !important;
	box-shadow: none !important;
	outline: none !important;
	padding: 0 !important;
	cursor: pointer;
	transition: all 0.3s ease;
}
.twinco-sol .twinco-sol__dots .twinco-sol__dot:hover { background-color: rgba(255, 255, 255, 0.5) !important; }
.twinco-sol .twinco-sol__dots .twinco-sol__dot.is-active {
	width: 26px !important;
	height: 10px !important;
	background-color: var(--twinco-blue) !important;
	background-image: none !important;
}

.twinco-sol__media { position: relative; height: 420px; width: 100%; flex-shrink: 0; overflow: hidden; border-radius: 8px; background: #0a1230; }
.twinco-sol .twinco-sol__img { display: none; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.twinco-sol .twinco-sol__img.is-active { display: block; }

@media (min-width: 1240px) {
	.twinco-sol__row { flex-direction: row; align-items: stretch; gap: 0; }
	.twinco-sol__copy { height: 581px; width: 420px; gap: 0; }
	.twinco-sol__media { height: 581px; width: 700px; }
}
@media (max-width: 1023.98px) {
	.twinco-sol__swirl { display: none; }
}
@media (max-width: 767.98px) {
	.twinco-sol { padding-top: 48px; padding-bottom: 48px; }
	.twinco-sol__frame { padding-left: 24px; padding-right: 24px; }
	.twinco-sol__title1, .twinco-sol__title2 { font-size: 28px; }
}
@media (max-width: 639.98px) {
	.twinco-sol__frame { padding-left: 16px; padding-right: 16px; }
}
