/* MONTBLANC HAUS draft: scoped article layout. */
.post--montblanc-haus .post-image { display: none; }
.post--montblanc-haus .legacy-content,
.post--montblanc-haus .legacy-content section { display: flow-root; }
.post--montblanc-haus .legacy-content section { clear: both; }
.post--montblanc-haus .legacy-content h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.15; scroll-margin-top: 130px; }
.post--montblanc-haus .legacy-content p[aria-label="Visit date"] { color: var(--accent); font-size: .72rem; letter-spacing: .04em; margin: 0 0 26px; }
/* Singles sit beside their passage. Paired views share one compact row. */
.post--montblanc-haus .legacy-content .content-gallery {
  display: block;
  clear: both;
  width: 100%;
  max-width: 200px;
  margin: 20px auto;
}
.post--montblanc-haus .legacy-content .content-gallery[aria-label*="inset"] {
  float: right;
  width: 25%;
  margin: 5px 0 14px clamp(16px, 2.5vw, 28px);
}
.post--montblanc-haus .legacy-content .content-gallery[aria-label*="inset left"] {
  float: left;
  margin: 5px clamp(16px, 2.5vw, 28px) 14px 0;
}
.post--montblanc-haus .legacy-content .content-gallery[aria-label*="landscape inset"] {
  width: 36%;
  max-width: 300px;
}
.post--montblanc-haus .legacy-content .content-gallery[aria-label*="pair photo"] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(8px, 1.5vw, 16px);
  max-width: 616px;
  margin: clamp(18px, 3vw, 30px) auto;
}
.post--montblanc-haus .legacy-content .content-gallery[aria-label*="portrait pair"] {
  max-width: 420px;
}
.post--montblanc-haus .legacy-content .content-gallery figure { margin: 0; min-width: 0; }
.post--montblanc-haus .legacy-content .content-gallery a { display: block; position: relative; border: 0; cursor: zoom-in; }
.post--montblanc-haus .legacy-content .content-gallery a::after { content: '↗'; position: absolute; right: 8px; bottom: 8px; display: grid; place-items: center; width: 22px; height: 22px; color: white; background: #161616b3; border: 1px solid #fff6; border-radius: 50%; font: 15px/1 var(--font-main); }
.post--montblanc-haus .legacy-content .content-gallery a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.post--montblanc-haus .legacy-content .content-gallery img { display: block; width: 100%; height: auto; max-height: none; aspect-ratio: auto 2 / 3; margin: 0; object-fit: contain; border-radius: 2px; }
.post--montblanc-haus .legacy-content .content-gallery:is([aria-label*="landscape inset"], [aria-label="Montblanc Haus pair photo gallery"]) img {
  aspect-ratio: auto 3 / 2;
}
.post--montblanc-haus .manufacture-photo-passage {
  clear: both;
  display: grid;
  grid-template-columns: minmax(0, 37fr) minmax(0, 63fr);
  grid-template-areas: "photos copy";
  align-items: start;
  gap: clamp(18px, 3vw, 32px);
  margin-block: 0 24px;
}
.post--montblanc-haus [aria-label="Montblanc Haus postcards"] .manufacture-photo-passage {
  grid-template-columns: minmax(0, 63fr) minmax(0, 37fr);
  grid-template-areas: "copy photos";
}
.post--montblanc-haus .manufacture-photo-passage > .content-gallery {
  grid-area: photos;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-width: none;
  margin: 0;
}
.post--montblanc-haus .manufacture-photo-passage > div:last-child { grid-area: copy; }
.post--montblanc-haus .manufacture-photo-passage p:last-child { margin-bottom: 0; }
.post--montblanc-haus .legacy-content [aria-label="Words and Voyages photo gallery"] {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(6px, 1.4vw, 14px);
  max-width: none;
  margin: 24px 0;
}
.post--montblanc-haus aside[aria-label="Montblanc Haus art print"] {
  display: grid;
  grid-template-columns: minmax(0, 146px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  margin: 24px 0;
  padding-block: 18px;
  border-block: 1px solid var(--line);
}
.post--montblanc-haus [aria-label="Montblanc Haus art print"] .content-gallery { margin: 0; }
.post--montblanc-haus [aria-label="Montblanc Haus art print"] p { margin: 0 0 4px; }
.post--montblanc-haus [aria-label="Montblanc Haus art print"] div > a {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  min-height: 44px;
  color: var(--ink);
  border: 0;
  font: italic 1.125rem/1.4 var(--serif);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--accent) 55%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: .24em;
}
.post--montblanc-haus [aria-label="Montblanc Haus art print"] div > a::after {
  content: '→';
  display: inline-block;
  font: 400 1rem/1 var(--font-main);
}
.post--montblanc-haus [aria-label="Montblanc Haus art print"] div > a:is(:hover, :focus-visible) {
  text-decoration-color: currentColor;
}
.post--montblanc-haus [aria-label="Montblanc Haus art print"] div > a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
@media (max-width: 600px) {
  .post--montblanc-haus .legacy-content .manufacture-photo-passage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "photos" "copy";
    gap: 16px;
  }
  .post--montblanc-haus .manufacture-photo-passage > .content-gallery { max-width: 360px; }
  .post--montblanc-haus aside[aria-label="Montblanc Haus art print"] {
    grid-template-columns: minmax(0, 26%) minmax(0, 1fr);
  }
}
body:has(.post--montblanc-haus) .road-photo-dialog figcaption { display: none; }
.post--montblanc-haus .legacy-content nav[aria-label="In this article"] { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 28px 0 16px; padding: 22px 0; border-block: 1px solid var(--line); }
.post--montblanc-haus .legacy-content nav[aria-label="In this article"] a { color: var(--ink); font-size: .72rem; text-decoration: none; border: 0; }
.post--montblanc-haus .legacy-content nav[aria-label="In this article"] a:hover { color: var(--accent); }
.post--montblanc-haus .legacy-content section[aria-label="Montblanc Haus journey"] { margin-top: 28px; padding-top: 8px; border-top: 1px solid var(--line); }
.post--montblanc-haus .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--montblanc-haus .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--montblanc-haus .legacy-content aside[aria-label="Photography equipment"] p { margin: 5px 0; font-size: 14px; line-height: 1.65; }
.post--montblanc-haus .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--montblanc-haus .legacy-content aside[aria-label="Photography equipment"] > div > p:last-child { font-size: 12px; opacity: .72; }
body.is-reading-invert .post--montblanc-haus .legacy-content nav a { color: #eee; }
body.is-reading-invert .post--montblanc-haus .legacy-content aside[aria-label="Photography equipment"] > img { filter: none; box-shadow: none; }
@media (max-width: 700px) {
 .post--montblanc-haus .legacy-content .content-gallery[aria-label*="inset"] { width: 34%; max-width: 120px; }
 .post--montblanc-haus .legacy-content .content-gallery[aria-label*="landscape inset"] { width: 39%; max-width: 186px; }
 .post--montblanc-haus .legacy-content nav[aria-label="In this article"] { gap: 14px 20px; }
 .post--montblanc-haus .legacy-content aside[aria-label="Photography equipment"] { gap: 14px; }
 .post--montblanc-haus .legacy-content aside[aria-label="Photography equipment"] > img { flex-basis: 56px; width: 56px; }
}
@media (max-width: 374px) {
 .post--montblanc-haus .legacy-content .content-gallery[aria-label*="inset"] {
   float: none;
   width: 100%;
   max-width: 154px;
   margin: 16px auto;
 }
 .post--montblanc-haus .legacy-content .content-gallery[aria-label*="landscape inset"] { max-width: 260px; }
}
