/**
 * Fallout Skynet customizations preserved during the Coral Dark 1.4 update.
 * Keep site-specific styling here so future upstream updates are easier to merge.
 */

/* Typography and content layout. */
abbr[title] {
	border-bottom: 2px dotted;
}

img {
	font-size: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: #D8BC2C;
}

p {
	text-align: justify;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

h1.entry-title,
h1.page-title {
	color: #D8BC2C;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
	color: #D8BC2C !important;
}

.featured-posts .featured-item2 .featured-post-widget-excerpt {
	text-align: justify;
}

.textwidget p {
	margin-bottom: 10px;
	margin-left: 10px;
}

/* Main navigation. */
#main-menu {
	letter-spacing: -1px;
}

#menu-button {
	font-size: 13px;
}

@media screen and (max-width: 1023px) {
	#menu-button {
		display: inline-block;
	}

	#main-menu.collapsed {
		display: none;
	}

	#main-menu {
		border-top: 0 dotted #444;
	}
}

.sm-clean a,
.sm-clean a:hover,
.sm-clean a:focus,
.sm-clean a:active {
	font-family: Tahoma, Arial, sans-serif;
	font-size: 14px !important;
	font-weight: bold;
}

/*
 * The 56px right padding belongs only to the collapsible mobile menu, where
 * it leaves room for SmartMenus' submenu toggle. On desktop it used to be
 * overridden later in style.css. Since custom CSS is now loaded separately,
 * keeping it global makes submenu items grow from 24px to 56px on hover and
 * causes the whole navigation bar to jump.
 */
@media screen and (max-width: 1023px) {
	.sm-clean a,
	.sm-clean a:hover,
	.sm-clean a:focus,
	.sm-clean a:active {
		padding-right: 56px;
	}
}

.sm-clean a.current {
	color: #D8BC2C !important;
}

@media (min-width: 1024px) {
	.sm-clean ul {
		opacity: 0.9;
		-webkit-border-radius: 0 !important;
		-moz-border-radius: 0 !important;
		-ms-border-radius: 0 !important;
		-o-border-radius: 0 !important;
		border-radius: 0 !important;
	}

	.sm-clean ul a,
	.sm-clean ul a:hover,
	.sm-clean ul a:focus,
	.sm-clean ul a:active,
	.sm-clean ul a.highlighted {
		width: 250px;
		font-size: 14px;
	}

	.sm-clean ul a:hover,
	.sm-clean ul a:focus,
	.sm-clean ul a:active,
	.sm-clean ul a.highlighted {
		color: #222;
		background: #D8BC2C;
	}
}

/* Wider Fallout Skynet page frame. */
.grid-container {
	max-width: 1180px;
	border-top-style: none;
	border-right: 3px double #444;
	border-left: 3px double #444;
	background: rgba(0, 0, 0, 0.4);
}

/*
 * Coral Dark 1.4 sets overflow-x:hidden on #page. That turns the page wrapper
 * into a scroll container and breaks position:sticky elements used by the
 * walkthrough plugin. Keep horizontal clipping without creating that container.
 */
#page {
	overflow-x: visible;
}

@supports (overflow: clip) {
	#page {
		overflow-x: clip;
	}
}

/* =========================================================
   VÝSLEDKY VYHLEDÁVÁNÍ
   ========================================================= */

.search-results .page-header {
	margin: 0 0 24px;
	padding: 0 0 15px;
	border-bottom: 1px solid rgba(216, 188, 44, 0.45);
}

.search-results .page-title {
	margin: 0;
	font-size: 1.65rem;
	line-height: 1.25;
	font-weight: 500;
	color: #d8bc2c;
}

.search-results .page-title span {
	color: #f1d94f;
}

.search-result-count {
	margin: 7px 0 0;
	color: #999;
	font-size: 0.9rem;
	font-weight: 400;
}


/* Jedna karta výsledku */

