/* Střídmý redakční vzhled novinek v barvách Techniservisu. */
.ts-news-hero {
    background: var(--color-primary);
}
.ts-news-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 40px;
    max-width: 1100px;
    align-items: end;
    min-height: 170px;
    padding-top: max(0px, calc(clamp(9px, calc(2.8vw - 15px), 19px) - 15px));
    padding-bottom: clamp(28px, 3vw, 38px);
}
.ts-news-hero__title { min-width: 0; }
.ts-news-page .ts-news-hero .page-title {
    margin: 0;
    color: #fff;
    font-size: clamp(3.2rem, 5.6vw, 5rem);
    line-height: 1.02;
    letter-spacing: -.065em;
}
.ts-news-hero .ts-news-intro.entry-content {
    max-width: 510px;
    margin: 0 0 5px;
    padding: 0 0 0 27px;
    border-left: 3px solid var(--color-secondary);
    color: rgba(255, 255, 255, .92);
    font-size: clamp(1.08rem, 1.7vw, 1.25rem);
    line-height: 1.7;
}
.ts-news-hero .ts-news-intro.entry-content > :last-child { margin-bottom: 0; }
.ts-news-section { background: #f3f5f7; }
.ts-news-layout { max-width: 1060px; padding-top: clamp(3rem, 5vw, 4.5rem); padding-bottom: 6rem; }
.ts-news-intro.entry-content > p:first-child,
.ts-news-article .entry-content > p:first-child {
    margin: 0 0 1.1rem;
    padding: 0;
    border-radius: 0;
    background: none;
    color: inherit;
}
.ts-news-feed { display: grid; gap: 20px; }
.ts-news-item {
    position: relative;
    padding: clamp(24px, 3.5vw, 38px);
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, .68);
    box-shadow: 0 12px 34px rgba(9, 44, 78, .08), inset 0 1px 0 rgba(255, 255, 255, .8);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    overflow-wrap: anywhere;
    transition: box-shadow .25s ease;
}
.ts-news-item::before {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, .5), transparent 42%);
    pointer-events: none;
    content: '';
}
.ts-news-item:hover {
    box-shadow: 0 18px 40px rgba(9, 44, 78, .12), inset 0 1px 0 rgba(255, 255, 255, .9);
}
.ts-news-item__body { position: relative; z-index: 1; min-width: 0; }
.ts-news-item.has-thumbnail .ts-news-item__body {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    column-gap: 32px;
    align-items: start;
}
.ts-news-item.has-thumbnail .ts-news-item__body > header,
.ts-news-item.has-thumbnail .ts-news-item__excerpt,
.ts-news-item.has-thumbnail .ts-news-more { grid-column: 2; }
.ts-news-item__media {
    display: block;
    grid-column: 1;
    grid-row: 1 / span 3;
    align-self: center;
    overflow: hidden;
    border-radius: 8px;
    background: var(--color-bg-alt);
}
.ts-news-item__media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
    transition: none;
}

.ts-news-item__meta {
    margin-bottom: 12px;
    color: var(--color-text-light);
    font-size: .88rem;
}
.ts-news-item time, .ts-news-article time { color: var(--color-text-light); }
.ts-news-item h2 {
    margin: 0 0 12px;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    line-height: 1.28;
    letter-spacing: -0.02em;
}
.ts-news-item h2 a { color: var(--color-dark); text-decoration: none; }
.ts-news-item h2 a:hover, .ts-news-item h2 a:focus-visible { color: var(--color-primary); }
.ts-news-item__excerpt {
    max-width: 730px;
    margin: 0 0 13px;
    color: var(--color-text);
    font-size: 1rem;
    line-height: 1.7;
}
.ts-news-more {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: none;
}
.ts-news-more span { width: 7px; height: 7px; margin-left: 1px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .2s ease; }
.ts-news-more:hover span, .ts-news-more:focus-visible span { transform: translate(3px, 0) rotate(45deg); }
.ts-news-pages { display: flex; gap: 14px; flex-wrap: wrap; padding: 25px 0; }
.ts-news-pages a, .ts-news-pages span { padding: 8px; color: var(--color-primary); }
.ts-news-empty { padding: 24px 0; color: var(--color-text-light); }

