/* Elbwood workshop photographs follow the On the Road article layout. */
.post--elbwood-visit .legacy-content,
.post--elbwood-visit .legacy-content section { display: flow-root; }
.post--elbwood-visit .legacy-content section { clear: both; }
.post--elbwood-visit .legacy-content h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.12; scroll-margin-top: 130px; }
.post--elbwood-visit .legacy-content p[aria-label="Visit date"] { color: var(--accent); font-size: .72rem; letter-spacing: .04em; margin: 0 0 26px; }
.post--elbwood-visit .post-image { height: auto; max-height: none; aspect-ratio: 8192 / 5464; object-fit: contain; }
.post--elbwood-visit .legacy-content .content-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; width: 100%; max-width: 640px; margin: 28px auto 34px; clear: both; }
.post--elbwood-visit .legacy-content .content-gallery[aria-label^="Elbwood inset"] { grid-template-columns: minmax(0, 1fr); max-width: 330px; }
.post--elbwood-visit .legacy-content .content-gallery figure { min-width: 0; margin: 0; }
.post--elbwood-visit .legacy-content .content-gallery a { position: relative; display: block; border: 0; text-decoration: none; cursor: zoom-in; }
.post--elbwood-visit .legacy-content .content-gallery a::after { content: '↗'; position: absolute; right: 8px; bottom: 8px; display: grid; place-items: center; width: 26px; height: 26px; background: #161616b3; border: 1px solid #fff6; border-radius: 50%; color: #fff; font: 15px/1 var(--font-main); }
.post--elbwood-visit .legacy-content .content-gallery a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.post--elbwood-visit .legacy-content .content-gallery img { display: block; width: 100%; height: auto; max-height: none; aspect-ratio: auto; margin: 0; border-radius: 2px; object-fit: contain; }
.post--elbwood-visit .legacy-content .content-gallery figcaption,
body:has(.post--elbwood-visit) .road-photo-dialog figcaption { display: none; }
.post--elbwood-visit .legacy-content nav[aria-label="In this article"] { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 26px 0 20px; padding: 22px 0; border-block: 1px solid var(--line); }
.post--elbwood-visit .legacy-content nav[aria-label="In this article"] a { font-size: .67rem; text-decoration: none; color: var(--ink); border: 0; }
.post--elbwood-visit .legacy-content nav[aria-label="In this article"] a:hover { color: var(--accent); }
.post--elbwood-visit .legacy-content section[aria-label="Elbwood journey"] { margin-top: 36px; border-top: 1px solid var(--line); padding-top: 6px; }
.post--elbwood-visit .legacy-content aside[aria-label="Photography equipment"] { display: flex; align-items: center; gap: 22px; clear: both; margin: 42px 0 0; padding: 24px 0; border-top: 1px solid var(--line); }
.post--elbwood-visit .legacy-content aside[aria-label="Photography equipment"] > img { flex: 0 0 80px; width: 80px; height: auto; max-height: none; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.post--elbwood-visit .legacy-content aside[aria-label="Photography equipment"] p { margin: 5px 0; font-size: 14px; line-height: 1.65; }
.post--elbwood-visit .legacy-content aside[aria-label="Photography equipment"] h3 { margin: 0 0 5px; font-family: var(--font-main); line-height: 1.65; font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.post--elbwood-visit .legacy-content aside[aria-label="Photography equipment"] > div > p:last-child { font-size: 12px; opacity: .72; }
body.is-reading-invert .post--elbwood-visit .legacy-content nav a { color: #eee; }
body.is-reading-invert .post--elbwood-visit .legacy-content aside[aria-label="Photography equipment"] > img { filter: none; box-shadow: none; }
@media (min-width: 701px) {
    .post--elbwood-visit .legacy-content .content-gallery[aria-label*="inset"] { float: right; clear: none; width: 38%; max-width: 330px; margin: 7px 0 20px 30px; }
    .post--elbwood-visit .legacy-content .content-gallery[aria-label*="inset left"] { float: left; margin: 7px 30px 20px 0; }
    .post--elbwood-visit .legacy-content .content-gallery[aria-label*="pair inset"] { width: 46%; max-width: 390px; }
}
@media (max-width: 700px) {
    .post--elbwood-visit .legacy-content aside[aria-label="Photography equipment"] { gap: 14px; }
    .post--elbwood-visit .legacy-content aside[aria-label="Photography equipment"] > img { flex-basis: 56px; width: 56px; }
    .post--elbwood-visit .legacy-content .content-gallery { gap: 10px; margin: 22px auto 26px; }
    .post--elbwood-visit .legacy-content .content-gallery[aria-label*="pair inset"] { max-width: 440px; }
    .post--elbwood-visit .legacy-content .content-gallery a::after { right: 6px; bottom: 6px; width: 23px; height: 23px; font-size: 13px; }
}

/* A fixed photographic stage lets the materials change without moving the pen. */
.post--elbwood-visit .legacy-content .elbwood-pen-loop {
    clear: both; overflow: hidden; margin: 34px 0 38px;
    border: 1px solid #e7e7e5; border-radius: 3px; background: #f7f7f7; color: #202020;
}
.post--elbwood-visit .elbwood-pen-loop-heading {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 19px 22px 0; font-size: 10px; line-height: 1.4; letter-spacing: .15em; text-transform: uppercase;
}
.post--elbwood-visit .elbwood-pen-loop-heading [data-pen-count] { font-variant-numeric: tabular-nums; color: #747474; }
.post--elbwood-visit .legacy-content .elbwood-pen-stage {
    /* Keep the first frame aligned when the site's CSP blocks inline styles. */
    --pen-scale: 1.120393; --pen-x: 50.1667%; --pen-y: 67.125%;
    position: relative; isolation: isolate; overflow: hidden; width: 100%; aspect-ratio: 3 / 1;
    min-height: 150px; background: #f7f7f7;
}
.post--elbwood-visit .legacy-content .elbwood-pen-stage .elbwood-pen-frame {
    position: absolute; left: 50%; top: 50%; display: block;
    width: calc(100% * var(--pen-scale, 1)); max-width: none; height: auto; max-height: none;
    margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none;
    aspect-ratio: auto; object-fit: contain; filter: none; background: transparent;
    transform: translate(calc(-1 * var(--pen-x, 50%)), calc(-1 * var(--pen-y, 50%)));
    opacity: 0; transition: opacity 80ms linear; pointer-events: none;
}
.post--elbwood-visit .legacy-content .elbwood-pen-stage .elbwood-pen-frame.is-visible { opacity: 1; }
.post--elbwood-visit .elbwood-pen-loop-bottom {
    display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 0 22px;
}
.post--elbwood-visit .elbwood-pen-description { display: grid; align-content: start; gap: 4px; min-height: 73px; }
.post--elbwood-visit .elbwood-pen-description strong { color: #202020; font-size: 12px; font-weight: 600; line-height: 1.3; letter-spacing: .12em; text-transform: uppercase; }
.post--elbwood-visit .elbwood-pen-description span { color: #353535; font-size: 14px; line-height: 1.4; }
.post--elbwood-visit .elbwood-pen-description small { color: #747474; font-size: 10px; line-height: 1.4; }
.post--elbwood-visit .elbwood-pen-controls { display: flex; flex: 0 0 auto; gap: 5px; }
.post--elbwood-visit .elbwood-pen-controls[hidden] { display: none; }
.post--elbwood-visit .elbwood-pen-controls button {
    display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 8px;
    border: 1px solid #d3d3d0; border-radius: 3px; background: transparent; color: #252525;
    font: inherit; font-size: 13px; line-height: 1; cursor: pointer;
}
.post--elbwood-visit .elbwood-pen-controls [data-pen-toggle] { min-width: 68px; font-size: 11px; letter-spacing: .02em; }
.post--elbwood-visit .elbwood-pen-controls button:hover { background: #eaeae8; }
.post--elbwood-visit .elbwood-pen-controls button:focus-visible { outline: 2px solid #9b51e0; outline-offset: 3px; }
.post--elbwood-visit .elbwood-pen-credit {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: 10px 22px 16px;
}
/* A quiet maker's signature beside the photo credit, on the light collection panel. */
.post--elbwood-visit .elbwood-pen-credit::after {
    content: ""; display: block; flex: 0 0 68px; width: 68px; height: 44px;
    background: url("/assets/img/road-heading-logos-20261023/elbwood.svg") center / contain no-repeat;
    opacity: .52;
}
.post--elbwood-visit .legacy-content .elbwood-pen-credit a { color: #747474; font-size: 10px; line-height: 1.4; text-decoration: none; border: 0; }
.post--elbwood-visit .legacy-content .elbwood-pen-credit a:hover { color: #202020; text-decoration: underline; }
body.is-reading-invert .post--elbwood-visit .legacy-content .elbwood-pen-loop { border-color: #444; }
body.is-reading-invert .post--elbwood-visit .legacy-content .elbwood-pen-description strong { color: #202020; }
@media (max-width: 600px) {
    .post--elbwood-visit .elbwood-pen-loop-heading { padding: 16px 16px 0; font-size: 9px; }
    .post--elbwood-visit .elbwood-pen-loop-bottom { display: grid; gap: 10px; padding-inline: 16px; }
    .post--elbwood-visit .elbwood-pen-description { min-height: 72px; }
    .post--elbwood-visit .elbwood-pen-controls { justify-content: flex-end; }
    .post--elbwood-visit .elbwood-pen-credit { padding: 10px 16px 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .post--elbwood-visit .legacy-content .elbwood-pen-stage .elbwood-pen-frame { transition: none; }
}
