/* Aviso institucional en memoria de Ramón Freire Donoso, CE3BWT */
.memorial-popup {
  position: fixed;
  inset: 0;
  z-index: 950;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(3, 14, 29, .70);
  backdrop-filter: blur(7px);
}
.memorial-popup.is-open { display: grid; }
.memorial-popup__card {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100vh - 34px);
  overflow: auto;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 30px 100px rgba(0,0,0,.38);
}
.memorial-popup__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  background: rgba(6,26,51,.82);
  color: #fff;
  font: inherit;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.memorial-popup__inner {
  display: grid;
  grid-template-columns: minmax(250px, .86fr) minmax(0, 1.14fr);
}
.memorial-popup__media {
  min-height: 430px;
  background: #0a1d35;
  overflow: hidden;
}
.memorial-popup__media img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}
.memorial-popup__content {
  padding: 38px 38px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.memorial-popup__eyebrow {
  margin: 0 0 10px;
  color: #0e5aa7;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.memorial-popup__content h2 {
  margin: 0;
  color: #061a33;
  font-size: clamp(1.75rem, 4vw, 2.55rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.memorial-popup__callsign {
  margin: 12px 0 0;
  color: #b38622;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: .05em;
}
.memorial-popup__content p:not(.memorial-popup__eyebrow):not(.memorial-popup__callsign) {
  margin: 18px 0 0;
  color: #536176;
  line-height: 1.62;
}
.memorial-popup__signoff {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 4px solid #d7aa38;
  border-radius: 0 14px 14px 0;
  background: #f7f9fc;
  color: #26364c;
  font-weight: 800;
}
.memorial-popup__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.memorial-popup__actions .btn {
  text-decoration: none;
}
.memorial-popup__later {
  border: 0;
  border-radius: 14px;
  padding: 12px 16px;
  background: #edf2f7;
  color: #26364c;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}
body.memorial-popup-open { overflow: hidden; }
@media (max-width: 720px) {
  .memorial-popup { padding: 12px; }
  .memorial-popup__inner { grid-template-columns: 1fr; }
  .memorial-popup__media { min-height: 235px; max-height: 235px; }
  .memorial-popup__media img { min-height: 235px; object-position: center 18%; }
  .memorial-popup__content { padding: 26px 22px 24px; }
  .memorial-popup__actions { display: grid; }
  .memorial-popup__actions .btn,
  .memorial-popup__later { width: 100%; text-align: center; }
}
