.notifications-container {
  width: 100%;
  padding: 0;
}

.notification-contain {
  /* To stop FOUC with new don't show notifications again + again JS option - ND */
  display: none;
  overflow: hidden;
  max-height: 35rem;
  transition: transform 0.3s ease, max-height 0.3s 0.2s ease, padding 0.3s 0.2s ease;
}
.notification-contain .notification {
  transition: opacity 0.3s ease;
}
.notification-contain.notification--close {
  transform: translateY(-0.5rem);
  max-height: 0;
  padding: 0;
}
.notification-contain.notification--close .notification {
  opacity: 0;
  pointer-events: none;
}

.notification {
  display: block;
  position: relative;
  background: var(--wp--custom--color--bg--02);
  text-decoration: none;
  color: var(--wp--custom--color--text--heading-primary) !important;
}
.notification .notification-content {
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 1rem;
  max-width: 125rem;
  margin: 0 auto;
  padding: var(--wp--preset--spacing--xs) var(--wp--preset--spacing--xl) var(--wp--preset--spacing--xs) var(--wp--preset--spacing--block-inner);
  min-height: 3.5rem;
}
.notification .notification-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.notification .notification-close:hover {
  transform: scale(1.1);
}
.notification .notification-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.notification .notification-header .icon {
  width: 1.5rem;
  aspect-ratio: 1;
  opacity: 0.65;
}
.notification .notification-header .icon svg {
  width: auto;
  height: auto;
}
.notification .notification-header .live-badge {
  background: #EC0000;
  margin-right: auto;
  padding: var(--wp--preset--spacing--xxs) var(--wp--preset--spacing--xs);
  border-radius: 0.25rem;
}
.notification .notification-header .live-badge span {
  color: var(--wp--custom--color--text--white) !important;
  font-size: 0.875rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.0625rem;
}
.notification .notification-header h2 {
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 600;
  margin: 0;
  color: inherit;
  flex: 1;
}
.notification .notification-body {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-left: var(--wp--preset--spacing--xl);
}
.notification .notification-body p {
  font-size: 0.9375rem;
  color: inherit;
}
.notification .notification-body p:last-child {
  margin: 0;
}
.notification.notification-warning {
  background: #FFBE00;
}
.notification.notification-warning .notification-header .icon {
  opacity: 1;
}
.notification.notification-alert {
  background: #DA1D1D;
  color: var(--wp--custom--color--text--white) !important;
}
.notification.notification-alert .notification-close {
  border-color: #FFFFFF;
}
.notification.notification-alert .notification-header .icon {
  opacity: 1;
}
.notification.notification-alert .notification-body p:last-child::after {
  background-image: url(../images/icon-notification-arrow-white.svg?6d91415ac39a19150bf42257d38dc499);
}
@media (min-width:50rem) {
  .notification .notification-content {
    display: flex;
    padding: var(--wp--preset--spacing--xs) var(--wp--preset--spacing--xl);
  }
  .notification .notification-body {
    text-align: center;
    padding: 0;
  }
}
@media (min-width:125rem) {
  .notification .notification-content {
    padding-inline: var(--wp--preset--spacing--3xl);
  }
}
