/* Photo chapters distributed through the site; captions stay below images. */
.photo-chapter{padding:70px 0;background:#fbfaf6;color:#17233b}
.photo-chapter>.container{width:calc(100% - 100px);max-width:1320px;margin:0 auto;padding:0}
.chapter-stage,.chapter-celebration{background:#101a2e;color:#fff9ee}
.chapter-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:25px;margin-bottom:28px}
.chapter-heading .eyebrow{font-size:14px;line-height:1.7;letter-spacing:1px;color:#a17d3f;margin:0 0 12px}
.chapter-heading h2{font-size:clamp(30px,3.1vw,44px);line-height:1.22;letter-spacing:-1px;font-weight:400;margin:0;color:inherit}
.chapter-total{font-size:14px;line-height:1.7;white-space:nowrap;opacity:.7}
.chapter-grid{display:grid;grid-template-columns:repeat(var(--chapter-count,4),minmax(0,1fr));gap:20px}
.chapter-photo{display:block;min-width:0;border:0;border-radius:0;background:transparent;padding:0;text-align:left;color:inherit;font:inherit;cursor:pointer}
.chapter-image{display:block;position:relative;width:100%;aspect-ratio:4/5;overflow:hidden;background:#17233b;border:1px solid #ffffff20}
.chapter-stage .chapter-image,.chapter-people .chapter-image{aspect-ratio:3/2}
.chapter-image img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center;transform:none}
.chapter-caption{display:block;font-size:14px;line-height:1.6;padding-top:12px;min-height:55px;color:inherit;opacity:.8}
.chapter-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:20px;padding-top:16px;border-top:1px solid #a88c5545;font-size:14px;color:inherit}
.chapter-controls>div{display:flex;gap:8px}.chapter-controls button{border:1px solid #a88c5566;border-radius:3px;background:transparent;padding:10px 16px;min-height:44px;color:inherit;font:inherit;font-size:14px;cursor:pointer}
.chapter-controls button:hover{background:#b8945520}.chapter-controls button[aria-pressed=true]{border-color:#b89455;background:#b8945520}
.chapter-photo:focus-visible,.chapter-controls button:focus-visible{outline:3px solid #d9b574;outline-offset:4px}
.photo-slider .slider-dots{overflow-x:auto;max-width:100%;scrollbar-width:thin}
.community-lightbox{border:0;padding:50px 20px 20px;background:#101a2e;color:#fff9ee;max-width:96vw;max-height:95vh;width:auto;margin:auto}
.community-lightbox::backdrop{background:#08101be8}.community-lightbox img{display:block;max-width:90vw;max-height:75vh;object-fit:contain;margin:auto}.community-lightbox p{font-size:16px;text-align:center;padding:12px 0 0;margin:0;line-height:1.5}.community-lightbox>button{position:absolute;right:15px;top:8px;min-height:36px;padding:6px 16px;background:transparent;color:#fff;border:1px solid #ffffff66;font:inherit;cursor:pointer}
@media(max-width:1000px){.photo-chapter>.container{width:calc(100% - 60px)}.chapter-grid{grid-template-columns:repeat(var(--chapter-count,3),minmax(0,1fr));gap:15px}}
@media(max-width:620px){.photo-chapter{padding:42px 0}.photo-chapter>.container{width:calc(100% - 40px)}.chapter-heading{display:block;margin-bottom:23px}.chapter-heading h2{font-size:30px;line-height:1.25;letter-spacing:-.6px}.chapter-heading .eyebrow{font-size:13px;margin-bottom:10px}.chapter-total{display:block;margin-top:12px}.chapter-grid{grid-template-columns:repeat(var(--chapter-count,2),minmax(0,1fr));gap:12px}.chapter-caption{font-size:14px;line-height:1.6;padding-top:10px;min-height:60px}.chapter-controls{gap:8px}.chapter-controls>div{gap:5px}.chapter-controls button{font-size:14px;padding:9px 10px;min-height:44px}.chapter-position{white-space:nowrap}html[lang=hy] .chapter-controls{flex-wrap:wrap}html[lang=hy] .chapter-heading h2{font-size:27px;line-height:1.5}}
/* Expanded dot navigation must not widen the existing editorial/form columns. */
.about-grid>*{min-width:0}
.about-image,.photo-slider{min-width:0;max-width:100%;width:100%}
.photo-slider .slider-controls{min-width:0;max-width:100%}
.photo-slider .slider-dots{flex:1 1 0;width:0;min-width:0;overflow-x:auto}
/* Contest identity and prizes are visible before the opening photograph. */
.contest-prize-ribbon{background:#eee2c8;color:#15213a;padding:17px 0 20px;border-bottom:1px solid #b4976040}
.contest-prize-ribbon>.container{max-width:1320px;width:calc(100% - 100px);margin:auto}
.contest-ribbon-label{font-size:12px;font-weight:600;letter-spacing:1.5px;line-height:1.6;margin:0 0 10px;color:#86632d}
.contest-prize-highlights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}
.contest-prize-highlights>a{display:flex;flex-direction:column;gap:4px;text-decoration:none;color:inherit;border-right:1px solid #a3854a50;padding-right:20px}
.contest-prize-highlights>a:last-child{border-right:0}.contest-prize-highlights span{font-size:14px;line-height:1.5;color:#5d605e}.contest-prize-highlights strong{font-size:22px;line-height:1.3;font-weight:500}.contest-prize-highlights a:hover strong{text-decoration:underline;text-underline-offset:5px}
.registration-hero.aligned-hero{height:680px}
.aligned-hero .contest-hero-label{font-size:15px;letter-spacing:1px;line-height:1.6;color:#e1c28b;margin:0 0 10px}
.registration-hero.aligned-hero>.container{padding-top:65px}
.registration-hero.aligned-hero .hero-story-images{bottom:65px}
.registration-hero.aligned-hero>.container{bottom:65px}
.section.prizes{padding-top:65px;padding-bottom:65px}
/* Horizontal filmstrips use the true photograph proportions: no blue boxes. */
.chapter-heading{align-items:center}.chapter-total{white-space:normal;max-width:240px;text-align:right;line-height:1.7}
.chapter-grid.chapter-filmstrip{--film-height:330px;display:flex;align-items:flex-start;gap:22px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;position:relative;padding:5px 0 12px;touch-action:pan-x pan-y;cursor:grab}
.chapter-filmstrip::-webkit-scrollbar{display:none}.chapter-filmstrip:active{cursor:grabbing}
.chapter-filmstrip .chapter-photo{flex:0 0 auto;width:calc(var(--film-height) * var(--photo-ratio,1.5));max-width:calc(100vw - 75px);scroll-snap-align:start;scroll-snap-stop:normal;cursor:zoom-in;user-select:none;outline-offset:-3px}
.chapter-filmstrip .chapter-image,.chapter-stage .chapter-filmstrip .chapter-image,.chapter-people .chapter-filmstrip .chapter-image{display:block;aspect-ratio:var(--photo-ratio);width:100%;height:auto;border:0;border-radius:5px;background:none;overflow:hidden}
.chapter-filmstrip .chapter-image img{position:static;display:block;width:100%;height:auto;aspect-ratio:var(--photo-ratio);object-fit:contain;transform:none;transition:filter .25s ease;user-select:none;-webkit-user-drag:none}
.chapter-filmstrip .chapter-photo:hover img{filter:brightness(1.06)}
.chapter-filmstrip .chapter-caption{min-height:0;font-size:14px;padding:13px 2px 0}
.chapter-progress{display:flex;align-items:center;gap:16px;min-width:0;flex:1;max-width:440px}.chapter-progress-track{display:block;flex:1;height:2px;background:#a88c5530}.chapter-progress-track>span{display:block;height:2px;background:#b18a46;transition:width .3s ease}
.moving-track{align-items:flex-start}.moving-photo-image{height:auto!important;background:none;border-radius:5px}.moving-photo img{height:auto;object-fit:contain}.moving-photo-image img{width:100%;height:auto}
@media(max-width:1000px){.contest-prize-ribbon>.container{width:calc(100% - 60px)}.contest-prize-highlights strong{font-size:20px}.contest-prize-highlights{gap:17px}}
@media(max-width:650px){
 .contest-prize-ribbon{padding:14px 0 17px}.contest-prize-ribbon>.container{width:calc(100% - 40px)}.contest-ribbon-label{font-size:11px;letter-spacing:1px;margin-bottom:10px}.contest-prize-highlights{gap:10px}.contest-prize-highlights>a{gap:5px;padding-right:8px}.contest-prize-highlights strong{font-size:16px;line-height:1.35}.contest-prize-highlights span{font-size:12px;line-height:1.4}
 .registration-hero.aligned-hero{height:610px}.aligned-hero .contest-hero-label{font-size:14px;line-height:1.6;letter-spacing:.3px;margin-bottom:10px}.registration-hero.aligned-hero>.container{padding-top:70px;padding-bottom:22px}.aligned-hero .registration-copy h1,html[lang=hy] .aligned-hero .registration-copy h1{font-size:32px}
 .section.prizes{padding-top:42px;padding-bottom:42px}.chapter-heading{display:block}.chapter-total{text-align:left;max-width:none;font-size:14px;margin-top:12px}
 .chapter-grid.chapter-filmstrip{--film-height:260px;gap:14px;margin-right:-20px;padding-right:20px;width:calc(100% + 20px)}.chapter-filmstrip .chapter-photo{max-width:calc(100vw - 60px)}.chapter-caption{font-size:14px}.chapter-progress{max-width:160px}.chapter-progress-track{display:none}
 html[lang=hy] .contest-prize-highlights strong{font-size:14px}html[lang=hy] .contest-prize-highlights span{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.chapter-filmstrip .chapter-image img,.chapter-progress-track>span{transition:none}}
.photo-stories .chapter-archive{padding:0;background:transparent;color:inherit}
.photo-stories .chapter-archive>.container{width:100%;max-width:none;padding:0;margin:0}
.archive-album-title{font-size:17px;line-height:1.6;color:#7b623a;margin:0 0 18px}
@media(max-width:650px){.photo-stories .chapter-filmstrip{width:100%;margin-right:0;padding-right:0}}
