/* content.css — what the content column shows: announcement and article cards (.base), the article text (.maincont),
   comments, hand-written static pages, and the dark Silent Key variant (last, it repaints the others). */

/* ==== Story cards (shortstory, fullstory, static.tpl, search results) ==== */

.base {
	margin-bottom: 30px;
}
.base .btl {
	margin-bottom: 0.6em;
	color: var(--link);
}
.base h1.btl {
	font-size: 1.5em;
}
.storenumber,
.maincont,
.berrors,
.fullstory {
	margin-bottom: 15px;
	text-align: justify;
}
.storenumber {
	font-weight: bold;
}
.base .maincont {
	text-align: left;
}
.editdate,
.basetags {
	font-size: 0.9em;
	color: var(--muted);
}
.editdate {
	text-align: right;
}
.basetags {
	padding-top: 10px;
	text-align: left;
	border-top: 1px solid var(--line);
}
/* page headings of the form pages (feedback, registration…) and the comments heading */
.heading {
	margin-bottom: 0.3em;
	color: var(--text);
}
.pheading {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	margin: 18px 0 12px;
	padding: 0 0 10px;
	overflow: hidden;
	border-bottom: 1px solid var(--line);
}
.pheading h2 {
	font-size: 1.3em;
	font-weight: bold;
	color: var(--text-2);
}
.pheading h2 span {
	color: var(--text);
}
.pheading .lcol {
	float: none;
	margin: 0;
}
.pheading .clr {
	display: none;
}
.pheading .ratebox .rate,
.pheading .ratebox span {
	float: right;
}
.pheading .ratebox span {
	padding-right: 5px;
	font-size: 0.9em;
	color: var(--placeholder);
}
/* announcements: each one is a block, like the article page and the menu */
.base.shortstory:not(.sk) {
	margin-bottom: 18px;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
}
.base.shortstory:not(.sk) > .dpad {
	padding: 0 16px 4px;
}
.base.shortstory:not(.sk) > .dpad > .btl {
	margin: 0 -16px 10px;
	padding: 9px 16px;
	font: bold 1.2em/1.3 var(--font);
	background-color: var(--strip);
	border-bottom: 1px solid var(--border);
}
.base.shortstory:not(.sk) > .dpad > .btl a {
	color: var(--link-hover);
}
.base.shortstory:not(.sk) .maincont {
	text-align: left;
	line-height: 1.5;
}
.base.shortstory:not(.sk) .mlink {
	border-bottom: 0;
}
.base.shortstory:not(.sk) > .dpad > .mlink {
	margin: 8px -16px -4px;
}
/* the article / static page is one block: the title is its strip */
.base.fullstory {
	text-align: left;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
}
.base.fullstory > .dpad {
	padding: 12px 16px;
}
.base.fullstory > .dpad > br[clear] {
	display: none;
}
.base.fullstory > .dpad > h1.btl {
	margin: -12px -16px 14px;
	padding: 8px 16px;
	font: bold 1.3em/1.3 var(--font);
	color: var(--text-2);
	background-color: var(--strip);
	border-bottom: 1px solid var(--border);
	border-radius: var(--r-lg) var(--r-lg) 0 0;
}
/* the search page block */
.base.infoblock {
	margin-bottom: 25px;
	padding: 0 16px 14px;
	background-color: #fff;
}
.base.infoblock > h3.btl {
	margin: 0 -16px;
	padding: 8px 16px;
	font-size: 1.15em;
	color: var(--text-2);
	background-color: var(--strip);
	border-bottom: 1px solid var(--border);
	border-radius: var(--r-lg) var(--r-lg) 0 0;
}
/* lead: the short story opens the article */
.base.fullstory .lead {
	margin: 0 0 6px;
}
.base.fullstory .lead > p:first-of-type,
.base.fullstory .lead > p:first-child + p {
	font-size: 1.05em;
	color: #2d3538;
}
.base.fullstory .lead a[onclick*="hs.expand"] img,
.base.fullstory .lead > p > img:only-child {
	box-shadow: 0 1px 4px rgba(63, 75, 81, 0.18);
}

@media (max-width: 800px) {
	/* left-aligned text: justify makes rivers in a narrow column */
	.storenumber,
	.maincont,
	.berrors,
	.fullstory {
		text-align: left;
	}
	.pheading h3.heading {
		font-size: 1.15em;
	}
	.base.shortstory:not(.sk) > .dpad {
		padding: 0 12px 4px;
	}
	.base.shortstory:not(.sk) > .dpad > .btl {
		margin: 0 -12px 10px;
		padding: 9px 12px;
		font-size: 1.1em;
	}
	.base.shortstory:not(.sk) > .dpad > .mlink {
		margin: 8px -12px -4px;
	}
	.base.fullstory > .dpad {
		padding: 10px 12px;
	}
	.base.fullstory > .dpad > h1.btl {
		margin: -10px -12px 12px;
		padding: 8px 12px;
	}
	/* the guest notice closes the article card as its last strip, not a box inside the box */
	.base.fullstory > .berrors {
		border-width: 1px 0 0;
		border-radius: 0 0 7px 7px;
	}
	.base.infoblock {
		padding: 0 12px 12px;
	}
	.base.infoblock > h3.btl {
		margin: 0 -12px;
		padding: 9px 12px;
	}
}

@media (max-width: 620px) {
	.base.fullstory > .dpad > h1.btl {
		font-size: 1.15em;
	}
}

@media (max-width: 480px) {
	.pheading h2 {
		font-size: 1.15em;
	}
}

/* ==== Author line, rating and the action pills (.bhinfo) ==== */

/* author line, stars, pills — in that order everywhere, so when the row is full the pills wrap, not the stars */
.bhinfo {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 12px;
	margin-bottom: 10px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--line);
}
.baseinfo {
	font: 0.9em/20px var(--font);
	color: var(--muted);
}
.bhinfo .ratebox {
	order: 2;
	margin-left: auto;
}
/* ul.isicons: «Написати автору» a.pm-author, «Редагувати» span.art-editbtn inside the [edit] link, bookmark a.art-fav,
   «Поскаржитися» a.art-report; each a 14px inline SVG (stroke = currentColor) + a label, 22px high */
