/* #NEDLUHŮM V9.9.3.3 — final nightly polish */
:root{--ned9933-black:var(--ned-black);--ned9933-hero-h:620px}

/* HOME: no door artwork, no four-item trust row. One calm statement instead. */
.home .nedv4-hero-v47{
  min-height:var(--ned9933-hero-h)!important;
  background:var(--ned9933-black)!important;
}
.home .nedv4-hero-layout-v47{
  min-height:var(--ned9933-hero-h)!important;
  grid-template-columns:minmax(0,1.03fr) minmax(360px,.72fr)!important;
  grid-template-rows:1fr!important;
  column-gap:clamp(48px,8vw,150px)!important;
  align-items:center!important;
}
.home .nedv4-hero-layout-v47 .nedv4-hero-copy{grid-column:1;grid-row:1;padding:54px 0!important;max-width:760px}
.home .nedv9933-hero-statement{
  grid-column:2;grid-row:1;justify-self:center;align-self:center;
  width:min(390px,100%);padding:30px 22px;text-align:left;color:#fff;
}
.home .nedv9933-hero-statement span{
  position:relative;display:inline-block;font-family:"Segoe Print","Bradley Hand","Comic Sans MS",cursive;
  font-size:clamp(42px,4.6vw,72px);line-height:1.08;font-weight:500;letter-spacing:-.035em;transform:rotate(-3deg);
}
.home .nedv9933-hero-statement span:after{
  content:"";position:absolute;left:15%;right:-5%;bottom:-17px;height:5px;background:var(--red);border-radius:100%;transform:rotate(-5deg);
}

/* Internal HERO master: FPPP-like fixed desktop height, same black as navigation, full useful width. */
.nedv610-about-hero,.nedv90-directory-hero,.nedv57-page-hero,.nedv58-archive-hero,
.nedv5-faq-page-hero,.nedv5-faq-topic-hero,.nedv800-security-hero,.nedv620-page-hero{
  min-height:var(--ned9933-hero-h)!important;height:var(--ned9933-hero-h)!important;
  padding:0!important;background:var(--ned9933-black)!important;color:#fff!important;overflow:hidden;
}
.nedv610-about-hero>.nedv4-shell,.nedv90-directory-hero>.nedv4-shell,.nedv57-page-hero>.nedv4-shell,
.nedv58-archive-hero>.nedv4-shell,.nedv5-faq-page-hero>.nedv4-shell,.nedv5-faq-topic-hero>.nedv4-shell,
.nedv800-security-hero>.nedv4-shell,.nedv620-page-hero>.nedv4-shell{
  width:min(var(--shell),calc(100% - clamp(56px,7vw,128px)))!important;height:100%;margin-inline:auto!important;
  display:grid!important;grid-template-columns:minmax(0,1.02fr) minmax(360px,.78fr);grid-template-rows:auto auto 1fr;
  column-gap:clamp(52px,8vw,150px);align-content:center;align-items:start;
}
/* Left-side hierarchy */
.nedv610-about-hero .nedv610-kicker,.nedv90-directory-hero .nedv4-section-label,.nedv57-page-hero .nedv4-section-label,
.nedv58-archive-hero .nedv4-section-label,.nedv5-faq-page-hero .nedv4-section-label,.nedv5-faq-topic-hero .nedv4-section-label,
.nedv800-security-hero .nedv4-section-label,.nedv620-page-hero .nedv4-section-label{grid-column:1;grid-row:1;align-self:end}
.nedv610-about-hero h1,.nedv90-directory-hero h1,.nedv57-page-hero h1,.nedv58-archive-hero h1,
.nedv5-faq-page-hero h1,.nedv5-faq-topic-hero h1,.nedv800-security-hero h1,.nedv620-page-hero h1{
  grid-column:1;grid-row:2;margin:16px 0 0!important;font-size:clamp(58px,6vw,96px)!important;line-height:.9!important;
  letter-spacing:-.065em!important;max-width:10.8ch!important;align-self:start;
}
/* Right-side supporting content uses the space instead of leaving a dead half. */
.nedv610-about-hero p,.nedv90-directory-hero p,.nedv57-page-hero .nedv57-page-lead,.nedv58-archive-hero p,
.nedv5-faq-page-hero p,.nedv5-faq-topic-hero p,.nedv800-security-hero p,.nedv620-page-hero p{
  grid-column:2;grid-row:2 / span 2!important;align-self:center!important;max-width:620px!important;margin:0!important;
  color:var(--ned-on-dark)!important;font-size:clamp(17px,1.35vw,22px)!important;line-height:1.58!important;
}
.nedv57-page-hero .nedv57-updated{grid-column:2;grid-row:3;align-self:end;margin:24px 0 0!important}
.nedv90-directory-hero .nedv90-stats{grid-column:2;grid-row:3;align-self:start;margin-top:30px!important}

