.x-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-banner);
  background: var(--color-white);
  box-shadow: var(--shadow-banner);
  height: 93px;
  font-family: var(--font-body);
}

.x-cookie-banner__inner {
  position: relative;
  height: 100%;
  max-width: 100%;
  /* flex blocks the policy's margin-top collapse (keeps this wrapper pinned to
     the banner's top edge so the close button anchors correctly) and centers the
     792px item exactly like the source's ot-sdk-row (policy x = 324 + 32) */
  display: flex;
  justify-content: center;
}

.x-cookie-banner__policy {
  width: 760px;
  margin: 20px 0 10px 32px; /* source: group offset centers the 792px box; text lands at x=356 */
  text-align: left;
}

.x-cookie-banner__text {
  font-family: var(--font-body);
  font-size: var(--fs-14);
  line-height: var(--lh-banner);
  font-weight: 400;
  color: var(--color-black);
  text-align: center;
  padding: 0 20px 0 16px;
}

.x-cookie-banner__link {
  color: var(--color-link);
  font-family: var(--font-bold);
  font-weight: 700;
  font-size: var(--fs-14);
  text-decoration: none;
}

.x-cookie-banner__link:hover {
  text-decoration: underline;
}

.x-cookie-banner__close-wrap {
  position: absolute;
  top: 25px;
  right: 22px;
  line-height: 0; /* avoid inline strut inflating the 44px box */
}

.x-cookie-banner__close {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  background-color: transparent;
  background-image: url('../../assets/icons/ot-close.svg');
  background-size: 12px auto;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  font-size: var(--fs-14);
  color: var(--color-close-grey);
}

@media (max-width: 767px) {
  .x-cookie-banner {
    height: 184px;
  }

  .x-cookie-banner__policy {
    width: auto;
    margin: 48px 20px 10px; /* 350px box @ x=20 at 390px — matches source */
  }

  .x-cookie-banner__close-wrap {
    top: 6px;
    right: 2px;
  }
}
