.wp-block-acf-leib-cookie-consent {
  padding: var(--wp--preset--spacing--30) 0;
  width: 100%;
  position: fixed;
  inset-block-end: 0;
  z-index: 9999;
  box-shadow: 0 0 1800px 400px rgba(0, 0, 0, 0.4);
}

/* Accept/Decline buttons */
.cookie-consent__buttons {
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

body.scroll-stop {
  overflow: hidden;
}

/* Style cookie consent so it doesn't obstruct editing */
.editor-styles-wrapper .cookie-consent {
  position: static;
  display: block !important;
}

body.editor-styles-wrapper.scroll-stop {
  overflow: auto;
}

.corient-popup {
  position: fixed;
  inset-block-start: 0;
  inset-block-end: 0;
  inset-inline-start: 0;
  inset-inline-end: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  display: none;
}

.corient-popup.active {
  display: flex;
}

.corient-container {
  background-color: white;
  padding: 2rem;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.2);
  max-width: 650px;
  max-height: 400px;
  width: 90%;
  height: 90%;
  position: relative;
}

.corient-content {
  width: 45%;
  max-width: 45%;
  height: 100%;
  display: grid;
  align-content: center;
  gap: 1.15rem;
}

.corient-content p {
  margin: 0 !important;
}

.corient-header p {
  font-size: 21px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.114px;
  text-transform: uppercase;
}

.corient-text p {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.114px;
}

.corient-text a {
  color: var(--wp--preset--color--primary);
  font-weight: 700;
}

.corient-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
}
.corient-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 80% center;
}

.corient-cta {
  margin-top: 0.5rem;
}

.corient-close {
  position: absolute;
  z-index: 999;
  width: 15px;
  height: auto;
  aspect-ratio: 1;
  top: 15px;
  right: 15px;
  background: none;
  color: inherit;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  outline: inherit;
}

@media screen and (max-width: 768px) {
  .top-banner p,
  .top-banner a {
    font-size: 12px !important;
  }
  .top-banner p > strong {
    font-size: 14px !important;
  }

  .top-banner svg {
    padding-top: 3px;
  }

  .corient-container {
    max-height: 600px;
  }
  .corient-content {
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
    height: 50%;
  }

  .corient-image {
    width: 100%;
    height: 50%;
    clip-path: polygon(0 20%, 100% 0, 100% 100%, 0% 100%);
    top: unset;
    bottom: 0;
  }
}
