/* Mystery artwork precedes the prayer, with the bead progression alongside. */
body.guide-app #prayer .mystery-stage.natural-prayer-stage.consistent-prayer-layout .prayer-heading .eyebrow{font-weight:700;text-align:center;display:block}
body.guide-app #prayer .mystery-stage.natural-prayer-stage.consistent-prayer-layout>.natural-reading{grid-template-columns:minmax(0,1fr) 90px;grid-template-rows:minmax(130px,1fr) minmax(160px,1.2fr);gap:16px 24px}
body.guide-app #prayer .mystery-stage.natural-prayer-stage.consistent-prayer-layout .natural-reading>.mystery-visual{grid-column:1;grid-row:1;align-items:center;justify-content:center;padding:0;min-height:0}
body.guide-app #prayer .mystery-stage.natural-prayer-stage.consistent-prayer-layout .natural-reading .sacred-art{width:100%;max-width:550px;height:100%;max-height:300px;border-radius:70px 70px 4px 4px;margin:auto}
body.guide-app #prayer .mystery-stage.natural-prayer-stage.consistent-prayer-layout .natural-reading>.prayer-stream{grid-column:1;grid-row:2;padding:6px 0;min-height:0}
body.guide-app #prayer .mystery-stage.natural-prayer-stage.consistent-prayer-layout .natural-reading>.natural-rosary{grid-column:2;grid-row:1/3}
body.guide-app #prayer .mystery-stage.natural-prayer-stage.consistent-prayer-layout .natural-art-caption{display:none}
@media(max-width:700px){
 body.guide-app #prayer .mystery-stage.natural-prayer-stage.consistent-prayer-layout>.natural-reading{grid-template-columns:minmax(0,1fr) 64px;grid-template-rows:minmax(130px,.95fr) minmax(140px,1.2fr);gap:12px}
 body.guide-app #prayer .mystery-stage.natural-prayer-stage.consistent-prayer-layout .natural-reading .sacred-art{max-width:330px;max-height:250px;border-radius:55px 55px 3px 3px}
 body.guide-app #prayer .mystery-stage.natural-prayer-stage.consistent-prayer-layout>.prayer-heading{padding-top:25px;padding-bottom:10px}
}
@media(max-height:550px) and (orientation:landscape){
 body.guide-app #prayer .mystery-stage.natural-prayer-stage.consistent-prayer-layout>.natural-reading{grid-template-columns:minmax(0,.9fr) minmax(0,1fr) 58px;grid-template-rows:minmax(0,1fr);gap:16px}
 body.guide-app #prayer .mystery-stage.natural-prayer-stage.consistent-prayer-layout .natural-reading>.prayer-stream{grid-column:2;grid-row:1}
 body.guide-app #prayer .mystery-stage.natural-prayer-stage.consistent-prayer-layout .natural-reading>.natural-rosary{grid-column:3;grid-row:1}
}
@media(min-width:701px) and (min-height:551px){body.guide-app #prayer .mystery-stage.natural-prayer-stage.consistent-prayer-layout>.natural-reading{grid-template-rows:minmax(150px,1.2fr) minmax(160px,1fr)}}
body.guide-app #prayer .mystery-stage.natural-prayer-stage.consistent-prayer-layout .natural-reading .sacred-art img{object-fit:contain}
/* Center the artwork on the page, independently of the bead column. */
@media(min-height:551px),(orientation:portrait){
 body.guide-app #prayer .mystery-stage.natural-prayer-stage.consistent-prayer-layout .natural-reading>.mystery-visual{grid-column:1/-1;grid-row:1;justify-self:center}
 body.guide-app #prayer .mystery-stage.natural-prayer-stage.consistent-prayer-layout .natural-reading>.natural-rosary{grid-column:2;grid-row:2}
}
@media(min-height:551px),(orientation:portrait){
 body.guide-app #prayer .mystery-stage.natural-prayer-stage.consistent-prayer-layout .natural-reading>.natural-rosary{grid-row:1/3}
 body.guide-app #prayer .mystery-stage.natural-prayer-stage.consistent-prayer-layout .natural-reading .sacred-art{width:min(100%,450px);height:100%;aspect-ratio:3/2;max-height:300px}
}

/* Frame the rendered photograph, not the larger artwork layout box. */
body.guide-app #prayer .mystery-stage.natural-prayer-stage.consistent-prayer-layout .natural-reading .sacred-art{border:0;outline:0;box-shadow:none;padding:0;border-radius:0;overflow:visible;}
body.guide-app #prayer .mystery-stage.natural-prayer-stage.consistent-prayer-layout .natural-reading .sacred-art img{flex:none;box-sizing:border-box;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;border:3px double #d2b981;padding:4px;border-radius:10px;outline:0;box-shadow:none;}

/* Opening prayers use the same centered image / prayer order as the mysteries. */
@media(min-height:551px),(orientation:portrait){body.guide-app #prayer .mystery-stage.natural-prayer-stage.consistent-prayer-layout:not(.has-natural-rosary)>.natural-reading{grid-template-columns:minmax(0,1fr);}}
body.guide-app #prayer .mystery-stage.natural-prayer-stage.consistent-prayer-layout .natural-reading .sacred-art .hymn-photo-art{flex:none;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;}
