.story-page{max-width:1160px;margin:auto;padding:38px 30px 45px}.story-heading{max-width:900px;margin:auto}.area-link{color:var(--blue);font-size:15px}.story-heading h1{font-family:"David","Times New Roman",serif;font-size:clamp(45px,6vw,76px);letter-spacing:-2px;line-height:1.1;white-space:normal;margin:22px 0 18px;font-weight:normal}.story-number{font:16px Arial,sans-serif;letter-spacing:0;color:var(--blue);vertical-align:middle;display:inline-block;margin-left:10px}.story-meta{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:23px;font-size:15px}.story-meta [lang]{font:26px "Times New Roman",serif;color:#59645d}.story-nav{display:grid;grid-template-columns:repeat(4,1fr);gap:0;max-width:900px;margin:22px auto 28px;border:1px solid #c9c5bb;border-radius:5px;overflow:hidden;font-size:16px}.story-nav>a,.story-nav>button{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;text-align:center;min-height:68px;padding:12px 8px;border:0;border-left:1px solid #c9c5bb;background:transparent}.story-nav>:last-child{border-left:0}.story-nav a:hover{background:#e6eabb}.story-nav button:disabled{color:#71766e;cursor:default;background:#eae7df}.story-nav span{font-size:11px;line-height:1.3}.lead-photo{margin:0 auto 34px;max-width:1000px}.story-photo{display:block;width:100%;position:relative;padding:0;border:0;background:transparent;cursor:zoom-in}.story-photo img{display:block;width:100%;height:auto}.story-photo>span{position:absolute;bottom:12px;left:12px;background:rgba(244,239,230,.48);color:#18231e;transition:background-color .2s ease;font:13px Arial,sans-serif;padding:7px 12px;border-radius:3px}figcaption{font:13px/1.5 Arial,sans-serif;color:#686458;margin-top:10px}.story-text{max-width:760px;margin:auto;font:24px/1.5 "David","Times New Roman",serif}.story-text>p{margin:0 0 24px}.opening-box{padding:23px 27px;border-right:4px solid var(--blue);background:#e4e7df;margin:0 0 32px;color:#33413c;font-size:23px;line-height:1.45}.opening-box p{margin:0}.comparison{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin:35px -140px 35px}.comparison figure{margin:0;display:flex;flex-direction:column;justify-content:flex-end}.comparison .story-photo img{height:490px;object-fit:contain}.comparison .story-photo{background:#e8e4db}.comparison figcaption{font-size:15px}.visit{margin:45px auto 35px;display:grid;grid-template-columns:1fr 1.35fr;gap:32px;border-top:1px solid var(--line);padding-top:28px;max-width:1000px}.visit h2{font:32px "David","Times New Roman",serif;margin:0 0 18px}.visit dl{margin:0 0 20px;font-size:17px}.visit dl>div{display:grid;grid-template-columns:90px 1fr;gap:12px;border-bottom:1px solid var(--line);padding:12px 0}.visit dd{margin:0;text-align:right}.visit dt{font-weight:bold}.visit a{color:var(--blue);text-decoration:underline;text-underline-offset:4px}.rating dt{color:#8b6519;letter-spacing:3px;font-size:22px}.visit iframe{width:100%;height:335px;border:1px solid var(--line);border-radius:4px;background:#e4e7df}.directions{font-size:16px}#photo-viewer{width:min(1400px,96vw);max-height:95dvh}#photo-caption{font-weight:normal;direction:rtl}.zoom-scroll{overflow:auto;max-height:calc(95dvh - 72px)}#large-photo{display:block;max-width:100%;height:auto;margin:auto}.story-list-item{display:flex;max-width:650px;align-items:center;gap:20px;padding:22px 0;border-bottom:1px solid var(--line);font-size:23px}.story-list-item>span{color:var(--blue);font-size:16px}.story-list-item>span:last-child{margin-right:auto}.story-list-item:hover strong{text-decoration:underline}.more-stories{margin-top:20px!important;color:#665e51}@media(max-width:1100px){.comparison{margin-inline:0}.comparison .story-photo img{height:410px}}@media(max-width:600px){.story-page{padding:25px 20px 30px}.story-heading h1{font-size:46px;letter-spacing:-1.5px;margin-top:18px}.story-number{font-size:13px;margin-left:3px}.story-meta [lang]{font-size:23px}.story-nav{font-size:15px;margin-block:20px;grid-template-columns:1fr 1fr}.story-nav>:nth-child(2){border-left:0}.story-nav>:nth-child(-n+2){border-bottom:1px solid #c9c5bb}.story-nav>a,.story-nav>button{min-height:59px}.story-nav span{font-size:10px}.lead-photo{margin-inline:-20px;margin-bottom:27px}.lead-photo figcaption{padding-inline:20px;font-size:11px}.story-text{font-size:23px;line-height:1.43}.story-text>p{margin-bottom:22px}.opening-box{font-size:22px;padding:18px 20px;margin-bottom:25px}.comparison{grid-template-columns:1fr;gap:27px;margin-block:27px}.comparison .story-photo img{height:auto;max-height:none}.comparison figcaption{font-size:14px}.visit{grid-template-columns:1fr;gap:23px;margin-top:30px}.visit iframe{height:320px}.masthead nav{gap:12px}.zoom-scroll{touch-action:pan-x pan-y pinch-zoom}}
/* Compact, consistent navigation and uninterrupted reading. */
.story-nav{max-width:760px;grid-template-columns:repeat(4,1fr);margin:18px auto 24px}.story-nav>a,.story-nav>button{min-height:58px;gap:5px;padding:8px;border-bottom:0;border-left:1px solid #c9c5bb}.story-nav>:last-child{border-left:0}.story-nav svg{width:22px;height:22px}.story-nav span{font-size:13px;line-height:1.2}.comparison{margin:12px 0 25px;gap:20px}.comparison .story-photo img{height:280px}.continuation{font:14px Arial,sans-serif;color:#665e51;margin-top:28px}.story-end{text-align:center;color:#8b897f;font:16px Arial,sans-serif;margin:28px auto 0;letter-spacing:5px}.story-meta{justify-content:flex-start}@media(max-width:600px){.story-nav{grid-template-columns:repeat(4,1fr);margin:14px auto 18px}.story-nav>a,.story-nav>button{min-height:52px;padding:7px 3px;border-bottom:0!important;border-left:1px solid #c9c5bb!important}.story-nav>:last-child{border-left:0!important}.story-nav svg{width:19px;height:19px}.story-nav span{font-size:11px}.comparison{grid-template-columns:1fr 1fr;gap:10px;margin:12px 0 22px}.comparison .story-photo img{height:175px}.comparison figcaption{font-size:11px}.comparison .story-photo>span{bottom:5px;left:5px;font-size:10px;padding:4px 6px}.continuation{font-size:12px}.story-heading h1{margin-bottom:14px}.story-meta{padding-bottom:16px}}
.reading-page .masthead{height:64px;min-height:0;padding-block:12px;flex-direction:row}.reading-page .story-nav{grid-template-columns:repeat(5,minmax(0,1fr))}.reading-page .story-nav>a,.reading-page .story-nav>button{min-width:0}.reading-page .story-nav>:nth-child(2){border-left:1px solid #c9c5bb}.reading-page .story-nav>:last-child{border-left:0}@media(max-width:600px){.reading-page .masthead{height:54px;padding:10px 20px}.reading-page .wordmark{align-self:auto;font-size:24px}.reading-page .story-page{padding-top:20px}.reading-page .story-nav span{font-size:10px;white-space:nowrap}.reading-page .story-nav>a,.reading-page .story-nav>button{padding-inline:1px}.reading-page{scroll-padding-top:65px}}
.story-heading .story-number{display:block;width:max-content;margin:14px 0 8px;font-family:Arial,sans-serif;font-size:18px;font-weight:400;line-height:1;letter-spacing:.08em;color:var(--blue);direction:ltr}

/* Story 02: portrait photography with room for the reading flow. */
.popolo-story .lead-photo{max-width:620px}.popolo-story .chapel-photo{max-width:360px;margin:24px auto 28px}.popolo-story .paintings .story-photo img{height:370px}.popolo-story .rating dt{font-size:18px;letter-spacing:0}.popolo-story .opening-box{font-style:italic}@media(max-width:600px){.popolo-story .story-heading h1{font-size:40px;line-height:1.12}.popolo-story .story-meta [lang]{font-size:20px}.popolo-story .chapel-photo{max-width:250px}.popolo-story .paintings .story-photo img{height:210px}}

.popolo-story .story-heading h1{text-wrap:balance}

.obelisk-story .lead-photo{max-width:620px}.obelisk-story .opening-box{font-style:italic}.obelisk-story .story-photo img{height:auto}.obelisk-story .comparison img{height:280px}@media(max-width:600px){.obelisk-story .comparison img{height:175px}}

.piazza-story .opening-box{font-style:italic}.piazza-story .body-photo{margin:26px auto;max-width:620px}.piazza-story .body-photo img{height:340px;object-fit:contain}.piazza-story .rating dt{font-size:18px;letter-spacing:0}@media(max-width:600px){.piazza-story .body-photo img{height:260px}}

/* Archival images retain their full proportions and source credits. */
.archive-photo{max-width:700px;margin:28px auto 32px}
.archive-photo img{max-height:440px;object-fit:contain}
.image-credit{display:block;font:11px/1.65 Arial,sans-serif;margin-top:5px;color:#706a5f}
.image-credit a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.republic-photo{max-width:480px}.gate-history{max-width:370px}.gate-history img{max-height:480px}
.painting-window{position:relative;overflow:hidden;aspect-ratio:1260/860}
.painting-window img{position:absolute;width:162.54%;max-width:none;max-height:none;height:auto;left:-31.75%;top:-41.28%}
.church-visit{display:block}.church-visit>div{max-width:600px}
.church-orientation{display:grid;grid-template-columns:1fr 1fr;gap:36px;max-width:1000px;margin:30px auto 44px;padding-top:28px;border-top:1px solid var(--line);align-items:start}
.church-orientation h2{font:30px "David","Times New Roman",serif;margin:0 0 18px}
.church-plan-figure{margin:0}.church-plan-figure img{max-height:560px;object-fit:contain}
.plan-legend{font:16px/1.65 Arial,sans-serif;padding-right:24px;margin:18px 0 0}.plan-legend li{padding:4px 0}
.church-location iframe{width:100%;height:420px;border:1px solid var(--line);border-radius:4px}
@media(max-width:600px){.archive-photo{margin-block:24px}.archive-photo img{max-height:330px}.gate-history{max-width:290px}.gate-history img{max-height:390px}.painting-window img{max-height:none}.church-orientation{grid-template-columns:1fr;gap:30px}.church-plan-figure img{max-height:500px}.church-location iframe{height:320px}.image-credit{font-size:11px}.plan-legend{font-size:15px}}

/* Story 02: balanced orientation and photographs without grey panels. */
.popolo-story .comparison .story-photo{background:transparent}
.popolo-story .arch-context{max-width:390px;margin:26px auto}
.popolo-story .church-plan-figure .story-photo{width:max-content;max-width:100%;margin-inline:auto}
.popolo-story .church-plan-figure img{height:480px;width:auto;max-width:100%;max-height:none;object-fit:contain}
.popolo-story .church-location iframe{height:480px}
.plan-source{max-width:1000px;margin:24px auto 0;font:12px/1.6 Arial,sans-serif;color:#706a5f}
.plan-source summary{cursor:pointer}.plan-source a{text-decoration:underline}
@media(max-width:600px){.popolo-story .arch-context{max-width:290px}.popolo-story .church-plan-figure img{height:auto;width:100%;max-height:500px}.popolo-story .church-location iframe{height:320px}}

/* Piazza: portrait given room, wall and aerial share visible width. */
.piazza-story .portrait-life{max-width:450px}.piazza-story .portrait-life img{height:auto;max-height:none}
.piazza-story .curved-wall,.piazza-story .aerial-photo{max-width:700px}
.piazza-story .curved-wall img{height:340px;width:100%;object-fit:cover;object-position:center top}
.piazza-story .aerial-photo img{width:100%;height:auto;max-height:none}
@media(max-width:600px){.piazza-story .portrait-life{max-width:340px}.piazza-story .curved-wall img{height:260px}}

/* Story 05: preserve portrait proportions and the legibility of the plan. */
.montesanto-story .opening-box{font-style:italic}
.montesanto-story .body-photo{margin:30px 0}
.montesanto-story .portrait-photo{max-width:480px;margin:30px auto}
.montesanto-story .icon-photo{max-width:400px}
.montesanto-story .plan-photo{max-width:480px;margin:30px auto}
.montesanto-story .story-photo img{height:auto;max-height:none}
.montesanto-story .rating dt{letter-spacing:1px}
@media(max-width:600px){.montesanto-story .story-heading h1{font-size:40px}.montesanto-story .story-meta [lang]{font-size:20px}.montesanto-story .portrait-photo,.montesanto-story .plan-photo{margin:25px auto}}

/* Story 06: full portrait photography and column plan. */
.miracoli-story .opening-box{font-style:italic}
.miracoli-story .portrait-photo{max-width:450px;margin:30px auto}
.miracoli-story .print-photo{max-width:400px}
.miracoli-story .story-photo img{height:auto;max-height:none}
.miracoli-plan-section{max-width:760px;margin:35px auto}
.miracoli-plan-section h2{font:32px "David","Times New Roman",serif}
.miracoli-story .plan-photo{max-width:480px;margin:20px auto}
.miracoli-story .rating dt{letter-spacing:1px}
@media(max-width:600px){.miracoli-story .story-heading h1{font-size:40px}.miracoli-story .story-meta [lang]{font-size:22px}.miracoli-story .portrait-photo{margin:25px auto}}

/* Pincio: full portraits and an equal-height comparison. */
.pincio-story .opening-box{font-style:italic}
.pincio-story .lead-photo{max-width:460px;margin:24px auto 32px}
.pincio-story .story-photo{background:transparent}
.pincio-story .story-photo img{height:auto;max-height:none;width:100%}
.pincio-story .body-photo{margin:30px 0}
.pincio-portraits{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:30px 0;align-items:start}
.pincio-portraits .body-photo{margin:0}
.pincio-portraits .story-photo img{height:400px;object-fit:cover;object-position:center top}
@media(max-width:600px){.pincio-story .story-heading h1{font-size:40px}.pincio-portraits{gap:12px}.pincio-portraits .story-photo img{height:240px}.pincio-portraits figcaption{font-size:12px}}

/* Contextual image and text pairs for the Flaminian obelisk. */
.wide-story .story-spread figure{margin:24px auto 32px}
.wide-story .ramesses-photo{max-width:520px}
.wide-story .ramesses-photo img{width:100%;height:auto;max-height:none}
.wide-story .story-spread figcaption{font:13px/1.5 Arial,sans-serif;color:#59645d;margin-top:10px}
.wide-story .first-spread{display:flex;flex-direction:column}
.wide-story .first-spread>.lead-photo{order:-1}
@media(min-width:1100px){
 .wide-story .story-page{max-width:none;padding:38px 4.5vw 45px}
 .wide-story .story-heading{max-width:none;margin:0}
 .wide-story .story-nav{width:100%;max-width:none;margin:22px 0 30px}
 .wide-story .story-text{max-width:none;width:100%;font:24px/1.6 "David","Times New Roman",serif}
 .wide-story .story-spread{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);column-gap:5vw;align-items:start;margin-bottom:36px}
 .wide-story .spread-text{grid-column:1;grid-row:1;max-width:760px}
 .wide-story .story-spread>.lead-photo,.wide-story .story-spread>.ramesses-photo,.wide-story .story-spread>.comparison{grid-column:2;grid-row:1;margin:0;width:100%;max-width:none;order:0}
 .wide-story .story-spread img{width:100%;height:auto;max-height:none;object-fit:contain}
 .wide-story .story-spread .comparison{display:grid;grid-template-columns:1fr 1fr;gap:20px}
 .wide-story .comparison figure{margin:0}
 .wide-story .opening-box{margin-top:0}
 .wide-story .visit{max-width:none;width:100%;margin:45px 0 35px}
}

.story-photo:hover>span,.story-photo:focus-visible>span{background:rgba(244,239,230,.85)}
@media(prefers-reduced-motion:reduce){.story-photo>span{transition:none}}

.wide-story .story-spread figcaption{text-align:right;direction:rtl}
@media(min-width:1100px){
 .wide-story .story-spread>figure{justify-self:end}
 .wide-story .story-spread .story-photo{display:block;width:100%}
 .wide-story .story-spread .comparison figure{justify-self:start;max-width:100%}
}
