/* Cookie page design adapted from cookie.html; wording stays in the page editor. */
.bv-cookie-document {
  --red: #aa0232;
  --line: #e3dcd2;
  --muted: #6f6669;
  --ink: #2a1f1f;
  color: var(--ink);
  font: .78rem/1.5 "Inter", system-ui, sans-serif;
}

.bv-cookie-document,
.bv-cookie-document * {
  box-sizing: border-box;
}

body.bv-cookie-policy-page #content .bv-cookie-document .bv-cookie-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 12px;
}

body.bv-cookie-policy-page #content .bv-cookie-document .cookie-policy {
  padding: 0;
  background: transparent;
}

body.bv-cookie-policy-page #content .bv-cookie-document .cookie-policy .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.bv-cookie-document h1,
.bv-cookie-document h2,
.bv-cookie-document h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 .5rem;
}

.bv-cookie-document h1 { font-size: 2.5rem; }
.bv-cookie-document h2 { font-size: 2rem; }
.bv-cookie-document h3 { font-size: 1.75rem; }

.bv-cookie-document h4,
.bv-cookie-document h5,
.bv-cookie-document h6 {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 .5rem;
}

.bv-cookie-document h4 { font-size: 1.5rem; }
.bv-cookie-document h5 { font-size: 1.25rem; }
.bv-cookie-document h6 { font-size: 1rem; }

.bv-cookie-document p {
  margin: 0 0 1rem;
}

.bv-cookie-document a {
  color: var(--red);
  text-decoration: underline;
  overflow-wrap: break-word;
}

.bv-cookie-document a:hover { color: #8c0624; }

.bv-cookie-document ul,
.bv-cookie-document ol {
  margin: 0 0 1rem;
  padding-left: 2rem;
}

.bv-cookie-document ul { list-style: disc; }
.bv-cookie-document ol { list-style: decimal; }
.bv-cookie-document ul ul,
.bv-cookie-document ol ol,
.bv-cookie-document ul ol,
.bv-cookie-document ol ul { margin-bottom: 0; }

.bv-cookie-document strong { font-weight: 700; }

.bv-cookie-document hr {
  height: 0;
  margin: 1rem 0;
  border: 0;
  border-top: 1px solid currentColor;
  opacity: .25;
}

.bv-cookie-document [id] {
  scroll-margin-top: calc(1rem + var(--wp-admin--admin-bar--height, 0px));
}


.bv-cookie-document a:focus-visible,
.bv-cookie-document button:focus-visible,
.bv-cookie-document summary:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.bv-cookie-document button {
  font: inherit;
}

.bv-cookie-document .btn {
  display: inline-block;
  background: transparent;
  text-decoration: none;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
}

/* Match the reference arch crop on the cookie page only. */

body.bv-cookie-policy-page .bv-privacy-arch-shape {
  height: 250px;
  aspect-ratio: auto;
}

body.bv-cookie-policy-page .bv-privacy-arch-shape img {
  object-fit: cover;
}

.bv-cookie-document {
  padding: 3rem 0;
  background: #fff;
}

.bv-cookie-document .container {
  max-width: 1100px;
}

.bv-cookie-document .main-header {
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.bv-cookie-document .main-header h1 {
  font-size: clamp(1.7rem, 2.5vw, 2.2rem);
  color: #3b2226;
  margin-bottom: 1rem;
}

.bv-cookie-document .main-header p {
  font-size: .8rem;
  line-height: 1.8;
  color: #4d4447;
  margin-bottom: .9rem;
}

.bv-cookie-document .main-header__meta {
  color: var(--muted);
  margin-bottom: 0;
}

.bv-cookie-document .aside-main-wrapper {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 2.25rem;
  align-items: start;
}

.bv-cookie-document #table-of-content-wrapper {
  position: sticky;
  top: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  background: #faf8f4;
}

.bv-cookie-document .close-dialog {
  display: none;
}

.bv-cookie-document #table-of-content-title {
  font-size: .84rem;
  margin-bottom: .8rem;
  color: #3b2226;
}

.bv-cookie-document .table-of-content-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bv-cookie-document .table-of-content-list li + li {
  margin-top: .6rem;
}

.bv-cookie-document .table-of-content-list a {
  color: #4f4448;
  text-decoration: none;
  font-size: .74rem;
  line-height: 1.55;
}

.bv-cookie-document .table-of-content-list a:hover {
  color: var(--red);
  text-decoration: underline;
}

.bv-cookie-document .table-of-content-btn-wrapper {
  display: none;
}

.bv-cookie-document .main__section {
  margin-bottom: 1.7rem;
}

.bv-cookie-document .main__section h2 {
  font-size: 1.3rem;
  color: #3b2226;
  margin-bottom: .9rem;
}

.bv-cookie-document .main__section h3 {
  font-size: 1.02rem;
  color: #3b2226;
  margin: 1.1rem 0 .55rem;
}

.bv-cookie-document .main__section h4 {
  font-size: .92rem;
  margin: .9rem 0 .45rem;
  color: #403639;
}

.bv-cookie-document .main__section p,
.bv-cookie-document .main__section li,
.bv-cookie-document .main__section span {
  font-size: .78rem;
  line-height: 1.8;
  color: #4d4447;
}

.bv-cookie-document .main__section ul {
  padding-left: 1.1rem;
}

.bv-cookie-document .summary {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.bv-cookie-document .summary__cards-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.bv-cookie-document .summary__card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  background: #fff;
}

.bv-cookie-document .summary__card h3 {
  font-size: .84rem;
  margin-bottom: .65rem;
  color: #3b2226;
}