.bhinfo .isicons {
	order: 3;
	display: flex;
	align-items: center;
	gap: 8px;
}
.bhinfo .isicons li {
	display: flex;
	align-items: center;
}
.isicons li:empty {
	display: none;
}
.isicons .pm-author,
.isicons .art-editbtn,
.isicons .art-fav,
.isicons .art-report {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	box-sizing: border-box;
	min-height: 22px;
	padding: 1px 9px;
	font-size: 12px;
	line-height: 18px;
	color: var(--text-2);
	white-space: nowrap;
	text-decoration: none;
	background: var(--strip);
	border: 1px solid var(--border);
	border-radius: 10px;
	cursor: pointer;
}
.isicons .pm-author svg,
.isicons .art-editbtn svg,
.isicons .art-fav svg,
.isicons .art-report svg {
	flex: none;
}
.isicons .pm-author svg,
.isicons .art-editbtn svg,
.isicons .art-fav svg {
	color: var(--link-hover);
}
.isicons .art-report svg {
	color: #c0574f;
}
.isicons .pm-author:hover,
.isicons .pm-author:focus-visible,
.isicons a:hover .art-editbtn,
.isicons a:focus-visible .art-editbtn,
.isicons .art-fav:hover,
.isicons .art-fav:focus-visible,
.isicons .art-report:hover,
.isicons .art-report:focus-visible {
	color: var(--link-hover);
	background: var(--hover);
}
/* not the article's link look (blue, underlined on hover): every pill's text is the same grey, blue on hover */
.base .dpad .bhinfo .isicons a {
	color: var(--text-2);
}
.base .dpad .bhinfo .isicons a:hover,
.base .dpad .bhinfo .isicons a:focus-visible,
.base .dpad .bhinfo .isicons a.art-fav.is-on {
	color: var(--link-hover);
	text-decoration: none;
}
/* bookmark: a ribbon with a plus; bookmarked = light blue pill, filled ribbon with a tick (qrz_fav_link() in functions.php) */
.isicons .art-fav svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform 0.15s ease;
}
.isicons .art-fav.qrz-busy svg {
	transform: scale(1.2);
}
.isicons .art-fav .fav-ok,
.isicons .art-fav .fav-on,
.isicons .art-fav.is-on .fav-plus,
.isicons .art-fav.is-on .fav-off {
	display: none;
}
.isicons .art-fav.is-on .fav-ok,
.isicons .art-fav.is-on .fav-on {
	display: inline;
}
.isicons .art-fav.is-on .fav-b {
	fill: currentColor;
}
.isicons .art-fav.is-on .fav-ok {
	stroke: #fff;
}
.isicons .art-fav.is-on {
	color: var(--link-hover);
	background: #e8f1f9;
	border-color: #b7d3ec;
}
/* next to «Редагувати» (editors) the envelope and the flag are icon-only, so the row stays one line (labels stay as title / aria-label) */
.isicons:has(.art-editbtn) .pm-author,
.isicons:has(.art-editbtn) .art-report {
	padding: 1px 8px;
}
.isicons:has(.art-editbtn) .pm-author span,
.isicons:has(.art-editbtn) .art-report span {
	display: none;
}

@media (max-width: 620px) {
	/* with «Редагувати»/bookmark: author and date on their own line, then the stars left and the actions right */
	.bhinfo:has(.isicons) .baseinfo {
		flex: 1 0 100%;
	}
	.bhinfo:has(.isicons) .ratebox {
		order: 2;
		margin-left: 0;
	}
	.bhinfo:has(.isicons) ul.isicons {
		order: 3;
		margin-left: auto;
	}
	/* every pill is icon-only on phones (labels stay as title / aria-label; «Редагувати» stays for screen readers) */
	.isicons .pm-author,
	.isicons .art-editbtn,
	.isicons .art-fav,
	.isicons .art-report {
		padding: 1px 8px;
	}
	.isicons .art-editbtn {
		position: relative;
	}
	.isicons .pm-author span,
	.isicons .art-fav span,
	.isicons .art-report span {
		display: none !important;
	}
	.isicons .art-editbtn > span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}
}

