/* Registration announcements only: all six variants share an editable layout. */
.pum-overlay:has(.ptb-registration-popup) {
  background: rgb(24 28 47 / 62%) !important;
  backdrop-filter: blur(5px);
}

.pum-container:has(.ptb-registration-popup) {
  --ptb-popup-accent: #d4f56c;
  --ptb-popup-soft: #f3fbdc;
  --ptb-popup-ink: #232c3d;
  --ptb-popup-muted: #485466;
  box-sizing: border-box !important;
  width: calc(100% - 32px) !important;
  max-width: 600px !important;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  isolation: isolate;
  padding: 64px 36px 32px !important;
  border: 2px solid #fff !important;
  border-radius: 30px !important;
  background: #fffdf7 !important;
  color: var(--ptb-popup-ink) !important;
  box-shadow: 0 24px 80px rgb(16 26 47 / 32%) !important;
}

.pum-container:has(.ptb-registration-popup--stanis) {
  --ptb-popup-accent: #ffb5bf;
  --ptb-popup-soft: #fff0f2;
}

.pum-container:has(.ptb-registration-popup--amelie) {
  --ptb-popup-accent: #8fe3d9;
  --ptb-popup-soft: #e7faf6;
}

.pum-container:has(.ptb-registration-popup)::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -50px;
  left: -44px;
  width: 180px;
  height: 105px;
  border-radius: 50%;
  background: var(--ptb-popup-accent);
  transform: rotate(-15deg);
  pointer-events: none;
}

.pum-container:has(.ptb-registration-popup)::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 28px;
  right: 80px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #f9ca55;
  pointer-events: none;
}

.pum-container:has(.ptb-registration-popup) .pum-title {
  display: none !important;
}

.pum-container:has(.ptb-registration-popup) .pum-close {
  top: 14px !important;
  right: 14px !important;
  display: grid !important;
  place-items: center;
  box-sizing: border-box;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  padding: 0 !important;
  border: 1px solid var(--ptb-popup-ink) !important;
  border-radius: 50% !important;
  background: var(--ptb-popup-soft) !important;
  color: var(--ptb-popup-ink) !important;
  font: 28px/1 Arial, sans-serif !important;
  box-shadow: none !important;
}

.pum-container:has(.ptb-registration-popup) .pum-close:hover {
  border-color: var(--ptb-popup-ink) !important;
  background: var(--ptb-popup-soft) !important;
}

.pum-container:has(.ptb-registration-popup) .pum-close:focus-visible,
.ptb-registration-popup a:focus-visible {
  outline: 3px solid #233c70 !important;
  outline-offset: 4px !important;
}

.ptb-registration-popup {
  position: relative;
  display: grid;
  gap: 20px;
  margin: 0 !important;
  padding: 0 !important;
  font-family: inherit;
  text-align: left;
  overflow-wrap: anywhere;
}

.ptb-registration-popup > *,
.ptb-registration-popup > .wp-block-group__inner-container > *,
.ptb-registration-popup .ptb-registration-popup__dates > *,
.ptb-registration-popup .ptb-registration-popup__dates > .wp-block-group__inner-container > *,
.ptb-registration-popup .ptb-registration-popup__actions > * {
  margin: 0 !important;
}

.ptb-registration-popup > .wp-block-group__inner-container {
  display: grid;
  gap: inherit;
  min-width: 0;
}

.ptb-registration-popup .ptb-registration-popup__eyebrow {
  justify-self: start;
  max-width: 100%;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--ptb-popup-accent);
  color: var(--ptb-popup-ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .02em;
  text-align: left;
}

.ptb-registration-popup .ptb-registration-popup__title {
  color: var(--ptb-popup-ink);
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.025em;
  text-align: left;
  text-wrap: balance;
}

.ptb-registration-popup .ptb-registration-popup__intro {
  color: var(--ptb-popup-muted);
  font-size: 17px;
  line-height: 1.6;
  text-align: left;
}

.ptb-registration-popup .ptb-registration-popup__dates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid #dfe4df;
  border-radius: 18px;
  background: var(--ptb-popup-soft);
}

.ptb-registration-popup .ptb-registration-popup__dates > .wp-block-group__inner-container {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: inherit;
  gap: inherit;
  min-width: 0;
}

.ptb-registration-popup .ptb-registration-popup__date {
  color: var(--ptb-popup-ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}

.ptb-registration-popup .ptb-registration-popup__date strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ptb-popup-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.ptb-registration-popup--closing .ptb-registration-popup__dates {
  border-color: #d5b452;
}

.ptb-registration-popup .ptb-registration-popup__actions,
.ptb-registration-popup .ptb-registration-popup__actions .wp-block-button {
  display: block;
  width: 100%;
}

.ptb-registration-popup .ptb-registration-popup__actions .wp-block-button__link {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 54px;
  padding: 15px 20px;
  border: 2px solid #24324c;
  border-radius: 15px;
  background: #24324c;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  text-align: left;
  text-decoration: none;
  box-shadow: none;
  transition: background-color .15s ease, border-color .15s ease;
}

.ptb-registration-popup .ptb-registration-popup__actions .wp-block-button__link:hover {
  border-color: #344d77;
  background: #344d77;
  color: #fff;
}

.ptb-registration-popup .ptb-registration-popup__note {
  color: var(--ptb-popup-muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
}

@media (max-width: 480px) {
  .pum-container:has(.ptb-registration-popup) {
    width: calc(100% - 24px) !important;
    max-height: calc(100dvh - 24px);
    padding: 62px 22px 24px !important;
    border-radius: 24px !important;
  }

  .ptb-registration-popup {
    gap: 17px;
  }

  .ptb-registration-popup .ptb-registration-popup__title {
    font-size: 28px;
  }

  .ptb-registration-popup .ptb-registration-popup__intro {
    font-size: 16px;
    line-height: 1.5;
  }

  .ptb-registration-popup .ptb-registration-popup__dates {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 15px 16px;
  }

  .ptb-registration-popup .ptb-registration-popup__date strong {
    margin-bottom: 2px;
  }

  .ptb-registration-popup .ptb-registration-popup__actions .wp-block-button__link {
    padding: 14px 16px;
    font-size: 15px;
  }
}

@media (max-width: 340px) {
  .pum-container:has(.ptb-registration-popup) {
    padding-right: 18px !important;
    padding-left: 18px !important;
  }

  .ptb-registration-popup .ptb-registration-popup__title {
    font-size: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pum-overlay:has(.ptb-registration-popup),
  .pum-container:has(.ptb-registration-popup),
  .ptb-registration-popup .wp-block-button__link {
    animation: none !important;
    transition: none !important;
  }
}