.ts-news-dialog {
    position: fixed;
    inset: 0;
    display: none;
    grid-template-rows: auto minmax(0, 1fr);
    width: min(1200px, calc(100vw - 32px));
    height: min(920px, calc(100dvh - 32px));
    max-width: none;
    max-height: none;
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 24px 70px rgba(6, 23, 42, .2);
}
.ts-news-dialog[open] { display: grid; }
.ts-news-dialog::backdrop { background: rgba(6, 23, 42, .68); }
.ts-news-dialog-bar {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: flex-end;
    padding: 2px 12px;
    border-bottom: 0;
    background-color: rgb(var(--ts-news-scroll-rgb, 255, 255, 255));
    transition: none;
}
.ts-news-dialog-body { min-width: 0; min-height: 0; }
.ts-news-dialog iframe { display: block; width: 100%; height: 100%; border: 0; }
.ts-news-dialog-close {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--color-text-light);
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
}
.ts-news-dialog-close:hover {
    background: transparent;
    color: var(--color-text-light);
    box-shadow: 0 3px 12px rgba(9, 44, 78, .12);
}
.ts-news-dialog .ts-news-dialog-close:focus-visible {
    outline: 0;
    outline-offset: 0;
    background: transparent;
    color: var(--color-text-light);
    box-shadow: 0 0 0 2px rgba(15, 23, 42, .18);
}
.ts-news-dialog-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 12px 18px;
    border-radius: 8px;
    background: #fff;
    color: var(--color-primary);
    font-weight: 600;
}
.ts-news-dialog-loading[hidden] { display: none; }
.ts-news-dialog-error {
    position: absolute;
    top: 72px;
    right: 20px;
    left: 20px;
    padding: 20px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: #fff;
}
body.ts-news-modal-open { overflow: hidden; }
body.ts-news-embed { background-color: rgb(var(--ts-news-scroll-rgb, 255, 255, 255)); transition: none; }
body.ts-news-embed.ts-news-images-ready .ts-news-article img { opacity: 0; transition: opacity 220ms ease; }
body.ts-news-embed.ts-news-images-ready .ts-news-article img.is-loaded { opacity: 1; }

.ts-news-single { padding: clamp(2rem, 5vw, 4rem) 0 6rem; }
.ts-news-article { max-width: 900px; margin: auto; overflow-wrap: anywhere; }
.ts-news-back {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    margin-bottom: 2rem;
    color: var(--color-primary);
    font-weight: 600;
}
.ts-news-back:hover { text-decoration: underline; }
.ts-news-article header > time { display: block; margin-bottom: 6px; color: var(--color-text-light); font-size: .84rem; font-weight: 500; }
.ts-news-article h1 {
    font-family: var(--font-body);
    width: 100%;
    max-width: none;
    margin: 0;
    font-size: clamp(1.1rem, 2.6vw, 1.8rem);
    line-height: 1.2;
    letter-spacing: -0.035em;
    white-space: nowrap;
}
.ts-news-article header { margin-bottom: .75rem; padding: 0 0 .75rem; border: 0; border-bottom: 1px solid var(--color-border); }
.ts-news-article figure { overflow: hidden; margin: 2rem 0 0; border-radius: 10px; }
.ts-news-article figure img { display: block; width: 100%; height: auto; }
.ts-news-article .entry-content {
    max-width: 900px;
    margin: .75rem auto 0;
    padding: 0;
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    line-height: 1.78;
}
.ts-news-article .entry-content h2 { margin: 2rem 0 .7rem; padding: 0; font-size: 1rem; }
.ts-news-article .entry-content h2::after { display: none; }
.ts-news-article .entry-content ul { margin: 0; }
.ts-news-article .entry-content li { margin: 0 0 .45rem; }
.ts-news-article .entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.ts-news-embed .ts-news-single { margin: 0 !important; padding: 0 0 48px !important; }
.ts-news-embed .ts-news-article { max-width: 900px; margin-top: 0 !important; }
.ts-news-embed .ts-news-article header { margin-top: 0 !important; padding-right: 45px; }
.ts-news-embed .ts-news-lead.entry-content { margin: 1.25rem auto 0; }
.ts-news-embed .ts-news-lead.entry-content > p:first-child { margin-top: 0; }

