/* ONE TOWN PRESS - the frame and mat drawn around each print (16 Nov 2026). See frames.js for what gets one and
   the off switch. Everything here only applies to pictures frames.js has marked (img.fr-on, under html.fr). */
html.fr img.fr-on {
  box-sizing: border-box;
  border-style: solid !important; border-color: #1A1A1A !important;
  border-width: 6px;                             /* the frame; frames.js sets its width from the picture's size */
  padding: 5.5% !important;                      /* the mat */
  background: #FFFFFF !important;
  object-fit: contain;                           /* never stretched, whatever height a page gives the picture */
  height: auto;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06),   /* the mat's cut edge */
              0 1px 2px rgba(0,0,0,.18), 0 8px 22px rgba(0,0,0,.13);
  border-radius: 0;
}
/* the boxes some pages draw around a picture: the frame replaces them */
html.fr .pic:has(img.fr-on), html.fr .plate figure:has(img.fr-on) { border: 0 !important; background: none !important; }
html.fr .fr-note {
  font-size: 11px; line-height: 1.3; letter-spacing: .02em; color: #8A8A8A;
  margin: 7px 0 0 !important; padding: 0; text-align: right;
}
/* a card page's "Close-ups" badge sits on the picture, not on the note under it */
html.fr .pic[data-frnote][data-z]::after { bottom: 30px; right: 14px; }
html.fr figure[data-frnote] { cursor: zoom-in; }
/* the five doors at the top of the home page: a tile box with the picture filling it, so the box is the frame */
html.fr .doors .pic { border: 6px solid #1A1A1A !important; padding: 5.5%; background: #FFFFFF !important;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.18), 0 8px 22px rgba(0,0,0,.13); }
html.fr .doors a:hover img { transform: none; }         /* a zoom on hover would spill over the mat */
html.fr .doors a:hover .pic { box-shadow: inset 0 0 0 1px rgba(0,0,0,.06), 0 2px 4px rgba(0,0,0,.2), 0 12px 28px rgba(0,0,0,.18); }
/* a print inside a fixed box (shore tiles): sized to itself so the frame hugs the print; the box steps back */
html.fr img.fr-on.fr-hug { width: auto !important; height: auto !important; max-width: 100%; max-height: 100%; }
html.fr figure:has(img.fr-hug) { background: none !important; border-color: transparent !important; }
