@charset "UTF-8";
body {margin :0px; padding: 0px;font-family: Arial, Helvetica, sans-serif;}
p {width: 100%; margin: 0px; padding: 10px 0px;text-align: justify;font-size: 17px; line-height: 1.6;}
strong {font-size: 17px; line-height: 1.6}
em {font-size: 17px; line-height: 1.6;}

h1 {font-size: 30px; font-weight: 700; line-height: 1.15; margin: 12px 0 12px 0;border-bottom: 2px solid black}
h2 {font-size: 17px; font-weight: bold; line-height: 1.6; margin: 0;}

.mainblog { max-width: 1000px; margin: 0px auto; padding: 0px 10px; } 
.topbanner {position: relative; max-width: 1000px; height: 180px; overflow: hidden; margin: 0px auto; padding: 0px 0px; border-top: 2px solid black;border-bottom: 2px solid black;} 
.topbanner img {display: block; width: 100%; height: 100%; object-fit: cover; filter: brightness(60%);} 
.topbanner_text1 {width: 100%; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: white;} 
.topbanner_text2 {width: 100%; position: absolute; left: 50%; top: 10%; transform: translate(-50%, -50%); color: white;} 
.topbanner_text3 {width: 100%; position: absolute; left: 50%; top: 82%; transform: translate(-50%, -50%); color: white;} 
.topbanner_text4 {width: 100%; position: absolute; left: 50%; top: 94%; transform: translate(-50%, -50%); color: white;} 
.topbanner_text1 p {font-size: 46px; text-align: center; font-weight: 700;}
.topbanner_text2 p, .topbanner_text3 p, .topbanner_text4 p  {font-size: 14px; text-align: center; font-weight: 500;}

.bottombanner {max-width: 1000px; margin: 0px auto; padding: 0px 10px; display: grid; grid-template-columns: 1fr 160px; gap: 10px; align-items: start;} 
.bottombanner img {display: block; width: 100%; height: 100%; object-fit: cover;} 

.goback {display: block; width: 100%; height: 100%; text-align: right} 

.navigace {max-width: 1000px; margin: 0px auto; padding: 0px 10px 20px 10px; display: grid; grid-template-columns: 110px 1fr 160px; gap: 10px; align-items: start;} 
.navigace p, .bottombanner p {font-size: 14px; text-align: left; padding:0px; margin: 0px; color: #555;} 
.navigace a, .bottombanner a, .goback a {font-size: 14px; padding:0px 6px; margin: 0px; color: black; background: #ddd; text-decoration: none;} 
.navigace a:hover, .bottombanner a:hover {text-decoration: underline;}

a.image-link {display: block; padding: 0; margin: 0; background: none; border: none; outline: none; text-decoration: none; line-height: 0;}

/* ===================================================== GALERIE ===================================================== */ 
.gallery4 { max-width: 100%; margin: 0px auto; padding: 2px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; } 
.gallery3 { max-width: 100%; margin: 0px auto; padding: 2px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; } 
.gallery2 { max-width: 100%; margin: 0px auto; padding: 2px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; } 
.gallery1 { max-width: 85%; margin: 0px auto; padding: 2px; display: grid; grid-template-columns: repeat(1, 1fr); gap: 4px; } 
.gallery-item, .gallery-no-item { position: relative; overflow: hidden; cursor: pointer; aspect-ratio: 4 / 3; background: #ddd; } 
.gallery1 .gallery-item { position: relative; overflow: hidden; cursor: pointer; aspect-ratio: 16 / 9; background: #ddd; } 

.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease, filter .35s ease; } 
.gallery-item:hover img { transform: scale(1.06); filter: brightness(.85); } 
.label { position: absolute; bottom: 5px; ; margin: 0px; padding: 0px;text-align: center; font-size: 12px; line-height: 1.0;background: gray; color: white}

/* ===================================================== LIGHTBOX ===================================================== */ 
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.94); z-index: 10000; display: none; align-items: center; justify-content: center; touch-action: none; } 
.lightbox.active { display: flex; } 
/* ===================================================== HLAVNÍ FOTOGRAFIE ===================================================== */ 
.lightbox-image { max-width: 88vw; max-height: 78vh; object-fit: contain; user-select: none; transition: opacity .2s ease; } 
/* ===================================================== ZAVŘÍT ===================================================== */ 
.lightbox-close { position: absolute; top: 20px; right: 30px; color: white; font-size: 42px; line-height: 1; cursor: pointer; z-index: 10002; opacity: .9; transition: opacity .2s; } 
.lightbox-close:hover { opacity: .5; } 
/* ===================================================== ŠIPKY ===================================================== */ 
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); color: white; font-size: 55px; cursor: pointer; user-select: none; padding: 25px; z-index: 10002; opacity: .8; transition: opacity .2s; } 
.lightbox-prev:hover, .lightbox-next:hover { opacity: .4; } 
.lightbox-prev { left: 5px; } 
.lightbox-next { right: 5px; } 
/* ===================================================== POPISEK ===================================================== */ 
.lightbox-caption { position: absolute; left: 50%; bottom: 70px; transform: translateX(-50%); color: white; font-size: 16px; text-align: center; max-width: 80%; line-height: 1.5; text-shadow: 0 1px 4px black; } 
/* ===================================================== POČÍTADLO ===================================================== */ 
.lightbox-counter { position: absolute; top: 25px; left: 30px; color: white; font-size: 15px; opacity: .8; } 
/* ===================================================== MINIATURY ===================================================== */ 
.lightbox-thumbs { position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; max-width: 80vw; overflow-x: auto; padding: 5px; } 
.lightbox-thumbs img { width: 65px; height: 45px; object-fit: cover; cursor: pointer; opacity: .45; border: 2px solid transparent; transition: opacity .2s, border .2s; } 
.lightbox-thumbs img:hover { opacity: .8; } 
.lightbox-thumbs img.active { opacity: 1; border-color: white; } 

