@font-face{font-family: "Source Sans 3"; src: url(fonts/source-sans-3-latin-ext.woff2) format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family: "Source Sans 3"; src: url(fonts/source-sans-3-latin.woff2) format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

*{margin:0;padding:0;}
html{scroll-behavior: smooth;}
/* kdo má v systému vypnutý pohyb, nechce ani plynulé rolování */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior: auto;}
}
body{font-size: 16px; text-align: center;}
img{max-width: 100%; height: auto;}
a img{border:none;}
ul{padding-left: 15px;}
.cl, .cleaner{clear: both;}
input[type="button"],
input[type="submit"],
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
button{-webkit-appearance:none; appearance:none; font-family: inherit; font-size: inherit;}
.fx{transition:all 0.5s ease;}

/* barvy: červená růže #C8202F, vínová #6E1423, tmavě vínový panel #3A0A12, text #1A1A1A, teple šedá #F7F4F2 */

body{font-family: "Source Sans 3", Arial, sans-serif; font-size: 17px; line-height: 1.6; color: #1A1A1A; background: #fff; text-align: left;}
h1, h2, h3, .akt-datum strong, .tab td.cas{font-variant-numeric: lining-nums;}
h1, h2, h3{font-family: Georgia, "Times New Roman", serif; font-weight: normal; color: #6E1423; line-height: 1.2;}
h2{font-size: 34px;}
a{color: #C8202F;}
a:hover{color: #6E1423;}
.o{max-width: 1100px; margin: 0 auto; padding: 0 50px;}

/* tlačítka */
.btn{display: inline-block; padding: 14px 30px; background: #C8202F; color: #fff; text-decoration: none; font-weight: 600; letter-spacing: 0.5px; border-radius: 2px;}
.btn:hover{background: #6E1423; color: #fff;}
.btn-obrys{background: transparent; color: #6E1423; border: 1px solid #6E1423;}
.btn-obrys:hover{background: #6E1423; color: #fff;}

/* levý panel */
.panel{position: fixed; top: 0; left: 0; bottom: 0; width: 300px; box-sizing: border-box; padding: 40px 0 36px; background: #3A0A12; color: #E9D9DB; overflow-y: auto; display: flex; flex-direction: column;}
.panel-logo{display: block; margin: 0 30px 30px; padding: 0 0 34px; border-bottom: 1px solid rgba(255,255,255,0.14);}
.panel-logo img{display: block; width: 240px;}
.panel-logo:hover{opacity: 0.85;}

/* menu */
.menu{list-style: none; padding: 0; flex: 1;}
.menu a, .menu-sub-btn{display: block; width: 100%; box-sizing: border-box; padding: 11px 30px 11px 27px; border: 0; border-left: 3px solid transparent; background: none; color: #E9D9DB; text-decoration: none; text-align: left; font-size: 17px; cursor: pointer;}
.menu a:hover, .menu-sub-btn:hover{color: #fff; background: rgba(255,255,255,0.06);}
.menu a.aktivni{color: #fff; border-left-color: #C8202F; background: rgba(200,32,47,0.16); font-weight: 600;}
.menu-sub-btn{position: relative;}
.menu-sub-btn:after{content: ""; position: absolute; right: 32px; top: 50%; width: 7px; height: 7px; margin-top: -6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 0.3s ease;}
.menu-sub-btn[aria-expanded="true"]:after{transform: rotate(-135deg); margin-top: -2px;}
.sub{display: none; list-style: none; padding: 0 0 8px;}
.menu-sub-btn[aria-expanded="true"] + .sub{display: block;}
.sub a{padding: 7px 30px 7px 47px; font-size: 16px; color: #CDB5B9;}

/* kontakt dole v panelu */
.panel-kontakt{margin: 30px 30px 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.14); font-size: 15px; line-height: 1.7; color: #CDB5B9;}
.panel-kontakt a{color: #fff; text-decoration: none;}
.panel-kontakt a:hover{color: #fff; text-decoration: underline;}

/* projekt EU dole v panelu (kvůli dotaci, co nejnenápadněji) */
.panel-projekt{display: block; margin: 24px 30px 0; padding: 10px 12px 12px; background: #fff; border-radius: 2px; color: #6E1423; text-decoration: none; font-size: 12px; line-height: 1.3;}
.panel-projekt span{display: block; margin-bottom: 6px;}
.panel-projekt img{display: block; width: 100%;}
.panel-projekt:hover{opacity: 0.85;}

/* pravý sloupec */
.obsah{margin-left: 300px;}

/* úvod s fotkou */
.uvod{position: relative; height: 600px; background: #3A0A12 url(images/kostel-uvod.webp) no-repeat 70% top; background-size: cover; display: flex; align-items: center;}
.uvod:before{content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(30,5,10,0.8) 0%, rgba(30,5,10,0.5) 30%, rgba(30,5,10,0) 55%), linear-gradient(to top, rgba(30,5,10,0.35) 0%, rgba(30,5,10,0) 35%);}
.uvod-txt{position: relative; padding: 0 50px; max-width: 760px; color: #fff;}
.uvod-ruze{position: absolute; top: 50px; right: 70px; width: 130px; height: 130px; filter: drop-shadow(0 4px 14px rgba(0,0,0,0.35));}
.uvod h1{font-size: 56px; color: #fff; margin-bottom: 30px;}

/* tři karty přes spodek fotky */
.karty{position: relative; display: flex; gap: 24px; max-width: 1200px; margin: -100px auto 0; padding: 0 50px; box-sizing: border-box;}
.karta{flex: 1; display: flex; flex-direction: column; padding: 32px 30px 28px; background: #fff; border-top: 4px solid #C8202F; box-shadow: 0 12px 40px rgba(58,10,18,0.14);}
.karta h2{font-size: 23px; margin-bottom: 16px;}
.karta-seznam{list-style: none; padding: 0; margin-bottom: 20px; flex: 1;}
.karta-seznam li{padding: 8px 0; border-bottom: 1px solid #EEE6E7; font-size: 16px;}
.karta-seznam li:last-child{border-bottom: 0;}
.karta-seznam strong{display:inline-block;color:#6E1423;margin-right:10px;}
.karta-txt{flex: 1; margin-bottom: 20px; font-size: 16px;}
.karta-ohl-nazev{display: block; margin-bottom: 12px; color: #6E1423; font-weight: 600; text-decoration: none;}
.karta-ohl-nazev:hover{text-decoration: underline;}
.karta-ohl-perex{display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; margin-bottom: 18px;}
.karta .karta-ohl-btn{padding: 12px 22px; color: #fff;}
.karta-vice{font-weight: 600; text-decoration: none; font-size: 16px;}
.karta-vice:after{content: " →";}
.karta-vice:hover{text-decoration: underline;}
.karta-vino{background: #6E1423; border-top-color: #C8202F; color: #F1D3D6;}
.karta-vino h2{color: #fff;}
.karta-vino a{color: #fff;}

/* k rozjímání */
.sekce.sekce-rozjimani{padding-bottom: 0;}
.rozjimani{display: flex; gap: 40px;}
.rozjimani-1{flex: 1; display: block; padding: 30px 34px; background: #F7F4F2; border-left: 4px solid #6E1423; color: #1A1A1A; text-decoration: none;}
.rozjimani-nad{display: block; margin-bottom: 8px; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: #C8202F; font-weight: 600;}
.rozjimani-nadpis{display: block; margin-bottom: 12px; font-family: Georgia, serif; font-size: 26px; color: #6E1423; line-height: 1.25;}
.rozjimani-citat{display: block; margin-bottom: 12px; font-family: Georgia, serif; font-style: italic; font-size: 17px; color: #4A4A4A;}
.rozjimani-autor{display: block; margin-bottom: 18px; font-size: 15px; color: #6B6B6B;}
.rozjimani-pdf{font-weight: 600; color: #C8202F; font-size: 16px;}
.rozjimani-pdf:after{content: " →";}
.rozjimani-1:hover{background: #F1EAE7;}
.rozjimani-1:hover .rozjimani-pdf{text-decoration: underline;}

/* sekce */
.sekce{padding: 90px 0;}
.sekce-seda{background: #F7F4F2;}
.sekce-hlava{display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 36px; padding-bottom: 18px; border-bottom: 1px solid #E5D9DB;}
.sekce-vice{font-weight: 600; text-decoration: none;}
.sekce-vice:after{content: " →";}
.sekce-vice:hover{text-decoration: underline;}

/* aktuality */
.akt{display: flex; gap: 40px;}
.akt-1{flex: 1; display: block; text-decoration: none; color: #1A1A1A;}
.akt-datum{display: block; width: 64px; padding: 8px 0 6px; margin-bottom: 18px; background: #C8202F; color: #fff; text-align: center; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; line-height: 1.2;}
.akt-datum strong{display: block; font-family: Georgia, serif; font-size: 26px; font-weight: normal; letter-spacing: 0;}
.akt-nadpis{display: block; margin-bottom: 10px; font-family: Georgia, serif; font-size: 22px; color: #6E1423; line-height: 1.25;}
.akt-txt{display: block; font-size: 16px; color: #4A4A4A;}
.akt-1:hover .akt-nadpis{color: #C8202F; text-decoration: underline;}

/* o farnosti */
.farnost{display: flex; gap: 60px; align-items: center;}
.farnost-foto{flex: 0 0 38%;}
.farnost-foto img{display: block; width: 100%; height: 440px; object-fit: cover; object-position: center 25%;}
.farnost-txt{flex: 1;}
.farnost-txt h2{margin-bottom: 24px;}

/* fotogalerie */
.galerie{display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;}
.galerie a{display: block; height: 220px; overflow: hidden;}
.galerie img{display: block; width: 100%; height: 100%; object-fit: cover;}
.galerie a:hover{opacity: 0.8;}
.galerie-prazdna{display: flex !important; align-items: center; justify-content: center; background: #F7F4F2; border: 1px dashed #D9C5C8; color: #A08A8E; text-decoration: none; font-size: 15px;}

/* hlavička vnitřní stránky */
.hlava{position: relative; height: 300px; background: #3A0A12 url(images/kostel-2.webp) no-repeat center 35%; background-size: cover; display: flex; align-items: flex-end;}
.hlava:before{content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(30,5,10,0.88) 0%, rgba(30,5,10,0.45) 60%, rgba(30,5,10,0.25) 100%);}
.hlava .o{position: relative; width: 100%; max-width: 1200px; box-sizing: border-box; padding-bottom: 44px;} /* 1200 = obsah 1100 + okraje, ať lícuje s textem pod ním */
.hlava h1{font-size: 46px; color: #fff;}
.drobky{margin-bottom: 12px; font-size: 14px; color: #F1D3D6;}
.drobky a{color: #fff; text-decoration: none;}
.drobky a:hover{text-decoration: underline;}

/* text vnitřní stránky */
.text{display: flex; gap: 60px; align-items: flex-start;}
.text-hlavni{flex: 1;}
.text-hlavni h2{font-size: 28px; margin: 50px 0 20px;}
.text-hlavni h2:first-child{margin-top: 0;}
.text-bok{flex: 0 0 300px; padding: 30px; background: #F7F4F2; border-top: 4px solid #C8202F; box-sizing: border-box;}
.text-bok h3{font-size: 21px; margin-bottom: 14px;}
.text-hlavni ol, .text-hlavni ul{margin: 14px 0 20px; padding-left: 24px;}
.text-hlavni li{margin-bottom: 6px;}
.text-foto{display: block; width: 100%; margin-bottom: 34px;}
.text-foto-pod{height: auto; margin: 34px 0 0;}
.text-znak{float: right; width: 160px; margin: 0 0 20px 30px;}
.text-portret{float: right; width: 220px; margin: 0 0 20px 34px;}
.zdroj{font-size: 15px; color: #6B6B6B;}
.text-hlavni ul.rozcestnik{display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0 0 20px; padding: 0;}
.text-hlavni ul.rozcestnik li{margin: 0;}
.rozcestnik a{display: block; padding: 8px 16px; background: #F7F4F2; border-bottom: 2px solid #C8202F; font-size: 15px; text-decoration: none;}
.rozcestnik a:hover{background: #C8202F; color: #fff;}
.text-hlavni h2[id]{clear: both;}
.kostel-foto{float: right; margin: 6px 0 20px 34px;}
.kostel-foto img{display: block; height: auto;}
.pdf{font-weight: 600;}
.pdf:before{content: "PDF"; display: inline-block; margin-right: 8px; padding: 1px 6px; background: #C8202F; color: #fff; font-size: 11px; letter-spacing: 1px; vertical-align: 2px; border-radius: 2px;}

/* menu podstránek O farnosti a archiv ohlášek v pravém boxu */
.bok-menu{list-style: none; padding: 0;}
.bok-menu li{border-bottom: 1px solid #E5D9DB;}
.bok-menu li:last-child{border-bottom: 0;}
.bok-menu a, .bok-menu span{display: block; padding: 8px 0; text-decoration: none; font-size: 16px;}
.bok-menu span{color: #6E1423; font-weight: 600;}
.bok-menu a:hover{text-decoration: underline;}

/* upozornění na změny bohoslužeb */
.upozorneni{display: flex; align-items: center; gap: 30px; margin-bottom: 50px; padding: 26px 30px; background: #C8202F; color: #fff;}
.upozorneni-txt{flex: 1; font-family: Georgia, serif; font-size: 22px; line-height: 1.35;}
.btn-bila{background: #fff; color: #C8202F; white-space: nowrap;}
.btn-bila:hover{background: #3A0A12; color: #fff;}

/* tabulka bohoslužeb */
.tab{width: 100%; border-collapse: collapse;}
.tab th{padding: 12px 16px; background: #6E1423; color: #fff; font-weight: 600; text-align: left; font-size: 15px; letter-spacing: 0.5px;}
.tab td{padding: 14px 16px; border-bottom: 1px solid #EEE6E7; vertical-align: top;}
.tab tr:nth-child(even) td{background: #FBF9F8;}
.tab td:first-child{font-weight: 600; color: #6E1423; width: 120px;}
.tab td.cas{font-family: Georgia, serif; font-size: 20px; color: #C8202F; width: 90px;}
.tab td.cas-txt{font-family: inherit; font-size: 15px; font-style: italic;}
.tab-pozn{margin-top: 12px; padding: 0 16px; font-size: 16px; font-style: italic; color: #6B6B6B;}

/* ohlášky */
.ohl-svatek{margin: -12px 0 20px; font-family: Georgia, serif; font-style: italic; font-size: 19px; color: #4A4A4A;}
.tab-ohl td:first-child{width: 140px;}
.tab-ohl td:last-child{width: 170px;}
.ohl-cas{display: inline-block; width: 52px; font-family: Georgia, serif; font-size: 18px; color: #C8202F; font-variant-numeric: lining-nums;}
.ohl-bez{color: #A08A8E;}
.ohl-seznam{list-style: none; padding: 0 !important;}
.ohl-seznam li{position: relative; margin-bottom: 16px !important; padding-left: 26px;}
.ohl-seznam li:before{content: ""; position: absolute; left: 4px; top: 10px; width: 8px; height: 8px; background: #C8202F; transform: rotate(45deg);}

/* kontakt */
.kontakt{display: flex; gap: 50px; align-items: flex-start; margin-bottom: 60px;}
.kontakt-txt{flex: 1;}
.kontakt-txt h2{margin-bottom: 20px;}
.kontakt-foto{width: 350px;}
.kontakt-foto img{display: block; width: 350px;}
.foto-autor{margin-top: 6px; font-size: 12px; text-align: right; color: #6B6B6B;}
.foto-autor a{color: #6B6B6B;}
.osoby{display: flex; gap: 30px;}
.osoba{flex: 1; display: flex; gap: 24px; align-items: flex-start; padding: 26px; background: #F7F4F2;}
.osoba img{width: 120px; height: 150px; object-fit: cover; object-position: center top; flex: 0 0 120px;}
.osoba strong{display: block; font-family: Georgia, serif; font-weight: normal; font-size: 21px; color: #6E1423; line-height: 1.25;}
.osoba-role{display: block; margin-bottom: 12px; color: #6B6B6B;}

/* projekt EU */
.projekt-logo{display: block; width: 480px; margin-bottom: 40px;}

/* patička */
.pata{padding: 50px 0; background: #2A070D; color: #CDB5B9; font-size: 16px;}
.pata strong{color: #fff; font-family: Georgia, serif; font-weight: normal; font-size: 19px;}
.pata a{color: #fff; text-decoration: none;}
.pata a:hover{text-decoration: underline;}
.pata-1{float: left;}
.pata-2{float: right; text-align: right;}
.copy{padding: 18px 0; background: #1F050A; color: #9C8286; font-size: 14px;}
.copy-left{float: left; line-height: 24px;}
.copy-right{float: right;}
/* podpis TVORBA WEBU + logo je o 10 % menší než copyright vlevo */
.copy-right a{color: #9C8286; text-decoration: none; display: flex; align-items: center; gap: 8px; line-height: 24px; font-size: 0.9em;}
.copy-right a:hover{color: #fff;}
.copy-right img{height: 1.43em; width: auto;}

/* global: pravidla redakčního systému (administrace a podstránky), převzatá z jeho výchozího style.css */
body .gallery .empty-list{display: none;}
body.user-logged .gallery .empty-list{display: block;}

.dev-component{display: inline-block;}
.dev-component component-admin-hover{z-index:10;}
.mce-content-body {background: #fff !important;}
.mce-content-body a{color:#000;}

body.page-home .navigace{display: none;}

.dynamic-page .dev-html-block a{color:#000;}
.dynamic-page .dev-html-block table{border-collapse:collapse; width: 100%;}
.dynamic-page .dev-html-block table td{padding:6px; border:1px solid #dedede;}
.dynamic-page .dynamic-page-block .dev-html-block{margin-bottom: 80px;}
.dynamic-page .dynamic-page-block:last-child .dev-html-block{margin-bottom: 0px;}

/* global: zákaz editace řádků pro admina */
body .dynamic-page-block .add-line,
body .remove-line-icon,
body .dev-component .article-detail component-menu{display: none;}
body.sysadmin-logged .dynamic-page-block .add-line,
body.sysadmin-logged .remove-line-icon,
body.sysadmin-logged .dev-component .article-detail component-menu{display: block;}

/* redakční sekce s články (Aktuality): stavbu HTML určuje systém, mění se jen vzhled */
.dynamic-page .dev-component{display: block;}
/* záhlaví s drobečky skládá layout (stejné jako na ostatních podstránkách), systémový nadpis se proto skrývá */
.hlava ~ .dynamic-page .dynamic-page-head{display: none;}
.hlava .hlava-nadpis{font-family: Georgia, "Times New Roman", serif; font-size: 46px; line-height: 1.2; color: #fff;}
/* obal .page-item má jen přihlášený správce, návštěvník ne – okraje proto drží blok sám */
.dynamic-page-block{max-width: 1200px; margin: 0 auto; padding-left: 50px; padding-right: 50px; box-sizing: border-box;}
.dynamic-page-block-PageHtmlBlock{padding-top: 70px;}
.dynamic-page .dynamic-page-block-PageHtmlBlock .dev-html-block{margin-bottom: 40px;}
.dynamic-page .dynamic-page-block-PageHtmlBlock .dev-html-block a{color: #C8202F;}
.dynamic-page-block-Articles{padding-bottom: 90px;}
/* obsah nejde přes celou šířku, drží sloupec jako text na ostatních podstránkách (1100 - mezera 60 - boční box 300) */
.dynamic-page-block > .dev-component, .dynamic-page-block > .page-item > .dev-component{max-width: 740px;}
/* výpis článků využívá celou šířku obsahu, aby se vešly tři karty vedle sebe */
.dynamic-page-block.dynamic-page-block-Articles > .dev-component, .dynamic-page-block.dynamic-page-block-Articles > .page-item > .dev-component{max-width: none;}

/* výpis článků: karty ve třech sloupcích */
.dynamic-page .article-items{display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;}
.dynamic-page .article-item{display: flex; flex-direction: column; padding: 28px 28px 24px; background: #F7F4F2; border-top: 4px solid #C8202F;}
.dynamic-page .article-item .cl{display: none;}
.dynamic-page .article-left{order: 1; margin-bottom: 18px;}
.dynamic-page .article-left img{display: block; width: 100%; height: 200px; object-fit: cover;}
.dynamic-page .article-right{display: contents;}
/* datum je v HTML až za odkazem a systém ho skrývá stylem přímo v HTML, proto !important */
.dynamic-page .article-item .creation-date{display: block !important; order: 2; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: #C8202F; letter-spacing: 0.5px;}
.dynamic-page .article-item .title{order: 3; margin-bottom: 10px; font-family: Georgia, serif; font-size: 22px; line-height: 1.25; font-variant-numeric: lining-nums;}
.dynamic-page .article-item .title a{color: #6E1423; text-decoration: none;}
.dynamic-page .article-item .title a:hover{color: #C8202F; text-decoration: underline;}
.dynamic-page .article-item .perex{order: 4; flex: 1; margin-bottom: 18px; font-size: 16px; color: #4A4A4A;}
.dynamic-page .article-more{order: 5; align-self: flex-start; font-size: 16px; font-weight: 600; text-decoration: none;}
.dynamic-page .article-more .dev-component{display: inline-block;}
.dynamic-page-block-Articles .pagination, .dynamic-page-block-Gallery .pagination{display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 44px; padding: 0;}
.dynamic-page-block-Articles .pagination .page-stats, .dynamic-page-block-Gallery .pagination .page-stats{font-size: 14px; color: #4A4A4A;}
.dynamic-page-block-Articles .pagination .page-items, .dynamic-page-block-Gallery .pagination .page-items{display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;}
.dynamic-page-block-Articles .pagination .page-item a, .dynamic-page-block-Gallery .pagination .page-item a{display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; height: 44px; padding: 0 14px; box-sizing: border-box; background: #F7F4F2; white-space: nowrap; text-decoration: none;}
.dynamic-page-block-Articles .pagination .page-item a:hover, .dynamic-page-block-Gallery .pagination .page-item a:hover{background: #EDE5E2;}
.dynamic-page-block-Articles .pagination .page-item.disabled a, .dynamic-page-block-Gallery .pagination .page-item.disabled a{opacity: 0.4; pointer-events: none;}
.dynamic-page-block-Articles .pagination .page-item.current a, .dynamic-page-block-Gallery .pagination .page-item.current a{opacity: 1; background: #C8202F; color: #fff;}

/* detail článku */
.dynamic-page-block-ArticleDetail{padding-top: 70px; padding-bottom: 40px;}
.dynamic-page .article-detail h1{margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid #E5D9DB; font-size: 40px;}
.dynamic-page .article-detail .perex{margin-bottom: 22px; font-size: 19px; color: #4A4A4A;}
/* systém dává textu článku třídu „text“, stejnou jako má rozvržení podstránek */
.dynamic-page .article-detail .text{display: block;}
.dynamic-page .article-detail .perex p, .dynamic-page .article-detail .text p{margin-bottom: 16px;}
.dynamic-page .article-detail .text ul, .dynamic-page .article-detail .text ol{margin: 0 0 16px; padding-left: 24px;}
.dynamic-page .article-detail a.fb-share{display: inline-block; margin: 14px 0 0; text-decoration: none;}
.dynamic-page .article-detail a.article-back{display: block; font-weight: 600; text-decoration: none;}
.dynamic-page .article-detail a.article-back .dev-component{display: inline-block;}
.dynamic-page-block-Gallery{padding-bottom: 70px;}

/* tři nejnovější aktuality na úvodu: obaly systému nesmí rozbit sloupce */
.akt .dev-component, .akt .articles, .akt .article-items, .galerie .dev-component, .galerie .articles, .galerie .article-items{display: contents;}
.akt component-hover, .galerie component-hover{position: absolute;} /* lišta správce nesmí zabrat první sloupec */

/* alba na úvodu: titulní fotka s názvem přes spodek */
.galerie a.album{position: relative; background: #3A0A12;}
.album-nazev{position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px; background: linear-gradient(to top, rgba(30,5,10,0.9), rgba(30,5,10,0)); color: #fff; font-family: Georgia, serif; font-size: 17px; line-height: 1.3; font-variant-numeric: lining-nums;}

/* fotogalerie: výpis alb a fotky v albu */
.page-fotogalerie .article-left img{height: 220px;}
.page-fotogalerie_article-detail .article-detail-content > .image{display: none;}
.page-fotogalerie_article-detail .dynamic-page-block-ArticleDetail{padding-bottom: 20px;}
.dynamic-page-block.dynamic-page-block-Gallery > .dev-component, .dynamic-page-block.dynamic-page-block-Gallery > .page-item > .dev-component{max-width: none;}
.dynamic-page .gallery-items{display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;}
.dynamic-page .gallery-item .cl, .dynamic-page .gallery-item .title:empty{display: none;}
.dynamic-page .gallery-item a{display: block; height: 200px; overflow: hidden;}
.dynamic-page .gallery-item a:hover{opacity: 0.8;}
.dynamic-page .gallery-item picture, .dynamic-page .gallery-item img{display: block; width: 100%; height: 100%; object-fit: cover;}
.dynamic-page .gallery-item .title{display: none;}

/* titulní fotka v detailu aktuality */
.dynamic-page .article-detail-content > .image{float: right; width: 300px; max-width: 45%; margin: 0 0 20px 30px;}
.dynamic-page .article-detail-content > .image img{display: block; width: 100%;}


/* detail článku */
a.article-back{background-color: #C8202F; color:#fff; padding:8px 16px; display: inline-block; margin-top: 20px; width: 80px; text-align: center;}
.page-aktuality_article-detail .dynamic-page-block-Gallery,
.page-fotogalerie_article-detail .dynamic-page-block-Gallery{margin-top: 50px;}
.slbCaption{display: none;}

/* karta ohlášek na úvodu: obaly systému nesmí rozbít kartu */
.karta .dev-component, .karta .articles, .karta .article-items{display: contents;}
.karta component-hover{position: absolute;}

/* text ohlášek v detailu a odkazy na PDF vložené v editoru */
.dynamic-page .article-detail .text h2{margin: 34px 0 18px; font-size: 26px;}
.dynamic-page .article-detail a[href$=".pdf" i]{font-weight: 600;}
.dynamic-page .article-detail a[href$=".pdf" i]:before{content: "PDF"; display: inline-block; margin-right: 8px; padding: 1px 6px; background: #C8202F; color: #fff; font-size: 11px; letter-spacing: 1px; vertical-align: 2px; border-radius: 2px;}
.dynamic-page .article-detail .text ul.ohl-seznam{padding-left: 0;}
.dynamic-page .article-detail .text .tab{margin-bottom: 16px;}
.dynamic-page .article-detail .text .tab p{margin: 0;}

/* náhled stránek PDF v detailu ohlášek (skript ohlasky-pdf.js) */
.pdf-nahled{margin: 20px 0 30px;}
.dynamic-page .article-detail a.pdf-strana{display: block; margin-bottom: 20px; border: 1px solid #E3DCD8; box-shadow: 0 4px 18px rgba(0,0,0,0.08);}
.dynamic-page .article-detail a.pdf-strana:before{content: none;}
.pdf-strana canvas{display: block; width: 100%; height: auto;}


.pdf-nahled{border:1px solid #dedede;}

.karta-txt .btn {
	padding: 8px 24px;
	margin-top: 30px;
}

/* vyskakovací okno (systémový popup) */
.pop-component{position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 1000; display: flex; padding: 20px; box-sizing: border-box; overflow-y: auto; background: rgba(42,7,13,0.78);}
.pop-component .pop-obsah{position: relative; width: 100%; max-width: 520px; margin: auto; background: #fff; border-top: 6px solid #C8202F; box-shadow: 0 20px 60px rgba(0,0,0,0.35); text-align: center;}
.pop-component .pop-obsah img{display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 180px); max-height: calc(100dvh - 180px); margin: 0 auto 12px;}
.pop-component .pop-odsazeni:has(img){padding: 16px 16px 24px;}
.pop-component .pop-odsazeni{padding: 44px 44px 40px;}
.pop-component .p-txt h2{margin: 0 0 18px; padding-bottom: 18px; border-bottom: 1px solid #E5D9DB; font-size: 30px; font-variant-numeric: lining-nums;}
.pop-component .p-txt p{margin: 0 0 16px;}
.pop-component .p-txt a{color: #C8202F; font-weight: 600;}
.pop-component .p-btn{display: inline-block; min-height: 48px; margin-top: 12px; padding: 12px 34px; border: 0; border-radius: 2px; background: #C8202F; color: #fff; font-weight: 600; letter-spacing: 0.5px; cursor: pointer;}
.pop-component .p-btn:hover, .pop-component .p-btn:focus-visible{background: #6E1423;}
.pop-component .pop-odsazeni:has(img) .p-btn{margin-top: 0;}

.popup-admin{margin:20px; margin-top: 0;}
.popup-admin button{border:none;cursor:pointer;background-color:#3a0a12;color:#fff;padding:6px 10px;font-size:13px;text-transform:uppercase;margin-right:5px;}
