/* Additions to the old briankane.net pages for the static archive (Brian, 2026-11-23) */

/* Share button: same size and shape as the old X "Post" button (20px tall, black pill) */
.entry-share .share-btn { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 9px 0 8px;
  margin-left: 0; vertical-align: middle; border: 0; border-radius: 10px; background: #000; color: #fff; cursor: pointer;
  font: 700 11px/20px "Helvetica Neue", Helvetica, Arial, sans-serif; }
.entry-share .share-btn:hover { background: #333; }
.entry-share .share-btn svg { margin-top: -1px; }
/* the old theme styles every span in that column (block, pulled up); undo that inside the button */
.entry-share .share-btn .share-word { display: inline; margin: 0; padding: 0; float: none; line-height: 20px; }

/* Social icons: drawn like the old ones (20px dark square, white symbol, 10px apart, 54% faded, full on hover) */
#socials-menu li.new-social a { background: none !important; text-indent: 0; overflow: hidden; display: block;
  width: 20px; height: 20px; opacity: .54; transition: opacity .2s; }
#socials-menu li.new-social a:hover { opacity: 1; }
#socials-menu li.new-social svg { display: block; }

/* "Load More" is now a plain link to the next page */
#load-more.static-load-more { display: block; }
/* Contact page: the text column takes the whole width now that the form is gone */
#contact-infos.archive-contact { float: none; width: auto; max-width: 560px; }

/* Photo-gallery pages (Healing Tool, Works, MFA, Fashion, RISD class pages...): the theme squeezed the text and
   videos into a narrow dark column and cropped the photos. Now: a full-width dark header, videos at their own
   shape, comfortable text, and every photo uncropped in a masonry below (3 columns, 2 on narrow windows, 1 on phones). */