/* FPPP remains the visual master: same fixed desktop height and black base, image preserved. */
.nedv53-fppp-hero,.nedv53-fppp-hero-inner{min-height:var(--ned9933-hero-h)!important;height:var(--ned9933-hero-h)!important}
.nedv53-fppp-hero{background:var(--ned9933-black)!important}
.nedv53-fppp-hero-inner{width:min(var(--shell),calc(100% - clamp(56px,7vw,128px)))!important;margin-inline:auto!important}
.nedv53-fppp-hero-inner:after{background:linear-gradient(90deg,var(--ned-black) 0%,rgba(5,5,5,.96) 42%,rgba(5,5,5,.26) 73%,rgba(5,5,5,.72) 100%)!important}
.nedv53-fppp-hero-copy{padding:58px 0!important}
.nedv53-fppp-hero-copy h1{font-size:clamp(62px,5.8vw,96px)!important}

/* About teaser is now a normal page link, not a modal control. */
.nedv9932-about-teaser-inner{text-decoration:none!important}

@media(max-width:900px){
  :root{--ned9933-hero-h:auto}
  .home .nedv4-hero-v47{min-height:auto!important}
  .home .nedv4-hero-layout-v47{display:flex!important;flex-direction:column!important;min-height:auto!important;gap:0!important}
  .home .nedv4-hero-layout-v47 .nedv4-hero-copy{width:100%;padding:40px 0 30px!important}
  .home .nedv9933-hero-statement{width:100%;padding:18px 0 56px!important;justify-self:start}
  .home .nedv9933-hero-statement span{font-size:clamp(38px,11vw,58px)}

  .nedv610-about-hero,.nedv90-directory-hero,.nedv57-page-hero,.nedv58-archive-hero,
  .nedv5-faq-page-hero,.nedv5-faq-topic-hero,.nedv800-security-hero,.nedv620-page-hero{
    height:auto!important;min-height:0!important;padding:54px 0!important;
  }
  .nedv610-about-hero>.nedv4-shell,.nedv90-directory-hero>.nedv4-shell,.nedv57-page-hero>.nedv4-shell,
  .nedv58-archive-hero>.nedv4-shell,.nedv5-faq-page-hero>.nedv4-shell,.nedv5-faq-topic-hero>.nedv4-shell,
  .nedv800-security-hero>.nedv4-shell,.nedv620-page-hero>.nedv4-shell{
    width:calc(100% - 36px)!important;height:auto!important;display:block!important;
  }
  .nedv610-about-hero h1,.nedv90-directory-hero h1,.nedv57-page-hero h1,.nedv58-archive-hero h1,
  .nedv5-faq-page-hero h1,.nedv5-faq-topic-hero h1,.nedv800-security-hero h1,.nedv620-page-hero h1{
    font-size:clamp(48px,13vw,68px)!important;max-width:none!important;margin:14px 0 24px!important;
  }
  .nedv610-about-hero p,.nedv90-directory-hero p,.nedv57-page-hero .nedv57-page-lead,.nedv58-archive-hero p,
  .nedv5-faq-page-hero p,.nedv5-faq-topic-hero p,.nedv800-security-hero p,.nedv620-page-hero p{font-size:17px!important;max-width:none!important}
  .nedv90-directory-hero .nedv90-stats{margin-top:26px!important}
  .nedv57-page-hero .nedv57-updated{margin-top:22px!important}

  /* FPPP mobile: same visual family but content-first stacking, no forced desktop height. */
  .nedv53-fppp-hero,.nedv53-fppp-hero-inner{height:auto!important;min-height:0!important}
  .nedv53-fppp-hero-inner{width:calc(100% - 36px)!important;padding-top:210px!important;display:block!important}
  .nedv53-fppp-hero-photo{width:100%!important;height:275px!important;right:0!important;top:0!important;background-position:center 35%!important}
  .nedv53-fppp-hero-inner:after{background:linear-gradient(180deg,rgba(5,5,5,.12) 0%,rgba(5,5,5,.70) 190px,var(--ned-black) 300px)!important}
  .nedv53-fppp-hero-copy{padding:42px 0 54px!important}
  .nedv53-fppp-hero-copy h1{font-size:clamp(52px,14vw,72px)!important}
}