@media (max-width: 600px) {
    .ts-news-hero__inner { grid-template-columns: 1fr; gap: 16px; min-height: 0; padding-top: 0; padding-bottom: 1.75rem; }
    .ts-news-page .ts-news-hero .page-title { font-size: clamp(2.7rem, 10vw, 3.8rem); }
    .ts-news-hero .ts-news-intro.entry-content { padding-left: 18px; font-size: 1.05rem; }
    .ts-news-layout { padding-top: 3rem; padding-bottom: 4rem; }
    .ts-news-item { padding: 22px; border-radius: 16px; }
    .ts-news-item__meta { font-size: .82rem; }
    .ts-news-item h2 { font-size: clamp(1.25rem, 5.3vw, 1.55rem); }
    .ts-news-item__excerpt { font-size: .96rem; }
    .ts-news-item.has-thumbnail .ts-news-item__body { display: block; }
    .ts-news-item__media { width: min(100%, 360px); margin: 14px 0 8px; }
    .ts-news-item__media img { aspect-ratio: 4 / 3; }

    .ts-news-dialog { width: 100vw; height: 100dvh; border-radius: 0; }
    .ts-news-dialog-bar { min-height: 46px; padding-left: 12px; }
    .ts-news-single { padding: 0 0 4rem; }
    .ts-news-article h1 { white-space: normal; font-size: clamp(1.35rem, 5vw, 1.8rem); }
}
@media (prefers-reduced-motion: reduce) {
    body.ts-news-embed { transition: none; }
    .ts-news-more span, .ts-news-item__media img, .ts-news-item { transition: none; }
}
/* Přehled spolupráce a zdrojové odkazy jsou běžné editovatelné Gutenberg bloky. */
.ts-news-article .entry-content h2.ts-news-section-title {
    margin: 3.2rem 0 1.5rem;
    padding: 0 0 14px;
    color: var(--color-dark);
    font-size: clamp(1.45rem, 3vw, 1.9rem);
    line-height: 1.25;
}
.ts-news-article .entry-content h2.ts-news-section-title::after {
    display: block;
    width: 42px;
    height: 3px;
    background: var(--color-secondary);
}
.ts-news-article .entry-content .ts-news-compare {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0 0 2.5rem;
}
.ts-news-article .entry-content .ts-news-compare > .wp-block-column {
    min-width: 0;
    margin: 0;
    padding: 22px 24px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: var(--color-bg-light);
}
.ts-news-article .entry-content .ts-news-compare > .wp-block-column:first-child { border-top: 3px solid var(--color-secondary); }
.ts-news-article .entry-content .ts-news-compare > .wp-block-column:last-child { border-top: 3px solid var(--color-primary); }
.ts-news-article .entry-content .ts-news-compare h3 {
    margin: 0 0 18px;
    color: var(--color-dark);
    font-size: 1rem;
}
.ts-news-article .entry-content .ts-news-point {
    position: relative;
    margin: 0 0 14px;
    padding-left: 19px;
    font-size: .94rem;
    line-height: 1.58;
}
.ts-news-article .entry-content .ts-news-point:last-child { margin-bottom: 0; }
.ts-news-point::before {
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
    content: '•';
}
.ts-news-article .entry-content .ts-news-sources { margin: 2.5rem 0 0; }
.ts-news-article .entry-content .ts-news-sources h2 {
    margin: 0 0 1rem;
    color: var(--color-dark);
    font-size: 1.25rem;
}
.ts-news-article .entry-content .ts-news-source {
    margin: 0 0 10px;
    padding: 15px 18px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: #fff;
}
.ts-news-article .entry-content .ts-news-source p { margin: 0; }
.ts-news-article .entry-content .ts-news-source p:first-child { font-weight: 700; }
.ts-news-article .entry-content .ts-news-source p:last-child {
    margin-top: 3px;
    color: var(--color-text-light);
    font-size: .88rem;
    line-height: 1.5;
}
@media (max-width: 650px) {
    .ts-news-article .entry-content .ts-news-compare { grid-template-columns: 1fr; }
    .ts-news-article .entry-content .ts-news-compare > .wp-block-column { padding: 18px 20px; }
}
.ts-news-article .entry-content .ts-news-documents { display: grid; gap: 10px; margin: 0 0 2.8rem; }
.ts-news-article .entry-content .ts-news-document {
    position: relative;
    margin: 0;
    padding: 15px 18px 15px 52px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: #fff;
}
.ts-news-document::before {
    position: absolute;
    top: 17px;
    left: 18px;
    color: var(--color-primary);
    font-size: 1.15rem;
    font-weight: 700;
    content: '↓';
}
.ts-news-article .entry-content .ts-news-document p { margin: 0; }
.ts-news-article .entry-content .ts-news-document p:first-child { font-weight: 700; }
.ts-news-article .entry-content .ts-news-document p:last-child {
    margin-top: 3px;
    color: var(--color-text-light);
    font-size: .88rem;
    line-height: 1.5;
}
.ts-news-article .entry-content .ts-news-safety {
    margin: 2.8rem 0;
    padding: clamp(22px, 3.2vw, 32px);
    border: 1px solid #d8e4ef;
    border-top: 4px solid var(--color-secondary);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(9, 44, 78, .07), 0 -5px 18px rgba(243, 156, 18, .08);
}
.ts-news-article .entry-content .ts-news-safety h2 {
    margin: 0 0 16px;
    color: var(--color-primary);
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
    letter-spacing: -.02em;
}
.ts-news-article .entry-content .ts-news-safety h2::after {
    position: static;
    display: block;
    width: 52px;
    height: 4px;
    margin-top: 10px;
    border-radius: 2px;
    background: var(--color-secondary);
    content: '';
}
.ts-news-article .entry-content .ts-news-safety > .wp-block-group__inner-container > p {
    margin: 0 0 30px;
    padding: 14px 16px;
    border-left: 4px solid var(--color-secondary);
    border-radius: 0 8px 8px 0;
    background: #fff8e8;
}
.ts-news-article .entry-content .ts-news-accounts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ts-news-article .entry-content .ts-news-account {
    min-width: 0;
    padding: 16px 18px;
    border: 1px solid #e1e9f0;
    border-top: 3px solid var(--color-secondary);
    border-radius: 10px;
    background: linear-gradient(180deg, #fff8e8 0, #fff 48%);
    overflow-wrap: anywhere;
}
.ts-news-article .entry-content .ts-news-account p { margin: 0; }
.ts-news-article .entry-content .ts-news-account p:first-child {
    color: #8a5800;
    font-size: .73rem;
    font-weight: 700;
    letter-spacing: .06em;
}
.ts-news-article .entry-content .ts-news-account p:nth-child(2) {
    margin: 5px 0;
    color: var(--color-primary);
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    font-weight: 700;
}
.ts-news-article .entry-content .ts-news-account p:last-child {
    color: var(--color-text-light);
    font-size: .82rem;
}

@media (min-width: 601px) and (max-width: 900px) {
    .ts-news-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(250px, .9fr); gap: 30px; }
    .ts-news-page .ts-news-hero .page-title { font-size: clamp(3rem, 6vw, 4.3rem); }
}

