/* ANTIKORS — layout polish on antikor 2017 theme */

html {
	overflow-x: clip;
}

:root {
	--font-sans: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, sans-serif;
	--font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
	--color-brand: #0c62a5;
	--color-brand-dark: #054580;
}

body,
input,
button,
textarea,
select {
	font-family: var(--font-sans);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
.hero-lead h2,
.block h2,
.block h3,
.articles_one h1,
#menu_articles a.top,
.footer-menu a.top {
	font-family: var(--font-serif);
	font-weight: 700;
	letter-spacing: -0.01em;
}

.top-site-title {
	font-family: var(--font-sans);
	font-weight: 600;
	letter-spacing: 0.02em;
}

.wrap {
	width: min(1240px, calc(100% - 24px));
	margin-left: auto;
	margin-right: auto;
}

#page-main .wrap {
	width: min(1240px, calc(100% - 24px));
}

#page-main {
	background: #ececec url(/themes/2017/images/bg-main.png);
}

/* Top bar */
.top-line-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 8px 14px;
	padding: 6px 0;
	min-height: auto;
	height: auto !important;
}

#top-line {
	height: auto !important;
	padding-top: 4px;
	padding-bottom: 4px;
}

.top-site-title {
	margin: 0;
	font-size: 12px;
	font-weight: normal;
	color: #333;
	text-shadow: 0 1px 0 #fff;
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.top-clock {
	float: none !important;
	font-size: 12px;
	color: #555;
	white-space: nowrap;
}

.top-weather {
	display: flex;
	flex-wrap: nowrap;
	gap: 4px 8px;
	font-size: 11px;
	color: #666;
	overflow-x: auto;
	max-width: min(52vw, 620px);
	justify-content: flex-end;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.top-weather::-webkit-scrollbar {
	display: none;
}

.top-weather span {
	background: rgba(255, 255, 255, 0.55);
	padding: 2px 6px;
	border-radius: 2px;
	white-space: nowrap;
	flex: 0 0 auto;
}

/* Header */
#header_wrp {
	background: linear-gradient(180deg, #ececec 0%, #d8d8d8 100%);
	border-bottom: 3px solid #0c62a5;
}

#header {
	min-height: 0;
	height: auto !important;
	padding: 10px 0;
}

.header-grid {
	display: grid;
	grid-template-columns: minmax(220px, 300px) minmax(0, 1fr) minmax(190px, 230px);
	gap: 8px 18px;
	align-items: center;
}

#logo-antikors {
	grid-row: 1 / span 2;
	align-self: center;
	display: block;
	text-decoration: none;
}

#logo-antikors img {
	display: block;
	width: 100%;
	max-width: 300px;
	height: auto;
	max-height: 76px;
}

#logo-antikors:hover {
	opacity: 0.92;
}

.header-spotlight {
	grid-column: 2;
	grid-row: 1 / span 2;
	background: rgba(255, 255, 255, 0.45);
	border-left: 3px solid #0c62a5;
	padding: 8px 14px;
	min-height: 64px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.header-spotlight-label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #054580;
	margin-bottom: 4px;
}

.header-spotlight-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.header-spotlight-list li {
	font-size: 13px;
	color: #444;
	line-height: 1.35;
	padding-left: 12px;
	position: relative;
}

.header-spotlight-list li::before {
	content: '•';
	position: absolute;
	left: 0;
	color: #0c62a5;
}

.header-tools {
	grid-column: 3;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
}

#header #social {
	position: static !important;
	display: flex;
	justify-content: flex-end;
	gap: 6px;
}

.social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	background: #666;
	color: #fff;
	border-radius: 3px;
	transition: background 0.15s ease;
}

.social-link:hover {
	background: #0c62a5;
	color: #fff;
	text-decoration: none;
}

#header .header-search {
	position: static !important;
	display: flex;
	align-items: center;
	gap: 4px;
	width: 100%;
}

#inp-search {
	flex: 1;
	min-width: 0;
	width: auto !important;
	padding: 6px 8px;
	font-size: 13px;
}

