/* =========================================================
   PULZ – BLOG
   Doba čtení + automatický obsah článku
   ========================================================= */


/* ---------- DOBA ČTENÍ ---------- */

body.type-post .pulz-blog-meta {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}

body.type-post .pulz-blog-reading-time {
    display: inline-block;
}


/* ---------- OBSAH ČLÁNKU ---------- */

body.type-post .pulz-blog-toc {
    margin: 0 0 28px;
    padding: 18px 22px;
    background: #f7f7f7;
    border-radius: 8px;
}

body.type-post .pulz-blog-toc-title {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
    color: #333;
}

body.type-post .pulz-blog-toc-list {
    margin: 0;
    padding: 0;
    list-style: none;
}


/* ---------- H2 V OBSAHU ---------- */

body.type-post .pulz-blog-toc-h2 {
    position: relative;
    margin: 7px 0;
    padding-left: 18px;
}

body.type-post .pulz-blog-toc-h2::before {
    content: "•";
    position: absolute;
    left: 2px;
    top: 0;
    color: #555;
    font-weight: 700;
}

body.type-post .pulz-blog-toc-h2 a {
    font-weight: 600;
}


/* ---------- H3 V OBSAHU ---------- */

body.type-post .pulz-blog-toc-h3 {
    position: relative;
    margin: 5px 0 5px 20px;
    padding-left: 18px;
    font-size: 0.95em;
}

body.type-post .pulz-blog-toc-h3::before {
    content: "↳";
    position: absolute;
    left: 0;
    top: 0;
    color: #888;
}


/* ---------- ODKAZY ---------- */

body.type-post .pulz-blog-toc a {
    color: inherit;
    text-decoration: none;
}

body.type-post .pulz-blog-toc a:hover,
body.type-post .pulz-blog-toc a:focus {
    text-decoration: underline;
}


/* ---------- KOTVY ---------- */

/*
   Rezerva při skoku na nadpis.
   Nadpis po kliknutí neskončí úplně nalepený
   na horním okraji obrazovky.
*/

body.type-post .text h2,
body.type-post .text h3 {
    scroll-margin-top: 20px;
}


/* ---------- MOBIL ---------- */

@media (max-width: 767px) {

    body.type-post .pulz-blog-toc {
        padding: 16px 18px;
        margin-bottom: 24px;
    }

    body.type-post .pulz-blog-toc-title {
        font-size: 17px;
    }

    body.type-post .pulz-blog-toc-h2 {
        margin-top: 8px;
        margin-bottom: 8px;
    }

    body.type-post .pulz-blog-toc-h3 {
        margin-left: 14px;
        margin-top: 6px;
        margin-bottom: 6px;
    }

}