/*
 * LL Gallery v1.8.27 — Shared editorial system
 * This is the final, carefully scoped typography/layout layer.
 * It intentionally DOES NOT target Kizhi, Old Faithful or Vlkolinec.
 * Use .llog-editorial-photo-essay for a purpose-built photo story;
 * use .llog-editorial-unified-v2 for all future gallery default pages.
 * No entity keys, country identifiers or property-specific CSS.
 */

/* Protect articles that opted into the new language from SWELL's color panels,
   border ribbons and h2 ::before / ::after decorations. */
body.llog-single.llog-editor-native .post_content :is(.llog-editorial-photo-essay,.llog-editorial-unified-v2)
  :is(h2.wp-block-heading,h3.wp-block-heading,.llog-native-discovery,.llog-native-data-title,.llog-native-archive-title) {
  display:block!important;
  width:auto!important;
  max-width:100%!important;
  min-height:0!important;
  padding:0!important;
  border:0!important;
  border-top:0!important;
  border-bottom:0!important;
  border-left:0!important;
  outline:0!important;
  border-radius:0!important;
  background:none!important;
  background-color:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  text-shadow:none!important;
  color:#263739!important;
  font-family:"Noto Serif JP","Yu Mincho","Hiragino Mincho ProN",serif!important;
  font-weight:400!important;
  letter-spacing:.012em!important;
  text-wrap:pretty;
  overflow-wrap:anywhere;
}
body.llog-single.llog-editor-native .post_content :is(.llog-editorial-photo-essay,.llog-editorial-unified-v2)
  :is(h2.wp-block-heading,h3.wp-block-heading,.llog-native-discovery,.llog-native-data-title,.llog-native-archive-title)::before,
body.llog-single.llog-editor-native .post_content :is(.llog-editorial-photo-essay,.llog-editorial-unified-v2)
  :is(h2.wp-block-heading,h3.wp-block-heading,.llog-native-discovery,.llog-native-data-title,.llog-native-archive-title)::after {
  content:none!important;
  display:none!important;
  height:0!important;
  border:0!important;
  background:none!important;
  box-shadow:none!important;
}