#inp-go {
	position: static !important;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #666;
	border: none;
	border-radius: 2px;
	color: #fff;
	cursor: pointer;
}

#inp-go:hover {
	background: #0c62a5;
}

/* Main navigation */
#menu_articles {
	display: flex !important;
	width: 100%;
	margin: 0;
	border-left: 1px solid #fff;
	flex-wrap: nowrap;
}

#menu_articles .menu-item {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	border-right: 1px solid #fff;
}

#menu_articles a.top,
#menu_articles .menu-extra {
	display: block;
	padding: 9px 6px 0;
	height: 26px;
	text-align: center;
	font-size: 12px;
	text-shadow: 0 -1px 0 #333;
	color: #fff;
	background: #666;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

#menu_articles .menu-item:hover > a.top {
	background: #333;
	text-decoration: none;
}

#menu_articles a.top.active {
	background: #333;
}

#menu_articles a.top.active::after {
	content: ' ';
	position: absolute;
	top: 0;
	margin-left: -6px;
	left: 50%;
	height: 0;
	width: 0;
	border-top: 6px solid #f3f3f3;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
}

.menu-dropdown {
	display: none;
	position: absolute;
	top: 35px;
	left: 0;
	min-width: 100%;
	z-index: 99999;
	background: #333;
	padding: 1px 0 3px;
	border-bottom: 3px solid #fff;
	border-right: 1px solid #fff;
}

.menu-item:hover .menu-dropdown {
	display: block;
}

.menu-dropdown a {
	display: block;
	padding: 6px 10px 7px;
	height: auto;
	background: #333 !important;
	border: none !important;
	font-size: 12px;
	color: #fff;
	text-align: left;
	text-transform: none;
	white-space: nowrap;
}

.menu-dropdown a:hover {
	background: #666 !important;
	text-decoration: none;
}

#logo-menu.menu-logo {
	display: none !important;
	flex: 0 0 150px;
	align-items: center;
	justify-content: center;
	padding: 0;
	background: #666;
	border-right: 1px solid #fff;
}

#logo-menu.menu-logo img {
	display: block;
	width: 140px;
	height: auto;
	max-height: 32px;
}

.pinned #logo-menu.menu-logo {
	display: flex !important;
}

.pinned #main_menu {
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	border-bottom: 4px solid #fff;
	border-top: 2px solid #fff;
	z-index: 99999;
}

#logo-antikors img {
	display: block;
}

.article-card-body h3,
.list-text .block-a {
	font-family: var(--font-serif);
	font-weight: 600;
}

.article-lead {
	font-family: var(--font-serif);
	font-weight: 600;
	line-height: 1.45;
}

.article-body {
	font-size: 17px;
	line-height: 1.65;
}

