/* Only the artwork statement controls and their floating panels. */
.caro-art-statement.caro-statement-ready > .caro-statement-title {
  margin-block: 0;
}

.caro-art-statement .caro-statement-trigger {
  appearance: none;
  display: inline;
  border: 0;
  border-radius: 2px;
  padding: 0;
  margin: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-align: inherit;
  text-transform: inherit;
  text-decoration: underline dotted #B18A52;
  text-underline-offset: 6px;
  box-shadow: none;
  cursor: pointer;
}

.caro-art-statement .caro-statement-trigger:hover,
.caro-art-statement .caro-statement-trigger[aria-expanded="true"] {
  color: #6D303C;
}

.caro-art-statement .caro-statement-trigger:focus-visible,
.caro-statement-popover .caro-statement-close:focus-visible {
  outline: 2px solid #6D303C;
  outline-offset: 4px;
}

.caro-statement-popover {
  position: fixed;
  z-index: 100010;
  box-sizing: border-box;
  width: 340px;
  max-width: calc(100vw - 32px);
  max-height: min(420px, 65vh);
  max-height: min(420px, 65dvh);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px;
  border: 1px solid #B18A52;
  border-radius: 6px;
  background: #FAF6EF;
  color: #302C29;
  box-shadow: 0 6px 20px rgba(48, 44, 41, 0.22);
  font-family: var(--wp--preset--font-family--source-sans-3, system-ui, sans-serif);
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
  overflow-wrap: anywhere;
}

.caro-statement-popover[hidden],
.caro-art-statement.caro-statement-ready > .caro-statement-details[hidden] {
  display: none !important;
}

.caro-statement-popover .caro-statement-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #6D303C;
}

.caro-statement-popover .caro-statement-close {
  appearance: none;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  margin: -10px -10px -10px 0;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #6D303C;
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
}

.caro-statement-popover .caro-statement-close:hover {
  background: #E7D8C5;
}

.caro-statement-popover .caro-statement-copy p {
  margin: 0;
  font: inherit;
  color: inherit;
}

.caro-statement-popover .caro-statement-copy p + p {
  margin-top: 12px;
}