@media (max-width: 480px) {
	/* «UW5SW від 23.09.2026» and the stars fit on one line */
	.bi-lbl {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.isicons .art-fav svg {
		transition: none;
	}
}

/* ==== Card footer (.mlink) ====
   One flex row:  Категорія: …                Коментарів: 0  Переглядів: 224  [Детальніше]
   phones:        Категорія: …  /  Переглядів: 224  Коментарів: 0               [Детальніше] */

.mlink {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	padding: 8px 16px;
	overflow: hidden;
	font-size: 0.9em;
	background: var(--strip);
	border: 1px solid var(--border);
	border-width: 1px 0;
}
.mlink > * {
	float: none;
	margin: 0;
	padding: 0;
}
.mlink > .mlarrow,
.mlink > span:empty {
	display: none;
}
.mlink .argcat {
	order: 0;
	margin: 0 auto 0 0;
	line-height: 20px;
	color: var(--muted);
}
.mlink .argcat a {
	color: var(--text-2);
}
.mlink .argcat a:hover {
	color: var(--link);
}
.mlink .argcoms {
	order: 1;
}
.mlink .argviews {
	order: 2;
}
.mlink .argmore,
.mlink .argback {
	order: 3;
}
/* counters: plain text with a label */
.argviews span,
.argcoms span {
	display: inline;
	line-height: 20px;
	color: var(--muted);
	white-space: nowrap;
}
.argviews span b,
.argcoms span b {
	color: var(--text-2);
}
.argviews span b:before,
.argcoms span b:before {
	font-weight: normal;
	color: var(--muted);
}
.argviews span b:before {
	content: "Переглядів: ";
}
.argcoms span b:before {
	content: "Коментарів: ";
}
.argcoms a {
	color: inherit;
}
.argcoms a:hover b,
.argcoms a:hover b:before {
	color: var(--link);
}
/* «Детальніше» (primary) / «Повернутись» */
.argmore a,
.argback a {
	display: inline-block;
	vertical-align: middle;
	line-height: 24px;
	text-decoration: none !important;
	border-radius: var(--r-sm);
}
.argmore a b,
.argback a b {
	display: block;
	padding: 0 14px;
	font-weight: normal;
}
.argmore a {
	color: #fff;
	background-color: var(--link);
	border: 1px solid var(--link-hover);
}
.argmore a:hover {
	background-color: var(--link-hover);
}
.argback a {
	color: var(--text-2);
	background-color: #fff;
	border: 1px solid var(--border);
}
.argback a:hover {
	color: var(--link);
	background-color: var(--hover);
}

@media (max-width: 620px) {
	.mlink {
		gap: 6px 12px;
		padding: 8px 12px;
	}
	.mlink .argcat {
		flex: 1 0 100%;
		margin: 0;
	}
	.mlink .argviews {
		order: 1;
	}
	.mlink .argcoms {
		order: 2;
	}
	.mlink .argmore,
	.mlink .argback {
		margin-left: auto;
	}
}

/* ==== Related articles, previous / next ==== */

.related {
	padding: 0 16px 8px;
	background: #fff;
	border-top: 1px solid var(--border);
}
.related .dtop {
	margin: 0 -16px 6px;
	padding: 8px 16px;
	background: var(--strip);
	border-bottom: 1px solid var(--line);
}
.related .dtop span,
.related .dtop span b {
	float: none;
	padding: 0;
	font-size: 1em;
	font-weight: bold;
	line-height: 1.3;
	color: var(--text-2);
}
.related ul li {
	position: relative;
	margin: 0;
	padding: 4px 4px 4px 16px;
}
.related ul li:before {
	content: "";
	position: absolute;
	left: 4px;
	top: 11px;
	width: 4px;
	height: 4px;
	background: var(--link);
	border-radius: 2px;
}
.related ul li:hover {
	background-color: var(--strip);
}
.related br {
	display: none;
}
.prev-next {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin: 16px 0 4px;
	padding: 14px 0 0;
	border-top: 1px solid var(--line);
}
.prev-next a {
	display: block;
	padding: 8px 12px;
	line-height: 1.35;
	color: var(--link);
	text-decoration: none;
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
}
.prev-next a:hover {
	background: var(--strip);
	text-decoration: none;
}
.prev-next a:before {
	display: block;
	margin: 0 0 2px;
	font-size: 12px;
	color: var(--faint);
}
.prev-next .pn-prev:before {
	content: "‹ Попередня стаття";
}
.prev-next .pn-next {
	grid-column: 2;
	text-align: right;
}
.prev-next .pn-next:before {
	content: "Наступна стаття ›";
}

@media (max-width: 800px) {
	.related {
		padding: 0 12px 8px;
	}
	.related .dtop {
		margin: 0 -12px 6px;
		padding: 8px 12px;
	}
	.related ul li {
		padding-left: 12px;
	}
	.related ul li:before {
		left: 0;
	}
}

@media (max-width: 620px) {
	.prev-next {
		grid-template-columns: 1fr;
	}
	.prev-next .pn-next {
		grid-column: auto;
	}
}

/* ==== Article text (.maincont) ==== */

/* quotes, spoilers, code and hidden text from the BB parser (also in comments) */
.quote,
.title_quote,
.title_spoiler,
.text_spoiler,
.scriptcode {
	padding: 5px;
	background: var(--soft);
	border: 1px solid var(--border);
}
.title_quote,
.title_spoiler {
	font-weight: bold;
	color: var(--text-2);
}
.title_quote {
	border-bottom: 0;
}
.text_spoiler {
	text-align: justify;
	border-top: 0;
}
.scriptcode {
	font-family: "Courier New", monospace;
	text-align: left;
	color: #004e8d;
}
/* [spoiler] title: an arrow that turns down when open (ShowOrHide() in qrz-core.js sets .is-open) */
.title_spoiler a::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin: 0 9px 2px 2px;
	border: solid currentColor;
	border-width: 0 2px 2px 0;
	transform: rotate(-45deg);
	transition: transform 0.2s;
}
.title_spoiler.is-open a::before {
	margin-bottom: 4px;
	transform: rotate(45deg);
}
.hide {
	margin: 0 0 1em;
	padding: 8px 12px;
	color: var(--text);
	background-color: var(--strip);
	border: 1px solid var(--border);
	border-radius: var(--r);
}
.hide a {
	text-decoration: underline;
}
.hide a:hover {
	text-decoration: none;
}
/* the same in an article: the block's own look; quotes keep a blue left rule */
.maincont .quote {
	margin: 0 0 12px;
	padding: 8px 12px;
	font-style: normal;
	color: var(--text-2);
	background: var(--soft);
	border: 1px solid var(--line);
	border-left: 4px solid var(--link);
	border-radius: 0 var(--r) var(--r) 0;
}
.maincont .title_quote {
	margin: 0;
	padding: 4px 12px;
	background: var(--strip);
	border: 1px solid var(--line);
	border-bottom: 0;
	border-radius: var(--r) var(--r) 0 0;
}
.maincont .title_spoiler {
	padding: 6px 12px;
	background: var(--strip);
	border: 1px solid var(--border);
	border-radius: var(--r);
}
.maincont .text_spoiler {
	margin: -1px 0 12px;
	padding: 10px 12px;
	border: 1px solid var(--border);
	border-radius: 0 0 var(--r) var(--r);
}
.base.fullstory .maincont p {
	hyphens: auto;
}
/* pictures: no stray padding, rounded like the blocks; DLE thumbnails ([thumb]) open in the viewer */
.maincont img {
	max-width: 100%;
	height: auto;
	padding: 0;
	border: 0;
	border-radius: var(--r);
}
.maincont div[align="center"] img,
.maincont p[style*="center"] img {
	margin: 4px 0 8px;
}
.maincont img[align="left"] {
	float: left;
	max-width: 48%;
	margin: 4px 16px 10px 0;
}
.maincont img[align="right"] {
	float: right;
	max-width: 48%;
	margin: 4px 0 10px 16px;
}
.maincont a[onclick*="hs.expand"] {
	display: inline-block;
	max-width: 100%;
	line-height: 0;
	cursor: zoom-in;
}
.maincont a[onclick*="hs.expand"] img {
	transition: opacity 0.15s;
}
.maincont a[onclick*="hs.expand"]:hover img {
	opacity: 0.92;
}
/* the news list: a cover picture reads as one */
.shortstory .maincont a[onclick*="hs.expand"] img,
.shortstory .maincont > p > img:only-child {
	box-shadow: 0 1px 4px rgba(63, 75, 81, 0.15);
}
/* caption under a picture: [thumb=|caption] */
.maincont .highslide-caption {
	display: block;
	margin: 4px 0 12px;
	font-size: 12px;
	line-height: 1.4;
	text-align: center;
	color: var(--muted);
}
.maincont figure.image {
	display: table;
	margin: 0 auto 14px;
}
.maincont figure.image img {
	display: block;
}
.maincont figure.image figcaption {
	display: table-caption;
	caption-side: bottom;
	padding: 4px 2px 0;
	font-size: 12px;
	text-align: center;
	color: var(--muted);
}

