.content_detail {
    font-size: 21px;
    line-height: 30px;
    color: #333;
    font-family: var(--primaryFont);
    margin: 0 auto;
}

    .content_detail .video-responsive iframe {
        width: 100%;
        aspect-ratio: 16 / 9;
        height: auto;
        border: 0;
        margin: 20px 0;
    }

    .content_detail .btn {
        color: white;
        padding: 7px 12px;
        text-decoration: none;
    }

.perex {
    font-size: 18px;
    line-height: 30px;
    color: #333;
    font-family: var(--primaryFont);
    margin: 0 auto;
    font-weight: 600;
}


/* Consistent paragraph rhythm in article text. */
.content_detail > p,
.content_detail > div > p {
    margin-top: 0;
    margin-bottom: 18px;
}

/* Empty editor paragraphs must not generate vertical space. */
.content_detail p:empty {
    display: none;
}

/* All H2 headings following paragraphs get one explicit, non-collapsing gap.
   Padding keeps the space predictable even when adjacent margins collapse. */
.content_detail h2 {
    font-size: 1.8em;
    margin-top: 0.9em;
    margin-bottom: 0.6em;
}

.content_detail p:has(+ h2) {
    margin-bottom: 0;
}

.content_detail p + h2 {
    margin-top: 0;
    padding-top: 28px;
}

/* Small photo credits use their actual text height, not 30px body leading. */
.content_detail p:has(> em > span[style*="font-size: 11px"]) {
    line-height: 16px;
}

.content_detail h3 {
    font-size: 1.5em;
    margin-top: 0.9em;
    margin-bottom: 0.6em;
    color: #4a4a4a;
    border-left: 4px solid #114884;
    padding-left: 12px;
    font-weight: bold;
}

.content_detail h4 {
    font-size: 1.5em;
    margin-top: 0.7em;
    margin-bottom: 0.4em;
}

.content_detail a {
    color: #114884;
    text-decoration: underline;
}

    .content_detail a:hover {
        color: #0d366a; /* tmav�� odst�n pro hover efekt � voliteln� */
    }

.content_detail strong {
    font-weight: bold;
}

.content_detail ul {
    margin-left: 1.2em;
    padding-left: 1em;
    list-style-type: disc;
    margin-bottom: 1em;
}

    .content_detail ul li {
        margin-bottom: 0.5em;
    }

        .content_detail ul li::marker {
            color: #114884;
        }

.content_detail li p {
    display: inline;
}

@media screen and (max-width: 600px) {
    .content_detail {
        font-size: 21px;
        line-height: 27px;
    }

        .content_detail table td {
            display: block;
            width: 100%;
            box-sizing: border-box;
        }

            .content_detail table td:first-child {
                background-color: #e9ecef;
                font-weight: bold;
            }

        .content_detail h3 {
            font-size: 1.3em;
        }
}

.content_detail table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}

    .content_detail table th,
    .content_detail table td {
        border: 1px solid #dee2e6;
        padding: 12px;
        text-align: left;
    }

    .content_detail table th {
        background-color: #f8f9fa;
        font-weight: 600;
    }

    .content_detail table tbody tr:nth-child(odd) {
        background-color: #f2f6fa;
    }

.tag-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* zarovn�n� vlevo */
    gap: 0.5rem;
    padding-left: 0;
    margin-top: 0.5rem;
    list-style: none;
}

    .tag-list li {
        margin: 0;
    }

        .tag-list li a {
            display: inline-block;
            background-color: #114884;
            color: white;
            padding: 6px 10px;
            border-radius: 4px;
            font-size: 14px;
            text-decoration: none;
            white-space: nowrap;
            transition: background-color 0.2s ease-in-out;
        }

            .tag-list li a:hover {
                background-color: #083b6b;
            }

.fb-follow-box {
    border: 1px solid gray;
    background-image: url('/uws_templates/default5/assets/img/fb_bg.png');
    background-size: 100% auto;
    background-position: top;
    padding: 30px;
    border-radius: 15px;
    color: white;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
    overflow: hidden;
}

    .fb-follow-box .btn {
        background-color: #1877f2;
        color: white;
        font-weight: bold;
        border: none;
    }

        .fb-follow-box .btn:hover {
            background-color: #145dbf;
        }

.fb-follow-box {
    border: 1px solid gray;
    background-image: url('/uws_templates/default5/assets/img/fb_bg.png');
    background-size: 100% auto;
    background-position: top;
    padding: 30px;
    border-radius: 15px;
    color: white;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
    overflow: hidden;
}

    .fb-follow-box .btn {
        background-color: #1877f2;
        color: white;
        font-weight: bold;
        border: none;
    }

        .fb-follow-box .btn:hover {
            background-color: #145dbf;
        }


.article-insert {
    position: relative;
    width: 100%;
    height: 200px;
    max-height: 200px;
    margin: 28px 0 12px;
    overflow: hidden;
    background: #fff;
    border: 2px solid #d9dde2;
    border-radius: 12px;
    box-sizing: border-box;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .12), inset 0 0 0 1px rgba(255, 255, 255, .8);
}

    /* Zelen� svisl� linka vlevo */
    .article-insert::before {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 2;
        width: 6px;
        background: #8cc63f;
        content: "";
    }

    .article-insert a {
        display: grid;
        grid-template-columns: 34% 66%;
        width: 100%;
        height: 100%;
        color: #17202a;
        text-decoration: none;
    }

