/*
Theme Name: TadyPraha
Theme URI: https://tadypraha.cz/
Author: MonkeyConsult s.r.o.
Description: Lehká vlastní WordPress šablona pro lokální zpravodajský web TadyPraha.cz.
Version: 1.3.10
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: tadypraha
*/

:root {
	--color-ink: #161616;
	--color-muted: #626262;
	--color-line: #dce2ea;
	--color-paper: #ffffff;
	--color-soft: #f3f6f9;
	--color-navy: #062b67;
	--color-accent: #ff5a14;
	--color-accent-dark: #c73b00;
	--color-footer: #061f49;
	--font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--font-heading: Georgia, "Times New Roman", serif;
	--shadow-soft: 0 14px 34px rgb(6 43 103 / 10%);
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--color-soft);
	color: var(--color-ink);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.6;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-underline-offset: 0.16em;
}

a:hover {
	color: var(--color-accent);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 3px solid var(--color-accent);
	outline-offset: 3px;
}

.container {
	width: min(1180px, calc(100% - 32px));
	margin-inline: auto;
}

.skip-link,
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.skip-link:focus {
	z-index: 20;
	top: 12px;
	left: 12px;
	width: auto;
	height: auto;
	padding: 10px 14px;
	clip: auto;
	background: var(--color-ink);
	color: #fff;
}

.topbar {
	background: #fff;
	border-bottom: 1px solid var(--color-line);
	color: var(--color-muted);
	font-size: 13px;
}

.topbar__inner,
.masthead,
.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.topbar__inner {
	min-height: 34px;
}

.topbar a {
	color: var(--color-navy);
	font-weight: 800;
	text-decoration: none;
}

.topbar a.topbar-tip-link {
	color: var(--color-accent);
	font-weight: 900;
}

.topbar a.topbar-tip-link:hover {
	color: var(--color-accent-dark);
	text-decoration: underline;
}

.masthead {
	min-height: 112px;
	padding-block: 12px;
	background: #fff;
}

.brand-logo-link img,
.custom-logo-link img {
	max-width: min(470px, 54vw);
	max-height: 102px;
}

.masthead-note {
	max-width: 360px;
	padding-left: 18px;
	border-left: 3px solid var(--color-accent);
	color: var(--color-navy);
	font-size: 14px;
	font-weight: 850;
	line-height: 1.25;
	text-transform: uppercase;
}

.menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	border: 0;
	background: var(--color-navy);
	color: #fff;
}

.menu-toggle__bar,
.menu-toggle__bar::before,
.menu-toggle__bar::after {
	display: block;
	width: 22px;
	height: 2px;
	background: currentColor;
	content: "";
}

.menu-toggle__bar::before {
	transform: translateY(-7px);
}

.menu-toggle__bar::after {
	transform: translateY(5px);
}

.primary-nav {
	border-block: 1px solid var(--color-navy);
	background: var(--color-navy);
}

.primary-nav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 2px 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-nav li {
	position: relative;
}

.primary-nav a,
.primary-nav .submenu-toggle {
	display: block;
	padding: 10px 0;
	border: 0;
	background: transparent;
	color: #fff;
	font-family: inherit;
	font-size: 13px;
	font-weight: 800;
	line-height: inherit;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
}

.primary-nav a:hover,
.primary-nav .submenu-toggle:hover {
	color: var(--color-accent);
}

.primary-nav .submenu-toggle span {
	display: inline-block;
	margin-left: 4px;
	font-size: 10px;
	transition: transform 0.18s ease;
}

.primary-nav .submenu-open > .submenu-toggle span {
	transform: rotate(180deg);
}

.menu-item--highlight a {
	margin-block: 7px;
	padding: 4px 10px;
	border-radius: 4px;
	background: var(--color-accent);
	color: #fff;
}

.primary-nav .sub-menu {
	position: absolute;
	z-index: 10;
	top: 100%;
	right: 0;
	display: none;
	min-width: 190px;
	padding: 8px 0;
	background: #fff;
	box-shadow: 0 14px 30px rgb(0 0 0 / 18%);
}

.primary-nav .menu-item-has-children:hover > .sub-menu,
.primary-nav .menu-item-has-children:focus-within > .sub-menu,
.primary-nav .menu-item-has-children.submenu-open > .sub-menu {
	display: block;
}

.primary-nav .sub-menu a {
	padding: 8px 14px;
	color: var(--color-navy);
	font-size: 13px;
	white-space: nowrap;
}

.primary-nav .sub-menu a:hover {
	background: var(--color-soft);
	color: var(--color-accent);
}

.site-main {
	background: #fff;
}

.content-section {
	padding: 24px 0;
	background: #fff;
}

.kicker,
.content-type-badge {
	display: inline-flex;
	width: fit-content;
	color: var(--color-accent);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.05em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
}

.content-type-badge {
	padding: 5px 8px;
	background: var(--color-navy);
	color: #fff;
}

.meta,
.article-meta {
	color: var(--color-muted);
	font-size: 14px;
}

.button,
.load-more-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 0 18px;
	border: 2px solid var(--color-navy);
	color: var(--color-navy);
	font-family: var(--font-heading);
	font-size: 15px;
	font-weight: 800;
	text-decoration: none;
	text-transform: uppercase;
}

