/*
Theme Name: Kreml Clean
Version: 1.4.0
Description: Чистая совместимая тема для перенесённого архива kreml.tv.
*/
*{box-sizing:border-box}body{margin:0;background:#292929;background-image:linear-gradient(90deg,transparent 98%,#ffffff04 98%),linear-gradient(0deg,transparent 96%,#ffffff04 96%);background-size:160px 70px;color:#eee;font:16px/1.6 Arial,sans-serif}a{color:inherit;text-decoration:none}a:hover{color:#86bb73}a:focus-visible,button:focus-visible{outline:2px solid #a4d493;outline-offset:4px}.shell{max-width:1100px;margin:auto;padding:0 24px}.top ul{display:flex;justify-content:flex-end;gap:24px;list-style:none;font-size:13px;color:#aaa}.brand{display:flex;align-items:center;height:180px;position:relative;width:max-content}.brand img{width:195px;height:180px;object-fit:contain;position:absolute;left:-15px;opacity:.6}.brand span{position:relative;font-size:58px;font-weight:300;letter-spacing:3px;margin-left:45px}.nav-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.nav-row nav>ul{display:flex;list-style:none;gap:8px;padding:0;margin:0;font-size:14px}.menu li{position:relative}.menu li a{display:block;padding:10px}.menu .sub-menu{display:none;position:absolute;z-index:9;min-width:210px;background:#171717;list-style:none;padding:8px;box-shadow:0 4px 14px #0006}.menu li:hover>.sub-menu,.menu li:focus-within>.sub-menu{display:block}.sub-menu .sub-menu{left:100%;top:0}input,textarea,button{font:inherit}input[type=search],input[type=text],input[type=email],input[type=url],textarea{background:#171717;color:#eee;border:1px solid #555;padding:9px;max-width:100%}button,input[type=submit]{background:#333;color:#eee;border:1px solid #777;padding:9px;cursor:pointer}.section-title{font-size:22px;background:#ffffff05;padding:12px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.card{background:#1c1c1cd9}.thumb{display:block;position:relative;aspect-ratio:16/9;overflow:hidden;background:#171717}.thumb img{width:100%;height:100%;object-fit:cover}.play{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;font-size:40px;color:#ffffffc9;text-shadow:0 2px 6px #000}.no-thumb{display:flex;height:100%;align-items:center;justify-content:center;letter-spacing:2px;color:#777}.card-body{padding:16px}.card h2{font-size:18px;line-height:1.4;margin:6px 0}.categories{font-size:12px;text-transform:uppercase;color:#85bb78;line-height:1.5}.card time,.date{font-size:13px;color:#999}article.single{background:#171717dd;padding:30px}article.single h1{font-size:32px;line-height:1.3}.article-content{font-size:18px;overflow-wrap:anywhere}.article-content img{max-width:100%;height:auto}.article-content iframe,.article-content video{max-width:100%}.kreml-player,.youtube-player{width:100%;aspect-ratio:16/9;border:0;background:#000}.player-status{color:#c7bfa9}.kreml-video-links{font-size:14px;overflow-wrap:anywhere}.kreml-video-links h2{font-size:18px}.author{color:#aaa}.navigation{padding:24px}.page-numbers{display:inline-block;padding:10px}footer{margin:40px 0;color:#aaa;font-size:13px}.skip{position:absolute;left:-9999px}.skip:focus{left:20px;top:10px;z-index:99;background:#111;padding:12px}#comments{border-top:1px solid #444;padding-top:24px}#comments ol{padding-left:20px}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px)}@media(max-width:800px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.nav-row{display:block}.nav-row nav>ul{flex-wrap:wrap}.nav-row form{margin-top:12px}.top ul{gap:6px;flex-wrap:wrap}.shell{padding:0 14px}}@media(max-width:500px){.cards{grid-template-columns:1fr;gap:20px}.brand span{font-size:43px;margin-left:30px}.brand{height:145px}.brand img{height:140px;width:150px}article.single{padding:18px}article.single h1{font-size:26px}.article-content{font-size:16px}}

.hero{display:grid;grid-template-columns:3fr 2fr;gap:24px;background:#171717;padding:20px;margin:10px 0 35px}.hero-image{position:relative;display:block}.hero-image img{width:100%;height:100%;max-height:340px;object-fit:cover}.hero h2{font-size:29px;line-height:1.35;margin:10px 0}@media(max-width:650px){.hero{grid-template-columns:1fr}.hero h2{font-size:24px}}

/* Original Videozoom Child dimensions and screenshot reference. */
body{font-family:Arial,Helvetica,Tahoma,sans-serif;font-size:12px;background-color:#282828}.shell{max-width:960px;padding:0}.top ul{font-size:11px;justify-content:flex-start;margin-left:110px;gap:24px}.brand{height:150px}.brand img{width:220px;height:190px;left:-75px;top:-30px}.brand span{font-size:58px;margin-left:0;letter-spacing:0}.nav-row{margin-bottom:25px;margin-left:110px}.nav-row nav>ul{font-size:13px;font-weight:bold}.section-title{font-size:18px;padding:10px 20px;margin:0 0 30px;background:#0000001a}.cards{grid-template-columns:repeat(3,215px);gap:30px 27px}.card{background:#0000001a}.card-body{padding:12px 15px}.card h2{font-size:14px;font-weight:bold;line-height:1.35}.card time{font-size:11px}.categories{font-size:10px;color:#99ff99}.card .play{opacity:0}.card .thumb:hover .play{opacity:1}.more-link,.card-body>p:last-child a{display:inline-block;background:#2e2e2e;padding:8px 15px;font-size:11px;font-weight:bold;color:#fff;border-radius:3px}.featured-carousel{position:relative;margin-bottom:40px;background:#1f1f1f;border-radius:3px;padding:15px}.hero{grid-template-columns:minmax(0,560px) minmax(0,1fr);gap:25px;padding:0;margin:0;background:transparent;min-height:315px}.hero[hidden]{display:none}.hero-image{aspect-ratio:16/9}.hero-image img{height:315px;max-height:none}.hero h2{font-size:30px;font-weight:normal;line-height:1.3;margin:8px 0 10px}.hero-body p{color:#aaa;line-height:1.6}.hero-body .categories,.hero-body .categories a{color:#99ff99}.hero-body .date{font-size:11px;margin:0 0 4px}.hero-body .categories{margin:0 0 5px}.carousel-arrow{position:absolute;top:42%;padding:0;background:transparent;border:0;color:#aaa;font:42px/1 Arial;width:24px;height:44px}.carousel-prev{left:-22px}.carousel-next{right:-22px}.carousel-toggle{position:absolute;right:5px;bottom:3px;border:0;background:transparent;font-size:11px;padding:2px 5px;color:#999}.featured-carousel:focus-visible{outline:2px solid #99ff99}.hero-image .play{font-size:60px}article.single h1{font-weight:normal}article.single{background:#0000001a}.article-content{font-size:14px}
@media(max-width:1000px){.shell{padding:0 24px}.cards{grid-template-columns:repeat(3,minmax(0,1fr))}.hero{grid-template-columns:3fr 2fr}.hero-image img{height:auto}.hero{min-height:0}.hero h2{font-size:25px}}
@media(max-width:700px){.top ul,.nav-row{margin-left:0}.brand{margin-left:55px}.hero{grid-template-columns:1fr}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-image img{width:100%;height:auto}.hero h2{font-size:24px}.carousel-arrow{top:22%}}
@media(max-width:500px){.shell{padding:0 20px}.cards{grid-template-columns:1fr}.top ul{gap:8px}.brand span{font-size:43px}.brand img{width:170px;height:145px;left:-50px;top:-10px}.brand{height:130px}.featured-carousel{padding:12px}.carousel-prev{left:-18px}.carousel-next{right:-18px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.featured-slide>*{min-width:0}.hero-image img{max-width:100%}.hero-body{overflow-wrap:anywhere}.nav-row nav{min-width:0}

.featured-slide{position:relative}.featured-play{position:absolute;left:0;top:0;width:60.2%;aspect-ratio:16/9;max-height:315px;background:transparent;border:0;color:#fff;font-size:60px;text-shadow:0 2px 5px #000}.featured-play:hover{background:#0001}.featured-media{grid-column:1;min-width:0}.featured-media video{width:100%;aspect-ratio:16/9}.hero-image[hidden],.featured-media[hidden],.featured-play[hidden]{display:none}.hero-body{grid-column:2;grid-row:1}.nav-row nav>ul>li{white-space:nowrap}.nav-row form{display:flex;gap:4px}.nav-row input[type=search]{width:140px}.nav-row{gap:12px}.brand img{opacity:.6}@media(max-width:700px){.featured-play{width:100%;max-height:none}.hero-body{grid-column:1;grid-row:2}.nav-row nav>ul{white-space:normal}.nav-row form{margin-top:10px}}

body{background-image:url('assets/le_0.jpg');background-size:cover;background-position:center center;background-attachment:fixed;background-repeat:no-repeat}.brand .brand-wordmark{position:relative;left:0;top:0;width:235px;height:auto;opacity:1;object-fit:contain}.featured-slide.is-entering{animation:kreml-slide-in .6s ease}@keyframes kreml-slide-in{from{opacity:.5;transform:translateX(15px)}to{opacity:1;transform:translateX(0)}}@media(prefers-reduced-motion:reduce){.featured-slide.is-entering{animation:none}}@media(max-width:500px){.brand .brand-wordmark{width:180px}}

.nav-row nav>ul{gap:0;font-size:12px}.nav-row .menu li a{padding:8px}.nav-row nav{flex:1}.nav-row form{flex:0 0 170px}.nav-row input[type=search]{width:110px}@media(max-width:800px){.nav-row form{width:max-content}}

/* Match the original header and archive thumbnails. */
.brand{height:85px}.brand>img:not(.brand-wordmark){width:243px;height:232px;left:-90px;top:-55px;opacity:1}.brand .brand-wordmark{width:246px;height:70px}.nav-row{margin-bottom:22px}.nav-row nav>ul>li.menu-item-has-children>a:after{content:"⌄";margin-left:5px;font-size:12px}.nav-row .current-menu-item>a{background:#1f1f1f;border-radius:3px}.nav-row form{position:relative;flex-basis:150px}.nav-row form input[type=search]{width:150px;border:0;border-radius:3px;padding:10px 12px 10px 32px;font-size:12px}.nav-row form:before{content:"⌕";position:absolute;left:10px;top:2px;font-size:26px;color:#ddd}.nav-row form input[type=submit]{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;padding:0;border:0}.nav-row form input[type=submit]:focus{position:relative;clip-path:none;width:auto;height:auto;padding:8px}.thumb{aspect-ratio:215/150}.card time{font-size:11px}.hero-body .date,.hero-body .categories{display:inline;font-size:11px;text-transform:none}.hero-body .date{margin-right:8px}.card-body{padding:12px 15px}.cards{row-gap:35px}body{background-color:#171717}@media(max-width:500px){.brand{height:105px}.brand .brand-wordmark{width:180px;height:auto}.brand>img:not(.brand-wordmark){width:170px;height:163px;left:-55px;top:-30px}.nav-row form{width:150px}}

.top ul{padding:0}.thumb img{border-radius:3px 3px 0 0}.thumb:hover img{opacity:.7;transition:opacity .25s ease}

/* Unified logo: the two original assets have one immutable coordinate system. */
.shell header a.brand{display:block;position:relative;width:336px;max-width:100%;height:auto;margin:4px 0 18px 0}.shell header a.brand>img.brand-logo{display:block;position:static;width:100%;height:auto;left:auto;top:auto;opacity:1;object-fit:contain}.featured-slides{position:relative;overflow:hidden}.featured-slide.is-sliding{position:absolute;top:0;left:0;width:100%;margin:0}.featured-slide.is-entering{animation:none}.kreml-share{position:relative;margin:12px 0;font-size:13px}.kreml-share summary{cursor:pointer;display:list-item;color:#99ff99}.kreml-share-panel{padding:12px;background:#171717;border:1px solid #444}.kreml-share label{display:block;margin:8px 0}.kreml-share textarea{display:block;width:100%;height:90px;font:12px/1.4 monospace}.kreml-share button{margin-right:8px}.share-status{display:block;color:#aaa;margin:8px 0}
@media(min-width:1200px){.shell header a.brand{margin-left:-90px}}@media(max-width:500px){.shell header a.brand{width:260px;margin:8px 0 16px}}

/* Logo geometry matched to user reference kreml_tv.jpg. */
.shell header a.brand{width:349px}
@media(max-width:500px){.shell header a.brand{width:260px}}

/* Internal pages: original Videozoom 715/225 columns; avoid styling body.single. */
.publication-layout{display:grid;grid-template-columns:minmax(0,715px) minmax(0,225px);gap:20px}.publication-main{min-width:0}article.single{padding:0;background:transparent}article.single h1.entry-title{font-size:36px;font-weight:normal;line-height:1.3;margin:0 0 20px;padding:0 0 15px;border-bottom:1px solid #333}.zoomvideo{margin:0 0 20px}.post-meta{font-size:11px;color:#999;margin:0 0 10px}.post-meta .categories{font-size:10px;text-transform:none}.article-content.entry-content{font-size:16px;color:#eee;line-height:1.8}.article-content.entry-content a,.article-tags a{color:#99ff99}.article-tags{font-size:12px;margin:20px 0}.post-author{padding:20px;margin:15px 0 0;border-top:1px solid #333}.post-author span{font-size:14px;color:#ccc}.post-author p{font-size:12px}.sidebar-widget{margin-bottom:35px;overflow-wrap:anywhere}.sidebar-widget .title{font-size:18px;font-weight:normal;margin:0 0 15px;padding:0 0 10px;border-bottom:1px solid #333}.sidebar-widget ul{padding-left:0;list-style:none;font-size:12px}.sidebar-widget li{margin-bottom:10px}.sidebar-widget a{color:#99ff99}.sidebar-widget table{width:100%;font-size:12px;text-align:center}.sidebar-widget caption{padding:8px}.tagcloud a{display:inline-block;margin-right:4px;line-height:1.5}#comments{margin:40px 0 0;padding-top:0;border-top:0}#comments h2,.comment-reply-title{font-size:26px;font-weight:normal;margin:0 0 30px}.comment-form label{display:block;font-size:12px}.comment-form textarea{width:100%;height:130px}.comment-form-comment{margin-bottom:20px}.comment-list{list-style:none;background:#0004;padding:20px!important}.comment-list li{margin:0 0 20px}.comment-form-author,.comment-form-email,.comment-form-url{display:inline-block;vertical-align:top;width:31%;margin-right:2%}.comment-form input:not([type=checkbox]):not([type=submit]){width:100%}.comment-notes{font-size:12px;font-style:italic}
@media(min-width:1000px){.shell header a.brand{height:72px}.shell header a.brand>img.brand-logo{position:absolute;top:-82px;left:0;width:349px;height:232px}}
@media(max-width:800px){.publication-layout{grid-template-columns:minmax(0,1fr)}.publication-sidebar{margin-top:35px}article.single h1.entry-title{font-size:28px}}
@media(max-width:500px){.comment-form-author,.comment-form-email,.comment-form-url{display:block;width:100%;margin-right:0}article.single h1.entry-title{font-size:26px}}

/* Match original article/form and listing details. */
article.single h1.entry-title{font-weight:600}.post-meta>a{color:#99ff99}.sidebar-widget h3.title{font-weight:600}.comment-form-author,.comment-form-email,.comment-form-url{display:block;width:40%;margin-right:0}.comment-form textarea,.comment-form input:not([type=checkbox]):not([type=submit]){background:#252525;border-color:#333}.cards{align-items:start}.navigation.pagination{position:relative;margin-top:40px;padding:12px 110px;text-align:center;background:#0002;font-size:16px;font-weight:600}.navigation.pagination .prev{position:absolute;left:15px}.navigation.pagination .next{position:absolute;right:15px}.navigation.pagination .page-numbers{padding:2px 8px}footer{border-top:1px solid #333;padding-top:35px;margin-top:100px;font-size:12px}
@media(max-width:500px){.comment-form-author,.comment-form-email,.comment-form-url{width:100%}.navigation.pagination{padding:12px 0 45px}.navigation.pagination .prev,.navigation.pagination .next{bottom:10px}}

/* Branding stays inside the copied player and its fullscreen container. */
.kreml-player-frame{position:relative;width:100%;aspect-ratio:16/9;background:#000}.kreml-player-frame video{display:block;width:100%;height:100%;object-fit:contain}.kreml-watermark{position:absolute;left:12px;top:12px;z-index:3;line-height:0;opacity:.85}.kreml-watermark img{display:block;width:100px;height:69px;max-width:20vw;object-fit:contain}.kreml-fullscreen{position:absolute;right:10px;top:12px;z-index:4;padding:3px 7px;font-size:22px;line-height:1.2;background:#171717a8;border:1px solid #aaa;border-radius:3px}.kreml-player-frame:fullscreen{width:100vw;height:100vh;aspect-ratio:auto}.kreml-player-frame:fullscreen video{width:100%;height:100%;object-fit:contain}

.kreml-fullscreen svg{display:block}.kreml-player::-webkit-media-controls-fullscreen-button{display:none!important}
