/* Let the shop window show through the two colours of the publisher's mark. */
.bv-mark {
  --mark-ink: #fff5dc;
  --mark-accent: #ffd594;
  display: flex;
  align-items: center;
  gap: clamp(6px, .9vw, 16px);
  max-width: 100%;
  color: var(--mark-ink);
}
.opening:is(.carta, .congedo) .bv-mark {
  --mark-ink: #31201b;
  --mark-accent: #8c2736;
}
.bv-dog {
  display: block;
  flex: none;
  width: clamp(49px, 5.9vw, 92px);
  height: auto;
  color: var(--mark-accent);
}
.bv-name {
  display: block;
  width: clamp(142px, 19.6vw, 310px);
  min-width: 0;
  height: auto;
  flex: 0 1 auto;
}
.bv-accent { color: var(--mark-accent); }
.bv-custom {
  min-width: 0;
  font: 600 clamp(19px, 2.1vw, 34px)/1.04 var(--sans);
  overflow-wrap: anywhere;
}
.mast .brand { display: block; }
@media (max-width:920px), (max-width:1024px) and (max-height:540px) {
  .opening .mast { height: auto; min-height: clamp(67px, 10vw, 87px); gap: 10px; padding-block: 5px; }
  .mast .season { flex: 0 1 auto; }
  .bv-dog { width: clamp(49px, 8.5vw, 74px); }
  .bv-name { width: clamp(136px, 37vw, 235px); }
}
@media (prefers-reduced-motion: no-preference) {
  .bv-tail {
    transform-box: view-box;
    /* Coordinates are measured from the top-left of the padded viewBox. */
    transform-origin: 26px 75px;
    animation: bv-scodinzola 5s ease-in-out infinite;
  }
  @keyframes bv-scodinzola {
    0%, 4%, 37%, 100% { transform: rotate(0); }
    9%, 20% { transform: rotate(22deg); }
    14%, 25% { transform: rotate(-18deg); }
    30% { transform: rotate(12deg); }
  }
}