.article-insert__image {
    height: 100%;
    overflow: hidden;
    background: #e9ecef;
}

    .article-insert__image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .25s ease;
    }

.article-insert__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 13px 22px;
    overflow: hidden;
    box-sizing: border-box;
    border-left: 1px solid #e4e7ea;
}

.article-insert__label {
    margin-bottom: 5px;
    color: #114884;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.article-insert__title {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #17202a;
    font-size: 23px;
    line-height: 30px;
    font-weight: 700;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.article-insert__more {
    margin-top: 7px;
    color: #114884;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
}

.article-insert:hover {
    border-color: #c3c9cf;
    box-shadow: 0 7px 22px rgba(0, 0, 0, .16), inset 0 0 0 1px rgba(255, 255, 255, .8);
}

.article-insert a:hover .article-insert__title {
    color: #114884;
    text-decoration: underline;
}

.article-insert a:hover img {
    transform: scale(1.04);
}

.article-insert a:focus-visible {
    outline: 3px solid #114884;
    outline-offset: -3px;
}

@media (max-width: 650px) {
    .article-insert {
        height: 160px;
        max-height: 160px;
        margin: 22px 0 10px;
        border-radius: 10px;
    }

        .article-insert::before {
            width: 4px;
        }

        .article-insert a {
            grid-template-columns: 38% 62%;
        }

    .article-insert__content {
        padding: 9px 12px;
    }

    .article-insert__label {
        margin-bottom: 4px;
        font-size: 9px;
    }

    .article-insert__title {
        font-size: 16px;
        line-height: 1.28;
        -webkit-line-clamp: 4;
    }

    .article-insert__more {
        margin-top: 5px;
        font-size: 10px;
    }
}


/* Native article sharing inline after the headline. */
.news-system-share {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

.single-para h1 .news-system-share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid #dedede;
    border-radius: 50%;
    background: #f3f3f3;
    color: #777;
    vertical-align: middle;
    cursor: pointer;
}

    .single-para h1 .news-system-share-button[hidden] {
        display: none;
    }

    .single-para h1 .news-system-share-button:hover {
        background: #e5e5e5;
        color: #555;
    }

    .single-para h1 .news-system-share-button:focus-visible {
        outline: 2px solid #777;
        outline-offset: 3px;
    }

    .single-para h1 .news-system-share-button:disabled {
        opacity: .6;
        cursor: wait;
    }

.news-system-share-status {
    display: block;
    font-size: 14px;
    color: #777;
}

    .news-system-share-status:empty {
        display: none;
    }

/* Embedded article cards: full-height photo and small source logo. */
.content_detail .article-insert > a {
    text-decoration: none;
}

.article-insert__image {
    position: relative;
    min-height: 0;
    height: 100%;
    align-self: stretch;
}

.content_detail .article-insert .article-insert__image img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-height: none;
    max-width: none;
    margin: 0;
    padding: 0;
    object-fit: cover;
    border-radius: 0;
}

.content_detail .article-insert img.article-insert__logo {
    display: block;
    align-self: flex-start;
    flex: 0 0 auto;
    width: auto;
    height: 7.33px;
    max-width: 46.67px;
    margin: 0 0 7px;
    padding: 0;
    object-fit: contain;
    object-position: left center;
    border-radius: 0;
    transform: none;
}

.article-insert__title {
    -webkit-line-clamp: 3;
}

.article-insert__more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 9px;
    flex-shrink: 0;
    font-size: 13px;
    line-height: 18px;
}

.article-insert a:hover .article-insert__more {
    text-decoration: underline;
}

@media (max-width: 650px) {
    .content_detail .article-insert img.article-insert__logo {
        height: 5.33px;
        max-width: 36.67px;
        margin-bottom: 5px;
    }

    .article-insert__title {
        -webkit-line-clamp: 3;
    }

    .article-insert__more {
        font-size: 11px;
        line-height: 15px;
        margin-top: 6px;
    }
}
/* Keep the source logo small even when article image rules use !important. */
.content_detail .article-insert .article-insert__content img.article-insert__logo {
    width: 120px !important;
    max-width: 120px !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: 22px !important;
    min-height: 0 !important;
    object-fit: contain !important;
    flex: 0 0 auto;
}

/* Quiet topic tags below the news article. */
.news-detail-page .news-metaoption-footer .tag-list {
    gap: 4px 6px;
    margin-bottom: 8px;
}

    .news-detail-page .news-metaoption-footer .tag-list li {
        margin: 0;
    }

        .news-detail-page .news-metaoption-footer .tag-list li a {
            display: inline-block;
            padding: 2px 6px;
            border-radius: 3px;
            background-color: #f4f5f6;
            color: #626970;
            font-size: 11px;
            font-weight: 400;
            line-height: 1.5;
            text-decoration: none;
        }

            .news-detail-page .news-metaoption-footer .tag-list li a:hover,
            .news-detail-page .news-metaoption-footer .tag-list li a:focus-visible {
                background-color: #e9edf1;
                color: #114884;
                text-decoration: underline;
            }
/* Match the player on the video detail page. */
.news-detail-page .news-video-player {
    border-radius: 22px;
    overflow: hidden;
    background: #0d1015;
    box-shadow: 0 18px 38px rgba(20,39,61,.12);
}

    .news-detail-page .news-video-player iframe {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        border: 0;
    }

@media (max-width: 767.98px) {
    .news-detail-page .news-video-player {
        border-radius: 0;
    }
}
