.qm-quote {
	position: relative;
	margin: 2rem 0;
	padding: 1.5rem 2rem 1.5rem 2.5rem;
	border-left: 4px solid #2e5fcd;
	background: #f9fafc;
	font-size: 1.1rem;
	line-height: 1.6;
}

.qm-quote-mark {
	font-size: 3rem;
	line-height: 1;
	color: #2e5fcd;
	display: block;
	margin-bottom: 0.5rem;
}

.qm-quote cite {
	display: block;
	margin-top: 1rem;
	font-weight: 600;
	font-style: normal;
	color: #1c1c1c;
}

.qm-quote-topics {
	display: block;
	margin-top: 0.35rem;
	font-size: 0.95rem;
	color: #6b7280;
}

.qm-quote-topics a {
	color: inherit;
	text-decoration: none;
	margin-right: 0.35rem;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.qm-quote-topics a:hover {
	text-decoration: underline;
}

.qm-topic-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #eef2ff;
	color: #2e5fcd;
	font-size: 0.95rem;
	line-height: 1;
	overflow: hidden;
}

.qm-topic-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.qm-topic-label {
	display: inline-block;
}

.qm-topic-hero-icon {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #eef2ff;
	color: #2e5fcd;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
}

.qm-topic-hero-icon .qm-topic-icon {
	width: 48px;
	height: 48px;
	background: none;
	font-size: 2.25rem;
}

.qm-featured-topics {
	margin: 2.5rem 0;
}

.qm-featured-topics h2 {
	margin: 0 0 1rem;
	font-size: 1.35rem;
}

.qm-featured-topic-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1rem;
}

.qm-featured-topic {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.85rem 1rem;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 12px;
	background: #fff;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.qm-featured-topic:hover {
	border-color: #2e5fcd;
	box-shadow: 0 10px 15px rgba(46, 95, 205, 0.1);
}

.qm-featured-topic .qm-topic-icon {
	font-size: 1.25rem;
	width: 40px;
	height: 40px;
}
.qm-featured-topic-text {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.qm-featured-topic-name {
	font-weight: 600;
}

.qm-featured-topic-description {
	font-size: 0.9rem;
	color: #6b7280;
}

.qm-author-hero {
	display: flex;
	gap: 1.5rem;
	align-items: center;
	margin-bottom: 2rem;
	flex-wrap: wrap;
}

.qm-author-hero img {
	border-radius: 50%;
	width: 140px;
	height: 140px;
	object-fit: cover;
}

.qm-author-meta {
	max-width: 600px;
}

.qm-author-meta h1 {
	margin: 0;
}

.qm-author-meta .qm-author-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-top: 0.5rem;
}

.qm-author-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.5rem;
	margin: 2rem 0;
}

.qm-author-card {
	border: 1px solid rgba(0, 0, 0, 0.05);
	padding: 1rem;
	border-radius: 8px;
	text-align: center;
	background: #fff;
}

.qm-author-card img {
	width: 88px;
	height: 88px;
	object-fit: cover;
	border-radius: 50%;
	margin: 0 auto 0.75rem;
}


.qm-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	padding: 0.45rem 1rem;
	border-radius: 999px;
	background: #2e5fcd;
	color: #fff;
	font-size: 0.9rem;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.qm-button:hover {
	opacity: 0.85;
}

.qm-media-template .page-header {
	margin-bottom: 2rem;
}

.qm-media-hero {
	display: flex;
	gap: 1.5rem;
	align-items: stretch;
	flex-wrap: wrap;
}

.qm-media-cover {
	width: 220px;
	border-radius: 16px;
	object-fit: cover;
	box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

.qm-media-meta {
	flex: 1;
	min-width: 250px;
}

.qm-media-kicker {
	text-transform: uppercase;
	font-size: 0.8rem;
	letter-spacing: 0.15em;
	color: #9ca3af;
	margin: 0 0 0.5rem;
}

.qm-media-summary {
	font-size: 1rem;
	color: #4b5563;
	margin: 0.75rem 0 0;
}

.qm-media-facts {
	list-style: none;
	padding: 0;
	margin: 1rem 0 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 0.75rem;
}

.qm-media-facts li {
	background: #f7f7fb;
	border-radius: 12px;
	padding: 0.75rem 1rem;
	font-size: 0.9rem;
}

.qm-media-facts strong {
	display: block;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #6b7280;
	margin-bottom: 0.2rem;
}