/* Homepage grid — fixes float gaps */
.home-content {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.home-layout {
	display: grid;
	grid-template-columns: 280px 1fr 280px;
	gap: 16px;
	align-items: start;
	margin-bottom: 0;
}

.home-col {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.home-col .block--fill {
	display: flex;
	flex-direction: column;
}

.home-col .block--fill .block-content {
	flex: 0 0 auto;
}

.block--latest .block-content {
	min-height: 0;
}

.home-wide-strip {
	margin-top: 4px;
}

.home-wide-strip-title {
	margin: 0 0 10px;
	font-size: 20px;
	color: #054580;
}

.home-wide-strip-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

@media (max-width: 1100px) {
	.home-wide-strip-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.home-topics-dup {
	display: none;
}

.home-bottom {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 0;
}

.home-bottom--triple {
	grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1100px) {
	.home-bottom--triple {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 768px) {
	.home-bottom--triple {
		grid-template-columns: 1fr;
	}
}

/* News ticker */
.news-ticker {
	display: flex;
	align-items: stretch;
	gap: 0;
	margin: 0 0 14px;
	background: #054580;
	color: #fff;
	overflow: hidden;
	min-height: 36px;
}

.news-ticker-label {
	flex: 0 0 auto;
	background: #990000;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 0 12px;
	display: flex;
	align-items: center;
}

.news-ticker-track {
	flex: 1;
	overflow: hidden;
	position: relative;
}

.news-ticker-inner {
	display: flex;
	gap: 32px;
	white-space: nowrap;
	animation: ticker-scroll 80s linear infinite;
	padding: 8px 0;
}

.news-ticker-inner a {
	color: #fff;
	text-decoration: none;
	font-size: 13px;
}

.news-ticker-inner a:hover {
	text-decoration: underline;
}

@keyframes ticker-scroll {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

/* Photo strip */
.photo-strip {
	margin: 0 0 18px;
}

.photo-strip-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 10px;
}

.photo-strip-head h2 {
	margin: 0;
	font-size: 22px;
	color: #054580;
}

.photo-strip-more {
	font-size: 13px;
	font-weight: 600;
	color: #0c62a5;
}

.photo-strip-grid {
	display: grid;
	grid-template-columns: 1.6fr repeat(2, 1fr);
	grid-template-rows: repeat(2, minmax(140px, 1fr));
	gap: 8px;
	min-height: 0;
}

.photo-tile {
	position: relative;
	overflow: hidden;
	display: block;
	background: #333;
	text-decoration: none !important;
}

.photo-tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.25s ease;
	min-height: 100%;
}

.photo-tile:hover img {
	transform: scale(1.04);
}

.photo-tile--lead {
	grid-row: 1 / span 2;
	grid-column: 1;
}

.photo-tile-body {
	position: absolute;
	inset: auto 0 0 0;
	padding: 28px 10px 10px;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
	color: #fff;
}

.photo-tile-body strong {
	display: block;
	font-size: 13px;
	line-height: 1.3;
	font-weight: 600;
}

.photo-tile--lead .photo-tile-body strong {
	font-size: 17px;
}

.photo-tile-body .atime {
	color: rgba(255, 255, 255, 0.8);
	font-size: 11px;
}

@media (max-width: 900px) {
	.photo-strip-grid {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto;
	}
	.photo-tile--lead {
		grid-column: 1 / -1;
		grid-row: auto;
		min-height: 200px;
	}
	.photo-tile {
		min-height: 120px;
	}
}

/* Mosaic row */
.home-mosaic {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 8px;
	margin: 16px 0;
}

.mosaic-card {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	text-decoration: none !important;
	background: #222;
}

.mosaic-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mosaic-card span {
	position: absolute;
	inset: auto 0 0 0;
	padding: 24px 8px 8px;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
	color: #fff;
	font-size: 12px;
	line-height: 1.3;
	font-weight: 600;
}

@media (max-width: 1100px) {
	.home-mosaic {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 600px) {
	.home-mosaic {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Editor picks */
.picks-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.picks-grid .article-card {
	border-bottom: none;
	padding: 0;
}

.picks-grid .article-card-link {
	grid-template-columns: 1fr;
}

.picks-grid .article-card-media img {
	width: 100%;
	height: 160px;
	object-fit: cover;
}

.block--category .block-content {
	min-height: 0;
}

.column-main-1 .block,
.column-main-2 .block,
.column-main-3 .block {
	min-height: 0;
}

#content {
	min-height: 0;
}

.home-layout .column-main-1,
.home-layout .column-main-2,
.home-layout .column-main-3,
.home-bottom .column-main-2 {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
}

@media (max-width: 1100px) {
	.home-layout {
		grid-template-columns: 1fr 1fr;
	}
	.home-layout .column-main-1 {
		grid-column: 1 / -1;
	}
}

@media (max-width: 768px) {
	.home-layout,
	.home-bottom {
		grid-template-columns: 1fr;
	}
}

/* Hero */
.hero-feature {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 12px;
	margin-bottom: 12px;
	align-items: start;
}

.hero-lead {
	display: block;
	background: #fff;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	outline: 1px solid #ddd;
	text-decoration: none !important;
	color: inherit;
	overflow: hidden;
}

.hero-lead:hover {
	outline-color: #0c62a5;
}

.hero-lead-media img {
	width: 100%;
	height: 280px;
	object-fit: cover;
	display: block;
}

.hero-lead-body {
	padding: 14px 16px 16px;
}

.hero-label {
	display: inline-block;
	font-size: 11px;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #fff;
	background: #990000;
	padding: 2px 8px;
	margin-bottom: 8px;
}

.hero-lead h2 {
	font-size: 26px;
	margin: 0 0 10px;
	color: #333;
	text-shadow: none;
	line-height: 1.2;
}

.hero-lead p {
	font-size: 15px;
	color: #555;
	margin-bottom: 8px;
}

.hero-meta {
	font-size: 12px;
	color: #888;
}

.hero-side {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.hero-side-card {
	display: grid;
	grid-template-columns: 100px 1fr;
	gap: 10px;
	align-items: start;
	background: #fff;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);
	outline: 1px solid #ddd;
	padding: 8px;
	text-decoration: none !important;
}

.hero-side-card img {
	width: 100px;
	height: 68px;
	object-fit: cover;
}

.hero-side-card strong {
	display: block;
	font-size: 14px;
	line-height: 1.3;
	color: #333;
	margin-top: 2px;
}

.hero-side-card:hover strong {
	color: #000;
}

@media (max-width: 900px) {
	.hero-feature {
		grid-template-columns: 1fr;
	}
	.hero-lead-media img {
		height: 200px;
	}
}

/* Article cards */
.article-card {
	border-bottom: 1px solid #e5e5e5;
	padding: 10px 0;
}

.article-card:last-child {
	border-bottom: none;
}

.article-card-link {
	display: grid;
	grid-template-columns: 100px 1fr;
	gap: 10px;
	text-decoration: none !important;
	color: inherit;
}

.article-card--compact .article-card-link {
	grid-template-columns: 88px 1fr;
}

.article-card-media img {
	width: 100%;
	height: 68px;
	object-fit: cover;
	border: 1px solid #ddd;
	background: #e8eef4;
}

.article-card--compact .article-card-media img {
	height: 72px;
}

.article-card-body h3 {
	font-size: 15px !important;
	margin: 0 0 4px;
	line-height: 1.25;
}

.article-card-body p {
	font-size: 13px;
	color: #666;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.article-card-meta {
	display: flex;
	gap: 8px;
	align-items: center;
	margin-bottom: 4px;
}

.article-card-meta .atime {
	float: none;
	margin: 0;
}

.category-grid {
	display: flex;
	flex-direction: column;
	gap: 0;
}

/* Rich list with thumbs */
.articles_list--rich {
	display: grid !important;
	grid-template-columns: 72px 1fr;
	gap: 10px;
	align-items: start;
	padding: 8px 12px !important;
	margin: 0 -12px !important;
}

.list-thumb img {
	width: 72px;
	height: 48px;
	object-fit: cover;
	border: 1px solid #ccc;
}

.list-text .atime {
	float: none;
	display: inline-block;
	margin: 0 0 4px;
}

.list-text .block-a {
	display: block;
	margin-left: 0 !important;
	line-height: 1.35;
}

/* Blocks */
.block {
	border-top: 3px solid #0c62a5;
}

.block h2,
.block h3 {
	color: #054580;
}

#eu-tracker-wrap {
	background: linear-gradient(180deg, #e2e2e2 0%, #d4d4d4 100%);
	padding: 10px 12px;
	margin-bottom: 12px;
}

.eu__list {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 8px;
}

.eu__item {
	background: #fff;
	border: 1px solid #ccc;
	text-align: center;
	padding: 8px 6px;
}

.eu__item-count {
	font-size: 20px;
	font-weight: 700;
	color: #054580;
	line-height: 1.1;
}

.eu__item-info {
	font-size: 10px;
	color: #666;
	line-height: 1.25;
	margin-top: 2px;
}

@media (max-width: 1100px) {
	.header-grid {
		grid-template-columns: 220px 1fr;
		grid-template-rows: auto auto;
	}

	#logo-antikors {
		grid-row: auto;
	}

	.header-spotlight {
		grid-column: 2;
		grid-row: 1;
	}

	.header-tools {
		grid-column: 1 / -1;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

	#header .header-search {
		max-width: 280px;
	}

	.eu__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	#menu_articles a.top,
	#menu_articles .menu-extra {
		font-size: 11px;
		padding-top: 10px;
		height: 28px;
	}
}

#toptags {
	margin-bottom: 8px;
	text-align: center;
}

.toptags-label {
	background: transparent !important;
	border: none !important;
	color: #666 !important;
	font-weight: 600;
	text-shadow: none !important;
	padding: 2px 4px !important;
}

.topic-pill {
	background: #e8f0f8 !important;
	border-color: #9bb8d0 !important;
	color: #054580 !important;
}

/* Article page */
.article-hero-img {
	margin: 0 -15px 16px;
	max-height: 420px;
	overflow: hidden;
}

.article-hero-img img {
	width: 100%;
	height: auto;
	max-height: 420px;
	object-fit: cover;
	display: block;
}

.article-source {
	margin-top: 20px;
	padding: 12px;
	background: #eef4fa;
	border-left: 3px solid #0c62a5;
	font-size: 14px;
}

.telegram-cta {
	background: linear-gradient(90deg, #0c62a5, #49a1da);
	color: #fff;
	text-align: center;
	padding: 14px;
	margin: 12px 0 0;
	border-radius: 2px;
}

.telegram-cta a {
	color: #fff;
	font-weight: bold;
}

.article-lead {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 16px;
}

.article-meta {
	font-size: 13px;
	color: #666;
	margin-bottom: 16px;
}

.article-tags span {
	display: inline-block;
	font-size: 13px;
	background: #ddd;
	border: 1px solid #bbb;
	padding: 2px 8px;
	margin: 0 4px 4px 0;
	border-radius: 2px;
}

.article-body p {
	margin-bottom: 12px;
}

.important-card {
	margin-bottom: 12px;
	padding-bottom: 12px;
	border-bottom: 1px dashed #ccc;
}

.important-card:last-of-type {
	border-bottom: none;
}

.important-card .adate {
	font-weight: bold;
	color: #0c62a5;
}

.hot-list ol {
	padding-left: 20px;
	margin: 0;
}

.hot-list li {
	margin-bottom: 8px;
}

#breadcrumb {
	margin-bottom: 12px;
}

@media (max-width: 1240px) {
	.column-main-1,
	.column-main-2,
	.column-main-3 {
		float: none;
		width: 100%;
		margin: 0 0 16px;
	}
}

@media (max-width: 768px) {
	.articles_one {
		font-size: 16px;
	}
	h1 {
		font-size: 26px;
	}

	.eu__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ── Mobile (antikor.ua mobileversion pattern) ── */
#mob-top {
	display: none;
}

#mob-hdr {
	display: grid;
	grid-template-columns: 48px 1fr 48px;
	align-items: center;
	height: 48px;
	background: linear-gradient(180deg, #777 0%, #666 100%);
	border-bottom: 2px solid #fff;
	padding: 0;
}

.mob-hdr-center {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 0;
	padding: 0 4px;
}

#mob-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	height: auto;
	padding: 0;
}

#mob-logo img {
	display: block;
	height: 26px;
	width: auto;
	max-width: 150px;
}

.mob-hdr-clock {
	display: block;
	font-size: 10px;
	line-height: 1.2;
	color: rgba(255, 255, 255, 0.85);
	margin-top: 1px;
	white-space: nowrap;
}

.mob-menu-butt {
	display: flex;
	align-items: center;
	justify-content: center;
	position: static;
	width: 48px;
	height: 48px;
	padding: 0;
	border: none;
	background: transparent !important;
	background-image: none !important;
	color: #fff;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.mob-menu-butt:hover,
.mob-menu-butt[aria-expanded='true'] {
	background: rgba(0, 0, 0, 0.2) !important;
}

.mob-svg {
	display: block;
	flex-shrink: 0;
}

#mob-menu-switch {
	left: auto;
}

#mob-search-switch {
	right: auto;
}

