/* EMDATE V19.8 — Public Button Visibility & Route Safety
   Loaded last. Keeps public CTAs visible/clickable without changing disabled-state logic. */

/* Hero preparation CTA: explicit, stable and always above decorative layers. */
.v16-home-hero .hero-actions .hero-prep-cta,
.v16-home-hero .future-card > a[href="/emdate7"]{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  visibility:visible!important;
  opacity:1!important;
  position:relative!important;
  z-index:8!important;
  pointer-events:auto!important;
  flex:0 0 auto!important;
  min-height:42px!important;
  white-space:normal!important;
}

/* The compact V19.4 card height could clip the final CTA, especially <=520px.
   Let content determine the final height while retaining the intended minimum. */
.v16-home-hero .future-card{
  height:auto!important;
  min-height:460px!important;
}
.v16-home-hero .future-card > a[href="/emdate7"]{
  margin-top:18px!important;
  padding:10px 14px!important;
}

/* Restore the desktop EMDATE 7 quick action where the header has room.
   It remains intentionally omitted on narrower layouts; mobile menu already exposes it. */
@media (min-width:1181px){
  .site-header .event-button{
    display:inline-flex!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
  }
}

/* Public anchor-buttons should not lose clickability because of decorative pseudo layers. */
:is(
  a.btn[href],
  a.event-button[href],
  a.header-login[href],
  a.nav-cta[href],
  a.abstract-alert-cta[href],
  a.sch-btn[href],
  a.kr-btn[href],
  a.ue-btn[href],
  a.program-btn[href],
  a.ft-btn[href],
  a.open-btn[href]
):not([aria-disabled="true"]):not(.disabled){
  pointer-events:auto;
}

@media (max-width:720px){
  .v16-home-hero .future-card{
    min-height:440px!important;
  }
  .v16-home-hero .hero-actions .hero-prep-cta{
    width:100%;
  }
}

@media (max-width:520px){
  .v16-home-hero .future-card{
    min-height:430px!important;
    padding-bottom:28px!important;
  }
  .v16-home-hero .future-card > a[href="/emdate7"]{
    width:100%;
    align-self:stretch!important;
  }
}