@media (max-width: 800px) {
	.maincont {
		font-size: 15px;
		line-height: 1.55;
	}
	.maincont [style*="justify"] {
		text-align: left !important;
	}
	.maincont img[style*="float"],
	.maincont img[align] {
		float: none !important;
		display: block;
		margin: 0 auto 10px !important;
	}
	.maincont iframe,
	.maincont object,
	.maincont embed,
	.maincont video,
	.maincont table {
		max-width: 100%;
	}
	.maincont iframe[src*="youtube"],
	.maincont iframe[src*="youtu.be"] {
		width: 100%;
		height: auto;
		aspect-ratio: 16 / 9;
	}
	/* YouTube preview: overrides its stored size */
	.maincont .qrz-yt {
		width: 100% !important;
		aspect-ratio: 16 / 9 !important;
	}
	.maincont .qrz-yt.is-on iframe {
		height: 100%;
	}
	.maincont pre {
		white-space: pre-wrap;
	}
}

/* ==== Static pages and article bodies: headings, lists, tables inside .base.fullstory ==== */

/* section headings repeat the title strip, full width of the block */
.base.fullstory .dpad h2,
.base.fullstory .dpad h3 {
	margin: 20px -16px 12px;
	padding: 8px 16px;
	font: bold 1.15em/1.3 var(--font);
	color: var(--text-2);
	background-color: var(--strip);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}
.base.fullstory .dpad h3 {
	font-size: 1.05em;
}
.base.fullstory .dpad > h2:first-child,
.base.fullstory .dpad > h3:first-child {
	margin-top: 0;
}
.base.fullstory .dpad h2 + h2 {
	margin-top: 0;
	border-top: 0;
}
/* a heading straight after the page title would double the strip */
.base.fullstory .dpad > h1.btl + h2,
.base.fullstory .dpad > h1.btl + h3 {
	margin-top: -14px;
	border-top: 0;
}
.base.fullstory .dpad p {
	margin: 0 0 10px;
	line-height: 1.55;
	color: var(--text);
}
.base.fullstory .dpad a {
	color: var(--link);
	text-decoration: none;
}
.base.fullstory .dpad a:hover {
	text-decoration: underline;
}
.base.fullstory .dpad strong {
	color: var(--text);
}
.base.fullstory .dpad img {
	max-width: 100%;
	height: auto;
	border-radius: var(--r);
}
/* lists take the menu's rhythm: 4px rows, a strip on hover */
.base.fullstory .dpad ul {
	margin: 0 0 12px;
	padding: 0;
	list-style: none;
}
.base.fullstory .dpad ul li {
	position: relative;
	padding: 4px 4px 4px 16px;
}
.base.fullstory .dpad ul li:before {
	content: "";
	position: absolute;
	left: 4px;
	top: 11px;
	width: 4px;
	height: 4px;
	background-color: var(--link);
	border-radius: 2px;
}
.base.fullstory .dpad ol {
	margin: 0 0 12px;
	padding-left: 24px;
}
.base.fullstory .dpad ol li {
	padding: 4px;
}
.base.fullstory .dpad ul li:hover,
.base.fullstory .dpad ol li:hover {
	background-color: var(--strip);
}
/* the info row of the article (stars, pills) is not content: no bullets, padding or hover strip */
.base.fullstory .dpad .bhinfo ul {
	margin-top: 0;
	margin-bottom: 0;
}
.base.fullstory .dpad .bhinfo .isicons {
	display: flex;
	align-items: center;
	gap: 8px;
}
.base.fullstory .dpad .bhinfo ul li {
	padding: 0;
}
.base.fullstory .dpad .bhinfo ul li:before {
	content: none;
}
.base.fullstory .dpad .bhinfo ul li:hover {
	background-color: transparent;
}
/* data tables: bordered rows under a strip, as the blocks are; a table wider than the page scrolls inside its frame
   (hidden edge borders stop the frame and the outer cells doubling up) */
.base.fullstory .dpad table.dtable,
.base.fullstory .dpad table.deftable {
	width: 100%;
	margin: 0 0 14px;
	overflow: hidden;
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	border-collapse: collapse;
}
.base.fullstory .dpad table.dtable {
	display: block;
	max-width: 100%;
	overflow-x: auto;
}
.base.fullstory .dpad table.dtable > tbody {
	display: table;
	width: 100%;
	border-collapse: collapse;
	border-style: hidden;
}
.base.fullstory .dpad table.dtable td,
.base.fullstory .dpad table.dtable th,
.base.fullstory .dpad table.deftable td {
	padding: 6px 10px;
	line-height: 1.4;
	vertical-align: top;
	border: 1px solid var(--line);
}
.base.fullstory .dpad table.dtable p,
.base.fullstory .dpad table.deftable p {
	margin: 0 0 4px;
}
.base.fullstory .dpad table.dtable tbody tr:hover td {
	background-color: var(--strip);
}
/* first row of a real data table is its heading strip */
.base.fullstory .dpad table.dtable[data-hdr] tbody tr:first-child td,
.base.fullstory .dpad table.dtable[data-hdr] tbody tr:first-child:hover td {
	background-color: var(--strip);
}
.base.fullstory .dpad table.dtable[data-hdr] tbody tr:first-child td {
	font-weight: bold;
	text-align: center;
	color: var(--text-2);
	border-color: var(--border);
}
/* contacts: a label/value list, the label column carries the strip */
.base.fullstory .dpad table.deftable td:first-child {
	width: 26%;
	font-weight: bold;
	color: var(--text-2);
	background-color: var(--strip);
}