#mob-menu[hidden],
#search-panel[hidden] {
	display: none !important;
}

.mobileversion #mob-menu:not([hidden]) {
	display: block !important;
}

.mobileversion #search-panel:not([hidden]) {
	display: block !important;
}

#mob-menu {
	background: #666;
	border-bottom: 2px solid #fff;
}

#mob-menu ul {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
}

#mob-menu li {
	width: 50%;
	box-sizing: border-box;
	float: none;
}

#mob-menu a {
	display: block;
	color: #fff;
	font-size: 15px;
	padding: 11px 12px;
	border-top: 1px solid #777;
	border-left: 1px solid #777;
	text-decoration: none;
	text-shadow: 0 -1px 0 #000;
}

#mob-menu a:hover,
#mob-menu a.active {
	background: #333;
	text-decoration: none;
}

#search-panel {
	background: #666;
	padding: 8px 10px 10px;
	border-bottom: 2px solid #fff;
}

#search-panel form {
	display: flex;
	gap: 6px;
}

#search-input {
	flex: 1;
	min-width: 0;
	padding: 8px 10px;
	border: 1px solid #bbb;
	border-radius: 2px;
	font-size: 16px;
}

#search-submit {
	padding: 8px 14px;
	background: #0c62a5;
	color: #fff;
	border: none;
	border-radius: 2px;
	font-weight: 600;
	cursor: pointer;
}

