/* First review round: tighter layouts after moving selected photos into galleries. */
.round-feature-added{max-width:790px;margin:26px auto}.round-feature-added>.photo{display:block;width:100%;max-width:790px;margin:auto}.round-feature-added>.photo img{display:block;width:100%;height:auto;max-height:650px;object-fit:contain}.round-subhero{max-width:1100px;margin:24px auto}.round-subhero>.photo{width:100%}.round-subhero img{display:block;width:100%;height:auto}
body[data-chapter="civil"] .hero-image>.photo{display:block;max-width:none;margin:auto;background:transparent}body[data-chapter="civil"] .hero-image>.photo img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}body[data-chapter="civil"] .hero-image .hero-caption{max-width:none;margin-inline:auto}
body[data-chapter="civil"] #gardens .triptych{grid-template-columns:1fr;max-width:650px;margin:28px auto}body[data-chapter="civil"] #gardens .triptych>.photo{margin:0;width:100%}body[data-chapter="civil"] .civil-closing-portraits{display:block;max-width:540px;margin-top:24px}body[data-chapter="civil"] #together .intimate{gap:28px}body[data-chapter="civil"] #civil-gallery .memory-carousel{margin-top:0}body[data-chapter="civil"] .final h2{font-size:clamp(32px,4.5vw,64px);max-width:900px;margin-inline:auto}
body[data-chapter="italy"] #place .film-aerial-pair{display:block;max-width:900px;margin:25px auto}body[data-chapter="italy"] #place .film-aerial-pair>.film-still{max-width:100%}body[data-chapter="italy"] #place .film-aerial-pair .photo,body[data-chapter="italy"] #place .film-aerial-pair img{max-height:500px}body[data-chapter="italy"] .village-portrait-pair:has(>.photo:only-child){display:block;max-width:650px;margin:28px auto}body[data-chapter="italy"] #people .people-portraits{display:block;max-width:900px;margin:26px auto}body[data-chapter="italy"] #people .people-portraits>.photo{width:100%;margin:0;max-height:none}body[data-chapter="italy"] #people .people-portraits>.photo img{width:100%;height:auto;max-height:none;object-fit:contain}body[data-chapter="italy"] #closing{padding:55px 24px 45px}body[data-chapter="italy"] #closing .closing{margin-top:30px}body[data-chapter="italy"] .section{padding-top:65px;padding-bottom:65px}body[data-chapter="italy"] .italy-feature{margin:30px auto}body[data-chapter="italy"] .round-feature-added{margin:30px auto 0}
@media(max-width:700px){.round-feature-added,.round-subhero{margin-block:20px}.round-feature-added>.photo img{max-height:76svh}body[data-chapter="italy"] .section{padding-top:42px;padding-bottom:42px}body[data-chapter="civil"] .hero-image>.photo img{max-height:none}body[data-chapter="civil"] .civil-closing-portraits{max-width:85%}}
/* Collapse former pairs cleanly when a reviewed photo moves to the gallery. */
body[data-chapter="italy"] .pair:has(>.photo:only-child){display:block;max-width:850px;margin:28px auto}body[data-chapter="italy"] .pair:has(>.photo:only-child)>.photo{display:block;width:100%;margin:0 auto;background:transparent}body[data-chapter="italy"] .pair:has(>.photo:only-child)>.photo img{display:block;width:100%;height:auto;max-height:640px;object-fit:contain}body[data-chapter="italy"] .family-features:has(>.photo:only-child){max-width:1000px}body[data-chapter="italy"] .family-features:has(>.photo:only-child)>.photo img{max-height:none}body[data-chapter="italy"] .setting-pair:has(>.film-still:only-child),body[data-chapter="italy"] .film-moment-grid:has(>.film-still:only-child){display:block;max-width:1000px;margin:26px auto}body[data-chapter="italy"] .setting-pair:has(>.film-still:only-child)>.film-still,body[data-chapter="italy"] .film-moment-grid:has(>.film-still:only-child)>.film-still{width:100%;max-width:none;margin:0}body[data-chapter="italy"] .setting-pair:has(>.film-still:only-child) .photo,body[data-chapter="italy"] .setting-pair:has(>.film-still:only-child) img{max-height:540px}
@media(max-width:700px){body[data-chapter="italy"] .pair:has(>.photo:only-child)>.photo img{max-height:75svh}body[data-chapter="italy"] .family-features:has(>.photo:only-child)>.photo img{max-height:none}}

/* Recompose retained selections as rows, rather than a stack of orphaned photos. */
.qc-photo-row{display:grid;grid-template-columns:var(--photo-columns,1fr 1fr);align-items:start;gap:22px;max-width:1160px;margin:28px auto}
.qc-photo-row>*,body[data-chapter="italy"] .qc-photo-row>.pair,body[data-chapter="italy"] .qc-photo-row>.wedding-single,body[data-chapter="italy"] .qc-photo-row>.wide,body[data-chapter="italy"] .qc-photo-row>.film-still{display:block;min-width:0;width:100%;max-width:none;margin:0;padding:0}
.qc-photo-row .photo,.qc-photo-row>.photo,body[data-chapter="italy"] .qc-photo-row .pair>.photo{display:block;width:100%;max-width:none;height:auto;margin:0;background:transparent}
.qc-photo-row .photo img,body[data-chapter="italy"] .qc-photo-row .pair>.photo img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
body[data-chapter="civil"] #gardens .qc-photo-row>.photo{width:100%;margin:0}
.civil-garden-portraits{max-width:900px}
body[data-chapter="italy"] .first-look{gap:22px;align-items:start;margin-top:28px}
body[data-chapter="italy"] .first-look>.photo:nth-child(n){margin-top:0}
body[data-chapter="italy"] .qc-photo-row .film-still .photo,body[data-chapter="italy"] .qc-photo-row .film-still img{max-height:none;background:transparent}
body[data-chapter="italy"] .qc-photo-row .dinner-story>.label{display:none}
body[data-chapter="italy"] .qc-photo-row .dinner-story>.photo{max-width:none}
body[data-chapter="italy"] .qc-photo-row .well-caption{font-size:11px;margin-top:12px;color:var(--muted)}
body[data-chapter="italy"] #place .setting-pair:has(>.setting-feature:only-child){display:block;max-width:1000px;margin:24px auto}
body[data-chapter="italy"] #place .setting-pair:has(>.setting-feature:only-child)>.setting-feature{margin:0}
body[data-chapter="italy"] #place .location-note{margin:30px 0}
@media(max-width:700px){.qc-photo-row{gap:12px;margin:20px auto}.civil-garden-opening,.preparations-portraits,.ceremony-arrivals,.minuta-portraits{grid-template-columns:1fr;gap:18px}.civil-garden-opening>.photo:first-child{max-width:75%;margin:auto!important}.qc-photo-row .photo{border-radius:20px}body[data-chapter="italy"] .first-look{gap:12px}.reception-portraits figcaption{font-size:10px}}

