/* Vnitrni hrad — layout, animace havete, prechody */

.vh-wrap {
    display: flex;
    gap: 34px;
    align-items: flex-start;
    background: #fff; /* plnobarevny blok pod textem na teckach */
    padding: 20px 0;
}

.vh-col-left { flex: 0 0 24%; }
.vh-col-hrad { flex: 1 1 52%; min-width: 0; }
.vh-col-right { flex: 0 0 24%; }

.vh-svg { width: 100%; height: auto; display: block; }

/* ---- texty ---- */
.vh-icon { margin-bottom: 10px; }
.vh-nazev {
    font-family: 'Novela Poster', 'Abril Fatface', serif;
    font-weight: 400;
    font-size: 34px;
    line-height: 1.1;
    margin: 0 0 14px;
}
.vh-cislo { color: #C83E4D; }
.vh-popis { font-size: 15px; line-height: 1.6; }
.vh-specifika { font-size: 15px; line-height: 1.6; color: #111111; }
/* zvyrazneni v textech komnat — aby se dal text prelet ocima */
.vh-popis strong, .vh-specifika strong { font-weight: 700; color: #111; }
html.mh-dark .vh-popis strong, html.mh-dark .vh-specifika strong { color: #fff; }
.vh-popis u, .vh-specifika u {
    text-decoration: underline;
    text-decoration-color: rgba(200, 62, 77, .55);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}
.vh-specifika ul { padding-left: 18px; margin: 10px 0 0; }

.vh-col-left, .vh-col-right {
    transition: opacity .16s ease;
}
.vh-fade { opacity: 0; }

.vh-citaty blockquote {
    font-style: italic;
    font-size: 14.5px;
    line-height: 1.65;
    color: #111111;
    margin: 0 0 18px;
    padding: 0;
    border: 0;
}
.vh-citaty cite {
    display: block;
    margin-top: 8px;
    font-style: normal;
    font-size: 13.5px;
    color: #55524d;
}

/* ---- legenda pod hradem ---- */
.vh-legenda {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    justify-content: center;
    margin-top: 6px;
    font-size: 13.5px;
}
.vh-sym { display: inline-block; width: 10px; height: 10px; background: #111; vertical-align: baseline; margin-right: 4px; }
.vh-sym-kruh { border-radius: 50%; }
.vh-sym-troj { background: none; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 10px solid #111; }

/* ---- interakce v SVG ---- */
.vh-hit { cursor: pointer; }
.vh-badge { cursor: pointer; }
.vh-reset { cursor: default; }

.vh-kruh, .vh-zona, .vh-duse { transition: all .45s ease; }
.vh-kruh.vh-aktiv { stroke-width: 5; }
.vh-zona.vh-aktiv { filter: brightness(.96); }
.vh-badge.vh-aktiv circle { fill: #111; }
.vh-badge.vh-aktiv text { fill: #fff; }
.vh-badge circle, .vh-badge text { transition: all .25s ease; }

/* ---- havet: jemne vrteni + viditelnost dle stavu ---- */
@keyframes vh-vrteni {
    0%   { transform: translate(var(--tx, 0), var(--ty, 0)) rotate(0deg); }
    25%  { transform: translate(var(--tx, 0), var(--ty, 0)) translate(1.4px, -1px) rotate(7deg); }
    50%  { transform: translate(var(--tx, 0), var(--ty, 0)) translate(-1px, 1.2px) rotate(-6deg); }
    75%  { transform: translate(var(--tx, 0), var(--ty, 0)) translate(1px, .8px) rotate(4deg); }
    100% { transform: translate(var(--tx, 0), var(--ty, 0)) rotate(0deg); }
}
.vh-havet > * , .vh-duse-havet > g > * {
    animation: vh-vrteni 2.2s ease-in-out infinite;
    animation-delay: inherit;
    transform-box: fill-box;
    transform-origin: center;
}
.vh-havet { transition: opacity .4s ease; }

/* viditelnost zon havete podle stavu (data-stav na wrapperu) */
.vh-havet-in1, .vh-havet-in4 { opacity: 0; }
.vh-wrap[data-stav="1"] .vh-havet-in1,
.vh-wrap[data-stav="2"] .vh-havet-in1,
.vh-wrap[data-stav="3"] .vh-havet-in1 { opacity: 1; }
.vh-wrap[data-stav="4"] .vh-havet-in4,
.vh-wrap[data-stav="5"] .vh-havet-in4,
.vh-wrap[data-stav="6"] .vh-havet-in4 { opacity: .8; }

/* havet prilepena na dusi — odpadava s postupem dovnitr */
.vh-duse-havet g { transition: opacity .4s ease; }
.vh-wrap[data-stav="1"] .vh-duse-havet g:nth-child(3),
.vh-wrap[data-stav="2"] .vh-duse-havet g:nth-child(3),
.vh-wrap[data-stav="2"] .vh-duse-havet g:nth-child(2) { opacity: 0; }
.vh-wrap:not([data-stav="0"]):not([data-stav="1"]):not([data-stav="2"]) .vh-duse-havet g { opacity: 0; }

/* popisek duse jen v predhradi */
.vh-duse-popisek { transition: opacity .3s ease; }
.vh-wrap:not([data-stav="0"]) .vh-duse-popisek { opacity: 0; }

/* ---- responsivita ---- */
@media (max-width: 1024px) {
    .vh-wrap { flex-direction: column; }
    .vh-col-left, .vh-col-hrad, .vh-col-right { flex: 1 1 auto; width: 100%; }
    .vh-col-hrad { order: 1; }
    .vh-col-left { order: 2; }
    .vh-col-right { order: 3; }
}

/* citace vrstvy pod textem v levem sloupci */
.vh-col-left .vh-citaty { margin-top: 20px; padding-top: 14px; border-top: 1px solid #e3e0da; }

/* Cesty poutniku — chips v horni casti praveho sloupce */
.vh-autori {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0 0 16px;
}
.vh-autori-nazev {
    font-size: 11px;
    letter-spacing: .12em;
    color: #6E6E6E;
    background: #fff;
    padding: 2px 8px;
}
.vh-autori-pozn {
    flex-basis: 100%;
    font-size: 12px;
    color: #55524d;
    background: #fff;
    display: inline-block;
    padding: 1px 6px;
    margin-top: 2px;
}
.vh-faze { cursor: pointer; }
.vh-faze circle { transition: r .15s ease; }
.vh-faze:hover circle:first-child { r: 20; }
.vh-cesta-info {
    border-top: 3px solid #EAB43B; /* zluta cara */
    background: #fff;
    padding: 10px 12px 12px;
    margin-bottom: 14px;
}
.vh-cesta-autor {
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #55524d;
}
.vh-cesta-vek {
    font-family: 'Novela Poster', Georgia, serif;
    font-weight: 900;
    font-size: 19px;
    margin: 3px 0 6px;
}
.vh-cesta-popis { font-size: 14.5px; line-height: 1.6; }
.vh-cesta-zdroj { font-size: 12px; color: #55524d; margin-top: 6px; }
html.mh-dark .vh-cesta-info { background: #131313; }
html.mh-dark .vh-autori-nazev, html.mh-dark .vh-autori-pozn { background: #131313; }

/* bublina s komentarem u bodu grafu (jen pri vyfiltrovane jedne ceste) */
.vh-graf-tip {
    position: fixed;
    z-index: 60;
    width: 320px;
    max-width: calc(100vw - 24px);
    background: #fff;
    border-top: 3px solid #EAB43B;
    box-shadow: 0 6px 26px rgba(0, 0, 0, .18);
    padding: 10px 13px 12px;
    pointer-events: none;
}
.vh-graf-tip .vh-cesta-popis { margin-top: 2px; }
html.mh-dark .vh-graf-tip { background: #131313; }
.vh-graf-bod { cursor: pointer; }

/* ---- graf cest poutniku ---- */
.vh-graf { background: #fff; padding: 14px 16px 10px; }
.vh-graf-svg { width: 100%; height: auto; display: block; }
.vh-graf-svg text { font-family: 'Urban Grotesk', -apple-system, sans-serif; }
.vh-graf-cara path, .vh-graf-cara circle { transition: opacity .18s ease; }
.vh-graf.je-vyber .vh-graf-cara { opacity: .12; }
.vh-graf.je-vyber .vh-graf-cara.je-aktiv { opacity: 1; }
.vh-graf-cara { transition: opacity .18s ease; }
.vh-graf-legenda { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
button.vh-graf-leg {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    width: auto !important;
    min-width: 0 !important;
    background: #fff !important;
    border: 1.4px solid #111111 !important;
    border-radius: 999px !important;
    padding: 5px 13px !important;
    margin: 0 !important;
    font-family: 'Urban Grotesk', sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 400;
    color: #111111 !important;
    cursor: pointer;
    line-height: 1.2;
    transition: background .15s ease, color .15s ease;
}
button.vh-graf-leg i { display: inline-block; width: 14px; height: 4px; border-radius: 2px; flex: 0 0 auto; }
button.vh-graf-leg:hover { background: #f4f1ec !important; }
button.vh-graf-leg.je-aktiv { background: #111111 !important; color: #fff !important; font-weight: 700; }
.vh-graf-pozn { font-size: 13.5px; color: #55524d; margin: 10px 0 0; }
html.mh-dark .vh-graf { background: #131313; }
html.mh-dark button.vh-graf-leg { color: #d6d6d6 !important; }
html.mh-dark .vh-graf-svg text { fill: #a5a19a; }
html.mh-dark button.vh-graf-leg { background: #131313 !important; border-color: #f2f2f2 !important; color: #f2f2f2 !important; }
html.mh-dark button.vh-graf-leg:hover { background: #222 !important; }
html.mh-dark button.vh-graf-leg.je-aktiv { background: #f2f2f2 !important; color: #131313 !important; }

/* ---- graf frekvence modliteb (Keller: Kolikrat denne) ---- */
.kf-obal { background: #fff; padding: 14px 16px 10px; position: relative; }
/* stitek Interaktivni nad boxem, at neprekryva pravy info panel */
.kf-obal .mh-inter-stitek { top: -45px; right: 12px; }
.kf-info-uvod { font-size: 14.5px; line-height: 1.5; color: #55524d; }
html.mh-dark .kf-info-uvod { color: #a5a19a; }
.kf-rada { display: flex; gap: 20px; align-items: flex-start; }
.kf-graf { flex: 1 1 auto; min-width: 0; }
.kf-svg { width: 100%; height: auto; display: block; }
.kf-svg text { font-family: 'Urban Grotesk', -apple-system, sans-serif; }
.kf-prvek { cursor: pointer; transition: opacity .15s ease; }
.kf-autor rect.kf-prvek:hover { fill-opacity: .5; }
.kf-info {
    flex: 0 0 240px;
    border-top: 3px solid #C83E4D;
    background: #fff;
    padding: 10px 12px 12px;
}
.kf-info-autor { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: #55524d; }
.kf-info-typ { font-family: 'Novela Poster', Georgia, serif; font-weight: 900; font-size: 18px; margin: 3px 0 6px; }
.kf-info-popis { font-size: 14.5px; line-height: 1.55; }
.kf-info-zdroj { font-size: 12px; color: #55524d; margin-top: 6px; line-height: 1.3; }
.kf-legenda { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; font-size: 13px; color: #33312d; }
.kf-legenda span { display: inline-flex; align-items: center; gap: 6px; }
.kf-lg-plny { display: inline-block; width: 14px; height: 13px; background: rgba(200, 62, 77, .7); border: 1px solid #C83E4D; border-radius: 3px; }
.kf-lg-carka { display: inline-block; width: 16px; height: 0; border-top: 3px solid #161513; }
.kf-lg-pokus { display: inline-block; width: 18px; height: 11px; background: rgba(200, 62, 77, .15); border: 1px solid #C83E4D; border-radius: 3px; }
.kf-lg-ideal { color: #C83E4D; font-size: 14px; font-style: normal; }
.kf-pozn { font-size: 13.5px; color: #55524d; margin: 10px 0 0; }
html.mh-dark .kf-obal, html.mh-dark .kf-info { background: #131313; }
html.mh-dark .kf-svg text { fill: #a5a19a; }
html.mh-dark .kf-legenda { color: #a5a19a; }
@media (max-width: 900px) {
    .kf-rada { flex-direction: column; }
    .kf-info { flex: 1 1 auto; width: 100%; }
}

/* ---- Jak se na to divaji soucasni evangelikalove (odkaz na Dvoji modlitbu) ---- */
.mh-evang { background: #fff; border: 1.2px solid #111; padding: 26px 28px 24px; }
.mh-evang-nadpis { font-family: 'Novela Poster', Georgia, serif; font-weight: 900; font-size: 30px; line-height: 1.08; margin: 0 0 10px; }
.mh-evang-perex { font-family: 'Urban Grotesk', sans-serif; font-size: 14.5px; line-height: 1.5; margin: 0 0 14px; }
.mh-evang-perex a { color: #C83E4D; font-weight: 700; text-decoration: none; }
.mh-evang-perex a:hover { text-decoration: underline; }
.mh-evang-otazky {
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: 'Urban Grotesk', sans-serif;
    font-size: 14.5px;
    line-height: 1.75;
}
.mh-evang-otazky li { padding-left: 18px; position: relative; }
.mh-evang-otazky li::before { content: '\2014'; position: absolute; left: 0; color: #C83E4D; }
.mh-evang-btn-obal { margin: 16px 0 0; }
.mh-evang-btn {
    display: inline-block;
    background: #111;
    color: #fff !important;
    border-radius: 999px;
    padding: 9px 24px;
    font-family: 'Urban Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background .15s ease;
}
.mh-evang-btn:hover { background: #C83E4D; }
.mh-evang-varovani {
    margin-top: 18px;
    border-left: 3px solid #EAB43B;
    padding: 10px 16px;
    font-family: 'Urban Grotesk', sans-serif;
    font-size: 15px;
    line-height: 1.55;
    color: #111;
}
html.mh-dark .mh-evang { background: #131313; border-color: #f2f2f2; }
html.mh-dark .mh-evang-btn { background: #f2f2f2; color: #131313 !important; }
html.mh-dark .mh-evang-btn:hover { background: #C83E4D; color: #fff !important; }
html.mh-dark .mh-evang-varovani { color: #d6d6d6; }

/* ---- Casova linka zivota Terezie (3 sloupce + rok) ---- */
.mh-tl { background: #fff; padding: 8px 0 4px; }
.mh-tl-hlava, .mh-tl-radek {
    display: grid;
    grid-template-columns: 116px 1fr 1fr 1fr;
    gap: 0;
}
.mh-tl-hlava { position: sticky; top: 86px; z-index: 3; background: #fff; }
.mh-tl-h {
    padding: 10px 16px;
    font-family: 'Urban Grotesk', sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    border-bottom: 2px solid #111;
}
.mh-tl-rok-h { border-bottom: 2px solid #111; }
.mh-tl-h-modra { color: #1659D8; }
.mh-tl-h-cervena { color: #C83E4D; }
.mh-tl-h-zluta { color: #B8860B; }
.mh-tl-radek { border-bottom: 1px solid #e3e0da; }
.mh-tl-rok {
    padding: 16px 16px 16px 4px;
    font-family: 'Novela Poster', Georgia, serif;
    font-weight: 900;
    font-size: 20px;
    line-height: 1.1;
    color: #111;
}
.mh-tl-rok span {
    display: block;
    margin-top: 3px;
    font-family: 'Urban Grotesk', sans-serif;
    font-weight: 400;
    font-size: 11.5px;
    color: #8a857c;
}
.mh-tl-bunka { padding: 16px; font-family: 'Urban Grotesk', sans-serif; font-size: 13.5px; line-height: 1.5; }
.mh-tl-bunka p { margin: 0; }
.mh-tl-modra { border-left: 3px solid rgba(22, 89, 216, .5); }
.mh-tl-cervena { border-left: 3px solid #C83E4D; }
.mh-tl-zluta { border-left: 3px solid rgba(184, 134, 11, .5); }
.mh-tl-badge {
    display: inline-block;
    margin: 0 0 8px;
    background: #C83E4D;
    color: #fff;
    border-radius: 999px;
    padding: 4px 14px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .06em;
}
.mh-tl-badge-pred { background: #7231C9; }
.mh-tl-citat {
    display: block;
    margin-top: 12px;
    padding-left: 12px;
    border-left: 2px solid #C83E4D;
    font-family: 'Novela Poster', Georgia, serif;
    font-weight: 900;
    font-style: italic;
    font-size: 14.5px;
    line-height: 1.4;
    color: #C83E4D;
}
.mh-tl-citat-zdroj {
    display: block;
    margin-top: 5px;
    font-family: 'Urban Grotesk', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 11px;
    color: #8a857c;
}
.mh-tl-pozn { margin: 14px 16px 0; font-family: 'Urban Grotesk', sans-serif; font-size: 12px; line-height: 1.5; color: #55524d; }
html.mh-dark .mh-tl, html.mh-dark .mh-tl-hlava { background: #131313; }
html.mh-dark .mh-tl-h, html.mh-dark .mh-tl-rok-h { border-bottom-color: #f2f2f2; }
html.mh-dark .mh-tl-rok { color: #f2f2f2; }
html.mh-dark .mh-tl-radek { border-bottom-color: #3a3a3a; }
@media (max-width: 1024px) {
    .mh-tl-hlava { display: none; }
    .mh-tl-radek { grid-template-columns: 1fr; border-bottom-width: 2px; padding-bottom: 8px; }
    .mh-tl-rok { padding: 14px 16px 2px; }
    .mh-tl-bunka:empty { display: none; }
    .mh-tl-bunka::before {
        display: block;
        margin-bottom: 5px;
        font-size: 10.5px;
        font-weight: 700;
        letter-spacing: .1em;
        text-transform: uppercase;
    }
    /* MRTVE: .mh-tl-* je predchozi generace casove osy, zivá pouziva .mh-tl2-*.
       Overeno 9. 9. 2026: retezec "mh-tl-" neni v zadnem PHP, JS ani v jedne z 84
       stazenych stranek (vcetne neindexovanych). Ceske texty nize se proto nikde
       nevykresluji — nepreklada se to, ale ani nemaze bez rozhodnuti majitele. */
    .mh-tl-modra::before { content: 'Zkoušky'; color: #1659D8; }
    .mh-tl-cervena::before { content: 'Život s Bohem'; color: #C83E4D; }
    .mh-tl-zluta::before { content: 'Radosti a dílo'; color: #B8860B; }
}


/* ---- Casova osa zivota Terezie (v2: centralni linka, pasma pribytku) ---- */
/* Podbarveni nesou jednotlive blocky, ne cela plocha — syta bila,
   at pod textem neprosvitaji tecky pozadi. Pasma odlisuje predel. */
.mh-tl2 { position: relative; padding: 2px 0 12px; --tl-bg: #fff; --tl-bgd: #131313; }
.mh-tl2-pasmo { position: relative; padding: 0 0 6px; }
/* silna centralni osa pres cele pasmo */
.mh-tl2-pasmo::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    margin-left: -1.5px;
    background: #C83E4D;
}
/* predel s cislem pribytku — pres celou sirku obsahu */
.mh-tl2-predel {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 16px 20px 14px;
    border-top: 2px solid #C83E4D;
    background: var(--tl-bg);
}
.mh-tl2-predel-nazev {
    font-family: 'Novela Poster', Georgia, serif;
    font-weight: 900;
    font-size: 30px;
    line-height: 1;
    color: #C83E4D;
}
.mh-tl2-predel-nazev.je-pred { color: #7231C9; }
.mh-tl2-predel-popis {
    font-family: 'Urban Grotesk', sans-serif;
    font-size: 14px;
    font-style: italic;
    color: #8a857c;
}
.mh-tl2-radek {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 128px 1fr;
    align-items: start;
    gap: 0;
    padding: 14px 0;
}
.mh-tl2-strana { min-width: 0; }
.mh-tl2-vlevo { padding-right: 26px; text-align: right; }
.mh-tl2-vpravo { padding-left: 26px; }
/* uzel na ose: vek velky, datace mala */
.mh-tl2-uzel {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 2px;
}
.mh-tl2-vek.je-kolecko {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    min-width: 0;
    padding: 0;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
}
/* mene vyznamne mezniky — drobnejsi kolecko i cislo */
.mh-tl2-vek.je-kolecko.je-mala { width: 38px; height: 38px; font-size: 17px; }
.mh-tl2-vek.je-mala { font-size: 19px; }
.mh-tl2-vek {
    display: inline-block;
    min-width: 62px;
    padding: 2px 10px;
    background: #C83E4D;
    color: #fff;
    border-radius: 999px;
    font-family: 'Novela Poster', Georgia, serif;
    font-weight: 900;
    font-size: 26px;
    line-height: 1.15;
}
/* datace patri pod kolecko (vlastni radek), bez podbarveni */
.mh-tl2-rok {
    display: block;
    margin-top: 6px;
    font-family: 'Urban Grotesk', sans-serif;
    font-size: 12.5px;
    color: #55524d;
}
.mh-tl2-polozka {
    font-family: 'Urban Grotesk', sans-serif;
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 10px;
    padding: 9px 13px;
    background: var(--tl-bg);
    border-radius: 5px;
}
.mh-tl2-polozka:last-child { margin-bottom: 0; }
.mh-tl2-polozka b {
    display: block;
    font-family: 'Novela Poster', Georgia, serif;
    font-weight: 900;
    font-size: 17.5px;
    line-height: 1.2;
    color: #111;
}
/* vlevo (zkousky) cerne, vpravo (zivot s Bohem) cervene */
.mh-tl2-vlevo .mh-tl2-polozka b { color: #111; }
.mh-tl2-vpravo .mh-tl2-polozka b { color: #C83E4D; }
/* jednotlive vyjimky */
.mh-tl2 .mh-tl2-polozka.je-modra b { color: #1659D8; }
.mh-tl2 .mh-tl2-polozka.je-cerna b { color: #111; }
/* DILO — vizualne oddelene uvnitr praveho sloupce */
.mh-tl2-polozka.mh-tl2-dilo {
    border-left: 3px solid #EAB43B;
    border-radius: 0 5px 5px 0;
    padding: 9px 13px 9px 12px;
    margin-top: 12px;
}
.mh-tl2-vpravo .mh-tl2-polozka.mh-tl2-dilo b { color: #B8860B; }
/* citaty — vlastni specificita, jinak prebije globalni styl tlacitek z kitu */
.mh-tl2 button.mh-tl2-cit-ikona {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-top: 6px;
    padding: 0;
    border: 1.4px solid #C83E4D;
    border-radius: 50%;
    background: var(--tl-bg);
    color: #C83E4D;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.mh-tl2 button.mh-tl2-cit-ikona svg { display: block; width: 12px; height: 12px; }
.mh-tl2 button.mh-tl2-cit-ikona:hover,
.mh-tl2 button.mh-tl2-cit-ikona[aria-expanded="true"] { background: #C83E4D; color: #fff; }
.mh-tl2-citat {
    margin-top: 8px;
    padding: 10px 13px 11px 14px;
    background: var(--tl-bg);
    border-left: 2px solid #C83E4D;
    border-radius: 0 5px 5px 0;
}
.mh-tl2-cit-text {
    margin: 0;
    font-family: 'Novela Poster', Georgia, serif;
    font-weight: 900;
    font-style: italic;
    font-size: 17px;
    line-height: 1.45;
    color: #C83E4D;
}
.mh-tl2-cit-zdroj {
    display: block;
    margin-top: 5px;
    font-family: 'Urban Grotesk', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 12.5px;
    color: #8a857c;
}
/* komentar k citatu — vysvetluje, co tim autorka mysli */
.mh-tl2-cit-pozn {
    margin: 9px 0 0;
    padding-top: 9px;
    border-top: 1px solid rgba(200, 62, 77, .22);
    font-family: 'Urban Grotesk', sans-serif;
    font-size: 15px;
    line-height: 1.55;
    color: #33312d;
}
html.mh-dark .mh-tl2-cit-pozn { color: #d6d6d6; }
.mh-tl2-pozn {
    margin: 16px 20px 0;
    padding: 12px 16px;
    background: var(--tl-bg);
    border-radius: 5px;
    font-family: 'Urban Grotesk', sans-serif;
    font-size: 13.5px;
    line-height: 1.55;
    color: #55524d;
}
html.mh-dark .mh-tl2-polozka b { color: #f2f2f2; }
html.mh-dark .mh-tl2-vpravo .mh-tl2-polozka b { color: #e0576a; }
html.mh-dark .mh-tl2-vpravo .mh-tl2-polozka.mh-tl2-dilo b { color: #EAB43B; }
html.mh-dark .mh-tl2 .mh-tl2-polozka.je-modra b { color: #6f9bff; }
html.mh-dark .mh-tl2 .mh-tl2-polozka.je-cerna b { color: #f2f2f2; }
html.mh-dark .mh-tl2-rok, html.mh-dark .mh-tl2-pozn { color: #a5a19a; }
/* tmavy rezim: tatáž logika, jen zaklad je tmavy */
html.mh-dark .mh-tl2-polozka,
html.mh-dark .mh-tl2-predel,
html.mh-dark .mh-tl2-citat,
html.mh-dark .mh-tl2-pozn,
html.mh-dark .mh-tl2 button.mh-tl2-cit-ikona { background: var(--tl-bgd); }
html.mh-dark .mh-tl2 button.mh-tl2-cit-ikona:hover,
html.mh-dark .mh-tl2 button.mh-tl2-cit-ikona[aria-expanded="true"] { background: #C83E4D; }
@media (max-width: 900px) {
    .mh-tl2-pasmo::before { left: 22px; margin-left: 0; }
    .mh-tl2-radek { grid-template-columns: 1fr; padding-left: 54px; }
    .mh-tl2-vlevo, .mh-tl2-vpravo { text-align: left; padding: 0 0 10px; }
    .mh-tl2-uzel { position: absolute; left: -54px; top: 12px; text-align: left; }
    .mh-tl2-vek { min-width: 0; font-size: 19px; padding: 1px 8px; }
    .mh-tl2-vek.je-kolecko { width: 38px; height: 38px; font-size: 17px; }
    .mh-tl2-vek.je-kolecko.je-mala { width: 29px; height: 29px; font-size: 13px; }
    .mh-tl2-vek.je-mala { font-size: 15px; }
    .mh-tl2-rok { font-size: 10.5px; }
    .mh-tl2-predel { padding-left: 54px; }
}

/* ---- portret aktivni vrstvy (pravy dolni roh) — odkaz na /vrstvy-hradu/#vrstva-N ---- */
/* pravy sloupec se natahne na vysku hradu; portret drzi margin-top:auto u dna
   (kdyz se rozbali panel poutnika, portret se posune pod nej misto prekryvu) */
.vh-col-right { display: flex; flex-direction: column; align-self: stretch; }
.vh-portrety { margin-top: auto; padding-top: 24px; text-align: right; }
.vh-portrety-nazev {
    display: block;
    font-family: 'Urban Grotesk', sans-serif;
    font-weight: 700;
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #8a857c;
    margin-bottom: 7px;
}
/* nahledy lezi pres sebe; viditelny jen .je-aktivni (prepina setState v mh-hrad.js) */
.vh-portrety-ram { position: relative; aspect-ratio: 1392 / 830; }
.vh-portret {
    position: absolute;
    inset: 0;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .25);
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease, transform .16s ease, box-shadow .16s ease;
}
.vh-portret.je-aktivni { opacity: 1; pointer-events: auto; }
.vh-portret img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vh-portret:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 0, 0, .35); }
html.mh-dark .vh-portrety-nazev { color: #9a958c; }
@media (max-width: 1000px) {
    .vh-portrety { position: static; width: auto; margin: 22px auto 0; text-align: center; max-width: 420px; }
}