.button {
	border-color: var(--color-accent);
	background: var(--color-accent);
	color: #fff;
	font-family: var(--font-body);
}

.button:hover,
.load-more-button:hover {
	border-color: var(--color-accent-dark);
	color: var(--color-accent-dark);
}

.load-more-button:focus-visible {
	outline: 3px solid var(--color-accent);
	outline-offset: 3px;
}

.load-more-button[aria-disabled="true"] {
	cursor: wait;
	opacity: 0.65;
}

.button:hover {
	background: var(--color-accent-dark);
	color: #fff;
}

.ad-slot {
	display: flex;
	color: var(--color-navy);
}

.house-ad {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 28px;
	align-items: center;
	overflow: hidden;
	width: 100%;
	min-height: inherit;
	padding: 22px 28px;
	text-decoration: none;
}

.house-ad:focus-visible {
	outline: 3px solid var(--color-accent);
	outline-offset: 3px;
}

.house-ad__content {
	position: relative;
	z-index: 2;
}

.house-ad__label {
	display: block;
	margin-bottom: 6px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.house-ad__title {
	display: block;
	font-family: var(--font-heading);
	font-size: clamp(25px, 2.8vw, 38px);
	line-height: 1.15;
}

.house-ad p {
	margin: 7px 0 0;
	font-size: 15px;
	line-height: 1.4;
}

.house-ad__note {
	display: block;
	margin-top: 7px;
	color: var(--color-accent);
	font-size: 14px;
	font-weight: 800;
}

.house-ad__action {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 18px;
	border: 2px solid var(--color-accent);
	background: var(--color-accent);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	white-space: nowrap;
}

.house-ad:hover .house-ad__action {
	border-color: var(--color-accent-dark);
	background: var(--color-accent-dark);
}

.house-ad__decoration {
	position: absolute;
	right: -52px;
	bottom: -78px;
	width: 210px;
	height: 210px;
	border: 28px solid rgb(255 255 255 / 8%);
	border-radius: 50%;
	pointer-events: none;
}

.ad-slot--stream {
	min-height: 150px;
	margin: 10px 0 14px;
	background: var(--color-navy);
	color: #fff;
}

.house-ad--stream {
	background: var(--color-navy);
	color: #fff;
}

.ad-slot--intro {
	min-height: 160px;
	margin: 0 0 14px;
	border: 1px solid #d8dee7;
	border-left: 7px solid var(--color-accent);
	background: #fffaf3;
	box-shadow: 0 8px 22px rgb(6 43 103 / 7%);
}

.house-ad--intro {
	background: #fffaf3;
	color: var(--color-navy);
}

.house-ad--intro .house-ad__label {
	display: inline-block;
	padding: 4px 7px;
	background: var(--color-accent);
	color: #fff;
}

.house-ad--intro .house-ad__title {
	max-width: 790px;
	margin-top: 8px;
	font-size: clamp(25px, 2.3vw, 34px);
}

.house-ad--intro p {
	max-width: 780px;
}

.house-ad__audiences {
	display: block;
	margin-top: 9px;
	color: var(--color-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.015em;
}

.house-ad--intro .house-ad__decoration {
	right: -72px;
	bottom: -96px;
	border-color: rgb(6 43 103 / 6%);
}

.ad-slot--sidebar {
	min-height: 0;
	border: 2px solid var(--color-navy);
	background: #fff;
}

.house-ad--sidebar {
	grid-template-columns: 1fr;
	gap: 18px;
	padding: 28px 24px;
	background: #fff;
	color: var(--color-navy);
}

.house-ad--sidebar .house-ad__title {
	font-size: clamp(28px, 2.6vw, 38px);
}

.house-ad--sidebar .house-ad__title span {
	display: block;
	color: var(--color-accent);
}

.house-ad--sidebar .house-ad__action {
	justify-self: start;
}

.house-ad--sidebar .house-ad__decoration {
	right: -86px;
	top: -90px;
	bottom: auto;
	border-color: rgb(6 43 103 / 5%);
}

.house-ad__features {
	display: grid;
	gap: 9px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.house-ad__features li {
	position: relative;
	padding-left: 18px;
	font-size: 14px;
	line-height: 1.35;
}

.house-ad__features li::before {
	position: absolute;
	top: 0.54em;
	left: 0;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--color-accent);
	content: "";
}

.news-hero-c {
	padding: 14px 0 15px;
	background: #fff;
}

.lead-story--compact {
	display: grid;
	grid-template-columns: minmax(250px, 0.92fr) minmax(0, 1.08fr);
	align-items: start;
	border: 1px solid #cfd8e3;
	border-top: 6px solid var(--color-navy);
	background: #fff;
	box-shadow: var(--shadow-soft);
}

.lead-story__image {
	position: relative;
	display: block;
	min-width: 0;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: var(--color-soft);
}

.lead-story__image img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.lead-story__image.is-contain img {
	object-fit: contain;
}

.lead-story__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 16px 20px;
}

.hero-eyebrow {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 10px;
	color: var(--color-navy);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.hero-eyebrow span {
	padding: 5px 8px;
	background: var(--color-soft);
}

.hero-eyebrow span:first-child {
	background: var(--color-navy);
	color: #fff;
}

.lead-story--compact h1 {
	margin: 6px 0 8px;
	font-family: var(--font-heading);
	font-size: clamp(24px, 3vw, 30px);
	line-height: 1.06;
}

.lead-story--compact h1 a,
.category-feature h2 a {
	text-decoration: none;
}

.lead-story--compact p {
	margin: 0 0 12px;
	color: #30343a;
	font-size: 15px;
	line-height: 1.38;
}

.news-stream-section {
	padding-top: 16px;
	border-top: 6px solid var(--color-accent);
	background: #fff;
}

.placeholder-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 36px;
	align-items: start;
	min-height: 520px;
}

.placeholder-box--red {
	display: grid;
	gap: 0;
}

.placeholder-box--blue {
	display: grid;
	gap: 16px;
}

.list-article {
	display: grid;
	grid-template-columns: 145px minmax(0, 1fr);
	gap: 12px;
	padding: 0 0 8px;
	border-bottom: 1px solid var(--color-line);
}

.list-article + .list-article {
	padding-top: 8px;
}

.list-article__image {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--color-soft);
}