@media (max-width: 800px) {
	.base.fullstory .dpad h2,
	.base.fullstory .dpad h3 {
		margin: 16px -12px 10px;
		padding: 7px 12px;
	}
	.base.fullstory .dpad p {
		line-height: 1.6;
	}
}

@media (max-width: 620px) {
	.base.fullstory .dpad h2,
	.base.fullstory .dpad h3 {
		font-size: 1.05em;
	}
	.base.fullstory .dpad table.dtable {
		font-size: 0.9em;
	}
	/* label/value tables (contacts): the label becomes a strip above its value, no sideways scrolling */
	.base.fullstory .dpad table.deftable,
	.base.fullstory .dpad table.deftable tbody,
	.base.fullstory .dpad table.deftable tr,
	.base.fullstory .dpad table.deftable td {
		display: block;
		width: auto;
	}
	.base.fullstory .dpad table.deftable tbody,
	.base.fullstory .dpad table.deftable tr,
	.base.fullstory .dpad table.deftable td {
		overflow: visible;
	}
	.base.fullstory .dpad table.deftable {
		font-size: 1em;
		overflow: hidden;
	}
	.base.fullstory .dpad table.deftable tr + tr {
		border-top: 1px solid var(--border);
	}
	.base.fullstory .dpad table.deftable td {
		padding: 7px 12px;
		border: 0;
	}
	.base.fullstory .dpad table.deftable td:first-child {
		width: auto;
		padding-bottom: 6px;
		border-bottom: 1px solid var(--line);
	}
	.base.fullstory .dpad table.deftable td.is-empty,
	.base.fullstory .dpad table.deftable tr.is-empty {
		display: none;
	}
	/* a row that only continues the group above (no label of its own) joins it */
	.base.fullstory .dpad table.deftable tr:has( > td.is-empty:first-child) {
		border-top: 1px dashed var(--line);
	}
}

