/* 29 Ekim Cumhuriyet Bayramı kutlama penceresi (bayram-popup.js tarih aralığında açar). */

.bayram-backdrop {
  position: fixed;
  inset: 0;
  z-index: 310;
  display: grid;
  place-items: center;
  padding: 20px;
  overflow-y: auto;
  background: rgb(3 20 17 / 64%);
  backdrop-filter: blur(3px);
}

.bayram-backdrop[hidden] {
  display: none;
}

.bayram {
  position: relative;
  width: min(560px, 100%);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  text-align: center;
  box-shadow: 0 40px 90px rgb(3 20 17 / 38%);
  animation: bayram-in 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.bayram__poster {
  display: block;
  width: 100%;
  height: auto;
}

.bayram__sign {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 20px 18px;
  border-top: 1px solid var(--line);
}

.bayram__sign img {
  display: block;
  height: 32px;
  width: auto;
}

.bayram__sign span {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.4;
}

.bayram__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 999px;
  background: rgb(8 40 35 / 62%);
  color: #fff;
  font-size: 15px;
  cursor: pointer;
}

.bayram__close:hover {
  background: rgb(8 40 35 / 80%);
}

.bayram__close:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

@keyframes bayram-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bayram {
    animation: none;
  }
}

@media (max-width: 640px) {
  .bayram-backdrop {
    padding: 14px;
  }

  .bayram__sign {
    padding: 12px 16px 14px;
  }

  .bayram__sign img {
    height: 28px;
  }

  .bayram__sign span {
    font-size: 12px;
  }
}
