/** Only new WoW Hub blocks. No selectors or filters for legacy .blue-post. */
.wh-news-bluepost {
	--wh-blue: #47c3ff;
	--wh-blue-line: #243145;
	margin: 28px 0;
	border: 1px solid var(--wh-blue-line);
	border-radius: 14px;
	background: #10151e;
	color: #dce5f2;
	overflow: hidden;
	font-size: 17px;
	line-height: 1.65;
}

.wh-news-bluepost .wh-news-bluepost__header {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 22px 30px;
	border-bottom: 1px solid var(--wh-blue-line);
	border-left: 3px solid var(--wh-blue);
	background: linear-gradient(110deg, #1a273d, #151e2d);
}

.wh-news-bluepost .wh-news-bluepost__mark {
	box-sizing: border-box;
	display: grid;
	place-items: center;
	flex: 0 0 46px;
	width: 46px;
	height: 46px;
	border: 1px solid #2a425e;
	border-radius: 10px;
	background: #0d1521;
	color: var(--wh-blue);
	font-size: 21px;
	font-weight: 800;
}

.wh-news-bluepost .wh-news-bluepost__identity {
	flex: 1;
	min-width: 0;
}

.wh-news-bluepost .wh-news-bluepost__brand {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	color: #edf3fc;
	font-size: 16px;
	line-height: 1.4;
}

.wh-news-bluepost .wh-news-bluepost__badge {
	padding: 3px 8px;
	border-radius: 3px;
	background: var(--wh-blue);
	color: #071724;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.07em;
	line-height: 1.3;
}

.wh-news-bluepost .wh-news-bluepost__subtitle {
	margin: 3px 0 0;
	color: #8295b5;
	font-size: 13px;
	line-height: 1.5;
}

.wh-news-bluepost .wh-news-bluepost__date {
	flex: 0 0 auto;
	padding: 5px 9px;
	border: 1px solid #263650;
	border-radius: 5px;
	color: #8ea9d1;
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	font-size: 12px;
	line-height: 1.5;
}

.wh-news-bluepost .wh-news-bluepost__body {
	padding: 32px;
	counter-reset: wh-blue-section;
	overflow-wrap: anywhere;
}

.wh-news-bluepost__body > :first-child { margin-top: 0; }
.wh-news-bluepost__body > :last-child { margin-bottom: 0; }

.wh-news-bluepost__body h2 {
	position: relative;
	margin: 36px 0 18px;
	padding-left: 29px;
	color: #f0f4fc;
	font-size: clamp(23px, 2vw, 28px);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.02em;
	counter-increment: wh-blue-section;
}

.wh-news-bluepost__body h2::before {
	position: absolute;
	left: 0;
	top: 0.45em;
	content: counter(wh-blue-section, decimal-leading-zero);
	color: var(--wh-blue);
	font-size: 12px;
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	letter-spacing: 0;
}

.wh-news-bluepost__body h3 {
	margin: 20px 0 8px;
	color: var(--wh-blue);
	font-size: 19px;
	font-weight: 700;
	line-height: 1.4;
}

.wh-news-bluepost__body h4 {
	margin: 14px 0 8px;
	color: #8193af;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}

.wh-news-bluepost__body p { margin: 0 0 16px; }
.wh-news-bluepost__body ul,
.wh-news-bluepost__body ol { margin: 12px 0 22px; padding-left: 26px; }
.wh-news-bluepost__body ul { list-style: disc outside; }
.wh-news-bluepost__body ol { list-style: decimal outside; }
.wh-news-bluepost__body li { margin-bottom: 8px; padding-left: 3px; }
.wh-news-bluepost__body li::marker { color: var(--wh-blue); }
.wh-news-bluepost__body li ul,
.wh-news-bluepost__body li ol { margin-top: 10px; margin-bottom: 10px; }
.wh-news-bluepost__body li h2,
.wh-news-bluepost__body li h3 { margin-top: 0; }
.wh-news-bluepost__body strong,
.wh-news-bluepost__body b { color: #ffb735; }
.wh-news-bluepost__body a { color: var(--wh-blue); text-underline-offset: 3px; }
.wh-news-bluepost__body img { max-width: 100%; height: auto; }
.wh-news-bluepost__body table { display: block; max-width: 100%; overflow-x: auto; }
.wh-news-bluepost__body pre { max-width: 100%; overflow-x: auto; }

.wh-news-bluepost .wh-news-bluepost__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 32px;
	border-top: 1px solid var(--wh-blue-line);
	background: #0d121a;
	color: #6f819e;
	font-size: 13px;
	line-height: 1.5;
}

.wh-news-bluepost .wh-news-bluepost__source {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 11px 18px;
	border-radius: 8px;
	background: var(--wh-blue);
	color: #081b29;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}
.wh-news-bluepost .wh-news-bluepost__source:hover { background: #80d6ff; }
.wh-news-bluepost .wh-news-bluepost__source:focus-visible { outline: 2px solid #e7f6ff; outline-offset: 3px; }

.wh-news-note,
.wh-news-key-points {
	--wh-note-accent: #47c3ff;
	margin: 28px 0;
	padding: 22px 26px;
	border: 1px solid #283345;
	border-left: 3px solid var(--wh-note-accent);
	border-radius: 9px;
	background: #141a24;
	color: #dce5f2;
	font-size: 17px;
	line-height: 1.65;
	overflow-wrap: anywhere;
}
.wh-news-note--warning { --wh-note-accent: #e7b64c; }
.wh-news-note--success { --wh-note-accent: #5dce94; }
.wh-news-key-points { --wh-note-accent: #e7b64c; }
.wh-news-note .wh-news-note__title,
.wh-news-key-points .wh-news-key-points__title {
	margin: 0 0 12px;
	color: var(--wh-note-accent);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.35;
}
.wh-news-note__body > :first-child { margin-top: 0; }
.wh-news-note__body > :last-child { margin-bottom: 0; }
.wh-news-key-points ul { margin: 0; padding-left: 22px; list-style: disc outside; }
.wh-news-key-points li { margin-bottom: 8px; }
.wh-news-key-points li:last-child { margin-bottom: 0; }
.wh-news-key-points li::marker { color: var(--wh-note-accent); }

.wh-news-quote {
	margin: 28px 0;
	padding: 10px 0 10px 24px;
	border: 0;
	border-left: 3px solid #e7b64c;
	background: transparent;
	color: #edf0f5;
	font-size: 20px;
	line-height: 1.6;
	overflow-wrap: anywhere;
}
.wh-news-quote::before,
.wh-news-quote::after { content: none; }
.wh-news-quote__body > :first-child { margin-top: 0; }
.wh-news-quote__body > :last-child { margin-bottom: 0; }
.wh-news-quote cite {
	display: block;
	margin-top: 14px;
	color: #8995a8;
	font-size: 13px;
	font-style: normal;
}
.wh-news-quote cite a { color: inherit; }

/* Native Gutenberg editor; no overrides of its individual blocks. */
.wh-news-native-editor { padding: 18px; border: 1px solid #c3cbd5; border-radius: 8px; background: #fff; color: #1e1e1e; }
.wh-news-native-editor__heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.wh-news-native-editor__help { margin: 0 0 20px; color: #657080; font-size: 13px; line-height: 1.5; }
.wh-news-native-editor__toolbar { display: flex; gap: 12px; margin-bottom: 24px; }
.wh-news-native-editor .block-editor-inner-blocks,
.wh-news-native-editor-modal .block-editor-inner-blocks { min-height: 120px; }

/* Previous text-editor classes remain isolated from the reader-facing card. */
.wh-news-editor { padding: 16px; border: 1px solid #c3cbd5; border-radius: 8px; background: #fff; }
.wh-news-editor__label { margin-bottom: 14px; color: #18273a; font-weight: 600; }
.wh-news-editor textarea,
.wh-news-editor-modal textarea {
	box-sizing: border-box;
	width: 100%;
	max-height: 70vh;
	resize: vertical;
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	font-size: 14px;
	line-height: 1.6;
}
.wh-news-editor__count { display: inline-block; margin: 0 0 0 16px; color: #657080; font-size: 12px; }
.wh-news-editor-modal textarea { height: 65vh; min-height: 280px; }
.wh-news-editor-modal__toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; }
.wh-news-editor-modal__toolbar > span { margin-left: auto; color: #657080; }

@media (max-width: 620px) {
	.wh-news-bluepost { font-size: 16px; border-radius: 10px; }
	.wh-news-bluepost .wh-news-bluepost__header { gap: 11px; padding: 18px 16px; flex-wrap: wrap; }
	.wh-news-bluepost .wh-news-bluepost__mark { width: 38px; height: 38px; flex-basis: 38px; }
	.wh-news-bluepost .wh-news-bluepost__brand { font-size: 14px; gap: 7px; }
	.wh-news-bluepost .wh-news-bluepost__identity { flex-basis: calc(100% - 49px); }
	.wh-news-bluepost .wh-news-bluepost__date { margin-left: 49px; }
	.wh-news-bluepost .wh-news-bluepost__body { padding: 24px 18px; }
	.wh-news-bluepost .wh-news-bluepost__footer { padding: 16px 18px; }
	.wh-news-note,
	.wh-news-key-points { padding: 20px 18px; font-size: 16px; }
	.wh-news-quote { font-size: 18px; padding-left: 18px; }
	.wh-news-editor-modal textarea { height: 60vh; }
}
