.tp-title {
    box-sizing: border-box;
    width: calc(100% - 30px);
    max-width: 640px;
    margin: 0 auto 12px;
    padding: 5px 3px 8px;
}

.tp-title-presentation {
    display: grid;
    justify-items: center;
}

#tlumoceni-cz #main-column .tp-title {
    max-width: none;
}

.tp-title-presentation > img#nadpis-prezentace {
    margin-inline: 0;
    display: block;
    max-width: 100%;
    height: auto;
}

[data-title-font="titulka/bodoni"] {
    --tp-title-font: "TP Bodoni Moda";
    --tp-title-caps: small-caps;
    --tp-title-variation: "opsz" 48;
}

[data-title-font="titulka/copper"] {
    --tp-title-font: "TP Marcellus SC";
}

[data-title-font="titulka/dijk"] {
    --tp-title-font: "TP Courgette";
}

[data-title-font="titulka/eurostile"] {
    --tp-title-font: "TP Michroma";
    --tp-title-caps: small-caps;
}

[data-title-font="titulka/franklin"] {
    --tp-title-font: "TP Libre Franklin";
    --tp-title-caps: small-caps;
}

[data-title-font="titulka/futura"] {
    --tp-title-font: "TP Jost";
    --tp-title-caps: small-caps;
}

[data-title-font="titulka/mistral"] {
    --tp-title-font: "TP Kaushan Script";
}

[data-title-font="titulka/nevision"] {
    --tp-title-font: "TP Caveat";
}

[data-title-font="titulka/script"] {
    --tp-title-font: "TP Great Vibes";
}

[data-title-font="titulka/shelly"] {
    --tp-title-font: "TP Lobster";
}

.tp-title .tp-title-line {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    text-align: center;
}

.tp-title .tp-title-line[hidden],
.tp-title[hidden] {
    display: none;
}

.tp-title .tp-title-ink,
[data-title-font].tp-title-font-sample {
    font-family: var(--tp-title-font, "TP Libre Franklin"), Arial, sans-serif;
    font-weight: 400;
    font-variant-caps: var(--tp-title-caps, normal);
    font-variation-settings: var(--tp-title-variation, normal);
    font-optical-sizing: none;
}

.tp-title .tp-title-ink {
    display: inline-block;
    color: var(--tp-ink, #000);
    font-size: 36px;
    line-height: 1.14;
    overflow-wrap: anywhere;
}

.tp-title .tp-title-subtitle .tp-title-ink {
    font-size: 25px;
}

.tp-title[data-ready] .tp-title-ink {
    white-space: pre;
    overflow-wrap: normal;
}

.tp-title-ink[data-color="cerna"] {
    --tp-ink: #000000;
    --tp-ink-top: #4f4f4f;
    --tp-ink-bottom: #000000;
}

.tp-title-ink[data-color="seda"] {
    --tp-ink: #585858;
    --tp-ink-top: #808080;
    --tp-ink-bottom: #1a1a1a;
}

.tp-title-ink[data-color="vinova"] {
    --tp-ink: #4c0000;
    --tp-ink-top: #6a0000;
    --tp-ink-bottom: #1a0000;
}

.tp-title-ink[data-color="hneda"] {
    --tp-ink: #593f00;
    --tp-ink-top: #7d621e;
    --tp-ink-bottom: #231b08;
}

.tp-title-ink[data-color="zelena"] {
    --tp-ink: #194b00;
    --tp-ink-top: #427f22;
    --tp-ink-bottom: #15290b;
}

.tp-title-ink[data-color="modrozelena"] {
    --tp-ink: #003a4b;
    --tp-ink-top: #21677c;
    --tp-ink-bottom: #0d2830;
}

.tp-title-ink[data-color="modra"] {
    --tp-ink: #000e65;
    --tp-ink-top: #203092;
    --tp-ink-bottom: #0d143b;
}

.tp-title-ink[data-color="fialova"] {
    --tp-ink: #4e0064;
    --tp-ink-top: #7d2197;
    --tp-ink-bottom: #280a30;
}

.tp-title[data-shadow] .tp-title-ink {
    filter: drop-shadow(1px 2px 2px rgb(0 0 0 / 21%));
}

@supports (background-clip: text) {
    .tp-title[data-gradient] .tp-title-ink {
        background: linear-gradient(var(--tp-ink-top, #4f4f4f), var(--tp-ink-bottom, #000));
        background-clip: text;
        color: transparent;
    }
}

@media print {
    .tp-title[data-gradient] .tp-title-ink {
        background: none;
        color: var(--tp-ink, #000);
    }
}

@media (forced-colors: active) {
    .tp-title[data-gradient] .tp-title-ink {
        background: none;
        color: CanvasText;
    }
}
