@charset "UTF-8";

/* Guides hub */
.mail-doctor-guides-hero {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 32px;
	background: linear-gradient(135deg, var(--mail-doctor-color-accent-soft) 0%, #fdfbff 100%);
	border: 1px solid rgba(79, 70, 229, 0.18);
}

.mail-doctor-guides-hero__intro {
	flex: 1 1 420px;
}

.mail-doctor-guides-hero__intro h2 {
	margin-top: 0;
	font-size: 24px;
}

.mail-doctor-guides-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 16px;
}

.mail-doctor-guides-actions .dashicons {
	margin-right: 6px;
	vertical-align: middle;
}

.mail-doctor-guides-hero__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
}

.mail-doctor-guides-hero__stats div {
	background: var(--mail-doctor-color-surface);
	border: 1px solid rgba(79, 70, 229, 0.18);
	border-radius: 8px;
	padding: 16px;
	min-width: 180px;
	box-shadow: 0 5px 15px rgba(56, 118, 215, 0.08);
}

.mail-doctor-guides-hero__stats dt {
	margin: 0 0 6px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #5176a6;
}

.mail-doctor-guides-hero__stats dd {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: var(--mail-doctor-color-text);
}

.mail-doctor-guides {
	display: flex;
	gap: 24px;
	margin-top: 32px;
	align-items: flex-start;
}

.mail-doctor-guides-nav {
	flex: 0 0 240px;
	position: sticky;
	top: 48px;
	align-self: flex-start;
}

.mail-doctor-guides-nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.mail-doctor-guides-nav a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	text-decoration: none;
	border-radius: 6px;
	color: var(--mail-doctor-color-text);
	font-weight: 500;
	border: 1px solid transparent;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.mail-doctor-guides-nav a .dashicons {
	color: var(--mail-doctor-color-accent);
}

.mail-doctor-guides-nav a:hover,
.mail-doctor-guides-nav a:focus,
.mail-doctor-guides-nav a.is-active {
	background: var(--mail-doctor-color-accent-soft);
	border-color: rgba(79, 70, 229, 0.3);
	outline: none;
	box-shadow: inset 2px 0 0 var(--mail-doctor-color-accent);
}

.mail-doctor-guides-content {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.mail-doctor-guides-content section {
	background: var(--mail-doctor-color-surface);
	border: 1px solid var(--mail-doctor-color-border);
	border-radius: 10px;
	padding: 28px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.mail-doctor-guides-content section h2 {
	margin-top: 0;
	margin-bottom: 16px;
}

.mail-doctor-guides-content pre {
	background: #1e293b;
	color: #fff;
	padding: 14px;
	border-radius: 8px;
	overflow-x: auto;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
	font-size: 13px;
}

.mail-doctor-guide-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
	margin-top: 24px;
}

.mail-doctor-guide-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 20px;
	background: var(--mail-doctor-color-accent-soft);
	border: 1px solid rgba(79, 70, 229, 0.25);
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(79, 70, 229, 0.12);
	position: relative;
	overflow: hidden;
}

.mail-doctor-guide-card::after {
	content: '';
	position: absolute;
	right: -40px;
	top: -40px;
	width: 120px;
	height: 120px;
	background: rgba(79, 70, 229, 0.08);
	border-radius: 50%;
}

.mail-doctor-guide-card h3 {
	margin: 0;
	font-size: 15px;
	z-index: 1;
}

.mail-doctor-guide-card header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	z-index: 1;
}

.mail-doctor-guide-card p {
	margin: 0;
	z-index: 1;
	color: rgba(79, 70, 229, 0.82);
}

.mail-doctor-guide-card__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	text-decoration: none;
	color: var(--mail-doctor-color-accent);
	z-index: 1;
}

.mail-doctor-guide-card__link:hover {
	text-decoration: underline;
}

.mail-doctor-guide-card__footnote {
	font-size: 12px;
	color: var(--mail-doctor-color-muted);
	z-index: 1;
}

