/* The board page hero (site/boardviz/callouts.js): the drawn board in front, the real photo behind it, numbered dots, one tooltip, a corner picture that swaps them. */
.cv-hb { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 16px; align-items: stretch; }
.cv-slot { position: relative; height: 540px; border: 1.5px solid var(--frl-ink, #161312); border-radius: 14px; background: linear-gradient(180deg, #fbf8f2, #efe7da); overflow: hidden; cursor: default; }
.cv-slot > img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.cv-slot .vizlayer { position: absolute; inset: 0; opacity: 1; pointer-events: auto; transition: opacity .5s; }
.cv-slot.show-photo > img.photo { opacity: 1; }
.cv-slot.show-photo .vizlayer { opacity: 0; pointer-events: none; }
.cv-slot .bviz { border: 0; border-radius: 0; background: transparent; width: 100%; height: 100%; aspect-ratio: auto; max-height: none; position: absolute; inset: 0; }
.cv-slot .cv-corner { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; z-index: 3; }
.cv-slot .cv-corner button { font: 600 13px var(--frl-font, Barlow, sans-serif); border: 1.5px solid #161312; background: #fff; border-radius: 7px; padding: 4px 10px; cursor: pointer; }
#cv-dots { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
#cv-dots .dg { pointer-events: all; cursor: pointer; outline: none; }
#cv-dots .hit { fill: transparent; }
#cv-dots .dt { fill: #161312; stroke: #fff; stroke-width: 2; }
#cv-dots .dt.on { fill: #a8101a; }
#cv-dots .dg:focus-visible .dt { stroke: #a8101a; stroke-width: 3; }
#cv-dots .dn { fill: #fff; font: 700 11px var(--frl-font, Barlow, sans-serif); text-anchor: middle; pointer-events: none; }
#cv-tip { position: absolute; z-index: 5; max-width: 240px; pointer-events: none; background: #161312; color: #f7f3ec; font: 600 14px/18px var(--frl-font, Barlow, sans-serif); padding: 5px 10px; border-radius: 7px; display: flex; gap: 7px; align-items: baseline; }
#cv-tip[hidden] { display: none; }
#cv-tip b { font-size: 12px; color: #161312; background: #f7f3ec; border-radius: 50%; min-width: 18px; height: 18px; line-height: 18px; text-align: center; flex: none; }
.cv-slot .cv-swap { position: absolute; right: 12px; bottom: 12px; z-index: 4; width: 120px; padding: 0; border: 2px solid #fff; border-radius: 10px; overflow: hidden; background: #161312; cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, .35); display: block; }
.cv-slot .cv-swap img { display: block; width: 100%; height: 80px; object-fit: cover; }
.cv-slot .cv-swap span { display: block; font: 600 12px/18px var(--frl-font, Barlow, sans-serif); color: #fff; background: #161312; padding: 1px 0; text-align: center; }
.cv-slot .cv-swap:focus-visible { outline: 3px solid #a8101a; outline-offset: 2px; }
.cv-side { display: flex; flex-direction: column; gap: 12px; }   /* facts at the top; the button and its note together at the bottom */
.cv-facts { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--frl-line, #e2d8c9); border-radius: 12px; overflow: hidden; background: #fff; }
.cv-facts div { padding: 10px 14px; border-top: 1px solid var(--frl-line, #e2d8c9); border-left: 1px solid var(--frl-line, #e2d8c9); display: flex; flex-direction: column; }
.cv-facts div:nth-child(-n+2) { border-top: 0; }
.cv-facts div:nth-child(odd) { border-left: 0; }
.cv-facts span { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--frl-stone, #6B625B); }
.cv-facts b { font-size: 22px; line-height: 26px; }
.cv-facts small { font-size: 13px; line-height: 17px; margin-top: 2px; color: var(--frl-stone, #6B625B); }
.cv-side .sub { margin: 0; font-size: 14px; line-height: 19px; color: var(--frl-stone, #6B625B); }
@media (max-width: 900px) { .cv-hb { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .cv-slot { height: 440px; } .cv-slot .cv-swap { width: 80px; } .cv-slot .cv-swap img { height: 54px; } }
