/* ====== SEO Service Tabs v2.1 - Page-wise layout, old/simple tab style ====== */

.sst-wrapper {
	--sst-active: #2b0057;
	--sst-text: #1a1a2e;
	--sst-muted: #4b5563;
	--sst-border: #d9dee3;
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 0;
	background: #f5f7fa;
	font-family: inherit;
	overflow: hidden;
	box-sizing: border-box;
}

.sst-wrapper,
.sst-wrapper * {
	box-sizing: border-box;
}

/* Left tabs - no button background / no theme button styling */
.sst-wrapper .sst-tabs-list {
	flex: 0 0 280px;
	max-width: 280px;
	padding: 30px 20px;
	background: transparent !important;
	box-sizing: border-box;
}

.sst-wrapper .sst-tab-item,
.sst-wrapper .sst-tab-item:focus,
.sst-wrapper .sst-tab-item:hover,
.sst-wrapper .sst-tab-item:active {
	display: block;
	width: 100%;
	max-width: 100%;
	text-align: left;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	border: 0 !important;
	border-bottom: 1px solid var(--sst-border) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	outline: none;
	margin: 0 !important;
	padding: 14px 0 !important;
	font-size: 15px;
	line-height: 1.3;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: none;
	color: var(--sst-text) !important;
	cursor: pointer;
	transition: color .2s ease, border-color .2s ease;
	font-family: inherit;
	appearance: none;
	-webkit-appearance: none;
}

.sst-wrapper .sst-tab-item:hover,
.sst-wrapper .sst-tab-item.sst-active {
	color: var(--sst-active) !important;
}

.sst-wrapper .sst-tab-item.sst-active {
	border-bottom: 3px solid var(--sst-active) !important;
}

/* Middle image */
.sst-wrapper .sst-image-area {
	flex: 1 1 320px;
	max-width: 420px;
	position: relative;
	min-height: 400px;
	background: transparent;
}

.sst-wrapper .sst-image-panel {
	display: none;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

.sst-wrapper .sst-image-panel.sst-active {
	display: block;
	position: relative;
}

.sst-wrapper .sst-image-panel img {
	width: 100%;
	height: 100%;
	min-height: 400px;
	object-fit: cover;
	display: block;
	border: 0 !important;
	box-shadow: none !important;
}

.sst-wrapper .sst-no-image {
	width: 100%;
	height: 100%;
	min-height: 400px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #e2e8f0;
	color: #94a3b8;
	font-size: 14px;
}

/* Right content */
.sst-wrapper .sst-content-area {
	flex: 1 1 400px;
	padding: 40px;
	background: transparent;
	box-sizing: border-box;
}

.sst-wrapper .sst-content-panel {
	display: none;
	animation: sstFade .22s ease;
}

.sst-wrapper .sst-content-panel.sst-active {
	display: block;
}

@keyframes sstFade {
	from { opacity: .4; transform: translateY(4px); }
	to { opacity: 1; transform: translateY(0); }
}

.sst-wrapper .sst-content-title {
	font-size: clamp(28px, 3vw, 46px);
	line-height: 1.15;
	font-weight: 900;
	letter-spacing: -0.02em;
	color: var(--sst-active);
	margin: 0 0 20px;
}

.sst-wrapper .sst-small-title {
	font-size: 14px;
	font-weight: 800;
	color: var(--sst-text);
	margin: 0 0 16px;
}

.sst-wrapper .sst-content-body {
	font-size: 16px;
	line-height: 1.8;
	color: var(--sst-muted);
}

.sst-wrapper .sst-content-body p {
	margin: 0 0 18px;
}

.sst-wrapper .sst-content-body ul,
.sst-wrapper .sst-content-body ol {
	margin: 0 0 18px 20px;
	padding: 0;
}

.sst-wrapper .sst-content-body li {
	margin: 0 0 8px;
}

.sst-wrapper .sst-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 25px;
	padding: 14px 28px;
	background: var(--sst-active) !important;
	color: #ffffff !important;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .5px;
	text-decoration: none !important;
	border-radius: 4px;
	border: 0 !important;
	box-shadow: none !important;
	transition: opacity 0.2s ease;
}

.sst-wrapper .sst-button:hover {
	opacity: .86;
	color: #ffffff !important;
}

.sst-wrapper .sst-arrow {
	font-size: 18px;
	line-height: 1;
}

.sst-empty {
	max-width: 900px;
	margin: 15px auto;
	padding: 14px 18px;
	background: #fff7ed;
	border-left: 4px solid #f97316;
	color: #7c2d12;
}

/* Elementor / theme compatibility */
.elementor-widget-shortcode .sst-wrapper,
.elementor-shortcode .sst-wrapper {
	max-width: 1240px;
}

/* Tablet */
@media (max-width: 1024px) {
	.sst-wrapper .sst-tabs-list {
		flex-basis: 240px;
		max-width: 240px;
	}
	.sst-wrapper .sst-image-area {
		max-width: 340px;
	}
	.sst-wrapper .sst-content-area {
		padding: 34px 30px;
	}
	.sst-wrapper .sst-tab-item {
		font-size: 14px;
	}
}

/* Mobile */
@media (max-width: 767px) {
	.sst-wrapper {
		flex-direction: column;
	}

	.sst-wrapper .sst-tabs-list,
	.sst-wrapper .sst-image-area,
	.sst-wrapper .sst-content-area {
		max-width: 100%;
		flex: 1 1 auto;
	}

	.sst-wrapper .sst-tabs-list {
		padding: 20px;
		display: flex;
		overflow-x: auto;
		gap: 14px;
	}

	.sst-wrapper .sst-tab-item {
		min-width: 185px;
		padding: 12px 0 !important;
	}

	.sst-wrapper .sst-image-area,
	.sst-wrapper .sst-image-panel img,
	.sst-wrapper .sst-no-image {
		min-height: 280px;
	}

	.sst-wrapper .sst-content-area {
		padding: 28px 22px 34px;
	}
}
