/**
 * Tenbit About Story & Dual Image Widget Styles
 * Author: Team Tenbit Solution
 * URL: https://tenbitsol.com
 */

.tenbit-about-section-wrap {
	position: relative;
	width: 100%;
	box-sizing: border-box;
}

.tenbit-about-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 72px;
	align-items: center;
	width: 100%;
	box-sizing: border-box;
}

/* Image Position Order (Left vs Right) */
.elementor-widget-tenbit_about_story.tenbit-about-img-right .tenbit-about-layout {
	grid-template-columns: 1fr 1fr;
}

.elementor-widget-tenbit_about_story.tenbit-about-img-right .tenbit-story-images-composition {
	order: 2;
}

.elementor-widget-tenbit_about_story.tenbit-about-img-right .tenbit-story-content-col {
	order: 1;
}

/* ==========================================
   IMAGES COMPOSITION
   ========================================== */
.tenbit-story-images-composition {
	position: relative;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.tenbit-main-img-holder {
	position: relative;
	width: 100%;
	overflow: hidden;
	border-radius: 16px;
	display: block;
}

.tenbit-story-img-main {
	width: 100%;
	height: 480px;
	object-fit: cover;
	display: block;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.tenbit-story-images-composition.has-hover-zoom:hover .tenbit-story-img-main {
	transform: scale(1.03);
}

/* Floating Secondary Inset Image */
.tenbit-story-img-secondary {
	position: absolute;
	width: 240px;
	height: 240px;
	object-fit: cover;
	border-radius: 12px;
	border: 6px solid #ffffff;
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
	z-index: 3;
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.tenbit-story-images-composition:hover .tenbit-story-img-secondary {
	transform: translateY(-4px);
	box-shadow: 0 20px 42px rgba(0, 0, 0, 0.22);
}

/* Position Presets */
.elementor-widget-tenbit_about_story.tenbit-sec-pos-bottom_right .tenbit-story-img-secondary {
	bottom: -32px;
	right: -32px;
}

.elementor-widget-tenbit_about_story.tenbit-sec-pos-bottom_left .tenbit-story-img-secondary {
	bottom: -32px;
	left: -32px;
}

.elementor-widget-tenbit_about_story.tenbit-sec-pos-top_right .tenbit-story-img-secondary {
	top: -32px;
	right: -32px;
}

.elementor-widget-tenbit_about_story.tenbit-sec-pos-top_left .tenbit-story-img-secondary {
	top: -32px;
	left: -32px;
}

/* Optional Experience Floating Badge */
.tenbit-about-exp-badge {
	position: absolute;
	bottom: 24px;
	left: -20px;
	background: #111111;
	color: #ffffff;
	padding: 14px 20px;
	border-radius: 10px;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
	display: flex;
	align-items: center;
	gap: 12px;
	z-index: 4;
	border-left: 4px solid #c91818;
}

.tenbit-badge-icon {
	color: #f59e0b;
	font-size: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tenbit-badge-icon svg {
	width: 22px;
	height: 22px;
	fill: #f59e0b;
}

.tenbit-badge-title {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
}

.tenbit-badge-sub {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.7);
	line-height: 1.2;
	margin-top: 2px;
}

/* ==========================================
   STORY CONTENT COLUMN
   ========================================== */
.tenbit-story-content-col {
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-sizing: border-box;
}

.tenbit-tag-wrapper {
	margin-bottom: 14px;
}

.tenbit-section-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background-color: rgba(201, 24, 24, 0.08);
	color: #c91818;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 6px 14px;
	border-radius: 100px;
	line-height: 1.2;
}

.tenbit-about-heading {
	font-size: 2.35rem;
	font-weight: 800;
	line-height: 1.18;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	color: #1b1a1a;
	margin: 0 0 20px 0;
}

.tenbit-story-body-text {
	font-size: 1.05rem;
	color: #6b7280;
	line-height: 1.7;
	margin-bottom: 8px;
}

.tenbit-story-body-text p {
	font-size: inherit;
	color: inherit;
	line-height: inherit;
	margin-top: 0;
	margin-bottom: 18px;
}

.tenbit-story-body-text p:last-child {
	margin-bottom: 0;
}

/* Callout / Highlight Box Styles */
.tenbit-story-callout {
	font-size: 1.05rem;
	line-height: 1.65;
	margin-top: 10px;
	box-sizing: border-box;
}

.tenbit-story-callout.style-bold_text {
	font-weight: 700;
	color: #1b1a1a;
}

.tenbit-story-callout.style-left_border_accent {
	border-left: 4px solid #c91818;
	padding: 10px 0 10px 18px;
	font-weight: 600;
	color: #1b1a1a;
	background: transparent;
}

.tenbit-story-callout.style-card_highlight {
	background-color: #fbf8f5;
	border-radius: 8px;
	padding: 16px 20px;
	font-weight: 600;
	color: #1b1a1a;
	border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Action Button */
.tenbit-about-btn-wrap {
	margin-top: 24px;
}

.tenbit-about-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background-color: #c91818;
	color: #ffffff;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 14px 28px;
	border-radius: 8px;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(201, 24, 24, 0.25);
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tenbit-about-btn:hover {
	background-color: #a81313;
	color: #ffffff;
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(201, 24, 24, 0.35);
}

/* ==========================================
   RESPONSIVE BREAKPOINTS
   ========================================== */
@media (max-width: 992px) {
	.tenbit-about-layout {
		grid-template-columns: 1fr !important;
		gap: 48px;
	}

	.elementor-widget-tenbit_about_story.tenbit-reverse-mobile-yes .tenbit-about-layout .tenbit-story-images-composition {
		order: 2;
	}

	.elementor-widget-tenbit_about_story.tenbit-reverse-mobile-yes .tenbit-about-layout .tenbit-story-content-col {
		order: 1;
	}

	.tenbit-about-heading {
		font-size: 1.95rem;
	}

	.tenbit-story-img-main {
		height: 380px;
	}

	.tenbit-story-img-secondary {
		width: 180px;
		height: 180px;
		bottom: -20px;
		right: -10px;
	}
}

@media (max-width: 640px) {
	.tenbit-about-layout {
		gap: 36px;
	}

	.tenbit-about-heading {
		font-size: 1.65rem;
	}

	.tenbit-story-img-main {
		height: 280px;
	}

	.tenbit-story-img-secondary {
		width: 130px;
		height: 130px;
		border-width: 4px;
		bottom: -15px;
		right: -5px;
	}

	.tenbit-about-exp-badge {
		bottom: 10px;
		left: 10px;
		padding: 10px 14px;
	}

	.tenbit-about-btn {
		width: 100%;
		text-align: center;
	}
}