@media(max-width:900px){
  /* Main text and all headings share one typographic baseline. */
  body.llog-mobile-layout-s1.llog-editor-native .post_content
    :is(.llog-editorial-photo-essay,.llog-editorial-unified-v2)
    :is(h2.wp-block-heading,h3.wp-block-heading,.llog-native-discovery,.llog-native-data-title,.llog-native-archive-title){
    font-size:clamp(19px,5.3vw,22px)!important;
    line-height:1.58!important;
    margin:0 0 13px!important;
  }
  body.llog-mobile-layout-s1.llog-editor-native .post_content
    :is(.llog-editorial-photo-essay,.llog-editorial-unified-v2)
    :is(.llog-editorial-copy,.llog-native-note>p,.llog-native-bridge>p,.llog-editorial-reading>p){
    padding:0!important;
    margin:0!important;
    max-width:36em!important;
    background:transparent!important;
    color:#344240!important;
    font-size:15px!important;
    font-weight:400!important;
    line-height:1.88!important;
    letter-spacing:.008em!important;
    overflow-wrap:break-word;
  }
  body.llog-mobile-layout-s1.llog-editor-native .post_content
    :is(.llog-editorial-photo-essay,.llog-editorial-unified-v2) figcaption{
    margin:7px 0 0!important;
    font-size:10.5px!important;
    line-height:1.65!important;
    font-weight:400!important;
    color:#78827e!important;
    background:none!important;
  }

  /* Roros + future articles choosing the shared photo-essay vocabulary. */
  body.llog-mobile-layout-s1.llog-editor-native .post_content
    .llog-editorial-photo-essay .llog-editorial-spread{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:0!important;
    margin:40px 0 50px!important;
    padding:0!important;
    border:0!important;
    background:none!important;
    box-shadow:none!important;
  }
  body.llog-mobile-layout-s1.llog-editor-native .post_content
    .llog-editorial-photo-essay .llog-editorial-spread-image{
    width:100%!important;
    max-width:none!important;
    margin:0 0 21px!important;
    padding:0!important;
  }
  body.llog-mobile-layout-s1.llog-editor-native .post_content
    .llog-editorial-photo-essay .llog-editorial-spread-image img{
    width:100%!important;
    height:auto!important;
    max-height:68vh!important;
    object-fit:contain!important;
  }
  body.llog-mobile-layout-s1.llog-editor-native .post_content
    .llog-editorial-photo-essay .llog-editorial-spread-quiet .llog-editorial-spread-image{
    width:85%!important;
    max-width:440px!important;
    margin:0 auto 22px!important;
  }
  body.llog-mobile-layout-s1.llog-editor-native .post_content
    .llog-editorial-photo-essay :is(.llog-editorial-spread-copy,.llog-editorial-number-copy){
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
  }
  body.llog-mobile-layout-s1.llog-editor-native .post_content
    .llog-editorial-photo-essay .llog-editorial-reading{
    margin:48px 0 24px!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
  }
  body.llog-mobile-layout-s1.llog-editor-native .post_content
    .llog-editorial-photo-essay .llog-editorial-reading-hairline{
    margin-top:55px!important;
    padding-top:21px!important;
    border-top:1px solid rgba(38,55,57,.14)!important;
  }
  body.llog-mobile-layout-s1.llog-editor-native .post_content
    .llog-editorial-photo-essay .llog-editorial-after-photo{
    margin:12px 0 48px!important;
    font-size:13px!important;
    line-height:1.85!important;
    color:#63706b!important;
  }
  body.llog-mobile-layout-s1.llog-editor-native .post_content
    .llog-editorial-photo-essay .llog-editorial-pair{
    display:block!important;
    margin:18px 0 12px!important;
    padding:0!important;
    border:0!important;
  }
  body.llog-mobile-layout-s1.llog-editor-native .post_content
    .llog-editorial-photo-essay .llog-editorial-pair>.wp-block-column{
    width:100%!important;
    margin:0 0 20px!important;
    padding:0!important;
  }
  body.llog-mobile-layout-s1.llog-editor-native .post_content
    .llog-editorial-photo-essay .llog-editorial-solo{
    width:min(90%,560px)!important;
    margin:35px auto 0!important;
  }
  body.llog-mobile-layout-s1.llog-editor-native .post_content
    .llog-editorial-photo-essay .llog-editorial-number{
    display:block!important;
    margin:66px 0 30px!important;
    padding:22px 0 0!important;
    border:0!important;
    border-top:1px solid rgba(38,55,57,.15)!important;
    background:none!important;
  }
  body.llog-mobile-layout-s1.llog-editor-native .post_content
    .llog-editorial-photo-essay .llog-editorial-number-value{
    margin:0 0 17px!important;
    padding:0!important;
    background:none!important;
    border:0!important;
  }
  body.llog-mobile-layout-s1.llog-editor-native .post_content
    .llog-editorial-photo-essay .llog-editorial-number-value strong{
    font:400 clamp(66px,18vw,82px)/1 Georgia,serif!important;
    color:#263739!important;
    letter-spacing:-.06em!important;
  }

  /* Future default buildings: no colored title cards or drifting widths.
     The same rules work for a 5-photo lodge or a 15-photo village. */
  body.llog-mobile-layout-s1.llog-editor-native .post_content
    .llog-editorial-unified-v2 .llog-native-note{
    display:block!important;
    margin:42px 0 46px!important;
    padding:0!important;
    border:0!important;
    background:none!important;
  }
  body.llog-mobile-layout-s1.llog-editor-native .post_content
    .llog-editorial-unified-v2 .llog-native-note>:not(:first-child){margin-top:16px!important}
  body.llog-mobile-layout-s1.llog-editor-native .post_content
    .llog-editorial-unified-v2 .llog-native-pair{
    display:block!important;
    margin:36px 0 38px!important;
    gap:0!important;
  }
  body.llog-mobile-layout-s1.llog-editor-native .post_content
    .llog-editorial-unified-v2 .llog-native-pair>.wp-block-column{
    width:100%!important;
    margin:0 0 17px!important;
  }
  body.llog-mobile-layout-s1.llog-editor-native .post_content
    .llog-editorial-unified-v2 .llog-native-bridge{
    margin:44px 0 46px!important;
    padding:0!important;
    border:0!important;
    background:none!important;
  }
  body.llog-mobile-layout-s1.llog-editor-native .post_content
    .llog-editorial-unified-v2 .llog-native-data-title,
  body.llog-mobile-layout-s1.llog-editor-native .post_content
    .llog-editorial-unified-v2 .llog-native-archive-title{
    margin:52px 0 17px!important;
  }
}

