/* Editorial photography: a consistent cover, complete photographs inside. */
.rec-card .rec-photo{aspect-ratio:4/5!important;position:relative;background:#edeeea}
.rec-card .rec-photo img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.rec-card .rec-photo[data-contain=true] img{object-fit:contain}
.rec-photo-count{position:absolute;right:14px;bottom:14px;padding:7px 11px;border-radius:999px;background:#fffef7ed;color:#25362f;font-size:11px;line-height:1.3;backdrop-filter:blur(10px);pointer-events:none}
.rec-photo-count svg{vertical-align:-2px;margin-right:5px}
.rec-card{display:flex;flex-direction:column;min-width:0}
.rec-card .rec-photo{flex:none;display:block}
.rec-detail.rec-editorial{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);column-gap:64px;row-gap:0;align-items:start}
.rec-editorial .rec-detail-heading{grid-column:2;grid-row:1}
.rec-editorial .rec-detail-media{grid-column:1;grid-row:1/4;display:block;position:sticky;top:28px;min-width:0;width:100%;align-self:start}
.rec-editorial .rec-detail-copy{grid-column:2;grid-row:2;min-width:0}
.rec-editorial .rec-detail-heading h1{font:600 clamp(32px,3.6vw,48px)/1.08 var(--sans);letter-spacing:-.045em;margin:12px 0 18px;text-wrap:balance}
.rec-editorial .rec-detail-heading .eyebrow{font-size:10px;line-height:1.7;letter-spacing:.13em;color:var(--green);margin:0}
.rec-editorial .rec-detail-heading .rec-detail-note{font-size:18px;font-weight:400;line-height:1.6;color:#68686c;margin:0 0 24px}
.rec-editorial .rec-detail-copy>p{font-size:15px;line-height:1.75;margin:0 0 20px;color:#48484d}
.rec-editorial .rec-detail-copy .rec-detail-format{font-size:12px;line-height:1.5;padding:10px 14px;margin:0 0 24px;color:#66666b;display:inline-block}
.rec-editorial .rec-detail-ending{grid-column:2;grid-row:3;margin-top:10px}
.rec-editorial .rec-detail-actions{margin-top:16px}
.rec-editorial .rec-small{color:var(--muted);line-height:1.6;margin-top:14px}
.rjj-photos{width:100%;min-width:0}
.rjj-photo-stage{position:relative;background:var(--soft);border-radius:22px;overflow:hidden}
.rjj-photo-track,.rjj-viewer-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.rjj-photo-track::-webkit-scrollbar,.rjj-viewer-track::-webkit-scrollbar,.rjj-photo-thumbs::-webkit-scrollbar{display:none}
.rjj-photo-track{aspect-ratio:1/1;outline-offset:-4px!important}
.rjj-photo-slide{flex:0 0 100%;width:100%;height:100%;scroll-snap-align:start;scroll-snap-stop:always;margin:0;min-width:0}
.rjj-photo-open{display:block;width:100%;height:100%;padding:0;border:0;background:none;cursor:zoom-in;outline-offset:-6px!important}
.rec-detail .rec-detail-media .rjj-photo-slide img{display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:contain;border-radius:0;user-select:none}
.rjj-photo-expand{position:absolute;right:14px;bottom:14px;width:44px;height:44px;border:1px solid #ffffff99;border-radius:50%;background:#ffffffdc;display:grid;place-items:center;color:#25362f;cursor:pointer;backdrop-filter:blur(10px)}
.rjj-photo-controls{display:flex;align-items:center;gap:16px;margin-top:12px;min-height:44px;color:var(--muted)}
.rjj-photo-counter{font-size:12px;letter-spacing:.08em;min-width:44px;color:var(--ink);font-variant-numeric:tabular-nums}
.rjj-photo-hint{font-size:11px;display:none}
.rjj-photo-arrows{margin-left:auto;display:flex;gap:6px}
.rjj-photo-arrows button,.rjj-viewer-nav button{width:44px;height:44px;border:0;border-radius:50%;display:grid;place-items:center;background:var(--soft);color:var(--ink);cursor:pointer}
.rjj-photo-arrows button:disabled,.rjj-viewer-nav button:disabled{opacity:.3;cursor:default}
.rjj-photo-thumbs{display:flex;gap:9px;overflow-x:auto;scrollbar-width:none;padding:6px 3px 5px;margin:2px -3px 0}
.rjj-photo-thumbs button{width:56px;height:56px;flex:none;border-radius:10px;border:2px solid transparent;padding:3px;background:var(--soft);cursor:pointer;opacity:.65;transition:opacity .2s}
.rjj-photo-thumbs button[aria-pressed=true]{border-color:var(--green);opacity:1;background:white}
.rjj-photo-thumbs img{width:100%;height:100%;object-fit:cover;border-radius:5px;display:block}
.rjj-photo-dialog{max-width:none;max-height:none;width:100%;height:100%;height:100dvh;margin:0;border:0;padding:0;background:#17191a;color:white;position:fixed;inset:0;overflow:hidden}
.rjj-photo-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}
.rjj-photo-dialog::backdrop{background:#17191a}
.rjj-viewer-top{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 28px}
.rjj-viewer-top strong{font:500 16px/1.4 var(--sans)}
.rjj-viewer-top [data-viewer-count]{font-size:12px;color:#b4b6b8;display:block;margin-top:4px}
.rjj-viewer-top button{height:44px;width:44px;flex:none;background:#ffffff14;border:0;border-radius:50%;color:white;font:300 32px/1 var(--sans);cursor:pointer}
.rjj-viewer-track{min-height:0;width:100%;height:100%;outline-offset:-4px}
.rjj-viewer-track figure{margin:0;flex:0 0 100%;height:100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always;display:flex;align-items:center;justify-content:center}
.rjj-viewer-track img{width:100%;height:100%;object-fit:contain;display:block}
.rjj-viewer-bottom{padding:14px 28px max(20px,env(safe-area-inset-bottom));display:flex;align-items:center;gap:24px;min-height:80px}
.rjj-viewer-nav{display:flex;align-items:center;gap:16px;margin-left:auto}
.rjj-viewer-nav a{color:#ddd;font-size:12px;text-decoration:none;white-space:nowrap;padding:10px 0}
.rjj-viewer-nav button{background:#ffffff18;color:white}
@media(hover:hover){.rec-card .rec-photo:hover img{transform:scale(1.025)}.rjj-photo-thumbs button:hover{opacity:1}.rjj-photo-expand:hover{background:white}}
@media(max-width:1000px){.rec-detail.rec-editorial{column-gap:32px}.rec-editorial .rec-detail-heading h1{font-size:36px}}
@media(max-width:760px){
 .rec-detail.rec-editorial{display:flex;flex-direction:column;gap:0;padding-bottom:100px}
 .rec-editorial .rec-detail-heading{order:0;width:100%}
 .rec-editorial .rec-detail-media{order:1;position:static;display:block;width:100%;margin:0 0 30px}
 .rec-editorial .rec-detail-copy{order:2;width:100%}
 .rec-editorial .rec-detail-ending{order:3;width:100%}
 .rec-editorial .rec-detail-heading h1{font-size:34px;margin:10px 0 14px;max-width:520px;text-wrap:pretty}
 .rec-editorial .rec-detail-heading .rec-detail-note{font-size:16px;line-height:1.55;margin-bottom:24px}
 .rec-topline{margin-bottom:27px}
 .rjj-photo-stage{border-radius:18px}
 .rjj-photo-hint{display:inline}
 .rjj-photo-thumbs{gap:8px}
 .rjj-photo-thumbs button{width:48px;height:48px;border-radius:9px}
 .rjj-photo-controls{margin-top:8px}
 .rec-editorial .rec-detail-actions{position:fixed;bottom:0;left:0;right:0;z-index:10;padding:12px 20px max(12px,env(safe-area-inset-bottom));margin:0;flex-wrap:nowrap;gap:10px;background:#fffffff5;border-top:1px solid #e8e8eb;backdrop-filter:blur(16px)}
 .rec-editorial .rec-detail-actions .rec-save{flex:0 0 auto;padding:12px 18px;min-height:48px;font-size:12px}
 .rec-editorial .rec-detail-actions .continue{flex:1;min-width:0;min-height:48px;font-size:13px;padding:12px 16px;gap:12px}
 .rjj-viewer-top{padding:16px 18px}
 .rjj-viewer-top strong{font-size:14px}
 .rjj-viewer-bottom{display:block;padding:12px 18px max(16px,env(safe-area-inset-bottom))}
 .rjj-viewer-nav{justify-content:center;margin-top:10px;gap:28px}
}
@media(max-width:360px){.rec-editorial .rec-detail-heading h1{font-size:30px}.rec-editorial .rec-detail-actions{padding-inline:14px;gap:8px}.rec-editorial .rec-detail-actions .rec-save{padding-inline:13px}.rec-editorial .rec-detail-actions .continue{padding-inline:12px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.rec-card .rec-photo img,.rjj-photo-thumbs button{transition:none}}
@media(min-width:761px){.rjj-photo-track{max-height:calc(100svh - 230px);min-height:280px}}

/* Each photograph owns its frame: no letterboxing, no architectural cropping. */
.rec-detail.rec-editorial{grid-template-columns:minmax(0,.9fr) minmax(0,1fr);column-gap:60px}
.rec-editorial .rec-detail-media{position:static;max-width:520px}
.rjj-photo-stage{background:transparent;border-radius:18px}
.rjj-photo-track{width:100%;min-width:0;max-width:100%;aspect-ratio:auto;min-height:0;max-height:none;transition:height .2s ease;background:transparent}
.rec-detail .rec-detail-media .rjj-photo-slide img{object-fit:contain;border-radius:0}
.rjj-photo-controls{margin:0 0 12px;min-height:44px}
.rjj-photo-thumbs{margin-top:12px}
.rjj-photo-arrows button{background:#eeeef1}
@media(max-width:1000px){.rec-detail.rec-editorial{column-gap:32px}}
@media(max-width:760px){.rec-editorial .rec-detail-media{max-width:none}.rjj-photo-controls{margin:0 0 10px}.rjj-photo-thumbs{margin-top:10px}}
@media(prefers-reduced-motion:reduce){.rjj-photo-track{transition:none}}

/* Budget choices stay legible and tappable on narrow phones. */
.daily-budget-block{margin-bottom:36px}
.budget-unit{font-size:13px;color:var(--muted);margin:6px 0 18px}
.budget-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.budget-tiles .tile span{display:flex;flex-direction:column;gap:5px;min-height:84px;align-items:center;justify-content:center;font-size:12px;padding:12px 8px}
.budget-tiles strong{font-size:19px;font-weight:600;letter-spacing:-.02em}
.budget-custom-choice{min-height:48px;margin:12px 0 0}
.budget-scope{margin-top:16px;line-height:1.6;max-width:560px}
#custom-daily-budget{margin-top:16px}
@media(max-width:360px){.budget-tiles{gap:7px}.budget-tiles strong{font-size:17px}.budget-tiles .tile span{padding-inline:5px}}
/* Photographs stay complete; navigation stays quiet. */
.rjj-photo-stage{margin-inline:auto;max-width:100%}.rjj-photo-controls{margin-bottom:6px}.rjj-photo-track{transition:none}.rjj-photo-hint,.rjj-photo-thumbs{display:none!important}
@media(max-width:760px){.rjj-photo-arrows{display:none}.rjj-photo-controls{min-height:24px;margin-bottom:8px}.rjj-photo-counter{font-size:11px}.rec-editorial .rec-detail-heading .rec-detail-note{font-size:16px;margin-bottom:18px}.rec-editorial .rec-detail-actions .continue{font-size:13px;line-height:1.3;gap:10px;min-width:0;white-space:normal;padding:12px 16px}.rec-editorial .rec-detail-actions .continue span{flex:none}.rec-editorial .rec-detail-actions{gap:10px}}
