/* Сторінки-гайди WoW Hub, стиль «спокійні картки» (2026-11-13).
   Усе під .wng, щоб не чіпати решту сайту. BeTheme додає власні відступи й кольори
   до p, a, ul, table, тому вони тут задані явно.
   Правила: без рамок навколо всього (рамка лише при наведенні), без градієнтів-світінь,
   без надписів великими літерами, золото лише для головної дії, «→» та активної вкладки. */

.wng {
	--wng-bg: #0b0e14;
	--wng-panel: #101720;
	--wng-panel-2: #151f2b;
	--wng-line: #2c3b49;
	--wng-line-soft: #1f2a36;
	--wng-text: #d6dbe1;
	--wng-head: #f4f7fb;
	--wng-muted: #9aa8b6;
	--wng-gold: #f0b429;
	--wng-accent: #f0b429;
	--wng-radius: 12px;
	max-width: 1180px;
	margin: 0 auto 40px;
	color: var(--wng-text);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.65;
}

.wng-v-retail { --wng-accent: #a78bfa; }
.wng-v-forever { --wng-accent: #5cc6d6; }
.wng-v-tbc { --wng-accent: #8fd14f; }
.wng-v-mop { --wng-accent: #4fd1a5; }

.wng *,
.wng *::before,
.wng *::after { box-sizing: border-box; }

.wng p { margin: 0 0 14px; color: var(--wng-text); text-wrap: pretty; }
.wng p:last-child { margin-bottom: 0; }
.wng ol,
.wng ul { margin-left: 0; }
.wng a {
	color: var(--wng-head);
	text-decoration: underline;
	text-decoration-color: var(--wng-muted);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: text-decoration-color 0.15s;
}
.wng a:hover { color: var(--wng-head); text-decoration-color: var(--wng-gold); }
.wng a:focus-visible { outline: 2px solid var(--wng-gold); outline-offset: 2px; border-radius: 3px; }
.wng strong { color: var(--wng-head); font-weight: 600; }
.wng img { display: block; max-width: 100%; }

.wng h1,
.wng h2,
.wng h3 {
	margin: 0;
	color: var(--wng-head);
	font-weight: 600;
	letter-spacing: -0.015em;
	text-transform: none;
	text-wrap: balance;
}
.wng h1 { font-size: clamp(30px, 1.2rem + 2.4vw, 40px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }
.wng h2 { margin-bottom: 10px; font-size: clamp(22px, 1rem + 1.2vw, 26px); line-height: 1.25; }
.wng h3 { font-size: 19px; line-height: 1.3; }

.wng-section { margin-top: 56px; scroll-margin-top: 110px; }
.wng p.wng-lead-text,
.wng-lead-text { max-width: 64ch; margin-bottom: 20px; color: var(--wng-muted); font-size: 16px; }

/* Хлібні крихти */
.wng-crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 8px;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
	color: var(--wng-muted);
	font-size: 14px;
	line-height: 1.4;
}
.wng-crumbs li { margin: 0; padding: 0; color: inherit; list-style: none; }
.wng-crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--wng-line); }
.wng .wng-crumbs a { color: var(--wng-muted); text-decoration: none; }
.wng .wng-crumbs a:hover { color: var(--wng-head); }

/* Шапка сторінки: без коробки. З картинкою — дві колонки, картинка окремим блоком. */
.wng-hero {
	position: relative;
	display: block;
	padding: 4px 0 0;
	border: 0;
	border-radius: 0;
	background: none;
}
.wng-hero:has(> img.wng-hero-img) {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: 40px;
	align-items: center;
}
.wng img.wng-hero-img {
	position: static;
	order: 2;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: var(--wng-radius);
	background: var(--wng-panel);
}
.wng-hero-body { position: relative; width: auto; max-width: 860px; padding: 0; }
.wng-eyebrow {
	display: block;
	margin-bottom: 8px;
	color: var(--wng-muted);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.4;
	text-transform: none;
}
.wng-v-retail .wng-eyebrow,
.wng-v-forever .wng-eyebrow,
.wng-v-tbc .wng-eyebrow,
.wng-v-mop .wng-eyebrow { color: var(--wng-accent); }
.wng-hero p.wng-lead { max-width: 64ch; margin: 14px 0 0; color: var(--wng-text); font-size: 18px; line-height: 1.6; }
.wng-updated { display: block; margin-top: 14px; color: var(--wng-muted); font-size: 14px; line-height: 1.4; }
.wng-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* Кнопки: одна золота головна, решта — прозорі з рамкою */
.wng a.wng-btn,
.wng .wng-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 18px;
	border: 1px solid transparent;
	border-radius: 8px;
	background: var(--wng-gold);
	color: #15110a;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.15s, border-color 0.15s;
}
.wng a.wng-btn:hover { background: #ffc94d; color: #15110a; }
/* Друга кнопка поруч — завжди прозора: розмітку 9 сторінок не змінювали, тож рішення за порядком.
   Якщо колись перша кнопка має бути прозорою, а друга головною — дай першій клас wng-btn-ghost,
   а другій окремий клас, бо це правило зробить прозорими обидві. */
.wng a.wng-btn-ghost,
.wng .wng-actions a.wng-btn + a.wng-btn,
.wng .wng-vcard-cta a.wng-btn + a.wng-btn,
.wng .wng-addon-cta a.wng-btn + a.wng-btn { border-color: var(--wng-line); background: transparent; color: var(--wng-head); }
.wng a.wng-btn-ghost:hover,
.wng .wng-actions a.wng-btn + a.wng-btn:hover,
.wng .wng-vcard-cta a.wng-btn + a.wng-btn:hover,
.wng .wng-addon-cta a.wng-btn + a.wng-btn:hover { border-color: var(--wng-muted); background: transparent; color: var(--wng-head); }

/* Перемикач версій і навігація по розділах: підкреслені вкладки */
.wng-switch { margin-top: 28px; }
/* Пункти переносяться в новий рядок, а не ховаються за прокруткою: активний пункт завжди видно,
   а рамка фокусу не обрізається контейнером (фінальний огляд 13.11). */
.wng-switch ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 28px;
	margin: 0;
	padding: 0;
	border: 0;
	border-bottom: 1px solid var(--wng-line-soft);
	border-radius: 0;
	background: none;
	list-style: none;
}
.wng-switch li { flex: 0 0 auto; margin: 0; padding: 0; list-style: none; }
.wng .wng-switch a {
	position: relative;
	display: block;
	padding: 0 0 12px;
	border-radius: 0;
	color: var(--wng-muted);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none;
	white-space: nowrap;
}
.wng .wng-switch a:hover { background: none; color: var(--wng-head); }
.wng .wng-switch a[aria-current="page"] { background: none; color: var(--wng-head); }
.wng .wng-switch a[aria-current="page"]::after { content: ""; position: absolute; inset: auto 0 0; border-bottom: 2px solid var(--wng-accent); }

/* Вибір версії */
.wng-versions { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.wng-vcard {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid transparent;
	border-radius: var(--wng-radius);
	background: var(--wng-panel);
	transition: border-color 0.15s;
}
.wng-vcard:hover,
.wng-vcard:focus-within { border-color: var(--wng-line); }
.wng-vcard-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--wng-panel-2); }
.wng-vcard-media > img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.wng-vcard-media > img:first-of-type:not(:last-of-type) { width: 50%; }
.wng-vcard-media > img + img { left: 50%; width: 50%; }
/* Логотип версії поверх кожної картинки картки, у лівому нижньому куті своєї половини */
.wng-vcard-logos { position: absolute; inset: auto 0 0 0; display: grid; grid-auto-columns: 1fr; grid-auto-flow: column; padding: 0 14px 12px; pointer-events: none; }
.wng .wng-vcard-logos img { width: auto; height: 56px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.7)); }
.wng-vcard-body { display: flex; flex: 1; flex-direction: column; padding: 16px 18px 18px; }
.wng-vcard .wng-eyebrow { margin-bottom: 4px; font-size: 13px; color: var(--wng-accent); }
.wng-vcard h3 { font-size: 20px; }
.wng .wng-vcard h3 a { color: var(--wng-head); text-decoration: none; }
.wng-vcard-stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.wng-vcard p { margin: 6px 0 14px; color: var(--wng-muted); font-size: 15px; line-height: 1.55; }
.wng-spec { display: grid; gap: 4px; margin: 0 0 16px; }
.wng-spec div { display: flex; justify-content: space-between; gap: 12px; padding-top: 4px; border-top: 1px solid var(--wng-line-soft); font-size: 14px; line-height: 1.4; }
.wng-spec dt { margin: 0; color: var(--wng-muted); font-weight: 400; }
.wng-spec dd { min-width: 0; margin: 0; color: var(--wng-text); font-weight: 500; text-align: right; }
.wng-card .wng-spec div { flex-wrap: wrap; }
.wng-card .wng-spec { margin-bottom: 0; }
.wng-vcard-cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.wng-vcard-cta .wng-btn { flex: 1 1 0; position: relative; z-index: 2; white-space: nowrap; }

