/*
 * Fotojatka 2026
 * Typography
 */
 
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

:root {
    --font-main: 'Montserrat', sans-serif;

    --text-size: 16px;
    --text-line: 1.65;

    --heading-weight: 700;
    --text-weight: 400;
}


/* --------------------------------------------------
   Base
-------------------------------------------------- */

html {
    font-size: 100%;
}

body {
    font-family: var(--font-main);
    font-size: var(--text-size);
    font-weight: var(--text-weight);
    line-height: var(--text-line);
    color: #111;
}


/* --------------------------------------------------
   Headings
-------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: .7em;
    margin-bottom: .7em;

    font-family: var(--font-main);
    font-weight: var(--heading-weight);
    line-height: 1.15;
}

h1 {
    font-size: 3rem;
    letter-spacing: -0.04em;
    background: black;
    color: white;
    padding: 0.1em 0.3em 0.1em 0.3em;
}

h2 {
    font-size: 2rem;
    letter-spacing: -0.03em;
    margin-top: 1.3em!important;
}

h2.claim {
    margin-top: .7em;
    margin-bottom: 3em;
    text-align: center;
    color: #bbb;
}

h3 {
    font-size: 1.4rem;
    letter-spacing: -0.02em;
}

h4 {
    font-size: 1.1rem;
}


/* --------------------------------------------------
   Paragraphs
-------------------------------------------------- */

p {
    margin-top: 0;
    margin-bottom: 0.7em;
}

/* --------------------------------------------------
   Sections
-------------------------------------------------- */

section {
    background: rgba(255,255,255,0.9);
    padding: 0.7em;
    margin-bottom: 1em;
}

section h2:first-child {
    margin-top: 0em!important;
}

section.authors a {
    font-weight: normal;
}

section.authors a::after {
  content: " ↗";
  font-size: 0.85em;
  display: inline-block;
  margin-left: 3px;
  transition: transform 0.2s ease; /* Volitelně: animace při najetí */
}

/* Volitelný efekt při najetí myší (mírný posun šipky nahoru a doprava) */
section.authors a:hover::after {
  transform: translate(2px, -2px);
}


/* --------------------------------------------------
   Links
-------------------------------------------------- */

a {
    color: inherit;
    text-decoration: none;
    transition: 500ms;}

a:hover {
    text-decoration-thickness: 2px;
    text-decoration-color: #ddd;
    text-underline-offset: 3px;
    transition: 500ms;

}


/* --------------------------------------------------
   Lists
-------------------------------------------------- */

ul,
ol {
    margin-top: 0;
    margin-bottom: 1.5em;
    padding-left: 1.5em;
}

li + li {
    margin-top: .35em;
}


/* --------------------------------------------------
   Blockquote
-------------------------------------------------- */

blockquote {
    margin: 2em 0;
    padding-left: 1.5em;

    border-left: 2px solid #111;
}

blockquote p:last-child {
    margin-bottom: 0;
}


/* --------------------------------------------------
   Code
-------------------------------------------------- */

code {
    font-family: monospace;
    font-size: .9em;
}

pre {
    margin: 2em 0;
    padding: 1.2em;
    overflow-x: auto;

    font-size: .85em;
    line-height: 1.5;
}


/* --------------------------------------------------
   Horizontal rule
-------------------------------------------------- */

hr {
    margin: 3em 0;
    border: 0;
    border-top: 1px solid #111;
}


.kino h2, .kino h3, .kino h4 {
    margin-top: 0!important;
    padding-top: 0;
    margin-bottom: 0;
}

.kino {
    margin-bottom: 1rem;
}


/* --------------------------------------------------
   Mobile
-------------------------------------------------- */

@media (max-width: 700px) {

    body {
        font-size: 15px;
    }

    h1 {
        font-size: 2.3rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    h3 {
        font-size: 1.3rem;
    }
}