/* westchestercounty.homes — Port Chester condos & co-ops — Street View "Frame 5: Name tab"
   Approved by John, Nov 26, 2026. Applies ONLY to cards that contain a Street View (.pc-bldg-sv);
   history/photo cards keep their current look. Built and previewed on the live page markup:
   article.pc-bldg-card > h3 + .pc-bldg-addr + .pc-bldg-sv > iframe + .pc-bldg-svrow
   (!important was only needed for the in-browser preview; drop it if your stylesheet order allows.) */

#condos-and-co-ops .pc-bldg-card.pc-street-view{display:flex;flex-direction:column}

/* Address line moves above the tab */
#condos-and-co-ops .pc-bldg-card.pc-street-view>.pc-bldg-addr{order:-1;margin:0 0 12px}

/* The building name (h3, kept for SEO) becomes the gold tab sitting on the frame */
#condos-and-co-ops .pc-bldg-card.pc-street-view>h3{
  display:inline-block;align-self:flex-start;margin:0 0 0 22px;padding:10px 20px 9px;
  background:linear-gradient(#e3c891,#c9a96e);color:#172431;
  font-family:Inter,system-ui,sans-serif;font-size:13px;font-weight:700;line-height:1;
  letter-spacing:.14em;text-transform:uppercase;border-radius:8px 8px 0 0;border:0}

/* Gold mount around the live Street View */
#condos-and-co-ops .pc-bldg-card.pc-street-view>.pc-bldg-sv{
  position:relative;padding:8px 8px 30px;background:linear-gradient(#c9a96e,#a8874d);border-radius:18px;border:0;
  box-shadow:0 14px 28px -12px #000c;aspect-ratio:auto;height:auto;overflow:visible}
#condos-and-co-ops .pc-bldg-card.pc-street-view>.pc-bldg-sv iframe{
  display:block;width:100%;height:auto;aspect-ratio:16/10;border:0;border-radius:12px}

#condos-and-co-ops .pc-bldg-card.pc-street-view>.pc-bldg-svrow{margin-top:10px}

/* Street View date on the frame: "AS OF JUNE 2026" in the bottom band of the gold mount.
   Markup: add data-asof="June 2026" to each .pc-bldg-sv (the Street View image date). */
#condos-and-co-ops .pc-bldg-card.pc-street-view>.pc-bldg-sv[data-asof]::before{
  content:"As of " attr(data-asof);position:absolute;bottom:9px;right:16px;
  color:#172431;font:700 11px/1 Inter,system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;white-space:nowrap}

/* Google's logo and photo credit (bottom corners) must stay visible: do not cover or crop them. */

/* Installer: scope only to condo/co-op iframe cards, preserving all history/photos. */
#condos-and-co-ops .pc-bldg-card.pc-street-view>h3{box-sizing:border-box;max-inline-size:calc(100% - 44px);line-height:1.2;overflow-wrap:break-word;text-wrap:balance}
@media(max-width:560px){#condos-and-co-ops .pc-bldg-card.pc-street-view>h3{margin-left:14px;padding:9px 12px 8px;font-size:12px;letter-spacing:.1em;max-inline-size:calc(100% - 28px)}}