.mail-doctor-guide-card--provider {
	background: rgba(255, 183, 77, 0.15);
	border-color: rgba(255, 183, 77, 0.45);
	box-shadow: 0 8px 24px rgba(255, 183, 77, 0.18);
}

.mail-doctor-guide-card--provider::after {
	background: rgba(255, 183, 77, 0.24);
}

.mail-doctor-guide-card-grid--providers pre {
	margin: 0;
}

.mail-doctor-guide-screenshot-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 24px;
	margin-top: 24px;
}

.mail-doctor-guide-screenshot {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
	background: var(--mail-doctor-color-surface);
	border: 1px solid var(--mail-doctor-color-border);
	border-radius: 10px;
	padding: 18px;
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.mail-doctor-guide-screenshot img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	display: block;
}

.mail-doctor-guide-screenshot figcaption {
	margin: 0;
	font-size: 13px;
	color: var(--mail-doctor-color-muted);
	line-height: 1.5;
}

.mail-doctor-guide-badge {
	display: inline-flex;
	align-items: center;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 600;
	background: var(--mail-doctor-color-accent-soft);
	color: var(--mail-doctor-color-accent);
	text-transform: uppercase;
}

.mail-doctor-guide-badge--api {
	background: rgba(255, 183, 77, 0.2);
	color: var(--mail-doctor-color-warning);
}

.mail-doctor-guide-callouts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
	margin-top: 20px;
}

.mail-doctor-guide-callout {
	padding: 20px;
	background: var(--mail-doctor-color-neutral-soft);
	border-radius: 8px;
	border: 1px solid var(--mail-doctor-color-border);
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.mail-doctor-guide-callout--checklist ul {
	margin: 0;
	padding-left: 18px;
}

.mail-doctor-guide-callout--checklist li {
	margin-bottom: 6px;
}

.mail-doctor-guide-timeline {
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
	counter-reset: mail-doctor-step;
}

.mail-doctor-guide-timeline li {
	position: relative;
	padding-left: 52px;
	margin-bottom: 20px;
}

.mail-doctor-guide-timeline li::before {
	counter-increment: mail-doctor-step;
	content: counter(mail-doctor-step);
	position: absolute;
	left: 0;
	top: 0;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--mail-doctor-color-accent);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
}

.mail-doctor-guide-timeline strong {
	display: block;
	margin-bottom: 4px;
}

.mail-doctor-guide-resource-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 16px;
	margin-top: 24px;
}

.mail-doctor-guide-resource {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 18px;
	background: var(--mail-doctor-color-accent-soft);
	border: 1px solid rgba(79, 70, 229, 0.25);
	border-radius: 10px;
	text-decoration: none;
	color: var(--mail-doctor-color-text);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mail-doctor-guide-resource:hover,
.mail-doctor-guide-resource:focus {
	transform: translateY(-2px);
	box-shadow: 0 10px 26px rgba(79, 70, 229, 0.18);
	outline: none;
}

.mail-doctor-guide-resource .dashicons {
	font-size: 24px;
	color: var(--mail-doctor-color-accent);
}

.mail-doctor-guide-resource strong {
	display: block;
	font-size: 14px;
	color: var(--mail-doctor-color-text);
}

.mail-doctor-guide-resource span {
	display: block;
	font-size: 13px;
	color: var(--mail-doctor-color-muted);
}

.mail-doctor-bullet-list {
	list-style: disc;
	padding-left: 20px;
}

.mail-doctor-copy {
	margin-top: 8px;
}

@media (max-width: 960px) {
	.mail-doctor-guides {
		flex-direction: column;
	}

	.mail-doctor-guides-nav {
		position: static;
		width: 100%;
	}

	.mail-doctor-guides-hero {
		flex-direction: column;
		align-items: stretch;
	}

	.mail-doctor-guides-hero__stats {
		grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
		width: 100%;
	}
}