@media(min-width:901px){
  body.llog-single.llog-editor-native .post_content
    :is(.llog-editorial-photo-essay,.llog-editorial-unified-v2)
    :is(h2.wp-block-heading,h3.wp-block-heading,.llog-native-discovery,.llog-native-data-title,.llog-native-archive-title){
    font-size:clamp(22px,2vw,29px)!important;
    line-height:1.62!important;
    margin-bottom:20px!important;
  }
  body.llog-single.llog-editor-native .post_content
    .llog-editorial-photo-essay .llog-editorial-copy{
    max-width:34em!important;
    font-size:16px!important;
    line-height:1.95!important;
    color:#344240!important;
  }
  body.llog-single.llog-editor-native .post_content
    .llog-editorial-unified-v2 .llog-native-note,
  body.llog-single.llog-editor-native .post_content
    .llog-editorial-unified-v2 .llog-native-bridge{
    max-width:700px!important;
    margin:82px auto 92px!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
  }
  body.llog-single.llog-editor-native .post_content
    .llog-editorial-unified-v2 .llog-native-photo-row{
    max-width:1000px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
}

/* v1.8.32 Future Gallery photo-essays: heading spacing is consistent, independent of photos. */
@media(max-width:900px){
 body.llog-single.llog-editor-native .post_content :is(.llog-editorial-photo-essay,.llog-editorial-unified-v2) h2.wp-block-heading {
  font-size:20px!important;line-height:1.57!important;margin:0 0 18px!important;
 }
 body.llog-single.llog-editor-native .post_content :is(.llog-editorial-photo-essay,.llog-editorial-unified-v2) p.llog-editorial-copy{
  font-size:15.5px!important;line-height:1.86!important;
 }
}

/* v1.8.53 — Château Montebello's LL-generated plan concept only. */
.llog-editorial-photo-essay figure.llog-montebello-concept-v1853 {
  display:block;
  width:100%;
  max-width:900px;
  margin:28px auto 34px !important;
  padding:0 !important;
  border:0 !important;
  box-shadow:none !important;
  background:transparent !important;
}
.llog-editorial-photo-essay figure.llog-montebello-concept-v1853 img {
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
}
@media(max-width:767px){
  body.llog-mobile-layout-s1 .llog-editorial-photo-essay figure.llog-montebello-concept-v1853 {
    margin:20px auto 32px !important;
    max-width:100%;
  }
}

/* v1.8.57: editorial detail crop utility – solely when explicitly used as a study view. */
.llog-native-rauland figure.llog-editorial-study-crop { width:min(100%, 640px); margin:clamp(18px,3.5vw,36px) auto clamp(28px,5vw,55px) !important; }
.llog-native-rauland figure.llog-editorial-study-crop img { display:block; width:100% !important; height:auto !important; aspect-ratio:4/3; object-fit:cover !important; }
.llog-native-rauland figure.llog-study-corner img {object-position:65% 62%;}
.llog-native-rauland figure.llog-study-door img {object-position:50% 38%;}
.llog-native-rauland figure.llog-editorial-study-crop figcaption {font-size:clamp(11px,1.0vw,13px); line-height:1.65; color:#777; margin-top:8px; text-align:left;}
@media(max-width:767px){ .llog-native-rauland figure.llog-editorial-study-crop {width:min(88%,520px);margin:16px auto 32px !important;} }

/* 1.8.59 / Søre Rauland only. All common gallery article layouts remain untouched. */
.llog-native-rauland .llog-rauland-conclusion{
  max-width:780px; margin-top:clamp(46px,7vw,108px)!important; margin-bottom:clamp(50px,7vw,100px)!important;
}
.llog-native-rauland .llog-rauland-conclusion .llog-editorial-copy{
  font-family: 'Noto Serif JP', serif; line-height:2.05; letter-spacing:.045em;
}
.llog-native-rauland .llog-rauland-museum-overview img { object-fit:cover; }
.llog-native-rauland .llog-rauland-museum-overview .wp-element-caption{
  max-width:870px; margin-inline:auto;
}
@media(min-width:900px){
  .llog-native-rauland .llog-rauland-plans{max-width:1060px; margin-inline:auto;}
}
@media(max-width:767px){
  .llog-native-rauland .llog-rauland-plans{display:block;}
  .llog-native-rauland .llog-rauland-plans>.wp-block-column{width:100%;margin-bottom:24px;}
}

/* v1.8.60 · Søre Rauland only / compact photo-led editorial layout.
 * The prior blank gaps were margins on reading groups; deleting heading blocks
 * did not delete these margins. No rules touch another gallery article. */
html body .post_content .llog-native-rauland.llog-rauland-v1860{
  --rauland-ink:#263739;
  --rauland-muted:#687674;
  width:100%; max-width:100%; min-width:0; overflow-x:clip;
}
html body .post_content .llog-native-rauland.llog-rauland-v1860 > .wp-block-group{
  margin-block:0!important; padding-block:0!important;
}
html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-story{
  box-sizing:border-box!important;
  display:block!important;
  width:min(100%,690px)!important;
  max-width:690px!important;
  margin:clamp(24px,3vw,36px) auto clamp(32px,5vw,62px)!important;
  padding:0!important;
  border:0!important; box-shadow:none!important; background:transparent!important;
}
html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-story > *{
  max-width:100%!important;
  margin-block-start:0!important;
  margin-block-end:0!important;
}
html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-story p.llog-rauland-copy{
  font-family:system-ui,-apple-system,"Noto Sans JP","Hiragino Kaku Gothic ProN",sans-serif!important;
  font-size:clamp(14.4px,1.14vw,16px)!important;
  font-weight:400!important; line-height:1.93!important;
  letter-spacing:.018em!important;
  color:#3e4c49!important;
  margin:0!important; padding:0!important;
  text-wrap:pretty!important;
}
html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-story p.llog-rauland-copy + p.llog-rauland-copy{
  margin-top:15px!important;
}
html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-eyebrow{
  margin:0 0 7px!important;
  font:500 10px/1.6 system-ui,sans-serif!important;
  letter-spacing:.25em!important;color:var(--rauland-muted)!important;
}
html body .post_content .llog-native-rauland.llog-rauland-v1860 p.llog-rauland-date{
  display:flex!important;flex-wrap:wrap;align-items:baseline;gap:clamp(8px,1.6vw,21px)!important;
  margin:0 0 clamp(14px,2vw,23px)!important;
  font:400 clamp(66px,9vw,122px)/.98 Georgia,"Times New Roman",serif!important;
  letter-spacing:-.08em!important;color:var(--rauland-ink)!important;
}
html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-date-suffix{
  white-space:nowrap;
  font:400 clamp(10px,1.1vw,13px)/1.4 system-ui,sans-serif!important;
  letter-spacing:.14em!important;color:var(--rauland-muted)!important;
}
html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-stat-unit{
  font-size:.43em!important;letter-spacing:-.03em!important;
}
html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-subtitle{
  margin:0 0 15px!important;
  font:400 clamp(22px,2.5vw,28px)/1.6 "Noto Serif JP","Yu Mincho",serif!important;
  letter-spacing:.025em!important;color:var(--rauland-ink)!important;
}
html body .post_content .llog-native-rauland.llog-rauland-v1860 :is(.llog-rauland-feature,.llog-rauland-tall-photo,.llog-rauland-detail-photo,.llog-rauland-drawing){
  box-sizing:border-box!important;display:block!important;
  padding:0!important;border:0!important;background:transparent!important;
  margin:clamp(14px,2vw,24px) auto clamp(12px,2vw,26px)!important;
}
html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-feature{
  width:100%!important;max-width:1120px!important;
}
html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-feature img{
  display:block!important; width:100%!important;height:auto!important;
  max-height:none!important;object-fit:contain!important;
}
html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-feature-opening{
  margin-top:0!important;
}
html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-tall-photo{
  width:min(65%,490px)!important;max-width:490px!important;
  margin-top:6px!important;margin-bottom:clamp(30px,5vw,64px)!important;
}
html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-tall-photo img{
  width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;
}
html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-detail-photo{
  width:min(68%,510px)!important;max-width:510px!important;
  margin-top:clamp(18px,3vw,28px)!important;
}
html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-drawing{
  width:min(70%,560px)!important;max-width:560px!important;
  margin-block:clamp(18px,3vw,32px)!important;
}
html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-detail-photo img,
html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-drawing img{
  width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;
}
html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-photo-pair{
  box-sizing:border-box!important;width:min(100%,1060px)!important;
  margin:clamp(22px,3vw,34px) auto clamp(24px,4vw,42px)!important;
  padding:0!important;gap:clamp(12px,2vw,23px)!important;
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  align-items:start!important;
  background:none!important;border:0!important;
}
html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-photo-pair > .wp-block-column{
  box-sizing:border-box!important;max-width:100%!important;min-width:0!important;
  width:100%!important;margin:0!important;padding:0!important;flex:none!important;
}
html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-photo-pair figure{
  box-sizing:border-box!important;display:block!important;
  width:100%!important;margin:0!important;padding:0!important;
}
html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-photo-pair img{
  display:block!important;width:100%!important;height:auto!important;
  max-height:none!important;object-fit:contain!important;
}
html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-plans{
  max-width:910px!important;
}
html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-archive-copy{
  margin-bottom:24px!important;
}
html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-preserve-copy{
  margin-top:clamp(22px,4vw,44px)!important;
  margin-bottom:clamp(22px,4vw,45px)!important;
}
html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-museum-copy{
  margin-top:16px!important;margin-bottom:28px!important;
}
html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-conclusion{
  width:min(100%,740px)!important;max-width:740px!important;
  margin:clamp(36px,6vw,70px) auto clamp(50px,7vw,80px)!important;
  padding-top:clamp(16px,2vw,22px)!important;
  border-top:1px solid rgba(38,55,57,.18)!important;
}
html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-conclusion p.llog-rauland-finale{
  color:var(--rauland-ink)!important;
  font-family:"Noto Serif JP","Yu Mincho","Hiragino Mincho ProN",serif!important;
  font-size:clamp(16px,1.55vw,19px)!important;
  line-height:2.1!important;
  letter-spacing:.03em!important;
}
html body .post_content .llog-native-rauland.llog-rauland-v1860 figure figcaption{
  color:#78827e!important;font:400 11px/1.65 system-ui,sans-serif!important;
  letter-spacing:0!important; margin:8px 0 0!important;
}
html body .post_content .llog-native-rauland.llog-rauland-v1860 h2.wp-block-heading:empty,
html body .post_content .llog-native-rauland.llog-rauland-v1860 p:empty{
  display:none!important;margin:0!important;padding:0!important;
}
@media(max-width:767px){
  html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-story{
    width:100%!important;max-width:100%!important;
    margin:22px auto 30px!important;
  }
  html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-opening-copy{
    margin:16px auto 33px!important;
  }
  html body .post_content .llog-native-rauland.llog-rauland-v1860 p.llog-rauland-date{
    font-size:clamp(66px,17vw,84px)!important;
    margin-bottom:12px!important;
  }
  html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-story p.llog-rauland-copy{
    font-size:14.5px!important;line-height:1.86!important;
    letter-spacing:.008em!important;
  }
  html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-feature,
  html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-current-building{
    width:100%!important;max-width:100%!important;
    margin-block:8px 13px!important;
  }
  html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-tall-photo,
  html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-detail-photo,
  html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-drawing{
    width:min(90%,500px)!important;max-width:500px!important;
    margin:17px auto 25px!important;
  }
  html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-photo-pair{
    display:block!important;width:100%!important;max-width:100%!important;
    margin:19px 0 25px!important;
  }
  html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-photo-pair > .wp-block-column{
    width:100%!important;max-width:100%!important;
    margin:0 0 17px!important;
  }
  html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-archive-copy,
  html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-preserve-copy{
    margin-block:22px 28px!important;
  }
  html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-museum-copy{
    margin:11px 0 25px!important;
  }
  html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-conclusion{
    margin:28px 0 45px!important;
    padding-top:17px!important;
  }
}

/* v1.8.61: Turf roof interlude: compact copy and real exterior photo. */
html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-roof-copy{
  margin-top:clamp(16px,2.2vw,28px)!important;
  margin-bottom:clamp(14px,2vw,24px)!important;
}
html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-roof-copy .llog-rauland-eyebrow{
  margin-bottom:12px!important;
}
html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-roof-photo{
  width:min(100%,980px)!important;max-width:980px!important;
  margin:0 auto clamp(20px,4vw,44px)!important;
}
@media(max-width:767px){
 html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-roof-copy{
  margin:18px auto 16px!important;
 }
 html body .post_content .llog-native-rauland.llog-rauland-v1860 .llog-rauland-roof-photo{
  width:100%!important;max-width:100%!important;
  margin:0 auto 25px!important;
 }
}

/* v1.8.62 — only Søre Rauland / editorial photo gallery.
 * No changes to other Gallery posts or the Gallery landing page.
 * Keep photos full-size, short text as unobtrusive captions between spreads. */
html body .post_content .llog-native-rauland.llog-rauland-v1862 .llog-rauland-story:not(.llog-rauland-conclusion){
  width:min(100%,600px)!important;max-width:600px!important;
  margin:clamp(10px,2vw,20px) auto clamp(19px,3vw,34px)!important;
}
html body .post_content .llog-native-rauland.llog-rauland-v1862 .llog-rauland-story p.llog-rauland-copy{
  font-size:clamp(13.5px,1.05vw,15px)!important;line-height:1.78!important;
  letter-spacing:.01em!important;color:#4d5b58!important;
}
html body .post_content .llog-native-rauland.llog-rauland-v1862 .llog-rauland-story p.llog-rauland-date{
  font-size:clamp(64px,8.2vw,112px)!important;
  margin-bottom:clamp(8px,1.8vw,16px)!important;
}
html body .post_content .llog-native-rauland.llog-rauland-v1862 .llog-rauland-roof-copy{
  margin:clamp(8px,1.5vw,18px) auto clamp(30px,4.5vw,54px)!important;
}
html body .post_content .llog-native-rauland.llog-rauland-v1862 .llog-rauland-roof-photo{
  margin:clamp(12px,2vw,20px) auto 0!important;
}
html body .post_content .llog-native-rauland.llog-rauland-v1862 .llog-rauland-photo-pair{
  margin-block:clamp(18px,2.8vw,30px)!important;
}
html body .post_content .llog-native-rauland.llog-rauland-v1862 .llog-rauland-entrance-copy{
  margin-top:clamp(8px,1.4vw,16px)!important;
  margin-bottom:clamp(12px,2vw,26px)!important;
}
html body .post_content .llog-native-rauland.llog-rauland-v1862 .llog-rauland-subtitle{
  font-size:clamp(19px,1.8vw,23px)!important;margin-bottom:7px!important;
}
html body .post_content .llog-native-rauland.llog-rauland-v1862 .llog-rauland-portal-comparison{
  max-width:930px!important;align-items:center!important;
}
html body .post_content .llog-native-rauland.llog-rauland-v1862 .llog-rauland-archive-copy,
html body .post_content .llog-native-rauland.llog-rauland-v1862 .llog-rauland-preserve-copy{
  margin-block:clamp(12px,2.5vw,25px)!important;
}
html body .post_content .llog-native-rauland.llog-rauland-v1862 .llog-rauland-conclusion{
  margin-top:clamp(30px,5vw,58px)!important;
}
@media(max-width:767px){
 html body .post_content .llog-native-rauland.llog-rauland-v1862 .llog-rauland-story:not(.llog-rauland-conclusion){
   width:100%!important;max-width:100%!important;margin:12px auto 22px!important;
 }
 html body .post_content .llog-native-rauland.llog-rauland-v1862 .llog-rauland-story p.llog-rauland-copy{
   font-size:13.8px!important;line-height:1.79!important;letter-spacing:0!important;
 }
 html body .post_content .llog-native-rauland.llog-rauland-v1862 .llog-rauland-roof-photo{
   margin-top:10px!important;margin-bottom:0!important;
 }
 html body .post_content .llog-native-rauland.llog-rauland-v1862 .llog-rauland-roof-copy{
   margin:10px auto 26px!important;
 }
 html body .post_content .llog-native-rauland.llog-rauland-v1862 .llog-rauland-photo-pair{
   margin:15px auto 24px!important;
 }
 html body .post_content .llog-native-rauland.llog-rauland-v1862 .llog-rauland-archive-copy,
 html body .post_content .llog-native-rauland.llog-rauland-v1862 .llog-rauland-preserve-copy{
   margin:16px auto 24px!important;
 }
}

/* v1.8.63 — Rauland only: restore the same readable body-size baseline as
   other Gallery features. Retain v1862 photo layout, spacing and 12 photos. */
html body .post_content .llog-native-rauland.llog-rauland-v1863 .llog-rauland-story p.llog-rauland-copy:not(.llog-rauland-finale){
  font-size:16px!important;
  line-height:1.88!important;
  letter-spacing:.008em!important;
  color:#344240!important;
}
@media(max-width:767px){
  html body .post_content .llog-native-rauland.llog-rauland-v1863 .llog-rauland-story p.llog-rauland-copy:not(.llog-rauland-finale){
    font-size:15px!important;
    line-height:1.88!important;
    letter-spacing:.008em!important;
  }
}

/* v1.8.64 — Søre Rauland only. Bring smartphone reading text in line with
 * Gallery's standard 16px body. This CSS-only change applies to an already
 * published article without reimporting or altering Gutenberg blocks. */
@media(max-width:767px){
  html body .post_content .llog-native-rauland.llog-rauland-v1863 .llog-rauland-story p.llog-rauland-copy:not(.llog-rauland-finale){
    font-size:16px!important;
  }
}


/* v1.8.65 / BORGUND ONLY. Reuse photo essay design without affecting previous pages. */
html body .post_content .llog-native-borgund.llog-borgund-v1865{
  --llog-borgund-ink:#263739;
  max-width:100%; margin:0 auto;
}
html body .post_content .llog-native-borgund.llog-borgund-v1865 .llog-borgund-opening,
html body .post_content .llog-native-borgund.llog-borgund-v1865 > p.llog-borgund-copy,
html body .post_content .llog-native-borgund.llog-borgund-v1865 > h2.llog-borgund-heading {
  max-width:710px; width:min(100%,710px); margin-left:auto!important; margin-right:auto!important;
}
html body .post_content .llog-native-borgund.llog-borgund-v1865 p.llog-borgund-copy{
  font-size:16px!important; line-height:1.91!important; color:#344240!important;
  font-weight:400!important; letter-spacing:.009em!important; margin-top:0!important; margin-bottom:20px!important;
}
html body .post_content .llog-native-borgund.llog-borgund-v1865 h2.llog-borgund-heading{
  color:var(--llog-borgund-ink)!important; font-family:"Noto Serif JP","Yu Mincho",serif!important;
  font-size:clamp(20px,2.1vw,27px)!important; line-height:1.55!important; font-weight:400!important;
  letter-spacing:.015em!important; margin-top:52px!important; margin-bottom:20px!important;
  padding:0!important; background:none!important; border:0!important; box-shadow:none!important;
}
html body .post_content .llog-native-borgund.llog-borgund-v1865 .llog-borgund-opening{margin-top:24px!important;margin-bottom:20px!important;}
html body .post_content .llog-native-borgund.llog-borgund-v1865 p.llog-borgund-eyebrow{
  font-size:11px!important;letter-spacing:.16em!important;color:#677573!important;margin-bottom:5px!important;
}
html body .post_content .llog-native-borgund.llog-borgund-v1865 p.llog-borgund-date{
  font-size:clamp(42px,6vw,80px)!important;letter-spacing:-.07em!important;
  font-weight:300!important;line-height:1.06!important;color:#263739!important;margin:0!important;
}
html body .post_content .llog-native-borgund.llog-borgund-v1865 .llog-borgund-date-note{font-size:12px;letter-spacing:.05em;margin-left:12px;color:#667773;white-space:nowrap;}
html body .post_content .llog-native-borgund.llog-borgund-v1865 figure.llog-borgund-photo{
  max-width:1080px!important;width:100%!important;margin:27px auto 36px!important;
}
html body .post_content .llog-native-borgund.llog-borgund-v1865 figure.llog-borgund-hero{
  max-width:1200px!important;margin:18px auto 28px!important;
}
html body .post_content .llog-native-borgund.llog-borgund-v1865 figure.llog-borgund-photo img,
html body .post_content .llog-native-borgund.llog-borgund-v1865 .llog-borgund-pair img{
  width:100%!important;height:auto!important;object-fit:contain!important;display:block!important;
}
html body .post_content .llog-native-borgund.llog-borgund-v1865 .llog-borgund-pair{
  max-width:1080px!important;width:100%!important;display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:clamp(10px,2vw,25px)!important;
  margin:26px auto 37px!important;align-items:start!important;
}
html body .post_content .llog-native-borgund.llog-borgund-v1865 .llog-borgund-pair>.wp-block-column{
  width:100%!important;min-width:0!important;margin:0!important;flex-basis:auto!important;
}
html body .post_content .llog-native-borgund.llog-borgund-v1865 .llog-borgund-pair figure{margin:0!important;}
html body .post_content .llog-native-borgund.llog-borgund-v1865 figcaption{
  color:#687672!important;font-size:12px!important;font-weight:400!important;line-height:1.7!important;
  margin-top:9px!important;text-align:left!important;
}
@media(max-width:767px){
 html body .post_content .llog-native-borgund.llog-borgund-v1865 p.llog-borgund-copy{font-size:16px!important;line-height:1.86!important;margin-bottom:19px!important;}
 html body .post_content .llog-native-borgund.llog-borgund-v1865 h2.llog-borgund-heading{font-size:21px!important;line-height:1.54!important;margin-top:39px!important;margin-bottom:14px!important;}
 html body .post_content .llog-native-borgund.llog-borgund-v1865 .llog-borgund-pair{gap:10px!important;margin:20px auto 28px!important;}
 html body .post_content .llog-native-borgund.llog-borgund-v1865 .llog-borgund-pair .wp-block-column{width:100%!important;}
 html body .post_content .llog-native-borgund.llog-borgund-v1865 figcaption{font-size:11px!important;line-height:1.55!important;}
}

/* v1.8.67: Borgund only. Calm typography and small, helpful captions. */
html body .post_content .llog-native-borgund.llog-borgund-v1867 .llog-native-title{font-family:"Noto Serif JP","Yu Mincho",serif!important;font-size:clamp(28px,3.4vw,48px)!important;line-height:1.42!important;letter-spacing:.025em!important;overflow-wrap:anywhere!important;}
html body .post_content .llog-native-borgund.llog-borgund-v1867 .llog-native-intro{font-size:16px!important;line-height:1.85!important;max-width:710px!important;margin-left:auto!important;margin-right:auto!important;}
html body .post_content .llog-native-borgund.llog-borgund-v1867 .llog-borgund-hero{margin-top:14px!important;}
html body .post_content .llog-native-borgund.llog-borgund-v1867 .llog-borgund-heading{font-size:clamp(19px,2vw,26px)!important;margin-top:40px!important;}
@media(max-width:767px){html body .post_content .llog-native-borgund.llog-borgund-v1867 .llog-native-title{font-size:clamp(29px,8vw,39px)!important;line-height:1.4!important;}html body .post_content .llog-native-borgund.llog-borgund-v1867 .llog-borgund-pair{gap:12px!important;}html body .post_content .llog-native-borgund.llog-borgund-v1867 .llog-borgund-copy{font-size:16px!important;line-height:1.85!important;}}

/* v1.8.68 Borgund only: photo-led timber architecture. No changes to S1 / other records. */
html body .post_content .llog-native-borgund.llog-borgund-v1868 .llog-native-intro{font-size:16px!important;line-height:1.88!important;max-width:710px;margin-inline:auto;}
html body .post_content .llog-native-borgund.llog-borgund-v1868 h2.llog-borgund-heading{font-size:clamp(20px,2.15vw,26px)!important;letter-spacing:.008em!important;}
html body .post_content .llog-native-borgund.llog-borgund-v1868 .llog-borgund-pair .wp-block-image{max-width:100%!important;}
html body .post_content .llog-native-borgund.llog-borgund-v1868 figure img{display:block;width:100%;height:auto;object-fit:contain;}
@media(max-width:767px){html body .post_content .llog-native-borgund.llog-borgund-v1868 .llog-borgund-pair{grid-template-columns:minmax(0,1fr)!important;gap:22px!important;}html body .post_content .llog-native-borgund.llog-borgund-v1868 .llog-borgund-copy{font-size:16px!important;}}


/* v1.8.71 / Petäjävesi only. Preserve finished Gallery pages and mobile S1. */
html body .post_content .llog-native-petajavesi.llog-petajavesi-v1871 {max-width:100%;margin:auto;color:#263739;}
html body .post_content .llog-native-petajavesi.llog-petajavesi-v1871 > p.llog-petajavesi-copy,
html body .post_content .llog-native-petajavesi.llog-petajavesi-v1871 > h2.llog-petajavesi-heading{max-width:695px;width:min(100%,695px);margin-left:auto!important;margin-right:auto!important;}
html body .post_content .llog-native-petajavesi.llog-petajavesi-v1871 p.llog-petajavesi-copy{font-size:16px!important;font-weight:400!important;line-height:1.94!important;letter-spacing:.005em!important;margin-top:0!important;margin-bottom:27px!important;color:#35423f!important;}
html body .post_content .llog-native-petajavesi.llog-petajavesi-v1871 h2.llog-petajavesi-heading{font-family:"Noto Serif JP","Yu Mincho",serif!important;font-size:clamp(21px,2.35vw,29px)!important;line-height:1.5!important;font-weight:500!important;margin-top:clamp(39px,5vw,64px)!important;margin-bottom:23px!important;letter-spacing:.01em!important;}
html body .post_content .llog-native-petajavesi.llog-petajavesi-v1871 figure.llog-petajavesi-photo{width:min(100%,1030px)!important;margin:22px auto 37px!important;}
html body .post_content .llog-native-petajavesi.llog-petajavesi-v1871 figure.llog-petajavesi-photo img{display:block;width:100%;height:auto;object-fit:contain;}
html body .post_content .llog-native-petajavesi.llog-petajavesi-v1871 .llog-petajavesi-pair{width:min(100%,1000px)!important;margin:28px auto 36px!important;gap:24px!important;}
html body .post_content .llog-native-petajavesi.llog-petajavesi-v1871 .llog-petajavesi-pair figure{margin:0!important;max-width:100%!important;}
html body .post_content .llog-native-petajavesi.llog-petajavesi-v1871 .llog-petajavesi-pair img{display:block;width:100%;height:auto;}
html body .post_content .llog-native-petajavesi.llog-petajavesi-v1871 figcaption{font:400 12px/1.65 system-ui,sans-serif!important;color:#7c8582!important;text-align:left!important;margin-top:9px!important;}
@media(max-width:767px){
 html body .post_content .llog-native-petajavesi.llog-petajavesi-v1871 p.llog-petajavesi-copy{font-size:16px!important;line-height:1.85!important;margin-bottom:21px!important;}
 html body .post_content .llog-native-petajavesi.llog-petajavesi-v1871 h2.llog-petajavesi-heading{font-size:21px!important;margin-top:39px!important;margin-bottom:16px!important;}
 html body .post_content .llog-native-petajavesi.llog-petajavesi-v1871 .llog-petajavesi-pair{display:block!important;margin:15px auto 28px!important;}
 html body .post_content .llog-native-petajavesi.llog-petajavesi-v1871 .llog-petajavesi-pair>.wp-block-column{width:100%!important;margin:0 0 17px!important;}
 html body .post_content .llog-native-petajavesi.llog-petajavesi-v1871 figure.llog-petajavesi-photo{margin:16px auto 26px!important;}
}

/* v1.8.74 Kerimäki only. Other gallery posts & S1 remain unchanged. */
html body .post_content .llog-native-kerimaki.llog-kerimaki-v1874 {max-width:100%;}
html body .post_content .llog-native-kerimaki.llog-kerimaki-v1874 > .llog-native-head,
html body .post_content .llog-native-kerimaki.llog-kerimaki-v1874 > .llog-kerimaki-copy,
html body .post_content .llog-native-kerimaki.llog-kerimaki-v1874 > .llog-kerimaki-heading {
  width:min(100%,710px);max-width:710px;margin-inline:auto!important;
}
html body .post_content .llog-native-kerimaki.llog-kerimaki-v1874 .llog-kerimaki-copy {
  font-size:16px!important;line-height:1.89!important;letter-spacing:.006em!important;
  color:#30413f!important;margin-top:0!important;margin-bottom:21px!important;
}
html body .post_content .llog-native-kerimaki.llog-kerimaki-v1874 .llog-kerimaki-heading {
  font-family:'Noto Serif JP','Yu Mincho',serif!important;font-size:clamp(21px,2.1vw,27px)!important;
  font-weight:400!important;line-height:1.55!important;color:#263739!important;
  letter-spacing:.015em!important;padding:0!important;border:0!important;background:none!important;
  margin-top:51px!important;margin-bottom:22px!important;
}
html body .post_content .llog-native-kerimaki.llog-kerimaki-v1874 .llog-kerimaki-photo,
html body .post_content .llog-native-kerimaki.llog-kerimaki-v1874 .llog-kerimaki-pair {
  max-width:1080px!important;width:100%!important;margin:30px auto 37px!important;
}
html body .post_content .llog-native-kerimaki.llog-kerimaki-v1874 .llog-kerimaki-photo img,
html body .post_content .llog-native-kerimaki.llog-kerimaki-v1874 .llog-kerimaki-pair img {
  display:block!important;width:100%!important;height:auto!important;object-fit:contain!important;
}
html body .post_content .llog-native-kerimaki.llog-kerimaki-v1874 .llog-kerimaki-pair {
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:clamp(10px,2vw,22px)!important;align-items:start!important;
}
html body .post_content .llog-native-kerimaki.llog-kerimaki-v1874 .llog-kerimaki-pair > .wp-block-column {
  min-width:0!important;width:100%!important;margin:0!important;flex-basis:auto!important;
}
html body .post_content .llog-native-kerimaki.llog-kerimaki-v1874 .llog-kerimaki-pair figure{margin:0!important;}
html body .post_content .llog-native-kerimaki.llog-kerimaki-v1874 figcaption{
  font-size:12px!important;color:#657470!important;line-height:1.65!important;text-align:left!important;margin-top:9px!important;
}
@media(max-width:767px) {
  html body .post_content .llog-native-kerimaki.llog-kerimaki-v1874 .llog-kerimaki-copy {font-size:16px!important;line-height:1.84!important;}
  html body .post_content .llog-native-kerimaki.llog-kerimaki-v1874 .llog-kerimaki-heading {font-size:21px!important;margin-top:37px!important;}
  html body .post_content .llog-native-kerimaki.llog-kerimaki-v1874 .llog-kerimaki-pair {grid-template-columns:minmax(0,1fr)!important;gap:21px!important;margin:24px auto 27px!important;}
  html body .post_content .llog-native-kerimaki.llog-kerimaki-v1874 figcaption {font-size:11px!important;}
}