/* --- the council page (/rada-klubu.html): a title strip over a bordered list of rows --- */
.qrz-rada {
	text-align: left;
}
.qrz-rada h2 {
	margin: 26px 0 14px;
	padding-bottom: 6px;
	font-size: 1.25em;
	color: var(--text);
	border-bottom: 1px solid #e5e5e5;
}
.qrz-rada h2.qr-first {
	margin-top: 4px;
}
.qrz-rada h3 {
	margin: 14px 0 0;
	padding: 7px 16px;
	font-size: 1.05em;
	font-weight: bold;
	color: var(--text-2);
	background-color: var(--strip);
	border: 1px solid var(--border);
	border-bottom: 0;
	border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.qr-grid {
	margin-bottom: 14px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
}
.qrz-rada h3 + .qr-grid {
	border-radius: 0 0 var(--r-lg) var(--r-lg);
}
/* one person = one row */
.qr-card {
	padding: 7px 16px;
	overflow: hidden;
	border-top: 1px solid var(--line);
}
.qr-grid .qr-card:first-child {
	border-top: 0;
}
.qr-card:hover {
	background-color: var(--strip);
}
.qr-call {
	float: left;
	width: 76px;
	font-weight: bold;
}
.qr-name,
.qr-contacts {
	margin-left: 76px;
}
.qr-place,
.qr-note {
	margin-left: 76px;
	font-size: 0.9em;
	color: var(--muted);
}
.qr-contacts a {
	margin-right: 14px;
	font-size: 0.9em;
	white-space: nowrap;
}
/* vacant position */
.qr-card.qr-empty {
	padding: 10px 16px;
	color: var(--muted);
}
.qr-card.qr-empty:hover {
	background: none;
}

@media (min-width: 620px) {
	/* wide screens: callsign | name | town | contacts on one line */
	.qr-card {
		display: flex;
		flex-wrap: wrap;
		align-items: baseline;
	}
	.qr-call {
		float: none;
		flex: 0 0 76px;
		width: auto;
	}
	.qr-name {
		flex: 1 1 140px;
		min-width: 0;
		margin-left: 0;
	}
	.qr-place,
	.qr-contacts {
		box-sizing: border-box;
		margin-left: 0;
		padding-left: 12px;
	}
	.qr-place {
		flex: 0 0 210px;
	}
	.qr-contacts {
		flex: 0 0 264px;
		text-align: right;
	}
	.qr-contacts a {
		margin: 0 0 0 10px;
	}
	.qr-note {
		flex: 1 1 100%;
		margin: 2px 0 0 76px;
	}
	.qr-card.qr-empty {
		display: block;
	}
}

/* --- /links.html: one link per menu-style row --- */
.qrz-links .ql-lead {
	margin: 0 0 4px;
	padding: 10px 14px;
	color: var(--text);
	background-color: var(--soft);
	border-radius: var(--r);
}
.base.fullstory .dpad .qrz-links ul.ql-list {
	margin: 0 0 6px;
}
.base.fullstory .dpad .qrz-links ul.ql-list li {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 12px;
	padding: 5px 4px 5px 16px;
	border-bottom: 1px solid var(--line);
}
.base.fullstory .dpad .qrz-links ul.ql-list li:last-child {
	border-bottom: 0;
}
.base.fullstory .dpad .qrz-links ul.ql-list li:before {
	top: 13px;
}
.qrz-links .ql-list a,
.qrz-links .ql-list .ql-name {
	flex: 1 1 auto;
	min-width: 0;
}
.qrz-links .ql-url {
	margin-left: auto;
	font-size: 0.9em;
	color: var(--muted);
	white-space: nowrap;
}
/* a site that is gone: the entry stays, greyed, with a short note */
.base.fullstory .dpad .qrz-links li.ql-dead:before {
	background-color: #b8c6cc;
}
.base.fullstory .dpad .qrz-links li.ql-dead a,
.qrz-links li.ql-dead .ql-name {
	color: var(--faint);
}
.qrz-links li.ql-dead .ql-url {
	color: var(--faint);
	text-decoration: line-through;
}
.qrz-links .ql-note {
	flex-basis: 100%;
	font-size: 0.85em;
	font-style: italic;
	color: #9a7b62;
}
/* «our button» block */
.qrz-links .ql-button {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}
.qrz-links .ql-button img {
	flex: none;
	margin-top: 3px;
	border-radius: 0;
}
.qrz-links .ql-button-text {
	flex: 1 1 auto;
	min-width: 0;
}
.qrz-links .ql-code {
	margin: 0;
	padding: 8px 10px;
	font: 0.85em/1.5 Consolas, "Courier New", monospace;
	color: var(--text);
	white-space: pre-wrap;
	word-break: break-all;
	background-color: var(--soft);
	border: 1px solid var(--line);
	border-radius: var(--r);
	user-select: all;
}

@media (max-width: 620px) {
	.qrz-links .ql-url {
		flex-basis: 100%;
		margin-left: 0;
	}
	.qrz-links .ql-button {
		flex-direction: column;
	}
}

/* ==== Comments (comments.tpl) ====
   One comment = one block, like the sidebar menu: a title strip (who, when), white body, a quiet footer line
   (the author's counts, the actions). */

.bcomment {
	margin-bottom: 14px;
	padding: 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
}
.cm-head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 16px;
	background: var(--strip);
	border-bottom: 1px solid var(--border);
}
.cm-ava {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	overflow: hidden;
	background: var(--hover);
	border-radius: 50%;
	box-shadow: 0 0 0 1px var(--border);
}
.cm-ava img {
	display: block;
	width: 40px;
	height: 40px;
	object-fit: cover;
}
.cm-who {
	flex: 1 1 auto;
	min-width: 0;
	line-height: 20px;
}
.cm-line {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	column-gap: 10px;
}
.cm-name {
	font-size: 1.05em;
	font-weight: bold;
	color: var(--text);
	overflow-wrap: anywhere;
}
.cm-name a {
	color: var(--link-hover);
}
/* the group keeps its colour from the admin panel (red for administrators), in a quieter size */
.cm-group,
.cm-date {
	font-size: 0.92em;
	color: var(--muted);
}
.cm-group b {
	font-weight: normal;
}
.bcomment .dcont {
	padding: 12px 16px;
	line-height: 1.5;
	overflow-wrap: anywhere;
}
.cm-text p {
	margin: 0 0 0.6em;
}
.cm-text > div > :last-child,
.cm-text > :last-child {
	margin-bottom: 0;
}
.cm-text img {
	max-width: 100%;
	height: auto;
}
/* comment search results: the article the comment belongs to */
.bcomment .dcont h3.cm-news {
	margin: 0 0 0.5em;
	font-size: 1.1em;
	color: var(--link-hover);
}
.bcomment .dcont h3.cm-news a {
	color: inherit;
}
/* signature: a thin rule instead of the typed "--------------------" */
.cm-sign {
	margin-top: 12px;
	padding-top: 8px;
	font-size: 0.92em;
	line-height: 1.45;
	color: var(--muted);
	border-top: 1px solid var(--line);
}
.signature {
	color: #93918d;
}
.cm-foot {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 4px 16px;
	padding: 6px 16px;
	font-size: 0.92em;
	color: var(--muted);
	border-top: 1px solid var(--line);
}
/* a guest's comment seen by a guest: nothing to show */
.cm-foot:not(:has(li:not(:empty))) {
	display: none;
}
.cm-foot ul {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
}
.cm-foot li {
	margin: 0;
	padding: 0;
	list-style: none;
}
.cm-foot li:empty {
	display: none;
}
.cm-stats {
	column-gap: 14px;
}
.cm-stats li {
	white-space: nowrap;
}
/* the actions «Цитата», «Змінити», «Видалити», «Поскаржитися»: the article header's pills (.isicons) */
.cm-act {
	align-items: center;
	gap: 6px;
	margin-left: auto;
}
.cm-act li {
	display: flex;
}
.cm-act li > a,
.cm-act .cm-pick {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	box-sizing: border-box;
	min-height: 22px;
	padding: 1px 9px;
	font-size: 12px;
	line-height: 18px;
	color: var(--text-2);
	white-space: nowrap;
	text-decoration: none;
	background: var(--strip);
	border: 1px solid var(--border);
	border-radius: 10px;
}
.cm-act li > a svg {
	flex: none;
	color: var(--link-hover);
}
.cm-act .cm-del svg,
.cm-act .cm-report svg {
	color: #c0574f;
}
.cm-act li > a:hover,
.cm-act li > a:focus-visible,
.cm-act .cm-pick:hover {
	color: var(--link-hover);
	text-decoration: none;
	background: var(--hover);
}
/* moderators: «Вибрати» — the checkbox in a pill; the whole pill toggles it, a chosen comment is outlined */
.cm-act .cm-pick {
	padding-left: 7px;
	cursor: pointer;
	user-select: none;
}
.cm-act .cm-pick input {
	float: none;
	flex: none;
	width: 13px;
	height: 13px;
	margin: 0;
	accent-color: var(--link);
	cursor: pointer;
}
.cm-act .cm-pick:has(input:checked) {
	color: var(--link-hover);
	background: #dcebf8;
	border-color: var(--link-soft);
}
.cm-pick:has(input:focus-visible) {
	outline: 2px solid var(--link);
	outline-offset: 1px;
}
.bcomment.cm:has(.cm-pick input:checked) {
	outline: 2px solid var(--link-soft);
	outline-offset: -1px;
}
/* the bar for the chosen comments (comments.class.php; site.js commentMass): «Вибрати всі» and the count left,
   «Об’єднати» / «Видалити» right, off until they can work; with something chosen it sticks to the bottom of the screen */