.bv-cookie-document .summary__card p,
.bv-cookie-document .summary__card li,
.bv-cookie-document .summary__card a {
  font-size: .74rem;
  line-height: 1.7;
}

.bv-cookie-document .summary__card a {
  color: var(--red);
}

.bv-cookie-document .summary__card .btn {
  font-size: .7rem;
  border: 1px solid var(--red);
  color: var(--red);
  border-radius: 4px;
  padding: .4rem .8rem;
}

.bv-cookie-document .summary__card .btn:hover {
  background: var(--red);
  color: #fff;
}


.bv-cookie-document .summary__card-section {
  margin-bottom: .9rem;
}

.bv-cookie-document .summary__card-section:last-child {
  margin-bottom: 0;
}

.bv-cookie-document .summary__card .cta-section {
  margin-top: 1.2rem;
}
@media (max-width: 991.98px) {
  .bv-cookie-document .aside-main-wrapper {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .bv-cookie-document #table-of-content-wrapper {
    position: static;
  }

  .bv-cookie-document .summary__cards-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .bv-cookie-document {
    padding: 2rem 0;
  }

  .bv-cookie-document .main-header h1 {
    font-size: 1.5rem;
  }

  .bv-cookie-document .main__section h2 {
    font-size: 1.15rem;
  }
}
.bv-cookie-document .legalDoc__accordion {
  border: 1px solid #d8ddff;
  border-radius: 16px;
  margin: 1rem 0;
  overflow: hidden;
  background: #fff;
}

.bv-cookie-document .legalDoc__accordion > summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  position: relative;
}

.bv-cookie-document .legalDoc__accordion > summary::-webkit-details-marker {
  display: none;
}

.bv-cookie-document .legalDoc__accordion > summary figure {
  width: 84px;
  height: 84px;
  border: 1px solid #d8ddff;
  border-radius: 12px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  flex: 0 0 84px;
}

.bv-cookie-document .legalDoc__accordion > summary figure img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.bv-cookie-document .legalDoc__accordion > summary > div {
  flex: 1;
  min-width: 0;
  padding-right: 3.6rem;
}

.bv-cookie-document .legalDoc__accordion > summary h4 {
  margin: 0 0 .45rem;
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  color: #aa0232;
  font-weight: 700;
}

.bv-cookie-document .legalDoc__accordion .accordion__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .65rem 1.8rem;
}

.bv-cookie-document .legalDoc__accordion .accordion__meta p {
  margin: 0;
  font-size: clamp(.82rem, 1.35vw, .92rem);
  color: #aa0232;
  position: relative;
  padding-left: 1.7rem;
}

.bv-cookie-document .legalDoc__accordion .accordion__meta .meta__company::before,
.bv-cookie-document .legalDoc__accordion .accordion__meta .meta__location::before,
.bv-cookie-document .legalDoc__accordion .accordion__meta .meta__keys::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  background: center / contain no-repeat;
}

.bv-cookie-document .legalDoc__accordion .accordion__meta .meta__company::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23aa0232' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21V3h12v18M16 9h4v12M2 21h20M8 7h1m3 0h1M8 11h1m3 0h1M8 15h1m3 0h1M9 21v-3h3v3'/%3E%3C/svg%3E");
}

.bv-cookie-document .legalDoc__accordion .accordion__meta .meta__location::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23aa0232' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12S4 16 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
}

.bv-cookie-document .legalDoc__accordion .accordion__meta .meta__keys::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23aa0232' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h9l4 4v14H5V3h1Zm9 0v5h4M8 12h8M8 16h8'/%3E%3C/svg%3E");
}

.bv-cookie-document .legalDoc__accordion > summary::after {
  content: "+";
  width: 20px;
  height: 20px;
  border: 2px solid #aa0232;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #aa0232;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1;
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
}

.bv-cookie-document .legalDoc__accordion[open] > summary::after {
  content: "−";
}

.bv-cookie-document .legalDoc__accordion .accordion__body {
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid #eef1ff;
}

.bv-cookie-document .legalDoc__accordion .body__details-box {
  margin-top: .8rem;
  padding-top: .7rem;
}

@media (max-width: 767.98px) {
  .bv-cookie-document .legalDoc__accordion > summary {
    align-items: flex-start;
    padding: .9rem 1rem;
  }

  .bv-cookie-document .legalDoc__accordion > summary figure {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
  }

  .bv-cookie-document .legalDoc__accordion > summary figure img {
    width: 34px;
    height: 34px;
  }

  .bv-cookie-document .legalDoc__accordion > summary > div {
    padding-right: 3rem;
  }

  .bv-cookie-document .legalDoc__accordion > summary::after {
    width: 40px;
    height: 40px;
    right: .9rem;
    font-size: 1.8rem;
  }

  .bv-cookie-document .legalDoc__accordion .accordion__meta {
    gap: .5rem 1rem;
  }

  .bv-cookie-document .legalDoc__accordion .accordion__meta p {
    font-size: .84rem;
  }
}
/* Keep long translated metadata and editor content within narrow screens. */
.bv-cookie-document .aside-main-wrapper > main,
.bv-cookie-document .summary__card,
.bv-cookie-document .legalDoc__accordion .accordion__meta p {
  min-width: 0;
}

.bv-cookie-document .legalDoc__accordion .accordion__meta p {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.bv-cookie-document .main__section,
.bv-cookie-document .summary__card {
  overflow-wrap: break-word;
}

.bv-cookie-document #table-of-content-wrapper {
  top: calc(1rem + var(--wp-admin--admin-bar--height, 0px));
}

.bv-cookie-document .pre-footer > h2 {
  margin-bottom: .5rem;
}
