* {
	margin: 0;
	padding: 0;
	text-decoration: none;
}
body {
	background: #f1f4f7;
	font-family: system-ui, Arial, sans-serif;
	line-height: 1.5;
}
#wrapper {
	max-width: 1000px;
	margin: 0 auto 50px auto;
	padding: 0 8px;
	display: grid;
	grid-template-columns: 198px minmax(0, 1fr);
	gap: 0 10px;
}
#site_title {
	background: #fafafa;
	text-align: center;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
	padding: 5px 0;
}
#site_title a {
	display: block;
}
h1 {
	text-align: center;
	font-size: 2em;
	color: #2a6fab;
}
h2 {
	width: 95%;
	text-align: center;
	margin: 10px auto;
	color: #2a6fab;
	font-size: 1.4em;
}
.column {
	margin-top: 10px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
	overflow: hidden;
}
#column_right {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 180px;
}
#menu ul {
	list-style-type: none;
}
#menu ul li a {
	display: block;
	padding: 2px 5px;
	font-size: 0.9em;
	border-bottom: 1px dotted #dfdfdf;
}
#menu ul li a:hover {
	background: #eaf2fa;
}
#menu summary {
	display: none;
	background: #2a6fab;
	color: #fff;
	font-weight: 600;
	text-align: center;
	padding: 6px;
	cursor: pointer;
	list-style: none;
}
a {
	color: #2a6fab;
}
a:hover {
	color: #d63f38;
}
#menu #active {
	color: #d63f38;
	background: #eaf2fa;
}
.menu_title {
	color: #2a6fab;
	padding: 10px 5px 4px;
	font-size: .8em;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	border-bottom: 2px solid #cfe0f1;
}
#content_main {
	padding: 0 10px;
	overflow-wrap: anywhere;
}
#column_left {
	align-self: start;
}
#content_side img {
	height: auto;
}
#content_side iframe {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	border: 0;
}
#content_side {
	padding: 0 6px;
	text-align: center;
	border-left: 1px dotted #dedede;
	overflow: hidden;
}
.recommended {
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px dotted #eee;
	font-size: 0.9em;
}
.recommended a {
	display: block;
}

.entry {
	margin-bottom: 25px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
	overflow: hidden;
}
.entry header {
	line-height: 1.3;
	font-size: 1.3em;
	margin-bottom: 10px;
	padding: 8px 10px 6px;
	border-bottom: 2px solid #cfe0f1;
}
.entry header a {
	color: #2a6fab;
	font-weight: 600;
}
.entry header a:hover {
	color: #d63f38;
}
.entry .content {
	padding: 0 10px;
}
.entry .footer {
	font-size: 0.8em;
	color: #666;
	margin: 2px 5px;
	text-align: right;
}
.entry .photo {
	margin: 0;
}
.entry .photos {
	height: auto;
}

#paginator {
	text-align: center;
	margin: 10px 0;
}

.fadein {
	position: relative;
	display: block;
	width: 50%;
	aspect-ratio: 265 / 155;
	background: #fff;
}
.fadein1 img,
.fadein2 img {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/* slideshow bez JS: 4 obrazy, cykl 20 s, zmiana co 5 s */
.fadein img { opacity: 0; animation: ss 20s infinite; }
.fadein img:nth-child(1) { animation-delay: 0s }
.fadein img:nth-child(2) { animation-delay: -15s }
.fadein img:nth-child(3) { animation-delay: -10s }
.fadein img:nth-child(4) { animation-delay: -5s }
@keyframes ss { 0% { opacity: 1 } 20% { opacity: 1 } 25% { opacity: 0 } 95% { opacity: 0 } 100% { opacity: 1 } }
.slides {
	margin: 10px auto;
	box-shadow: 0 0 2px #ccc;
	display: flex;
	overflow: hidden;
}

.date {
	text-align: right;
	color: #666;
	font-size: 0.8em;
	margin: 3px 0 20px 0;
}
.title {
	text-align: center;
	color: #2a6fab;
	font-size: 1.5em;
	line-height: 1.3;
	border-bottom: 1px dotted #eee;
	margin-top: 10px;
	padding-bottom: 10px;
}
.text {
	margin: 0 5px;
}
.footer {
	margin: 20px auto 25px;
	text-align: center;
}

#photos {
	margin: 10px auto;
	text-align: center;
	width: 500px;
}
.photos {
	margin: 15px auto;
	text-align: center;
}
.photo {
	display: inline-block;
	width: 150px;
	height: 150px;
	line-height: 147px;
	border: 1px solid #ddd;
	border-radius: 6px;
	overflow: hidden;
	margin: 3px;
	padding: 1px;
	transition: transform .15s;
}
.photo:hover {
	background: #f5f5f5;
	transform: scale(1.04);
}
.photo img {
	vertical-align: middle;
}

img, iframe { max-width: 100%; }
#site_footer {
	max-width: 1000px;
	margin: 10px auto;
	padding: 8px;
	text-align: center;
	font-size: .85em;
}
@media (max-width: 800px) {
	#wrapper, #column_right { display: block; }
	#column_left > img { display: none !important; }
	#menu summary { display: block; }
	#content_side { border-left: 0; border-top: 1px dotted #dedede; padding: 10px; }
	#content_main { padding: 0 8px; }
	.fadein2 { display: none; }
	.fadein { width: 100%; }
	#menu a, #paginator a { padding-top: 6px; padding-bottom: 6px; }
}