.search-result-card {
	position: relative;
	margin: 0 0 16px;
	padding: 0;
	background: rgba(5, 7, 5, 0.7);
	border: 1px solid rgba(255, 255, 255, 0.11);
	border-left: 3px solid #76691d;
	transition:
		border-color 0.18s ease,
		background-color 0.18s ease,
		transform 0.18s ease;
}

.search-result-card:hover {
	background: rgba(15, 16, 11, 0.88);
	border-color: rgba(216, 188, 44, 0.55);
	border-left-color: #d8bc2c;
	transform: translateX(3px);
}


/* Celá karta je klikací */

.search-result-card-link {
	display: grid;
	grid-template-columns: 190px minmax(0, 1fr);
	color: inherit;
	text-decoration: none;
}

.search-result-card:not(.has-post-thumbnail) .search-result-card-link {
	display: block;
}

.search-result-card-link:hover,
.search-result-card-link:focus {
	color: inherit;
	text-decoration: none;
}


/* Náhledový obrázek */

.search-result-thumbnail {
	position: relative;
	min-height: 155px;
	overflow: hidden;
	background: #080908;
	border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.search-result-thumbnail img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 155px;
	object-fit: cover;
	transition: transform 0.25s ease;
}

.search-result-card:hover .search-result-thumbnail img {
	transform: scale(1.035);
}


/* Textová část */

.search-result-content {
	min-width: 0;
	padding: 17px 21px 18px;
}

.search-result-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
	margin: 0 0 7px;
	font-size: 0.75rem;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.search-result-type,
.search-result-category {
	display: inline-block;
	color: #a99b50;
	font-weight: 600;
}

.search-result-category::before {
	content: "•";
	margin-right: 7px;
	color: #625c36;
}


/* Nadpis výsledku */

.search-result-title {
	margin: 0 0 9px;
	padding: 0;
	font-size: 1.35rem;
	line-height: 1.25;
	font-weight: 500;
	color: #d8bc2c;
}

.search-result-card:hover .search-result-title {
	color: #f0d743;
}


/* Úryvek */

.search-entry-summary,
.search-entry-summary p,
.search-entry-summary span,
.search-entry-summary strong,
.search-entry-summary b {
	margin: 0;
	color: #b9b9b9;
	font-size: 0.97rem;
	line-height: 1.55;
	font-weight: 400 !important;
	text-align: left;
}


/* Odkaz ve spodní části */

.search-result-more {
	display: inline-block;
	margin-top: 11px;
	color: #8f843f;
	font-size: 0.82rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.035em;
	transition: color 0.18s ease;
}

.search-result-more span {
	display: inline-block;
	margin-left: 3px;
	font-size: 1.1em;
	transition: transform 0.18s ease;
}

.search-result-card:hover .search-result-more {
	color: #d8bc2c;
}

.search-result-card:hover .search-result-more span {
	transform: translateX(3px);
}


/* Mobilní zobrazení */

@media (max-width: 700px) {

	.search-result-card-link {
		display: block;
	}

	.search-result-thumbnail {
		min-height: 170px;
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}

	.search-result-thumbnail img {
		height: 170px;
		min-height: 170px;
	}

	.search-result-content {
		padding: 15px 16px 17px;
	}

	.search-result-title {
		font-size: 1.2rem;
	}

	.search-entry-summary {
		font-size: 0.94rem;
	}
}
/* =========================================================
   FALLOUT SKYNET – STRÁNKY STUDIÍ
   FINÁLNÍ VERZE
   ========================================================= */

.studio-wiki {
	--studio-accent: #d8bc2c;
	--studio-accent-light: #fff0a0;
	--studio-panel: rgba(15, 15, 15, 0.94);
	--studio-panel-soft: rgba(25, 25, 25, 0.9);
	--studio-border: #736628;
	--studio-border-soft: #403b25;
	--studio-text: #d5d5d5;
	--studio-muted: #a5a5a5;

	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	color: var(--studio-text);
	
	line-height: 1.7;
}

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