.mass_comments_action {
	padding: 24px;
	text-align: right;
}
.mass_comments_action.cm-mass {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	margin: 0 0 14px;
	padding: 10px 16px;
	text-align: left;
	color: var(--text-2);
	background: var(--soft);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
}
.mass_comments_action.cm-mass.is-on {
	position: sticky;
	bottom: 8px;
	z-index: 20;
	background: #fff;
	border-color: var(--link-soft);
	box-shadow: 0 4px 18px rgba(43, 124, 196, 0.2);
}
.cm-mass-all {
	order: 1;
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}
.cm-mass-all[hidden],
.cm-mass-lbl[hidden] {
	display: none;
}
.cm-mass-all input {
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: var(--link);
}
.cm-mass-lbl {
	order: 2;
}
.cm-mass-count {
	order: 3;
	font-size: 0.92em;
	color: var(--muted);
}
.cm-mass-btn {
	order: 4;
	height: 30px;
	padding: 0 14px;
	font: 14px var(--font);
	color: var(--text-2);
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--r-sm);
	cursor: pointer;
}
.cm-mass-btn:first-of-type {
	margin-left: auto;
}
.cm-mass-btn:hover:not(:disabled) {
	color: var(--link-hover);
	background: var(--hover);
}
.cm-mass-btn.cm-mass-del:hover:not(:disabled) {
	color: var(--danger-dark);
	background: var(--danger-bg);
	border-color: var(--danger-line);
}
.cm-mass-btn:disabled {
	opacity: 0.5;
	cursor: default;
}
.selectmass {
	display: inline;
}
.selectmass input {
	float: right;
	margin: 6px 0 0 6px;
	vertical-align: middle;
}
/* «Додати коментар» under an article */
.addcombtn {
	float: none;
	width: auto;
	height: auto;
	padding: 0 14px;
	font: 14px/30px var(--font);
	text-align: center;
	color: #fff;
	text-decoration: none !important;
	background: var(--link);
	border: 1px solid var(--link-hover);
	border-radius: var(--r-sm);
}
.addcombtn:hover {
	background-color: var(--link-hover);
}
.addcombtn b {
	font-weight: normal;
}
/* add / edit comment (addcomments.tpl): the feedback form's layout */
.baseform.cmform {
	margin-bottom: 18px;
}
.cmform .tableform td {
	vertical-align: top;
}
.cmform .tableform td.label {
	width: 25%;
	padding-top: 16px;
}
/* same right edge as the editor */
.cmform .f_input {
	width: 100%;
	max-width: none;
}
.cmform .f_input.fb-short {
	width: 122px;
}
.cmform .fb-hint {
	margin-top: 4px;
	font-size: 0.92em;
	line-height: 1.4;
	color: var(--muted);
}
.cmform .cm-q {
	margin: 6px 0 8px;
	color: var(--text);
}
.cmform .fb-captcha {
	margin-bottom: 8px;
}
.cmform .fb-captcha img {
	display: block;
	border: 1px solid var(--border);
	border-radius: var(--r-sm);
}
.cmform .f_input:user-invalid {
	border-color: var(--danger-line);
}
/* the editor fills its cell instead of a fixed 460px */
.cmform .editorcomm textarea {
	box-sizing: border-box;
	width: 100% !important;
	max-width: 100%;
}

@media (max-width: 800px) {
	.cm-head {
		gap: 10px;
		padding: 8px 12px;
	}
	.bcomment .dcont {
		padding: 10px 12px 12px;
	}
	.cm-foot {
		padding: 6px 12px;
	}
}

@media (max-width: 620px) {
	/* with «Змінити» / «Видалити» (own fresh comment, moderators) those and «Поскаржитися» are icons, «Цитата» keeps
	   its label, so the row fits 320px; the labels stay for screen readers */
	.cm-act:has(.cm-edit a, .cm-del a) :is(.cm-edit, .cm-del, .cm-report) > a,
	.cm-act:has(.cm-edit a, .cm-del a) .cm-pick {
		position: relative;
		padding: 1px 8px;
	}
	.cm-act:has(.cm-edit a, .cm-del a) :is(.cm-edit, .cm-del, .cm-report) > a > span,
	.cm-act:has(.cm-edit a, .cm-del a) .cm-pick > span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}
	/* the bar: «Вибрати всі» and the count on one line, the two buttons on the next, half each */
	.mass_comments_action.cm-mass {
		padding: 10px 12px;
	}
	.cm-mass-count {
		flex: 1 0 40%;
		text-align: right;
	}
	.cm-mass-btn {
		flex: 1 1 40%;
		height: 36px;
	}
	.cm-mass-btn:first-of-type {
		margin-left: 0;
	}
	.cmform .tableform td.label {
		width: auto;
		padding-top: 4px;
	}
	/* the one action is a full-width button, «Підписатися на коментарі» a bigger box to tap */
	.cmform .fieldsubmit .fbutton {
		width: 100%;
	}
	.cmform .editorcomm input[type="checkbox"] {
		width: 18px;
		height: 18px;
		margin: 8px 2px 0 0;
		vertical-align: -4px;
	}
	.cmform .editorcomm input[type="checkbox"] + label {
		display: inline-block;
		padding: 8px 0 2px;
	}
}

/* ==== Silent Key (memorial) stories: dark slate instead of white ==== */

