/* OD-MERA-START */
/* Speciál k Meře v4c: vizuál „Ruský vliv se slevou“, tlačítko pod logem Mere, mobil 40px.
   Titulek: Anton (OFL), jeden řádek přes šířku. Loga po stranách palety.
   Žádné article.c-card. */
@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-mera{
  --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;
}
@media (min-width:64em){
  .nh-mera{padding:56px 0 72px}
}
@media (max-width:39.99em){
  .nh-mera{padding:36px 0 44px}
}
.nh-mera__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-mera .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-mera .nh-inner{padding:0 32px}
}
.nh-mera__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-mera__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-mera__stitek{margin:0 0 2.15rem}
}
.nh-mera__video{min-width:0;margin:0 0 1.35rem}
@media (min-width:64em){
  .nh-mera__video{margin:0 0 1.6rem}
}
.nh-mera__frame{
  position:relative;display:block;width:100%;aspect-ratio:16/9;
  overflow:hidden;background:#000;
}
.nh-mera__frame iframe,
.nh-mera__frame .nh-mera__facade img:first-child{
  position:absolute;inset:0;width:100%;height:100%;border:0;object-fit:cover;display:block
}
.nh-mera__facade{
  position:absolute;inset:0;display:block;width:100%;height:100%;
  padding:0;border:0;margin:0;background:#000;cursor:pointer;color:inherit;
}
.nh-mera__facade:focus-visible{outline:2px solid var(--mera-red);outline-offset:3px}
.nh-mera__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:nhMeraPulse 2.2s ease-out infinite;
}
.nh-mera__play i{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:#fff}
.nh-mera__play svg{width:22px;height:22px;margin-left:3px;fill:var(--mera-red)}
.nh-mera__facade:hover .nh-mera__play,.nh-mera__facade:focus-visible .nh-mera__play{transform:translate(-50%,0) scale(1.07)}
@keyframes nhMeraPulse{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-mera__play{animation:none}}
.nh-mera__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-mera .nh-mera__logo,
body.home-template .nh .nh-mera .nh-mera__logo{
  justify-self:center;
  width:auto!important;
  height:24%!important;
  max-width:80%!important;
  max-height:none!important;
  object-fit:contain;
  display:block;
}
.nh-mera__logo--od{grid-column:1}
.nh-mera__logo--pnf{grid-column:3}
@media (max-width:39.99em){
  .nh-mera .nh-mera__logo,
  body.home-template .nh .nh-mera .nh-mera__logo{
    height:32%!important;
    max-width:90%!important;
  }
  /* Pilulka „Přehrát reportáž“ i na mobilu, menší než desktop, pod logem Mere. */
  .nh-mera__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-mera__play i{width:32px;height:32px;background:#fff}
  .nh-mera__play svg{width:16px;height:16px;margin-left:2px;fill:var(--mera-red)}
}
.nh-mera__frame.is-playing .nh-mera__facade,
.nh-mera__frame.is-playing .nh-mera__brands{display:none}
.nh-mera__caption{margin:0 0 1.6rem}
@media (min-width:64em){
  .nh-mera__caption{margin:0 0 2rem}
}
.nh-mera__caption h2{
  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-mera__caption h2{
    font-size:var(--nh-size-hero,2.25rem);
    line-height:var(--nh-lh-hero,2.75rem);
    font-weight:600
  }
}
.nh-mera__caption p{
  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);margin:0
}
.nh-mera__texts{
  display:grid;grid-template-columns:1fr;gap:16px;min-width:0
}
@media (min-width:64em){
  .nh-mera__texts{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}
}
.nh-mera__item{
  display:flex;flex-direction:column;min-width:0;
  margin:0;padding:20px 22px 18px;
  background:var(--mera-card);
  border:1px solid var(--mera-card-border);
  border-top:2px solid var(--mera-red)
}
.nh-mera__item 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:0 0 8px;color:#fff
}
.nh-mera__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 10px;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden
}
.nh-mera__meta{
  display:flex;flex-wrap:wrap;gap:8px 14px;
  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)
}
.nh-mera__meta time{white-space:nowrap;color:var(--mera-muted)}
body.home-template .nh .nh-mera a,
body.home-template .nh .nh-mera a:visited{color:inherit;text-decoration:none}
body.home-template .nh .nh-mera 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-mera,
[data-user-color-scheme=dark] .nh-mera,
:root:not([data-user-color-scheme]).is-darkModeAdminSetting-enabled .nh-mera{
  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-mera .nh-mera__headline,
body.home-template .nh .nh-mera .nh-mera__headline span,
[data-user-color-scheme=light] body.home-template .nh .nh-mera .nh-mera__headline,
[data-user-color-scheme=light] body.home-template .nh .nh-mera .nh-mera__headline span,
[data-user-color-scheme=dark] body.home-template .nh .nh-mera .nh-mera__headline,
[data-user-color-scheme=dark] body.home-template .nh .nh-mera .nh-mera__headline span{
  color:#fff!important;
  font-family:"Anton",Impact,"Arial Narrow",sans-serif!important;
}
body.home-template .nh .nh-mera .nh-mera__stitek,
[data-user-color-scheme=light] body.home-template .nh .nh-mera .nh-mera__stitek,
[data-user-color-scheme=dark] body.home-template .nh .nh-mera .nh-mera__stitek{
  color:#fff!important;
  background:#e40605!important;
}
body.home-template .nh .nh-mera .nh-mera__caption h2,
body.home-template .nh .nh-mera .nh-mera__caption h2 a,
body.home-template .nh .nh-mera .nh-mera__item h3,
body.home-template .nh .nh-mera .nh-mera__item h3 a,
[data-user-color-scheme=light] body.home-template .nh .nh-mera .nh-mera__caption h2,
[data-user-color-scheme=light] body.home-template .nh .nh-mera .nh-mera__caption h2 a,
[data-user-color-scheme=light] body.home-template .nh .nh-mera .nh-mera__item h3,
[data-user-color-scheme=light] body.home-template .nh .nh-mera .nh-mera__item h3 a{
  color:#fff!important;
}
body.home-template .nh .nh-mera .nh-mera__perex,
body.home-template .nh .nh-mera .nh-mera__perex a,
[data-user-color-scheme=light] body.home-template .nh .nh-mera .nh-mera__perex,
[data-user-color-scheme=light] body.home-template .nh .nh-mera .nh-mera__perex a{
  color:#ececec!important;
}
body.home-template .nh .nh-mera .nh-mera__caption p,
body.home-template .nh .nh-mera .nh-mera__meta,
body.home-template .nh .nh-mera .nh-mera__meta time,
body.home-template .nh .nh-mera .nh-mera__meta a,
body.home-template .nh .nh-mera .nh-mera__meta span,
[data-user-color-scheme=light] body.home-template .nh .nh-mera .nh-mera__caption p,
[data-user-color-scheme=light] body.home-template .nh .nh-mera .nh-mera__meta,
[data-user-color-scheme=light] body.home-template .nh .nh-mera .nh-mera__meta time,
[data-user-color-scheme=light] body.home-template .nh .nh-mera .nh-mera__meta a,
[data-user-color-scheme=light] body.home-template .nh .nh-mera .nh-mera__meta span{
  color:#c8c8c8!important;
}
body.home-template .nh .nh-mera a:hover,
[data-user-color-scheme=light] body.home-template .nh .nh-mera a:hover{
  color:inherit!important;
  text-decoration-color:#e40605!important;
}
/* OD-MERA-END */