body.mobileversion {
	overflow-x: hidden;
}

.mobileversion #mob-top {
	display: block;
	position: sticky;
	top: 0;
	z-index: 100000;
}

.mobileversion.pinned #mob-top {
	position: sticky;
}

.mobileversion .desktop-chrome {
	display: none !important;
}

.mobileversion .wrap,
.mobileversion #page-main .wrap {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	padding-left: 8px;
	padding-right: 8px;
	box-sizing: border-box;
}

.mobileversion .wrap img,
.mobileversion .wrap video,
.mobileversion .wrap iframe,
.mobileversion .wrap embed {
	max-width: 100% !important;
	height: auto;
}

.mobileversion #top-line {
	display: none;
}

.mobileversion #breadcrumb {
	display: none;
}

.mobileversion .home-topics-dup {
	display: none;
}

.mobileversion #toptags {
	margin-bottom: 6px;
	font-size: 12px;
}

.mobileversion #toptags span {
	font-size: 12px;
	padding: 2px 5px;
}

.mobileversion #eu-tracker-wrap {
	padding: 6px 4px;
	margin-bottom: 6px;
}

.mobileversion .eu__list {
	grid-template-columns: repeat(3, 1fr);
	gap: 4px;
}

.mobileversion .eu__item {
	padding: 6px 4px;
}

