/* Einfach Haltbar – EN Master LIVE v1.0.3
   Shell-only bridge for existing English single posts.
   The current Core/article owner remains responsible for the article body. */
body.eh-en-master-article-shell .eh-site-header,
body.eh-en-master-article-shell .eh-site-footer,
body.eh-en-master-article-shell .wp-site-blocks > header.wp-block-template-part,
body.eh-en-master-article-shell .wp-site-blocks > footer.wp-block-template-part{
  display:none!important;
}
/* The old theme emits German skip links before the article shell. Replace them with one EN link. */
body.eh-en-master-article-shell > .eh-skip-link,
body.eh-en-master-article-shell > #wp-skip-link{
  display:none!important;
}
body.eh-en-master-article-shell .eh7-skip-link{
  position:fixed;
  left:12px;
  top:8px;
  z-index:1300;
  transform:translateY(-160%);
  padding:10px 14px;
  border-radius:999px;
  background:#063f35;
  color:#fff!important;
  font:800 13px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  text-decoration:none!important;
  transition:transform .15s ease;
}
body.eh-en-master-article-shell .eh7-skip-link:focus{
  transform:translateY(0);
  outline:3px solid rgba(214,101,29,.45);
  outline-offset:2px;
}
body.eh-en-master-article-shell .eh7-nav,
body.eh-en-master-article-shell .eh7-footer{
  box-sizing:border-box;
}
body.eh-en-master-article-shell .eh7-footer{
  margin-top:clamp(3.5rem,6vw,6rem)!important;
}
/* The legacy theme can add top spacing assuming its own header is visible. */
body.eh-en-master-article-shell .wp-site-blocks{
  padding-top:0!important;
}

/* v1.0.3: the current Core and legacy EN owners can emit the same .eh7-nav/.eh7-footer
   classes as the EN shell. Keep only the shell explicitly marked by this master. */
body.eh-en-master-article-shell .eh7-nav:not([data-eh-en-parity]),
body.eh-en-master-article-shell .eh7-footer:not([data-eh-en-parity]){
  display:none!important;
}

/* v1.0.3 — Core 2.27.x canonical navigation isolation.
   Core 2.27.11+ uses .eh-xm-nav-root, not the old .eh7-nav family. On confirmed
   EN article requests the DE Core owner must never remain visible beside the EN shell. */
html.eh-en-article-shell-head .eh-xm-nav-root,
body.eh-en-master-article-shell .eh-xm-nav-root,
html.eh-en-article-shell-head header:has(.eh-xm-nav-root),
body.eh-en-master-article-shell header:has(.eh-xm-nav-root){
  display:none!important;
}
