/* Slow Food's Ark of Taste on /provenance/ and /pt/provenance/ (15 Oct 2026; Ark view 18 Oct 2026). Drawn by js/provenance-ark.js. */
.ark-arr{font-family:'Inter',sans-serif;font-size:.85em}

/* the seal beside a food's name */
.ark-m{display:inline-flex;align-items:center;vertical-align:-.18em;line-height:0;margin:-2px -2px -2px calc(.25em - 2px);padding:2px;border-radius:50%;text-decoration:none}
.ark-m:hover,.ark-m:focus-visible{background:rgba(26,26,23,.08);outline:none}
.ark-m:focus-visible{box-shadow:0 0 0 2px var(--named,#1f5135)}
.ark-m img{display:block;width:15px;height:15px;opacity:.82}
.vp .hcard h3 .ark-m img{width:20px;height:20px}
.vp .sp-list li.ark-li,.sup-page .sp-list li.ark-li{font-weight:400;color:#1a1a17}

/* the receipt: printed seal on the line, one line of explanation above "Processado" */
.vp .mx .rc-tl .ark-r{display:inline-block;vertical-align:-.15em}
.vp .mx .rc-tl .ark-r img{display:block;width:1.2em;height:1.2em;image-rendering:pixelated}
.vp .mx .rc-tl .ark-foot{display:flex;align-items:center;justify-content:center;gap:.5em;margin:.7em 0 .5em;font-size:.86em;text-align:center}
.vp .mx .rc-tl .ark-foot img{flex:0 0 auto;width:1.4em;height:1.4em;image-rendering:pixelated}

/* the note in the producer card */
.ark-note{display:flex;gap:12px;align-items:flex-start;margin:16px 0 22px;padding:12px 14px;background:rgba(26,26,23,.035);border-radius:4px}
.ark-note__seal{flex:0 0 auto;line-height:0}
.ark-note__seal img{width:34px;height:34px;opacity:.85}
.ark-note p{margin:0;min-width:0;font-family:'Inter',sans-serif;font-weight:300;font-size:.8rem;line-height:1.55;color:#3f3f3a}
.ark-note a{color:var(--named,#1f5135);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;white-space:nowrap}

/* tied to the Ark but not on it: no seal */
.ark-note--via{padding:10px 14px;background:transparent;border-left:2px solid rgba(26,26,23,.18);border-radius:0}

/* the map's three views: Portugal · Europe · Ark of Taste (replaces the "zoom out to europe" link) */
.ark-tabs{display:flex;width:fit-content;max-width:100%;margin:0 auto 14px;padding:3px;border:1px solid rgba(26,26,23,.14);border-radius:99px;background:#fbf9f4}
.ark-tabs[hidden],.ark-tabs button[hidden]{display:none}
.ark-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:6px 15px;border:0;border-radius:99px;background:none;font:300 .78rem/1 'Inter',sans-serif;color:#54544e;cursor:pointer;transition:background .2s,color .2s}
.ark-tabs button img{width:16px;height:16px}
.ark-tabs button:hover{color:#1a1a17}
.ark-tabs button[aria-pressed="true"]{background:var(--named,#1f5135);color:#fdfcfa}
.ark-tabs button[data-v="ark"][aria-pressed="true"]{background:#1a1a17}
.ark-tabs button[aria-pressed="true"] img{filter:invert(1)}
.ark-tabs button:focus-visible{outline:2px solid var(--named,#1f5135);outline-offset:2px}
html.ark-tabbed .vp .supswap{display:none!important}

/* the Ark view: true geography of north-west Iberia laid over the drawn map */
.vp .mapwrap{position:relative}
.ark-view{position:absolute;left:0;right:0;top:0;height:100%;z-index:5;background:#f6f3ec;line-height:1.2;opacity:0;visibility:hidden;transition:opacity .45s,visibility 0s .45s}
.ark-view.on{opacity:1;visibility:visible;transition:opacity .45s}
.ark-view__svg{position:absolute;inset:0;width:100%;height:100%;display:block;
  -webkit-mask-image:linear-gradient(to right,transparent,#000 7%,#000 93%,transparent),linear-gradient(to bottom,transparent,#000 4%,#000 96%,transparent);-webkit-mask-composite:source-in;
  mask-image:linear-gradient(to right,transparent,#000 7%,#000 93%,transparent),linear-gradient(to bottom,transparent,#000 4%,#000 96%,transparent);mask-composite:intersect}
.ark-view__svg *{vector-effect:non-scaling-stroke}
.ark-view .av-land{fill:#e7e9dc;stroke:var(--named,#1f5135);stroke-opacity:.35;stroke-width:1;stroke-linejoin:round}
.ark-view .av-bord{fill:none;stroke:var(--named,#1f5135);stroke-opacity:.22;stroke-width:1}
.ark-view .av-pt{fill:#e4cfac;stroke:#6b5434;stroke-width:1.3;stroke-linejoin:round}
.ark-view .av-other{fill:var(--named,#1f5135);opacity:.28}
.ark-view .av-line{fill:none;stroke:var(--named,#1f5135);stroke-width:1.3;stroke-dasharray:3 4;opacity:.5;transition:opacity .2s,stroke-width .2s}
.ark-view .av-line.hot{opacity:1;stroke-width:2;stroke-dasharray:none}
.ark-view .av-venn{fill:#C8341E;stroke:#fdfcfa;stroke-width:1}
.ark-view .av-vring{fill:none;stroke:#C8341E;stroke-width:1.2}
.ark-view__marks{position:absolute;inset:0}
.av-mk{position:absolute;left:0;top:0;width:0;height:0;padding:0;border:0;background:none;cursor:pointer;text-align:left;font:inherit;color:inherit}
.av-seal{position:absolute;left:-14px;top:-14px;display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#fbf9f4;box-shadow:0 0 0 1px rgba(26,26,23,.15),0 2px 6px rgba(0,0,0,.15)}
.av-seal img{display:block;width:22px;height:22px;transition:transform .2s}
.av-mk:hover .av-seal img,.av-mk.hot .av-seal img{transform:scale(1.12)}
.av-mk:hover .av-seal,.av-mk.hot .av-seal{box-shadow:0 0 0 2px #C99412,0 2px 6px rgba(0,0,0,.15)}
.av-tx{position:absolute;left:0;top:0;display:block;padding:2px 6px;background:rgba(246,243,236,.86);border-radius:3px;pointer-events:none}
.av-tx em{display:block;font:italic 300 17px/1.05 'Cormorant Garamond',Georgia,serif;color:#1a1a17;white-space:nowrap}
.av-tx small{display:block;margin-top:2px;font:300 10.5px/1.2 'Inter',sans-serif;color:#6e6c63;white-space:nowrap}
.av-mk:hover em,.av-mk:focus-visible em{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.av-mk:focus-visible{outline:none}
.av-mk:focus-visible .av-seal{box-shadow:0 0 0 2px var(--named,#1f5135),0 2px 6px rgba(0,0,0,.15)}
.av-porto{position:absolute;left:0;top:0;margin:-6px 0 0 -46px;font:500 11px/1 'Inter',sans-serif;color:#C8341E;letter-spacing:.02em;pointer-events:none}
html.ark-on .vp .mapinset{visibility:hidden!important}
html.ark-on .vp .map-legend,html.ark-on .vp .supmaphint{display:none}

/* the note under the Ark view, with the Foundation's logo */
.ark-layer{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px 24px;max-width:620px;margin:16px auto 0}
.ark-layer[hidden]{display:none}
.ark-layer p{flex:1 1 30ch;min-width:0;margin:0;font:300 .84rem/1.6 'Inter',sans-serif;color:#3f3f3a}
.ark-layer p a{color:var(--named,#1f5135);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.ark-layer__lockup{flex:0 0 auto;line-height:0}
.ark-layer__lockup img{display:block;height:30px;width:auto}
@media(max-width:880px){ .ark-tabs{width:100%} .ark-tabs button{flex:1;padding:6px 6px;gap:5px;white-space:nowrap;font-size:.74rem} .av-tx em{font-size:15.5px} }
@media (prefers-reduced-motion: reduce){ .ark-view,.ark-view.on,.av-line,.av-seal img,.ark-tabs button{transition:none} }
