/* Service mega flyout */

body.home .section.h-sec1 {
	background: #fff;
}

body.home .h-sec1 .dc-tab-menu-content {
	display: none;
	position: absolute;
	left: calc(100% + 12px);
	top: 0;
	width: min(560px, 52vw);
	min-height: 240px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	box-shadow: 0 20px 48px rgba(0, 0, 0, .14);
	z-index: 500;
	padding: 16px;
	overflow: auto;
	pointer-events: auto;
}

body.home .h-sec1 .dc-tab-menu-content.is-open,
body.home .h-sec1 .dc-tab-menu-content[style*="display: block"] {
	display: block !important;
	content-visibility: visible !important;
}

body.home .h-sec1 .dc-tab-menu-content--wide {
	width: min(920px, calc(100vw - 280px));
	max-width: 920px;
	padding: 18px 20px;
}

.revidapi-service-mega__lead {
	margin: 0 0 14px;
	font-size: 13px;
	line-height: 1.45;
	color: #6b7280;
}

.revidapi-service-mega__lead a {
	margin-left: 6px;
	font-weight: 700;
	color: #166534;
	text-decoration: none;
}

.revidapi-service-mega__lead a:hover {
	text-decoration: underline;
}

.revidapi-service-mega__grid {
	display: grid;
	column-gap: 22px;
	row-gap: 16px;
}

.revidapi-service-mega__grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.revidapi-service-mega__grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.revidapi-service-mega__grid--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.revidapi-service-mega__grid--5 {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.revidapi-service-mega .dc-catmega-group-title {
	margin-bottom: 10px;
	font-size: 14px;
	font-weight: 700;
	color: #111827;
}

.revidapi-service-mega .dc-catmega-group-title:hover {
	color: #166534;
}

.revidapi-service-mega .dc-catmega-links li {
	margin-bottom: 7px;
}

.revidapi-service-mega .dc-catmega-links a {
	font-size: 13px;
	color: #4b5563;
	text-decoration: none;
}

.revidapi-service-mega .dc-catmega-links a:hover {
	color: #166534;
}

.revidapi-lipsync-soon {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 140px;
	padding: 20px;
	text-align: center;
	background: #f9fafb;
	border-radius: 10px;
	border: 1px dashed #e5e7eb;
}

.revidapi-lipsync-soon__badge {
	display: inline-block;
	margin-bottom: 8px;
	padding: 6px 14px;
	font-size: 13px;
	font-weight: 700;
	color: #6b7280;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
}

.revidapi-lipsync-soon p {
	margin: 0;
	font-size: 14px;
	color: #6b7280;
}

@media (max-width: 1024px) {
	body.home .h-sec1 .dc-tab-menu-content--wide {
		width: min(680px, 88vw);
	}

	.revidapi-service-mega__grid--4,
	.revidapi-service-mega__grid--5,
	.revidapi-service-mega__grid--3,
	.revidapi-service-mega__grid--2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