/* Кроки: нумерований список із лініями, без карток */
.wng-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 0; padding: 0; counter-reset: wng-step; list-style: none; }
.wng-steps > li {
	position: relative;
	margin: 0;
	padding: 18px 0 18px 52px;
	border: 0;
	border-bottom: 1px solid var(--wng-line-soft);
	border-radius: 0;
	background: none;
	counter-increment: wng-step;
	list-style: none;
}
.wng-steps > li:first-child { padding-top: 6px; }
.wng-steps > li::before {
	content: counter(wng-step);
	position: absolute;
	top: 16px;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 50%;
	background: var(--wng-panel-2);
	color: var(--wng-head);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
}
.wng-steps > li:first-child::before { top: 4px; }
.wng-steps h3 { margin-bottom: 4px; font-size: 18px; }
.wng-steps p { max-width: 70ch; margin-bottom: 0; color: var(--wng-muted); font-size: 16px; }
.wng-steps .wng-actions { margin-top: 12px; }

/* Картки та списки */
.wng-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.wng-grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.wng-card { padding: 16px 18px; border: 1px solid transparent; border-radius: var(--wng-radius); background: var(--wng-panel); }
.wng-card h3 { margin-bottom: 4px; font-size: 18px; }
.wng-card p { color: var(--wng-muted); font-size: 15px; }
.wng-tag { display: block; margin-bottom: 6px; color: var(--wng-accent); font-size: 14px; font-weight: 500; line-height: 1.3; }