/* Approved ground-level ceremony view complements the aerial, at matching heights. */
body[data-chapter="italy"] #place .setting-pair{grid-template-columns:2fr 1fr;gap:22px;align-items:start;margin:26px 0 30px}body[data-chapter="italy"] #place .setting-pair>.setting-feature{margin:0}body[data-chapter="italy"] #place .setting-pair .setting-ground-level .photo{aspect-ratio:2/3;overflow:hidden}body[data-chapter="italy"] #place .setting-pair .setting-ground-level img{width:100%;height:100%;object-fit:cover;object-position:center top}@media(max-width:700px){body[data-chapter="italy"] #place .setting-pair{grid-template-columns:1fr 1fr;gap:12px}body[data-chapter="italy"] #place .setting-pair>.setting-feature:first-child .photo{height:auto;aspect-ratio:2/3}body[data-chapter="italy"] #place .setting-pair>.setting-feature:first-child img{height:100%;object-fit:cover}}

.qc-photo-row .photo img{border-radius:inherit}
@media(max-width:700px){body[data-chapter="italy"] #place .setting-pair{grid-template-columns:1fr;gap:20px}body[data-chapter="italy"] #place .setting-pair>.setting-feature:first-child .photo{aspect-ratio:auto}body[data-chapter="italy"] #place .setting-pair>.setting-feature:first-child img{height:auto}body[data-chapter="italy"] #place .setting-ground-level{max-width:80%;margin-inline:auto!important}}
/* Supporting portrait pairs stay readable as a whole, with wider hero moments reserved. */
.italy-portrait-pair,.reception-portraits,.first-look-continuation{max-width:900px}
.civil-garden-portraits{max-width:820px}

body[data-chapter="italy"] #closing .closing-photograph{max-width:1100px;margin:28px auto 30px}body[data-chapter="italy"] #closing .closing-photograph .photo{width:100%;background:transparent}body[data-chapter="italy"] #closing .closing-photograph img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}@media(max-width:700px){body[data-chapter="italy"] #closing .closing-photograph{margin:22px auto}}

/* Robin's November 8 photo-size and framing corrections. */
body[data-chapter="italy"] .minuta-portraits.supporting-photo{display:block;max-width:1000px}
body[data-chapter="italy"] .reception-portraits.supporting-photo{display:block;max-width:800px}
body[data-chapter="italy"] #first-look .well-feature{width:100%;max-width:800px;margin:32px auto}
body[data-chapter="italy"] #first-look .well-feature .photo,body[data-chapter="italy"] #dinner-memories .photo{width:100%;max-width:none;background:transparent}
body[data-chapter="italy"] #first-look .well-feature img,body[data-chapter="italy"] #dinner-memories img{display:block;width:100%;height:auto;max-height:none}
body[data-chapter="italy"] #dinner-memories{width:100%;max-width:650px;margin:32px auto}
body[data-chapter="italy"] #film-portraits .film-moment-grid,body[data-chapter="italy"] #film-dance .film-moment-grid{display:block;max-width:1100px;margin:26px auto}
body[data-chapter="italy"] #film-portraits .film-still,body[data-chapter="italy"] #film-dance .film-still{width:100%;max-width:none;margin:0}
body[data-chapter="italy"] #film-portraits .photo,body[data-chapter="italy"] #film-dance .photo{display:block;width:100%;height:auto;max-height:none;overflow:hidden;background:transparent;border-radius:22px}
body[data-chapter="italy"] #film-portraits .photo img,body[data-chapter="italy"] #film-dance .photo img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;border-radius:inherit}
@media(max-width:700px){body[data-chapter="italy"] #first-look .well-feature,body[data-chapter="italy"] #dinner-memories{margin:24px auto}}

/* Preparations: two portrait details beside the larger group portrait, no rotation. */
body[data-chapter="italy"] #wedding-details-collage{grid-template-columns:1fr 1fr 2.055fr;grid-template-rows:auto;gap:22px;max-width:1160px;align-items:start}
body[data-chapter="italy"] #wedding-details-collage>.photo:nth-child(n){grid-column:auto;grid-row:auto;width:100%;max-width:none;margin:0;transform:none;background:transparent;border:0;box-shadow:none;aspect-ratio:auto}
body[data-chapter="italy"] #wedding-details-collage>.photo img{width:100%;height:auto;object-fit:contain;filter:none}
@media(max-width:700px){body[data-chapter="italy"] #wedding-details-collage{grid-template-columns:1fr 1fr;gap:12px}body[data-chapter="italy"] #wedding-details-collage>.prep-people{grid-column:1/-1}}
