/* НАА 23 SELENE v9: responsive news navigation and hero actions */
.site-header .desktop-nav{flex-wrap:nowrap;min-width:0;flex-shrink:0;gap:clamp(.7rem,1.1vw,1.5rem)}
.site-header .desktop-nav a{white-space:nowrap}
.hero-actions{display:flex;justify-content:center;align-items:center;gap:14px;flex-wrap:wrap;margin-top:25px}
.selene-earthrise .hero-actions .button{margin-top:0;display:inline-flex;align-items:center;justify-content:space-between;gap:20px;min-height:55px}
.selene-earthrise .hero-news-link{color:#e4f3ff;border:1px solid rgba(200,226,255,.6);background:rgba(7,15,31,.62);backdrop-filter:blur(12px);padding:15px 22px;border-radius:8px;text-decoration:none;font-weight:800;font-size:.76rem;letter-spacing:.12em;transition:background .2s,border-color .2s,transform .2s}
.selene-earthrise .hero-news-link:hover{background:rgba(39,81,126,.75);border-color:#b3d9ff;transform:translateY(-3px)}
.selene-earthrise .hero-news-link:focus-visible{outline:2px solid #b9dfff;outline-offset:3px}
@media(max-width:1350px){
  .site-header .desktop-nav{display:none}
  .site-header .nav-toggle{display:flex;gap:16px;align-items:center;flex-shrink:0}
}
@media(max-width:600px){
  .hero-actions{gap:10px;max-width:360px;margin:18px auto 0}
  .selene-earthrise .hero-actions .button{min-height:45px;padding:11px 13px;font-size:.69rem;flex:1 1 140px}
  .selene-earthrise .hero-news-link{padding:10px 14px}
}


/* v11 — stronger mobile Earth mask, clearer observatory CTA, better card imagery */
.program-card img{image-rendering:auto;filter:contrast(1.02) saturate(1.02)}
.selene-earthrise .hero-observatory-link{
  color:#0b1a31;border:1px solid rgba(197,225,255,.9);
  background:linear-gradient(180deg,#f4fbff 0%,#dcecff 100%);
  box-shadow:0 14px 38px rgba(1,6,16,.28), inset 0 1px 0 rgba(255,255,255,.8);
}
.selene-earthrise .hero-observatory-link span:last-child,
.selene-earthrise .hero-observatory-link [aria-hidden="true"]{
  color:#f6fbff;background:#16385d;border-radius:8px;min-width:42px;min-height:42px;
  display:inline-flex;align-items:center;justify-content:center;
}
.selene-earthrise .hero-observatory-link:hover{background:linear-gradient(180deg,#ffffff 0%,#e3f0ff 100%);border-color:#d7edff}
@media (max-width: 767px){
  .selene-earthrise.earthrise{height:148svh !important}
  .selene-earthrise .selene-layer-earth{transform:translate3d(-16vw,24.4svh,0) scale(1.08)}
  .selene-earthrise .selene-layer-earth img{object-position:72% 50%}
  .selene-earthrise .hero-sticky::after{
    background:
      linear-gradient(180deg,rgba(3,6,15,.25),transparent 30%, rgba(4,7,13,.06) 60%, rgba(4,7,13,.34) 100%),
      linear-gradient(270deg, rgba(7,11,19,1) 0%, rgba(7,11,19,.98) 4%, rgba(7,11,19,.75) 11%, rgba(7,11,19,.18) 21%, rgba(7,11,19,0) 32%),
      radial-gradient(circle at 100% 63%, rgba(7,11,19,.98) 0 7%, rgba(7,11,19,.85) 12%, rgba(7,11,19,.36) 19%, rgba(7,11,19,0) 29%);
  }
  .selene-earthrise .hero-actions-secondary{max-width:420px;margin-inline:auto}
  .selene-earthrise .hero-observatory-link{min-width:100%;padding:13px 16px;font-size:.70rem;font-weight:900}
}
@media (max-width: 480px){
  .selene-earthrise .selene-layer-earth{transform:translate3d(-19vw,24svh,0) scale(1.12)}
  .selene-earthrise .selene-layer-earth img{object-position:75% 50%}
  .selene-earthrise .hero-sticky::after{
    background:
      linear-gradient(180deg,rgba(3,6,15,.25),transparent 30%, rgba(4,7,13,.06) 60%, rgba(4,7,13,.34) 100%),
      linear-gradient(270deg, rgba(7,11,19,1) 0%, rgba(7,11,19,1) 5%, rgba(7,11,19,.82) 12%, rgba(7,11,19,.28) 22%, rgba(7,11,19,0) 34%),
      radial-gradient(circle at 100% 63%, rgba(7,11,19,1) 0 8%, rgba(7,11,19,.92) 13%, rgba(7,11,19,.46) 20%, rgba(7,11,19,0) 31%);
  }
}
