/* --primary-th-color je definovana v theme panel/styles jako primary color Jannah theme */

.entry :is(p, ol, ul, tr) a {
    border-bottom: 2.8px solid var(--primary-th-color);
}

.entry.entry :is(p, ol, ul, tr) a:hover {
    border-bottom-color: #fff;
    color: #747474;
}

/* upravuje barvu a tloustku horizontal row elementu */
.entry hr {
    border-top: 5px solid rgba(0, 0, 0, 0.2);
}

/* opravuje border pod obrazky s linky */
.entry .imgtaga_border_none {
    border-bottom: initial;
}

.entry p,
body .entry.entry a {
    color: #444;
}

#ez-toc-container a {
    border-bottom: none;
}

#site-info {
    padding-top: 30px;
}

h1 {
    font-size: 2.7rem;
    font-weight: 700;
    line-height: 1.2;
}

.entry h2 {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.2;
    border-left: 7px solid var(--primary-th-color);
    padding-left: 10px;
    background-image: -webkit-gradient(linear, left top, right top, from(#eee), to(#fff));
    background-image: -o-linear-gradient(left, #eee, #fff);
    background-image: linear-gradient(to right, #eee, #fff);
}

.entry h3 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    border-left: 6px solid var(--primary-th-color);
    padding-left: 9px;
    background-image: -webkit-gradient(linear, left top, right top, from(#eee), to(#fff));
    background-image: -o-linear-gradient(left, #eee, #fff);
    background-image: linear-gradient(to right, #eee, #fff);
}

.entry h4 {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.3;
    border-left: 5px solid var(--primary-th-color);
    padding-left: 8px;
    background-image: -webkit-gradient(linear, left top, right top, from(#eee), to(#fff));
    background-image: -o-linear-gradient(left, #eee, #fff);
    background-image: linear-gradient(to right, #eee, #fff);
}

@media screen and (max-width: 767px) {
    .entry h2 {
        font-size: 1.8rem;
    }
    .entry h3 {
        font-size: 1.7rem;
    }
    .entry h4 {
        font-size: 1.6rem;
    }
    html #the-post .entry-content,
    html #the-post .entry-content p {
        font-size: 18px;
        line-height: 1.9;
    }
}

.rank-math-howto-description {
    font-weight: bold;
}

.review-title {
    font-size: 20px;
}

/* zmena barvy odkazu ve zdroji obrazku pri prejeti mysi */
.featured-area figcaption > a:hover {
    color: white;
    text-decoration: underline;
}

/* popis obrázku zarovnán doleva */
.wp-block-image.wp-block-image figcaption {
    margin-top: 0px;
    text-align: left;
}

/* smooth scroll offset */
html {
    scroll-padding-top: 10px;
}

p > code {
    font-size: inherit;
    padding: 8px 0.25em;
}

/* zobrazí popisek tabulek pod tabulkou */
caption {
    caption-side: bottom;
    font-size: 15px;
}

.entry summary {
    display: list-item;
    list-style: inside disclosure-closed;
    font-size: 23px;
    font-weight: 700;
    margin-bottom: 25px;
    background: #ebebeb;
    padding: 12px;
    cursor: pointer;
}

.entry details[open] > summary {
    list-style-type: disclosure-open;
}

.rank-math-list-item {
    margin-top: 25px;
}

.box {
    margin: 20px;
}

/* Upravuje a správně formátuje očíslování v HowTo bloku or RankMath */
.rank-math-steps {
    list-style: none;
    counter-reset: rm-howto-counter;
}
.rank-math-step {
    counter-increment: rm-howto-counter;
}
.rank-math-step::marker {
    content: counter(rm-howto-counter) '. ';
    font-weight: bold;
    font-size: 2rem;
}
