
/* Screenshot-matched chapter navigation, isolated from legacy History styles. */
html body article.history-master-article nav.hye-master-nav {display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;overflow:visible!important}
html body article.history-master-article nav.hye-master-nav .master-nav-page{margin-right:auto!important;flex:0 0 auto!important}
html body article.history-master-article nav.hye-master-nav .master-nav-right {display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-end!important;gap:9px!important;width:auto!important;max-width:100%!important;margin:0 0 0 auto!important;min-width:0!important}
html body article.history-master-article nav.hye-master-nav .master-nav-right>a.hye-master-button{display:inline-flex!important;visibility:visible!important;opacity:1!important;position:static!important;transform:none!important;flex:0 0 auto!important;width:auto!important;max-width:none!important;min-width:0!important;height:50px!important;min-height:50px!important;margin:0!important;padding:0 16px!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;text-align:center!important;line-height:1.15!important;font-size:13px!important;font-weight:800!important;border:0!important;border-radius:9px!important;box-shadow:none!important;text-decoration:none!important;color:#fff!important;-webkit-text-fill-color:#fff!important;background-image:none!important}
html body article.history-master-article nav.hye-master-nav .master-nav-right>a.christianity-back,html body article.history-master-article nav.hye-master-nav .master-nav-right>a.christianity-next{background:#bba34b!important;order:initial!important}
html body article.history-master-article nav.hye-master-nav .master-nav-right>a.christianity-start-over{background:#2b3448!important;order:initial!important}
html body article.history-master-article nav.hye-master-nav .master-nav-right>a.top-button{background:#606673!important;order:initial!important}
@media(min-width:768px) and (max-width:1100px){html body article.history-master-article nav.hye-master-nav .master-nav-right{gap:7px!important}html body article.history-master-article nav.hye-master-nav .master-nav-right>a.hye-master-button{font-size:11px!important;padding:0 10px!important;height:46px!important;min-height:46px!important}}
@media(max-width:767px){
html body article.history-master-article nav.hye-master-nav{flex-direction:column!important;align-items:stretch!important;gap:12px!important}
html body article.history-master-article nav.hye-master-nav .master-nav-page{display:block!important;width:100%!important;text-align:right!important;margin:0 0 4px!important;font-size:clamp(19px,5vw,28px)!important}
html body article.history-master-article nav.hye-master-nav .master-nav-right{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;width:100%!important;max-width:none!important;margin:0!important;align-items:stretch!important}
html body article.history-master-article nav.hye-master-nav .master-nav-right>a.hye-master-button{display:flex!important;flex:none!important;width:100%!important;min-width:0!important;max-width:none!important;height:clamp(72px,12vw,105px)!important;min-height:72px!important;padding:10px 6px!important;border-radius:18px!important;font-size:clamp(16px,3.8vw,23px)!important;grid-column:auto!important;grid-row:auto!important}
html body article.history-master-article nav.hye-master-nav-top.first-part .master-nav-right>a.christianity-next{grid-column:1/-1!important;grid-row:1!important}
html body article.history-master-article nav.hye-master-nav-top.first-part .master-nav-right>a.christianity-start-over{grid-column:1/-1!important;grid-row:2!important}
html body article.history-master-article nav.hye-master-nav-top:not(.first-part) .master-nav-right>a.christianity-back{grid-column:1!important;grid-row:1!important}
html body article.history-master-article nav.hye-master-nav-top:not(.first-part) .master-nav-right>a.christianity-next{grid-column:2!important;grid-row:1!important}
html body article.history-master-article nav.hye-master-nav-top:not(.first-part) .master-nav-right>a.christianity-start-over{grid-column:1/-1!important;grid-row:2!important}
html body article.history-master-article nav.hye-master-nav-bottom.first-part .master-nav-right>a.christianity-next{grid-column:1!important;grid-row:1!important}
html body article.history-master-article nav.hye-master-nav-bottom.first-part .master-nav-right>a.top-button{grid-column:2!important;grid-row:1!important}
html body article.history-master-article nav.hye-master-nav-bottom.first-part .master-nav-right>a.christianity-start-over{grid-column:1/-1!important;grid-row:2!important}
html body article.history-master-article nav.hye-master-nav-bottom:not(.first-part) .master-nav-right>a.christianity-back{grid-column:1!important;grid-row:1!important}
html body article.history-master-article nav.hye-master-nav-bottom:not(.first-part) .master-nav-right>a.christianity-next{grid-column:2!important;grid-row:1!important}
html body article.history-master-article nav.hye-master-nav-bottom:not(.first-part) .master-nav-right>a.top-button{grid-column:1/-1!important;grid-row:2!important}
html body article.history-master-article nav.hye-master-nav-bottom:not(.first-part) .master-nav-right>a.christianity-start-over{grid-column:1/-1!important;grid-row:3!important}
}

/* Final chapter has no NEXT: BACK must not occupy half an empty row. */
@media(max-width:767px){
html body article.history-master-article nav.hye-master-nav.last-part .master-nav-right>a.christianity-back{grid-column:1/-1!important;grid-row:1!important;width:100%!important}
html body article.history-master-article nav.hye-master-nav-top.last-part .master-nav-right>a.christianity-start-over{grid-column:1/-1!important;grid-row:2!important}
html body article.history-master-article nav.hye-master-nav-bottom.last-part .master-nav-right>a.top-button{grid-column:1/-1!important;grid-row:2!important}
html body article.history-master-article nav.hye-master-nav-bottom.last-part .master-nav-right>a.christianity-start-over{grid-column:1/-1!important;grid-row:3!important}
}

/* Final page: a single-column mobile grid prevents BACK from taking a half-width track. */
@media screen and (max-width:767px){
html body article.history-master-article nav.hye-master-nav.last-part .master-nav-right{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-auto-flow:row!important;width:100%!important;max-width:100%!important;justify-items:stretch!important;}
html body article.history-master-article nav.hye-master-nav.last-part .master-nav-right>a.hye-master-button{grid-column:1/-1!important;width:100%!important;max-width:100%!important;min-width:0!important;justify-self:stretch!important;box-sizing:border-box!important;}
html body article.history-master-article nav.hye-master-nav-top.last-part .master-nav-right>a.christianity-back{grid-row:1!important;}
html body article.history-master-article nav.hye-master-nav-top.last-part .master-nav-right>a.christianity-start-over{grid-row:2!important;}
html body article.history-master-article nav.hye-master-nav-bottom.last-part .master-nav-right>a.christianity-back{grid-row:1!important;}
html body article.history-master-article nav.hye-master-nav-bottom.last-part .master-nav-right>a.top-button{grid-row:2!important;}
html body article.history-master-article nav.hye-master-nav-bottom.last-part .master-nav-right>a.christianity-start-over{grid-row:3!important;}
}

/* Final mobile reference: exact full-row sizing, no residual Bootstrap sizing. */
@media only screen and (max-width:767px){
html body article.history-master-article nav.hye-master-nav.last-part,
html body article.history-master-article nav.hye-master-nav.last-part .master-nav-right {width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;}
html body article.history-master-article nav.hye-master-nav.last-part .master-nav-right{grid-template-columns:100%!important;justify-content:stretch!important;}
html body article.history-master-article nav.hye-master-nav.last-part .master-nav-right>a.hye-master-button{display:flex!important;grid-column:1!important;flex:unset!important;width:100%!important;min-width:100%!important;max-width:100%!important;box-sizing:border-box!important;margin-left:0!important;margin-right:0!important;}
}

/* Last chapter: full-width BACK, TOP and START OVER, top and bottom. */
@media(max-width:767px){
html body article.history-master-article nav.hye-master-nav.last-part .master-nav-right{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;}
html body article.history-master-article nav.hye-master-nav.last-part .master-nav-right>a.christianity-back{grid-column:1/-1!important;grid-row:1!important;width:100%!important;min-width:100%!important;}
html body article.history-master-article nav.hye-master-nav-top.last-part .master-nav-right>a.christianity-start-over{grid-column:1/-1!important;grid-row:2!important;}
html body article.history-master-article nav.hye-master-nav-bottom.last-part .master-nav-right>a.top-button{grid-column:1/-1!important;grid-row:2!important;}
html body article.history-master-article nav.hye-master-nav-bottom.last-part .master-nav-right>a.christianity-start-over{grid-column:1/-1!important;grid-row:3!important;}
}
/* Reference desktop: compact right-aligned controls and restrained chapter heading. */
@media(min-width:768px){
html body article.history-master-article nav.hye-master-nav .master-nav-right>a.hye-master-button{height:42px!important;min-height:42px!important;padding:0 13px!important;font-size:12px!important;border-radius:8px!important;}
html body article.history-master-article nav.hye-master-nav .master-nav-page{font-size:13px!important;font-weight:800!important;}
}


/* Last article mobile navigation: flex column eliminates orphan 50% grid tracks. */
@media screen and (max-width:767px){
html body article.history-master-article nav.hye-master-nav.last-part .master-nav-right{
 display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;align-items:stretch!important;
 justify-content:flex-start!important;gap:12px!important;width:100%!important;max-width:none!important;
 grid-template-columns:none!important;grid-template-rows:none!important;box-sizing:border-box!important;
}
html body article.history-master-article nav.hye-master-nav.last-part .master-nav-right > a.hye-master-button{
 display:flex!important;position:relative!important;float:none!important;flex:0 0 auto!important;
 align-self:stretch!important;grid-column:auto!important;grid-row:auto!important;
 width:100%!important;min-width:0!important;max-width:none!important;box-sizing:border-box!important;
 margin:0!important;order:0!important;
}
html body article.history-master-article nav.hye-master-nav.last-part{width:100%!important;max-width:100%!important;box-sizing:border-box!important;}
}

/* Reference image treatment: paired photographs and wide standalone images */
.history-master-article .ind-image-gallery,
.history-master-article .hye-image-gallery,
.history-master-article .history-image-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch;margin:22px 0 28px}
.history-master-article .ind-figure,
.history-master-article figure.hye-figure,
.history-master-article figure.history-figure{min-width:0;margin:0;background:#f5f5f4;border:1px solid #dcdad5;border-radius:8px;overflow:hidden;box-shadow:none;display:flex;flex-direction:column}
.history-master-article .ind-image-gallery .ind-figure img,
.history-master-article .hye-image-gallery figure img,
.history-master-article .history-image-gallery figure img{display:block;width:100%;height:230px;object-fit:cover;background:#eee;flex-shrink:0}
.history-master-article .ind-image-single,
.history-master-article .hye-image-single,
.history-master-article .history-image-single{margin:22px 0 28px}
.history-master-article .ind-image-single figure,
.history-master-article .hye-image-single figure,
.history-master-article .history-image-single figure{padding:10px 10px 0}
.history-master-article .ind-image-single img,
.history-master-article .hye-image-single img,
.history-master-article .history-image-single img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;background:#f5f5f4}
.history-master-article figure figcaption{padding:10px 12px 12px;margin:0;font-size:.86rem;line-height:1.5;color:#344155;overflow-wrap:anywhere}
@media(max-width:600px){.history-master-article .ind-image-gallery,.history-master-article .hye-image-gallery,.history-master-article .history-image-gallery{grid-template-columns:1fr;gap:12px}.history-master-article .ind-image-gallery figure img,.history-master-article .hye-image-gallery figure img,.history-master-article .history-image-gallery figure img{height:auto;max-height:380px;object-fit:contain}}

/* Photo presentation matching the supplied paired and wide-photo references. */
html body .history-master-article .genocide-image-pair{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;align-items:stretch!important;margin:22px 0 28px!important;width:100%!important}
html body .history-master-article .genocide-image-pair>figure.genocide-image-frame{width:100%!important;min-width:0!important;max-width:none!important;height:100%!important;margin:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;padding:0!important;background:#f5f5f4!important;border:1px solid #dedbd4!important;border-radius:8px!important;box-shadow:none!important}
html body .history-master-article .genocide-image-pair>figure.genocide-image-frame>img{display:block!important;width:100%!important;height:220px!important;max-width:none!important;max-height:none!important;min-height:0!important;object-fit:cover!important;object-position:center!important;border:0!important;border-radius:0!important;margin:0!important;padding:0!important;background:#eee!important}
html body .history-master-article figure.genocide-image-frame.genocide-image-wide{display:flex!important;flex-direction:column!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:22px 0 28px!important;padding:10px 10px 0!important;background:#f5f5f4!important;border:1px solid #dedbd4!important;border-radius:8px!important;box-shadow:none!important;overflow:hidden!important}
html body .history-master-article figure.genocide-image-frame.genocide-image-wide>img{display:block!important;width:100%!important;height:auto!important;max-width:100%!important;max-height:none!important;object-fit:contain!important;margin:0 auto!important;padding:0!important;border:0!important;border-radius:0!important}
html body .history-master-article figure.genocide-image-frame>figcaption{display:block!important;width:100%!important;padding:10px 12px 12px!important;margin:0!important;font-size:13px!important;line-height:1.5!important;font-weight:400!important;color:#344155!important;text-align:left!important;background:transparent!important;overflow-wrap:anywhere!important}
@media(max-width:600px){html body .history-master-article .genocide-image-pair{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}html body .history-master-article .genocide-image-pair>figure.genocide-image-frame>img{height:auto!important;max-height:390px!important;object-fit:contain!important}}

/* Source-document image presentation: equal image panels, without gold borders. */
html body .history-master-article .genocide-image-pair { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; align-items:stretch!important; gap:18px!important; }
html body .history-master-article .genocide-image-pair > figure.genocide-image-frame { display:flex!important; flex-direction:column!important; min-width:0!important; height:auto!important; background:#f2f3f3!important; border:1px solid #d7dadb!important; border-radius:7px!important; overflow:hidden!important; }
html body .history-master-article .genocide-image-pair > figure.genocide-image-frame > img { display:block!important; width:100%!important; height:250px!important; object-fit:contain!important; background:#f2f3f3!important; }
html body .history-master-article figure.genocide-image-frame.genocide-image-wide { background:#f2f3f3!important; border:1px solid #d7dadb!important; border-radius:7px!important; }
html body .history-master-article figure.genocide-image-frame.genocide-image-wide > img { width:100%!important; height:auto!important; object-fit:contain!important; }
html body .history-master-article figure.genocide-image-frame > figcaption { margin-top:auto!important; background:#f2f3f3!important; padding:12px 14px!important; font-size:13px!important; line-height:1.45!important; }
@media(max-width:600px){html body .history-master-article .genocide-image-pair { grid-template-columns:minmax(0,1fr)!important; gap:14px!important; } html body .history-master-article .genocide-image-pair > figure.genocide-image-frame > img { height:auto!important; max-height:420px!important; } }