.studio-wiki a {
	color: var(--studio-accent-light);
	text-decoration: underline;
	text-decoration-color: rgba(216, 188, 44, 0.45);
	text-underline-offset: 3px;
}

.studio-wiki a:hover,
.studio-wiki a:focus {
	color: #fff;
	text-decoration-color: var(--studio-accent);
}

/* =========================================================
   HLAVIČKA
   ========================================================= */

.studio-header {
	margin: 0 0 34px;
	padding: 16px 0 22px;
}

.studio-kicker {
	margin: 0 0 0px;
	padding: 0 0 0 0px;
	color: var(--studio-muted);
	
	font-weight: 700;
	line-height: 1.3;
	text-align: justify;
	/* text-transform: uppercase; */
}

.studio-header h1 {
	margin: 0;
	padding: 0;
	color: #fff;
	
	font-weight: 500;
	letter-spacing: 0.01em;
	line-height: 1.12;
	text-align: justify;
}

.studio-lead {
	max-width: 1000px;
	margin: 18px 0 0;
	padding: 0;
	color: #ddd;
	
	line-height: 1.75;
	text-align: justify;
	text-indent: 0;
	word-spacing: normal;
}

/* =========================================================
   HORNÍ ČÁST – OBSAH A HISTORIE + INFOBOX
   ========================================================= */

.studio-top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	gap: 15px;
	align-items: start;
	margin-bottom: 15px;
}

.studio-top-main {
	min-width: 0;
}

/* =========================================================
   OBSAH
   ========================================================= */

.studio-toc {
	max-width: 420px;
	margin: 0 0 38px;
	padding: 0;
}

.studio-toc h2 {
	margin: 0 0 10px !important;
	padding: 0 !important;
	color: #fff !important;
	background: transparent !important;
	border: 0 !important;
	
	font-weight: 500;
	letter-spacing: 0.08em;
	line-height: 1.3;
	text-align: justify;
	text-transform: uppercase;
}

.studio-toc ol {
	margin: 0;
	padding-left: 20px;
}

.studio-toc li {
	margin: 3px 0;
	padding: 0;
}

/* =========================================================
   SEKCE
   ========================================================= */

.studio-section {
	width: 100%;
	margin: 0 0 36px;
	padding: 0;
	scroll-margin-top: 90px;
}

.studio-section > h2 {
	margin: 0 0 20px;
	padding: 7px 0 8px 14px;
	color: #fff;
	background: linear-gradient(
		90deg,
		rgba(216, 188, 44, 0.08),
		transparent 70%
	);
	border-left: 4px solid var(--studio-accent);
	border-bottom: 1px solid var(--studio-border-soft);
	
	font-weight: 500;
	line-height: 1.3;
	text-align: justify;
}

.studio-section > h3 {
	margin: 25px 0 10px;
	padding: 0;
	color: var(--studio-accent-light);
	
	font-weight: 500;
	line-height: 1.35;
	text-align: justify;
}

.studio-section p {
	margin: 0 0 17px;
	padding: 0;
	text-align: justify;
	text-indent: 0;
	word-spacing: normal;
}

.studio-section ul,
.studio-section ol {
	margin-top: 8px;
	margin-bottom: 20px;
}

.studio-section li {
	margin-bottom: 7px;
}

/* =========================================================
   POZNÁMKA
   ========================================================= */

.studio-note {
	margin: 24px 0 0;
	padding: 16px 20px;
	color: var(--studio-text);
	background: rgba(216, 188, 44, 0.08);
	border: 1px solid var(--studio-border);
	border-left: 4px solid var(--studio-accent);
	text-align: justify;
}

.studio-note strong {
	color: var(--studio-accent-light);
}

/* =========================================================
   INFOBOX
   ========================================================= */

.studio-infobox {
	width: 100%;
	margin: 0;
	overflow: hidden;
	background: var(--studio-panel);
	border: 2px solid var(--studio-border);
}