/* gallery pages: the space around and below the photos is the same dark gray as the header band (Brian) */
body.archive-gallery { background: #141414; }
body.archive-gallery .photos-gallery, body.archive-gallery .archive-photo-grid { background: #141414; }
body.archive-gallery .photos-gallery { height: auto !important; overflow: visible !important; }
body.archive-gallery .photos-gallery .photo-header { position: static !important; float: none !important; width: auto !important;
  height: auto !important; left: auto !important; top: auto !important; overflow: visible !important;
  transform: none !important; }
body.archive-gallery .photo-header-inner { max-width: 853px; padding: 28px 32px 30px; }
body.archive-gallery .photo-header h1 { font-size: 26px; line-height: 32px; }
body.archive-gallery .photo-header p { max-width: 680px; text-align: left; font-size: 13px; line-height: 21px; }
body.archive-gallery .photo-header .videoWrapper { position: static !important; height: auto !important; padding: 0 !important;
  margin: 0 0 14px !important; }
body.archive-gallery .photo-header iframe { display: block; width: 100% !important; max-width: 853px; height: auto !important; }
body.archive-gallery .photo-header iframe:not([data-shape]) { aspect-ratio: 16 / 9; }
body.archive-gallery .archive-photo-grid { column-count: 3; column-gap: 0; }
body.archive-gallery .archive-photo-grid .item-photo { position: static !important; float: none !important; display: block;
  width: auto !important; height: auto !important; left: auto !important; top: auto !important; break-inside: avoid;
  transform: none !important; }
@media (max-width: 1100px) { body.archive-gallery .archive-photo-grid { column-count: 2; } }
@media (max-width: 700px)  { body.archive-gallery .archive-photo-grid { column-count: 1; }
                             body.archive-gallery .photo-header-inner { padding: 20px 16px 24px; } }

/* The real comments, brought back as plain text under their posts (no Disqus, spam left out) */
.archive-comments { clear: both; margin: 36px 0 0; padding-top: 18px; border-top: 1px dotted #b4b4b4; max-width: 680px; }
.archive-comments h3 { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; margin: 0 0 14px; color: #141414; }
.archive-comments ol { list-style: none; margin: 0; padding: 0; }
.archive-comments li { margin: 0 0 16px; padding: 0 0 16px; border-bottom: 1px dotted #d4d4d4; }
.archive-comments li:last-child { border-bottom: 0; }
.archive-comment-name { font-weight: 700; color: #141414; margin-bottom: 4px; }
.archive-comment-text p { margin: 0 0 8px; }
.archive-comment-text p:last-child { margin-bottom: 0; }
.archive-comment-date { font-weight: 400; color: #8a8a8a; margin-left: 6px; }
/* Google-style rating stars (Selfie Spot) */
.archive-stars { color: #fbbc04; letter-spacing: 1px; font-size: 14px; }
/* Google Maps reviews (Selfie Spot) */
.archive-reviews { list-style: none; margin: 0 0 18px; padding: 0; max-width: 680px; }
.archive-reviews li { margin: 0 0 12px; line-height: 21px; }
/* the imaginary critic's review (NoCo Lights) */
.archive-critic { margin: 18px 0 22px; padding: 2px 0 2px 16px; border-left: 2px solid #555; max-width: 680px; font-style: italic; }
.archive-critic p { margin: 0 0 6px; }
.photo-header .archive-critic, .photo-header .archive-critic p { color: #e6e6e6; }
.archive-critic { border-left-color: #8a8a8a; }
.archive-critic .archive-critic-name, .photo-header .archive-critic .archive-critic-name { font-style: normal; color: #a8a8a8; }
/* simple lists on new pages (UAP Gallery shows) */
.archive-list { list-style: none; margin: 0 0 16px; padding: 0; max-width: 680px; }
.archive-list li { margin: 0 0 6px; line-height: 20px; }
/* UAP Gallery: photos first, then the text and video in a second dark band (Brian) */
body.archive-gallery .photo-header.archive-after-photos { position: static !important; width: auto !important; height: auto !important;
  float: none !important; left: auto !important; top: auto !important; transform: none !important; clear: both; }
body.archive-gallery .archive-after-photos iframe { display: block; width: 100% !important; max-width: 853px; height: auto !important; aspect-ratio: 16 / 9; margin-top: 18px; }
/* photos in new press posts (DARIA reviews), with the photographer's credit */
.archive-figure { margin: 18px 0 22px; max-width: 620px; }
.archive-figure img { display: block; width: 100%; height: auto; }
.archive-figure figcaption { margin-top: 6px; font-size: 11px; line-height: 16px; color: #777; }
/* links in the large-photo captions (Works etc.): blue, as on the old site's captions (Brian) */
#fancybox-title a { color: #1a5fb4; }
/* link colors (Brian, 2026-11-24): one high-contrast blue for links in the text, everywhere; was mid-gray #808080
   (3.9:1), orange on some pages. Dark blue on the light pages (6:1), light blue on the dark gallery headers (9:1) */
.entry-content a, .archive-edition a, .archive-photo-caption a, .archive-figure a { color: #1a5fb4; text-decoration: underline; }
.entry-content a:hover, .archive-edition a:hover, .archive-photo-caption a:hover, .archive-figure a:hover { color: #0d3b75; }
body.archive-gallery .photo-header a, body.archive-gallery .archive-after-photos a { color: #8ab4ff; text-decoration: underline; }
body.archive-gallery .photo-header a:hover, body.archive-gallery .archive-after-photos a:hover { color: #ffffff; }
.entry-content a.fullscreen, .entry-content a:has(> img) { text-decoration: none; }
/* a post's slideshow shown as photos: the first on top, the rest one under another below the text (Brian) */
.archive-more-photos { margin-top: 18px; }
.archive-photo { position: relative; margin: 0 0 18px; }
.archive-more-photos img { display: block; width: 100%; height: auto; }
/* photos in a post's text that open in the lightbox where they sit, at their own size (Brian, 2026-11-23) */
.archive-inline-photo { position: relative; display: inline-block; max-width: 100%; vertical-align: top; }
.archive-inline-photo img { display: block; max-width: 100%; height: auto; }
/* two photos in one paragraph: side by side with the old 3px space when they fit, and the usual 18px between them when
   they wrap onto two lines (Brian: they were touching) */
p:has(> .archive-inline-photo + .archive-inline-photo) { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 18px 3px; }
/* a photo with a line break after it: the caption line under it sits 10px below (was 2px; Brian: too close on Ground Zero);
   two photos with a line break between them (Loading Stones) stay 18px apart (8 + 10) */
.archive-inline-photo:has(+ br) { margin-bottom: 8px; }
.archive-inline-photo + br + .archive-inline-photo { margin-top: 10px; }
/* a Google map in a post (Ground Zero: the Trinity Site) */
.archive-map { display: block; width: 100%; max-width: 853px; height: 400px; border: 0; margin: 0 0 18px; }
/* an old portfolio page's slideshow (Ninja Jamm): the first photo in the dark band, centered; the rest below the title */
.archive-portfolio-image { text-align: center; padding: 20px 0; background: #222; }
.archive-portfolio-image .archive-photo { display: inline-block; margin: 0; max-width: 100%; }
.archive-portfolio-image img { display: block; max-width: 100%; max-height: 600px; width: auto; height: auto; }
/* Brian's old QuickTime VRs: a drag-to-look panorama, and a drag-to-turn spin (2026-11-23) */
.archive-pano { width: 100%; max-width: 853px; aspect-ratio: 16 / 9; margin: 18px 0; background: #222; }
.archive-spin { max-width: 600px; margin: 18px 0 6px; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.archive-spin:active { cursor: grabbing; }
.archive-spin img { display: block; width: 100%; height: auto; pointer-events: none; }
.archive-vr-hint { margin: 0 0 18px; font-size: 11px; color: #777; }
.archive-video { display: block; width: 100%; height: auto; background: #000; }
/* the theme's video box is a fixed 16:9 shape for iframes; a video file shown in it (Xhare, 4:3) sets its own height (Brian) */
.fluid-video:has(> video.archive-video) { padding-bottom: 0; height: auto; }
/* the 1993 Wonderland Ave treatment on the Tim Leary page (Brian, 2026-11-23): a heading, Lisa's note set off at the
   normal text size (the theme's quotes are 22-28px), and the 11 rooms as a numbered list */
.archive-treatment-title { margin: 36px 0 12px; font-size: 18px; line-height: 24px; }
.archive-treatment-note { margin: 0 0 18px; padding: 0 0 0 14px; border-left: 3px solid #ccc; }
.archive-treatment-note, .archive-treatment-note p { font-size: inherit; line-height: inherit; color: inherit; }
.archive-treatment-rooms { margin: 0 0 18px 22px; list-style: decimal; }
.archive-treatment-rooms li { margin: 0 0 6px; }
/* a caption line under a photo (Panoramas page, Brian 2026-11-23) */
.archive-photo-caption { margin: 8px 0 0; }
.post-image .archive-photo-caption { padding: 0 0 4px; }
/* two videos right after each other (in one paragraph, or with only a line break between): 18px apart like the photos
   (Brian, 2026-11-23: text to speech acapella) */
.fluid-width-video-wrapper + .fluid-width-video-wrapper, .fluid-width-video-wrapper + br + .fluid-width-video-wrapper,
.fluid-video + .fluid-video { margin-top: 18px; }
/* the face scan wrapped around a ball you can turn (Brian, 2026-11-24) */
.archive-sphere { width: 100%; max-width: 480px; margin: 18px auto 6px; }
.archive-sphere canvas { display: block; width: 100%; height: auto; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
/* the apartment tour's clickable zones (Brian, 2026-11-24): invisible until the mouse is over one, then a soft outline,
   the arrow and the room's name; on touch screens (no hover) the arrows always show */
.archive-zone-hotspot { position: absolute; border-radius: 6px; pointer-events: none; }
.archive-zone-arrow { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%;
  background: rgba(255,255,255,.85) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4l7 8h-4.5v8h-5v-8H5z' fill='%23222'/%3E%3C/svg%3E") center / 18px no-repeat;
  box-shadow: 0 1px 4px rgba(0,0,0,.5); opacity: 0; transition: opacity .15s; }
.archive-zone-label { position: absolute; left: 50%; top: 50%; margin-top: 20px; transform: translateX(-50%); white-space: nowrap;
  background: rgba(0,0,0,.7); color: #fff; font: 12px/1.4 Helvetica, Arial, sans-serif; padding: 2px 7px; border-radius: 3px; opacity: 0; transition: opacity .15s; }
.archive-zone-on { box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); background: rgba(255,255,255,.08); }
.archive-zone-on .archive-zone-arrow, .archive-zone-on .archive-zone-label { opacity: 1; }
@media (hover: none) { .archive-zone-arrow { opacity: .9; } }
/* the tour's hint: "point at doorways" with a mouse, "tap the arrows" on touch screens, where the arrows always show (Brian) */
.archive-hint-touch { display: none; }
@media (hover: none) { .archive-hint-mouse { display: none; } .archive-hint-touch { display: inline; } }
/* the AI heads (3D models) on the Face Scan page (Brian, 2026-11-24) */
model-viewer.archive-model { display: block; width: 100%; max-width: 480px; height: 420px; margin: 18px auto 6px; background: #1a1a1a; --poster-color: #1a1a1a; }