/* ===================================================== MOBIL ===================================================== */ 
@media (max-width: 800px) { 
h1 {font-size: 28px;}
.gallery4 { grid-template-columns: repeat(2, 1fr);} 
.gallery3 { grid-template-columns: repeat(1, 1fr);  } 
.gallery2 { max-width: 100%; grid-template-columns: repeat(2, 1fr);  } 
.gallery1 { max-width: 100%; grid-template-columns: repeat(1, 1fr);  } 
.gallery1 .gallery-item { position: relative; overflow: hidden; cursor: pointer; aspect-ratio: 4 / 3; background: #ddd; } 

.lightbox-image { max-width: 96vw; max-height: 75vh; } 
.lightbox-prev, .lightbox-next { font-size: 40px; padding: 15px; } 
.lightbox-thumbs img { width: 55px; height: 40px; } 
.lightbox-caption { bottom: 65px; font-size: 14px; }  
.topbanner_text1 p {font-size: 36px;}
.topbanner_text2 p, .topbanner_text3 p, .topbanner_text4 p  {font-size: 14px;}
.bottombanner {grid-template-columns: 1fr 120px;} 
}

@media (max-width: 600px) { 
p {text-align: left;}
h1 {font-size: 26px;}
.gallery4 { grid-template-columns: repeat(1, 1fr);  } 
.gallery3 { grid-template-columns: repeat(1, 1fr);  } 
.gallery2 { max-width: 100%; grid-template-columns: repeat(1, 1fr);  } 
.gallery1 { max-width: 100%; grid-template-columns: repeat(1, 1fr);  } 
.gallery1 .gallery-item { position: relative; overflow: hidden; cursor: pointer; aspect-ratio: 4 / 3; background: #ddd; } 
.label {  font-size: 14px; }
.topbanner_text1 p {font-size: 28px;}
.topbanner_text2 p, .topbanner_text3 p, .topbanner_text4 p {font-size: 12px;}

.navigace {display:block;text-align: right;} 
.bottombanner {grid-template-columns: 1fr 100px;} 
} 
