.gp-closure-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(34, 32, 31, .78);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}

.gp-closure-modal.is-visible { opacity: 1; visibility: visible; }

.gp-closure-dialog {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 560px;
  padding: 44px 46px 40px;
  border-top: 5px solid #c3a468;
  background: #f4f1e9;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .38);
  text-align: center !important;
  transform: translateY(18px);
  transition: transform .3s ease;
}

.gp-closure-modal.is-visible .gp-closure-dialog { transform: translateY(0); }

.gp-closure-logo {
  display: block;
  width: 132px;
  height: auto;
  margin: 0 auto 25px;
}

.gp-closure-title {
  margin: 0 0 22px;
  color: #837258;
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 36px;
  line-height: 1.18;
  letter-spacing: .025em;
  text-align: center !important;
  text-transform: uppercase;
}

.gp-closure-rule {
  width: 52px;
  height: 1px;
  margin: 0 auto 19px;
  border: 0;
  background: #c3a468;
}

.gp-closure-message {
  margin: 0 0 27px;
  color: #333;
  font-family: "Muli", Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.65;
  text-align: center !important;
}

.gp-closure-message strong {
  display: block;
  color: #837258;
  font-weight: 600;
  text-align: center !important;
}

.gp-closure-button {
  display: inline-block;
  min-width: 140px;
  padding: 13px 25px;
  border: 1px solid #837258;
  background: #837258;
  color: #fff;
  font-family: "Varela Round", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.gp-closure-button:hover,
.gp-closure-button:focus {
  background: transparent;
  color: #837258;
  outline: none;
}

.gp-closure-x {
  position: absolute;
  top: 13px;
  right: 15px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #837258;
  font-size: 29px;
  font-weight: 300;
  line-height: 34px;
  cursor: pointer;
}

.gp-closure-x:focus { outline: 1px solid #c3a468; outline-offset: 2px; }
body.gp-modal-open { overflow: hidden; }

@media only screen and (max-width: 600px) {
  .gp-closure-modal { padding: 12px; }
  .gp-closure-dialog {
    max-height: calc(100vh - 24px);
    padding: 30px 20px 26px;
    overflow-y: auto;
  }
  .gp-closure-logo { width: 92px; margin-bottom: 22px; }
  .gp-closure-title { margin-bottom: 18px; font-size: 28px; line-height: 1.15; }
  .gp-closure-rule { margin-bottom: 17px; }
  .gp-closure-message { margin-bottom: 23px; font-size: 16px; line-height: 1.55; }
  .gp-closure-button { width: 100%; max-width: 210px; }
  .gp-closure-x { top: 8px; right: 8px; }
}

@media only screen and (max-width: 360px) {
  .gp-closure-title { font-size: 24px; }
  .gp-closure-message { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .gp-closure-modal,
  .gp-closure-dialog { transition: none; }
}
