/* Panel „Ruský vliv se slevou“ (téma v1.0.15, jen homepage).
   Vizuál přebírá živý horní box Mere (v4c): černé pozadí, škrábanec, Anton, červené #e40605,
   loga Odkryto.cz a Page Not Found po stranách palety, tlačítko Přehrát reportáž.
   Kořen je záměrně .nh-mspec a ne .nh-spec: funkce odNhSpecial maže první .nh-spec a smazala by i tenhle panel.
   Uvnitř nejsou žádné article.c-card (jinak by se rozbila logika reklam Seznamu).
   Box je v obou režimech webu černý. */
@font-face{
  font-family:"Anton";
  src:url("../od-mera/fonts/Anton-Regular.ttf") format("truetype");
  font-weight:400;
  font-style:normal;
  font-display:swap;
}
.nh-mspec{
  --mera-red:#e40605;
  --mera-fg:#fff;
  --mera-muted:#c8c8c8;
  --mera-perex:#ececec;
  --mera-card:#141414;
  --mera-card-border:#2c2c2c;
  position:relative;
  margin:0;
  padding:48px 0 56px;
  background:#000;
  color:var(--mera-fg);
  overflow:hidden;
  isolation:isolate;
  border:0;
}
@media (min-width:64em){
  .nh-mspec{padding:56px 0 72px}
}
@media (max-width:39.99em){
  .nh-mspec{padding:36px 0 44px}
}
.nh-mspec__grain{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;pointer-events:none;z-index:0;
  opacity:.28;mix-blend-mode:screen;
}
.nh-mspec .nh-inner{
  position:relative;z-index:1;
  width:100%;max-width:1400px;margin:0 auto;padding:0 20px;
  container-type:inline-size;
  container-name:merabox;
}
@media (min-width:64em){
  .nh-mspec .nh-inner{padding:0 32px}
}
.nh-mspec__headline{
  position:relative;z-index:1;
  font-family:"Anton",Impact,"Arial Narrow",sans-serif;
  font-weight:400;
  /* 8.42 ≈ Anton „RUSKÝ VLIV SE SLEVOU“ včetně rezervy, ať nepřeteče před JS */
  font-size:calc((100vw - 40px) / 8.42);
  line-height:.86;
  letter-spacing:0;
  text-transform:uppercase;
  color:#fff;
  margin:0 20px .5em;
  padding-top:.14em;
  width:auto;
  max-width:none;
  box-sizing:border-box;
  white-space:nowrap;
  overflow:visible;
}
.nh-mspec__stitek{
  display:inline-block;
  background:var(--mera-red);
  color:#fff;
  font-family:"Anton",Impact,"Arial Narrow",sans-serif;
  font-weight:400;
  font-size:clamp(.95rem, 2.05vw, 1.55rem);
  line-height:1;
  letter-spacing:.04em;
  text-transform:uppercase;
  padding:.48em .72em .4em;
  margin:0 0 1.75rem;
}
@media (min-width:64em){
  .nh-mspec__stitek{margin:0 0 2.15rem}
}
.nh-mspec__video{min-width:0;margin:0 0 1.35rem}
@media (min-width:64em){
  .nh-mspec__video{margin:0 0 1.6rem}
}
.nh-mspec__frame{
  position:relative;display:block;width:100%;aspect-ratio:16/9;
  overflow:hidden;background:#000;
}
.nh-mspec__frame iframe,
.nh-mspec__frame .nh-mspec__facade img:first-child{
  position:absolute;inset:0;width:100%;height:100%;border:0;object-fit:cover;display:block
}
.nh-mspec__facade{
  appearance:none;-webkit-appearance:none;
  position:absolute;inset:0;display:block;width:100%;height:100%;
  padding:0;border:0;margin:0;background:#000;cursor:pointer;color:inherit;
  font:inherit;text-align:left;
}
.nh-mspec__facade:focus-visible{outline:2px solid var(--mera-red);outline-offset:3px}
.nh-mspec__play{
  position:absolute;left:50%;top:auto;bottom:9%;transform:translate(-50%,0);
  display:inline-flex;align-items:center;gap:12px;
  padding:14px 26px 14px 16px;border-radius:999px;
  background:var(--mera-red);border:3px solid #fff;color:#fff;
  font:700 18px/1 Inter,system-ui,sans-serif;letter-spacing:.01em;white-space:nowrap;
  box-shadow:0 0 0 0 rgba(255,255,255,.55),0 6px 28px rgba(0,0,0,.55);
  z-index:3;transition:transform .2s ease;
  animation:nhMspecPulse 2.2s ease-out infinite;
}
.nh-mspec__play i{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:#fff}
.nh-mspec__play svg{width:22px;height:22px;margin-left:3px;fill:var(--mera-red)}
.nh-mspec__facade:hover .nh-mspec__play,.nh-mspec__facade:focus-visible .nh-mspec__play{transform:translate(-50%,0) scale(1.07)}
@keyframes nhMspecPulse{0%{box-shadow:0 0 0 0 rgba(255,255,255,.55),0 6px 28px rgba(0,0,0,.55)}70%{box-shadow:0 0 0 18px rgba(255,255,255,0),0 6px 28px rgba(0,0,0,.55)}100%{box-shadow:0 0 0 0 rgba(255,255,255,0),0 6px 28px rgba(0,0,0,.55)}}
@media (prefers-reduced-motion:reduce){.nh-mspec__play{animation:none}}
.nh-mspec__brands{
  position:absolute;
  inset:0 0 12% 0;
  display:grid;
  grid-template-columns:31fr 38fr 31fr;
  align-items:center;
  pointer-events:none;
  z-index:2;
}
.nh-mspec .nh-mspec__logo,
body.home-template .nh .nh-mspec .nh-mspec__logo{
  justify-self:center;
  width:auto!important;
  height:24%!important;
  max-width:80%!important;
  max-height:none!important;
  object-fit:contain;
  display:block;
}
.nh-mspec__logo--od{grid-column:1}
.nh-mspec__logo--pnf{grid-column:3}
@media (max-width:39.99em){
  .nh-mspec .nh-mspec__logo,
  body.home-template .nh .nh-mspec .nh-mspec__logo{
    height:32%!important;
    max-width:90%!important;
  }
  .nh-mspec__play{
    bottom:5%;
    padding:5px 12px 5px 5px;
    gap:8px;
    border-width:2px;
    font:700 14px/1 Inter,system-ui,sans-serif;
    letter-spacing:.01em;
    white-space:nowrap;
  }
  .nh-mspec__play i{width:32px;height:32px;background:#fff}
  .nh-mspec__play svg{width:16px;height:16px;margin-left:2px;fill:var(--mera-red)}
}
.nh-mspec__frame.is-playing .nh-mspec__facade,
.nh-mspec__frame.is-playing .nh-mspec__brands{display:none}
.nh-mspec__frame iframe{z-index:3}

/* hlavní reportáž pod videem */
.nh-mspec__lead{min-width:0;margin:0 0 1.75rem}
@media (min-width:64em){
  .nh-mspec__lead{margin:0 0 2.15rem}
}
.nh-mspec__lead h3{
  font-family:var(--nh-font-serif,"Source Serif 4",Charter,Georgia,serif);
  font-size:var(--nh-size-lead,1.25rem);
  line-height:var(--nh-lh-lead,1.625rem);
  font-weight:600;letter-spacing:0;margin:0 0 8px;color:#fff
}
@media (min-width:64em){
  .nh-mspec__lead h3{
    font-size:var(--nh-size-hero,2.25rem);
    line-height:var(--nh-lh-hero,2.75rem);
    font-weight:600
  }
}
.nh-mspec__perex{
  font-family:var(--nh-font-serif,"Source Serif 4",Charter,Georgia,serif);
  font-size:var(--nh-size-perex,1.0625rem);
  line-height:var(--nh-lh-perex,1.5rem);
  font-weight:400;color:var(--mera-perex);
  margin:0 0 14px
}
.nh-mspec__lead-meta{
  display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px
}
.nh-mspec__btn{
  display:inline-flex;align-items:center;
  font-family:var(--nh-font-sans,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif);
  font-size:.875rem;line-height:1.25rem;font-weight:700;
  padding:10px 18px;border-radius:6px;
  background:var(--mera-red);color:#fff;text-decoration:none
}
.nh-mspec__btn:hover{text-decoration:underline;text-decoration-color:#fff;text-underline-offset:.12em}
.nh-mspec__lead-meta time{
  font-family:var(--nh-font-sans,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif);
  font-size:var(--nh-size-meta,.75rem);
  line-height:var(--nh-lh-meta,1rem);
  font-weight:500;color:var(--mera-muted);white-space:nowrap
}

/* tři další texty: 1 sloupec na mobilu, 3 sloupce od 640 px (bez prázdné buňky) */
.nh-mspec__more{
  display:grid;grid-template-columns:1fr;gap:16px;min-width:0
}
@media (min-width:40em){
  .nh-mspec__more{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
}
@media (min-width:64em){
  .nh-mspec__more{gap:24px}
}
.nh-mspec__card{
  display:flex;flex-direction:column;min-width:0;
  margin:0;padding:0 0 16px;
  background:var(--mera-card);
  border:1px solid var(--mera-card-border);
  border-top:2px solid var(--mera-red)
}
.nh-mspec__card-media{display:block;margin:0}
.nh-mspec__card-media img{
  display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border:0;border-radius:0
}
.nh-mspec__card h3{
  font-family:var(--nh-font-serif,"Source Serif 4",Charter,Georgia,serif);
  font-size:var(--nh-size-card,1.125rem);
  line-height:var(--nh-lh-card,1.5rem);
  font-weight:600;letter-spacing:0;margin:12px 16px 8px;color:#fff
}
.nh-mspec__card time{
  display:block;margin:0 16px;
  font-family:var(--nh-font-sans,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif);
  font-size:var(--nh-size-meta,.75rem);
  line-height:var(--nh-lh-meta,1rem);
  font-weight:500;color:var(--mera-muted)
}

body.home-template .nh .nh-mspec a,
body.home-template .nh .nh-mspec a:visited{color:inherit;text-decoration:none}
body.home-template .nh .nh-mspec a:hover{
  color:inherit;
  text-decoration:underline;
  text-decoration-color:var(--mera-red);
  text-underline-offset:.12em
}

/* V obou režimech webu zůstává box černý */
[data-user-color-scheme=light] .nh-mspec,
[data-user-color-scheme=dark] .nh-mspec,
:root:not([data-user-color-scheme]).is-darkModeAdminSetting-enabled .nh-mspec{
  background:#000;color:#fff
}

/* Přepsat !important barvy živé homepage — box je vždy černý, text musí zůstat světlý. */
body.home-template .nh .nh-mspec .nh-mspec__headline,
body.home-template .nh .nh-mspec .nh-mspec__headline span,
[data-user-color-scheme=light] body.home-template .nh .nh-mspec .nh-mspec__headline,
[data-user-color-scheme=light] body.home-template .nh .nh-mspec .nh-mspec__headline span,
[data-user-color-scheme=dark] body.home-template .nh .nh-mspec .nh-mspec__headline,
[data-user-color-scheme=dark] body.home-template .nh .nh-mspec .nh-mspec__headline span{
  color:#fff!important;
  font-family:"Anton",Impact,"Arial Narrow",sans-serif!important;
}
body.home-template .nh .nh-mspec .nh-mspec__stitek,
[data-user-color-scheme=light] body.home-template .nh .nh-mspec .nh-mspec__stitek,
[data-user-color-scheme=dark] body.home-template .nh .nh-mspec .nh-mspec__stitek{
  color:#fff!important;
  background:#e40605!important;
}
body.home-template .nh .nh-mspec .nh-mspec__lead h3,
body.home-template .nh .nh-mspec .nh-mspec__lead h3 a,
body.home-template .nh .nh-mspec .nh-mspec__card h3,
body.home-template .nh .nh-mspec .nh-mspec__card h3 a,
[data-user-color-scheme=light] body.home-template .nh .nh-mspec .nh-mspec__lead h3,
[data-user-color-scheme=light] body.home-template .nh .nh-mspec .nh-mspec__lead h3 a,
[data-user-color-scheme=light] body.home-template .nh .nh-mspec .nh-mspec__card h3,
[data-user-color-scheme=light] body.home-template .nh .nh-mspec .nh-mspec__card h3 a{
  color:#fff!important;
  font-family:var(--nh-font-serif,"Source Serif 4",Charter,Georgia,serif)!important;
}
body.home-template .nh .nh-mspec .nh-mspec__perex,
body.home-template .nh .nh-mspec .nh-mspec__perex a,
[data-user-color-scheme=light] body.home-template .nh .nh-mspec .nh-mspec__perex,
[data-user-color-scheme=light] body.home-template .nh .nh-mspec .nh-mspec__perex a{
  color:#ececec!important;
}
body.home-template .nh .nh-mspec .nh-mspec__lead-meta time,
body.home-template .nh .nh-mspec .nh-mspec__card time,
body.home-template .nh .nh-mspec .nh-mspec__lead-meta,
[data-user-color-scheme=light] body.home-template .nh .nh-mspec .nh-mspec__lead-meta time,
[data-user-color-scheme=light] body.home-template .nh .nh-mspec .nh-mspec__card time,
[data-user-color-scheme=light] body.home-template .nh .nh-mspec .nh-mspec__lead-meta{
  color:#c8c8c8!important;
}
body.home-template .nh .nh-mspec a.nh-mspec__btn,
body.home-template .nh .nh-mspec a.nh-mspec__btn:hover,
body.home-template .nh .nh-mspec a.nh-mspec__btn:visited,
[data-user-color-scheme=light] body.home-template .nh .nh-mspec a.nh-mspec__btn,
[data-user-color-scheme=light] body.home-template .nh .nh-mspec a.nh-mspec__btn:hover,
[data-user-color-scheme=dark] body.home-template .nh .nh-mspec a.nh-mspec__btn,
[data-user-color-scheme=dark] body.home-template .nh .nh-mspec a.nh-mspec__btn:hover{
  color:#fff!important;
  background:#e40605!important;
}
body.home-template .nh .nh-mspec a.nh-mspec__btn:hover{
  text-decoration:underline!important;
  text-decoration-color:#fff!important;
}
body.home-template .nh .nh-mspec .nh-mspec__play,
body.home-template .nh .nh-mspec .nh-mspec__play,
[data-user-color-scheme=light] body.home-template .nh .nh-mspec .nh-mspec__play,
[data-user-color-scheme=dark] body.home-template .nh .nh-mspec .nh-mspec__play{
  color:#fff!important;
  background:#e40605!important;
}
body.home-template .nh .nh-mspec .nh-mspec__play svg{
  fill:#e40605!important
}
body.home-template .nh .nh-mspec .nh-mspec__card-media img,
[data-user-color-scheme=light] body.home-template .nh .nh-mspec .nh-mspec__card-media img{
  border-radius:0!important;width:100%!important;aspect-ratio:16/9!important;object-fit:cover!important
}
body.home-template .nh .nh-mspec a:hover,
[data-user-color-scheme=light] body.home-template .nh .nh-mspec a:hover{
  color:inherit!important;
  text-decoration-color:#e40605!important;
}
body.home-template .nh .nh-mspec a.nh-mspec__btn:hover{
  text-decoration-color:#fff!important
}
