/**
 * Migration type hub (Content / Email / Chat master pages).
 */

/* Compact hero — same height as Box→OneDrive route articles */
.dr-migration-type-hub #blog_banner.details.dr-blog-hero {
	padding-top: calc(var(--dr-main-top-padding, 73px) + 24px);
	padding-bottom: 32px;
}

@media (max-width: 767px) {
	.dr-migration-type-hub #blog_banner.details.dr-blog-hero {
		padding-top: calc(var(--dr-main-top-padding, 73px) + 16px);
		padding-bottom: 24px;
	}
}

.dr-migration-type-hub {
	overflow-x: hidden;
}

.dr-mth-section-header {
	margin: 0 0 1.75rem;
	text-align: center;
}

.dr-mth-section-header h2 {
	margin: 0 0 0.75rem;
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	font-weight: 700;
	color: var(--dr-primary-dark, #0a3d3d);
}

.dr-mth-section-header p {
	margin: 0 auto;
	max-width: 42rem;
	color: #4a5568;
	line-height: 1.6;
}

/* Platforms */
.dr-mth-platforms {
	padding: 1.75rem 0;
	background: #fff;
	border-bottom: 1px solid rgba(10, 61, 61, 0.08);
}

.dr-mth-platforms__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 1.25rem 1.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dr-mth-platforms__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.4rem;
	min-width: 4.5rem;
}

.dr-mth-platforms__item img {
	display: block;
	width: 48px;
	height: 48px;
	object-fit: contain;
}

.dr-mth-platforms__item span {
	font-size: 0.8rem;
	font-weight: 600;
	color: #334155;
	text-align: center;
}

/* Intro */
.dr-mth-intro {
	padding: 3rem 0;
}

.dr-mth-intro h2 {
	margin: 0 0 1rem;
	font-size: clamp(1.4rem, 2.2vw, 1.85rem);
	font-weight: 700;
	color: var(--dr-primary-dark, #0a3d3d);
}

.dr-mth-intro p {
	margin: 0 0 1rem;
	line-height: 1.7;
	color: #334155;
}

.dr-mth-intro__related {
	margin-top: 1.25rem !important;
	font-size: 0.95rem;
}

.dr-mth-intro__related a {
	color: var(--dr-primary, #0d9488);
	font-weight: 600;
	text-decoration: none;
}

.dr-mth-intro__related a:hover {
	text-decoration: underline;
}

.dr-mth-intro__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.dr-mth-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.65rem 1.25rem;
	border-radius: 6px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.dr-mth-btn--primary {
	background: var(--dr-primary, #0d9488);
	color: #fff;
	border: 2px solid var(--dr-primary, #0d9488);
}

.dr-mth-btn--primary:hover {
	background: var(--dr-primary-dark, #0a3d3d);
	border-color: var(--dr-primary-dark, #0a3d3d);
	color: #fff;
	text-decoration: none;
}

.dr-mth-btn--outline {
	background: transparent;
	color: var(--dr-primary-dark, #0a3d3d);
	border: 2px solid var(--dr-primary, #0d9488);
}

.dr-mth-btn--outline:hover {
	background: rgba(13, 148, 136, 0.08);
	color: var(--dr-primary-dark, #0a3d3d);
	text-decoration: none;
}

/* Popular routes */
.dr-mth-popular {
	padding: 3rem 0;
}

.dr-mth-popular .row > [class*='col-'] {
	margin-bottom: 1.25rem;
}

.dr-mth-route-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 1.25rem 1.35rem;
	border: 1px solid rgba(10, 61, 61, 0.12);
	border-radius: 8px;
	background: #fff;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dr-mth-route-card:hover {
	border-color: var(--dr-primary, #0d9488);
	box-shadow: 0 4px 16px rgba(10, 61, 61, 0.08);
	text-decoration: none;
	color: inherit;
}

.dr-mth-route-card__label {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--dr-primary-dark, #0a3d3d);
	margin-bottom: 0.4rem;
}

.dr-mth-route-card__blurb {
	flex: 1;
	font-size: 0.92rem;
	line-height: 1.5;
	color: #64748b;
	margin-bottom: 0.75rem;
}

.dr-mth-route-card__more {
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--dr-primary, #0d9488);
}

/* Matrix */
.dr-mth-matrix {
	padding: 3rem 0;
}

.dr-mth-matrix .dr-sow-matrix-wrap {
	margin-top: 0;
}

.dr-mth-matrix .dr-sow-matrix {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

/* Features */
.dr-mth-features {
	padding: 3rem 0;
}

.dr-mth-features .row > [class*='col-'] {
	margin-bottom: 1.25rem;
}

.dr-mth-feature-card {
	height: 100%;
	padding: 1.25rem 1.35rem;
	border-left: 3px solid var(--dr-primary, #0d9488);
	background: #f8fafb;
	border-radius: 0 8px 8px 0;
}

.dr-mth-feature-card h3 {
	margin: 0 0 0.5rem;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--dr-primary-dark, #0a3d3d);
}

.dr-mth-feature-card p {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.55;
	color: #475569;
}

/* Process */
.dr-mth-process {
	padding: 3rem 0;
}

.dr-mth-process__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}

@media (min-width: 992px) {
	.dr-mth-process__list {
		grid-template-columns: repeat(4, 1fr);
		gap: 1.5rem;
	}
}

.dr-mth-process__step {
	display: flex;
	gap: 0.85rem;
	align-items: flex-start;
}

.dr-mth-process__num {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	background: var(--dr-primary, #0d9488);
	color: #fff;
	font-weight: 700;
	font-size: 0.95rem;
}

.dr-mth-process__step h3 {
	margin: 0.15rem 0 0.35rem;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--dr-primary-dark, #0a3d3d);
}

.dr-mth-process__step p {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.5;
	color: #475569;
}

/* FAQ */
.dr-mth-faq {
	padding: 3rem 0 1rem;
}

.dr-mth-faq__list {
	max-width: 48rem;
	margin: 0 auto;
}

.dr-mth-faq__item {
	border: 1px solid rgba(10, 61, 61, 0.12);
	border-radius: 8px;
	padding: 0.85rem 1.1rem;
	margin-bottom: 0.75rem;
	background: #fff;
}

.dr-mth-faq__item summary {
	cursor: pointer;
	font-weight: 700;
	color: var(--dr-primary-dark, #0a3d3d);
	min-height: 44px;
	display: flex;
	align-items: center;
}

.dr-mth-faq__item p {
	margin: 0.65rem 0 0.25rem;
	line-height: 1.6;
	color: #475569;
}

@media (max-width: 575px) {
	.dr-mth-intro__cta {
		flex-direction: column;
	}

	.dr-mth-intro__cta .dr-mth-btn {
		width: 100%;
	}

	.dr-mth-platforms {
		padding: 1.25rem 0;
	}

	.dr-mth-platforms__list {
		gap: 1rem 1.25rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dr-mth-btn,
	.dr-mth-route-card {
		transition: none;
	}
}