.wng-list { margin: 0 0 14px; padding: 0; list-style: none; }
.wng-list li { position: relative; margin: 0 0 8px; padding: 0 0 0 18px; list-style: none; }
.wng-list li::before {
	content: "";
	position: absolute;
	top: 0.78em;
	left: 2px;
	width: 8px;
	height: 2px;
	border-radius: 1px;
	background: var(--wng-muted);
}

.wng p.wng-note,
.wng-note {
	margin: 18px 0 0;
	padding: 14px 16px;
	border: 0;
	border-radius: 10px;
	background: var(--wng-panel);
	font-size: 15px;
}

/* Посилання далі */
.wng-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.wng a.wng-link {
	display: block;
	padding: 14px 16px;
	border: 1px solid transparent;
	border-radius: var(--wng-radius);
	background: var(--wng-panel);
	color: var(--wng-muted);
	font-size: 14px;
	line-height: 1.45;
	text-decoration: none;
	transition: border-color 0.15s;
}
.wng a.wng-link:hover,
.wng a.wng-link:focus-visible { border-color: var(--wng-line); }
.wng-link strong { display: block; margin-bottom: 2px; color: var(--wng-head); font-size: 16px; }
.wng-link strong::after { content: "\00a0→" / ""; color: var(--wng-gold); }

/* Вибір версії: великі картки з логотипом версії (помітніші за звичайні посилання) */
/* Дві колонки лише коли кожна картка має від 380 px, інакше одна (641–800 px текст стискався до 48 px). */
.wng-vpicks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 12px; }
.wng a.wng-vpick {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr);
	gap: 20px;
	align-items: center;
	min-height: 116px;
	padding: 20px 22px;
	border: 1px solid var(--wng-line-soft);
	border-radius: var(--wng-radius);
	background: var(--wng-panel);
	color: var(--wng-muted);
	text-decoration: none;
	transition: border-color 0.15s, background-color 0.15s;
}
.wng a.wng-vpick:hover,
.wng a.wng-vpick:focus-visible { border-color: var(--wng-accent); background: var(--wng-panel-2); color: var(--wng-muted); }
.wng-vpick-logo { display: flex; align-items: center; justify-content: center; height: 72px; }
.wng .wng-vpick-logo img { width: auto; max-width: 100%; height: auto; max-height: 72px; object-fit: contain; }
.wng-vpick-body { display: block; min-width: 0; font-size: 15px; line-height: 1.45; }
.wng-vpick-body strong { display: block; margin-bottom: 3px; color: var(--wng-head); font-size: 19px; font-weight: 600; line-height: 1.3; }
.wng-vpick-body strong::after { content: "\00a0→" / ""; color: var(--wng-gold); }

