/* fotokino-printing-layout: isolated port of the approved native printing layout. */
body.tlac-tlac .tlac-heading { overflow-wrap: anywhere; }
/* Printing illustrations occupy their own grid cells instead of the text background. */
body.tlac-tlac #content > .tlac {
    --fotokino-print-gutter: clamp(24px, 3vw, 64px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(24px, 3vw, 56px);
    padding: 64px var(--fotokino-print-gutter);
    background-image: none;
    transition: none;
}
body.tlac-tlac #content > .tlac > .tlac-obsah {
    grid-column: 2;
    grid-row: 1;
    display: block;
    position: relative;
    left: auto;
    width: 100%;
    max-width: 740px;
    min-width: 0;
    margin: 0 auto;
    padding: 0;
}
body.tlac-tlac .fotokino-print-visual { display: flex; align-items: center; justify-content: center; min-width: 0; pointer-events: none; }
body.tlac-tlac .fotokino-print-visual-first { grid-column: 1; grid-row: 1; margin-left: calc(-1 * var(--fotokino-print-gutter)); justify-content: flex-start; }
body.tlac-tlac .fotokino-print-visual-last { grid-column: 3; grid-row: 1; margin-right: calc(-1 * var(--fotokino-print-gutter)); justify-content: flex-end; }
body.tlac-tlac .fotokino-print-visual > img { display: block; width: auto; height: auto; max-width: calc(100% - var(--fotokino-print-gutter)); max-height: 430px; object-fit: contain; }
body.tlac-tlac #sublimacna > .fotokino-print-visual-first,
body.tlac-tlac #velkoformatova > .fotokino-print-visual-last { align-self: stretch; align-items: flex-end; margin-bottom: -64px; }
body.tlac-tlac .tlac-heading { margin: 0; padding: 0 10px 24px; font-size: clamp(28px, 3.6vw, 48px); line-height: 1.15; }
body.tlac-tlac .tlac-subheading { margin-top: 8px; font-size: clamp(20px, 2vw, 28px); line-height: 1.3; }
body.tlac-tlac .tlac-popis { width: 100%; font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
body.tlac-tlac .tlac-popis-1 { padding: 0 10px 20px; }
body.tlac-tlac .tlac-popis-2 { padding: 0 10px; }
body.tlac-tlac .beforetlac-button { display: flex; justify-content: flex-start; padding: 26px 10px 0; }
body.tlac-tlac .tlac-obsah .tlac-button { display: inline-flex; align-items: center; justify-content: center; position: static; float: none; height: auto; min-height: 48px; margin: 0; padding: 12px 24px; line-height: 20px; }
@media (max-width: 1100px) {
    body.tlac-tlac #content > .tlac { --fotokino-print-gutter: clamp(20px, 4vw, 40px); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; padding: 40px var(--fotokino-print-gutter); }
    body.tlac-tlac #content > .tlac > .tlac-obsah { grid-column: 1 / -1; grid-row: 2; }
    body.tlac-tlac .fotokino-print-visual-last { grid-column: 2; }
    body.tlac-tlac .fotokino-print-visual > img { max-height: 200px; }
    body.tlac-tlac #sublimacna > .fotokino-print-visual-first,
    body.tlac-tlac #velkoformatova > .fotokino-print-visual-last { grid-row: 3; margin-bottom: -40px; }
    body.tlac-tlac .tlac-heading { font-size: clamp(28px, 4vw, 40px); text-align: center; }
}
@media (max-width: 600px) {
    body.tlac-tlac #content > .tlac { --fotokino-print-gutter: 20px; gap: 24px 20px; padding: 32px var(--fotokino-print-gutter); }
    body.tlac-tlac .fotokino-print-visual > img { max-height: 160px; }
    body.tlac-tlac #sublimacna > .fotokino-print-visual-first,
    body.tlac-tlac #velkoformatova > .fotokino-print-visual-last { margin-bottom: -32px; }
    body.tlac-tlac .tlac-popis { text-align: left; }
}