.list-article__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.list-article h3 {
	margin: 3px 0 4px;
	font-family: var(--font-heading);
	font-size: 22px;
	line-height: 1.04;
}

.list-article h3 a {
	text-decoration: none;
}

.list-article p {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	color: #252a31;
	font-size: 14px;
	line-height: 1.25;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.load-more-row {
	padding-top: 14px;
	text-align: center;
}

.load-more-status:not(.screen-reader-text) {
	margin: 10px 0 0;
	color: var(--color-accent-dark);
	font-size: 14px;
}

.placeholder-box__half,
.election-special-box,
.popular-box {
	display: flex;
	flex-direction: column;
	color: var(--color-ink);
}

.election-special-box {
	align-self: start;
	padding: 14px 16px 9px;
	background: var(--color-navy);
	color: #fff;
}

.election-special-box .kicker {
	margin: 0 0 5px;
	color: var(--color-accent);
}

.election-special-box h2,
.popular-box h2 {
	margin: 0 0 16px;
	font-family: var(--font-heading);
	font-size: 29px;
	line-height: 1.06;
}

.election-special-box h2 {
	margin-bottom: 10px;
	font-size: 25px;
}

.election-special-box__intro {
	margin: 0 0 12px;
	color: rgb(255 255 255 / 82%);
	font-size: 13px;
	line-height: 1.3;
}

.election-special-box nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 7px;
}

.election-special-box nav a,
.election-special-box nav > span {
	display: grid;
	align-content: center;
	padding: 8px;
	border: 1px solid rgb(255 255 255 / 26%);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
}

.election-special-box .election-link--pending {
	border-style: dashed;
	color: rgb(255 255 255 / 78%);
}

.election-link--pending small {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.popular-box {
	padding: 18px 0;
	border-top: 1px solid var(--color-line);
	border-bottom: 1px solid var(--color-line);
}

.popular-box ol {
	margin: 0;
	padding: 0;
	counter-reset: popular-box;
	list-style: none;
}

.popular-box li {
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr);
	gap: 10px;
	padding: 11px 0;
	border-bottom: 1px solid var(--color-line);
	counter-increment: popular-box;
}

.popular-box li::before {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	background: var(--color-navy);
	color: #fff;
	font-weight: 900;
	content: counter(popular-box);
}

.popular-box a {
	color: var(--color-navy);
	font-weight: 850;
	line-height: 1.25;
	text-decoration: none;
}

.must-read-box {
	display: grid;
	gap: 8px;
	padding: 10px;
	border: 2px solid var(--color-accent);
	background: #fff;
}

.must-read-box__image img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.must-read-box .kicker {
	margin: 0 0 5px;
	color: var(--color-accent);
}

.must-read-box h2 {
	margin: 0 0 5px;
	font-family: var(--font-heading);
	font-size: 21px;
	line-height: 1.08;
}

.must-read-box h2 a {
	text-decoration: none;
}

.must-read-box p:not(.kicker) {
	margin: 0;
	color: #30343a;
	font-size: 14px;
	line-height: 1.3;
}

.section-header {
	padding: 30px 0 24px;
	border-bottom: 1px solid var(--color-line);
	background: #fff;
}

.section-header h1,
.article-hero h1,
.elections-hero h1 {
	margin: 6px 0 12px;
	font-family: var(--font-heading);
	font-size: clamp(36px, 5vw, 58px);
	line-height: 1;
}

.section-header p:not(.kicker),
.article-lead,
.elections-hero p {
	max-width: 780px;
	margin: 0;
	color: #30343a;
	font-size: 20px;
	line-height: 1.45;
}

.article-hero {
	padding: 34px 0 26px;
	background: #fff;
}

.article-hero__inner {
	max-width: 900px;
}

.article-layout,
.archive-layout,
.text-page-layout {
	display: grid;
	grid-template-columns: minmax(0, 760px) 320px;
	gap: 44px;
	align-items: start;
	padding-block: 28px 44px;
}

.article-featured-image {
	margin: 0 0 26px;
}

.article-featured-image img {
	width: 100%;
	height: auto;
}

