/* LL Gallery 1.8.12 — PC editorial edition (901px+).
 * Independent of the frozen S1 stylesheet. Four recipes: single photograph,
 * paired photographs, photograph + existing copy, facts. No content is generated.
 * !important is reserved for WordPress/SWELL block geometry and heading resets.
 */
@media (min-width:901px) {
.llog-single,.llog-gallery-home {
  --llog-navy:#263739;--llog-ink:#263739;--llog-muted:#697572;
  --llog-line:rgba(38,55,57,.18);--llog-serif:"Noto Serif JP","Yu Mincho",serif;
  --llog-latin:"Libre Baskerville",Georgia,serif;
  --llog-large:940px;--llog-medium:740px;--llog-small:480px;--llog-copy:660px;
}
/* Archive: blank entrance, then photographs in white space. */
.llog-gallery-archive-page .l-content {width:100%;max-width:none;padding:0;margin-top:0}
.llog-gallery-archive-page .p-breadcrumb {display:none}
.llog-gallery-home {background:#fff;color:var(--llog-ink);padding:0 0 100px}
.llog-gallery-home * {box-sizing:border-box}
.llog-gallery-home a {color:inherit;text-decoration:none}
.llog-gallery-color-field {height:clamp(240px,19vw,280px);background:var(--llog-navy)}
.llog-gallery-random-stage {--llog-random-gap:clamp(40px,4vw,68px);padding:50px 0 54px;overflow:hidden}
.llog-gallery-random-viewport {overflow-x:auto;overflow-y:hidden;padding:8px 48px 18px;scrollbar-width:none;cursor:grab;overscroll-behavior-x:contain}
.llog-gallery-random-viewport::-webkit-scrollbar {display:none}
.llog-gallery-random-viewport.is-dragging {cursor:grabbing;user-select:none}
.llog-gallery-random-track,.llog-gallery-random-set {display:flex;align-items:center;gap:var(--llog-random-gap);width:max-content}
.llog-gallery-random-set {flex:none;padding:0;min-height:332px}
.llog-gallery-random-item {display:none;flex:none;max-width:460px;margin:0;border:0;background:none}
.llog-gallery-random-item.is-visible {display:block}
.llog-gallery-random-item img {display:block;width:auto;height:clamp(235px,18vw,275px);aspect-ratio:auto 4/3;max-width:480px;object-fit:contain}
.llog-gallery-random-item:nth-child(3n+1) img {height:clamp(300px,22vw,330px)}
.llog-gallery-random-item:nth-child(3n+2) {align-self:flex-end;margin-bottom:12px}
.llog-gallery-random-item:nth-child(3n+2) img {height:clamp(195px,15vw,235px)}
.llog-gallery-random-track.is-static-low-count {margin-inline:auto;max-width:100%}
.llog-gallery-random-track.is-static-low-count .llog-gallery-random-set {width:100%;flex-wrap:wrap;justify-content:center;row-gap:44px}
.llog-gallery-random-track.is-static-low-count.is-count-2 {padding-inline:24px}
.llog-gallery-random-track.is-static-low-count.is-count-2 .llog-gallery-random-item:nth-child(1) img {height:clamp(315px,23vw,340px)}
.llog-gallery-random-track.is-static-low-count.is-count-2 .llog-gallery-random-item:nth-child(2) img {height:clamp(210px,16vw,240px)}
.llog-gallery-random-item:focus-visible,.llog-gallery-random-viewport:focus-visible {outline:1px solid var(--llog-navy);outline-offset:7px}
/* Compact controls, with sort always visible when filters are closed or open. */
.llog-gallery-search-shell {width:min(960px,calc(100% - 128px));margin:0 auto}
.llog-gallery-controls {position:relative;border-top:1px solid var(--llog-line)}
.llog-gallery-filter-details {margin:0}
.llog-gallery-filter-details>summary {display:flex;align-items:center;gap:20px;width:max-content;min-height:58px;list-style:none;cursor:pointer;font:14px/1.6 var(--llog-serif)}
.llog-gallery-filter-details>summary::-webkit-details-marker {display:none}
.llog-gallery-filter-details>summary b {font:18px/1 Arial,sans-serif;font-weight:400}
.llog-gallery-filter-details[open]>summary b {transform:rotate(45deg)}
.llog-gallery-filter-details>summary em {font:11px/1.5 sans-serif;font-style:normal;margin-left:10px;color:var(--llog-muted)}
.llog-gallery-sort {display:none}
.llog-gallery-sort-desktop {position:absolute;top:0;right:0;z-index:2;font:12px/1.6 sans-serif}
.llog-gallery-sort-desktop summary {display:flex;align-items:center;gap:15px;min-height:58px;cursor:pointer;list-style:none}
.llog-gallery-sort-desktop summary::-webkit-details-marker {display:none}
.llog-gallery-sort-desktop summary span {font-size:8px}
.llog-gallery-sort-options {position:absolute;right:0;min-width:132px;padding:8px 0;background:#fff;border:1px solid var(--llog-line)}
.llog-gallery-sort-options a {display:block;padding:10px 18px;white-space:nowrap}
.llog-gallery-sort-options a:hover,.llog-gallery-sort-options a[aria-current] {background:#f3f5f4}
.llog-gallery-search {margin:0;padding:8px 0 28px;background:#fff}
.llog-filter-group {margin:0;padding:22px 0;border:0;border-top:1px solid var(--llog-line);display:flow-root}
.llog-filter-group legend {float:left;width:84px;margin:9px 24px 0 0;padding:0;color:var(--llog-muted);font:11px/1.6 sans-serif}
.llog-filter-chips {display:flex;flex-wrap:wrap;gap:8px 14px}
.llog-filter-chips label {position:relative;cursor:pointer}
.llog-filter-chips input {position:absolute;opacity:0;width:1px;height:1px}
.llog-filter-chips span {display:block;padding:7px 2px;border-bottom:1px solid transparent;color:var(--llog-muted);font:13px/1.7 sans-serif}
.llog-filter-chips input:checked+span {color:var(--llog-navy);border-color:var(--llog-navy)}
.llog-filter-chips input:focus-visible+span {outline:1px solid var(--llog-navy);outline-offset:3px}
.llog-filter-chips label:hover span {color:var(--llog-navy)}
.llog-filter-bottom-row {display:flex;align-items:center;justify-content:space-between;gap:36px;padding:24px 0 0;border-top:1px solid var(--llog-line)}
.llog-filter-country {display:flex;align-items:center;gap:22px;font:11px/1.6 sans-serif;color:var(--llog-muted)}
.llog-filter-country select {width:220px;max-width:100%;height:40px;border:0;border-bottom:1px solid var(--llog-line);border-radius:0;background-color:#fff;color:var(--llog-navy);font-size:13px}
.llog-gallery-search-actions {display:flex;align-items:center;gap:24px;font-size:11px}
.llog-gallery-search-actions button {background:none;box-shadow:none;color:var(--llog-navy);border:0;border-bottom:1px solid var(--llog-navy);border-radius:0;padding:10px 0;font:13px/1.7 var(--llog-serif);cursor:pointer}
.llog-gallery-search-actions button span {margin-left:16px}
.llog-gallery-active-filters {display:flex;flex-wrap:wrap;gap:10px 22px;padding:14px 0 0;font:11px/1.7 sans-serif;color:var(--llog-muted)}
.llog-gallery-active-filters a {padding:4px 0;border-bottom:1px solid var(--llog-line)}
.llog-gallery-active-filters a span {margin-left:10px}
.llog-gallery-results {width:min(960px,calc(100% - 128px));margin:84px auto 0}
.llog-gallery-results-head {display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:40px}
.llog-gallery-results-head span {font:10px/1.5 var(--llog-latin);letter-spacing:.12em;color:var(--llog-muted)}
.llog-gallery-results-head h2 {font:400 24px/1.6 var(--llog-serif);margin:8px 0 0;padding:0;border:0;background:none}
.llog-gallery-results-head p {font:12px/1.6 sans-serif;color:var(--llog-muted)}
.llog-gallery-card-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:64px 40px}
.llog-gallery-card {margin:0;padding:0;border:0;background:none;box-shadow:none;min-width:0}
.llog-gallery-card figure {margin:0}
.llog-gallery-card img,.llog-gallery-card-placeholder {display:block;width:100%;height:220px;object-fit:contain;object-position:left bottom}
.llog-gallery-card-copy {position:relative;padding:18px 0 0}
.llog-gallery-card-meta {font:10px/1.7 sans-serif;color:var(--llog-muted)}
.llog-gallery-card h3 {margin:7px 20px 0 0;font:400 17px/1.7 var(--llog-serif);border:0;padding:0;background:none}
.llog-gallery-title-sub {display:block;font:11px/1.8 var(--llog-latin);margin-top:5px}
.llog-gallery-card-arrow {position:absolute;right:0;top:44px;font-size:13px}
.llog-gallery-pagination {margin-top:60px}
.llog-gallery-empty {font-size:14px;line-height:2;color:var(--llog-muted)}
/* Article shell. SWELL body classes may be on #body_wrap, not body. */
.llog-single .l-content {max-width:1200px}
.llog-single .l-mainContent {width:100%;max-width:1080px;float:none}
.llog-single .l-mainContent__inner {padding-top:0}
.llog-single .p-articleThumb,.llog-single .p-articleMetas,.llog-single .c-postTitle__date,
.llog-single .p-toc,.llog-single .p-toc-wrap,.llog-single #toc_container,
.llog-single .c-toc,.llog-single .swell-block-index {display:none}
.llog-editor-native .p-articleHead {display:none}
.llog-kizhi-page .p-articleHead,.llog-old-faithful-page .p-articleHead {display:block}
.llog-single .p-articleHead {max-width:var(--llog-large);margin:48px auto 30px;padding:0}
.llog-single .p-articleHead h1,.llog-single .llog-native-title {font:400 clamp(28px,2.5vw,36px)/1.6 var(--llog-serif);letter-spacing:.03em;color:var(--llog-navy);border:0;padding:0;margin:0;background:none}
.llog-single .llog-pc-title-sub,.llog-single .llog-ofi-page-title-sub {display:block;font:400 15px/1.8 var(--llog-latin);letter-spacing:.01em;margin-top:8px}
.llog-single .post_content {margin-top:0;padding:0}
.llog-single .llog-native-content {width:100%;max-width:1040px;margin:0 auto;padding:0 40px 64px;color:var(--llog-ink);font-size:17px;line-height:1.92}
.llog-single .llog-native-content * {box-sizing:border-box}
/* Defeat theme block margins / alignwide once, at the integration boundary. */
.llog-single .llog-native-content :is(.alignwide,.alignfull) {left:auto;right:auto;max-width:100%!important;margin-left:var(--llog-photo-left,auto)!important;margin-right:var(--llog-photo-right,auto)!important}
.llog-single .llog-native-content :is(h2,h3,.c-widget__title) {font-family:var(--llog-serif);font-weight:400;line-height:1.65;letter-spacing:.025em;color:var(--llog-navy);background:none;border:0;box-shadow:none;padding:0}
.llog-single .llog-native-content :is(h2,h3,.c-widget__title)::before,
.llog-single .llog-native-content :is(h2,h3,.c-widget__title)::after {content:none;display:none}
.llog-single .llog-native-content h2 {font-size:25px}
.llog-single .llog-native-content h3 {font-size:19px}
.llog-single .llog-native-content p {font-size:17px;line-height:1.92}
.llog-single .llog-native-content .llog-native-head {max-width:var(--llog-copy);margin:0 auto 44px!important;padding:0}
.llog-single .llog-native-tags-row {display:flex;flex-wrap:wrap;gap:8px 18px;margin:0 0 24px}
.llog-single .llog-native-tag {background:none;border:0;border-bottom:1px solid var(--llog-line);border-radius:0;color:var(--llog-muted);font:11px/1.8 sans-serif;text-decoration:none;padding:3px 0}
.llog-single .llog-native-tag:hover {color:var(--llog-navy)}
.llog-single .llog-native-intro,.llog-single .llog-native-short-story {max-width:var(--llog-copy);margin:22px auto 0}
/* A/B: single images use natural aspect ratios; vertical photographs stay small. */
.llog-single .llog-native-content .wp-block-image {width:min(100%,var(--llog-medium));margin:0 auto 64px}
.llog-single .llog-native-content .wp-block-image img {display:block;width:auto;height:auto;max-width:100%;max-height:660px;object-fit:contain;margin:0 auto}
.llog-single .llog-native-content :is(.llog-native-hero,.llog-ofi-hero) {width:min(100%,var(--llog-large));margin:0 auto 70px}
.llog-single .llog-native-content :is(.llog-native-hero,.llog-ofi-hero) img {max-height:600px}
.llog-single .llog-native-content .llog-ofi-hero {width:460px;max-width:100%}
.llog-single .llog-native-content .llog-native-wide {width:min(100%,var(--llog-large));margin:0 auto 70px}
.llog-single .llog-native-content .llog-native-kizhi-log-wide {--llog-photo-left:auto;--llog-photo-right:auto;width:min(100%,var(--llog-medium));margin-left:auto;margin-right:auto}
.llog-single .llog-native-content :is(.llog-native-kizhi-bell,.llog-native-kizhi-interior,.llog-ofi-fire) {--llog-photo-left:auto;--llog-photo-right:auto;width:min(100%,var(--llog-small));margin-left:auto;margin-right:auto}
.llog-single .llog-native-content :is(.llog-native-kizhi-close,.llog-ofi-lobby) {--llog-photo-left:auto;--llog-photo-right:auto;width:min(100%,var(--llog-medium));margin-left:auto;margin-right:auto}
.llog-single .llog-native-content :is(.llog-ofi-exterior-main,.llog-ofi-dining) {width:min(100%,var(--llog-large))}
.llog-single .llog-native-content figcaption {position:static;background:none;padding:0;margin:9px 0 0;color:var(--llog-muted);font:11px/1.7 sans-serif;text-align:left}
.llog-single .llog-native-content figcaption:empty {display:none}
/* Paired images: one restrained grid, with a modest offset in the second column. */
.llog-single .llog-native-content .wp-block-columns {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:34px;width:min(100%,900px);margin:0 auto 68px;column-gap:34px!important}
.llog-single .llog-native-content .wp-block-columns:has(>.wp-block-column:nth-child(3)) {grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.llog-single .llog-native-content .wp-block-column {min-width:0;margin:0;padding:0;width:auto}
.llog-single .llog-native-content .wp-block-column:nth-child(2) {padding-top:24px}
.llog-single .llog-native-content .wp-block-column .wp-block-image {width:100%;margin:0}
.llog-single .llog-native-content .wp-block-column img {max-height:470px}
.llog-single .llog-native-content :is(.llog-native-kizhi-history,.llog-ofi-history,.llog-ofi-detail-pair) {width:min(100%,var(--llog-medium));margin-left:auto;margin-right:auto}
/* C: adjacent existing image + copy. JS wraps siblings without reordering;
 * it unwraps them on return to S1. Unknown/edited block structures are skipped. */
.llog-single .llog-editorial-spread {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:44px;align-items:center;max-width:900px;margin:0 auto 68px}
.llog-single .llog-editorial-spread>* {--llog-photo-left:0;--llog-photo-right:0;width:100%!important;max-width:100%;margin:0!important;padding:0}
.llog-single .llog-editorial-spread .wp-block-image img {max-height:520px}
.llog-single .llog-editorial-spread h2 {margin-top:0}
.llog-single .llog-native-content :is(.llog-ofi-copy,.llog-native-kizhi-quiet,.llog-native-kizhi-dome-copy,.llog-native-bridge,.llog-native-note) {max-width:var(--llog-copy);margin:0 auto 52px;padding:0}
.llog-single .llog-native-content :is(.llog-ofi-title,.llog-native-kizhi-small-title,.llog-native-kizhi-section-title,.llog-native-data-title,.llog-native-archive-title) {max-width:var(--llog-copy);margin:58px auto 20px}
.llog-single .llog-native-content .llog-native-discovery {font-size:26px}
.llog-single .llog-native-note {display:grid;gap:24px}
.llog-single .llog-native-note blockquote {margin:0;border:0;padding:0}
.llog-single .llog-kizhi-notch {width:min(100%,var(--llog-medium));margin:0 auto 68px;padding:0}
.llog-single .llog-kizhi-notch :is(h2,.c-widget__title) {font-size:26px;margin:0 0 24px}
.llog-single .llog-kizhi-notch figure {margin:0}
.llog-single .llog-kizhi-notch-crop {aspect-ratio:16/9;overflow:hidden}
.llog-single .llog-kizhi-notch-crop img {display:block;width:100%;height:100%;object-fit:cover;transform:scale(var(--llog-notch-scale,2.3));transform-origin:var(--llog-notch-origin,50% 55%)}
/* D: facts and building data, with hairlines, no panels. */
.llog-single :is(.llog-kizhi-fact,.llog-ofi-fact) {display:grid;grid-template-columns:minmax(200px,.9fr) minmax(0,1.1fr);gap:32px;width:min(100%,780px);margin:8px auto 58px;padding:22px 0 0;border-top:1px solid var(--llog-line);color:var(--llog-navy)}
.llog-single :is(.llog-kizhi-fact,.llog-ofi-fact)>strong {font:400 clamp(24px,2.5vw,36px)/1.45 var(--llog-latin);overflow-wrap:anywhere;letter-spacing:-.02em}
.llog-single .llog-native-content :is(.llog-kizhi-fact,.llog-ofi-fact) h3 {margin:0 0 10px;font-size:18px}
.llog-single .llog-native-content :is(.llog-kizhi-fact,.llog-ofi-fact) p {font-size:13px;line-height:1.9;color:var(--llog-muted);margin:0}
.llog-single .llog-native-content .llog-native-data {max-width:var(--llog-copy);margin:0 auto 56px;padding:0;border:0}
.llog-single .llog-native-data table {width:100%;border-collapse:collapse;background:none}
.llog-single .llog-native-data :is(th,td) {padding:15px 0;border:0;border-top:1px solid var(--llog-line);background:none;text-align:left;vertical-align:top;line-height:1.85;font-size:14px}
.llog-single .llog-native-data th {width:124px;font-size:11px;font-weight:400;color:var(--llog-muted);padding-right:22px}
.llog-single .llog-native-data tr:last-child>* {border-bottom:1px solid var(--llog-line)}
/* Lab, credits and result navigation remain text links. */
.llog-single :is(.llog-kizhi-lab,.llog-native-deep,.llog-deeper) {max-width:760px;margin:68px auto 58px;padding:20px 0 0;border:0;border-top:1px solid var(--llog-line);background:none}
.llog-single .llog-kizhi-lab-floor {font:10px/1.8 var(--llog-latin);letter-spacing:.12em;color:var(--llog-muted);margin-bottom:20px}
.llog-single .llog-kizhi-lab>a {display:flex;justify-content:space-between;align-items:end;gap:32px;padding:0;color:var(--llog-navy);text-decoration:none}
.llog-single .llog-kizhi-lab small {display:block;font:13px/1.9 sans-serif;color:var(--llog-muted);margin-bottom:8px}
.llog-single .llog-kizhi-lab strong {display:block;font:400 21px/1.7 var(--llog-serif)}
.llog-single .llog-kizhi-lab b {font-size:22px;font-weight:400}
.llog-single :is(.llog-native-deep-link,.llog-deeper-link) {color:var(--llog-navy);background:none;border:0;border-bottom:1px solid var(--llog-line);padding:10px 0}
.llog-single .llog-native-credits {max-width:var(--llog-copy);margin:0 auto;padding:20px 0;border-top:1px solid var(--llog-line);border-bottom:1px solid var(--llog-line)}
.llog-single .llog-native-credits summary {font-size:12px;font-weight:400;cursor:pointer}
.llog-single .llog-native-content .llog-native-credits p {font-size:11px;line-height:1.8}
.llog-single .llog-result-nav {max-width:920px;margin:30px auto 52px;padding:22px 0;border-top:1px solid var(--llog-line)}
.llog-single .llog-result-nav-meta {display:flex;justify-content:space-between;gap:24px;font-size:11px;color:var(--llog-muted)}
.llog-single .llog-result-nav a {color:var(--llog-navy);text-decoration:none}
.llog-single .llog-result-nav-links {display:grid;grid-template-columns:1fr 1fr;gap:64px;margin-top:32px}
.llog-single .llog-result-link {display:flex;flex-direction:column;gap:12px;border:0;background:none;padding:0}
.llog-single .llog-result-link span {font-size:10px;color:var(--llog-muted)}
.llog-single .llog-result-link strong {font:400 16px/1.8 var(--llog-serif)}
.llog-single .llog-result-next {text-align:right}
.llog-single .llog-result-disabled {opacity:.4}
/* Compatibility for older non-native records: same capped photograph system. */
.llog-single :is(.llog-experience,.llog-story-gallery) {max-width:1000px;margin:0 auto;color:var(--llog-ink)}
.llog-single :is(.llog-shell,.llog-story-shell) {max-width:920px;margin:0 auto;padding:0}
.llog-single .llog-hero {position:relative;min-height:440px;max-width:920px;margin:0 auto 64px;background:var(--llog-hero) center/cover}
.llog-single .llog-hero-inner {position:relative;padding:220px 32px 32px;color:#fff}
.llog-single .llog-hero-shade {position:absolute;inset:0;background:linear-gradient(transparent,rgba(0,0,0,.55))}
.llog-single .llog-hero h1 {font:400 32px/1.6 var(--llog-serif);color:#fff}
.llog-single :is(.llog-gallery,.llog-archive-grid,.llog-story-pair,.llog-story-tail) {display:grid;grid-template-columns:1fr 1fr;gap:40px;margin:0 auto 72px;max-width:920px}
.llog-single :is(.llog-card,.llog-story-figure) {margin:0;min-width:0}
.llog-single :is(.llog-card,.llog-story-figure) img {display:block;width:auto;max-width:100%;height:auto;max-height:520px;margin:auto}
.llog-single :is(.llog-card,.llog-story-figure) figcaption {font:11px/1.8 sans-serif;color:var(--llog-muted);margin:8px 0 0}
.llog-single :is(.llog-story-head,.llog-story-note,.llog-story-bridge,.llog-lead-copy,.llog-story-data,.llog-facts) {max-width:660px;margin:0 auto 52px;line-height:1.92}
.llog-single :is(.llog-story-head,.llog-story-bridge) h1 {font:400 34px/1.6 var(--llog-serif)}
.llog-single :is(.llog-story-hero,.llog-story-wide) {max-width:940px;margin:0 auto 66px}
.llog-single :is(.llog-story-data,.llog-facts) dl>div {display:grid;grid-template-columns:124px 1fr;border-top:1px solid var(--llog-line);padding:14px 0;gap:20px}
.llog-single :is(.llog-story-data,.llog-facts) dd {margin:0}
.llog-single :is(.llog-credits,.llog-look,.llog-related,.llog-pinterest) {max-width:760px;margin:52px auto;padding:22px 0;border-top:1px solid var(--llog-line)}
.llog-single .llog-video video {max-width:100%;max-height:560px}
.llog-single .llog-credits-grid {font-size:12px;line-height:1.8}
.llog-single a:focus-visible,.llog-gallery-home :is(a,summary,button,select):focus-visible {outline:1px solid var(--llog-navy);outline-offset:5px}
}

/* v1.8.21 — keep the approved wide-PC editorial scale from v1.8.15.
 * Only landscape tablets / small laptops use most of the viewport. */
@media (min-width:901px) and (max-width:1199px){
  .llog-single,.llog-gallery-home{
    --llog-large:calc(100vw - 48px);
    --llog-medium:calc(100vw - 88px);
    --llog-small:min(520px,calc(100vw - 160px));
    --llog-copy:min(680px,calc(100vw - 88px));
  }
  .llog-single .l-content,
  .llog-single .l-mainContent{width:100%;max-width:none!important}
  .llog-single .llog-native-content{max-width:none;padding-left:24px;padding-right:24px}
  .llog-single .p-articleHead{max-width:calc(100vw - 48px)}
  .llog-single .llog-native-content .wp-block-columns,
  .llog-single .llog-editorial-spread{width:calc(100vw - 56px);max-width:none}
  .llog-single .llog-native-content .wp-block-image img{max-height:72vh}
  .llog-gallery-search-shell,
  .llog-gallery-results{width:calc(100% - 48px);max-width:none}
  .llog-gallery-random-viewport{padding-left:24px;padding-right:24px}
}


/* ==========================================================
   v1.8.22 — stable PC profile layer
   Common geometry stays predictable; profiles change rhythm, not usability.
   Flagship pages (Kizhi / Old Faithful) keep their dedicated existing rules.
   ========================================================== */
@media (min-width:901px){
  /* Safe defaults for future galleries. These use existing A/B/C/D metadata,
     so a new article never depends on one-off CSS to remain readable. */
  .llog-pc-profile-feature .llog-native-content :is(.llog-native-pair,.llog-native-tail){
    width:min(100%,900px);
  }
  .llog-pc-profile-feature .llog-native-content .llog-native-wide{
    width:min(100%,960px);
  }

  .llog-pc-profile-photo-essay .llog-native-content :is(.llog-native-pair,.llog-native-tail,.llog-native-photo-row){
    width:min(100%,960px);
    grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);
    gap:38px;
  }
  .llog-pc-profile-photo-essay .llog-native-content :is(.llog-native-pair,.llog-native-tail,.llog-native-photo-row)>.wp-block-column:nth-child(2){
    padding-top:34px;
  }
  .llog-pc-profile-photo-essay .llog-native-content .llog-native-wide{
    width:min(100%,990px);
  }
  .llog-pc-profile-photo-essay .llog-native-content :is(.llog-native-note,.llog-native-bridge){
    max-width:700px;
  }

  .llog-pc-profile-narrative .llog-native-content :is(.llog-native-head,.llog-native-note,.llog-native-bridge,.llog-native-short-story){
    max-width:700px;
  }
  .llog-pc-profile-narrative .llog-native-content .wp-block-columns{
    width:min(100%,850px);
    gap:46px;
  }
  .llog-pc-profile-narrative .llog-native-content .llog-native-wide{
    width:min(100%,900px);
  }

  .llog-pc-profile-archive .llog-native-content .wp-block-columns{
    width:min(100%,920px);
    gap:28px;
  }
  .llog-pc-profile-archive .llog-native-content .wp-block-column:nth-child(2){
    padding-top:0;
  }
  .llog-pc-profile-archive .llog-native-content :is(.llog-native-note,.llog-native-bridge){
    max-width:720px;
  }

  /* Vlkolínec — village walk. Same editorial system, different page rhythm. */
  .llog-pc-profile-village .llog-native-vlkolinec{
    max-width:1100px;
  }
  .llog-pc-profile-village .llog-native-vlkolinec .llog-native-head{
    max-width:720px;
    margin-bottom:42px!important;
  }
  .llog-pc-profile-village .llog-native-vlkolinec .llog-native-hero{
    width:min(100%,1020px);
    margin-bottom:58px;
  }
  .llog-pc-profile-village .llog-native-vlkolinec .llog-vlk-street-pair{
    width:min(100%,980px);
    grid-template-columns:minmax(0,1.14fr) minmax(0,.86fr);
    gap:42px;
    margin-bottom:72px;
  }
  .llog-pc-profile-village .llog-native-vlkolinec .llog-vlk-street-pair>.wp-block-column:nth-child(2){
    padding-top:52px;
  }
  .llog-pc-profile-village .llog-native-vlkolinec .llog-vlk-bridge{
    display:grid;
    grid-template-columns:minmax(180px,220px) minmax(0,1fr);
    column-gap:44px;
    align-items:start;
    max-width:840px;
    margin:0 auto 30px;
    padding:24px 0 0;
    border-top:1px solid var(--llog-line);
  }
  .llog-pc-profile-village .llog-native-vlkolinec .llog-vlk-bridge .llog-vlk-number-heading{
    margin:0;
    font-size:30px;
    line-height:1.55;
  }
  .llog-pc-profile-village .llog-native-vlkolinec .llog-vlk-bridge .llog-vlk-copy{
    margin:2px 0 0;
  }
  .llog-pc-profile-village .llog-native-vlkolinec .llog-vlk-history{
    max-width:700px;
    margin:0 auto 68px;
    color:var(--llog-muted);
  }
  .llog-pc-profile-village .llog-native-vlkolinec .llog-vlk-note{
    max-width:700px;
    margin:0 auto 58px;
  }
  .llog-pc-profile-village .llog-native-vlkolinec .llog-vlk-note .llog-vlk-runtime-heading,
  .llog-pc-profile-village .llog-native-vlkolinec .llog-vlk-note .llog-vlk-heading{
    margin:0 0 16px;
    font-size:27px;
  }
  .llog-pc-profile-village .llog-native-vlkolinec .llog-vlk-log-pair{
    width:min(100%,960px);
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:36px;
    margin-bottom:66px;
  }
  .llog-pc-profile-village .llog-native-vlkolinec .llog-vlk-log-pair>.wp-block-column:nth-child(2){
    padding-top:28px;
  }
  .llog-pc-profile-village .llog-native-vlkolinec .llog-vlk-house-wide{
    width:min(100%,1000px);
    margin-bottom:66px;
  }
  .llog-pc-profile-village .llog-native-vlkolinec .llog-vlk-roof-detail{
    width:min(100%,540px);
    margin-bottom:66px;
  }
  .llog-pc-profile-village .llog-native-vlkolinec .llog-vlk-farm-pair{
    width:min(100%,930px);
    gap:34px;
    margin-bottom:68px;
  }
  .llog-pc-profile-village .llog-native-vlkolinec .llog-vlk-farm-pair>.wp-block-column:nth-child(2){
    padding-top:18px;
  }
  .llog-pc-profile-village .llog-native-vlkolinec .llog-vlk-landmark-pair{
    width:min(100%,900px);
    gap:46px;
    margin-bottom:72px;
  }
  .llog-pc-profile-village .llog-native-vlkolinec .llog-vlk-landmark-pair>.wp-block-column:nth-child(2){
    padding-top:0;
  }
  .llog-pc-profile-village .llog-native-vlkolinec .llog-vlk-landmark-pair figcaption{
    margin-top:12px;
    font-size:12px;
    line-height:1.8;
  }
  .llog-pc-profile-village .llog-native-vlkolinec .llog-vlk-interior{
    width:min(100%,820px);
    margin-bottom:68px;
  }
  .llog-pc-profile-village .llog-native-vlkolinec .llog-vlk-living-note{
    max-width:700px;
    margin:0 auto 62px;
  }
  .llog-pc-profile-village .llog-native-vlkolinec .llog-vlk-final-pair{
    width:min(100%,940px);
    gap:36px;
    margin-bottom:68px;
  }
  .llog-pc-profile-village .llog-native-vlkolinec .llog-vlk-final-pair>.wp-block-column:nth-child(2){
    padding-top:24px;
  }
  .llog-pc-profile-village .llog-native-vlkolinec .llog-vlk-fields-finale{
    width:min(100%,1020px);
    margin-bottom:82px;
  }
  .llog-pc-profile-village .llog-native-vlkolinec .llog-native-data,
  .llog-pc-profile-village .llog-native-vlkolinec .llog-native-credits{
    max-width:700px;
  }
}

@media (min-width:1200px){
  /* One quiet off-axis detail is enough to make the village page feel distinct;
     small laptops stay full-width and centered for clarity. */
  .llog-pc-profile-village .llog-native-vlkolinec .llog-vlk-roof-detail{
    margin-left:auto;
    margin-right:76px;
  }
}

/* ==========================================================
   v1.8.23 — editorial crop scale
   PC may crop photographs for page rhythm. Kizhi / Old Faithful
   keep their dedicated flagship geometry; Village + future A/B/C/D
   profiles get predictable crop windows instead of random intrinsic heights.
   ========================================================== */
@media (min-width:901px){
  /* Gallery photographs are reading material, not a desktop lightbox.
     Generated images already use linkDestination:none; this also neutralizes
     any legacy/manual image links without touching credit/source links. */
  .llog-single .llog-native-content .wp-block-image>a{
    pointer-events:none;
    cursor:default;
  }

  /* Future-safe profile defaults. Crop only the photograph-led moments,
     never text, facts, credits, maps or the flagship Landmark/Lodge pages. */
  :is(.llog-pc-profile-feature,.llog-pc-profile-photo-essay,.llog-pc-profile-narrative,.llog-pc-profile-archive)
  .llog-native-content :is(.llog-native-pair,.llog-native-photo-row,.llog-native-tail) .wp-block-image img{
    width:100%;
    height:clamp(280px,25vw,360px);
    max-height:none;
    object-fit:cover;
    object-position:center;
  }
  :is(.llog-pc-profile-feature,.llog-pc-profile-photo-essay,.llog-pc-profile-narrative,.llog-pc-profile-archive)
  .llog-native-content .llog-native-wide img{
    width:100%;
    height:clamp(390px,38vw,540px);
    max-height:none;
    object-fit:cover;
    object-position:center;
  }
  :is(.llog-pc-profile-feature,.llog-pc-profile-photo-essay)
  .llog-native-content .llog-native-hero img{
    width:100%;
    height:clamp(410px,40vw,560px);
    max-height:none;
    object-fit:cover;
    object-position:center;
  }

  /* Vlkolínec: a village walk. Use a small set of repeatable crop windows
     so street / house / detail / interior feel related but not identical. */
  .llog-pc-profile-village .llog-native-vlkolinec .llog-native-hero img{
    width:100%;
    height:clamp(430px,41vw,560px);
    max-height:none;
    object-fit:cover;
    object-position:center 48%;
  }
  .llog-pc-profile-village .llog-native-vlkolinec :is(.llog-vlk-street-pair,.llog-vlk-log-pair,.llog-vlk-farm-pair,.llog-vlk-final-pair) .wp-block-image img{
    width:100%;
    height:clamp(300px,27vw,370px);
    max-height:none;
    object-fit:cover;
    object-position:center;
  }
  .llog-pc-profile-village .llog-native-vlkolinec .llog-vlk-house-wide img{
    width:100%;
    height:clamp(410px,38vw,520px);
    max-height:none;
    object-fit:cover;
    object-position:center;
  }
  .llog-pc-profile-village .llog-native-vlkolinec .llog-vlk-roof-detail img{
    width:100%;
    height:clamp(300px,27vw,360px);
    max-height:none;
    object-fit:cover;
    object-position:center;
  }
  .llog-pc-profile-village .llog-native-vlkolinec .llog-vlk-landmark-pair .wp-block-image img{
    width:100%;
    height:clamp(300px,27vw,360px);
    max-height:none;
    object-fit:cover;
    object-position:center;
  }
  .llog-pc-profile-village .llog-native-vlkolinec .llog-vlk-interior img{
    width:100%;
    height:clamp(430px,39vw,520px);
    max-height:none;
    object-fit:cover;
    object-position:center;
  }
  .llog-pc-profile-village .llog-native-vlkolinec .llog-vlk-fields-finale img{
    width:100%;
    height:clamp(420px,38vw,520px);
    max-height:none;
    object-fit:cover;
    object-position:center;
  }
}

/* ==========================================================
   v1.8.24 — shared editorial photo grammar
   One system, multiple compositions. Inspired by quiet product/editorial
   sites without imitating any brand: hierarchy, whitespace, controlled crop.
   Flagship Landmark/Lodge pages retain their dedicated geometry.
   ========================================================== */
@media (min-width:901px){
  /* Orientation is detected at runtime for existing posts and written into
     generated markup for future posts. This prevents a portrait from becoming
     an accidental giant vertical wall on desktop. */
  :is(.llog-pc-profile-feature,.llog-pc-profile-photo-essay,.llog-pc-profile-narrative,.llog-pc-profile-archive,.llog-pc-profile-village)
  .llog-native-content .wp-block-image.llog-photo-portrait:not(.llog-native-hero):not(.llog-native-wide){
    width:min(100%,520px);
  }
  :is(.llog-pc-profile-feature,.llog-pc-profile-photo-essay,.llog-pc-profile-narrative,.llog-pc-profile-archive,.llog-pc-profile-village)
  .llog-native-content .wp-block-image.llog-photo-square:not(.llog-native-hero):not(.llog-native-wide){
    width:min(100%,640px);
  }
  :is(.llog-pc-profile-feature,.llog-pc-profile-photo-essay,.llog-pc-profile-narrative,.llog-pc-profile-archive,.llog-pc-profile-village)
  .llog-native-content .wp-block-image.llog-photo-panorama:not(.llog-native-hero){
    width:min(1120px,calc(100vw - 72px));
  }

  /* Mixed image rows behave like a designed spread rather than a rigid 50/50 grid. */
  :is(.llog-pc-profile-feature,.llog-pc-profile-photo-essay,.llog-pc-profile-narrative,.llog-pc-profile-archive,.llog-pc-profile-village)
  .llog-native-content .wp-block-columns.llog-pair-mixed{
    grid-template-columns:minmax(260px,.72fr) minmax(0,1.28fr);
    width:min(100%,980px);
    gap:clamp(38px,4.2vw,66px);
    align-items:center;
  }
  :is(.llog-pc-profile-feature,.llog-pc-profile-photo-essay,.llog-pc-profile-narrative,.llog-pc-profile-archive,.llog-pc-profile-village)
  .llog-native-content .wp-block-columns.llog-pair-mixed>.wp-block-column:nth-child(2){padding-top:0}
  :is(.llog-pc-profile-feature,.llog-pc-profile-photo-essay,.llog-pc-profile-narrative,.llog-pc-profile-archive,.llog-pc-profile-village)
  .llog-native-content .wp-block-columns.llog-pair-mixed>.llog-col-portrait{
    max-width:390px;
    justify-self:center;
  }
  :is(.llog-pc-profile-feature,.llog-pc-profile-photo-essay,.llog-pc-profile-narrative,.llog-pc-profile-archive,.llog-pc-profile-village)
  .llog-native-content .wp-block-columns.llog-pair-mixed>.llog-col-portrait img{
    width:100%;height:clamp(430px,42vw,570px);max-height:68vh;object-fit:cover;
  }
  :is(.llog-pc-profile-feature,.llog-pc-profile-photo-essay,.llog-pc-profile-narrative,.llog-pc-profile-archive,.llog-pc-profile-village)
  .llog-native-content .wp-block-columns.llog-pair-two-portrait{
    width:min(100%,820px);grid-template-columns:repeat(2,minmax(0,1fr));gap:56px;align-items:start;
  }
  :is(.llog-pc-profile-feature,.llog-pc-profile-photo-essay,.llog-pc-profile-narrative,.llog-pc-profile-archive,.llog-pc-profile-village)
  .llog-native-content .wp-block-columns.llog-pair-two-portrait>.wp-block-column:nth-child(2){padding-top:48px}
  :is(.llog-pc-profile-feature,.llog-pc-profile-photo-essay,.llog-pc-profile-narrative,.llog-pc-profile-archive,.llog-pc-profile-village)
  .llog-native-content .wp-block-columns.llog-pair-two-portrait img{
    height:clamp(440px,43vw,590px);max-height:70vh;object-fit:cover;
  }
  :is(.llog-pc-profile-feature,.llog-pc-profile-photo-essay,.llog-pc-profile-narrative,.llog-pc-profile-archive,.llog-pc-profile-village)
  .llog-native-content .wp-block-columns.llog-pair-two-square{
    width:min(100%,900px);gap:42px;
  }
  :is(.llog-pc-profile-feature,.llog-pc-profile-photo-essay,.llog-pc-profile-narrative,.llog-pc-profile-archive,.llog-pc-profile-village)
  .llog-native-content .wp-block-columns.llog-pair-two-square>.wp-block-column:nth-child(2){padding-top:34px}
  :is(.llog-pc-profile-feature,.llog-pc-profile-photo-essay,.llog-pc-profile-narrative,.llog-pc-profile-archive,.llog-pc-profile-village)
  .llog-native-content .wp-block-columns.llog-pair-two-square img{
    aspect-ratio:1/1;height:auto;max-height:none;object-fit:cover;
  }

  /* Semantic roles allow future galleries to become expressive without
     one-off CSS. Detail stays intimate; panoramic context may open wider. */
  :is(.llog-pc-profile-feature,.llog-pc-profile-photo-essay,.llog-pc-profile-narrative,.llog-pc-profile-archive,.llog-pc-profile-village)
  .llog-native-content .llog-photo-role-detail{
    width:min(100%,560px);
  }
  :is(.llog-pc-profile-feature,.llog-pc-profile-photo-essay,.llog-pc-profile-narrative,.llog-pc-profile-archive,.llog-pc-profile-village)
  .llog-native-content :is(.llog-photo-role-aerial,.llog-photo-role-context,.llog-photo-role-streetscape).llog-photo-panorama{
    width:min(1160px,calc(100vw - 64px));
  }
}

@media (min-width:1200px){
  /* Portrait + short copy: a deliberate editorial spread. The JS wrapper is
     used only when the two blocks are already adjacent, so content order is preserved. */
  .llog-editorial-media-copy{
    display:grid;
    grid-template-columns:minmax(300px,.78fr) minmax(0,1.22fr);
    align-items:center;
    gap:clamp(54px,5.5vw,84px);
    width:min(100%,980px);
    margin:18px auto 82px;
  }
  .llog-editorial-media-copy.is-image-right{
    grid-template-columns:minmax(0,1.18fr) minmax(300px,.82fr);
  }
  .llog-editorial-media-copy>.wp-block-image{
    width:100%!important;margin:0!important;
  }
  .llog-editorial-media-copy>.wp-block-image img{
    width:100%!important;height:clamp(500px,47vw,620px)!important;max-height:70vh!important;object-fit:cover!important;
  }
  .llog-editorial-media-copy>:is(.llog-native-note,.llog-native-bridge,.llog-vlk-note,.llog-vlk-living-note,.llog-native-short-story,.llog-vlk-history){
    width:auto!important;max-width:480px!important;margin:0!important;padding:0!important;
  }

  /* Small square/detail moments may sit off-axis, but never at random. */
  .llog-pc-profile-photo-essay .llog-native-content>.wp-block-image.llog-photo-square,
  .llog-pc-profile-village .llog-native-content>.wp-block-image.llog-photo-square{
    margin-left:8%!important;margin-right:auto!important;
  }
  .llog-pc-profile-feature .llog-native-content>.wp-block-image.llog-photo-square{
    margin-left:auto!important;margin-right:8%!important;
  }
}