/* Таблиця: лінії між рядками, без зовнішньої коробки */
.wng-table-wrap { overflow-x: auto; border: 0; border-radius: 0; background: none; }
.wng table { width: 100%; min-width: 760px; margin: 0; border: 0; border-collapse: collapse; background: transparent; font-size: 15px; line-height: 1.4; }
.wng th,
.wng td {
	padding: 11px 14px 11px 0;
	border: 0;
	border-bottom: 1px solid var(--wng-line-soft);
	background: transparent;
	color: var(--wng-text);
	text-align: left;
	vertical-align: top;
}
.wng thead th { border-bottom-color: var(--wng-line); color: var(--wng-head); font-weight: 600; text-wrap: balance; }
.wng tbody th { color: var(--wng-muted); font-weight: 500; }
.wng thead th:first-child,
.wng tbody th { position: sticky; left: 0; z-index: 1; background: var(--wng-bg); }
.wng tbody tr:last-child th,
.wng tbody tr:last-child td { border-bottom: 0; }
.wng tr:hover th,
.wng tr:hover td { background: transparent; }
.wng tr:hover th { background: var(--wng-bg); }

/* Словник термінів */
.wng-terms { margin: 0; border: 0; border-radius: 0; background: none; }
.wng-terms > div {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 16px;
	padding: 12px 0;
	border-top: 1px solid var(--wng-line-soft);
}
.wng-terms > div:first-child { border-top: 0; }
.wng-terms dt { margin: 0; color: var(--wng-head); font-size: 16px; font-weight: 600; line-height: 1.45; }
.wng-terms dt small { display: block; color: var(--wng-muted); font-size: 13px; font-weight: 400; line-height: 1.35; }
.wng-terms dd { margin: 0; color: var(--wng-text); font-size: 16px; line-height: 1.5; }