.category-feature__image img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.article-featured-image figcaption {
	margin-top: 8px;
	color: var(--color-muted);
	font-size: 13px;
}

.article-content {
	max-width: 720px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 20px;
	line-height: 1.72;
}

.article-content p {
	margin: 0 0 18px;
}

.article-content h2,
.text-page-content h2 {
	margin: 34px 0 10px;
	font-family: var(--font-heading);
	font-size: 31px;
	line-height: 1.1;
}

.article-content blockquote {
	margin: 28px 0;
	padding: 18px 22px;
	border-left: 5px solid var(--color-accent);
	background: #fff;
	color: var(--color-navy);
	font-family: var(--font-heading);
	font-size: 25px;
	line-height: 1.25;
}

.info-box,
.tip-cta-box,
.related-box,
.rules-card,
.elections-cta {
	padding: 18px;
	border: 1px solid var(--color-line);
	border-top: 4px solid var(--color-accent);
	background: #fff;
}

.info-box p,
.tip-cta-box p,
.rules-card p {
	margin: 6px 0 0;
}

.tip-cta-box {
	margin-top: 30px;
}

.tip-cta-box h2,
.related-box h2,
.rules-card h2 {
	margin: 0 0 10px;
	font-family: var(--font-heading);
	font-size: 25px;
	line-height: 1.1;
}

.article-aside,
.archive-sidebar,
.text-page-sidebar {
	display: grid;
	gap: 18px;
	position: sticky;
	top: 18px;
}

.related-box {
	display: grid;
	gap: 12px;
}

.related-box a,
.rules-card a {
	color: var(--color-navy);
	font-weight: 800;
	text-decoration: none;
}

.category-feature {
	padding: 24px 0;
	background: #fff;
}

.category-feature__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: 22px;
	align-items: stretch;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--color-line);
}

.category-feature h2 {
	margin: 8px 0 10px;
	font-family: var(--font-heading);
	font-size: clamp(30px, 4vw, 44px);
	line-height: 1.04;
}

.category-feature p {
	margin: 0 0 12px;
	color: #30343a;
	font-size: 18px;
	line-height: 1.45;
}

.category-list-section {
	background: #fff;
	padding-top: 0;
}

.section-title {
	margin: 0 0 16px;
	font-family: var(--font-heading);
	font-size: 32px;
}

.elections-hero {
	padding: 34px 0;
	background: var(--color-navy);
	color: #fff;
}

.elections-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 34px;
	align-items: center;
}

.elections-hero .kicker {
	color: var(--color-accent);
}

.elections-hero p {
	color: rgb(255 255 255 / 86%);
}

.elections-principle {
	margin-top: 16px;
	padding: 14px 16px;
	border-left: 4px solid var(--color-accent);
	background: rgb(255 255 255 / 8%);
}

.elections-cta {
	border-color: rgb(255 255 255 / 18%);
	background: #fff;
	color: var(--color-ink);
}

.elections-cta p {
	color: #30343a;
	font-size: 15px;
}

.election-hub-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.election-hub-card {
	display: grid;
	gap: 8px;
	min-height: 170px;
	padding: 18px;
	border: 1px solid var(--color-line);
	border-top: 5px solid var(--color-accent);
	background: #fff;
	text-decoration: none;
}

.election-hub-card span {
	color: var(--color-navy);
	font-family: var(--font-heading);
	font-size: 26px;
	font-weight: 800;
	line-height: 1.05;
}

.election-hub-card p {
	margin: 0;
	color: #30343a;
	font-size: 15px;
	line-height: 1.35;
}

.election-hub-card--pending {
	border-top-color: var(--color-line);
	background: #f8f9fb;
}

.election-hub-card--pending small {
	align-self: end;
	color: var(--color-muted);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.not-found-section {
	padding-block: 52px 72px;
}

.not-found-card {
	max-width: 780px;
	padding: clamp(24px, 5vw, 48px);
	border-top: 6px solid var(--color-accent);
	background: #fff;
	box-shadow: var(--shadow-soft);
}

.not-found-card h1 {
	margin: 0 0 12px;
	color: var(--color-navy);
	font-family: var(--font-heading);
	font-size: clamp(36px, 6vw, 62px);
	line-height: 1;
}

.not-found-card .search-form {
	display: flex;
	gap: 10px;
	margin-block: 24px;
}

.not-found-card .search-field {
	min-width: 0;
	flex: 1;
	padding: 11px 12px;
	border: 1px solid var(--color-line);
	font: inherit;
}

.not-found-card .search-submit {
	padding: 11px 18px;
	border: 0;
	background: var(--color-navy);
	color: #fff;
	font: inherit;
	font-weight: 800;
}

.not-found-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
}

.text-page-content {
	max-width: 760px;
	padding: 22px;
	background: #fff;
}

.text-page-layout--single {
	grid-template-columns: minmax(0, 760px);
}

.project-contact-cta {
	display: inline-flex;
	margin: 2px 0 22px;
}

.editorial-rules-grid {
	display: grid;
	gap: 16px;
	margin: 28px 0;
}

.editorial-rule-card {
	padding: 20px;
	border: 1px solid var(--color-line);
	border-left: 5px solid var(--color-accent);
	background: #fff;
}