/* category heading (category list only) */
.sk-head {
	margin: 0 0 18px;
	padding: 18px 20px 16px;
	text-align: center;
	color: #c9cfd3;
	background-color: #1c2024;
	border: 1px solid var(--sk-bg-2);
	border-radius: var(--r-lg);
}
.sk-head h1 {
	margin: 4px 0 6px;
	font: bold 1.7em/1.2 Georgia, "Times New Roman", serif;
	letter-spacing: 1px;
	color: var(--sk-text);
}
.sk-head p {
	margin: 0;
	font-style: italic;
	line-height: 1.5;
	color: #9aa3a9;
}
.sk-head .sk-morse {
	display: block;
	margin-bottom: 0;
	font: bold 1.8em/1.1 "Courier New", monospace;
	letter-spacing: 2px;
	color: var(--sk-gold);
}
.base.sk {
	margin-bottom: 18px;
	overflow: hidden;
	text-align: left;
	color: #c9cfd3;
	background: #23282c;
	border: 1px solid var(--sk-bg-2);
	border-radius: var(--r-lg);
}
.base.sk > .dpad {
	padding: 12px 16px;
	background: none;
}
/* title strip */
.base.sk > .dpad > .btl,
.base.fullstory.sk > .dpad > h1.btl {
	margin: -12px -16px 14px;
	padding: 9px 16px;
	font: bold 1.2em/1.3 var(--font);
	color: var(--sk-text);
	background-color: var(--sk-bg);
	border-bottom: 1px solid var(--sk-bg-2);
	border-radius: 0;
}
.base.fullstory.sk > .dpad > h1.btl {
	font-size: 1.4em;
}
/* body copy */
.base.sk .maincont,
.base.sk .dpad p {
	line-height: 1.6;
	color: #c9cfd3;
}
.base.sk .dpad strong,
.base.sk .dpad b {
	color: var(--sk-text);
}
.base.sk .dpad a {
	color: var(--link-soft);
	text-decoration: none;
}
.base.sk .dpad a:hover {
	color: #c7def2;
	text-decoration: underline;
}
.base.sk .dpad img {
	max-width: 100%;
	height: auto;
	padding: 0;
	border: 1px solid var(--sk-bg-2);
	border-radius: var(--r);
}
.base.sk .maincont img {
	margin: 4px 12px 8px 0;
}
.base.sk .editdate,
.base.sk .basetags {
	color: var(--faint);
}
/* headings, lists, tables inside a memorial article */
.base.fullstory.sk .dpad h2,
.base.fullstory.sk .dpad h3 {
	color: var(--sk-text);
	background-color: var(--sk-bg);
	border-color: var(--sk-bg-2);
}
.base.fullstory.sk .dpad ul li:before {
	background-color: var(--sk-gold);
}
.base.fullstory.sk .dpad ul li:hover,
.base.fullstory.sk .dpad ol li:hover,
.base.fullstory.sk .dpad table.dtable tbody tr:hover td {
	background-color: #2a2f34;
}
.base.fullstory.sk .dpad table.dtable,
.base.fullstory.sk .dpad table.deftable,
.base.fullstory.sk .dpad table.dtable td,
.base.fullstory.sk .dpad table.dtable th,
.base.fullstory.sk .dpad table.deftable td {
	border-color: var(--sk-bg-2);
}
.base.fullstory.sk .dpad table.dtable[data-hdr] tbody tr:first-child td,
.base.fullstory.sk .dpad table.deftable td:first-child {
	color: var(--sk-text);
	background-color: var(--sk-bg);
}
/* author/date line; no star rating on a memorial */
.base.sk .bhinfo {
	overflow: hidden;
	border-bottom-color: var(--sk-bg-2);
}
.base.sk .baseinfo {
	color: var(--faint);
}
.base.sk .baseinfo a {
	color: var(--link-soft);
}
.base.sk .ratebox {
	display: none;
}
/* the action pills */
.sk .isicons .pm-author,
.sk .isicons .art-editbtn,
.sk .isicons .art-fav,
.sk .isicons .art-report,
.base.sk .dpad .bhinfo .isicons a {
	color: #c4cfd5;
}
.sk .isicons .pm-author,
.sk .isicons .art-editbtn,
.sk .isicons .art-fav,
.sk .isicons .art-report {
	background: #2f363b;
	border-color: #4a555c;
}
.sk .isicons .pm-author svg,
.sk .isicons .art-editbtn svg,
.sk .isicons .art-fav svg {
	color: var(--link-soft);
}
.sk .isicons .art-report svg {
	color: #e39a92;
}
.sk .isicons .art-fav.is-on .fav-ok {
	stroke: #2f363b;
}
.sk .isicons .pm-author:hover,
.sk .isicons .pm-author:focus-visible,
.sk .isicons a:hover .art-editbtn,
.sk .isicons a:focus-visible .art-editbtn,
.sk .isicons .art-fav:hover,
.sk .isicons .art-fav:focus-visible,
.sk .isicons .art-report:hover,
.sk .isicons .art-report:focus-visible {
	background: #3a4349;
}
.base.sk .dpad .bhinfo .isicons a:hover,
.base.sk .dpad .bhinfo .isicons a:focus-visible,
.base.sk .dpad .bhinfo .isicons a:hover .art-editbtn,
.base.sk .dpad .bhinfo .isicons a.art-fav.is-on {
	color: #fff;
}
/* the footer bar: a flat dark strip */
.base.sk .mlink {
	margin: 0;
	color: var(--faint);
	background: var(--sk-bg);
	border: 0;
	border-top: 1px solid var(--sk-bg-2);
}
.base.sk .argcat,
.base.sk .argviews span,
.base.sk .argcoms span {
	color: var(--faint);
}
.base.sk .argcat a,
.base.sk .argcoms a {
	color: var(--link-soft);
}
.base.sk .argmore a,
.base.sk .argback a {
	color: var(--sk-text);
	background: var(--sk-bg-2);
	border: 1px solid #4a5258;
}
.base.sk .argmore a b,
.base.sk .argback a b {
	padding: 0 12px;
}
.base.sk .argmore a:hover,
.base.sk .argback a:hover {
	color: #1c2024;
	background-color: var(--sk-gold);
	border-color: var(--sk-gold);
}
/* related articles and the guest notice inside the block */
.base.sk .related {
	padding: 0 16px 6px;
	color: #c9cfd3;
	background: #23282c;
	border-top: 1px solid var(--sk-bg-2);
}
.base.sk .related .dtop {
	margin-bottom: 4px;
	padding: 9px 0 7px;
	background: none;
	border-bottom: 1px solid var(--sk-bg-2);
}
.base.sk .related .dtop span,
.base.sk .related .dtop span b {
	color: var(--sk-text);
}
.base.sk .related ul li {
	padding: 3px 0 3px 14px;
}
.base.sk .related ul li:before {
	left: 2px;
	top: 10px;
	background-color: var(--sk-gold);
}
.base.sk .related ul li:hover {
	background: none;
}
.base.sk .related a {
	color: var(--link-soft);
}
.base.sk .berrors {
	color: #c9cfd3;
	background: var(--sk-bg);
	border: 0;
	border-top: 1px solid var(--sk-bg-2);
	border-radius: 0;
}
.base.sk .berrors a {
	color: var(--link-soft);
}

@media (max-width: 800px) {
	.base.fullstory.sk > .berrors {
		border-radius: 0 0 7px 7px;
	}
}

@media (max-width: 620px) {
	.sk-head {
		padding: 14px 12px 12px;
	}
	.sk-head h1 {
		font-size: 1.4em;
	}
	.base.sk > .dpad {
		padding: 10px 12px;
	}
	.base.sk > .dpad > .btl,
	.base.fullstory.sk > .dpad > h1.btl {
		margin: -10px -12px 12px;
		padding: 8px 12px;
		font-size: 1.15em;
	}
	.base.sk .maincont img {
		float: none !important;
		display: block;
		margin: 0 auto 8px;
	}
}
