/* =========================================================
   Pop-up banner αρχικής — markup από js/popup-banner.js.
   Πάνω από όλα (cookie banner = 90).
   ========================================================= */
.popup-banner{
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 1.25rem;
  background: rgba(20, 8, 4, .72);
  opacity: 0; transition: opacity .28s ease;
}
.popup-banner.is-visible{ opacity: 1; }

.popup-banner__box{
  position: relative;
  max-width: min(34rem, 100%); max-height: 100%;
  border-radius: 1.25rem; overflow: hidden;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .55);
  transform: translateY(.75rem) scale(.97);
  transition: transform .32s cubic-bezier(.2, .8, .2, 1);
}
.popup-banner.is-visible .popup-banner__box{ transform: none; }

/* Το ύψος κρατά ολόκληρη την εικόνα και το κουμπί εντός οθόνης. */
.popup-banner__img{
  display: block; width: auto; height: auto;
  max-width: 100%;
  max-height: calc(100vh - 2.5rem); max-height: calc(100dvh - 2.5rem);
  margin: 0 auto;
}

.popup-banner__close{
  position: absolute; top: .75rem; right: .75rem;
  width: 2.75rem; height: 2.75rem; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; cursor: pointer;
  background: var(--white); color: var(--ink);
  box-shadow: 0 .25rem .9rem rgba(0, 0, 0, .4);
  transition: background .18s ease, color .18s ease;
}
.popup-banner__close:hover, .popup-banner__close:focus-visible{ background: var(--red); color: var(--white); }
.popup-banner__close:focus-visible{ outline: 3px solid var(--yellow); outline-offset: 2px; }

/* Η σελίδα πίσω δεν κυλά όσο είναι ανοιχτό. */
html.popup-banner-open, html.popup-banner-open body{ overflow: hidden; }

@media (prefers-reduced-motion: reduce){
  .popup-banner, .popup-banner__box{ transition: none; }
  .popup-banner__box{ transform: none; }
}
