/* ==========================================================
   ABSD Services Tabs
   ========================================================== */

.absd-services-tabs {
	--absd-black: #0f0f10;
	--absd-grey-bg: #f4f4f5;
	--absd-grey-border: #e4e4e7;
	--absd-text-muted: #52525b;
	--absd-radius: 999px;
	--absd-radius-lg: 16px;
	max-width: 1440px;
	margin: 0 auto;
	box-sizing: border-box;
}

.absd-services-tabs *,
.absd-services-tabs *::before,
.absd-services-tabs *::after {
	box-sizing: border-box;
	font-family:Manrope, sans-serif;
}

/* ---------- Tabs Nav ---------- */
.absd-tabs-nav::-webkit-scrollbar {
  height: 6px;
}

.absd-tabs-nav::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

.absd-tabs-nav::-webkit-scrollbar-track {
  background: #ddd;
}

.absd-tabs-nav::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 10px;
  display:none;
}

/* Firefox */
.absd-tabs-nav{
  scrollbar-width: thin;
}
.absd-tabs-nav {
	display: flex;
	gap: 15px;
	margin-bottom: 45px;
    overflow-x: auto;
    padding-bottom: 8px;

}

.absd-tab-btn {
	font-family: inherit;
	 font-size: clamp(13px, 0.875rem + ((1vw - 3.2px) * 0.357), 16px);
	font-weight: 500;
	line-height: 1;
	padding: 10px 16px;
	border:0px;
	border-radius: 25px;
	background: var(--Blue-Base, #F4F6F7);
	color: var(--absd-black);
	cursor: pointer;
	white-space: nowrap;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.absd-tab-btn:hover {
	background: var(--absd-grey-bg);
}

.absd-tab-btn:focus-visible {
	outline: 2px solid var(--absd-black);
	outline-offset: 2px;
}

.absd-tab-btn.is-active {
	background: var(--absd-black);
	border-color: var(--absd-black);
	color: #fff;
}

/* ---------- Tab Panels ---------- */
.absd-tabs-content {
	position: relative;
}

.absd-tab-panel {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}

.absd-tab-panel[hidden] {
	display: none;
}

.absd-tab-text {
	max-width: 560px;
}

.absd-tab-title {
	 font-size: clamp(23.043px, 1.44rem + ((1vw - 3.2px) * 1.335), 38px);
    font-weight: 600;
	margin: 0 0 20px;
	color: var(--absd-black);
}

.absd-tab-excerpt {
	margin-bottom: 28px;
}

.absd-tab-excerpt p {
	 font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.357), 18px);
    font-style: normal;
    font-weight: 500;
	color: #808080;
	margin: 0;
}

.absd-tab-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #1F2A30;
	color: #fff;
	text-decoration: none;
	width: fit-content;
	padding: 14px 24px;
	border-radius: 50px;
	transition: opacity .18s ease;
    font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.268), 17px);
    font-style: normal;
    font-weight: 600;
}

.absd-tab-media {
	width: 100%;
}

.absd-tab-img {
	width: 100%;
	height: auto;
	object-fit: cover;
	border-radius: var(--absd-radius-lg);
	display: block;
}

.absd-tab-img--placeholder {
	background: var(--absd-grey-bg);
	border: 1px dashed var(--absd-grey-border);
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
	.absd-tab-panel {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	
	.absd-tab-text {
    max-width: 100%;
}
	.absd-tab-title {
		margin-bottom:15px;
	}
}

@media (max-width: 560px) {
	.absd-tabs-nav::-webkit-scrollbar {
		display: none;
	}

	.absd-tab-btn {
		padding: 12px 18px;
	}
	.absd-tab-excerpt {
    margin-bottom: 20px;
}
	.absd-tabs-nav {
		margin-bottom:30px;
	}
}