.text-page-content .editorial-rule-card h2 {
	margin: 0 0 8px;
	font-size: 25px;
}

.text-page-content .editorial-rule-card p {
	margin-bottom: 0;
}

.text-page-content h2:first-child {
	margin-top: 0;
}

.text-page-content p {
	margin: 0 0 18px;
}

.text-page-sidebar .tip-cta-box {
	margin-top: 0;
}

.site-footer {
	padding: 34px 0 18px;
	background: var(--color-footer);
	color: #fff;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.3fr repeat(3, 1fr);
	gap: 28px;
}

.footer-brand {
	display: block;
	margin-bottom: 8px;
	font-family: var(--font-heading);
	font-size: 28px;
	line-height: 1;
}

.site-footer p {
	margin: 0;
	color: rgb(255 255 255 / 78%);
}

.site-footer ul {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer a {
	color: rgb(255 255 255 / 82%);
	text-decoration: none;
}

.site-footer a:hover {
	color: #fff;
	text-decoration: underline;
}

.footer-link-button {
	padding: 0;
	border: 0;
	background: transparent;
	color: rgb(255 255 255 / 82%);
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.footer-link-button:hover {
	color: #fff;
	text-decoration: underline;
}

.footer-link-button:focus-visible,
.cookie-dialog button:focus-visible,
.cookie-notice button:focus-visible,
.contact-form :is(input, select, textarea, button):focus-visible {
	outline: 3px solid var(--color-accent);
	outline-offset: 3px;
}

.contact-form-card {
	margin: 18px 0 30px;
	padding: clamp(20px, 4vw, 34px);
	border: 1px solid var(--color-line);
	border-top: 5px solid var(--color-accent);
	background: var(--color-soft);
}

.contact-form-card h3 {
	margin: 0 0 20px;
	font-family: var(--font-heading);
	font-size: clamp(25px, 3vw, 34px);
}

.contact-form {
	display: grid;
	gap: 20px;
}

.form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.form-field {
	display: grid;
	gap: 7px;
	min-width: 0;
}

.form-field label {
	font-weight: 750;
}

.contact-form :is(input, select, textarea) {
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid #8793a3;
	border-radius: 0;
	background: #fff;
	color: var(--color-ink);
	font: inherit;
}

.contact-form textarea {
	min-height: 170px;
	resize: vertical;
}

.contact-form [aria-invalid="true"] {
	border-color: #a51d20;
}

.form-field-error {
	color: #8b1519;
	font-weight: 700;
}

.form-status {
	margin-bottom: 20px;
	padding: 14px 16px;
	border-left: 5px solid currentColor;
}

.form-status ul {
	margin-bottom: 0;
}

.form-status--error {
	background: #fff0f0;
	color: #761418;
}

.form-status--success {
	background: #edf8ef;
	color: #145f25;
}

.form-privacy-notice,
.form-field small {
	color: var(--color-muted);
	font-size: 14px;
}

.contact-honeypot {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
}

.cookie-notice {
	position: fixed;
	z-index: 10000;
	right: 18px;
	bottom: 18px;
	left: 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: 1180px;
	margin-inline: auto;
	padding: 18px 20px;
	border: 2px solid var(--color-navy);
	background: #fff;
	box-shadow: var(--shadow-soft);
}

.cookie-notice[hidden] {
	display: none;
}

.cookie-notice p,
.cookie-category p {
	margin: 5px 0 0;
}

.cookie-notice__actions,
.cookie-dialog__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.button--secondary {
	border: 2px solid var(--color-navy);
	background: #fff;
	color: var(--color-navy);
}

.cookie-dialog {
	width: min(620px, calc(100% - 32px));
	padding: 0;
	border: 2px solid var(--color-navy);
	border-radius: 0;
	color: var(--color-ink);
}

.cookie-dialog::backdrop {
	background: rgb(0 15 40 / 68%);
}

.cookie-dialog form {
	padding: clamp(20px, 4vw, 34px);
}

.cookie-dialog__header {
	display: flex;
	align-items: start;
	justify-content: space-between;
	gap: 20px;
}

.cookie-dialog__header h2 {
	margin-top: 0;
}

.cookie-dialog__close {
	padding: 0 8px;
	border: 0;
	background: transparent;
	color: var(--color-navy);
	font-size: 34px;
	line-height: 1;
	cursor: pointer;
}

.cookie-category {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin: 22px 0;
	padding: 16px;
	border: 1px solid var(--color-line);
	background: var(--color-soft);
}

.cookie-category__status {
	flex: 0 0 auto;
	color: var(--color-navy);
	font-weight: 800;
}

.cookie-category__toggle {
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	accent-color: var(--color-navy);
	cursor: pointer;
}

.cookie-details {
	margin-bottom: 18px;
}

.cookie-details summary {
	cursor: pointer;
	font-weight: 750;
}

.widget-title {
	margin: 0 0 8px;
	font-size: 15px;
	text-transform: uppercase;
}

.footer-bottom {
	margin-top: 28px;
	padding-top: 14px;
	border-top: 1px solid rgb(255 255 255 / 16%);
	color: rgb(255 255 255 / 68%);
	font-size: 13px;
}

@media (max-width: 1100px) {
	.footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.primary-nav ul {
		gap: 2px 9px;
	}

	.primary-nav a {
		font-size: 12px;
	}
}

@media (max-width: 980px) {
	.article-layout,
	.archive-layout,
	.text-page-layout,
	.elections-hero__grid,
	.category-feature__grid {
		grid-template-columns: 1fr;
	}

	.article-aside,
	.archive-sidebar,
	.text-page-sidebar {
		position: static;
	}

	.election-hub-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 780px) {
	.placeholder-layout {
		display: grid;
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.placeholder-box--red,
	.placeholder-box--blue {
		display: contents;
	}

	.election-special-box {
		order: 1;
	}

	.list-article--first {
		order: 2;
	}

	.popular-box {
		order: 3;
	}

	.ad-slot--sidebar {
		order: 4;
	}

	.list-article--more {
		order: 5;
	}

	.must-read-box {
		order: 6;
	}

	.load-more-row {
		order: 7;
	}

	.news-stream-section .ad-slot--stream {
		display: flex;
		order: 2;
	}

	.house-ad {
		grid-template-columns: 1fr;
		gap: 16px;
		padding: 22px 20px;
	}

	.house-ad__action {
		justify-self: start;
	}

	.house-ad__decoration {
		right: -92px;
		bottom: -105px;
	}

	.lead-story--compact {
		grid-template-columns: 1fr;
	}

	.lead-story__content {
		padding: 14px;
	}

	.list-article {
		grid-template-columns: 88px minmax(0, 1fr);
		gap: 9px;
	}

	.list-article h3 {
		font-size: 17px;
	}

	.list-article p {
		font-size: 13px;
		-webkit-line-clamp: 1;
	}
}

@media (max-width: 720px) {
	.form-grid,
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.cookie-notice {
		align-items: stretch;
		flex-direction: column;
	}

	.cookie-notice__actions .button {
		width: 100%;
	}

	.cookie-category {
		align-items: flex-start;
		flex-direction: column;
	}
	body {
		font-size: 16px;
	}

	.container {
		width: min(100% - 24px, 1180px);
	}

	.ad-slot--intro,
	.ad-slot--stream {
		min-height: 0;
		margin: 14px 0 18px;
	}

	.house-ad__title,
	.house-ad--sidebar .house-ad__title {
		font-size: 27px;
	}

	.house-ad--intro .house-ad__title {
		font-size: 25px;
	}

	.house-ad__action {
		width: 100%;
	}

	.house-ad__decoration {
		display: none;
	}

	.topbar__inner {
		gap: 14px;
		justify-content: space-between;
	}

	.topbar__inner span + span,
	.topbar a:nth-of-type(n+2) {
		display: none;
	}

	.masthead {
		min-height: 104px;
	}

	.brand-logo-link img {
		max-width: calc(100vw - 86px);
		max-height: 88px;
	}

	.masthead-note {
		display: none;
	}

	.menu-toggle {
		display: inline-grid;
		place-items: center;
	}

	.primary-nav {
		display: none;
	}

	.nav-open .primary-nav {
		display: block;
	}

	.primary-nav ul {
		display: grid;
		gap: 0;
		padding-block: 8px;
	}

	.primary-nav .sub-menu {
		position: static;
		display: none;
		min-width: 0;
		padding: 0 0 6px 14px;
		background: transparent;
		box-shadow: none;
	}

	.primary-nav .menu-item-has-children:focus-within > .sub-menu,
	.primary-nav .menu-item-has-children.submenu-open > .sub-menu {
		display: grid;
	}

	.primary-nav a,
	.primary-nav .submenu-toggle {
		padding: 11px 0;
		font-size: 13px;
	}

	.primary-nav .sub-menu a {
		padding: 7px 0;
		color: #dce7f5;
	}

	.section-header,
	.article-hero,
	.elections-hero {
		padding: 24px 0 20px;
	}

	.section-header h1,
	.article-hero h1,
	.elections-hero h1 {
		font-size: 34px;
	}

	.section-header p:not(.kicker),
	.article-lead,
	.elections-hero p {
		font-size: 17px;
	}

	.article-layout,
	.archive-layout,
	.text-page-layout {
		gap: 24px;
		padding-block: 22px 34px;
	}

	.article-content {
		font-size: 18px;
		line-height: 1.68;
	}

	.article-content h2,
	.text-page-content h2 {
		font-size: 26px;
	}

	.article-content blockquote {
		font-size: 21px;
	}

	.election-hub-grid,
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.election-hub-card {
		min-height: 0;
	}

	.text-page-content {
		padding: 18px;
	}

	.footer-bottom {
		display: grid;
		justify-content: start;
	}
}


/* Volebni special: scoped presentation, 2026-09-29 */
.tp-election { --tp-ink:#102d60; --tp-orange:#ed571d; color:var(--tp-ink); }
.tp-election h2,.tp-election h3 { color:var(--tp-ink); line-height:1.2; }
.tp-election p { line-height:1.65; }
.tp-election a { text-underline-offset:4px; }
.tp-election [id] { scroll-margin-top:40px; }
.tp-election .tp-eyebrow,.tp-card-kicker { font-size:12px; font-weight:850; letter-spacing:.1em; text-transform:uppercase; }
.tp-election .tp-eyebrow { color:#ac380c; margin:0 0 14px; }
.tp-hub-hero { background:#102d60; color:#fff; padding:56px 0 46px; border-bottom:6px solid #ed571d; }
.tp-hero-grid { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(290px,.8fr); gap:60px; align-items:center; }
.tp-hub-hero .tp-eyebrow { color:#ffb899; }
.tp-hub-hero h1 { color:#fff; font:700 clamp(48px,6.5vw,86px)/.99 Georgia,serif; letter-spacing:-.035em; margin:0 0 24px; }
.tp-hub-hero .tp-hero-lead { font-size:20px; line-height:1.55; max-width:610px; margin:0 0 26px; color:#e9eff8; }
.tp-actions { display:flex; flex-wrap:wrap; gap:12px; }
.tp-election a.tp-button { display:inline-flex; align-items:center; justify-content:center; gap:15px; padding:13px 19px; background:#c73b00; border:1px solid #c73b00; color:#fff; font-size:14px; line-height:1.4; font-weight:800; text-decoration:none; border-radius:4px; }
.tp-election a.tp-button:hover { background:#a93000; border-color:#a93000; color:#fff; }
.tp-election a.tp-button--outline { background:transparent; border-color:#9faec6; color:#fff; }
.tp-election a.tp-button--outline:hover { background:#fff; color:#102d60; }
.tp-hub-hero .tp-hero-note { color:#bac9df; font-size:12px; line-height:1.8; margin:22px 0 0; }
.tp-date-card { background:#fffaf3; color:#102d60; border-radius:7px; padding:28px 30px; box-shadow:12px 12px 0 #ffffff10; border-top:5px solid #ed571d; }
.tp-date-card .tp-eyebrow { color:#8b3210; margin-bottom:12px; }
.tp-date-card .tp-date { font:700 67px/1 Georgia,serif; margin:0 0 24px; letter-spacing:-.04em; }
.tp-date-card .tp-date span { display:block; font:700 27px/1.4 Georgia,serif; letter-spacing:0; margin-top:5px; }
.tp-time { display:flex; flex-wrap:wrap; justify-content:space-between; gap:10px; padding:10px 0; border-top:1px solid #dfd9cf; font-size:14px; }
.tp-date-card>a { display:inline-block; margin-top:18px; font-size:14px; font-weight:800; }
.tp-hub-body { background:#f5f7fb; padding:0 0 32px; }
.tp-facts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; padding:22px 0; margin:0 0 24px; border-bottom:1px solid #d8e0eb; }
.tp-facts>div { padding:0 24px; border-left:1px solid #d8e0eb; }
.tp-facts>div:first-child { border-left:0; padding-left:0; }
.tp-facts strong { display:block; font:700 39px/1.2 Georgia,serif; }
.tp-facts span { display:block; font-size:13px; margin-top:4px; color:#526079; }
.tp-section-heading { margin:38px 0 24px; }
.tp-section-heading h2 { font-size:35px; margin:0 0 12px; }
.tp-section-heading p { margin:0; color:#526079; }
.tp-hub-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:17px; }
.tp-hub-card { display:flex; flex-direction:column; background:#fff; border:1px solid #dce3ed; border-top:4px solid #102d60; padding:24px 21px; text-decoration:none; border-radius:3px; }
.tp-hub-card:hover { color:#102d60; border-color:#ed571d; box-shadow:0 8px 25px #102d6012; }
.tp-card-kicker { color:#a53b15; font-size:10px; }
.tp-hub-card h3 { font:700 27px/1.15 Georgia,serif; margin:20px 0 12px; }
.tp-hub-card p { font-size:14px; color:#46546c; margin:0 0 24px; }
.tp-card-link { margin-top:auto; font-size:12px; font-weight:800; }
.tp-service-strip { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:20px; background:#e8edf5; border-left:4px solid #ed571d; padding:23px 25px; margin:26px 0 20px; }
.tp-service-strip strong { font:700 23px/1.2 Georgia,serif; }
.tp-service-strip p { margin:7px 0 0; font-size:14px; }
.entry-content:has(.tp-election),.page-content:has(.tp-election) { max-width:1100px; }
.tp-tabs { display:flex; flex-wrap:wrap; gap:8px; padding:0 0 22px; margin:0 0 25px; border-bottom:1px solid #d8e0eb; }
.tp-tabs a { display:inline-block; font-size:13px; font-weight:800; padding:9px 14px; border:1px solid #ccd5e2; border-radius:4px; text-decoration:none; color:#102d60; }
.tp-tabs a[aria-current=page] { background:#102d60; border-color:#102d60; color:#fff; }
.tp-tabs a:hover { background:#edf1f7; color:#102d60; }
.tp-intro { border-left:4px solid #ed571d; padding:4px 0 4px 22px; margin:0 0 26px; }
.tp-intro p { margin:0 0 10px; font-size:19px; }
.tp-election p.tp-updated,.tp-election .tp-note { color:#596578; font-size:13px; line-height:1.6; }
.tp-election .tp-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; margin:24px 0 32px; }
.tp-election .tp-card { min-width:0; padding:25px; border:1px solid #d6dfeb; border-top:3px solid #102d60; border-radius:5px; background:#fff; scroll-margin-top:35px; }
.tp-election .tp-card h3 { font:700 25px/1.2 Georgia,serif; margin:16px 0 14px; overflow-wrap:anywhere; }
.tp-election .tp-card p { font-size:15px; margin:12px 0; }
.tp-election .tp-card ul { padding-left:20px; margin:18px 0; }
.tp-election .tp-card li { font-size:15px; margin:0 0 12px; padding-left:2px; }
.tp-number { display:inline-flex; width:42px; height:42px; align-items:center; justify-content:center; background:#102d60; color:#fff; font:800 21px/1 system-ui,sans-serif; border-radius:4px; }
.tp-election .tp-leader { font-weight:750; color:#102d60; }
.tp-election .tp-tag { display:inline-block; padding:5px 9px; background:#edf1f6; color:#40536f; font-size:11px; line-height:1.4; font-weight:750; border-radius:3px; }
.tp-election .tp-panel { padding:24px 27px; margin:22px 0; background:#f1f4f9; border-left:4px solid #c5d1e2; border-radius:3px; }
.tp-election .tp-panel h2 { margin:0 0 15px; font-size:27px; }
.tp-election .tp-panel p:last-child { margin-bottom:0; }
.tp-jumps { display:flex; flex-wrap:wrap; gap:7px; margin:18px 0 26px; }
.tp-jumps a { padding:6px 11px; font-size:13px; text-decoration:none; border:1px solid #d3dce9; border-radius:3px; }
.tp-jumps a:hover { background:#edf1f7; }
.tp-election .tp-faq { border:1px solid #d6dfeb; border-radius:4px; padding:17px 21px; margin:12px 0; background:#fff; }
.tp-election .tp-faq summary { cursor:pointer; font-size:16px; font-weight:800; color:#102d60; line-height:1.5; }
.tp-election .tp-faq[open] { background:#f7f9fc; }
.tp-election .tp-faq p,.tp-election .tp-faq li { font-size:15px; }
.tp-question-list { display:grid; gap:17px; margin:25px 0; }
.tp-question-list .tp-card { position:relative; padding-left:88px; }
.tp-question-list .tp-number { position:absolute; left:24px; top:25px; }
.tp-question-list .tp-card h3 { margin-top:0; }
@media(max-width:1000px) { .tp-hub-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .tp-hero-grid { gap:32px; } }
@media(max-width:700px) { .tp-hero-grid { grid-template-columns:1fr; gap:28px; } .tp-hub-hero { padding:32px 0; } .tp-hub-hero h1 { font-size:57px; } .tp-hub-hero .tp-hero-lead { font-size:18px; } .tp-date-card { padding:23px; } .tp-date-card .tp-date { font-size:52px; } .tp-date-card .tp-date span { display:inline-block; font-size:24px; margin-left:12px; } .tp-election .tp-grid { grid-template-columns:1fr; } .tp-facts>div { padding:0 12px; } .tp-facts strong { font-size:30px; } .tp-facts span { font-size:11px; } .tp-hub-card { padding:21px; } .tp-hub-card h3 { font-size:26px; } .tp-section-heading h2 { font-size:29px; } .tp-election .tp-panel,.tp-election .tp-card { padding:21px; } .tp-question-list .tp-card { padding-left:76px; } .tp-question-list .tp-number { left:19px; top:22px; } .tp-service-strip { padding:20px; } }
@media(max-width:460px) { .tp-hub-grid { grid-template-columns:1fr; } .tp-tabs a { font-size:12px; padding:8px 10px; } .tp-date-card .tp-date span { display:block; margin-left:0; } }

/* Election layout refinements */
.text-page-layout:has(.tp-election) { grid-template-columns:minmax(0,1fr); gap:10px; }
.text-page-content:has(.tp-election) { width:100%; max-width:none; padding:0; }
.text-page-layout:has(.tp-election) .text-page-sidebar { position:static; max-width:none; }
.text-page-layout:has(.tp-election) .text-page-sidebar .rules-card { background:#f4f6fa; }
.tp-election p.tp-intro { font-size:19px; }
.tp-election .tp-facts>p { margin:0; padding:0 20px; border-left:1px solid #d8e0eb; font-size:13px; color:#526079; }
.tp-election .tp-facts>p:first-child { padding-left:0; border-left:0; }
.tp-election .tp-facts>p strong { font:700 27px/1.25 Georgia,serif; color:#102d60; }
.tp-election .tp-facts>p br { display:none; }
.tp-election .tp-card p.tp-number { font:800 21px/1 system-ui,sans-serif; margin:0; color:#fff; }
.tp-election .tp-card .tp-note { font-size:13px; color:#596578; }
.tp-election .tp-card .tp-source { border-top:1px solid #e0e6ee; padding-top:16px; margin-top:22px; font-size:13px; }
.tp-election .tp-grid>.tp-panel { margin:0; }
@media(min-width:1001px) { .tp-election .tp-grid:has(>article[aria-labelledby^="strana-"]) { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:700px) { .tp-election .tp-facts>p { padding:0 10px; font-size:11px; } .tp-election .tp-facts>p strong { font-size:19px; } }
@media(max-width:400px) { .tp-election .tp-facts>p strong { font-size:17px; } }