@supports not (backdrop-filter: blur(1px)) {
    .ts-news-item { background: rgba(255, 255, 255, .9); }
}

.ts-news-article .ts-news-photo-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 1.5rem 0 2.5rem;
    padding: 0;
    list-style: none;
}
.ts-news-article .ts-news-photo-gallery .wp-block-image { margin: 0; overflow: hidden; border-radius: 10px; }
.ts-news-article .ts-news-photo-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 650px) {
    .ts-news-article .ts-news-photo-gallery { grid-template-columns: 1fr; gap: 12px; }
}

/* Jednotné přechody a jemný pohyb pro novinky. */
.ts-news-page, .ts-news-dialog, .ts-news-embed {
    --ts-news-radius: 16px;
    --ts-news-ease: cubic-bezier(.2, .7, .2, 1);
}
.ts-news-item { border-radius: var(--ts-news-radius); transition: box-shadow 240ms var(--ts-news-ease); }
.ts-news-item__media img { transition: none; }
.ts-news-more { transition: color 180ms var(--ts-news-ease); }
.ts-news-dialog[open] { animation: ts-news-dialog-enter 240ms var(--ts-news-ease) both; }
.ts-news-dialog[open].is-closing { animation: ts-news-dialog-exit 180ms ease both; }
.ts-news-dialog[open].is-closing::backdrop { animation: ts-news-backdrop-exit 180ms ease both; }
.ts-news-dialog::backdrop { animation: ts-news-backdrop-enter 220ms ease both; }
.ts-news-photo-gallery .wp-block-image { transition: transform 240ms var(--ts-news-ease), box-shadow 240ms var(--ts-news-ease); }
.ts-news-photo-gallery .wp-block-image:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(9, 44, 78, .14); }
@keyframes ts-news-dialog-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ts-news-dialog-exit { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(4px); } }
@keyframes ts-news-backdrop-enter { from { background: rgba(6, 23, 42, 0); } to { background: rgba(6, 23, 42, .68); } }
@keyframes ts-news-backdrop-exit { from { background: rgba(6, 23, 42, .68); } to { background: rgba(6, 23, 42, 0); } }
@media (prefers-reduced-motion: reduce) {
    .ts-news-item, .ts-news-item__media img, .ts-news-more, .ts-news-photo-gallery .wp-block-image, .ts-news-gallery-track, .ts-news-dialog[open], .ts-news-dialog::backdrop, .ts-news-dialog-bar { animation: none !important; transition: none !important; }
}

