/*
Theme Name: Steven Man Journeys
Theme URI: https://stevenman.com
Author: Steven Man
Description: A cinematic, editable journal of Italy, food, cooking and travel.
Version: 4.5.0
Requires at least: 6.7
Requires PHP: 7.4
Text Domain: stevenman-journeys
*/
:root{--sm-ink:#090b0a;--sm-panel:#101411;--sm-forest:#111813;--sm-cream:#f3eee4;--sm-white:#fff;--sm-gold:#c8903b;--sm-muted:#b9b7af;--sm-line:rgba(255,255,255,.16)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{background:var(--sm-ink);color:var(--sm-cream);text-rendering:optimizeLegibility}.wp-site-blocks{overflow:clip}a{text-underline-offset:.22em}.sm-shell{padding-left:clamp(1.25rem,3vw,3rem)!important;padding-right:clamp(1.25rem,3vw,3rem)!important}
.sm-header{height:95px;border-bottom:1px solid var(--sm-line);position:relative;z-index:20}.sm-brand{line-height:1;text-decoration:none!important;min-width:265px}.sm-signature{font-family:Allura,cursive;font-size:clamp(3rem,4vw,4.35rem);color:#fff;display:block;transform:rotate(-2deg);transform-origin:left center}.sm-brand-rule{display:block;width:258px;height:3px;margin:-.1rem 0 .45rem;background:linear-gradient(90deg,#16844a 0 33.33%,#f2efe7 33.33% 66.66%,#c63c36 66.66%)}.sm-brand-sub{display:block;color:#dedbd3;font:500 .62rem/1.1 'DM Sans',sans-serif;letter-spacing:.34em;padding-left:1rem}.sm-header .wp-block-navigation{font-size:clamp(1.1rem,1.45vw,1.42rem);font-weight:300;letter-spacing:0;gap:2rem}.sm-header .wp-block-navigation-item__content{color:#fff!important;text-decoration:none}.sm-header .wp-block-navigation-item__content:hover{color:var(--sm-gold)!important}
.sm-eyebrow{text-transform:uppercase;letter-spacing:.29em;font:500 .77rem/1.3 'DM Sans',sans-serif;color:var(--sm-gold)}.sm-home-hero{height:620px;display:grid;grid-template-columns:38% 62%;background:#080b09}.sm-hero-copy{padding:4.4rem 3.9rem;display:flex;flex-direction:column;justify-content:center;position:relative;z-index:2}.sm-hero-copy .sm-gold-rule{width:64px;border-top:2px solid var(--sm-gold);margin:1.1rem 0 1.9rem}.sm-home-hero h1{font:500 clamp(4.3rem,5.6vw,6.2rem)/.91 Oswald,sans-serif;letter-spacing:.005em;text-transform:uppercase;margin:0 0 1.4rem;max-width:560px}.sm-home-hero .sm-lead{font-size:clamp(1rem,1.25vw,1.22rem);line-height:1.55;max-width:520px;color:#d7d4cd}.sm-hero-media{height:620px;background-size:cover;background-position:center;position:relative}.sm-hero-media:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,11,9,.18),transparent 12%)}
.wp-element-button,.wp-block-button__link{border-radius:0!important;text-transform:uppercase;letter-spacing:.18em;font-size:.76rem!important;font-weight:500!important;padding:1rem 2.45rem!important}.sm-home-hero .is-style-outline .wp-block-button__link{color:var(--sm-gold)!important;border:1px solid var(--sm-gold)!important;background:transparent!important;margin-top:1rem}
.sm-home-stories{background:#101411;padding:.8rem .25rem}.sm-divider{display:flex;align-items:center;gap:1.2rem;margin-bottom:1rem}.sm-divider:before,.sm-divider:after{content:"";height:1px;background:rgba(200,144,59,.75);flex:1}.sm-divider span{color:var(--sm-gold);white-space:nowrap;text-transform:uppercase;letter-spacing:.38em;font-size:.67rem}.sm-story-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;background:#080b09}.sm-story-card{min-height:238px;position:relative;overflow:hidden;background-size:cover;background-position:center;border:1px solid rgba(200,144,59,.55)}.sm-story-card:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.02) 22%,rgba(4,6,5,.82) 100%);transition:.35s}.sm-story-card:hover:before{background:linear-gradient(180deg,rgba(0,0,0,0) 15%,rgba(4,6,5,.72) 100%)}.sm-story-copy{position:absolute;inset:auto 0 0;padding:1.45rem 2rem;z-index:2}.sm-story-copy .sm-card-number{color:var(--sm-gold);font:500 1.2rem/1 'Cormorant Garamond',serif;margin:0}.sm-story-copy h3{font:500 clamp(1.5rem,1.75vw,1.95rem)/1.05 'Cormorant Garamond',serif;text-transform:uppercase;letter-spacing:.025em;margin:.55rem 0}.sm-story-copy p:not(.sm-card-number){margin:.25rem 0;font-size:.92rem;color:#e3dfd7}.sm-story-copy a{color:var(--sm-gold);font-size:1.7rem;text-decoration:none}
.sm-section{padding:clamp(5rem,8vw,9rem) clamp(1.25rem,4.5vw,5.5rem)}.sm-section-title{text-transform:uppercase;font:500 clamp(2.6rem,5vw,5.2rem)/.95 Oswald,sans-serif;letter-spacing:-.02em}.sm-page-hero{min-height:clamp(520px,68vh,760px);display:flex;align-items:end;background-size:cover;background-position:center;position:relative}.sm-page-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,8,6,.9),rgba(5,8,6,.22) 70%),linear-gradient(0deg,rgba(5,8,6,.8),transparent 62%)}.sm-page-hero-copy{position:relative;z-index:2;max-width:900px;padding:clamp(4rem,8vw,8rem) clamp(1.25rem,7vw,9rem)}.sm-page-hero h1{font:500 clamp(3.7rem,7vw,7.5rem)/.92 Oswald,sans-serif;text-transform:uppercase;margin:.75rem 0 1.3rem}.sm-page-hero p{font-size:clamp(1.1rem,1.5vw,1.4rem);max-width:700px}.sm-feature-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(2.5rem,6vw,7rem);align-items:center}.sm-feature-grid img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}.sm-feature-copy h2{font:500 clamp(2.6rem,4vw,4.6rem)/.98 Oswald,sans-serif;text-transform:uppercase}.sm-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.sm-gallery-grid img{width:100%;height:100%;min-height:300px;aspect-ratio:4/3;object-fit:cover}
.sm-map{height:620px;background:#1c211e;border:1px solid rgba(255,255,255,.16)}.sm-map .leaflet-popup-content-wrapper,.sm-map .leaflet-popup-tip{background:#101411;color:#fff;border-radius:0}.sm-map .leaflet-popup-content{margin:0;min-width:260px}.sm-map-card img{width:100%;height:145px;object-fit:cover}.sm-map-card div{padding:1rem}.sm-map-card h3{font:500 1.45rem/1.1 Oswald,sans-serif;text-transform:uppercase;margin:0 0 .4rem}.sm-map-card p{margin:.35rem 0;color:#ddd}.sm-map-card a{color:var(--sm-gold)}.sm-map-dot{width:22px;height:22px;border:3px solid #fff;background:var(--sm-gold);border-radius:50%;box-shadow:0 0 0 6px rgba(200,144,59,.25)}.sm-post-grid .wp-block-post{background:var(--sm-panel);border:1px solid var(--sm-line);padding:1.25rem}.sm-post-grid .wp-block-post-featured-image img{aspect-ratio:4/3;object-fit:cover}.sm-footer{border-top:1px solid var(--sm-line)}.sm-footer .sm-signature{font-size:3.5rem}.sm-note{border-left:3px solid var(--sm-gold);padding-left:1.4rem;color:#ddd}.sm-ici-photo{object-position:center 57%}.sm-frame img{width:100%;aspect-ratio:4/3;object-fit:cover}
@media(max-width:1000px){.sm-story-grid{grid-template-columns:repeat(2,1fr)}.sm-home-hero{height:auto;grid-template-columns:1fr}.sm-hero-copy{min-height:560px;padding:4rem 2rem}.sm-hero-media{height:500px}.sm-feature-grid{grid-template-columns:1fr}.sm-header{height:88px}.sm-header .wp-block-navigation__responsive-container-open{display:block}.sm-header .wp-block-navigation__responsive-container:not(.is-menu-open){display:none}}
@media(max-width:600px){.sm-story-grid,.sm-gallery-grid{grid-template-columns:1fr}.sm-story-card{min-height:310px}.sm-page-hero{min-height:620px}.sm-map{height:480px}.sm-brand{min-width:190px}.sm-signature{font-size:2.8rem}.sm-brand-rule{width:180px}.sm-home-hero h1{font-size:3.7rem}.sm-section{padding-top:4.5rem;padding-bottom:4.5rem}}

/* 3.3: locked Option 1 proportions, responsive to Surface/Windows scaling. */
.sm-header{height:clamp(72px,9svh,95px);min-height:0}
.sm-approved-logo{display:block;width:clamp(240px,20.7vw,330px);aspect-ratio:3.3/1;background:url('assets/images/approved-steven-man-logo.png') center/contain no-repeat;text-decoration:none!important;flex:none}
.sm-header .wp-block-navigation{font-size:clamp(.95rem,1.28vw,1.32rem);font-weight:300;gap:clamp(1.1rem,2vw,2rem)}
.sm-home-hero{height:64svh;min-height:0;grid-template-columns:38% 62%}
.sm-hero-copy{padding:clamp(2.1rem,5.5vh,4.4rem) clamp(2.2rem,3.9vw,3.9rem)}
.sm-hero-copy .sm-gold-rule{margin:clamp(.7rem,1.5vh,1.1rem) 0 clamp(1rem,2.4vh,1.9rem)}
.sm-home-hero h1{font-size:clamp(3rem,4.65vw,5.8rem);letter-spacing:-.01em;margin-bottom:clamp(.8rem,2vh,1.4rem);max-width:none}
.sm-home-hero h1 span{display:block;white-space:nowrap}
.sm-home-hero .sm-lead{font-size:clamp(.88rem,1.15vw,1.16rem);line-height:1.5}
.sm-hero-media{height:64svh;min-height:0}
.sm-home-stories{height:27svh;padding:.55rem .25rem;display:flex;flex-direction:column}
.sm-divider{margin-bottom:.55rem;flex:none}
.sm-story-grid{flex:1;min-height:0}
.sm-story-card{min-height:0}
.sm-story-copy{padding:clamp(.55rem,1.55vh,1.35rem) clamp(.9rem,1.8vw,1.8rem)}
.sm-story-copy h3{font-size:clamp(1.15rem,1.55vw,1.75rem);margin:.25rem 0}
.sm-story-copy p:not(.sm-card-number){font-size:clamp(.72rem,.88vw,.9rem);margin:.12rem 0}
.sm-story-copy a{font-size:clamp(1.15rem,1.5vw,1.6rem)}
body.admin-bar.home .sm-home-hero,body.admin-bar.home .sm-hero-media{height:60svh}
body.admin-bar.home .sm-home-stories{height:25svh}
@media(max-width:1000px){.sm-approved-logo{width:220px}.sm-home-hero{height:auto;grid-template-columns:1fr}.sm-hero-copy{min-height:480px}.sm-hero-media{height:430px}.sm-home-stories{height:auto}.sm-story-card{min-height:250px}body.admin-bar.home .sm-home-hero{height:auto}body.admin-bar.home .sm-hero-media{height:430px}body.admin-bar.home .sm-home-stories{height:auto}}
@media(max-width:600px){.sm-approved-logo{width:190px}.sm-home-hero h1{font-size:clamp(2.9rem,13.5vw,4rem)}.sm-home-hero h1 span{white-space:normal}.sm-hero-copy{min-height:470px}}

/* 3.4: final Surface fit and clean, editable photo journal. */
.home:not(.admin-bar) .sm-home-hero,.home:not(.admin-bar) .sm-hero-media{height:60svh}
.home:not(.admin-bar) .sm-home-stories{height:25svh}
body.admin-bar.home .sm-home-hero,body.admin-bar.home .sm-hero-media{height:54svh}
body.admin-bar.home .sm-home-stories{height:22svh}
.sm-story-card:before{background:linear-gradient(180deg,rgba(0,0,0,.02) 24%,rgba(4,6,5,.98) 76%,#040605 100%)}
.sm-photo-journal{background:#090b0a;padding:4.5rem clamp(1rem,3vw,3rem)}
.sm-photo-wall{display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:repeat(2,minmax(220px,32vw));gap:6px}
.sm-photo-wall img{width:100%;height:100%;object-fit:cover}.sm-photo-wall img:first-child{grid-row:1/3}.sm-photo-note{text-align:center;color:#aaa;margin-top:1.5rem;font-size:.9rem}
@media(max-width:1000px){.home:not(.admin-bar) .sm-home-hero,body.admin-bar.home .sm-home-hero{height:auto}.home:not(.admin-bar) .sm-hero-media,body.admin-bar.home .sm-hero-media{height:430px}.home:not(.admin-bar) .sm-home-stories,body.admin-bar.home .sm-home-stories{height:auto}.sm-photo-wall{grid-template-columns:1fr 1fr;grid-template-rows:none}.sm-photo-wall img:first-child{grid-row:auto}}
@media(max-width:600px){.sm-photo-wall{grid-template-columns:1fr}.sm-photo-wall img{min-height:260px}}

/* 3.5: use the remaining Surface viewport space for taller story panels. */
.home:not(.admin-bar) .sm-home-stories{height:28svh}
body.admin-bar.home .sm-home-stories{height:27svh}

/* 3.6: protect faces in the authentic Culinary Institute group photo. */
.sm-story-grid .sm-story-card:nth-child(2){background-position:center 72%}
.sm-story-grid .sm-story-card:nth-child(2) .sm-story-copy{padding-bottom:clamp(.25rem,.65vh,.55rem)}

/* 3.7: lower all four card captions and lengthen the hero accent rule. */
.sm-hero-copy .sm-gold-rule{width:96px}
.sm-story-copy{bottom:-16px}
.sm-story-grid .sm-story-card:nth-child(2) .sm-story-copy{padding-bottom:clamp(.25rem,.65vh,.55rem)}

/* 3.8: clean card photography and a consistent low caption band. */
.sm-story-card:before{z-index:1;background:linear-gradient(180deg,rgba(0,0,0,0) 42%,rgba(4,6,5,.48) 58%,rgba(4,6,5,.98) 82%,#040605 100%)}
.sm-story-card:hover:before{background:linear-gradient(180deg,rgba(0,0,0,0) 48%,rgba(4,6,5,.42) 64%,rgba(4,6,5,.94) 84%,#040605 100%)}
.sm-story-copy{bottom:0;padding:clamp(.3rem,.7vh,.55rem) clamp(.9rem,1.8vw,1.8rem) clamp(.12rem,.3vh,.25rem)}
.sm-story-copy .sm-card-number{font-size:clamp(.76rem,.82vw,.92rem);line-height:1;margin:0 0 .08rem}
.sm-story-copy h3{font-size:clamp(1.08rem,1.35vw,1.5rem);line-height:1;margin:.05rem 0 .12rem}
.sm-story-copy p:not(.sm-card-number){font-size:clamp(.68rem,.78vw,.8rem);line-height:1.1;margin:.04rem 0}
.sm-story-copy a{display:inline-block;font-size:clamp(1rem,1.18vw,1.25rem);line-height:1;margin-top:.03rem}
.sm-story-grid .sm-story-card:nth-child(2){background-position:center 73%}
.sm-story-grid .sm-story-card:nth-child(2) .sm-story-copy{padding-bottom:clamp(.12rem,.3vh,.25rem)}

/* 4.3: retain the thicker rule but restore the original line length and word alignment. */
.sm-approved-logo{position:relative;transform:translateY(6px)}
.sm-approved-logo:before{display:none}
.sm-approved-logo:after{content:"";position:absolute;left:6.8%;right:15.5%;top:74.5%;height:6px;background:linear-gradient(90deg,#009246 0 33.333%,#f1f2f1 33.333% 66.666%,#ce2b37 66.666% 100%);pointer-events:none}
@media(max-width:600px){.sm-approved-logo{transform:translateY(5px)}}

/* 4.4: Florence chapter — editorial storytelling using Steven's original photographs. */
.sm-italy-page{background:#0a0c0b;color:var(--sm-cream)}
.sm-florence-hero{min-height:calc(100svh - 95px);display:flex;align-items:end;background-size:cover;background-position:center;position:relative}
.sm-florence-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,7,6,.88) 0,rgba(5,7,6,.38) 48%,rgba(5,7,6,.05) 74%),linear-gradient(0deg,rgba(5,7,6,.72),transparent 55%)}
.sm-florence-hero-copy{position:relative;z-index:1;width:min(760px,90%);padding:clamp(4rem,9vw,9rem) clamp(1.4rem,7vw,8rem)}
.sm-florence-hero h1,.sm-italy-page h2{font-family:'Cormorant Garamond',serif;font-weight:500}
.sm-florence-hero h1{font-size:clamp(4.7rem,9.4vw,9.2rem);line-height:.73;margin:.8rem 0 2.1rem;letter-spacing:-.045em}
.sm-florence-hero h1 em,.sm-italy-page h2 em{font-weight:500;color:var(--sm-gold)}
.sm-florence-hero-copy>p:not(.sm-eyebrow){max-width:630px;font-size:clamp(1.08rem,1.5vw,1.35rem);line-height:1.6;color:#e2dfd7}
.sm-scroll-cue{display:inline-flex;gap:2rem;margin-top:2rem;color:#fff;text-decoration:none;text-transform:uppercase;letter-spacing:.2em;font-size:.72rem;border-bottom:1px solid var(--sm-gold);padding-bottom:.7rem}.sm-scroll-cue span{color:var(--sm-gold)}
.sm-section-number{color:var(--sm-gold);text-transform:uppercase;letter-spacing:.28em;font:600 .72rem/1.3 'DM Sans',sans-serif}
.sm-florence-intro{display:grid;grid-template-columns:1fr .85fr;gap:clamp(3rem,9vw,10rem);padding:clamp(5rem,10vw,10rem) clamp(1.4rem,8vw,9rem);background:#f0ebe1;color:#171a17}
.sm-italy-page h2{font-size:clamp(3.2rem,5.6vw,6rem);line-height:.9;margin:1rem 0}.sm-intro-copy{padding-top:2rem;font-size:clamp(1.05rem,1.3vw,1.25rem);line-height:1.8;color:#454740}.sm-dropcap:first-letter{float:left;font:500 5.7rem/.72 'Cormorant Garamond',serif;color:#9b692d;padding:.15rem .5rem 0 0}
.sm-editorial-pair{display:grid;grid-template-columns:1.15fr .85fr;gap:clamp(2.5rem,6vw,7rem);align-items:center;padding:clamp(5rem,9vw,9rem) clamp(1.4rem,7vw,8rem)}
.sm-editorial-pair figure,.sm-homestay-grid figure,.sm-food-grid figure{margin:0}.sm-editorial-pair img{width:100%;display:block;object-fit:cover}.sm-photo-large img{aspect-ratio:1.1/1}.sm-photo-small{margin-top:3rem!important;width:76%;margin-left:auto!important}.sm-photo-small img{aspect-ratio:4/3}.sm-editorial-pair figcaption{color:#92958e;font-size:.73rem;letter-spacing:.1em;text-transform:uppercase;margin-top:.8rem}.sm-editorial-copy>p:not(.sm-section-number){max-width:570px;color:#bebcb5;line-height:1.8;font-size:1.07rem}
.sm-homestay-section{padding:clamp(5rem,9vw,9rem) clamp(1.4rem,5vw,6rem);background:#151b17}.sm-section-heading{max-width:800px;margin-bottom:3.2rem}.sm-section-heading>p:not(.sm-section-number){color:#aaaFA8;font-size:1.08rem;line-height:1.7}.sm-homestay-grid{display:grid;grid-template-columns:1.25fr .75fr 1fr;grid-template-rows:repeat(2,minmax(270px,28vw));gap:8px}.sm-tile{position:relative;overflow:hidden}.sm-tile-room{grid-row:1/3}.sm-tile:nth-child(4){grid-column:2/4}.sm-tile img{width:100%;height:100%;object-fit:cover}.sm-tile-room img{object-position:center}.sm-tile figcaption{position:absolute;inset:auto 0 0;padding:3.2rem 1.5rem 1.4rem;background:linear-gradient(transparent,rgba(3,5,4,.9));display:flex;flex-direction:column}.sm-tile figcaption strong{font:500 1.65rem 'Cormorant Garamond',serif}.sm-tile figcaption span{color:#c7c5bd;font-size:.82rem}
.sm-friends-section{display:grid;grid-template-columns:.75fr 1.25fr;gap:clamp(3rem,7vw,8rem);align-items:center;padding:clamp(5rem,9vw,9rem) clamp(1.4rem,7vw,8rem);background:#0b0e0c}.sm-friends-copy>p:not(.sm-section-number){color:#b9b7af;line-height:1.8;font-size:1.07rem}.sm-friends-collage{display:grid;grid-template-columns:1.1fr .9fr;gap:8px}.sm-friends-collage img{width:100%;height:100%;object-fit:cover;min-height:260px}.sm-friend-main{grid-row:1/3;min-height:600px!important}
.sm-florence-food{padding:clamp(5rem,9vw,9rem) clamp(1.4rem,5vw,6rem);background:#eee8dd;color:#181b18}.sm-centered{text-align:center;margin-left:auto;margin-right:auto}.sm-food-grid{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:1.2rem}.sm-food-grid img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}.sm-food-feature img{aspect-ratio:1/1}.sm-food-grid figcaption{padding:1rem 0;display:grid;grid-template-columns:auto 1fr;gap:.15rem 1rem}.sm-food-grid figcaption span{grid-row:1/3;color:#a46d2d;font:600 .8rem 'DM Sans',sans-serif}.sm-food-grid figcaption strong{font:500 1.55rem 'Cormorant Garamond',serif}.sm-food-grid figcaption small{color:#6f716a}.sm-food-feature{grid-row:span 2}
.sm-florence-journal{padding:clamp(5rem,9vw,9rem) clamp(1rem,3vw,3rem);background:#111512}.sm-florence-journal .sm-section-heading{margin-left:clamp(.4rem,4vw,4rem)}.sm-journal-grid{display:grid;grid-template-columns:1.2fr .8fr 1fr 1fr;grid-template-rows:repeat(2,minmax(250px,28vw));gap:7px}.sm-journal-grid img{width:100%;height:100%;object-fit:cover}.sm-journal-grid img:first-child{grid-row:1/3}.sm-journal-grid img:nth-child(4){grid-column:3/5}.sm-journal-grid img:nth-child(7){display:none}
.sm-italy-map-section{padding:clamp(5rem,9vw,9rem) clamp(1.4rem,6vw,7rem);background:#18221c}.sm-italy-map-section .sm-map{margin-top:2.5rem}

/* 4.5: balanced Florence photography, landscape homestay and a dense journal. */
.sm-florence-learning{align-items:start}.sm-florence-learning .sm-photo-large img{aspect-ratio:4/3;object-position:center 55%}.sm-florence-learning .sm-photo-small{width:86%;margin-top:2.2rem!important}.sm-florence-learning .sm-photo-small img{aspect-ratio:16/10;object-position:center 38%}
.sm-homestay-grid{grid-template-columns:1.35fr .65fr 1fr;grid-template-rows:repeat(2,minmax(250px,23vw));grid-auto-flow:dense}.sm-tile-room{grid-column:1/3;grid-row:1}.sm-tile-room img{object-position:center 48%}.sm-homestay-grid .sm-tile:nth-child(2){grid-column:3;grid-row:1}.sm-homestay-grid .sm-tile:nth-child(3){grid-column:1;grid-row:2}.sm-homestay-grid .sm-tile:nth-child(4){grid-column:2/4;grid-row:2}
.sm-friends-collage{grid-template-columns:1.18fr .82fr;grid-template-rows:repeat(2,minmax(245px,21vw));align-items:stretch}.sm-friends-collage img{min-height:0;object-position:center}.sm-friend-main{grid-row:1/3;min-height:0!important}.sm-friends-collage img:nth-child(2){object-position:center 42%}.sm-friends-collage img:nth-child(3){object-position:center 46%}
.sm-food-grid{grid-template-columns:1.25fr 1fr 1fr;grid-auto-flow:dense}.sm-food-grid figure:not(.sm-food-feature) img{aspect-ratio:4/3}.sm-food-grid figure:nth-child(5){grid-column:2/4}.sm-food-grid figure:nth-child(5) img{aspect-ratio:2/1;object-position:center 44%}
.sm-journal-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-template-rows:repeat(3,minmax(210px,19vw));grid-auto-flow:dense;gap:8px}.sm-journal-grid img{min-width:0;min-height:0}.sm-journal-grid img:nth-child(1){grid-column:1/6;grid-row:1/3}.sm-journal-grid img:nth-child(2){grid-column:6/10;grid-row:1}.sm-journal-grid img:nth-child(3){grid-column:10/13;grid-row:1}.sm-journal-grid img:nth-child(4){grid-column:6/13;grid-row:2}.sm-journal-grid img:nth-child(5){grid-column:1/4;grid-row:3}.sm-journal-grid img:nth-child(6){grid-column:4/8;grid-row:3}.sm-journal-grid img:nth-child(7){display:block;grid-column:8/10;grid-row:3}.sm-journal-grid img:nth-child(8){grid-column:10/13;grid-row:3}.sm-journal-grid img:nth-child(9){display:none}.sm-journal-grid img:nth-child(5),.sm-journal-grid img:nth-child(7){object-position:center 22%}
@media(max-width:900px){.sm-florence-intro,.sm-editorial-pair,.sm-friends-section{grid-template-columns:1fr}.sm-homestay-grid{grid-template-columns:1fr 1fr;grid-template-rows:repeat(2,minmax(300px,45vw))}.sm-homestay-grid .sm-tile,.sm-homestay-grid .sm-tile-room{grid-column:auto;grid-row:auto}.sm-food-grid{grid-template-columns:1fr 1fr}.sm-food-feature{grid-row:auto;grid-column:1/3}.sm-food-feature img{aspect-ratio:16/9}.sm-food-grid figure:nth-child(5){grid-column:1/3}.sm-journal-grid{grid-template-columns:1fr 1fr;grid-template-rows:none}.sm-journal-grid img:nth-child(n){display:block;grid-column:auto;grid-row:auto;min-height:300px}.sm-journal-grid img:nth-child(1),.sm-journal-grid img:nth-child(4){grid-column:1/3;aspect-ratio:16/8;min-height:0}}
@media(max-width:600px){.sm-florence-hero{min-height:78svh}.sm-florence-hero h1{font-size:4.6rem}.sm-florence-intro,.sm-editorial-pair,.sm-friends-section{padding-left:1.3rem;padding-right:1.3rem}.sm-photo-small{width:100%}.sm-homestay-grid,.sm-food-grid,.sm-journal-grid{grid-template-columns:1fr;grid-template-rows:none}.sm-homestay-grid .sm-tile,.sm-food-grid figure,.sm-journal-grid img:nth-child(n){grid-column:auto;grid-row:auto}.sm-homestay-grid .sm-tile,.sm-journal-grid img:nth-child(n){min-height:310px;aspect-ratio:auto}.sm-food-feature img,.sm-food-grid img{aspect-ratio:4/3}.sm-friends-collage{grid-template-columns:1fr}.sm-friend-main{grid-row:auto;min-height:360px!important}.sm-friends-collage img{min-height:300px}.sm-journal-grid img:nth-child(7){display:block}}