.studio-infobox__title {
	margin: 0;
	padding: 11px 14px;
	color: #111;
	background: var(--studio-accent);
	
	font-weight: 800;
	letter-spacing: 0.04em;
	line-height: 1.3;
	text-align: center;
	text-transform: uppercase;
}

.studio-infobox__logo {
	margin: 0;
	padding: 22px 18px 18px;
	background: radial-gradient(
		circle at center,
		#252525 0,
		#0d0d0d 70%
	);
	border-bottom: 2px solid var(--studio-border);
	text-align: center;
}

.studio-infobox__logo img {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 260px;
	margin: 0 auto;
	object-fit: contain;
}

.studio-infobox__logo figcaption {
	margin: 12px 0 0;
	color: var(--studio-muted);
	
	line-height: 1.4;
	text-align: center;
}

.studio-infobox table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	background: transparent;
	
}

.studio-infobox th,
.studio-infobox td {
	margin: 0;
	padding: 10px 11px;
	border: 0;
	border-bottom: 1px solid var(--studio-border-soft);
	vertical-align: top;
	text-align: justify;
}

.studio-infobox th {
	width: 42%;
	color: var(--studio-accent-light);
	background: rgba(255, 255, 255, 0.025);
	border-right: 1px solid var(--studio-border-soft);
	font-weight: 700;
}

.studio-infobox td {
	color: var(--studio-text);
	background: rgba(0, 0, 0, 0.08);
}

.studio-infobox tr:last-child th,
.studio-infobox tr:last-child td {
	border-bottom: 0;
}

/* =========================================================
   TABULKA HER
   ========================================================= */

.studio-table-wrap {
	width: 100%;
	margin: 20px 0 26px;
	overflow-x: auto;
	border: 1px solid var(--studio-border);
}

.studio-games {
	width: 100%;
	min-width: 620px;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	background: var(--studio-panel);
}

.studio-games th,
.studio-games td {
	padding: 11px 13px;
	border: 0;
	border-right: 1px solid var(--studio-border-soft);
	border-bottom: 1px solid var(--studio-border-soft);
	vertical-align: top;
	text-align: justify;
}

.studio-games th:last-child,
.studio-games td:last-child {
	border-right: 0;
}

.studio-games th {
	color: #111;
	background: var(--studio-accent);
	font-weight: 800;
}

.studio-games tbody tr:nth-child(even) {
	background: rgba(255, 255, 255, 0.025);
}

.studio-games tbody tr:hover {
	background: rgba(216, 188, 44, 0.07);
}

.studio-games tr:last-child td {
	border-bottom: 0;
}

.studio-games td:first-child {
	color: #fff;
	font-weight: 700;
}

/* =========================================================
   ZDROJE
   ========================================================= */

.studio-sources {
	margin-bottom: 0;
	color: var(--studio-muted);
	
}

.studio-sources li {
	margin-bottom: 7px;
}

/* =========================================================
   MOBIL
   ========================================================= */

@media (max-width: 850px) {
	.studio-top {
		display: flex;
		flex-direction: column;
		gap: 28px;
	}

	.studio-top-main {
		display: contents;
	}

	.studio-toc {
		order: 1;
		margin-bottom: 0;
	}

	.studio-infobox {
		order: 2;
		max-width: 520px;
		margin: 0 auto;
	}

	.studio-top-main .studio-section {
		order: 3;
	}

	.studio-header h1 {
		;
	}

	.studio-lead {
		;
	}

	.studio-section > h2 {
		;
	}
}
.search-entry-summary,
.search-entry-summary * {
	font-weight: 400 !important;
}

/* Search template compatibility and the full URL line. */
.search-result-inner {
	display: grid;
	grid-template-columns: 190px minmax(0, 1fr);
}

.search-result-card:not(.has-post-thumbnail) .search-result-inner {
	display: block;
}

.search-result-url {
	margin-top: 10px;
	overflow-wrap: anywhere;
	color: #888;
	font-size: 0.78rem;
	font-style: italic;
	line-height: 1.35;
}

@media (max-width: 700px) {
	.search-result-inner {
		display: block;
	}
}