.mobileversion .eu__item-count {
	font-size: 16px;
}

.mobileversion .eu__item-info {
	font-size: 9px;
	line-height: 1.2;
}

.mobileversion .wrap.home-page {
	display: flex;
	flex-direction: column;
}

.mobileversion .wrap.home-page > #content.home-content {
	display: contents;
}

.mobileversion .hero-feature {
	order: 1;
	margin-top: 0;
	margin-bottom: 6px;
}

.mobileversion .wrap.home-page > .news-ticker {
	order: 2;
	flex-direction: row;
	margin-bottom: 8px;
}

.mobileversion .wrap.home-page > #eu-tracker-wrap {
	order: 3;
}

.mobileversion .photo-strip {
	order: 4;
}

.mobileversion #toptags {
	order: 5;
}

.mobileversion .home-layout {
	order: 6;
}

.mobileversion .home-mosaic {
	order: 7;
}

.mobileversion .home-bottom--triple {
	order: 8;
}

.mobileversion .home-wide-strip {
	order: 9;
}

.mobileversion .home-bottom:not(.home-bottom--triple) {
	order: 10;
}

.mobileversion .hero-side {
	display: none;
}

.mobileversion .block--latest {
	display: none !important;
}

.mobileversion .news-ticker-label {
	padding: 0 10px;
	font-size: 10px;
}