.ts-news-item.has-thumbnail:nth-child(even) .ts-news-item__body > header,
.ts-news-item.has-thumbnail:nth-child(even) .ts-news-item__excerpt,
.ts-news-item.has-thumbnail:nth-child(even) .ts-news-more { grid-column: 1; }
.ts-news-item.has-thumbnail:nth-child(even) .ts-news-item__media { grid-column: 2; }
.ts-news-preview-badge {
    display: inline-flex;
    margin: 0 0 10px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(243, 156, 18, .15);
    color: var(--color-primary-dark);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
}

.ts-news-item__media--placeholder {
    width: min(100%, 220px);
    justify-self: center;
    aspect-ratio: 1;
    background: var(--color-primary);
}

.ts-news-item__media--placeholder.is-two {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    aspect-ratio: auto;
    overflow: visible;
    background: transparent;
}
.ts-news-item__media--placeholder.is-two span {
    display: block;
    aspect-ratio: 1;
    border-radius: 8px;
    background: var(--color-primary);
}

.ts-news-article .entry-content .ts-news-sources h2 {
    margin-bottom: .75rem;
    color: var(--color-text);
    font-size: 1.05rem;
    font-weight: 600;
}
.ts-news-article .entry-content .ts-news-source {
    margin: 0;
    padding: 9px 0 9px 14px;
    border: 0;
    border-left: 2px solid rgba(10, 77, 140, .16);
    border-radius: 0;
    background: transparent;
}
.ts-news-article .entry-content .ts-news-source p:first-child { font-weight: 500; }
.ts-news-article .entry-content .ts-news-source a { text-decoration: none; }
.ts-news-article .entry-content .ts-news-source a:hover,
.ts-news-article .entry-content .ts-news-source a:focus-visible { text-decoration: underline; }

.ts-news-embed .ts-news-article .entry-content > p,
.ts-news-embed .ts-news-article .entry-content > h2,
.ts-news-embed .ts-news-article .entry-content > .ts-news-compare,
.ts-news-embed .ts-news-article .entry-content > .ts-news-photo-gallery,
.ts-news-embed .ts-news-article .entry-content > .ts-news-documents,
.ts-news-embed .ts-news-article .entry-content > .ts-news-safety,
.ts-news-embed .ts-news-article .entry-content > figure,
.ts-news-embed .ts-news-article .entry-content > .ts-news-sources {
    max-width: 780px;
    margin-right: auto;
    margin-left: auto;
}

