/* Vzhled textu článku (aktuality) - sdílené mezi veřejnou stránkou /aktualita a editorem v
   CMS, aby editor vypadal přesně tak, jak článek vypadá na webu (žádný samostatný náhled). */
.article-content {
    color: #000;
}
.article-content h3, .article-content h4 {
    font-weight: 800;
    margin: 32px 0 14px;
}
.article-content h3 { font-size: 1.4rem; }
.article-content h4 { font-size: 1.2rem; text-transform: uppercase; letter-spacing: .5px; }
.article-content p { margin-bottom: 18px; }
.article-content ul, .article-content ol { margin-bottom: 18px; padding-left: 24px; }
.article-content a { color: #000; font-weight: 700; text-decoration: underline; }
.article-content img, .article-content blockquote { max-width: 100%; }
.article-content img { border: 1px solid #000; margin: 10px 0 20px; display: block; }

.info-box {
    background: #eef6fb;
    border-left: 4px solid #126ba0;
    padding: 18px 22px;
    margin: 28px 0;
    border-radius: 4px;
}
.info-box-head {
    font-weight: 800;
    color: #126ba0;
    text-transform: uppercase;
    font-size: .85rem;
    letter-spacing: .5px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.info-box p:last-child { margin-bottom: 0; }

/* Zarovnání odstavců (editor aktualit nesmí ukládat inline styl, ten se při uložení odstraňuje) */
.article-content .ta-center { text-align: center; }
.article-content .ta-right { text-align: right; }
.article-content .ta-justify { text-align: justify; }
.article-content table { width: 100%; border-collapse: collapse; margin: 0 0 20px; }
.article-content th, .article-content td { border: 1px solid #000; padding: 8px 10px; vertical-align: top; }
.article-content th { background: #f5f5f5; font-weight: 800; }
.article-content hr { border: 0; border-top: 2px solid #000; margin: 28px 0; opacity: 1; }
.article-content blockquote { border-left: 4px solid #000; margin: 0 0 18px; padding: 4px 0 4px 18px; font-style: italic; }

/* Varianty textu (editor aktualit): úvodní odstavec, barevné boxy, barvy a zvýraznění z pevné palety, tlačítkový odkaz, obrázek vedle textu */
.article-content .lead-p { font-size: 1.2rem; line-height: 1.6; font-weight: 500; }
.info-box.varovani { background: #fff8e1; border-left-color: #d89600; }
.info-box.varovani .info-box-head { color: #9a6700; }
.info-box.uspech { background: #eefbf1; border-left-color: #1b8a3d; }
.info-box.uspech .info-box-head { color: #1b8a3d; }
.info-box.dulezite { background: #fdeeee; border-left-color: #b92132; }
.info-box.dulezite .info-box-head { color: #b92132; }
.article-content .c-cervena { color: #b92132; }
.article-content .c-modra { color: #126ba0; }
.article-content .c-zelena { color: #1b8a3d; }
.article-content .c-seda { color: #666; }
.article-content .zv-zluta { background: #fff3a3; }
.article-content .zv-modra { background: #d8ecfa; }
.article-content .zv-zelena { background: #d9f2df; }
.article-content .zv-cervena { background: #fbd9dd; }
.article-content a.tlacitko { display: inline-block; background: #000; color: #fff; padding: 12px 25px; text-decoration: none; text-transform: uppercase; font-size: .9rem; font-weight: 700; margin: 4px 0 18px; }
.article-content a.tlacitko:hover { background: #333; color: #fff; }
.article-content .dva-sloupce { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; margin: 0 0 20px; }
.article-content .dva-sloupce img { margin: 0; width: 100%; }
@media (max-width: 600px) { .article-content .dva-sloupce { grid-template-columns: 1fr; } }