.mobileversion .news-ticker-track {
	min-width: 0;
}

.mobileversion .news-ticker-inner {
	animation: ticker-scroll 45s linear infinite;
	flex-wrap: nowrap;
	white-space: nowrap;
	padding: 8px 0;
	gap: 28px;
}

.mobileversion .news-ticker-inner a {
	font-size: 12px;
	white-space: nowrap;
}

.mobileversion .home-content {
	gap: 8px;
}

.mobileversion .home-col {
	gap: 8px;
}

.mobileversion .home-layout,
.mobileversion .home-bottom,
.mobileversion .home-bottom--triple {
	grid-template-columns: 1fr !important;
	gap: 8px;
}

.mobileversion .hero-feature {
	margin-bottom: 8px;
	gap: 8px;
}

.mobileversion .hero-lead h2 {
	font-size: 20px;
	margin-bottom: 6px;
}

.mobileversion .hero-lead-body {
	padding: 10px 12px 12px;
}

.mobileversion .hero-lead p {
	font-size: 14px;
	margin-bottom: 4px;
}

.mobileversion .hero-lead-media img {
	height: auto;
	min-height: 0;
	max-height: 200px;
}

.mobileversion .hero-side {
	gap: 6px;
}

.mobileversion .hero-side-card {
	grid-template-columns: 72px 1fr;
	padding: 6px;
}

.mobileversion .photo-strip {
	margin-bottom: 8px;
}

.mobileversion .photo-strip-head {
	margin-bottom: 6px;
}

.mobileversion .photo-strip-grid {
	grid-template-columns: 1fr;
	grid-template-rows: auto;
	min-height: 0;
	gap: 6px;
}

.mobileversion .photo-tile--lead {
	grid-column: auto;
	grid-row: auto;
	min-height: 0;
}

.mobileversion .photo-tile {
	min-height: 0;
}

.mobileversion .photo-tile img {
	min-height: 140px;
	max-height: 180px;
}

.mobileversion .home-mosaic {
	grid-template-columns: repeat(2, 1fr);
	gap: 6px;
	margin: 0;
}

.mobileversion .block {
	margin-bottom: 0;
}

.mobileversion .block--latest .block-content {
	min-height: 0;
}

.mobileversion .block h2,
.mobileversion .block h3 {
	margin-bottom: 6px;
}

.mobileversion .block-content {
	padding-top: 0;
}

.mobileversion .picks-grid {
	grid-template-columns: 1fr;
	gap: 8px;
}

.mobileversion .telegram-cta {
	padding: 10px 8px;
	margin: 0;
	font-size: 13px;
}

.mobileversion .tabs_bg {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	margin-bottom: 6px !important;
}

.mobileversion .tabs {
	flex-wrap: wrap;
}

.mobileversion .article-hero-img {
	margin-left: 0;
	margin-right: 0;
}

.mobileversion .article-card-link,
.mobileversion .articles_list--rich {
	grid-template-columns: 80px 1fr !important;
}

.mobileversion #footer .footer-menu {
	width: 50%;
	float: left;
	box-sizing: border-box;
	padding: 0 6px;
}

.mobileversion .footer-social.bleft {
	border-left: none;
	padding-left: 0;
	margin-top: 12px;
	clear: both;
	float: none;
}

.mobileversion #footer-bottom {
	font-size: 12px;
	padding: 12px 8px 0;
}

.mobileversion h1 {
	font-size: 24px;
}

.mobileversion h2 {
	font-size: 22px;
}

.mobileversion h3 {
	font-size: 18px;
}

.mobileversion .admin-shell {
	padding: 12px;
}

.mobileversion .admin-card {
	padding: 20px 16px;
}