body.ts-news-embed .ts-news-article .entry-content .ts-news-accounts {
    display: block;
    width: 100%;
    max-width: none;
}
body.ts-news-embed .ts-news-article .entry-content .ts-news-accounts > .wp-block-group__inner-container {
    display: grid;
    width: 100%;
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
body.ts-news-embed .ts-news-article .entry-content .ts-news-accounts .ts-news-account {
    width: 100%;
}
@media (max-width: 600px) {
    body.ts-news-embed .ts-news-article .entry-content .ts-news-accounts > .wp-block-group__inner-container {
        grid-template-columns: 1fr;
    }
}

.ts-news-photo-gallery.is-carousel {
    position: relative;
    display: block;
    overflow: visible;
    margin-right: auto;
    margin-left: auto;
    border-radius: 0;
}
.ts-news-gallery-viewport {
    overflow: hidden;
    border-radius: 12px;
}
.ts-news-gallery-track {
    display: flex;
    width: 100%;
    transition: transform 650ms cubic-bezier(.22, .75, .25, 1);
    touch-action: pan-y;
}
.ts-news-photo-gallery.is-carousel .ts-news-gallery-slide {
    flex: 0 0 100%;
    width: 100%;
    aspect-ratio: 3 / 2;
    margin: 0;
    overflow: hidden;
    border-radius: 0;
    background: #f3f5f7;
}
.ts-news-photo-gallery.is-carousel .ts-news-gallery-slide img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: contain;
}
.ts-news-photo-gallery.is-carousel .ts-news-gallery-slide:hover {
    transform: none;
    box-shadow: none;
}
.ts-news-gallery-arrow {
    position: absolute;
    z-index: 2;
    top: calc(50% - 19px);
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(10, 77, 140, .12);
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 4px 14px rgba(9, 44, 78, .14);
    color: var(--color-primary);
    font: 400 30px/1 var(--font-body);
    cursor: pointer;
    transform: translateY(-50%);
}
.ts-news-gallery-arrow:hover { background: #fff; color: var(--color-primary-dark); }
.ts-news-gallery-arrow.is-previous { left: 16px; }
.ts-news-gallery-arrow.is-next { right: 16px; }
.ts-news-gallery-dots { display: flex; min-height: 38px; align-items: center; justify-content: center; gap: 8px; }
.ts-news-gallery-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #cbd5df;
    cursor: pointer;
    transition: width 220ms ease, background-color 220ms ease;
}
.ts-news-gallery-dot[aria-current="true"] { width: 22px; border-radius: 8px; background: var(--color-primary); }
@media (min-width: 701px) {
    .ts-news-embed .ts-news-article .entry-content > .ts-news-photo-gallery.is-carousel,
    .ts-news-article .entry-content > .ts-news-photo-gallery.is-carousel {
        max-width: 900px;
    }
    .ts-news-photo-gallery.is-carousel .ts-news-gallery-viewport {
        margin-right: 60px;
        margin-left: 60px;
    }
    .ts-news-gallery-arrow.is-previous { left: 8px; }
    .ts-news-gallery-arrow.is-next { right: 8px; }
}
@media (max-width: 600px) {
    .ts-news-gallery-arrow { width: 40px; height: 40px; }
    .ts-news-gallery-arrow.is-previous { left: 10px; }
    .ts-news-gallery-arrow.is-next { right: 10px; }
    .ts-news-gallery-dots { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
    .ts-news-gallery-track, .ts-news-gallery-dot { transition: none; }
}

html.ts-news-embed-document {
    scroll-behavior: auto !important;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
}
html.ts-news-embed-document body {
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
}
@media (prefers-reduced-motion: reduce) {
    .ts-news-dialog[open].is-closing,
    .ts-news-dialog[open].is-closing::backdrop,
    body.ts-news-embed.ts-news-images-ready .ts-news-article img { animation: none !important; transition: none !important; }
}