/* Картки аддонів (українізатор) */
.wng-addons { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.wng-addons-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.wng-addon {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 18px;
	border: 1px solid transparent;
	border-radius: var(--wng-radius);
	background: var(--wng-panel);
	transition: border-color 0.15s;
}
.wng-addon:hover,
.wng-addon:focus-within { border-color: var(--wng-line); }
.wng-addon-rec { border-color: rgba(240, 180, 41, 0.55); background: var(--wng-panel); box-shadow: none; }
.wng-addon-rec:hover,
.wng-addon-rec:focus-within { border-color: var(--wng-gold); }
.wng-badge {
	position: static;
	display: block;
	order: -1;
	margin: 0 0 4px;
	padding: 0;
	border-radius: 0;
	background: none;
	color: var(--wng-gold);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.3;
}
.wng-addon h3 { margin-bottom: 2px; font-size: 19px; }
.wng-addon-by { display: block; margin-bottom: 10px; color: var(--wng-muted); font-size: 14px; line-height: 1.4; }
.wng-addon p { margin-bottom: 10px; color: var(--wng-text); font-size: 15px; line-height: 1.55; }
.wng-addon-state { padding-top: 10px; border-top: 1px solid var(--wng-line-soft); color: var(--wng-muted); }
.wng-addon .wng-addon-state { color: var(--wng-muted); font-size: 14px; }
.wng-addon-cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.wng-addon-cta .wng-btn { flex: 1 1 auto; }

.wng td.wng-yes { color: #8fd14f; font-weight: 600; }
.wng td.wng-part { color: var(--wng-gold); font-weight: 600; }
.wng td.wng-no { color: var(--wng-muted); }
.wng code {
	display: inline;
	padding: 1px 6px;
	border-radius: 5px;
	background: var(--wng-panel-2);
	color: var(--wng-head);
	font-size: 0.9em;
	white-space: normal;
	word-break: normal;
	overflow-wrap: anywhere;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}
.wng-figure { margin: 18px 0 0; }
.wng-figure img { width: 100%; max-width: 699px; height: auto; border: 1px solid var(--wng-line-soft); border-radius: 10px; }
.wng-figure figcaption { margin-top: 8px; color: var(--wng-muted); font-size: 14px; line-height: 1.4; }

/* Часті запитання: лінії між питаннями, шеврон перед текстом (гайд accordion) */
.wng-faq { display: grid; gap: 0; border-top: 1px solid var(--wng-line-soft); }
.wng-faq details { border: 0; border-bottom: 1px solid var(--wng-line-soft); border-radius: 0; background: none; }
.wng-faq summary {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 15px 0;
	color: var(--wng-head);
	cursor: pointer;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.4;
	list-style: none;
}
.wng-faq summary::-webkit-details-marker { display: none; }
.wng-faq summary::before {
	content: "";
	flex: 0 0 auto;
	width: 7px;
	height: 7px;
	border-right: 2px solid var(--wng-muted);
	border-bottom: 2px solid var(--wng-muted);
	rotate: -45deg;
}
.wng-faq details[open] > summary::before { rotate: 45deg; margin-top: -4px; }
@media (prefers-reduced-motion: no-preference) {
	.wng-faq summary::before { transition: rotate 0.2s; }
}
.wng-faq summary:hover::before { border-color: var(--wng-head); }
.wng-faq summary:focus-visible { outline: 2px solid var(--wng-gold); outline-offset: 2px; border-radius: 4px; }
.wng-faq details p { max-width: 70ch; margin: 0; padding: 0 0 16px 19px; color: var(--wng-muted); font-size: 16px; }

/* Сторінка версії: текст і бічна панель */
.wng-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.wng-main { min-width: 0; }
.wng-main > .wng-section:first-child { margin-top: 40px; }
.wng-aside { position: sticky; top: 96px; margin-top: 40px; }
.wng-facts { padding: 18px; border: 0; border-radius: var(--wng-radius); background: var(--wng-panel); }
.wng-facts h2 { margin-bottom: 12px; font-size: 18px; }
.wng-facts .wng-spec { margin-bottom: 16px; }
.wng-facts .wng-spec div { display: block; }
.wng-facts .wng-spec dd { margin-top: 2px; text-align: left; }
.wng-facts .wng-btn { width: 100%; }

@media (max-width: 959px) {
	.wng-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.wng-aside { position: static; order: -1; margin-top: 28px; }
	.wng-main > .wng-section:first-child { margin-top: 44px; }
	.wng-hero:has(> img.wng-hero-img) { grid-template-columns: minmax(0, 1fr); gap: 22px; }
	.wng img.wng-hero-img { order: -1; aspect-ratio: 21 / 9; }
	.wng-facts .wng-spec { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
	.wng-vcard-media { aspect-ratio: 21 / 9; }
}

@media (max-width: 640px) {
	.wng { font-size: 16px; }
	.wng-section { margin-top: 44px; }
	.wng-grid,
	.wng-grid-2,
	.wng-addons,
	.wng-addons-2,
	.wng-links,
	.wng-versions,
	.wng-vpicks { grid-template-columns: minmax(0, 1fr); }
	.wng a.wng-vpick { grid-template-columns: minmax(0, 1fr); gap: 10px; min-height: 0; padding: 16px 18px; }
	.wng-vpick-logo { justify-content: flex-start; height: 52px; }
	.wng .wng-vpick-logo img { max-height: 52px; }
	.wng-vpick-body strong { font-size: 17px; }
	.wng-vcard-logos { padding: 0 10px 10px; }
	.wng .wng-vcard-logos img { height: 40px; }
	.wng-card .wng-spec code { font-size: 0.8em; }
	.wng-terms > div { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 11px 0; }
	.wng img.wng-hero-img { aspect-ratio: 16 / 9; }
	.wng-hero p.wng-lead { font-size: 16px; }
	.wng-steps > li { padding-left: 46px; }
	.wng-steps > li::before { width: 30px; height: 30px; font-size: 13px; }
	.wng-actions .wng-btn { width: 100%; }
	.wng-vcard-cta .wng-btn { flex: 1 1 100%; }
	.wng-switch ul { column-gap: 22px; }
	.wng-vcard-media { aspect-ratio: 16 / 9; }
}

@media (prefers-reduced-motion: reduce) {
	.wng a,
	.wng-vcard,
	.wng-addon,
	.wng a.wng-link,
	.wng a.wng-vpick,
	.wng a.wng-btn { transition: none; }
}
